UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

363 lines (362 loc) 8.93 kB
import { z } from 'zod'; export declare const ListProductVariantsResponse: z.ZodObject<{ data: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; catalog_product_id: z.ZodNumber; name: z.ZodString; image: z.ZodString; size: z.ZodString; color: z.ZodEffects<z.ZodString, string, string>; color_code: z.ZodEffects<z.ZodString, string, string>; color_code2: z.ZodEffects<z.ZodString, string, string>; _links: z.ZodObject<{ self: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; product_details: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; product_variants: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; variant_prices: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; variant_images: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; variant_availability: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; }, "strip", z.ZodTypeAny, { self?: { href?: string; }; product_details?: { href?: string; }; product_variants?: { href?: string; }; variant_prices?: { href?: string; }; variant_images?: { href?: string; }; variant_availability?: { href?: string; }; }, { self?: { href?: string; }; product_details?: { href?: string; }; product_variants?: { href?: string; }; variant_prices?: { href?: string; }; variant_images?: { href?: string; }; variant_availability?: { href?: string; }; }>; }, "strip", z.ZodTypeAny, { size?: string; name?: string; id?: number; _links?: { self?: { href?: string; }; product_details?: { href?: string; }; product_variants?: { href?: string; }; variant_prices?: { href?: string; }; variant_images?: { href?: string; }; variant_availability?: { href?: string; }; }; catalog_product_id?: number; image?: string; color?: string; color_code?: string; color_code2?: string; }, { size?: string; name?: string; id?: number; _links?: { self?: { href?: string; }; product_details?: { href?: string; }; product_variants?: { href?: string; }; variant_prices?: { href?: string; }; variant_images?: { href?: string; }; variant_availability?: { href?: string; }; }; catalog_product_id?: number; image?: string; color?: string; color_code?: string; color_code2?: string; }>, "many">; paging: z.ZodObject<{ total: z.ZodNumber; offset: z.ZodDefault<z.ZodNumber>; limit: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { total?: number; offset?: number; limit?: number; }, { total?: number; offset?: number; limit?: number; }>; _links: z.ZodObject<z.objectUtil.extendShape<{ self: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; first: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; last: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; next: z.ZodOptional<z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>>; previous: z.ZodOptional<z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>>; }, { product_details: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; }>, "strip", z.ZodTypeAny, { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; product_details?: { href?: string; }; }, { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; product_details?: { href?: string; }; }>; }, "strip", z.ZodTypeAny, { _links?: { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; product_details?: { href?: string; }; }; data?: { size?: string; name?: string; id?: number; _links?: { self?: { href?: string; }; product_details?: { href?: string; }; product_variants?: { href?: string; }; variant_prices?: { href?: string; }; variant_images?: { href?: string; }; variant_availability?: { href?: string; }; }; catalog_product_id?: number; image?: string; color?: string; color_code?: string; color_code2?: string; }[]; paging?: { total?: number; offset?: number; limit?: number; }; }, { _links?: { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; product_details?: { href?: string; }; }; data?: { size?: string; name?: string; id?: number; _links?: { self?: { href?: string; }; product_details?: { href?: string; }; product_variants?: { href?: string; }; variant_prices?: { href?: string; }; variant_images?: { href?: string; }; variant_availability?: { href?: string; }; }; catalog_product_id?: number; image?: string; color?: string; color_code?: string; color_code2?: string; }[]; paging?: { total?: number; offset?: number; limit?: number; }; }>; export type ListProductVariantsResponse = z.infer<typeof ListProductVariantsResponse>;