UNPKG

xero-node

Version:

Xero NodeJS OAuth 2.0 client for xero-node

101 lines (100 loc) 2.66 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 Item = /** @class */ (function () { function Item() { } Item.getAttributeTypeMap = function () { return Item.attributeTypeMap; }; Item.discriminator = undefined; Item.attributeTypeMap = [ { "name": "code", "baseName": "Code", "type": "string" }, { "name": "inventoryAssetAccountCode", "baseName": "InventoryAssetAccountCode", "type": "string" }, { "name": "name", "baseName": "Name", "type": "string" }, { "name": "isSold", "baseName": "IsSold", "type": "boolean" }, { "name": "isPurchased", "baseName": "IsPurchased", "type": "boolean" }, { "name": "description", "baseName": "Description", "type": "string" }, { "name": "purchaseDescription", "baseName": "PurchaseDescription", "type": "string" }, { "name": "purchaseDetails", "baseName": "PurchaseDetails", "type": "Purchase" }, { "name": "salesDetails", "baseName": "SalesDetails", "type": "Purchase" }, { "name": "isTrackedAsInventory", "baseName": "IsTrackedAsInventory", "type": "boolean" }, { "name": "totalCostPool", "baseName": "TotalCostPool", "type": "number" }, { "name": "quantityOnHand", "baseName": "QuantityOnHand", "type": "number" }, { "name": "updatedDateUTC", "baseName": "UpdatedDateUTC", "type": "Date" }, { "name": "itemID", "baseName": "ItemID", "type": "string" }, { "name": "validationErrors", "baseName": "ValidationErrors", "type": "Array<ValidationError>" } ]; return Item; }()); exports.Item = Item;