UNPKG

sdksio-postnl-ecommerce-apis-sdk

Version:

Collection of PostNL API's for ecommerce processes

25 lines 1.21 kB
"use strict"; /** * PostNL Ecommerce APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.locationSchema = void 0; var schema_1 = require("../schema"); var address1_1 = require("./address1"); var openingHours_1 = require("./openingHours"); var sustainability_1 = require("./sustainability"); exports.locationSchema = (0, schema_1.object)({ address: ['Address', (0, schema_1.optional)((0, schema_1.lazy)(function () { return address1_1.address1Schema; }))], pickupTime: ['PickupTime', (0, schema_1.optional)((0, schema_1.string)())], openingHours: ['OpeningHours', (0, schema_1.optional)((0, schema_1.lazy)(function () { return openingHours_1.openingHoursSchema; }))], distance: ['Distance', (0, schema_1.optional)((0, schema_1.number)())], locationCode: ['LocationCode', (0, schema_1.optional)((0, schema_1.string)())], partnerID: ['PartnerID', (0, schema_1.optional)((0, schema_1.string)())], sustainability: [ 'Sustainability', (0, schema_1.optional)((0, schema_1.lazy)(function () { return sustainability_1.sustainabilitySchema; })), ] }); //# sourceMappingURL=location.js.map