@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.34 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.movementSchema = void 0;
var schema_1 = require("../schema");
var breakouts_1 = require("./breakouts");
var movementLineItem_1 = require("./movementLineItem");
exports.movementSchema = (0, schema_1.expandoObject)({
timestamp: ['timestamp', (0, schema_1.optional)((0, schema_1.string)())],
amountInCents: ['amount_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
amountFormatted: ['amount_formatted', (0, schema_1.optional)((0, schema_1.string)())],
description: ['description', (0, schema_1.optional)((0, schema_1.string)())],
category: ['category', (0, schema_1.optional)((0, schema_1.string)())],
breakouts: ['breakouts', (0, schema_1.optional)((0, schema_1.lazy)(function () { return breakouts_1.breakoutsSchema; }))],
lineItems: [
'line_items',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return movementLineItem_1.movementLineItemSchema; }))),
],
subscriptionId: ['subscription_id', (0, schema_1.optional)((0, schema_1.number)())],
subscriberName: ['subscriber_name', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=movement.js.map