@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
97 lines (96 loc) • 2.38 kB
TypeScript
import { z } from 'zod';
export declare const Gift: z.ZodObject<{
subject: z.ZodString;
message: z.ZodString;
}, "strip", z.ZodTypeAny, {
message?: string;
subject?: string;
}, {
message?: string;
subject?: string;
}>;
export type Gift = z.infer<typeof Gift>;
export declare const PackingSlip: z.ZodObject<{
email: z.ZodString;
phone: z.ZodString;
message: z.ZodString;
logo_url: z.ZodString;
store_name: z.ZodString;
custom_order_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
email?: string;
message?: string;
phone?: string;
logo_url?: string;
store_name?: string;
custom_order_id?: string;
}, {
email?: string;
message?: string;
phone?: string;
logo_url?: string;
store_name?: string;
custom_order_id?: string;
}>;
export type PackingSlip = z.infer<typeof PackingSlip>;
export declare const Customization: z.ZodObject<{
gift: z.ZodObject<{
subject: z.ZodString;
message: z.ZodString;
}, "strip", z.ZodTypeAny, {
message?: string;
subject?: string;
}, {
message?: string;
subject?: string;
}>;
packing_slip: z.ZodObject<{
email: z.ZodString;
phone: z.ZodString;
message: z.ZodString;
logo_url: z.ZodString;
store_name: z.ZodString;
custom_order_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
email?: string;
message?: string;
phone?: string;
logo_url?: string;
store_name?: string;
custom_order_id?: string;
}, {
email?: string;
message?: string;
phone?: string;
logo_url?: string;
store_name?: string;
custom_order_id?: string;
}>;
}, "strip", z.ZodTypeAny, {
gift?: {
message?: string;
subject?: string;
};
packing_slip?: {
email?: string;
message?: string;
phone?: string;
logo_url?: string;
store_name?: string;
custom_order_id?: string;
};
}, {
gift?: {
message?: string;
subject?: string;
};
packing_slip?: {
email?: string;
message?: string;
phone?: string;
logo_url?: string;
store_name?: string;
custom_order_id?: string;
};
}>;
export type Customization = z.infer<typeof Customization>;