@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.
24 lines • 1.35 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.usageSchema = void 0;
var schema_js_1 = require("../schema.js");
var usageQuantity_js_1 = require("./containers/usageQuantity.js");
exports.usageSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
memo: ['memo', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
createdAt: ['created_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
pricePointId: ['price_point_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
quantity: ['quantity', (0, schema_js_1.optional)(usageQuantity_js_1.usageQuantitySchema)],
overageQuantity: ['overage_quantity', (0, schema_js_1.optional)((0, schema_js_1.number)())],
componentId: ['component_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
componentHandle: ['component_handle', (0, schema_js_1.optional)((0, schema_js_1.string)())],
subscriptionId: ['subscription_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
});
});
//# sourceMappingURL=usage.js.map