sdksio-postnl-ecommerce-apis-sdk
Version:
Collection of PostNL API's for ecommerce processes
18 lines (14 loc) • 520 B
text/typescript
/**
* PostNL Ecommerce APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, lazy, object, optional, Schema } from '../schema';
import { Shipment1, shipment1Schema } from './shipment1';
/** The current status and old statuses of the shipment */
export interface CompleteStatus {
shipment?: Shipment1[];
}
export const completeStatusSchema: Schema<CompleteStatus> = object({
shipment: ['Shipment', optional(array(lazy(() => shipment1Schema)))],
});