@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.
25 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.movementSchema = void 0;
var schema_js_1 = require("../schema.js");
var breakouts_js_1 = require("./breakouts.js");
var movementLineItem_js_1 = require("./movementLineItem.js");
exports.movementSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
timestamp: ['timestamp', (0, schema_js_1.optional)((0, schema_js_1.string)())],
amountInCents: ['amount_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
amountFormatted: ['amount_formatted', (0, schema_js_1.optional)((0, schema_js_1.string)())],
description: ['description', (0, schema_js_1.optional)((0, schema_js_1.string)())],
category: ['category', (0, schema_js_1.optional)((0, schema_js_1.string)())],
breakouts: ['breakouts', (0, schema_js_1.optional)(breakouts_js_1.breakoutsSchema)],
lineItems: ['line_items', (0, schema_js_1.optional)((0, schema_js_1.array)(movementLineItem_js_1.movementLineItemSchema))],
subscriptionId: ['subscription_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
subscriberName: ['subscriber_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
});
});
//# sourceMappingURL=movement.js.map