sdksio-postnl-ecommerce-apis-sdk
Version:
Collection of PostNL API's for ecommerce processes
55 lines • 3.64 kB
JavaScript
"use strict";
/**
* PostNL Ecommerce APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.shipmentSchema = void 0;
var schema_1 = require("../schema");
var address4_1 = require("./address4");
var amount_1 = require("./amount");
var contact_1 = require("./contact");
var custom_1 = require("./custom");
var dimension_1 = require("./dimension");
var group_1 = require("./group");
var hazardousMaterial_1 = require("./hazardousMaterial");
var productOption_1 = require("./productOption");
exports.shipmentSchema = (0, schema_1.object)({
addresses: ['Addresses', (0, schema_1.array)((0, schema_1.lazy)(function () { return address4_1.address4Schema; }))],
amounts: ['Amounts', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return amount_1.amountSchema; })))],
barcode: ['Barcode', (0, schema_1.string)()],
codingText: ['CodingText', (0, schema_1.optional)((0, schema_1.string)())],
collectionTimeStampStart: ['CollectionTimeStampStart', (0, schema_1.optional)((0, schema_1.string)())],
collectionTimeStampEnd: ['CollectionTimeStampEnd', (0, schema_1.optional)((0, schema_1.string)())],
contacts: ['Contacts', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return contact_1.contactSchema; })))],
content: ['Content', (0, schema_1.optional)((0, schema_1.string)())],
costCenter: ['CostCenter', (0, schema_1.optional)((0, schema_1.string)())],
customerOrderNumber: ['CustomerOrderNumber', (0, schema_1.optional)((0, schema_1.string)())],
customs: ['Customs', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return custom_1.customSchema; })))],
deliveryAddress: ['DeliveryAddress', (0, schema_1.optional)((0, schema_1.string)())],
deliveryDate: ['DeliveryDate', (0, schema_1.optional)((0, schema_1.string)())],
dimension: ['Dimension', (0, schema_1.lazy)(function () { return dimension_1.dimensionSchema; })],
downPartnerBarcode: ['DownPartnerBarcode', (0, schema_1.optional)((0, schema_1.string)())],
downPartnerID: ['DownPartnerID', (0, schema_1.optional)((0, schema_1.string)())],
downPartnerLocation: ['DownPartnerLocation', (0, schema_1.optional)((0, schema_1.string)())],
groups: ['Groups', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return group_1.groupSchema; })))],
hazardousMaterial: [
'HazardousMaterial',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return hazardousMaterial_1.hazardousMaterialSchema; }))),
],
productCodeCollect: ['ProductCodeCollect', (0, schema_1.optional)((0, schema_1.string)())],
productCodeDelivery: ['ProductCodeDelivery', (0, schema_1.string)()],
productOptions: [
'ProductOptions',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return productOption_1.productOptionSchema; }))),
],
receiverDateOfBirth: ['ReceiverDateOfBirth', (0, schema_1.optional)((0, schema_1.string)())],
reference: ['Reference', (0, schema_1.optional)((0, schema_1.string)())],
referenceCollect: ['ReferenceCollect', (0, schema_1.optional)((0, schema_1.string)())],
remark: ['Remark', (0, schema_1.optional)((0, schema_1.string)())],
returnBarcode: ['ReturnBarcode', (0, schema_1.optional)((0, schema_1.string)())],
returnReference: ['ReturnReference', (0, schema_1.optional)((0, schema_1.string)())],
timeslotID: ['TimeslotID', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=shipment.js.map