UNPKG

chargebee

Version:

A library for integrating with Chargebee.

27 lines (26 loc) 1.32 kB
"use strict"; // Generated Zod schemas: OmnichannelOneTimeOrder // Actions: list // Do not edit manually – regenerate via sdk-generator Object.defineProperty(exports, "__esModule", { value: true }); exports.ListOmnichannelOneTimeOrderBodySchema = void 0; const zod_1 = require("zod"); //OmnichannelOneTimeOrder.list const ListOmnichannelOneTimeOrderSourceSchema = zod_1.z.object({ is: zod_1.z.enum(['apple_app_store', 'google_play_store']).optional(), is_not: zod_1.z.enum(['apple_app_store', 'google_play_store']).optional(), in: zod_1.z.enum(['apple_app_store', 'google_play_store']).optional(), not_in: zod_1.z.enum(['apple_app_store', 'google_play_store']).optional(), }); const ListOmnichannelOneTimeOrderCustomerIdSchema = zod_1.z.object({ is: zod_1.z.string().min(1).optional(), is_not: zod_1.z.string().min(1).optional(), starts_with: zod_1.z.string().min(1).optional(), }); const ListOmnichannelOneTimeOrderBodySchema = zod_1.z.looseObject({ limit: zod_1.z.number().int().min(1).max(100).optional(), offset: zod_1.z.string().max(1000).optional(), source: ListOmnichannelOneTimeOrderSourceSchema.optional(), customer_id: ListOmnichannelOneTimeOrderCustomerIdSchema.optional(), }); exports.ListOmnichannelOneTimeOrderBodySchema = ListOmnichannelOneTimeOrderBodySchema;