@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.
16 lines • 740 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 { billingScheduleSchema } from './billingSchedule.js';
import { componentCustomPriceSchema, } from './componentCustomPrice.js';
export const createUsageSchema = lazy(() => expandoObject({
quantity: ['quantity', optional(number())],
pricePointId: ['price_point_id', optional(string())],
memo: ['memo', optional(string())],
billingSchedule: ['billing_schedule', optional(billingScheduleSchema)],
customPrice: ['custom_price', optional(componentCustomPriceSchema)],
}));
//# sourceMappingURL=createUsage.js.map