UNPKG

sdksio-postnl-ecommerce-apis-sdk

Version:

Collection of PostNL API's for ecommerce processes

19 lines (15 loc) 510 B
/** * PostNL Ecommerce APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, object, optional, Schema, string } from '../schema'; import { Label, labelSchema } from './label'; export interface MergedLabel { barcodes?: string[]; labels?: Label[]; } export const mergedLabelSchema: Schema<MergedLabel> = object({ barcodes: ['Barcodes', optional(array(string()))], labels: ['Labels', optional(array(lazy(() => labelSchema)))], });