@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.
26 lines • 1.25 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.prepaidUsageSchema = void 0;
var schema_1 = require("../schema");
var prepaidUsageAllocationDetail_1 = require("./prepaidUsageAllocationDetail");
exports.prepaidUsageSchema = (0, schema_1.expandoObject)({
previousUnitBalance: ['previous_unit_balance', (0, schema_1.string)()],
previousOverageUnitBalance: ['previous_overage_unit_balance', (0, schema_1.string)()],
newUnitBalance: ['new_unit_balance', (0, schema_1.number)()],
newOverageUnitBalance: ['new_overage_unit_balance', (0, schema_1.number)()],
usageQuantity: ['usage_quantity', (0, schema_1.number)()],
overageUsageQuantity: ['overage_usage_quantity', (0, schema_1.number)()],
componentId: ['component_id', (0, schema_1.number)()],
componentHandle: ['component_handle', (0, schema_1.string)()],
memo: ['memo', (0, schema_1.string)()],
allocationDetails: [
'allocation_details',
(0, schema_1.array)((0, schema_1.lazy)(function () { return prepaidUsageAllocationDetail_1.prepaidUsageAllocationDetailSchema; })),
]
});
//# sourceMappingURL=prepaidUsage.js.map