@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
156 lines (155 loc) • 3.34 kB
TypeScript
import { z } from 'zod';
export declare const ListStoresResponse: z.ZodObject<{
data: z.ZodArray<z.ZodObject<{
id: z.ZodNumber;
type: z.ZodString;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type?: string;
name?: string;
id?: number;
}, {
type?: string;
name?: string;
id?: number;
}>, "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?: {
type?: string;
name?: string;
id?: number;
}[];
paging?: {
total?: number;
offset?: number;
limit?: number;
};
}, {
_links?: {
self?: {
href?: string;
};
first?: {
href?: string;
};
last?: {
href?: string;
};
next?: {
href?: string;
};
previous?: {
href?: string;
};
};
data?: {
type?: string;
name?: string;
id?: number;
}[];
paging?: {
total?: number;
offset?: number;
limit?: number;
};
}>;
export type ListStoresResponse = z.infer<typeof ListStoresResponse>;