@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 • 879 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { expandoObject, lazy, number, optional, string, } from '../schema.js';
import { componentAllocationChangeAllocatedQuantitySchema, } from './containers/componentAllocationChangeAllocatedQuantity.js';
export const componentAllocationChangeSchema = lazy(() => expandoObject({
previousAllocation: ['previous_allocation', number()],
newAllocation: ['new_allocation', number()],
componentId: ['component_id', number()],
componentHandle: ['component_handle', string()],
memo: ['memo', string()],
allocationId: ['allocation_id', number()],
allocatedQuantity: [
'allocated_quantity',
optional(componentAllocationChangeAllocatedQuantitySchema),
],
}));
//# sourceMappingURL=componentAllocationChange.js.map