@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 • 960 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { boolean, expandoObject, lazy, number, optional, } from '../schema.js';
import { updatePriceEndingQuantitySchema, } from './containers/updatePriceEndingQuantity.js';
import { updatePriceStartingQuantitySchema, } from './containers/updatePriceStartingQuantity.js';
import { updatePriceUnitPriceSchema, } from './containers/updatePriceUnitPrice.js';
export const updatePriceSchema = lazy(() => expandoObject({
id: ['id', optional(number())],
endingQuantity: [
'ending_quantity',
optional(updatePriceEndingQuantitySchema),
],
unitPrice: ['unit_price', optional(updatePriceUnitPriceSchema)],
destroy: ['_destroy', optional(boolean())],
startingQuantity: [
'starting_quantity',
optional(updatePriceStartingQuantitySchema),
],
}));
//# sourceMappingURL=updatePrice.js.map