@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.
27 lines • 1.43 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.offerItemSchema = void 0;
var schema_1 = require("../schema");
var currencyPrice_1 = require("./currencyPrice");
var intervalUnit_1 = require("./intervalUnit");
exports.offerItemSchema = (0, schema_1.expandoObject)({
componentId: ['component_id', (0, schema_1.optional)((0, schema_1.number)())],
pricePointId: ['price_point_id', (0, schema_1.optional)((0, schema_1.number)())],
startingQuantity: ['starting_quantity', (0, schema_1.optional)((0, schema_1.string)())],
editable: ['editable', (0, schema_1.optional)((0, schema_1.boolean)())],
componentUnitPrice: ['component_unit_price', (0, schema_1.optional)((0, schema_1.string)())],
componentName: ['component_name', (0, schema_1.optional)((0, schema_1.string)())],
pricePointName: ['price_point_name', (0, schema_1.optional)((0, schema_1.string)())],
currencyPrices: [
'currency_prices',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return currencyPrice_1.currencyPriceSchema; }))),
],
interval: ['interval', (0, schema_1.optional)((0, schema_1.number)())],
intervalUnit: ['interval_unit', (0, schema_1.optional)((0, schema_1.nullable)(intervalUnit_1.intervalUnitSchema))]
});
//# sourceMappingURL=offerItem.js.map