17 lines
592 B
TypeScript
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>;
|