@pfantato/printful-ts
Version:
Typescript SDK to integrate with Printful
52 lines (51 loc) • 2.96 kB
TypeScript
import { z } from 'zod';
export declare const GetOAuthScopesResponse: z.ZodObject<{
data: z.ZodArray<z.ZodObject<{
name: z.ZodEnum<["View orders of the authorized store", "View and manage orders of the authorized store", "View store products", "View and manage store products", "View store files", "View and manage store files", "View store webhooks", "View and manage store webhooks"]>;
value: z.ZodEnum<["orders/read", "orders", "sync_products/read", "sync_products", "file_library/read", "file_library", "webhooks/read", "webhooks/read"]>;
}, "strip", z.ZodTypeAny, {
value?: "orders/read" | "orders" | "sync_products/read" | "sync_products" | "file_library/read" | "file_library" | "webhooks/read";
name?: "View orders of the authorized store" | "View and manage orders of the authorized store" | "View store products" | "View and manage store products" | "View store files" | "View and manage store files" | "View store webhooks" | "View and manage store webhooks";
}, {
value?: "orders/read" | "orders" | "sync_products/read" | "sync_products" | "file_library/read" | "file_library" | "webhooks/read";
name?: "View orders of the authorized store" | "View and manage orders of the authorized store" | "View store products" | "View and manage store products" | "View store files" | "View and manage store files" | "View store webhooks" | "View and manage store webhooks";
}>, "many">;
_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, {
_links?: {
self?: {
href?: string;
};
};
data?: {
value?: "orders/read" | "orders" | "sync_products/read" | "sync_products" | "file_library/read" | "file_library" | "webhooks/read";
name?: "View orders of the authorized store" | "View and manage orders of the authorized store" | "View store products" | "View and manage store products" | "View store files" | "View and manage store files" | "View store webhooks" | "View and manage store webhooks";
}[];
}, {
_links?: {
self?: {
href?: string;
};
};
data?: {
value?: "orders/read" | "orders" | "sync_products/read" | "sync_products" | "file_library/read" | "file_library" | "webhooks/read";
name?: "View orders of the authorized store" | "View and manage orders of the authorized store" | "View store products" | "View and manage store products" | "View store files" | "View and manage store files" | "View store webhooks" | "View and manage store webhooks";
}[];
}>;
export type GetOAuthScopesResponse = z.infer<typeof GetOAuthScopesResponse>;