@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.54 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.billingManifestSchema = void 0;
var schema_js_1 = require("../schema.js");
var billingManifestItem_js_1 = require("./billingManifestItem.js");
exports.billingManifestSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
lineItems: ['line_items', (0, schema_js_1.optional)((0, schema_js_1.array)(billingManifestItem_js_1.billingManifestItemSchema))],
totalInCents: ['total_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
totalDiscountInCents: ['total_discount_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
totalTaxInCents: ['total_tax_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
subtotalInCents: ['subtotal_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
startDate: ['start_date', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
endDate: ['end_date', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
periodType: ['period_type', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
existingBalanceInCents: ['existing_balance_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
});
});
//# sourceMappingURL=billingManifest.js.map