@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
38 lines (37 loc) • 1.32 kB
TypeScript
import { z } from 'zod';
export declare const Layer: z.ZodObject<{
type: z.ZodString;
layer_options: z.ZodArray<z.ZodObject<{
name: z.ZodString;
techniques: z.ZodArray<z.ZodEnum<["dtg", "digital", "cut-sew", "uv", "embroidery", "sublimation", "dtfilm"]>, "many">;
type: z.ZodString;
values: z.ZodArray<z.ZodUnknown, "many">;
}, "strip", z.ZodTypeAny, {
values?: unknown[];
type?: string;
name?: string;
techniques?: ("dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm")[];
}, {
values?: unknown[];
type?: string;
name?: string;
techniques?: ("dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm")[];
}>, "many">;
}, "strip", z.ZodTypeAny, {
type?: string;
layer_options?: {
values?: unknown[];
type?: string;
name?: string;
techniques?: ("dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm")[];
}[];
}, {
type?: string;
layer_options?: {
values?: unknown[];
type?: string;
name?: string;
techniques?: ("dtg" | "digital" | "cut-sew" | "uv" | "embroidery" | "sublimation" | "dtfilm")[];
}[];
}>;
export type Layer = z.infer<typeof Layer>;