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.

18 lines 971 B
"use strict"; /** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.previewAllocationsRequestSchema = void 0; var schema_1 = require("../schema"); var createAllocation_1 = require("./createAllocation"); var creditType_1 = require("./creditType"); exports.previewAllocationsRequestSchema = (0, schema_1.expandoObject)({ allocations: ['allocations', (0, schema_1.array)((0, schema_1.lazy)(function () { return createAllocation_1.createAllocationSchema; }))], effectiveProrationDate: ['effective_proration_date', (0, schema_1.optional)((0, schema_1.string)())], upgradeCharge: ['upgrade_charge', (0, schema_1.optional)((0, schema_1.nullable)(creditType_1.creditTypeSchema))], downgradeCredit: ['downgrade_credit', (0, schema_1.optional)((0, schema_1.nullable)(creditType_1.creditTypeSchema))] }); //# sourceMappingURL=previewAllocationsRequest.js.map