@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.
19 lines • 882 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { bigint, expandoObject, lazy, nullable, number, optional, string, } from '../schema.js';
import { usageQuantitySchema, } from './containers/usageQuantity.js';
export const usageSchema = lazy(() => expandoObject({
id: ['id', optional(bigint())],
memo: ['memo', optional(nullable(string()))],
createdAt: ['created_at', optional(string())],
pricePointId: ['price_point_id', optional(number())],
quantity: ['quantity', optional(usageQuantitySchema)],
overageQuantity: ['overage_quantity', optional(number())],
componentId: ['component_id', optional(number())],
componentHandle: ['component_handle', optional(string())],
subscriptionId: ['subscription_id', optional(number())],
}));
//# sourceMappingURL=usage.js.map