@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.
47 lines • 3.06 kB
JavaScript
"use strict";
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.invoiceLineItemSchema = void 0;
var schema_js_1 = require("../schema.js");
var invoiceLineItemComponentCostData_js_1 = require("./invoiceLineItemComponentCostData.js");
exports.invoiceLineItemSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
uid: ['uid', (0, schema_js_1.optional)((0, schema_js_1.string)())],
title: ['title', (0, schema_js_1.optional)((0, schema_js_1.string)())],
description: ['description', (0, schema_js_1.optional)((0, schema_js_1.string)())],
quantity: ['quantity', (0, schema_js_1.optional)((0, schema_js_1.string)())],
unitPrice: ['unit_price', (0, schema_js_1.optional)((0, schema_js_1.string)())],
subtotalAmount: ['subtotal_amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
discountAmount: ['discount_amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
taxAmount: ['tax_amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
totalAmount: ['total_amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
tieredUnitPrice: ['tiered_unit_price', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
periodRangeStart: ['period_range_start', (0, schema_js_1.optional)((0, schema_js_1.string)())],
periodRangeEnd: ['period_range_end', (0, schema_js_1.optional)((0, schema_js_1.string)())],
transactionId: ['transaction_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
productId: ['product_id', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
productVersion: ['product_version', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
componentId: ['component_id', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
pricePointId: ['price_point_id', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
billingScheduleItemId: [
'billing_schedule_item_id',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
hide: ['hide', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
componentCostData: [
'component_cost_data',
(0, schema_js_1.optional)((0, schema_js_1.nullable)(invoiceLineItemComponentCostData_js_1.invoiceLineItemComponentCostDataSchema)),
],
productPricePointId: [
'product_price_point_id',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
customItem: ['custom_item', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
kind: ['kind', (0, schema_js_1.optional)((0, schema_js_1.string)())],
});
});
//# sourceMappingURL=invoiceLineItem.js.map