@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.53 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.renewalPreviewSchema = void 0;
var schema_js_1 = require("../schema.js");
var renewalPreviewLineItem_js_1 = require("./renewalPreviewLineItem.js");
exports.renewalPreviewSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
nextAssessmentAt: ['next_assessment_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
subtotalInCents: ['subtotal_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)())],
totalDiscountInCents: ['total_discount_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
totalInCents: ['total_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
existingBalanceInCents: ['existing_balance_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
totalAmountDueInCents: ['total_amount_due_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
uncalculatedTaxes: ['uncalculated_taxes', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
lineItems: ['line_items', (0, schema_js_1.optional)((0, schema_js_1.array)(renewalPreviewLineItem_js_1.renewalPreviewLineItemSchema))],
});
});
//# sourceMappingURL=renewalPreview.js.map