@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 • 2.87 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.invoiceLineItemEventDataSchema = void 0;
var schema_js_1 = require("../schema.js");
var invoiceLineItemPricingDetail_js_1 = require("./invoiceLineItemPricingDetail.js");
exports.invoiceLineItemEventDataSchema = (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.number)())],
quantityDelta: ['quantity_delta', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
unitPrice: ['unit_price', (0, schema_js_1.optional)((0, schema_js_1.string)())],
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)())],
amount: ['amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
lineReferences: ['line_references', (0, schema_js_1.optional)((0, schema_js_1.string)())],
pricingDetailsIndex: [
'pricing_details_index',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
pricingDetails: [
'pricing_details',
(0, schema_js_1.optional)((0, schema_js_1.array)(invoiceLineItemPricingDetail_js_1.invoiceLineItemPricingDetailSchema)),
],
taxCode: ['tax_code', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
taxAmount: ['tax_amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
productId: ['product_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
productPricePointId: [
'product_price_point_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)()))],
componentId: ['component_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)())),
],
customItem: ['custom_item', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.boolean)()))],
});
});
//# sourceMappingURL=invoiceLineItemEventData.js.map