@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.32 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.updateComponentSchema = void 0;
var schema_1 = require("../schema");
var creditType_1 = require("./creditType");
var itemCategory_1 = require("./itemCategory");
exports.updateComponentSchema = (0, schema_1.expandoObject)({
handle: ['handle', (0, schema_1.optional)((0, schema_1.string)())],
name: ['name', (0, schema_1.optional)((0, schema_1.string)())],
description: ['description', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
accountingCode: ['accounting_code', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
taxable: ['taxable', (0, schema_1.optional)((0, schema_1.boolean)())],
taxCode: ['tax_code', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
itemCategory: ['item_category', (0, schema_1.optional)((0, schema_1.nullable)(itemCategory_1.itemCategorySchema))],
displayOnHostedPage: ['display_on_hosted_page', (0, schema_1.optional)((0, schema_1.boolean)())],
upgradeCharge: ['upgrade_charge', (0, schema_1.optional)((0, schema_1.nullable)(creditType_1.creditTypeSchema))]
});
//# sourceMappingURL=updateComponent.js.map