UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

29 lines (28 loc) 841 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OAuthScope = exports.OAuthScopeValue = exports.OAuthScopeName = void 0; const zod_1 = require("zod"); exports.OAuthScopeName = zod_1.z.enum([ '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', ]); exports.OAuthScopeValue = zod_1.z.enum([ 'orders/read', 'orders', 'sync_products/read', 'sync_products', 'file_library/read', 'file_library', 'webhooks/read', 'webhooks/read', ]); exports.OAuthScope = zod_1.z.object({ name: exports.OAuthScopeName, value: exports.OAuthScopeValue, });