sdksio-postnl-ecommerce-apis-sdk
Version:
Collection of PostNL API's for ecommerce processes
26 lines (22 loc) • 705 B
text/typescript
/**
* PostNL Ecommerce APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, object, optional, Schema } from '../schema';
import {
ReasonNoTimeframes,
reasonNoTimeframesSchema,
} from './reasonNoTimeframes';
import { Timeframes, timeframesSchema } from './timeframes';
export interface TimeframeResponse {
timeframes?: Timeframes;
reasonNoTimeframes?: ReasonNoTimeframes;
}
export const timeframeResponseSchema: Schema<TimeframeResponse> = object({
timeframes: ['Timeframes', optional(lazy(() => timeframesSchema))],
reasonNoTimeframes: [
'ReasonNoTimeframes',
optional(lazy(() => reasonNoTimeframesSchema)),
],
});