UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

99 lines (98 loc) 2.24 kB
import { z } from 'zod'; export declare const GetCatalogCategoryResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodNumber; parent_id: z.ZodNullable<z.ZodNumber>; image_url: z.ZodString; title: z.ZodString; _links: z.ZodObject<{ self: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; }, "strip", z.ZodTypeAny, { self?: { href?: string; }; }, { self?: { href?: string; }; }>; }, "strip", z.ZodTypeAny, { title?: string; id?: number; parent_id?: number; image_url?: string; _links?: { self?: { href?: string; }; }; }, { title?: string; id?: number; parent_id?: number; image_url?: string; _links?: { self?: { href?: string; }; }; }>; _links: z.ZodObject<{ all_categories: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; }, "strip", z.ZodTypeAny, { all_categories?: { href?: string; }; }, { all_categories?: { href?: string; }; }>; }, "strip", z.ZodTypeAny, { _links?: { all_categories?: { href?: string; }; }; data?: { title?: string; id?: number; parent_id?: number; image_url?: string; _links?: { self?: { href?: string; }; }; }; }, { _links?: { all_categories?: { href?: string; }; }; data?: { title?: string; id?: number; parent_id?: number; image_url?: string; _links?: { self?: { href?: string; }; }; }; }>; export type GetCatalogCategoryResponse = z.infer<typeof GetCatalogCategoryResponse>;