@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.12 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.previewAllocationsRequestSchema = void 0;
var schema_js_1 = require("../schema.js");
var createAllocation_js_1 = require("./createAllocation.js");
var creditType_js_1 = require("./creditType.js");
exports.previewAllocationsRequestSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
allocations: ['allocations', (0, schema_js_1.array)(createAllocation_js_1.createAllocationSchema)],
effectiveProrationDate: ['effective_proration_date', (0, schema_js_1.optional)((0, schema_js_1.string)())],
upgradeCharge: ['upgrade_charge', (0, schema_js_1.optional)((0, schema_js_1.nullable)(creditType_js_1.creditTypeSchema))],
downgradeCredit: [
'downgrade_credit',
(0, schema_js_1.optional)((0, schema_js_1.nullable)(creditType_js_1.creditTypeSchema)),
],
});
});
//# sourceMappingURL=previewAllocationsRequest.js.map