@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.58 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.offerItemSchema = void 0;
var schema_js_1 = require("../schema.js");
var currencyPrice_js_1 = require("./currencyPrice.js");
var intervalUnit_js_1 = require("./intervalUnit.js");
exports.offerItemSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
componentId: ['component_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
pricePointId: ['price_point_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
startingQuantity: ['starting_quantity', (0, schema_js_1.optional)((0, schema_js_1.string)())],
editable: ['editable', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
componentUnitPrice: ['component_unit_price', (0, schema_js_1.optional)((0, schema_js_1.string)())],
componentName: ['component_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
pricePointName: ['price_point_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
currencyPrices: ['currency_prices', (0, schema_js_1.optional)((0, schema_js_1.array)(currencyPrice_js_1.currencyPriceSchema))],
interval: ['interval', (0, schema_js_1.optional)((0, schema_js_1.number)())],
intervalUnit: ['interval_unit', (0, schema_js_1.optional)((0, schema_js_1.nullable)(intervalUnit_js_1.intervalUnitSchema))],
});
});
//# sourceMappingURL=offerItem.js.map