UNPKG

@maxio-com/advanced-billing-sdk

Version:

Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.

23 lines 1 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, expandoObject, lazy, number, string } from '../schema'; import { prepaidUsageAllocationDetailSchema, } from './prepaidUsageAllocationDetail'; export const prepaidUsageSchema = expandoObject({ previousUnitBalance: ['previous_unit_balance', string()], previousOverageUnitBalance: ['previous_overage_unit_balance', string()], newUnitBalance: ['new_unit_balance', number()], newOverageUnitBalance: ['new_overage_unit_balance', number()], usageQuantity: ['usage_quantity', number()], overageUsageQuantity: ['overage_usage_quantity', number()], componentId: ['component_id', number()], componentHandle: ['component_handle', string()], memo: ['memo', string()], allocationDetails: [ 'allocation_details', array(lazy(() => prepaidUsageAllocationDetailSchema)), ], }); //# sourceMappingURL=prepaidUsage.js.map