sdksio-postnl-ecommerce-apis-sdk
Version:
Collection of PostNL API's for ecommerce processes
33 lines • 1.9 kB
JavaScript
;
/**
* PostNL Ecommerce APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.shipment2Schema = void 0;
var schema_1 = require("../schema");
var address5_1 = require("./address5");
var customer1_1 = require("./customer1");
var dimension1_1 = require("./dimension1");
var productOptions_1 = require("./productOptions");
var status_1 = require("./status");
exports.shipment2Schema = (0, schema_1.object)({
mainBarcode: ['MainBarcode', (0, schema_1.optional)((0, schema_1.string)())],
barcode: ['Barcode', (0, schema_1.optional)((0, schema_1.string)())],
shipmentAmount: ['ShipmentAmount', (0, schema_1.optional)((0, schema_1.string)())],
shipmentCounter: ['ShipmentCounter', (0, schema_1.optional)((0, schema_1.string)())],
customer: ['Customer', (0, schema_1.optional)((0, schema_1.lazy)(function () { return customer1_1.customer1Schema; }))],
productCode: ['ProductCode', (0, schema_1.optional)((0, schema_1.string)())],
productDescription: ['ProductDescription', (0, schema_1.optional)((0, schema_1.string)())],
reference: ['Reference', (0, schema_1.optional)((0, schema_1.string)())],
deliveryDate: ['DeliveryDate', (0, schema_1.optional)((0, schema_1.string)())],
dimension: ['Dimension', (0, schema_1.optional)((0, schema_1.lazy)(function () { return dimension1_1.dimension1Schema; }))],
address: ['Address', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return address5_1.address5Schema; })))],
productOptions: [
'ProductOptions',
(0, schema_1.optional)((0, schema_1.lazy)(function () { return productOptions_1.productOptionsSchema; })),
],
status: ['Status', (0, schema_1.optional)((0, schema_1.lazy)(function () { return status_1.statusSchema; }))]
});
//# sourceMappingURL=shipment2.js.map