@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.43 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.webhookSchema = void 0;
var schema_js_1 = require("../schema.js");
exports.webhookSchema = (0, schema_js_1.expandoObject)({
event: ['event', (0, schema_js_1.optional)((0, schema_js_1.string)())],
id: ['id', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
createdAt: ['created_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
lastError: ['last_error', (0, schema_js_1.optional)((0, schema_js_1.string)())],
lastErrorAt: ['last_error_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
acceptedAt: ['accepted_at', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
lastSentAt: ['last_sent_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
lastSentUrl: ['last_sent_url', (0, schema_js_1.optional)((0, schema_js_1.string)())],
successful: ['successful', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
body: ['body', (0, schema_js_1.optional)((0, schema_js_1.string)())],
signature: ['signature', (0, schema_js_1.optional)((0, schema_js_1.string)())],
signatureHmacSha256: ['signature_hmac_sha_256', (0, schema_js_1.optional)((0, schema_js_1.string)())],
});
//# sourceMappingURL=webhook.js.map