@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.
21 lines • 1.07 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.createUsageSchema = void 0;
var schema_js_1 = require("../schema.js");
var billingSchedule_js_1 = require("./billingSchedule.js");
var componentCustomPrice_js_1 = require("./componentCustomPrice.js");
exports.createUsageSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
quantity: ['quantity', (0, schema_js_1.optional)((0, schema_js_1.number)())],
pricePointId: ['price_point_id', (0, schema_js_1.optional)((0, schema_js_1.string)())],
memo: ['memo', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingSchedule: ['billing_schedule', (0, schema_js_1.optional)(billingSchedule_js_1.billingScheduleSchema)],
customPrice: ['custom_price', (0, schema_js_1.optional)(componentCustomPrice_js_1.componentCustomPriceSchema)],
});
});
//# sourceMappingURL=createUsage.js.map