UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

188 lines (187 loc) 4.23 kB
import { z } from 'zod'; export declare const ListCountriesSearchParams: z.ZodObject<{ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { offset?: number; limit?: number; }, { offset?: number; limit?: number; }>; export type ListCountriesSearchParams = z.infer<typeof ListCountriesSearchParams>; export declare const ListCountriesResponse: z.ZodObject<{ data: z.ZodArray<z.ZodObject<{ code: z.ZodString; name: z.ZodString; states: z.ZodArray<z.ZodObject<{ code: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { code?: string; name?: string; }, { code?: string; name?: string; }>, "many">; }, "strip", z.ZodTypeAny, { code?: string; name?: string; states?: { code?: string; name?: string; }[]; }, { code?: string; name?: string; states?: { code?: string; name?: string; }[]; }>, "many">; paging: z.ZodObject<{ total: z.ZodNumber; offset: z.ZodDefault<z.ZodNumber>; limit: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { total?: number; offset?: number; limit?: number; }, { total?: number; offset?: number; limit?: number; }>; _links: z.ZodObject<{ self: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; first: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; last: z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>; next: z.ZodOptional<z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>>; previous: z.ZodOptional<z.ZodObject<{ href: z.ZodString; }, "strip", z.ZodTypeAny, { href?: string; }, { href?: string; }>>; }, "strip", z.ZodTypeAny, { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; }, { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; }>; }, "strip", z.ZodTypeAny, { _links?: { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; }; data?: { code?: string; name?: string; states?: { code?: string; name?: string; }[]; }[]; paging?: { total?: number; offset?: number; limit?: number; }; }, { _links?: { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; }; data?: { code?: string; name?: string; states?: { code?: string; name?: string; }[]; }[]; paging?: { total?: number; offset?: number; limit?: number; }; }>; export type ListCountriesResponse = z.infer<typeof ListCountriesResponse>;