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