UNPKG

xero-node

Version:

Xero NodeJS OAuth 2.0 client for xero-node

127 lines (126 loc) 3.82 kB
"use strict"; /** * 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 Prepayment = /** @class */ (function () { function Prepayment() { } Prepayment.getAttributeTypeMap = function () { return Prepayment.attributeTypeMap; }; Prepayment.discriminator = undefined; Prepayment.attributeTypeMap = [ { "name": "type", "baseName": "Type", "type": "Prepayment.TypeEnum" }, { "name": "contact", "baseName": "Contact", "type": "Contact" }, { "name": "date", "baseName": "Date", "type": "string" }, { "name": "status", "baseName": "Status", "type": "Prepayment.StatusEnum" }, { "name": "lineAmountTypes", "baseName": "LineAmountTypes", "type": "LineAmountTypes" }, { "name": "lineItems", "baseName": "LineItems", "type": "Array<LineItem>" }, { "name": "subTotal", "baseName": "SubTotal", "type": "number" }, { "name": "totalTax", "baseName": "TotalTax", "type": "number" }, { "name": "total", "baseName": "Total", "type": "number" }, { "name": "updatedDateUTC", "baseName": "UpdatedDateUTC", "type": "Date" }, { "name": "currencyCode", "baseName": "CurrencyCode", "type": "CurrencyCode" }, { "name": "prepaymentID", "baseName": "PrepaymentID", "type": "string" }, { "name": "currencyRate", "baseName": "CurrencyRate", "type": "number" }, { "name": "remainingCredit", "baseName": "RemainingCredit", "type": "number" }, { "name": "allocations", "baseName": "Allocations", "type": "Array<Allocation>" }, { "name": "hasAttachments", "baseName": "HasAttachments", "type": "boolean" }, { "name": "attachments", "baseName": "Attachments", "type": "Array<Attachment>" } ]; return Prepayment; }()); exports.Prepayment = Prepayment; (function (Prepayment) { var TypeEnum; (function (TypeEnum) { TypeEnum[TypeEnum["RECEIVEPREPAYMENT"] = 'RECEIVE-PREPAYMENT'] = "RECEIVEPREPAYMENT"; TypeEnum[TypeEnum["SPENDPREPAYMENT"] = 'SPEND-PREPAYMENT'] = "SPENDPREPAYMENT"; TypeEnum[TypeEnum["ARPREPAYMENT"] = 'ARPREPAYMENT'] = "ARPREPAYMENT"; TypeEnum[TypeEnum["APPREPAYMENT"] = 'APPREPAYMENT'] = "APPREPAYMENT"; })(TypeEnum = Prepayment.TypeEnum || (Prepayment.TypeEnum = {})); var StatusEnum; (function (StatusEnum) { StatusEnum[StatusEnum["AUTHORISED"] = 'AUTHORISED'] = "AUTHORISED"; StatusEnum[StatusEnum["PAID"] = 'PAID'] = "PAID"; StatusEnum[StatusEnum["VOIDED"] = 'VOIDED'] = "VOIDED"; })(StatusEnum = Prepayment.StatusEnum || (Prepayment.StatusEnum = {})); })(Prepayment = exports.Prepayment || (exports.Prepayment = {})); exports.Prepayment = Prepayment;