@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.
26 lines • 1.14 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.eventSchema = void 0;
var schema_js_1 = require("../schema.js");
var eventEventSpecificData_js_1 = require("./containers/eventEventSpecificData.js");
var eventKey_js_1 = require("./eventKey.js");
exports.eventSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.bigint)()],
key: ['key', eventKey_js_1.eventKeySchema],
message: ['message', (0, schema_js_1.string)()],
subscriptionId: ['subscription_id', (0, schema_js_1.nullable)((0, schema_js_1.number)())],
customerId: ['customer_id', (0, schema_js_1.nullable)((0, schema_js_1.number)())],
createdAt: ['created_at', (0, schema_js_1.string)()],
eventSpecificData: [
'event_specific_data',
(0, schema_js_1.nullable)(eventEventSpecificData_js_1.eventEventSpecificDataSchema),
],
});
});
//# sourceMappingURL=event.js.map