@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.
28 lines • 1.33 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.updatePriceSchema = void 0;
var schema_js_1 = require("../schema.js");
var updatePriceEndingQuantity_js_1 = require("./containers/updatePriceEndingQuantity.js");
var updatePriceStartingQuantity_js_1 = require("./containers/updatePriceStartingQuantity.js");
var updatePriceUnitPrice_js_1 = require("./containers/updatePriceUnitPrice.js");
exports.updatePriceSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
endingQuantity: [
'ending_quantity',
(0, schema_js_1.optional)(updatePriceEndingQuantity_js_1.updatePriceEndingQuantitySchema),
],
unitPrice: ['unit_price', (0, schema_js_1.optional)(updatePriceUnitPrice_js_1.updatePriceUnitPriceSchema)],
destroy: ['_destroy', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
startingQuantity: [
'starting_quantity',
(0, schema_js_1.optional)(updatePriceStartingQuantity_js_1.updatePriceStartingQuantitySchema),
],
});
});
//# sourceMappingURL=updatePrice.js.map