@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.4 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.billingManifestSchema = void 0;
var schema_1 = require("../schema");
var billingManifestItem_1 = require("./billingManifestItem");
exports.billingManifestSchema = (0, schema_1.expandoObject)({
lineItems: [
'line_items',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return billingManifestItem_1.billingManifestItemSchema; }))),
],
totalInCents: ['total_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
totalDiscountInCents: ['total_discount_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
totalTaxInCents: ['total_tax_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
subtotalInCents: ['subtotal_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
startDate: ['start_date', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
endDate: ['end_date', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
periodType: ['period_type', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
existingBalanceInCents: ['existing_balance_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())]
});
//# sourceMappingURL=billingManifest.js.map