@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.
20 lines • 961 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { boolean, expandoObject, nullable, optional, string, } from '../schema';
import { creditTypeSchema } from './creditType';
import { itemCategorySchema } from './itemCategory';
export const updateComponentSchema = expandoObject({
handle: ['handle', optional(string())],
name: ['name', optional(string())],
description: ['description', optional(nullable(string()))],
accountingCode: ['accounting_code', optional(nullable(string()))],
taxable: ['taxable', optional(boolean())],
taxCode: ['tax_code', optional(nullable(string()))],
itemCategory: ['item_category', optional(nullable(itemCategorySchema))],
displayOnHostedPage: ['display_on_hosted_page', optional(boolean())],
upgradeCharge: ['upgrade_charge', optional(nullable(creditTypeSchema))],
});
//# sourceMappingURL=updateComponent.js.map