@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
87 lines (86 loc) • 2.01 kB
TypeScript
import { z } from 'zod';
export declare const GetInvoiceResponse: z.ZodObject<{
data: z.ZodObject<{
media_type: z.ZodString;
content: z.ZodString;
_links: z.ZodObject<{
self: z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>;
order: z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href?: string;
}, {
href?: string;
}>;
}, "strip", z.ZodTypeAny, {
self?: {
href?: string;
};
order?: {
href?: string;
};
}, {
self?: {
href?: string;
};
order?: {
href?: string;
};
}>;
}, "strip", z.ZodTypeAny, {
_links?: {
self?: {
href?: string;
};
order?: {
href?: string;
};
};
media_type?: string;
content?: string;
}, {
_links?: {
self?: {
href?: string;
};
order?: {
href?: string;
};
};
media_type?: string;
content?: string;
}>;
}, "strip", z.ZodTypeAny, {
data?: {
_links?: {
self?: {
href?: string;
};
order?: {
href?: string;
};
};
media_type?: string;
content?: string;
};
}, {
data?: {
_links?: {
self?: {
href?: string;
};
order?: {
href?: string;
};
};
media_type?: string;
content?: string;
};
}>;
export type GetInvoiceResponse = z.infer<typeof GetInvoiceResponse>;