UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

64 lines (63 loc) 2.09 kB
import { z } from 'zod'; export declare const VariantImage: 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; }>; export type VariantImage = z.infer<typeof VariantImage>; export declare const VariantImages: 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; }[]; }>; export type VariantImages = z.infer<typeof VariantImages>;