@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.
23 lines • 1.02 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.priceSchema = void 0;
var schema_js_1 = require("../schema.js");
var priceEndingQuantity_js_1 = require("./containers/priceEndingQuantity.js");
var priceStartingQuantity_js_1 = require("./containers/priceStartingQuantity.js");
var priceUnitPrice_js_1 = require("./containers/priceUnitPrice.js");
exports.priceSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
startingQuantity: ['starting_quantity', priceStartingQuantity_js_1.priceStartingQuantitySchema],
endingQuantity: [
'ending_quantity',
(0, schema_js_1.optional)((0, schema_js_1.nullable)(priceEndingQuantity_js_1.priceEndingQuantitySchema)),
],
unitPrice: ['unit_price', priceUnitPrice_js_1.priceUnitPriceSchema],
});
});
//# sourceMappingURL=price.js.map