UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

257 lines (256 loc) 7.89 kB
import { z } from 'zod'; export declare const GetProductMockupsSearchParams: z.ZodObject<z.objectUtil.extendShape<{ placements: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string, string[]>>; selling_region_name: z.ZodOptional<z.ZodDefault<z.ZodEnum<["worldwide", "north_america", "canada", "europe", "spain", "latvia", "uk", "france", "germany", "australia", "japan", "new_zealand", "italy", "brazil", "southeast_asia", "republic_of_korea", "english_speaking_regions", "all"]>>>; offset: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, void, number>>; limit: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, void, number>>; }, { locale: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; }>, z.UnknownKeysParam, z.ZodTypeAny, { locale?: string; offset?: void; limit?: void; placements?: string; selling_region_name?: "worldwide" | "north_america" | "canada" | "europe" | "spain" | "latvia" | "uk" | "france" | "germany" | "australia" | "japan" | "new_zealand" | "italy" | "brazil" | "southeast_asia" | "republic_of_korea" | "english_speaking_regions" | "all"; }, { locale?: string; offset?: number; limit?: number; placements?: string[]; selling_region_name?: "worldwide" | "north_america" | "canada" | "europe" | "spain" | "latvia" | "uk" | "france" | "germany" | "australia" | "japan" | "new_zealand" | "italy" | "brazil" | "southeast_asia" | "republic_of_korea" | "english_speaking_regions" | "all"; }>; export type GetProductMockupsSearchParams = z.infer<typeof GetProductMockupsSearchParams>; export declare const GetProductMockupsResponse: z.ZodObject<{ data: z.ZodArray<z.ZodObject<{ placement: z.ZodString; display_name: z.ZodString; technique: z.ZodEnum<["dtg", "digital", "cut-sew", "uv", "embroidery", "sublimation", "dtfilm"]>; print_area_width: z.ZodNumber; print_area_height: z.ZodNumber; print_area_type: z.ZodEnum<["simple", "advanced"]>; dpi: z.ZodNumber; mockup_styles: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; category_name: z.ZodString; view_name: z.ZodString; restricted_to_variants: z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>, "many">>; }, "strip", z.ZodTypeAny, { id?: number; category_name?: string; view_name?: string; restricted_to_variants?: any[][]; }, { id?: number; category_name?: string; view_name?: string; restricted_to_variants?: any[][]; }>, "many">; }, "strip", z.ZodTypeAny, { display_name?: string; placement?: string; technique?: "dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm"; print_area_width?: number; print_area_height?: number; print_area_type?: "advanced" | "simple"; dpi?: number; mockup_styles?: { id?: number; category_name?: string; view_name?: string; restricted_to_variants?: any[][]; }[]; }, { display_name?: string; placement?: string; technique?: "dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm"; print_area_width?: number; print_area_height?: number; print_area_type?: "advanced" | "simple"; dpi?: number; mockup_styles?: { id?: number; category_name?: string; view_name?: string; restricted_to_variants?: any[][]; }[]; }>, "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: 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?: { href?: string; }; }, { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; product?: { href?: string; }; }>; }, "strip", z.ZodTypeAny, { _links?: { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; product?: { href?: string; }; }; data?: { display_name?: string; placement?: string; technique?: "dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm"; print_area_width?: number; print_area_height?: number; print_area_type?: "advanced" | "simple"; dpi?: number; mockup_styles?: { id?: number; category_name?: string; view_name?: string; restricted_to_variants?: any[][]; }[]; }[]; paging?: { total?: number; offset?: number; limit?: number; }; }, { _links?: { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; product?: { href?: string; }; }; data?: { display_name?: string; placement?: string; technique?: "dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm"; print_area_width?: number; print_area_height?: number; print_area_type?: "advanced" | "simple"; dpi?: number; mockup_styles?: { id?: number; category_name?: string; view_name?: string; restricted_to_variants?: any[][]; }[]; }[]; paging?: { total?: number; offset?: number; limit?: number; }; }>; export type GetProductMockupsResponse = z.infer<typeof GetProductMockupsResponse>;