UNPKG

sdksio-postnl-ecommerce-apis-sdk

Version:

Collection of PostNL API's for ecommerce processes

58 lines 3.92 kB
"use strict"; /** * PostNL Ecommerce APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.shipment3Schema = void 0; var schema_1 = require("../schema"); var address8_1 = require("./address8"); var amount2_1 = require("./amount2"); var contact1_1 = require("./contact1"); var dimension_1 = require("./dimension"); var extraField_1 = require("./extraField"); var group_1 = require("./group"); var hazardousMaterial_1 = require("./hazardousMaterial"); var productOptions2_1 = require("./productOptions2"); exports.shipment3Schema = (0, schema_1.object)({ addresses: ['Addresses', (0, schema_1.array)((0, schema_1.lazy)(function () { return address8_1.address8Schema; }))], amounts: ['Amounts', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return amount2_1.amount2Schema; })))], 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 contact1_1.contact1Schema; })))], 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.unknown)())], required: ['required', (0, schema_1.optional)((0, schema_1.unknown)())], properties: ['properties', (0, schema_1.optional)((0, schema_1.unknown)())], 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 productOptions2_1.productOptions2Schema; }))), ], 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)())], extraFields: ['ExtraFields', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return extraField_1.extraFieldSchema; })))] }); //# sourceMappingURL=shipment3.js.map