@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.
25 lines • 1.21 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.movementLineItemSchema = void 0;
var schema_1 = require("../schema");
var mRRMovement_1 = require("./mRRMovement");
exports.movementLineItemSchema = (0, schema_1.expandoObject)({
productId: ['product_id', (0, schema_1.optional)((0, schema_1.number)())],
componentId: ['component_id', (0, schema_1.optional)((0, schema_1.number)())],
pricePointId: ['price_point_id', (0, schema_1.optional)((0, schema_1.number)())],
name: ['name', (0, schema_1.optional)((0, schema_1.string)())],
mrr: ['mrr', (0, schema_1.optional)((0, schema_1.number)())],
mrrMovements: [
'mrr_movements',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return mRRMovement_1.mRRMovementSchema; }))),
],
quantity: ['quantity', (0, schema_1.optional)((0, schema_1.number)())],
prevQuantity: ['prev_quantity', (0, schema_1.optional)((0, schema_1.number)())],
recurring: ['recurring', (0, schema_1.optional)((0, schema_1.boolean)())]
});
//# sourceMappingURL=movementLineItem.js.map