UNPKG

@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 929 B
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { boolean, expandoObject, number, optional } from '../schema'; import { updatePriceEndingQuantitySchema, } from './containers/updatePriceEndingQuantity'; import { updatePriceStartingQuantitySchema, } from './containers/updatePriceStartingQuantity'; import { updatePriceUnitPriceSchema, } from './containers/updatePriceUnitPrice'; export const updatePriceSchema = 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