paccurate
Version:
Reduce fulfillment costs and wasted material by finding the optimal way to pack every shipment, in real time.
10 lines • 606 B
TypeScript
import type { components, paths } from './openapi';
type Primitive = bigint | boolean | null | number | string | symbol | undefined;
type DeepPartial<T> = T extends Primitive ? T : T extends (infer U)[] ? DeepPartial<U>[] : T extends readonly (infer U)[] ? readonly DeepPartial<U>[] : {
[K in keyof T]?: DeepPartial<T[K]>;
};
export type Body = DeepPartial<components['schemas']['Pack']>;
export type ErrorResponse = components['schemas']['Error'];
export type Response = DeepPartial<paths['/']['post']['responses']['200']['content']['application/json']>;
export {};
//# sourceMappingURL=types.d.ts.map