UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

58 lines (57 loc) 2.56 kB
import { z } from 'zod'; export declare const TemplatePositioning: z.ZodEnum<["overlay", "background"]>; export type TemplatePositioning = z.infer<typeof TemplatePositioning>; export declare const Orientation: z.ZodEnum<["horizontal", "vertical", "any"]>; export type Orientation = z.infer<typeof Orientation>; export declare const TemplateType: z.ZodEnum<["custom", "native", "color_group", "advanced"]>; export type TemplateType = z.infer<typeof TemplateType>; export declare const MockupTemplates: z.ZodObject<{ catalog_variant_ids: z.ZodArray<z.ZodNumber, "many">; placement: z.ZodString; technique: z.ZodEnum<["dtg", "digital", "cut-sew", "uv", "embroidery", "sublimation", "dtfilm"]>; image_url: z.ZodString; background_url: z.ZodNullable<z.ZodString>; background_color: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>; template_width: z.ZodNumber; template_height: z.ZodNumber; print_area_width: z.ZodNumber; print_area_height: z.ZodNumber; print_area_top: z.ZodNumber; print_area_left: z.ZodNumber; template_positioning: z.ZodEnum<["overlay", "background"]>; orientation: z.ZodEnum<["horizontal", "vertical", "any"]>; template_type: z.ZodEnum<["custom", "native", "color_group", "advanced"]>; }, "strip", z.ZodTypeAny, { image_url?: string; placement?: string; technique?: "dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm"; print_area_width?: number; print_area_height?: number; catalog_variant_ids?: number[]; background_url?: string; background_color?: string; template_width?: number; template_height?: number; print_area_top?: number; print_area_left?: number; template_positioning?: "overlay" | "background"; orientation?: "horizontal" | "vertical" | "any"; template_type?: "custom" | "native" | "color_group" | "advanced"; }, { image_url?: string; placement?: string; technique?: "dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm"; print_area_width?: number; print_area_height?: number; catalog_variant_ids?: number[]; background_url?: string; background_color?: string; template_width?: number; template_height?: number; print_area_top?: number; print_area_left?: number; template_positioning?: "overlay" | "background"; orientation?: "horizontal" | "vertical" | "any"; template_type?: "custom" | "native" | "color_group" | "advanced"; }>; export type MockupTemplates = z.infer<typeof MockupTemplates>;