UNPKG

chargebee

Version:

A library for integrating with Chargebee.

22 lines (21 loc) 1.14 kB
"use strict"; // Generated Zod schemas: LedgerAccountBalance // Actions: listLedgerAccountBalances // Do not edit manually – regenerate via sdk-generator Object.defineProperty(exports, "__esModule", { value: true }); exports.ListLedgerAccountBalancesLedgerAccountBalanceBodySchema = void 0; const zod_1 = require("zod"); //LedgerAccountBalance.listLedgerAccountBalances const ListLedgerAccountBalancesLedgerAccountBalanceSubscriptionIdSchema = zod_1.z.object({ is: zod_1.z.string().min(1).optional(), }); const ListLedgerAccountBalancesLedgerAccountBalanceUnitIdSchema = zod_1.z.object({ is: zod_1.z.string().min(1).optional(), }); const ListLedgerAccountBalancesLedgerAccountBalanceBodySchema = zod_1.z.looseObject({ limit: zod_1.z.number().int().min(1).max(100).optional(), offset: zod_1.z.string().max(1000).optional(), subscription_id: ListLedgerAccountBalancesLedgerAccountBalanceSubscriptionIdSchema, unit_id: ListLedgerAccountBalancesLedgerAccountBalanceUnitIdSchema.optional(), }); exports.ListLedgerAccountBalancesLedgerAccountBalanceBodySchema = ListLedgerAccountBalancesLedgerAccountBalanceBodySchema;