@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 • 858 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { bigint, expandoObject, nullable, number, optional, string, } from '../schema';
import { usageQuantitySchema, } from './containers/usageQuantity';
export const usageSchema = 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