stock.geolock.fr/packages/shared/dist/order.d.ts
2026-02-24 16:10:30 +00:00

17 lines
592 B
TypeScript

import { z } from 'zod';
export declare const orderItemCreateSchema: z.ZodObject<{
amazonSku: z.ZodString;
quantity: z.ZodNumber;
title: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type OrderItemCreate = z.infer<typeof orderItemCreateSchema>;
export declare const orderCreateSchema: z.ZodObject<{
orderRef: z.ZodString;
items: z.ZodArray<z.ZodObject<{
amazonSku: z.ZodString;
quantity: z.ZodNumber;
title: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type OrderCreate = z.infer<typeof orderCreateSchema>;