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.

15 lines 755 B
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, expandoObject, lazy, nullable, optional, string, } from '../schema'; import { createAllocationSchema } from './createAllocation'; import { creditTypeSchema } from './creditType'; export const previewAllocationsRequestSchema = expandoObject({ allocations: ['allocations', array(lazy(() => createAllocationSchema))], effectiveProrationDate: ['effective_proration_date', optional(string())], upgradeCharge: ['upgrade_charge', optional(nullable(creditTypeSchema))], downgradeCredit: ['downgrade_credit', optional(nullable(creditTypeSchema))], }); //# sourceMappingURL=previewAllocationsRequest.js.map