sdksio-postnl-ecommerce-apis-sdk
Version:
Collection of PostNL API's for ecommerce processes
29 lines • 1.69 kB
JavaScript
"use strict";
/**
* PostNL Ecommerce APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.customSchema = void 0;
var schema_1 = require("../schema");
var content_1 = require("./content");
var currencyEnum_1 = require("./currencyEnum");
var shipmentTypeEnum_1 = require("./shipmentTypeEnum");
exports.customSchema = (0, schema_1.object)({
certificate: ['Certificate', (0, schema_1.optional)((0, schema_1.boolean)())],
certificateNr: ['CertificateNr', (0, schema_1.optional)((0, schema_1.string)())],
license: ['License', (0, schema_1.optional)((0, schema_1.boolean)())],
licenseNr: ['LicenseNr', (0, schema_1.optional)((0, schema_1.string)())],
invoice: ['Invoice', (0, schema_1.optional)((0, schema_1.boolean)())],
invoiceNr: ['InvoiceNr', (0, schema_1.optional)((0, schema_1.string)())],
handleAsNonDeliverable: ['HandleAsNonDeliverable', (0, schema_1.optional)((0, schema_1.boolean)())],
currency: ['Currency', currencyEnum_1.currencyEnumSchema],
shipmentType: ['ShipmentType', shipmentTypeEnum_1.shipmentTypeEnumSchema],
trustedShipperID: ['TrustedShipperID', (0, schema_1.optional)((0, schema_1.string)())],
importerReferenceCode: ['ImporterReferenceCode', (0, schema_1.optional)((0, schema_1.string)())],
transactionCode: ['TransactionCode', (0, schema_1.optional)((0, schema_1.string)())],
transactionDescription: ['TransactionDescription', (0, schema_1.optional)((0, schema_1.string)())],
content: ['Content', (0, schema_1.array)((0, schema_1.lazy)(function () { return content_1.contentSchema; }))]
});
//# sourceMappingURL=custom.js.map