@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.
46 lines • 3.26 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.debitNoteSchema = void 0;
var schema_js_1 = require("../schema.js");
var creditNoteLineItem_js_1 = require("./creditNoteLineItem.js");
var debitNoteRole_js_1 = require("./debitNoteRole.js");
var debitNoteStatus_js_1 = require("./debitNoteStatus.js");
var invoiceAddress_js_1 = require("./invoiceAddress.js");
var invoiceCustomer_js_1 = require("./invoiceCustomer.js");
var invoiceDiscount_js_1 = require("./invoiceDiscount.js");
var invoiceRefund_js_1 = require("./invoiceRefund.js");
var invoiceSeller_js_1 = require("./invoiceSeller.js");
var invoiceTax_js_1 = require("./invoiceTax.js");
exports.debitNoteSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
uid: ['uid', (0, schema_js_1.optional)((0, schema_js_1.string)())],
siteId: ['site_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
customerId: ['customer_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
subscriptionId: ['subscription_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
number: ['number', (0, schema_js_1.optional)((0, schema_js_1.number)())],
sequenceNumber: ['sequence_number', (0, schema_js_1.optional)((0, schema_js_1.number)())],
originCreditNoteUid: ['origin_credit_note_uid', (0, schema_js_1.optional)((0, schema_js_1.string)())],
originCreditNoteNumber: ['origin_credit_note_number', (0, schema_js_1.optional)((0, schema_js_1.string)())],
issueDate: ['issue_date', (0, schema_js_1.optional)((0, schema_js_1.string)())],
appliedDate: ['applied_date', (0, schema_js_1.optional)((0, schema_js_1.string)())],
dueDate: ['due_date', (0, schema_js_1.optional)((0, schema_js_1.string)())],
status: ['status', (0, schema_js_1.optional)(debitNoteStatus_js_1.debitNoteStatusSchema)],
memo: ['memo', (0, schema_js_1.optional)((0, schema_js_1.string)())],
role: ['role', (0, schema_js_1.optional)(debitNoteRole_js_1.debitNoteRoleSchema)],
currency: ['currency', (0, schema_js_1.optional)((0, schema_js_1.string)())],
seller: ['seller', (0, schema_js_1.optional)(invoiceSeller_js_1.invoiceSellerSchema)],
customer: ['customer', (0, schema_js_1.optional)(invoiceCustomer_js_1.invoiceCustomerSchema)],
billingAddress: ['billing_address', (0, schema_js_1.optional)(invoiceAddress_js_1.invoiceAddressSchema)],
shippingAddress: ['shipping_address', (0, schema_js_1.optional)(invoiceAddress_js_1.invoiceAddressSchema)],
lineItems: ['line_items', (0, schema_js_1.optional)((0, schema_js_1.array)(creditNoteLineItem_js_1.creditNoteLineItemSchema))],
discounts: ['discounts', (0, schema_js_1.optional)((0, schema_js_1.array)(invoiceDiscount_js_1.invoiceDiscountSchema))],
taxes: ['taxes', (0, schema_js_1.optional)((0, schema_js_1.array)(invoiceTax_js_1.invoiceTaxSchema))],
refunds: ['refunds', (0, schema_js_1.optional)((0, schema_js_1.array)(invoiceRefund_js_1.invoiceRefundSchema))],
});
});
//# sourceMappingURL=debitNote.js.map