UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

136 lines (135 loc) 4.09 kB
import { z } from 'zod'; export declare const GetVarianttBlankMockupsSearchParams: z.ZodObject<z.objectUtil.extendShape<{ mockup_style_ids: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, string, number[]>>; placement: z.ZodOptional<z.ZodString>; }, { locale: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; }>, z.UnknownKeysParam, z.ZodTypeAny, { locale?: string; placement?: string; mockup_style_ids?: string; }, { locale?: string; placement?: string; mockup_style_ids?: number[]; }>; export type GetVarianttBlankMockupsSearchParams = z.infer<typeof GetVarianttBlankMockupsSearchParams>; export declare const GetVarianttBlankMockupsResponse: z.ZodObject<{ data: z.ZodArray<z.ZodObject<{ catalog_variant_id: z.ZodNumber; color: z.ZodEffects<z.ZodString, string, string>; primary_hex_color: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>; secondary_hex_color: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>; images: z.ZodArray<z.ZodObject<{ placement: z.ZodString; background_image: z.ZodNullable<z.ZodString>; background_color: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>; image_url: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { image_url?: string; placement?: string; background_color?: string; background_image?: string; }, { image_url?: string; placement?: string; background_color?: string; background_image?: string; }>, "many">; }, "strip", z.ZodTypeAny, { catalog_variant_id?: number; color?: string; primary_hex_color?: string; secondary_hex_color?: string; images?: { image_url?: string; placement?: string; background_color?: string; background_image?: string; }[]; }, { catalog_variant_id?: number; color?: string; primary_hex_color?: string; secondary_hex_color?: string; images?: { image_url?: string; placement?: string; background_color?: string; background_image?: string; }[]; }>, "many">; _links: z.ZodObject<{ _self: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; variant_details: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; }, "strip", z.ZodTypeAny, { _self?: { href?: string; }; variant_details?: { href?: string; }; }, { _self?: { href?: string; }; variant_details?: { href?: string; }; }>; }, "strip", z.ZodTypeAny, { _links?: { _self?: { href?: string; }; variant_details?: { href?: string; }; }; data?: { catalog_variant_id?: number; color?: string; primary_hex_color?: string; secondary_hex_color?: string; images?: { image_url?: string; placement?: string; background_color?: string; background_image?: string; }[]; }[]; }, { _links?: { _self?: { href?: string; }; variant_details?: { href?: string; }; }; data?: { catalog_variant_id?: number; color?: string; primary_hex_color?: string; secondary_hex_color?: string; images?: { image_url?: string; placement?: string; background_color?: string; background_image?: string; }[]; }[]; }>; export type GetVarianttBlankMockupsResponse = z.infer<typeof GetVarianttBlankMockupsResponse>;