UNPKG

sdksio-postnl-ecommerce-apis-sdk

Version:

Collection of PostNL API's for ecommerce processes

23 lines 1.13 kB
"use strict"; /** * PostNL Ecommerce APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.checkoutRequestSchema = void 0; var schema_1 = require("../schema"); var address_1 = require("./address"); var cutOffTime_1 = require("./cutOffTime"); var optionEnum_1 = require("./optionEnum"); exports.checkoutRequestSchema = (0, schema_1.object)({ orderDate: ['OrderDate', (0, schema_1.string)()], shippingDuration: ['ShippingDuration', (0, schema_1.optional)((0, schema_1.number)())], cutOffTimes: ['CutOffTimes', (0, schema_1.array)((0, schema_1.lazy)(function () { return cutOffTime_1.cutOffTimeSchema; }))], holidaySorting: ['HolidaySorting', (0, schema_1.optional)((0, schema_1.boolean)())], options: ['Options', (0, schema_1.array)(optionEnum_1.optionEnumSchema)], locations: ['Locations', (0, schema_1.number)()], days: ['Days', (0, schema_1.number)()], addresses: ['Addresses', (0, schema_1.array)((0, schema_1.lazy)(function () { return address_1.addressSchema; }))] }); //# sourceMappingURL=checkoutRequest.js.map