xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
119 lines (118 loc) • 3.53 kB
JavaScript
;
/**
* Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
var RepeatingInvoice = /** @class */ (function () {
function RepeatingInvoice() {
}
RepeatingInvoice.getAttributeTypeMap = function () {
return RepeatingInvoice.attributeTypeMap;
};
RepeatingInvoice.discriminator = undefined;
RepeatingInvoice.attributeTypeMap = [
{
"name": "type",
"baseName": "Type",
"type": "RepeatingInvoice.TypeEnum"
},
{
"name": "contact",
"baseName": "Contact",
"type": "Contact"
},
{
"name": "schedule",
"baseName": "Schedule",
"type": "Schedule"
},
{
"name": "lineItems",
"baseName": "LineItems",
"type": "Array<LineItem>"
},
{
"name": "lineAmountTypes",
"baseName": "LineAmountTypes",
"type": "LineAmountTypes"
},
{
"name": "reference",
"baseName": "Reference",
"type": "string"
},
{
"name": "brandingThemeID",
"baseName": "BrandingThemeID",
"type": "string"
},
{
"name": "currencyCode",
"baseName": "CurrencyCode",
"type": "CurrencyCode"
},
{
"name": "status",
"baseName": "Status",
"type": "RepeatingInvoice.StatusEnum"
},
{
"name": "subTotal",
"baseName": "SubTotal",
"type": "number"
},
{
"name": "totalTax",
"baseName": "TotalTax",
"type": "number"
},
{
"name": "total",
"baseName": "Total",
"type": "number"
},
{
"name": "repeatingInvoiceID",
"baseName": "RepeatingInvoiceID",
"type": "string"
},
{
"name": "ID",
"baseName": "ID",
"type": "string"
},
{
"name": "hasAttachments",
"baseName": "HasAttachments",
"type": "boolean"
},
{
"name": "attachments",
"baseName": "Attachments",
"type": "Array<Attachment>"
}
];
return RepeatingInvoice;
}());
exports.RepeatingInvoice = RepeatingInvoice;
(function (RepeatingInvoice) {
var TypeEnum;
(function (TypeEnum) {
TypeEnum[TypeEnum["ACCPAY"] = 'ACCPAY'] = "ACCPAY";
TypeEnum[TypeEnum["ACCREC"] = 'ACCREC'] = "ACCREC";
})(TypeEnum = RepeatingInvoice.TypeEnum || (RepeatingInvoice.TypeEnum = {}));
var StatusEnum;
(function (StatusEnum) {
StatusEnum[StatusEnum["DRAFT"] = 'DRAFT'] = "DRAFT";
StatusEnum[StatusEnum["AUTHORISED"] = 'AUTHORISED'] = "AUTHORISED";
})(StatusEnum = RepeatingInvoice.StatusEnum || (RepeatingInvoice.StatusEnum = {}));
})(RepeatingInvoice = exports.RepeatingInvoice || (exports.RepeatingInvoice = {}));
exports.RepeatingInvoice = RepeatingInvoice;