xero-node 9.3.0-alpha.1 → 9.3.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1678) hide show
  1. package/dist/XeroClient.d.ts +81 -0
  2. package/dist/XeroClient.js +269 -0
  3. package/dist/XeroClient.js.map +1 -0
  4. package/dist/gen/api/accountingApi.d.ts +3803 -0
  5. package/dist/gen/api/accountingApi.js +19070 -0
  6. package/dist/gen/api/accountingApi.js.map +1 -0
  7. package/dist/gen/api/apis.d.ts +21 -0
  8. package/dist/gen/api/apis.js +39 -0
  9. package/dist/gen/api/apis.js.map +1 -0
  10. package/dist/gen/api/appStoreApi.d.ts +97 -0
  11. package/dist/gen/api/appStoreApi.js +375 -0
  12. package/dist/gen/api/appStoreApi.js.map +1 -0
  13. package/dist/gen/api/assetApi.d.ts +127 -0
  14. package/dist/gen/api/assetApi.js +523 -0
  15. package/dist/gen/api/assetApi.js.map +1 -0
  16. package/dist/gen/api/bankfeedsApi.d.ts +142 -0
  17. package/dist/gen/api/bankfeedsApi.js +596 -0
  18. package/dist/gen/api/bankfeedsApi.js.map +1 -0
  19. package/dist/gen/api/filesApi.d.ts +316 -0
  20. package/dist/gen/api/filesApi.js +1476 -0
  21. package/dist/gen/api/filesApi.js.map +1 -0
  22. package/dist/gen/api/financeApi.d.ts +226 -0
  23. package/dist/gen/api/financeApi.js +987 -0
  24. package/dist/gen/api/financeApi.js.map +1 -0
  25. package/dist/gen/api/payrollAUApi.d.ts +546 -0
  26. package/dist/gen/api/payrollAUApi.js +2496 -0
  27. package/dist/gen/api/payrollAUApi.js.map +1 -0
  28. package/dist/gen/api/payrollNZApi.d.ts +1175 -0
  29. package/dist/gen/api/payrollNZApi.js +5493 -0
  30. package/dist/gen/api/payrollNZApi.js.map +1 -0
  31. package/dist/gen/api/payrollUKApi.d.ts +1140 -0
  32. package/dist/gen/api/payrollUKApi.js +5328 -0
  33. package/dist/gen/api/payrollUKApi.js.map +1 -0
  34. package/dist/gen/api/projectApi.d.ts +307 -0
  35. package/dist/gen/api/projectApi.js +1376 -0
  36. package/dist/gen/api/projectApi.js.map +1 -0
  37. package/dist/gen/api.d.ts +3 -0
  38. package/dist/gen/api.js +21 -0
  39. package/dist/gen/api.js.map +1 -0
  40. package/dist/gen/model/accounting/account.d.ts +134 -0
  41. package/dist/gen/model/accounting/account.js +161 -0
  42. package/dist/gen/model/accounting/account.js.map +1 -0
  43. package/dist/gen/model/accounting/accountType.d.ts +23 -0
  44. package/dist/gen/model/accounting/accountType.js +28 -0
  45. package/dist/gen/model/accounting/accountType.js.map +1 -0
  46. package/dist/gen/model/accounting/accounts.d.ts +15 -0
  47. package/dist/gen/model/accounting/accounts.js +18 -0
  48. package/dist/gen/model/accounting/accounts.js.map +1 -0
  49. package/dist/gen/model/accounting/accountsPayable.d.ts +15 -0
  50. package/dist/gen/model/accounting/accountsPayable.js +23 -0
  51. package/dist/gen/model/accounting/accountsPayable.js.map +1 -0
  52. package/dist/gen/model/accounting/accountsReceivable.d.ts +15 -0
  53. package/dist/gen/model/accounting/accountsReceivable.js +23 -0
  54. package/dist/gen/model/accounting/accountsReceivable.js.map +1 -0
  55. package/dist/gen/model/accounting/action.d.ts +27 -0
  56. package/dist/gen/model/accounting/action.js +30 -0
  57. package/dist/gen/model/accounting/action.js.map +1 -0
  58. package/dist/gen/model/accounting/actions.d.ts +15 -0
  59. package/dist/gen/model/accounting/actions.js +18 -0
  60. package/dist/gen/model/accounting/actions.js.map +1 -0
  61. package/dist/gen/model/accounting/address.d.ts +59 -0
  62. package/dist/gen/model/accounting/address.js +70 -0
  63. package/dist/gen/model/accounting/address.js.map +1 -0
  64. package/dist/gen/model/accounting/addressForOrganisation.d.ts +60 -0
  65. package/dist/gen/model/accounting/addressForOrganisation.js +71 -0
  66. package/dist/gen/model/accounting/addressForOrganisation.js.map +1 -0
  67. package/dist/gen/model/accounting/allocation.d.ts +46 -0
  68. package/dist/gen/model/accounting/allocation.js +63 -0
  69. package/dist/gen/model/accounting/allocation.js.map +1 -0
  70. package/dist/gen/model/accounting/allocations.d.ts +15 -0
  71. package/dist/gen/model/accounting/allocations.js +18 -0
  72. package/dist/gen/model/accounting/allocations.js.map +1 -0
  73. package/dist/gen/model/accounting/attachment.d.ts +37 -0
  74. package/dist/gen/model/accounting/attachment.js +43 -0
  75. package/dist/gen/model/accounting/attachment.js.map +1 -0
  76. package/dist/gen/model/accounting/attachments.d.ts +15 -0
  77. package/dist/gen/model/accounting/attachments.js +18 -0
  78. package/dist/gen/model/accounting/attachments.js.map +1 -0
  79. package/dist/gen/model/accounting/balanceDetails.d.ts +28 -0
  80. package/dist/gen/model/accounting/balanceDetails.js +31 -0
  81. package/dist/gen/model/accounting/balanceDetails.js.map +1 -0
  82. package/dist/gen/model/accounting/balances.d.ts +20 -0
  83. package/dist/gen/model/accounting/balances.js +26 -0
  84. package/dist/gen/model/accounting/balances.js.map +1 -0
  85. package/dist/gen/model/accounting/bankTransaction.d.ts +112 -0
  86. package/dist/gen/model/accounting/bankTransaction.js +142 -0
  87. package/dist/gen/model/accounting/bankTransaction.js.map +1 -0
  88. package/dist/gen/model/accounting/bankTransactions.d.ts +22 -0
  89. package/dist/gen/model/accounting/bankTransactions.js +28 -0
  90. package/dist/gen/model/accounting/bankTransactions.js.map +1 -0
  91. package/dist/gen/model/accounting/bankTransfer.d.ts +65 -0
  92. package/dist/gen/model/accounting/bankTransfer.js +83 -0
  93. package/dist/gen/model/accounting/bankTransfer.js.map +1 -0
  94. package/dist/gen/model/accounting/bankTransfers.d.ts +15 -0
  95. package/dist/gen/model/accounting/bankTransfers.js +18 -0
  96. package/dist/gen/model/accounting/bankTransfers.js.map +1 -0
  97. package/dist/gen/model/accounting/batchPayment.d.ts +91 -0
  98. package/dist/gen/model/accounting/batchPayment.js +110 -0
  99. package/dist/gen/model/accounting/batchPayment.js.map +1 -0
  100. package/dist/gen/model/accounting/batchPaymentDelete.d.ts +21 -0
  101. package/dist/gen/model/accounting/batchPaymentDelete.js +23 -0
  102. package/dist/gen/model/accounting/batchPaymentDelete.js.map +1 -0
  103. package/dist/gen/model/accounting/batchPaymentDeleteByUrlParam.d.ts +17 -0
  104. package/dist/gen/model/accounting/batchPaymentDeleteByUrlParam.js +18 -0
  105. package/dist/gen/model/accounting/batchPaymentDeleteByUrlParam.js.map +1 -0
  106. package/dist/gen/model/accounting/batchPaymentDetails.d.ts +36 -0
  107. package/dist/gen/model/accounting/batchPaymentDetails.js +41 -0
  108. package/dist/gen/model/accounting/batchPaymentDetails.js.map +1 -0
  109. package/dist/gen/model/accounting/batchPayments.d.ts +15 -0
  110. package/dist/gen/model/accounting/batchPayments.js +18 -0
  111. package/dist/gen/model/accounting/batchPayments.js.map +1 -0
  112. package/dist/gen/model/accounting/bill.d.ts +19 -0
  113. package/dist/gen/model/accounting/bill.js +23 -0
  114. package/dist/gen/model/accounting/bill.js.map +1 -0
  115. package/dist/gen/model/accounting/brandingTheme.d.ts +42 -0
  116. package/dist/gen/model/accounting/brandingTheme.js +49 -0
  117. package/dist/gen/model/accounting/brandingTheme.js.map +1 -0
  118. package/dist/gen/model/accounting/brandingThemes.d.ts +15 -0
  119. package/dist/gen/model/accounting/brandingThemes.js +18 -0
  120. package/dist/gen/model/accounting/brandingThemes.js.map +1 -0
  121. package/dist/gen/model/accounting/budget.d.ts +39 -0
  122. package/dist/gen/model/accounting/budget.js +50 -0
  123. package/dist/gen/model/accounting/budget.js.map +1 -0
  124. package/dist/gen/model/accounting/budgetBalance.d.ts +29 -0
  125. package/dist/gen/model/accounting/budgetBalance.js +33 -0
  126. package/dist/gen/model/accounting/budgetBalance.js.map +1 -0
  127. package/dist/gen/model/accounting/budgetLine.d.ts +23 -0
  128. package/dist/gen/model/accounting/budgetLine.js +28 -0
  129. package/dist/gen/model/accounting/budgetLine.js.map +1 -0
  130. package/dist/gen/model/accounting/budgets.d.ts +15 -0
  131. package/dist/gen/model/accounting/budgets.js +18 -0
  132. package/dist/gen/model/accounting/budgets.js.map +1 -0
  133. package/dist/gen/model/accounting/cISOrgSetting.d.ts +25 -0
  134. package/dist/gen/model/accounting/cISOrgSetting.js +28 -0
  135. package/dist/gen/model/accounting/cISOrgSetting.js.map +1 -0
  136. package/dist/gen/model/accounting/cISOrgSettings.d.ts +15 -0
  137. package/dist/gen/model/accounting/cISOrgSettings.js +18 -0
  138. package/dist/gen/model/accounting/cISOrgSettings.js.map +1 -0
  139. package/dist/gen/model/accounting/cISSetting.d.ts +21 -0
  140. package/dist/gen/model/accounting/cISSetting.js +23 -0
  141. package/dist/gen/model/accounting/cISSetting.js.map +1 -0
  142. package/dist/gen/model/accounting/cISSettings.d.ts +15 -0
  143. package/dist/gen/model/accounting/cISSettings.js +18 -0
  144. package/dist/gen/model/accounting/cISSettings.js.map +1 -0
  145. package/dist/gen/model/accounting/contact.d.ts +195 -0
  146. package/dist/gen/model/accounting/contact.js +243 -0
  147. package/dist/gen/model/accounting/contact.js.map +1 -0
  148. package/dist/gen/model/accounting/contactGroup.d.ts +36 -0
  149. package/dist/gen/model/accounting/contactGroup.js +40 -0
  150. package/dist/gen/model/accounting/contactGroup.js.map +1 -0
  151. package/dist/gen/model/accounting/contactGroups.d.ts +15 -0
  152. package/dist/gen/model/accounting/contactGroups.js +18 -0
  153. package/dist/gen/model/accounting/contactGroups.js.map +1 -0
  154. package/dist/gen/model/accounting/contactPerson.d.ts +29 -0
  155. package/dist/gen/model/accounting/contactPerson.js +33 -0
  156. package/dist/gen/model/accounting/contactPerson.js.map +1 -0
  157. package/dist/gen/model/accounting/contacts.d.ts +22 -0
  158. package/dist/gen/model/accounting/contacts.js +28 -0
  159. package/dist/gen/model/accounting/contacts.js.map +1 -0
  160. package/dist/gen/model/accounting/conversionBalances.d.ts +26 -0
  161. package/dist/gen/model/accounting/conversionBalances.js +31 -0
  162. package/dist/gen/model/accounting/conversionBalances.js.map +1 -0
  163. package/dist/gen/model/accounting/conversionDate.d.ts +24 -0
  164. package/dist/gen/model/accounting/conversionDate.js +26 -0
  165. package/dist/gen/model/accounting/conversionDate.js.map +1 -0
  166. package/dist/gen/model/accounting/countryCode.d.ts +242 -0
  167. package/dist/gen/model/accounting/countryCode.js +247 -0
  168. package/dist/gen/model/accounting/countryCode.js.map +1 -0
  169. package/dist/gen/model/accounting/creditNote.d.ts +150 -0
  170. package/dist/gen/model/accounting/creditNote.js +184 -0
  171. package/dist/gen/model/accounting/creditNote.js.map +1 -0
  172. package/dist/gen/model/accounting/creditNotes.d.ts +22 -0
  173. package/dist/gen/model/accounting/creditNotes.js +28 -0
  174. package/dist/gen/model/accounting/creditNotes.js.map +1 -0
  175. package/dist/gen/model/accounting/currencies.d.ts +15 -0
  176. package/dist/gen/model/accounting/currencies.js +18 -0
  177. package/dist/gen/model/accounting/currencies.js.map +1 -0
  178. package/dist/gen/model/accounting/currency.d.ts +19 -0
  179. package/dist/gen/model/accounting/currency.js +23 -0
  180. package/dist/gen/model/accounting/currency.js.map +1 -0
  181. package/dist/gen/model/accounting/currencyCode.d.ts +173 -0
  182. package/dist/gen/model/accounting/currencyCode.js +178 -0
  183. package/dist/gen/model/accounting/currencyCode.js.map +1 -0
  184. package/dist/gen/model/accounting/element.d.ts +28 -0
  185. package/dist/gen/model/accounting/element.js +53 -0
  186. package/dist/gen/model/accounting/element.js.map +1 -0
  187. package/dist/gen/model/accounting/employee.d.ts +49 -0
  188. package/dist/gen/model/accounting/employee.js +62 -0
  189. package/dist/gen/model/accounting/employee.js.map +1 -0
  190. package/dist/gen/model/accounting/employees.d.ts +15 -0
  191. package/dist/gen/model/accounting/employees.js +18 -0
  192. package/dist/gen/model/accounting/employees.js.map +1 -0
  193. package/dist/gen/model/accounting/expenseClaim.d.ts +67 -0
  194. package/dist/gen/model/accounting/expenseClaim.js +83 -0
  195. package/dist/gen/model/accounting/expenseClaim.js.map +1 -0
  196. package/dist/gen/model/accounting/expenseClaims.d.ts +15 -0
  197. package/dist/gen/model/accounting/expenseClaims.js +18 -0
  198. package/dist/gen/model/accounting/expenseClaims.js.map +1 -0
  199. package/dist/gen/model/accounting/externalLink.d.ts +31 -0
  200. package/dist/gen/model/accounting/externalLink.js +38 -0
  201. package/dist/gen/model/accounting/externalLink.js.map +1 -0
  202. package/dist/gen/model/accounting/historyRecord.d.ts +29 -0
  203. package/dist/gen/model/accounting/historyRecord.js +33 -0
  204. package/dist/gen/model/accounting/historyRecord.js.map +1 -0
  205. package/dist/gen/model/accounting/historyRecords.d.ts +15 -0
  206. package/dist/gen/model/accounting/historyRecords.js +18 -0
  207. package/dist/gen/model/accounting/historyRecords.js.map +1 -0
  208. package/dist/gen/model/accounting/importSummary.d.ts +20 -0
  209. package/dist/gen/model/accounting/importSummary.js +26 -0
  210. package/dist/gen/model/accounting/importSummary.js.map +1 -0
  211. package/dist/gen/model/accounting/importSummaryAccounts.d.ts +49 -0
  212. package/dist/gen/model/accounting/importSummaryAccounts.js +61 -0
  213. package/dist/gen/model/accounting/importSummaryAccounts.js.map +1 -0
  214. package/dist/gen/model/accounting/importSummaryObject.d.ts +15 -0
  215. package/dist/gen/model/accounting/importSummaryObject.js +18 -0
  216. package/dist/gen/model/accounting/importSummaryObject.js.map +1 -0
  217. package/dist/gen/model/accounting/importSummaryOrganisation.d.ts +14 -0
  218. package/dist/gen/model/accounting/importSummaryOrganisation.js +18 -0
  219. package/dist/gen/model/accounting/importSummaryOrganisation.js.map +1 -0
  220. package/dist/gen/model/accounting/invoice.d.ts +199 -0
  221. package/dist/gen/model/accounting/invoice.js +240 -0
  222. package/dist/gen/model/accounting/invoice.js.map +1 -0
  223. package/dist/gen/model/accounting/invoiceAddress.d.ts +55 -0
  224. package/dist/gen/model/accounting/invoiceAddress.js +65 -0
  225. package/dist/gen/model/accounting/invoiceAddress.js.map +1 -0
  226. package/dist/gen/model/accounting/invoiceReminder.d.ts +17 -0
  227. package/dist/gen/model/accounting/invoiceReminder.js +18 -0
  228. package/dist/gen/model/accounting/invoiceReminder.js.map +1 -0
  229. package/dist/gen/model/accounting/invoiceReminders.d.ts +15 -0
  230. package/dist/gen/model/accounting/invoiceReminders.js +18 -0
  231. package/dist/gen/model/accounting/invoiceReminders.js.map +1 -0
  232. package/dist/gen/model/accounting/invoices.d.ts +22 -0
  233. package/dist/gen/model/accounting/invoices.js +28 -0
  234. package/dist/gen/model/accounting/invoices.js.map +1 -0
  235. package/dist/gen/model/accounting/item.d.ts +73 -0
  236. package/dist/gen/model/accounting/item.js +93 -0
  237. package/dist/gen/model/accounting/item.js.map +1 -0
  238. package/dist/gen/model/accounting/items.d.ts +15 -0
  239. package/dist/gen/model/accounting/items.js +18 -0
  240. package/dist/gen/model/accounting/items.js.map +1 -0
  241. package/dist/gen/model/accounting/journal.d.ts +75 -0
  242. package/dist/gen/model/accounting/journal.js +83 -0
  243. package/dist/gen/model/accounting/journal.js.map +1 -0
  244. package/dist/gen/model/accounting/journalLine.d.ts +60 -0
  245. package/dist/gen/model/accounting/journalLine.js +73 -0
  246. package/dist/gen/model/accounting/journalLine.js.map +1 -0
  247. package/dist/gen/model/accounting/journals.d.ts +20 -0
  248. package/dist/gen/model/accounting/journals.js +23 -0
  249. package/dist/gen/model/accounting/journals.js.map +1 -0
  250. package/dist/gen/model/accounting/lineAmountTypes.d.ts +8 -0
  251. package/dist/gen/model/accounting/lineAmountTypes.js +13 -0
  252. package/dist/gen/model/accounting/lineAmountTypes.js.map +1 -0
  253. package/dist/gen/model/accounting/lineItem.d.ts +94 -0
  254. package/dist/gen/model/accounting/lineItem.js +113 -0
  255. package/dist/gen/model/accounting/lineItem.js.map +1 -0
  256. package/dist/gen/model/accounting/lineItemItem.d.ts +25 -0
  257. package/dist/gen/model/accounting/lineItemItem.js +28 -0
  258. package/dist/gen/model/accounting/lineItemItem.js.map +1 -0
  259. package/dist/gen/model/accounting/lineItemTracking.d.ts +29 -0
  260. package/dist/gen/model/accounting/lineItemTracking.js +33 -0
  261. package/dist/gen/model/accounting/lineItemTracking.js.map +1 -0
  262. package/dist/gen/model/accounting/linkedTransaction.d.ts +74 -0
  263. package/dist/gen/model/accounting/linkedTransaction.js +87 -0
  264. package/dist/gen/model/accounting/linkedTransaction.js.map +1 -0
  265. package/dist/gen/model/accounting/linkedTransactions.d.ts +15 -0
  266. package/dist/gen/model/accounting/linkedTransactions.js +18 -0
  267. package/dist/gen/model/accounting/linkedTransactions.js.map +1 -0
  268. package/dist/gen/model/accounting/manualJournal.d.ts +79 -0
  269. package/dist/gen/model/accounting/manualJournal.js +93 -0
  270. package/dist/gen/model/accounting/manualJournal.js.map +1 -0
  271. package/dist/gen/model/accounting/manualJournalLine.d.ts +46 -0
  272. package/dist/gen/model/accounting/manualJournalLine.js +53 -0
  273. package/dist/gen/model/accounting/manualJournalLine.js.map +1 -0
  274. package/dist/gen/model/accounting/manualJournals.d.ts +22 -0
  275. package/dist/gen/model/accounting/manualJournals.js +28 -0
  276. package/dist/gen/model/accounting/manualJournals.js.map +1 -0
  277. package/dist/gen/model/accounting/modelError.d.ts +30 -0
  278. package/dist/gen/model/accounting/modelError.js +33 -0
  279. package/dist/gen/model/accounting/modelError.js.map +1 -0
  280. package/dist/gen/model/accounting/models.d.ts +170 -0
  281. package/dist/gen/model/accounting/models.js +686 -0
  282. package/dist/gen/model/accounting/models.js.map +1 -0
  283. package/dist/gen/model/accounting/onlineInvoice.d.ts +17 -0
  284. package/dist/gen/model/accounting/onlineInvoice.js +18 -0
  285. package/dist/gen/model/accounting/onlineInvoice.js.map +1 -0
  286. package/dist/gen/model/accounting/onlineInvoices.d.ts +15 -0
  287. package/dist/gen/model/accounting/onlineInvoices.js +18 -0
  288. package/dist/gen/model/accounting/onlineInvoices.js.map +1 -0
  289. package/dist/gen/model/accounting/organisation.d.ts +237 -0
  290. package/dist/gen/model/accounting/organisation.js +282 -0
  291. package/dist/gen/model/accounting/organisation.js.map +1 -0
  292. package/dist/gen/model/accounting/organisations.d.ts +15 -0
  293. package/dist/gen/model/accounting/organisations.js +18 -0
  294. package/dist/gen/model/accounting/organisations.js.map +1 -0
  295. package/dist/gen/model/accounting/overpayment.d.ts +99 -0
  296. package/dist/gen/model/accounting/overpayment.js +122 -0
  297. package/dist/gen/model/accounting/overpayment.js.map +1 -0
  298. package/dist/gen/model/accounting/overpayments.d.ts +22 -0
  299. package/dist/gen/model/accounting/overpayments.js +28 -0
  300. package/dist/gen/model/accounting/overpayments.js.map +1 -0
  301. package/dist/gen/model/accounting/pagination.d.ts +17 -0
  302. package/dist/gen/model/accounting/pagination.js +33 -0
  303. package/dist/gen/model/accounting/pagination.js.map +1 -0
  304. package/dist/gen/model/accounting/payment.d.ts +130 -0
  305. package/dist/gen/model/accounting/payment.js +171 -0
  306. package/dist/gen/model/accounting/payment.js.map +1 -0
  307. package/dist/gen/model/accounting/paymentDelete.d.ts +17 -0
  308. package/dist/gen/model/accounting/paymentDelete.js +18 -0
  309. package/dist/gen/model/accounting/paymentDelete.js.map +1 -0
  310. package/dist/gen/model/accounting/paymentService.d.ts +38 -0
  311. package/dist/gen/model/accounting/paymentService.js +43 -0
  312. package/dist/gen/model/accounting/paymentService.js.map +1 -0
  313. package/dist/gen/model/accounting/paymentServices.d.ts +15 -0
  314. package/dist/gen/model/accounting/paymentServices.js +18 -0
  315. package/dist/gen/model/accounting/paymentServices.js.map +1 -0
  316. package/dist/gen/model/accounting/paymentTerm.d.ts +16 -0
  317. package/dist/gen/model/accounting/paymentTerm.js +23 -0
  318. package/dist/gen/model/accounting/paymentTerm.js.map +1 -0
  319. package/dist/gen/model/accounting/paymentTermType.d.ts +6 -0
  320. package/dist/gen/model/accounting/paymentTermType.js +11 -0
  321. package/dist/gen/model/accounting/paymentTermType.js.map +1 -0
  322. package/dist/gen/model/accounting/payments.d.ts +22 -0
  323. package/dist/gen/model/accounting/payments.js +28 -0
  324. package/dist/gen/model/accounting/payments.js.map +1 -0
  325. package/dist/gen/model/accounting/phone.d.ts +35 -0
  326. package/dist/gen/model/accounting/phone.js +43 -0
  327. package/dist/gen/model/accounting/phone.js.map +1 -0
  328. package/dist/gen/model/accounting/prepayment.d.ts +104 -0
  329. package/dist/gen/model/accounting/prepayment.js +128 -0
  330. package/dist/gen/model/accounting/prepayment.js.map +1 -0
  331. package/dist/gen/model/accounting/prepayments.d.ts +22 -0
  332. package/dist/gen/model/accounting/prepayments.js +28 -0
  333. package/dist/gen/model/accounting/prepayments.js.map +1 -0
  334. package/dist/gen/model/accounting/purchase.d.ts +29 -0
  335. package/dist/gen/model/accounting/purchase.js +33 -0
  336. package/dist/gen/model/accounting/purchase.js.map +1 -0
  337. package/dist/gen/model/accounting/purchaseOrder.d.ts +131 -0
  338. package/dist/gen/model/accounting/purchaseOrder.js +163 -0
  339. package/dist/gen/model/accounting/purchaseOrder.js.map +1 -0
  340. package/dist/gen/model/accounting/purchaseOrders.d.ts +22 -0
  341. package/dist/gen/model/accounting/purchaseOrders.js +28 -0
  342. package/dist/gen/model/accounting/purchaseOrders.js.map +1 -0
  343. package/dist/gen/model/accounting/quote.d.ts +103 -0
  344. package/dist/gen/model/accounting/quote.js +133 -0
  345. package/dist/gen/model/accounting/quote.js.map +1 -0
  346. package/dist/gen/model/accounting/quoteLineAmountTypes.d.ts +8 -0
  347. package/dist/gen/model/accounting/quoteLineAmountTypes.js +13 -0
  348. package/dist/gen/model/accounting/quoteLineAmountTypes.js.map +1 -0
  349. package/dist/gen/model/accounting/quoteStatusCodes.d.ts +11 -0
  350. package/dist/gen/model/accounting/quoteStatusCodes.js +16 -0
  351. package/dist/gen/model/accounting/quoteStatusCodes.js.map +1 -0
  352. package/dist/gen/model/accounting/quotes.d.ts +15 -0
  353. package/dist/gen/model/accounting/quotes.js +18 -0
  354. package/dist/gen/model/accounting/quotes.js.map +1 -0
  355. package/dist/gen/model/accounting/receipt.d.ts +88 -0
  356. package/dist/gen/model/accounting/receipt.js +113 -0
  357. package/dist/gen/model/accounting/receipt.js.map +1 -0
  358. package/dist/gen/model/accounting/receipts.d.ts +15 -0
  359. package/dist/gen/model/accounting/receipts.js +18 -0
  360. package/dist/gen/model/accounting/receipts.js.map +1 -0
  361. package/dist/gen/model/accounting/repeatingInvoice.d.ts +98 -0
  362. package/dist/gen/model/accounting/repeatingInvoice.js +126 -0
  363. package/dist/gen/model/accounting/repeatingInvoice.js.map +1 -0
  364. package/dist/gen/model/accounting/repeatingInvoices.d.ts +15 -0
  365. package/dist/gen/model/accounting/repeatingInvoices.js +18 -0
  366. package/dist/gen/model/accounting/repeatingInvoices.js.map +1 -0
  367. package/dist/gen/model/accounting/report.d.ts +40 -0
  368. package/dist/gen/model/accounting/report.js +49 -0
  369. package/dist/gen/model/accounting/report.js.map +1 -0
  370. package/dist/gen/model/accounting/reportAttribute.d.ts +15 -0
  371. package/dist/gen/model/accounting/reportAttribute.js +23 -0
  372. package/dist/gen/model/accounting/reportAttribute.js.map +1 -0
  373. package/dist/gen/model/accounting/reportCell.d.ts +16 -0
  374. package/dist/gen/model/accounting/reportCell.js +23 -0
  375. package/dist/gen/model/accounting/reportCell.js.map +1 -0
  376. package/dist/gen/model/accounting/reportFields.d.ts +16 -0
  377. package/dist/gen/model/accounting/reportFields.js +28 -0
  378. package/dist/gen/model/accounting/reportFields.js.map +1 -0
  379. package/dist/gen/model/accounting/reportRow.d.ts +18 -0
  380. package/dist/gen/model/accounting/reportRow.js +28 -0
  381. package/dist/gen/model/accounting/reportRow.js.map +1 -0
  382. package/dist/gen/model/accounting/reportRows.d.ts +20 -0
  383. package/dist/gen/model/accounting/reportRows.js +33 -0
  384. package/dist/gen/model/accounting/reportRows.js.map +1 -0
  385. package/dist/gen/model/accounting/reportWithRow.d.ts +45 -0
  386. package/dist/gen/model/accounting/reportWithRow.js +58 -0
  387. package/dist/gen/model/accounting/reportWithRow.js.map +1 -0
  388. package/dist/gen/model/accounting/reportWithRows.d.ts +15 -0
  389. package/dist/gen/model/accounting/reportWithRows.js +18 -0
  390. package/dist/gen/model/accounting/reportWithRows.js.map +1 -0
  391. package/dist/gen/model/accounting/reports.d.ts +15 -0
  392. package/dist/gen/model/accounting/reports.js +18 -0
  393. package/dist/gen/model/accounting/reports.js.map +1 -0
  394. package/dist/gen/model/accounting/requestEmpty.d.ts +17 -0
  395. package/dist/gen/model/accounting/requestEmpty.js +18 -0
  396. package/dist/gen/model/accounting/requestEmpty.js.map +1 -0
  397. package/dist/gen/model/accounting/rowType.d.ts +6 -0
  398. package/dist/gen/model/accounting/rowType.js +11 -0
  399. package/dist/gen/model/accounting/rowType.js.map +1 -0
  400. package/dist/gen/model/accounting/salesTrackingCategory.d.ts +21 -0
  401. package/dist/gen/model/accounting/salesTrackingCategory.js +23 -0
  402. package/dist/gen/model/accounting/salesTrackingCategory.js.map +1 -0
  403. package/dist/gen/model/accounting/schedule.d.ts +55 -0
  404. package/dist/gen/model/accounting/schedule.js +64 -0
  405. package/dist/gen/model/accounting/schedule.js.map +1 -0
  406. package/dist/gen/model/accounting/setup.d.ts +22 -0
  407. package/dist/gen/model/accounting/setup.js +28 -0
  408. package/dist/gen/model/accounting/setup.js.map +1 -0
  409. package/dist/gen/model/accounting/taxBreakdownComponent.d.ts +62 -0
  410. package/dist/gen/model/accounting/taxBreakdownComponent.js +73 -0
  411. package/dist/gen/model/accounting/taxBreakdownComponent.js.map +1 -0
  412. package/dist/gen/model/accounting/taxComponent.d.ts +29 -0
  413. package/dist/gen/model/accounting/taxComponent.js +33 -0
  414. package/dist/gen/model/accounting/taxComponent.js.map +1 -0
  415. package/dist/gen/model/accounting/taxRate.d.ts +171 -0
  416. package/dist/gen/model/accounting/taxRate.js +184 -0
  417. package/dist/gen/model/accounting/taxRate.js.map +1 -0
  418. package/dist/gen/model/accounting/taxRates.d.ts +15 -0
  419. package/dist/gen/model/accounting/taxRates.js +18 -0
  420. package/dist/gen/model/accounting/taxRates.js.map +1 -0
  421. package/dist/gen/model/accounting/taxType.d.ts +128 -0
  422. package/dist/gen/model/accounting/taxType.js +133 -0
  423. package/dist/gen/model/accounting/taxType.js.map +1 -0
  424. package/dist/gen/model/accounting/tenNinetyNineContact.d.ts +124 -0
  425. package/dist/gen/model/accounting/tenNinetyNineContact.js +150 -0
  426. package/dist/gen/model/accounting/tenNinetyNineContact.js.map +1 -0
  427. package/dist/gen/model/accounting/timeZone.d.ts +146 -0
  428. package/dist/gen/model/accounting/timeZone.js +151 -0
  429. package/dist/gen/model/accounting/timeZone.js.map +1 -0
  430. package/dist/gen/model/accounting/trackingCategories.d.ts +15 -0
  431. package/dist/gen/model/accounting/trackingCategories.js +18 -0
  432. package/dist/gen/model/accounting/trackingCategories.js.map +1 -0
  433. package/dist/gen/model/accounting/trackingCategory.d.ts +45 -0
  434. package/dist/gen/model/accounting/trackingCategory.js +51 -0
  435. package/dist/gen/model/accounting/trackingCategory.js.map +1 -0
  436. package/dist/gen/model/accounting/trackingOption.d.ts +36 -0
  437. package/dist/gen/model/accounting/trackingOption.js +41 -0
  438. package/dist/gen/model/accounting/trackingOption.js.map +1 -0
  439. package/dist/gen/model/accounting/trackingOptions.d.ts +15 -0
  440. package/dist/gen/model/accounting/trackingOptions.js +18 -0
  441. package/dist/gen/model/accounting/trackingOptions.js.map +1 -0
  442. package/dist/gen/model/accounting/user.d.ts +52 -0
  443. package/dist/gen/model/accounting/user.js +60 -0
  444. package/dist/gen/model/accounting/user.js.map +1 -0
  445. package/dist/gen/model/accounting/users.d.ts +15 -0
  446. package/dist/gen/model/accounting/users.js +18 -0
  447. package/dist/gen/model/accounting/users.js.map +1 -0
  448. package/dist/gen/model/accounting/validationError.d.ts +17 -0
  449. package/dist/gen/model/accounting/validationError.js +18 -0
  450. package/dist/gen/model/accounting/validationError.js.map +1 -0
  451. package/dist/gen/model/appstore/createUsageRecord.d.ts +24 -0
  452. package/dist/gen/model/appstore/createUsageRecord.js +26 -0
  453. package/dist/gen/model/appstore/createUsageRecord.js.map +1 -0
  454. package/dist/gen/model/appstore/models.d.ts +44 -0
  455. package/dist/gen/model/appstore/models.js +253 -0
  456. package/dist/gen/model/appstore/models.js.map +1 -0
  457. package/dist/gen/model/appstore/plan.d.ts +37 -0
  458. package/dist/gen/model/appstore/plan.js +41 -0
  459. package/dist/gen/model/appstore/plan.js.map +1 -0
  460. package/dist/gen/model/appstore/price.d.ts +25 -0
  461. package/dist/gen/model/appstore/price.js +28 -0
  462. package/dist/gen/model/appstore/price.js.map +1 -0
  463. package/dist/gen/model/appstore/problemDetails.d.ts +19 -0
  464. package/dist/gen/model/appstore/problemDetails.js +43 -0
  465. package/dist/gen/model/appstore/problemDetails.js.map +1 -0
  466. package/dist/gen/model/appstore/product.d.ts +40 -0
  467. package/dist/gen/model/appstore/product.js +46 -0
  468. package/dist/gen/model/appstore/product.js.map +1 -0
  469. package/dist/gen/model/appstore/subscription.d.ts +53 -0
  470. package/dist/gen/model/appstore/subscription.js +61 -0
  471. package/dist/gen/model/appstore/subscription.js.map +1 -0
  472. package/dist/gen/model/appstore/subscriptionItem.d.ts +48 -0
  473. package/dist/gen/model/appstore/subscriptionItem.js +61 -0
  474. package/dist/gen/model/appstore/subscriptionItem.js.map +1 -0
  475. package/dist/gen/model/appstore/updateUsageRecord.d.ts +20 -0
  476. package/dist/gen/model/appstore/updateUsageRecord.js +21 -0
  477. package/dist/gen/model/appstore/updateUsageRecord.js.map +1 -0
  478. package/dist/gen/model/appstore/usageRecord.d.ts +45 -0
  479. package/dist/gen/model/appstore/usageRecord.js +53 -0
  480. package/dist/gen/model/appstore/usageRecord.js.map +1 -0
  481. package/dist/gen/model/appstore/usageRecordsList.d.ts +21 -0
  482. package/dist/gen/model/appstore/usageRecordsList.js +21 -0
  483. package/dist/gen/model/appstore/usageRecordsList.js.map +1 -0
  484. package/dist/gen/model/assets/asset.d.ts +71 -0
  485. package/dist/gen/model/assets/asset.js +93 -0
  486. package/dist/gen/model/assets/asset.js.map +1 -0
  487. package/dist/gen/model/assets/assetStatus.d.ts +8 -0
  488. package/dist/gen/model/assets/assetStatus.js +13 -0
  489. package/dist/gen/model/assets/assetStatus.js.map +1 -0
  490. package/dist/gen/model/assets/assetStatusQueryParam.d.ts +8 -0
  491. package/dist/gen/model/assets/assetStatusQueryParam.js +13 -0
  492. package/dist/gen/model/assets/assetStatusQueryParam.js.map +1 -0
  493. package/dist/gen/model/assets/assetType.d.ts +39 -0
  494. package/dist/gen/model/assets/assetType.js +48 -0
  495. package/dist/gen/model/assets/assetType.js.map +1 -0
  496. package/dist/gen/model/assets/assets.d.ts +17 -0
  497. package/dist/gen/model/assets/assets.js +23 -0
  498. package/dist/gen/model/assets/assets.js.map +1 -0
  499. package/dist/gen/model/assets/bookDepreciationDetail.d.ts +41 -0
  500. package/dist/gen/model/assets/bookDepreciationDetail.js +48 -0
  501. package/dist/gen/model/assets/bookDepreciationDetail.js.map +1 -0
  502. package/dist/gen/model/assets/bookDepreciationSetting.d.ts +64 -0
  503. package/dist/gen/model/assets/bookDepreciationSetting.js +75 -0
  504. package/dist/gen/model/assets/bookDepreciationSetting.js.map +1 -0
  505. package/dist/gen/model/assets/fieldValidationErrorsElement.d.ts +37 -0
  506. package/dist/gen/model/assets/fieldValidationErrorsElement.js +43 -0
  507. package/dist/gen/model/assets/fieldValidationErrorsElement.js.map +1 -0
  508. package/dist/gen/model/assets/modelError.d.ts +35 -0
  509. package/dist/gen/model/assets/modelError.js +38 -0
  510. package/dist/gen/model/assets/modelError.js.map +1 -0
  511. package/dist/gen/model/assets/models.d.ts +46 -0
  512. package/dist/gen/model/assets/models.js +258 -0
  513. package/dist/gen/model/assets/models.js.map +1 -0
  514. package/dist/gen/model/assets/pagination.d.ts +17 -0
  515. package/dist/gen/model/assets/pagination.js +33 -0
  516. package/dist/gen/model/assets/pagination.js.map +1 -0
  517. package/dist/gen/model/assets/resourceValidationErrorsElement.d.ts +33 -0
  518. package/dist/gen/model/assets/resourceValidationErrorsElement.js +38 -0
  519. package/dist/gen/model/assets/resourceValidationErrorsElement.js.map +1 -0
  520. package/dist/gen/model/assets/setting.d.ts +45 -0
  521. package/dist/gen/model/assets/setting.js +53 -0
  522. package/dist/gen/model/assets/setting.js.map +1 -0
  523. package/dist/gen/model/bankfeeds/countryCode.d.ts +245 -0
  524. package/dist/gen/model/bankfeeds/countryCode.js +250 -0
  525. package/dist/gen/model/bankfeeds/countryCode.js.map +1 -0
  526. package/dist/gen/model/bankfeeds/creditDebitIndicator.d.ts +7 -0
  527. package/dist/gen/model/bankfeeds/creditDebitIndicator.js +12 -0
  528. package/dist/gen/model/bankfeeds/creditDebitIndicator.js.map +1 -0
  529. package/dist/gen/model/bankfeeds/currencyCode.d.ts +168 -0
  530. package/dist/gen/model/bankfeeds/currencyCode.js +173 -0
  531. package/dist/gen/model/bankfeeds/currencyCode.js.map +1 -0
  532. package/dist/gen/model/bankfeeds/endBalance.d.ts +19 -0
  533. package/dist/gen/model/bankfeeds/endBalance.js +26 -0
  534. package/dist/gen/model/bankfeeds/endBalance.js.map +1 -0
  535. package/dist/gen/model/bankfeeds/feedConnection.d.ts +56 -0
  536. package/dist/gen/model/bankfeeds/feedConnection.js +75 -0
  537. package/dist/gen/model/bankfeeds/feedConnection.js.map +1 -0
  538. package/dist/gen/model/bankfeeds/feedConnections.d.ts +17 -0
  539. package/dist/gen/model/bankfeeds/feedConnections.js +23 -0
  540. package/dist/gen/model/bankfeeds/feedConnections.js.map +1 -0
  541. package/dist/gen/model/bankfeeds/modelError.d.ts +57 -0
  542. package/dist/gen/model/bankfeeds/modelError.js +62 -0
  543. package/dist/gen/model/bankfeeds/modelError.js.map +1 -0
  544. package/dist/gen/model/bankfeeds/models.d.ts +46 -0
  545. package/dist/gen/model/bankfeeds/models.js +259 -0
  546. package/dist/gen/model/bankfeeds/models.js.map +1 -0
  547. package/dist/gen/model/bankfeeds/pagination.d.ts +29 -0
  548. package/dist/gen/model/bankfeeds/pagination.js +33 -0
  549. package/dist/gen/model/bankfeeds/pagination.js.map +1 -0
  550. package/dist/gen/model/bankfeeds/startBalance.d.ts +22 -0
  551. package/dist/gen/model/bankfeeds/startBalance.js +26 -0
  552. package/dist/gen/model/bankfeeds/startBalance.js.map +1 -0
  553. package/dist/gen/model/bankfeeds/statement.d.ts +48 -0
  554. package/dist/gen/model/bankfeeds/statement.js +71 -0
  555. package/dist/gen/model/bankfeeds/statement.js.map +1 -0
  556. package/dist/gen/model/bankfeeds/statementLine.d.ts +50 -0
  557. package/dist/gen/model/bankfeeds/statementLine.js +61 -0
  558. package/dist/gen/model/bankfeeds/statementLine.js.map +1 -0
  559. package/dist/gen/model/bankfeeds/statements.d.ts +17 -0
  560. package/dist/gen/model/bankfeeds/statements.js +23 -0
  561. package/dist/gen/model/bankfeeds/statements.js.map +1 -0
  562. package/dist/gen/model/files/association.d.ts +37 -0
  563. package/dist/gen/model/files/association.js +48 -0
  564. package/dist/gen/model/files/association.js.map +1 -0
  565. package/dist/gen/model/files/fileObject.d.ts +43 -0
  566. package/dist/gen/model/files/fileObject.js +53 -0
  567. package/dist/gen/model/files/fileObject.js.map +1 -0
  568. package/dist/gen/model/files/files.d.ts +18 -0
  569. package/dist/gen/model/files/files.js +33 -0
  570. package/dist/gen/model/files/files.js.map +1 -0
  571. package/dist/gen/model/files/folder.d.ts +33 -0
  572. package/dist/gen/model/files/folder.js +38 -0
  573. package/dist/gen/model/files/folder.js.map +1 -0
  574. package/dist/gen/model/files/folders.d.ts +15 -0
  575. package/dist/gen/model/files/folders.js +18 -0
  576. package/dist/gen/model/files/folders.js.map +1 -0
  577. package/dist/gen/model/files/models.d.ts +43 -0
  578. package/dist/gen/model/files/models.js +246 -0
  579. package/dist/gen/model/files/models.js.map +1 -0
  580. package/dist/gen/model/files/objectGroup.d.ts +17 -0
  581. package/dist/gen/model/files/objectGroup.js +22 -0
  582. package/dist/gen/model/files/objectGroup.js.map +1 -0
  583. package/dist/gen/model/files/objectType.d.ts +61 -0
  584. package/dist/gen/model/files/objectType.js +66 -0
  585. package/dist/gen/model/files/objectType.js.map +1 -0
  586. package/dist/gen/model/files/uploadObject.d.ts +20 -0
  587. package/dist/gen/model/files/uploadObject.js +33 -0
  588. package/dist/gen/model/files/uploadObject.js.map +1 -0
  589. package/dist/gen/model/files/user.d.ts +33 -0
  590. package/dist/gen/model/files/user.js +38 -0
  591. package/dist/gen/model/files/user.js.map +1 -0
  592. package/dist/gen/model/finance/accountUsage.d.ts +65 -0
  593. package/dist/gen/model/finance/accountUsage.js +78 -0
  594. package/dist/gen/model/finance/accountUsage.js.map +1 -0
  595. package/dist/gen/model/finance/accountUsageResponse.d.ts +27 -0
  596. package/dist/gen/model/finance/accountUsageResponse.js +33 -0
  597. package/dist/gen/model/finance/accountUsageResponse.js.map +1 -0
  598. package/dist/gen/model/finance/balanceSheetAccountDetail.d.ts +33 -0
  599. package/dist/gen/model/finance/balanceSheetAccountDetail.js +38 -0
  600. package/dist/gen/model/finance/balanceSheetAccountDetail.js.map +1 -0
  601. package/dist/gen/model/finance/balanceSheetAccountGroup.d.ts +19 -0
  602. package/dist/gen/model/finance/balanceSheetAccountGroup.js +23 -0
  603. package/dist/gen/model/finance/balanceSheetAccountGroup.js.map +1 -0
  604. package/dist/gen/model/finance/balanceSheetAccountType.d.ts +26 -0
  605. package/dist/gen/model/finance/balanceSheetAccountType.js +28 -0
  606. package/dist/gen/model/finance/balanceSheetAccountType.js.map +1 -0
  607. package/dist/gen/model/finance/balanceSheetResponse.d.ts +21 -0
  608. package/dist/gen/model/finance/balanceSheetResponse.js +33 -0
  609. package/dist/gen/model/finance/balanceSheetResponse.js.map +1 -0
  610. package/dist/gen/model/finance/bankStatementAccountingResponse.d.ts +30 -0
  611. package/dist/gen/model/finance/bankStatementAccountingResponse.js +33 -0
  612. package/dist/gen/model/finance/bankStatementAccountingResponse.js.map +1 -0
  613. package/dist/gen/model/finance/bankStatementResponse.d.ts +17 -0
  614. package/dist/gen/model/finance/bankStatementResponse.js +23 -0
  615. package/dist/gen/model/finance/bankStatementResponse.js.map +1 -0
  616. package/dist/gen/model/finance/bankTransactionResponse.d.ts +36 -0
  617. package/dist/gen/model/finance/bankTransactionResponse.js +43 -0
  618. package/dist/gen/model/finance/bankTransactionResponse.js.map +1 -0
  619. package/dist/gen/model/finance/cashAccountResponse.d.ts +33 -0
  620. package/dist/gen/model/finance/cashAccountResponse.js +38 -0
  621. package/dist/gen/model/finance/cashAccountResponse.js.map +1 -0
  622. package/dist/gen/model/finance/cashBalance.d.ts +25 -0
  623. package/dist/gen/model/finance/cashBalance.js +28 -0
  624. package/dist/gen/model/finance/cashBalance.js.map +1 -0
  625. package/dist/gen/model/finance/cashValidationResponse.d.ts +27 -0
  626. package/dist/gen/model/finance/cashValidationResponse.js +38 -0
  627. package/dist/gen/model/finance/cashValidationResponse.js.map +1 -0
  628. package/dist/gen/model/finance/cashflowAccount.d.ts +41 -0
  629. package/dist/gen/model/finance/cashflowAccount.js +48 -0
  630. package/dist/gen/model/finance/cashflowAccount.js.map +1 -0
  631. package/dist/gen/model/finance/cashflowActivity.d.ts +23 -0
  632. package/dist/gen/model/finance/cashflowActivity.js +28 -0
  633. package/dist/gen/model/finance/cashflowActivity.js.map +1 -0
  634. package/dist/gen/model/finance/cashflowResponse.d.ts +28 -0
  635. package/dist/gen/model/finance/cashflowResponse.js +33 -0
  636. package/dist/gen/model/finance/cashflowResponse.js.map +1 -0
  637. package/dist/gen/model/finance/cashflowType.d.ts +26 -0
  638. package/dist/gen/model/finance/cashflowType.js +28 -0
  639. package/dist/gen/model/finance/cashflowType.js.map +1 -0
  640. package/dist/gen/model/finance/contactDetail.d.ts +33 -0
  641. package/dist/gen/model/finance/contactDetail.js +43 -0
  642. package/dist/gen/model/finance/contactDetail.js.map +1 -0
  643. package/dist/gen/model/finance/contactResponse.d.ts +21 -0
  644. package/dist/gen/model/finance/contactResponse.js +23 -0
  645. package/dist/gen/model/finance/contactResponse.js.map +1 -0
  646. package/dist/gen/model/finance/contactTotalDetail.d.ts +25 -0
  647. package/dist/gen/model/finance/contactTotalDetail.js +28 -0
  648. package/dist/gen/model/finance/contactTotalDetail.js.map +1 -0
  649. package/dist/gen/model/finance/contactTotalOther.d.ts +29 -0
  650. package/dist/gen/model/finance/contactTotalOther.js +33 -0
  651. package/dist/gen/model/finance/contactTotalOther.js.map +1 -0
  652. package/dist/gen/model/finance/creditNoteResponse.d.ts +28 -0
  653. package/dist/gen/model/finance/creditNoteResponse.js +33 -0
  654. package/dist/gen/model/finance/creditNoteResponse.js.map +1 -0
  655. package/dist/gen/model/finance/currentStatementResponse.d.ts +37 -0
  656. package/dist/gen/model/finance/currentStatementResponse.js +43 -0
  657. package/dist/gen/model/finance/currentStatementResponse.js.map +1 -0
  658. package/dist/gen/model/finance/dataSourceResponse.d.ts +73 -0
  659. package/dist/gen/model/finance/dataSourceResponse.js +88 -0
  660. package/dist/gen/model/finance/dataSourceResponse.js.map +1 -0
  661. package/dist/gen/model/finance/historyRecordResponse.d.ts +33 -0
  662. package/dist/gen/model/finance/historyRecordResponse.js +38 -0
  663. package/dist/gen/model/finance/historyRecordResponse.js.map +1 -0
  664. package/dist/gen/model/finance/incomeByContactResponse.d.ts +33 -0
  665. package/dist/gen/model/finance/incomeByContactResponse.js +48 -0
  666. package/dist/gen/model/finance/incomeByContactResponse.js.map +1 -0
  667. package/dist/gen/model/finance/invoiceResponse.d.ts +28 -0
  668. package/dist/gen/model/finance/invoiceResponse.js +33 -0
  669. package/dist/gen/model/finance/invoiceResponse.js.map +1 -0
  670. package/dist/gen/model/finance/lineItemResponse.d.ts +29 -0
  671. package/dist/gen/model/finance/lineItemResponse.js +33 -0
  672. package/dist/gen/model/finance/lineItemResponse.js.map +1 -0
  673. package/dist/gen/model/finance/lockHistoryModel.d.ts +25 -0
  674. package/dist/gen/model/finance/lockHistoryModel.js +28 -0
  675. package/dist/gen/model/finance/lockHistoryModel.js.map +1 -0
  676. package/dist/gen/model/finance/lockHistoryResponse.d.ts +23 -0
  677. package/dist/gen/model/finance/lockHistoryResponse.js +28 -0
  678. package/dist/gen/model/finance/lockHistoryResponse.js.map +1 -0
  679. package/dist/gen/model/finance/manualJournalTotal.d.ts +17 -0
  680. package/dist/gen/model/finance/manualJournalTotal.js +18 -0
  681. package/dist/gen/model/finance/manualJournalTotal.js.map +1 -0
  682. package/dist/gen/model/finance/models.d.ts +88 -0
  683. package/dist/gen/model/finance/models.js +381 -0
  684. package/dist/gen/model/finance/models.js.map +1 -0
  685. package/dist/gen/model/finance/overpaymentResponse.d.ts +28 -0
  686. package/dist/gen/model/finance/overpaymentResponse.js +33 -0
  687. package/dist/gen/model/finance/overpaymentResponse.js.map +1 -0
  688. package/dist/gen/model/finance/paymentResponse.d.ts +45 -0
  689. package/dist/gen/model/finance/paymentResponse.js +63 -0
  690. package/dist/gen/model/finance/paymentResponse.js.map +1 -0
  691. package/dist/gen/model/finance/pnlAccount.d.ts +37 -0
  692. package/dist/gen/model/finance/pnlAccount.js +43 -0
  693. package/dist/gen/model/finance/pnlAccount.js.map +1 -0
  694. package/dist/gen/model/finance/pnlAccountClass.d.ts +22 -0
  695. package/dist/gen/model/finance/pnlAccountClass.js +23 -0
  696. package/dist/gen/model/finance/pnlAccountClass.js.map +1 -0
  697. package/dist/gen/model/finance/pnlAccountType.d.ts +26 -0
  698. package/dist/gen/model/finance/pnlAccountType.js +28 -0
  699. package/dist/gen/model/finance/pnlAccountType.js.map +1 -0
  700. package/dist/gen/model/finance/practiceResponse.d.ts +33 -0
  701. package/dist/gen/model/finance/practiceResponse.js +38 -0
  702. package/dist/gen/model/finance/practiceResponse.js.map +1 -0
  703. package/dist/gen/model/finance/prepaymentResponse.d.ts +28 -0
  704. package/dist/gen/model/finance/prepaymentResponse.js +33 -0
  705. package/dist/gen/model/finance/prepaymentResponse.js.map +1 -0
  706. package/dist/gen/model/finance/problem.d.ts +18 -0
  707. package/dist/gen/model/finance/problem.js +33 -0
  708. package/dist/gen/model/finance/problem.js.map +1 -0
  709. package/dist/gen/model/finance/problemType.d.ts +13 -0
  710. package/dist/gen/model/finance/problemType.js +18 -0
  711. package/dist/gen/model/finance/problemType.js.map +1 -0
  712. package/dist/gen/model/finance/profitAndLossResponse.d.ts +28 -0
  713. package/dist/gen/model/finance/profitAndLossResponse.js +38 -0
  714. package/dist/gen/model/finance/profitAndLossResponse.js.map +1 -0
  715. package/dist/gen/model/finance/reportHistoryModel.d.ts +25 -0
  716. package/dist/gen/model/finance/reportHistoryModel.js +28 -0
  717. package/dist/gen/model/finance/reportHistoryModel.js.map +1 -0
  718. package/dist/gen/model/finance/reportHistoryResponse.d.ts +23 -0
  719. package/dist/gen/model/finance/reportHistoryResponse.js +28 -0
  720. package/dist/gen/model/finance/reportHistoryResponse.js.map +1 -0
  721. package/dist/gen/model/finance/statementBalanceResponse.d.ts +21 -0
  722. package/dist/gen/model/finance/statementBalanceResponse.js +23 -0
  723. package/dist/gen/model/finance/statementBalanceResponse.js.map +1 -0
  724. package/dist/gen/model/finance/statementLineResponse.d.ts +71 -0
  725. package/dist/gen/model/finance/statementLineResponse.js +83 -0
  726. package/dist/gen/model/finance/statementLineResponse.js.map +1 -0
  727. package/dist/gen/model/finance/statementLinesResponse.d.ts +79 -0
  728. package/dist/gen/model/finance/statementLinesResponse.js +98 -0
  729. package/dist/gen/model/finance/statementLinesResponse.js.map +1 -0
  730. package/dist/gen/model/finance/statementResponse.d.ts +54 -0
  731. package/dist/gen/model/finance/statementResponse.js +63 -0
  732. package/dist/gen/model/finance/statementResponse.js.map +1 -0
  733. package/dist/gen/model/finance/totalDetail.d.ts +25 -0
  734. package/dist/gen/model/finance/totalDetail.js +28 -0
  735. package/dist/gen/model/finance/totalDetail.js.map +1 -0
  736. package/dist/gen/model/finance/totalOther.d.ts +25 -0
  737. package/dist/gen/model/finance/totalOther.js +28 -0
  738. package/dist/gen/model/finance/totalOther.js.map +1 -0
  739. package/dist/gen/model/finance/trialBalanceAccount.d.ts +49 -0
  740. package/dist/gen/model/finance/trialBalanceAccount.js +63 -0
  741. package/dist/gen/model/finance/trialBalanceAccount.js.map +1 -0
  742. package/dist/gen/model/finance/trialBalanceEntry.d.ts +21 -0
  743. package/dist/gen/model/finance/trialBalanceEntry.js +23 -0
  744. package/dist/gen/model/finance/trialBalanceEntry.js.map +1 -0
  745. package/dist/gen/model/finance/trialBalanceMovement.d.ts +27 -0
  746. package/dist/gen/model/finance/trialBalanceMovement.js +33 -0
  747. package/dist/gen/model/finance/trialBalanceMovement.js.map +1 -0
  748. package/dist/gen/model/finance/trialBalanceResponse.d.ts +26 -0
  749. package/dist/gen/model/finance/trialBalanceResponse.js +28 -0
  750. package/dist/gen/model/finance/trialBalanceResponse.js.map +1 -0
  751. package/dist/gen/model/finance/userActivitiesResponse.d.ts +23 -0
  752. package/dist/gen/model/finance/userActivitiesResponse.js +28 -0
  753. package/dist/gen/model/finance/userActivitiesResponse.js.map +1 -0
  754. package/dist/gen/model/finance/userResponse.d.ts +57 -0
  755. package/dist/gen/model/finance/userResponse.js +73 -0
  756. package/dist/gen/model/finance/userResponse.js.map +1 -0
  757. package/dist/gen/model/payroll-au/aPIException.d.ts +28 -0
  758. package/dist/gen/model/payroll-au/aPIException.js +31 -0
  759. package/dist/gen/model/payroll-au/aPIException.js.map +1 -0
  760. package/dist/gen/model/payroll-au/account.d.ts +27 -0
  761. package/dist/gen/model/payroll-au/account.js +33 -0
  762. package/dist/gen/model/payroll-au/account.js.map +1 -0
  763. package/dist/gen/model/payroll-au/accountType.d.ts +28 -0
  764. package/dist/gen/model/payroll-au/accountType.js +33 -0
  765. package/dist/gen/model/payroll-au/accountType.js.map +1 -0
  766. package/dist/gen/model/payroll-au/allowanceCategory.d.ts +9 -0
  767. package/dist/gen/model/payroll-au/allowanceCategory.js +14 -0
  768. package/dist/gen/model/payroll-au/allowanceCategory.js.map +1 -0
  769. package/dist/gen/model/payroll-au/allowanceType.d.ts +11 -0
  770. package/dist/gen/model/payroll-au/allowanceType.js +16 -0
  771. package/dist/gen/model/payroll-au/allowanceType.js.map +1 -0
  772. package/dist/gen/model/payroll-au/bankAccount.d.ts +37 -0
  773. package/dist/gen/model/payroll-au/bankAccount.js +43 -0
  774. package/dist/gen/model/payroll-au/bankAccount.js.map +1 -0
  775. package/dist/gen/model/payroll-au/calendarType.d.ts +8 -0
  776. package/dist/gen/model/payroll-au/calendarType.js +13 -0
  777. package/dist/gen/model/payroll-au/calendarType.js.map +1 -0
  778. package/dist/gen/model/payroll-au/countryOfResidence.d.ts +255 -0
  779. package/dist/gen/model/payroll-au/countryOfResidence.js +260 -0
  780. package/dist/gen/model/payroll-au/countryOfResidence.js.map +1 -0
  781. package/dist/gen/model/payroll-au/deductionLine.d.ts +31 -0
  782. package/dist/gen/model/payroll-au/deductionLine.js +38 -0
  783. package/dist/gen/model/payroll-au/deductionLine.js.map +1 -0
  784. package/dist/gen/model/payroll-au/deductionType.d.ts +53 -0
  785. package/dist/gen/model/payroll-au/deductionType.js +66 -0
  786. package/dist/gen/model/payroll-au/deductionType.js.map +1 -0
  787. package/dist/gen/model/payroll-au/deductionTypeCalculationType.d.ts +5 -0
  788. package/dist/gen/model/payroll-au/deductionTypeCalculationType.js +10 -0
  789. package/dist/gen/model/payroll-au/deductionTypeCalculationType.js.map +1 -0
  790. package/dist/gen/model/payroll-au/earningsLine.d.ts +47 -0
  791. package/dist/gen/model/payroll-au/earningsLine.js +58 -0
  792. package/dist/gen/model/payroll-au/earningsLine.js.map +1 -0
  793. package/dist/gen/model/payroll-au/earningsRate.d.ts +83 -0
  794. package/dist/gen/model/payroll-au/earningsRate.js +113 -0
  795. package/dist/gen/model/payroll-au/earningsRate.js.map +1 -0
  796. package/dist/gen/model/payroll-au/earningsRateCalculationType.d.ts +5 -0
  797. package/dist/gen/model/payroll-au/earningsRateCalculationType.js +10 -0
  798. package/dist/gen/model/payroll-au/earningsRateCalculationType.js.map +1 -0
  799. package/dist/gen/model/payroll-au/earningsType.d.ts +16 -0
  800. package/dist/gen/model/payroll-au/earningsType.js +21 -0
  801. package/dist/gen/model/payroll-au/earningsType.js.map +1 -0
  802. package/dist/gen/model/payroll-au/employee.d.ts +151 -0
  803. package/dist/gen/model/payroll-au/employee.js +212 -0
  804. package/dist/gen/model/payroll-au/employee.js.map +1 -0
  805. package/dist/gen/model/payroll-au/employeeStatus.d.ts +7 -0
  806. package/dist/gen/model/payroll-au/employeeStatus.js +12 -0
  807. package/dist/gen/model/payroll-au/employeeStatus.js.map +1 -0
  808. package/dist/gen/model/payroll-au/employees.d.ts +15 -0
  809. package/dist/gen/model/payroll-au/employees.js +18 -0
  810. package/dist/gen/model/payroll-au/employees.js.map +1 -0
  811. package/dist/gen/model/payroll-au/employmentBasis.d.ts +8 -0
  812. package/dist/gen/model/payroll-au/employmentBasis.js +13 -0
  813. package/dist/gen/model/payroll-au/employmentBasis.js.map +1 -0
  814. package/dist/gen/model/payroll-au/employmentTerminationPaymentType.d.ts +4 -0
  815. package/dist/gen/model/payroll-au/employmentTerminationPaymentType.js +9 -0
  816. package/dist/gen/model/payroll-au/employmentTerminationPaymentType.js.map +1 -0
  817. package/dist/gen/model/payroll-au/employmentType.d.ts +4 -0
  818. package/dist/gen/model/payroll-au/employmentType.js +9 -0
  819. package/dist/gen/model/payroll-au/employmentType.js.map +1 -0
  820. package/dist/gen/model/payroll-au/entitlementFinalPayPayoutType.d.ts +4 -0
  821. package/dist/gen/model/payroll-au/entitlementFinalPayPayoutType.js +9 -0
  822. package/dist/gen/model/payroll-au/entitlementFinalPayPayoutType.js.map +1 -0
  823. package/dist/gen/model/payroll-au/homeAddress.d.ts +35 -0
  824. package/dist/gen/model/payroll-au/homeAddress.js +43 -0
  825. package/dist/gen/model/payroll-au/homeAddress.js.map +1 -0
  826. package/dist/gen/model/payroll-au/incomeType.d.ts +7 -0
  827. package/dist/gen/model/payroll-au/incomeType.js +12 -0
  828. package/dist/gen/model/payroll-au/incomeType.js.map +1 -0
  829. package/dist/gen/model/payroll-au/leaveAccrualLine.d.ts +25 -0
  830. package/dist/gen/model/payroll-au/leaveAccrualLine.js +28 -0
  831. package/dist/gen/model/payroll-au/leaveAccrualLine.js.map +1 -0
  832. package/dist/gen/model/payroll-au/leaveApplication.d.ts +54 -0
  833. package/dist/gen/model/payroll-au/leaveApplication.js +68 -0
  834. package/dist/gen/model/payroll-au/leaveApplication.js.map +1 -0
  835. package/dist/gen/model/payroll-au/leaveApplications.d.ts +15 -0
  836. package/dist/gen/model/payroll-au/leaveApplications.js +18 -0
  837. package/dist/gen/model/payroll-au/leaveApplications.js.map +1 -0
  838. package/dist/gen/model/payroll-au/leaveBalance.d.ts +29 -0
  839. package/dist/gen/model/payroll-au/leaveBalance.js +33 -0
  840. package/dist/gen/model/payroll-au/leaveBalance.js.map +1 -0
  841. package/dist/gen/model/payroll-au/leaveCategoryCode.d.ts +17 -0
  842. package/dist/gen/model/payroll-au/leaveCategoryCode.js +22 -0
  843. package/dist/gen/model/payroll-au/leaveCategoryCode.js.map +1 -0
  844. package/dist/gen/model/payroll-au/leaveEarningsLine.d.ts +27 -0
  845. package/dist/gen/model/payroll-au/leaveEarningsLine.js +33 -0
  846. package/dist/gen/model/payroll-au/leaveEarningsLine.js.map +1 -0
  847. package/dist/gen/model/payroll-au/leaveLine.d.ts +39 -0
  848. package/dist/gen/model/payroll-au/leaveLine.js +53 -0
  849. package/dist/gen/model/payroll-au/leaveLine.js.map +1 -0
  850. package/dist/gen/model/payroll-au/leaveLineCalculationType.d.ts +9 -0
  851. package/dist/gen/model/payroll-au/leaveLineCalculationType.js +14 -0
  852. package/dist/gen/model/payroll-au/leaveLineCalculationType.js.map +1 -0
  853. package/dist/gen/model/payroll-au/leaveLines.d.ts +18 -0
  854. package/dist/gen/model/payroll-au/leaveLines.js +21 -0
  855. package/dist/gen/model/payroll-au/leaveLines.js.map +1 -0
  856. package/dist/gen/model/payroll-au/leavePeriod.d.ts +27 -0
  857. package/dist/gen/model/payroll-au/leavePeriod.js +33 -0
  858. package/dist/gen/model/payroll-au/leavePeriod.js.map +1 -0
  859. package/dist/gen/model/payroll-au/leavePeriodStatus.d.ts +6 -0
  860. package/dist/gen/model/payroll-au/leavePeriodStatus.js +11 -0
  861. package/dist/gen/model/payroll-au/leavePeriodStatus.js.map +1 -0
  862. package/dist/gen/model/payroll-au/leaveType.d.ts +55 -0
  863. package/dist/gen/model/payroll-au/leaveType.js +68 -0
  864. package/dist/gen/model/payroll-au/leaveType.js.map +1 -0
  865. package/dist/gen/model/payroll-au/leaveTypeContributionType.d.ts +6 -0
  866. package/dist/gen/model/payroll-au/leaveTypeContributionType.js +11 -0
  867. package/dist/gen/model/payroll-au/leaveTypeContributionType.js.map +1 -0
  868. package/dist/gen/model/payroll-au/manualTaxType.d.ts +8 -0
  869. package/dist/gen/model/payroll-au/manualTaxType.js +13 -0
  870. package/dist/gen/model/payroll-au/manualTaxType.js.map +1 -0
  871. package/dist/gen/model/payroll-au/models.d.ts +122 -0
  872. package/dist/gen/model/payroll-au/models.js +486 -0
  873. package/dist/gen/model/payroll-au/models.js.map +1 -0
  874. package/dist/gen/model/payroll-au/openingBalances.d.ts +33 -0
  875. package/dist/gen/model/payroll-au/openingBalances.js +53 -0
  876. package/dist/gen/model/payroll-au/openingBalances.js.map +1 -0
  877. package/dist/gen/model/payroll-au/paidLeaveEarningsLine.d.ts +33 -0
  878. package/dist/gen/model/payroll-au/paidLeaveEarningsLine.js +38 -0
  879. package/dist/gen/model/payroll-au/paidLeaveEarningsLine.js.map +1 -0
  880. package/dist/gen/model/payroll-au/payItem.d.ts +21 -0
  881. package/dist/gen/model/payroll-au/payItem.js +33 -0
  882. package/dist/gen/model/payroll-au/payItem.js.map +1 -0
  883. package/dist/gen/model/payroll-au/payItems.d.ts +15 -0
  884. package/dist/gen/model/payroll-au/payItems.js +18 -0
  885. package/dist/gen/model/payroll-au/payItems.js.map +1 -0
  886. package/dist/gen/model/payroll-au/payOutType.d.ts +7 -0
  887. package/dist/gen/model/payroll-au/payOutType.js +12 -0
  888. package/dist/gen/model/payroll-au/payOutType.js.map +1 -0
  889. package/dist/gen/model/payroll-au/payRun.d.ts +77 -0
  890. package/dist/gen/model/payroll-au/payRun.js +93 -0
  891. package/dist/gen/model/payroll-au/payRun.js.map +1 -0
  892. package/dist/gen/model/payroll-au/payRunStatus.d.ts +4 -0
  893. package/dist/gen/model/payroll-au/payRunStatus.js +9 -0
  894. package/dist/gen/model/payroll-au/payRunStatus.js.map +1 -0
  895. package/dist/gen/model/payroll-au/payRuns.d.ts +15 -0
  896. package/dist/gen/model/payroll-au/payRuns.js +18 -0
  897. package/dist/gen/model/payroll-au/payRuns.js.map +1 -0
  898. package/dist/gen/model/payroll-au/payTemplate.d.ts +23 -0
  899. package/dist/gen/model/payroll-au/payTemplate.js +38 -0
  900. package/dist/gen/model/payroll-au/payTemplate.js.map +1 -0
  901. package/dist/gen/model/payroll-au/paymentFrequencyType.d.ts +9 -0
  902. package/dist/gen/model/payroll-au/paymentFrequencyType.js +14 -0
  903. package/dist/gen/model/payroll-au/paymentFrequencyType.js.map +1 -0
  904. package/dist/gen/model/payroll-au/payrollCalendar.d.ts +44 -0
  905. package/dist/gen/model/payroll-au/payrollCalendar.js +53 -0
  906. package/dist/gen/model/payroll-au/payrollCalendar.js.map +1 -0
  907. package/dist/gen/model/payroll-au/payrollCalendars.d.ts +15 -0
  908. package/dist/gen/model/payroll-au/payrollCalendars.js +18 -0
  909. package/dist/gen/model/payroll-au/payrollCalendars.js.map +1 -0
  910. package/dist/gen/model/payroll-au/payslip.d.ts +72 -0
  911. package/dist/gen/model/payroll-au/payslip.js +108 -0
  912. package/dist/gen/model/payroll-au/payslip.js.map +1 -0
  913. package/dist/gen/model/payroll-au/payslipLines.d.ts +28 -0
  914. package/dist/gen/model/payroll-au/payslipLines.js +53 -0
  915. package/dist/gen/model/payroll-au/payslipLines.js.map +1 -0
  916. package/dist/gen/model/payroll-au/payslipObject.d.ts +15 -0
  917. package/dist/gen/model/payroll-au/payslipObject.js +18 -0
  918. package/dist/gen/model/payroll-au/payslipObject.js.map +1 -0
  919. package/dist/gen/model/payroll-au/payslipSummary.d.ts +61 -0
  920. package/dist/gen/model/payroll-au/payslipSummary.js +73 -0
  921. package/dist/gen/model/payroll-au/payslipSummary.js.map +1 -0
  922. package/dist/gen/model/payroll-au/payslips.d.ts +15 -0
  923. package/dist/gen/model/payroll-au/payslips.js +18 -0
  924. package/dist/gen/model/payroll-au/payslips.js.map +1 -0
  925. package/dist/gen/model/payroll-au/rateType.d.ts +5 -0
  926. package/dist/gen/model/payroll-au/rateType.js +10 -0
  927. package/dist/gen/model/payroll-au/rateType.js.map +1 -0
  928. package/dist/gen/model/payroll-au/reimbursementLine.d.ts +29 -0
  929. package/dist/gen/model/payroll-au/reimbursementLine.js +33 -0
  930. package/dist/gen/model/payroll-au/reimbursementLine.js.map +1 -0
  931. package/dist/gen/model/payroll-au/reimbursementLines.d.ts +18 -0
  932. package/dist/gen/model/payroll-au/reimbursementLines.js +21 -0
  933. package/dist/gen/model/payroll-au/reimbursementLines.js.map +1 -0
  934. package/dist/gen/model/payroll-au/reimbursementType.d.ts +33 -0
  935. package/dist/gen/model/payroll-au/reimbursementType.js +38 -0
  936. package/dist/gen/model/payroll-au/reimbursementType.js.map +1 -0
  937. package/dist/gen/model/payroll-au/residencyStatus.d.ts +5 -0
  938. package/dist/gen/model/payroll-au/residencyStatus.js +10 -0
  939. package/dist/gen/model/payroll-au/residencyStatus.js.map +1 -0
  940. package/dist/gen/model/payroll-au/seniorMaritalStatus.d.ts +5 -0
  941. package/dist/gen/model/payroll-au/seniorMaritalStatus.js +10 -0
  942. package/dist/gen/model/payroll-au/seniorMaritalStatus.js.map +1 -0
  943. package/dist/gen/model/payroll-au/settings.d.ts +28 -0
  944. package/dist/gen/model/payroll-au/settings.js +33 -0
  945. package/dist/gen/model/payroll-au/settings.js.map +1 -0
  946. package/dist/gen/model/payroll-au/settingsObject.d.ts +15 -0
  947. package/dist/gen/model/payroll-au/settingsObject.js +18 -0
  948. package/dist/gen/model/payroll-au/settingsObject.js.map +1 -0
  949. package/dist/gen/model/payroll-au/settingsTrackingCategories.d.ts +20 -0
  950. package/dist/gen/model/payroll-au/settingsTrackingCategories.js +26 -0
  951. package/dist/gen/model/payroll-au/settingsTrackingCategories.js.map +1 -0
  952. package/dist/gen/model/payroll-au/settingsTrackingCategoriesEmployeeGroups.d.ts +24 -0
  953. package/dist/gen/model/payroll-au/settingsTrackingCategoriesEmployeeGroups.js +26 -0
  954. package/dist/gen/model/payroll-au/settingsTrackingCategoriesEmployeeGroups.js.map +1 -0
  955. package/dist/gen/model/payroll-au/settingsTrackingCategoriesTimesheetCategories.d.ts +24 -0
  956. package/dist/gen/model/payroll-au/settingsTrackingCategoriesTimesheetCategories.js +26 -0
  957. package/dist/gen/model/payroll-au/settingsTrackingCategoriesTimesheetCategories.js.map +1 -0
  958. package/dist/gen/model/payroll-au/state.d.ts +13 -0
  959. package/dist/gen/model/payroll-au/state.js +18 -0
  960. package/dist/gen/model/payroll-au/state.js.map +1 -0
  961. package/dist/gen/model/payroll-au/superFund.d.ts +64 -0
  962. package/dist/gen/model/payroll-au/superFund.js +78 -0
  963. package/dist/gen/model/payroll-au/superFund.js.map +1 -0
  964. package/dist/gen/model/payroll-au/superFundProduct.d.ts +29 -0
  965. package/dist/gen/model/payroll-au/superFundProduct.js +33 -0
  966. package/dist/gen/model/payroll-au/superFundProduct.js.map +1 -0
  967. package/dist/gen/model/payroll-au/superFundProducts.d.ts +15 -0
  968. package/dist/gen/model/payroll-au/superFundProducts.js +18 -0
  969. package/dist/gen/model/payroll-au/superFundProducts.js.map +1 -0
  970. package/dist/gen/model/payroll-au/superFundType.d.ts +4 -0
  971. package/dist/gen/model/payroll-au/superFundType.js +9 -0
  972. package/dist/gen/model/payroll-au/superFundType.js.map +1 -0
  973. package/dist/gen/model/payroll-au/superFunds.d.ts +15 -0
  974. package/dist/gen/model/payroll-au/superFunds.js +18 -0
  975. package/dist/gen/model/payroll-au/superFunds.js.map +1 -0
  976. package/dist/gen/model/payroll-au/superLine.d.ts +41 -0
  977. package/dist/gen/model/payroll-au/superLine.js +53 -0
  978. package/dist/gen/model/payroll-au/superLine.js.map +1 -0
  979. package/dist/gen/model/payroll-au/superMembership.d.ts +25 -0
  980. package/dist/gen/model/payroll-au/superMembership.js +28 -0
  981. package/dist/gen/model/payroll-au/superMembership.js.map +1 -0
  982. package/dist/gen/model/payroll-au/superannuationCalculationType.d.ts +5 -0
  983. package/dist/gen/model/payroll-au/superannuationCalculationType.js +10 -0
  984. package/dist/gen/model/payroll-au/superannuationCalculationType.js.map +1 -0
  985. package/dist/gen/model/payroll-au/superannuationContributionType.d.ts +6 -0
  986. package/dist/gen/model/payroll-au/superannuationContributionType.js +11 -0
  987. package/dist/gen/model/payroll-au/superannuationContributionType.js.map +1 -0
  988. package/dist/gen/model/payroll-au/superannuationLine.d.ts +45 -0
  989. package/dist/gen/model/payroll-au/superannuationLine.js +58 -0
  990. package/dist/gen/model/payroll-au/superannuationLine.js.map +1 -0
  991. package/dist/gen/model/payroll-au/tFNExemptionType.d.ts +6 -0
  992. package/dist/gen/model/payroll-au/tFNExemptionType.js +11 -0
  993. package/dist/gen/model/payroll-au/tFNExemptionType.js.map +1 -0
  994. package/dist/gen/model/payroll-au/taxDeclaration.d.ts +85 -0
  995. package/dist/gen/model/payroll-au/taxDeclaration.js +118 -0
  996. package/dist/gen/model/payroll-au/taxDeclaration.js.map +1 -0
  997. package/dist/gen/model/payroll-au/taxLine.d.ts +35 -0
  998. package/dist/gen/model/payroll-au/taxLine.js +43 -0
  999. package/dist/gen/model/payroll-au/taxLine.js.map +1 -0
  1000. package/dist/gen/model/payroll-au/taxScaleType.d.ts +8 -0
  1001. package/dist/gen/model/payroll-au/taxScaleType.js +13 -0
  1002. package/dist/gen/model/payroll-au/taxScaleType.js.map +1 -0
  1003. package/dist/gen/model/payroll-au/timesheet.d.ts +46 -0
  1004. package/dist/gen/model/payroll-au/timesheet.js +58 -0
  1005. package/dist/gen/model/payroll-au/timesheet.js.map +1 -0
  1006. package/dist/gen/model/payroll-au/timesheetLine.d.ts +29 -0
  1007. package/dist/gen/model/payroll-au/timesheetLine.js +33 -0
  1008. package/dist/gen/model/payroll-au/timesheetLine.js.map +1 -0
  1009. package/dist/gen/model/payroll-au/timesheetObject.d.ts +15 -0
  1010. package/dist/gen/model/payroll-au/timesheetObject.js +18 -0
  1011. package/dist/gen/model/payroll-au/timesheetObject.js.map +1 -0
  1012. package/dist/gen/model/payroll-au/timesheetStatus.d.ts +7 -0
  1013. package/dist/gen/model/payroll-au/timesheetStatus.js +12 -0
  1014. package/dist/gen/model/payroll-au/timesheetStatus.js.map +1 -0
  1015. package/dist/gen/model/payroll-au/timesheets.d.ts +15 -0
  1016. package/dist/gen/model/payroll-au/timesheets.js +18 -0
  1017. package/dist/gen/model/payroll-au/timesheets.js.map +1 -0
  1018. package/dist/gen/model/payroll-au/validationError.d.ts +17 -0
  1019. package/dist/gen/model/payroll-au/validationError.js +18 -0
  1020. package/dist/gen/model/payroll-au/validationError.js.map +1 -0
  1021. package/dist/gen/model/payroll-au/workCondition.d.ts +5 -0
  1022. package/dist/gen/model/payroll-au/workCondition.js +10 -0
  1023. package/dist/gen/model/payroll-au/workCondition.js.map +1 -0
  1024. package/dist/gen/model/payroll-nz/account.d.ts +37 -0
  1025. package/dist/gen/model/payroll-nz/account.js +42 -0
  1026. package/dist/gen/model/payroll-nz/account.js.map +1 -0
  1027. package/dist/gen/model/payroll-nz/accounts.d.ts +15 -0
  1028. package/dist/gen/model/payroll-nz/accounts.js +18 -0
  1029. package/dist/gen/model/payroll-nz/accounts.js.map +1 -0
  1030. package/dist/gen/model/payroll-nz/address.d.ts +37 -0
  1031. package/dist/gen/model/payroll-nz/address.js +43 -0
  1032. package/dist/gen/model/payroll-nz/address.js.map +1 -0
  1033. package/dist/gen/model/payroll-nz/bankAccount.d.ts +51 -0
  1034. package/dist/gen/model/payroll-nz/bankAccount.js +60 -0
  1035. package/dist/gen/model/payroll-nz/bankAccount.js.map +1 -0
  1036. package/dist/gen/model/payroll-nz/benefit.d.ts +64 -0
  1037. package/dist/gen/model/payroll-nz/benefit.js +76 -0
  1038. package/dist/gen/model/payroll-nz/benefit.js.map +1 -0
  1039. package/dist/gen/model/payroll-nz/calendarType.d.ts +12 -0
  1040. package/dist/gen/model/payroll-nz/calendarType.js +17 -0
  1041. package/dist/gen/model/payroll-nz/calendarType.js.map +1 -0
  1042. package/dist/gen/model/payroll-nz/deduction.d.ts +45 -0
  1043. package/dist/gen/model/payroll-nz/deduction.js +52 -0
  1044. package/dist/gen/model/payroll-nz/deduction.js.map +1 -0
  1045. package/dist/gen/model/payroll-nz/deductionLine.d.ts +33 -0
  1046. package/dist/gen/model/payroll-nz/deductionLine.js +38 -0
  1047. package/dist/gen/model/payroll-nz/deductionLine.js.map +1 -0
  1048. package/dist/gen/model/payroll-nz/deductionObject.d.ts +19 -0
  1049. package/dist/gen/model/payroll-nz/deductionObject.js +28 -0
  1050. package/dist/gen/model/payroll-nz/deductionObject.js.map +1 -0
  1051. package/dist/gen/model/payroll-nz/deductions.d.ts +19 -0
  1052. package/dist/gen/model/payroll-nz/deductions.js +28 -0
  1053. package/dist/gen/model/payroll-nz/deductions.js.map +1 -0
  1054. package/dist/gen/model/payroll-nz/earningsLine.d.ts +53 -0
  1055. package/dist/gen/model/payroll-nz/earningsLine.js +63 -0
  1056. package/dist/gen/model/payroll-nz/earningsLine.js.map +1 -0
  1057. package/dist/gen/model/payroll-nz/earningsOrder.d.ts +31 -0
  1058. package/dist/gen/model/payroll-nz/earningsOrder.js +38 -0
  1059. package/dist/gen/model/payroll-nz/earningsOrder.js.map +1 -0
  1060. package/dist/gen/model/payroll-nz/earningsOrderObject.d.ts +19 -0
  1061. package/dist/gen/model/payroll-nz/earningsOrderObject.js +28 -0
  1062. package/dist/gen/model/payroll-nz/earningsOrderObject.js.map +1 -0
  1063. package/dist/gen/model/payroll-nz/earningsOrders.d.ts +19 -0
  1064. package/dist/gen/model/payroll-nz/earningsOrders.js +28 -0
  1065. package/dist/gen/model/payroll-nz/earningsOrders.js.map +1 -0
  1066. package/dist/gen/model/payroll-nz/earningsRate.d.ts +77 -0
  1067. package/dist/gen/model/payroll-nz/earningsRate.js +89 -0
  1068. package/dist/gen/model/payroll-nz/earningsRate.js.map +1 -0
  1069. package/dist/gen/model/payroll-nz/earningsRateObject.d.ts +19 -0
  1070. package/dist/gen/model/payroll-nz/earningsRateObject.js +28 -0
  1071. package/dist/gen/model/payroll-nz/earningsRateObject.js.map +1 -0
  1072. package/dist/gen/model/payroll-nz/earningsRates.d.ts +19 -0
  1073. package/dist/gen/model/payroll-nz/earningsRates.js +28 -0
  1074. package/dist/gen/model/payroll-nz/earningsRates.js.map +1 -0
  1075. package/dist/gen/model/payroll-nz/earningsTemplate.d.ts +37 -0
  1076. package/dist/gen/model/payroll-nz/earningsTemplate.js +43 -0
  1077. package/dist/gen/model/payroll-nz/earningsTemplate.js.map +1 -0
  1078. package/dist/gen/model/payroll-nz/earningsTemplateObject.d.ts +19 -0
  1079. package/dist/gen/model/payroll-nz/earningsTemplateObject.js +28 -0
  1080. package/dist/gen/model/payroll-nz/earningsTemplateObject.js.map +1 -0
  1081. package/dist/gen/model/payroll-nz/employee.d.ts +85 -0
  1082. package/dist/gen/model/payroll-nz/employee.js +105 -0
  1083. package/dist/gen/model/payroll-nz/employee.js.map +1 -0
  1084. package/dist/gen/model/payroll-nz/employeeEarningsTemplates.d.ts +19 -0
  1085. package/dist/gen/model/payroll-nz/employeeEarningsTemplates.js +28 -0
  1086. package/dist/gen/model/payroll-nz/employeeEarningsTemplates.js.map +1 -0
  1087. package/dist/gen/model/payroll-nz/employeeLeave.d.ts +42 -0
  1088. package/dist/gen/model/payroll-nz/employeeLeave.js +48 -0
  1089. package/dist/gen/model/payroll-nz/employeeLeave.js.map +1 -0
  1090. package/dist/gen/model/payroll-nz/employeeLeaveBalance.d.ts +29 -0
  1091. package/dist/gen/model/payroll-nz/employeeLeaveBalance.js +33 -0
  1092. package/dist/gen/model/payroll-nz/employeeLeaveBalance.js.map +1 -0
  1093. package/dist/gen/model/payroll-nz/employeeLeaveBalances.d.ts +19 -0
  1094. package/dist/gen/model/payroll-nz/employeeLeaveBalances.js +28 -0
  1095. package/dist/gen/model/payroll-nz/employeeLeaveBalances.js.map +1 -0
  1096. package/dist/gen/model/payroll-nz/employeeLeaveObject.d.ts +19 -0
  1097. package/dist/gen/model/payroll-nz/employeeLeaveObject.js +28 -0
  1098. package/dist/gen/model/payroll-nz/employeeLeaveObject.js.map +1 -0
  1099. package/dist/gen/model/payroll-nz/employeeLeaveSetup.d.ts +49 -0
  1100. package/dist/gen/model/payroll-nz/employeeLeaveSetup.js +58 -0
  1101. package/dist/gen/model/payroll-nz/employeeLeaveSetup.js.map +1 -0
  1102. package/dist/gen/model/payroll-nz/employeeLeaveSetupObject.d.ts +19 -0
  1103. package/dist/gen/model/payroll-nz/employeeLeaveSetupObject.js +28 -0
  1104. package/dist/gen/model/payroll-nz/employeeLeaveSetupObject.js.map +1 -0
  1105. package/dist/gen/model/payroll-nz/employeeLeaveType.d.ts +65 -0
  1106. package/dist/gen/model/payroll-nz/employeeLeaveType.js +77 -0
  1107. package/dist/gen/model/payroll-nz/employeeLeaveType.js.map +1 -0
  1108. package/dist/gen/model/payroll-nz/employeeLeaveTypeObject.d.ts +19 -0
  1109. package/dist/gen/model/payroll-nz/employeeLeaveTypeObject.js +28 -0
  1110. package/dist/gen/model/payroll-nz/employeeLeaveTypeObject.js.map +1 -0
  1111. package/dist/gen/model/payroll-nz/employeeLeaveTypes.d.ts +19 -0
  1112. package/dist/gen/model/payroll-nz/employeeLeaveTypes.js +28 -0
  1113. package/dist/gen/model/payroll-nz/employeeLeaveTypes.js.map +1 -0
  1114. package/dist/gen/model/payroll-nz/employeeLeaves.d.ts +19 -0
  1115. package/dist/gen/model/payroll-nz/employeeLeaves.js +28 -0
  1116. package/dist/gen/model/payroll-nz/employeeLeaves.js.map +1 -0
  1117. package/dist/gen/model/payroll-nz/employeeObject.d.ts +19 -0
  1118. package/dist/gen/model/payroll-nz/employeeObject.js +28 -0
  1119. package/dist/gen/model/payroll-nz/employeeObject.js.map +1 -0
  1120. package/dist/gen/model/payroll-nz/employeeOpeningBalance.d.ts +29 -0
  1121. package/dist/gen/model/payroll-nz/employeeOpeningBalance.js +33 -0
  1122. package/dist/gen/model/payroll-nz/employeeOpeningBalance.js.map +1 -0
  1123. package/dist/gen/model/payroll-nz/employeeOpeningBalancesObject.d.ts +19 -0
  1124. package/dist/gen/model/payroll-nz/employeeOpeningBalancesObject.js +28 -0
  1125. package/dist/gen/model/payroll-nz/employeeOpeningBalancesObject.js.map +1 -0
  1126. package/dist/gen/model/payroll-nz/employeePayTemplate.d.ts +19 -0
  1127. package/dist/gen/model/payroll-nz/employeePayTemplate.js +23 -0
  1128. package/dist/gen/model/payroll-nz/employeePayTemplate.js.map +1 -0
  1129. package/dist/gen/model/payroll-nz/employeePayTemplateObject.d.ts +19 -0
  1130. package/dist/gen/model/payroll-nz/employeePayTemplateObject.js +28 -0
  1131. package/dist/gen/model/payroll-nz/employeePayTemplateObject.js.map +1 -0
  1132. package/dist/gen/model/payroll-nz/employeePayTemplates.d.ts +19 -0
  1133. package/dist/gen/model/payroll-nz/employeePayTemplates.js +28 -0
  1134. package/dist/gen/model/payroll-nz/employeePayTemplates.js.map +1 -0
  1135. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveBalance.d.ts +37 -0
  1136. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveBalance.js +42 -0
  1137. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveBalance.js.map +1 -0
  1138. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveBalanceObject.d.ts +19 -0
  1139. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveBalanceObject.js +28 -0
  1140. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveBalanceObject.js.map +1 -0
  1141. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveSummary.d.ts +55 -0
  1142. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveSummary.js +64 -0
  1143. package/dist/gen/model/payroll-nz/employeeStatutoryLeaveSummary.js.map +1 -0
  1144. package/dist/gen/model/payroll-nz/employeeStatutoryLeavesSummaries.d.ts +19 -0
  1145. package/dist/gen/model/payroll-nz/employeeStatutoryLeavesSummaries.js +28 -0
  1146. package/dist/gen/model/payroll-nz/employeeStatutoryLeavesSummaries.js.map +1 -0
  1147. package/dist/gen/model/payroll-nz/employeeStatutorySickLeave.d.ts +87 -0
  1148. package/dist/gen/model/payroll-nz/employeeStatutorySickLeave.js +104 -0
  1149. package/dist/gen/model/payroll-nz/employeeStatutorySickLeave.js.map +1 -0
  1150. package/dist/gen/model/payroll-nz/employeeStatutorySickLeaveObject.d.ts +19 -0
  1151. package/dist/gen/model/payroll-nz/employeeStatutorySickLeaveObject.js +28 -0
  1152. package/dist/gen/model/payroll-nz/employeeStatutorySickLeaveObject.js.map +1 -0
  1153. package/dist/gen/model/payroll-nz/employeeStatutorySickLeaves.d.ts +19 -0
  1154. package/dist/gen/model/payroll-nz/employeeStatutorySickLeaves.js +28 -0
  1155. package/dist/gen/model/payroll-nz/employeeStatutorySickLeaves.js.map +1 -0
  1156. package/dist/gen/model/payroll-nz/employeeTax.d.ts +84 -0
  1157. package/dist/gen/model/payroll-nz/employeeTax.js +103 -0
  1158. package/dist/gen/model/payroll-nz/employeeTax.js.map +1 -0
  1159. package/dist/gen/model/payroll-nz/employeeTaxObject.d.ts +19 -0
  1160. package/dist/gen/model/payroll-nz/employeeTaxObject.js +28 -0
  1161. package/dist/gen/model/payroll-nz/employeeTaxObject.js.map +1 -0
  1162. package/dist/gen/model/payroll-nz/employeeWorkingPattern.d.ts +21 -0
  1163. package/dist/gen/model/payroll-nz/employeeWorkingPattern.js +23 -0
  1164. package/dist/gen/model/payroll-nz/employeeWorkingPattern.js.map +1 -0
  1165. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeks.d.ts +23 -0
  1166. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeks.js +28 -0
  1167. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeks.js.map +1 -0
  1168. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeksObject.d.ts +19 -0
  1169. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeksObject.js +28 -0
  1170. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeksObject.js.map +1 -0
  1171. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeksRequest.d.ts +19 -0
  1172. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeksRequest.js +23 -0
  1173. package/dist/gen/model/payroll-nz/employeeWorkingPatternWithWorkingWeeksRequest.js.map +1 -0
  1174. package/dist/gen/model/payroll-nz/employeeWorkingPatternsObject.d.ts +19 -0
  1175. package/dist/gen/model/payroll-nz/employeeWorkingPatternsObject.js +28 -0
  1176. package/dist/gen/model/payroll-nz/employeeWorkingPatternsObject.js.map +1 -0
  1177. package/dist/gen/model/payroll-nz/employees.d.ts +19 -0
  1178. package/dist/gen/model/payroll-nz/employees.js +28 -0
  1179. package/dist/gen/model/payroll-nz/employees.js.map +1 -0
  1180. package/dist/gen/model/payroll-nz/employment.d.ts +33 -0
  1181. package/dist/gen/model/payroll-nz/employment.js +38 -0
  1182. package/dist/gen/model/payroll-nz/employment.js.map +1 -0
  1183. package/dist/gen/model/payroll-nz/employmentObject.d.ts +19 -0
  1184. package/dist/gen/model/payroll-nz/employmentObject.js +28 -0
  1185. package/dist/gen/model/payroll-nz/employmentObject.js.map +1 -0
  1186. package/dist/gen/model/payroll-nz/grossEarningsHistory.d.ts +21 -0
  1187. package/dist/gen/model/payroll-nz/grossEarningsHistory.js +23 -0
  1188. package/dist/gen/model/payroll-nz/grossEarningsHistory.js.map +1 -0
  1189. package/dist/gen/model/payroll-nz/invalidField.d.ts +21 -0
  1190. package/dist/gen/model/payroll-nz/invalidField.js +23 -0
  1191. package/dist/gen/model/payroll-nz/invalidField.js.map +1 -0
  1192. package/dist/gen/model/payroll-nz/leaveAccrualLine.d.ts +21 -0
  1193. package/dist/gen/model/payroll-nz/leaveAccrualLine.js +23 -0
  1194. package/dist/gen/model/payroll-nz/leaveAccrualLine.js.map +1 -0
  1195. package/dist/gen/model/payroll-nz/leaveEarningsLine.d.ts +53 -0
  1196. package/dist/gen/model/payroll-nz/leaveEarningsLine.js +63 -0
  1197. package/dist/gen/model/payroll-nz/leaveEarningsLine.js.map +1 -0
  1198. package/dist/gen/model/payroll-nz/leavePeriod.d.ts +35 -0
  1199. package/dist/gen/model/payroll-nz/leavePeriod.js +40 -0
  1200. package/dist/gen/model/payroll-nz/leavePeriod.js.map +1 -0
  1201. package/dist/gen/model/payroll-nz/leavePeriods.d.ts +19 -0
  1202. package/dist/gen/model/payroll-nz/leavePeriods.js +28 -0
  1203. package/dist/gen/model/payroll-nz/leavePeriods.js.map +1 -0
  1204. package/dist/gen/model/payroll-nz/leaveType.d.ts +37 -0
  1205. package/dist/gen/model/payroll-nz/leaveType.js +43 -0
  1206. package/dist/gen/model/payroll-nz/leaveType.js.map +1 -0
  1207. package/dist/gen/model/payroll-nz/leaveTypeObject.d.ts +19 -0
  1208. package/dist/gen/model/payroll-nz/leaveTypeObject.js +28 -0
  1209. package/dist/gen/model/payroll-nz/leaveTypeObject.js.map +1 -0
  1210. package/dist/gen/model/payroll-nz/leaveTypes.d.ts +19 -0
  1211. package/dist/gen/model/payroll-nz/leaveTypes.js +28 -0
  1212. package/dist/gen/model/payroll-nz/leaveTypes.js.map +1 -0
  1213. package/dist/gen/model/payroll-nz/models.d.ts +139 -0
  1214. package/dist/gen/model/payroll-nz/models.js +562 -0
  1215. package/dist/gen/model/payroll-nz/models.js.map +1 -0
  1216. package/dist/gen/model/payroll-nz/pagination.d.ts +17 -0
  1217. package/dist/gen/model/payroll-nz/pagination.js +33 -0
  1218. package/dist/gen/model/payroll-nz/pagination.js.map +1 -0
  1219. package/dist/gen/model/payroll-nz/payRun.d.ts +68 -0
  1220. package/dist/gen/model/payroll-nz/payRun.js +86 -0
  1221. package/dist/gen/model/payroll-nz/payRun.js.map +1 -0
  1222. package/dist/gen/model/payroll-nz/payRunCalendar.d.ts +39 -0
  1223. package/dist/gen/model/payroll-nz/payRunCalendar.js +48 -0
  1224. package/dist/gen/model/payroll-nz/payRunCalendar.js.map +1 -0
  1225. package/dist/gen/model/payroll-nz/payRunCalendarObject.d.ts +19 -0
  1226. package/dist/gen/model/payroll-nz/payRunCalendarObject.js +28 -0
  1227. package/dist/gen/model/payroll-nz/payRunCalendarObject.js.map +1 -0
  1228. package/dist/gen/model/payroll-nz/payRunCalendars.d.ts +19 -0
  1229. package/dist/gen/model/payroll-nz/payRunCalendars.js +28 -0
  1230. package/dist/gen/model/payroll-nz/payRunCalendars.js.map +1 -0
  1231. package/dist/gen/model/payroll-nz/payRunObject.d.ts +19 -0
  1232. package/dist/gen/model/payroll-nz/payRunObject.js +28 -0
  1233. package/dist/gen/model/payroll-nz/payRunObject.js.map +1 -0
  1234. package/dist/gen/model/payroll-nz/payRuns.d.ts +19 -0
  1235. package/dist/gen/model/payroll-nz/payRuns.js +28 -0
  1236. package/dist/gen/model/payroll-nz/payRuns.js.map +1 -0
  1237. package/dist/gen/model/payroll-nz/paySlip.d.ts +113 -0
  1238. package/dist/gen/model/payroll-nz/paySlip.js +171 -0
  1239. package/dist/gen/model/payroll-nz/paySlip.js.map +1 -0
  1240. package/dist/gen/model/payroll-nz/paySlipObject.d.ts +19 -0
  1241. package/dist/gen/model/payroll-nz/paySlipObject.js +28 -0
  1242. package/dist/gen/model/payroll-nz/paySlipObject.js.map +1 -0
  1243. package/dist/gen/model/payroll-nz/paySlips.d.ts +19 -0
  1244. package/dist/gen/model/payroll-nz/paySlips.js +28 -0
  1245. package/dist/gen/model/payroll-nz/paySlips.js.map +1 -0
  1246. package/dist/gen/model/payroll-nz/paymentLine.d.ts +33 -0
  1247. package/dist/gen/model/payroll-nz/paymentLine.js +38 -0
  1248. package/dist/gen/model/payroll-nz/paymentLine.js.map +1 -0
  1249. package/dist/gen/model/payroll-nz/paymentMethod.d.ts +26 -0
  1250. package/dist/gen/model/payroll-nz/paymentMethod.js +31 -0
  1251. package/dist/gen/model/payroll-nz/paymentMethod.js.map +1 -0
  1252. package/dist/gen/model/payroll-nz/paymentMethodObject.d.ts +19 -0
  1253. package/dist/gen/model/payroll-nz/paymentMethodObject.js +28 -0
  1254. package/dist/gen/model/payroll-nz/paymentMethodObject.js.map +1 -0
  1255. package/dist/gen/model/payroll-nz/problem.d.ts +35 -0
  1256. package/dist/gen/model/payroll-nz/problem.js +46 -0
  1257. package/dist/gen/model/payroll-nz/problem.js.map +1 -0
  1258. package/dist/gen/model/payroll-nz/reimbursement.d.ts +65 -0
  1259. package/dist/gen/model/payroll-nz/reimbursement.js +77 -0
  1260. package/dist/gen/model/payroll-nz/reimbursement.js.map +1 -0
  1261. package/dist/gen/model/payroll-nz/reimbursementLine.d.ts +33 -0
  1262. package/dist/gen/model/payroll-nz/reimbursementLine.js +38 -0
  1263. package/dist/gen/model/payroll-nz/reimbursementLine.js.map +1 -0
  1264. package/dist/gen/model/payroll-nz/reimbursementObject.d.ts +19 -0
  1265. package/dist/gen/model/payroll-nz/reimbursementObject.js +28 -0
  1266. package/dist/gen/model/payroll-nz/reimbursementObject.js.map +1 -0
  1267. package/dist/gen/model/payroll-nz/reimbursements.d.ts +19 -0
  1268. package/dist/gen/model/payroll-nz/reimbursements.js +28 -0
  1269. package/dist/gen/model/payroll-nz/reimbursements.js.map +1 -0
  1270. package/dist/gen/model/payroll-nz/salaryAndWage.d.ts +72 -0
  1271. package/dist/gen/model/payroll-nz/salaryAndWage.js +86 -0
  1272. package/dist/gen/model/payroll-nz/salaryAndWage.js.map +1 -0
  1273. package/dist/gen/model/payroll-nz/salaryAndWageObject.d.ts +19 -0
  1274. package/dist/gen/model/payroll-nz/salaryAndWageObject.js +28 -0
  1275. package/dist/gen/model/payroll-nz/salaryAndWageObject.js.map +1 -0
  1276. package/dist/gen/model/payroll-nz/salaryAndWages.d.ts +19 -0
  1277. package/dist/gen/model/payroll-nz/salaryAndWages.js +28 -0
  1278. package/dist/gen/model/payroll-nz/salaryAndWages.js.map +1 -0
  1279. package/dist/gen/model/payroll-nz/settings.d.ts +19 -0
  1280. package/dist/gen/model/payroll-nz/settings.js +28 -0
  1281. package/dist/gen/model/payroll-nz/settings.js.map +1 -0
  1282. package/dist/gen/model/payroll-nz/statutoryDeduction.d.ts +31 -0
  1283. package/dist/gen/model/payroll-nz/statutoryDeduction.js +38 -0
  1284. package/dist/gen/model/payroll-nz/statutoryDeduction.js.map +1 -0
  1285. package/dist/gen/model/payroll-nz/statutoryDeductionCategory.d.ts +16 -0
  1286. package/dist/gen/model/payroll-nz/statutoryDeductionCategory.js +21 -0
  1287. package/dist/gen/model/payroll-nz/statutoryDeductionCategory.js.map +1 -0
  1288. package/dist/gen/model/payroll-nz/statutoryDeductionLine.d.ts +29 -0
  1289. package/dist/gen/model/payroll-nz/statutoryDeductionLine.js +33 -0
  1290. package/dist/gen/model/payroll-nz/statutoryDeductionLine.js.map +1 -0
  1291. package/dist/gen/model/payroll-nz/statutoryDeductionObject.d.ts +19 -0
  1292. package/dist/gen/model/payroll-nz/statutoryDeductionObject.js +28 -0
  1293. package/dist/gen/model/payroll-nz/statutoryDeductionObject.js.map +1 -0
  1294. package/dist/gen/model/payroll-nz/statutoryDeductions.d.ts +19 -0
  1295. package/dist/gen/model/payroll-nz/statutoryDeductions.js +28 -0
  1296. package/dist/gen/model/payroll-nz/statutoryDeductions.js.map +1 -0
  1297. package/dist/gen/model/payroll-nz/superannuationLine.d.ts +37 -0
  1298. package/dist/gen/model/payroll-nz/superannuationLine.js +43 -0
  1299. package/dist/gen/model/payroll-nz/superannuationLine.js.map +1 -0
  1300. package/dist/gen/model/payroll-nz/superannuationObject.d.ts +19 -0
  1301. package/dist/gen/model/payroll-nz/superannuationObject.js +28 -0
  1302. package/dist/gen/model/payroll-nz/superannuationObject.js.map +1 -0
  1303. package/dist/gen/model/payroll-nz/superannuations.d.ts +19 -0
  1304. package/dist/gen/model/payroll-nz/superannuations.js +28 -0
  1305. package/dist/gen/model/payroll-nz/superannuations.js.map +1 -0
  1306. package/dist/gen/model/payroll-nz/taxCode.d.ts +24 -0
  1307. package/dist/gen/model/payroll-nz/taxCode.js +29 -0
  1308. package/dist/gen/model/payroll-nz/taxCode.js.map +1 -0
  1309. package/dist/gen/model/payroll-nz/taxLine.d.ts +33 -0
  1310. package/dist/gen/model/payroll-nz/taxLine.js +38 -0
  1311. package/dist/gen/model/payroll-nz/taxLine.js.map +1 -0
  1312. package/dist/gen/model/payroll-nz/taxSettings.d.ts +41 -0
  1313. package/dist/gen/model/payroll-nz/taxSettings.js +50 -0
  1314. package/dist/gen/model/payroll-nz/taxSettings.js.map +1 -0
  1315. package/dist/gen/model/payroll-nz/timesheet.d.ts +55 -0
  1316. package/dist/gen/model/payroll-nz/timesheet.js +67 -0
  1317. package/dist/gen/model/payroll-nz/timesheet.js.map +1 -0
  1318. package/dist/gen/model/payroll-nz/timesheetEarningsLine.d.ts +53 -0
  1319. package/dist/gen/model/payroll-nz/timesheetEarningsLine.js +63 -0
  1320. package/dist/gen/model/payroll-nz/timesheetEarningsLine.js.map +1 -0
  1321. package/dist/gen/model/payroll-nz/timesheetLine.d.ts +33 -0
  1322. package/dist/gen/model/payroll-nz/timesheetLine.js +38 -0
  1323. package/dist/gen/model/payroll-nz/timesheetLine.js.map +1 -0
  1324. package/dist/gen/model/payroll-nz/timesheetLineObject.d.ts +19 -0
  1325. package/dist/gen/model/payroll-nz/timesheetLineObject.js +28 -0
  1326. package/dist/gen/model/payroll-nz/timesheetLineObject.js.map +1 -0
  1327. package/dist/gen/model/payroll-nz/timesheetObject.d.ts +19 -0
  1328. package/dist/gen/model/payroll-nz/timesheetObject.js +28 -0
  1329. package/dist/gen/model/payroll-nz/timesheetObject.js.map +1 -0
  1330. package/dist/gen/model/payroll-nz/timesheets.d.ts +19 -0
  1331. package/dist/gen/model/payroll-nz/timesheets.js +28 -0
  1332. package/dist/gen/model/payroll-nz/timesheets.js.map +1 -0
  1333. package/dist/gen/model/payroll-nz/trackingCategories.d.ts +19 -0
  1334. package/dist/gen/model/payroll-nz/trackingCategories.js +28 -0
  1335. package/dist/gen/model/payroll-nz/trackingCategories.js.map +1 -0
  1336. package/dist/gen/model/payroll-nz/trackingCategory.d.ts +21 -0
  1337. package/dist/gen/model/payroll-nz/trackingCategory.js +23 -0
  1338. package/dist/gen/model/payroll-nz/trackingCategory.js.map +1 -0
  1339. package/dist/gen/model/payroll-nz/workingWeek.d.ts +41 -0
  1340. package/dist/gen/model/payroll-nz/workingWeek.js +48 -0
  1341. package/dist/gen/model/payroll-nz/workingWeek.js.map +1 -0
  1342. package/dist/gen/model/payroll-uk/account.d.ts +40 -0
  1343. package/dist/gen/model/payroll-uk/account.js +45 -0
  1344. package/dist/gen/model/payroll-uk/account.js.map +1 -0
  1345. package/dist/gen/model/payroll-uk/accounts.d.ts +15 -0
  1346. package/dist/gen/model/payroll-uk/accounts.js +18 -0
  1347. package/dist/gen/model/payroll-uk/accounts.js.map +1 -0
  1348. package/dist/gen/model/payroll-uk/address.d.ts +33 -0
  1349. package/dist/gen/model/payroll-uk/address.js +38 -0
  1350. package/dist/gen/model/payroll-uk/address.js.map +1 -0
  1351. package/dist/gen/model/payroll-uk/bankAccount.d.ts +25 -0
  1352. package/dist/gen/model/payroll-uk/bankAccount.js +28 -0
  1353. package/dist/gen/model/payroll-uk/bankAccount.js.map +1 -0
  1354. package/dist/gen/model/payroll-uk/benefit.d.ts +79 -0
  1355. package/dist/gen/model/payroll-uk/benefit.js +95 -0
  1356. package/dist/gen/model/payroll-uk/benefit.js.map +1 -0
  1357. package/dist/gen/model/payroll-uk/benefitLine.d.ts +33 -0
  1358. package/dist/gen/model/payroll-uk/benefitLine.js +38 -0
  1359. package/dist/gen/model/payroll-uk/benefitLine.js.map +1 -0
  1360. package/dist/gen/model/payroll-uk/benefitObject.d.ts +19 -0
  1361. package/dist/gen/model/payroll-uk/benefitObject.js +28 -0
  1362. package/dist/gen/model/payroll-uk/benefitObject.js.map +1 -0
  1363. package/dist/gen/model/payroll-uk/benefits.d.ts +19 -0
  1364. package/dist/gen/model/payroll-uk/benefits.js +28 -0
  1365. package/dist/gen/model/payroll-uk/benefits.js.map +1 -0
  1366. package/dist/gen/model/payroll-uk/courtOrderLine.d.ts +21 -0
  1367. package/dist/gen/model/payroll-uk/courtOrderLine.js +23 -0
  1368. package/dist/gen/model/payroll-uk/courtOrderLine.js.map +1 -0
  1369. package/dist/gen/model/payroll-uk/deduction.d.ts +95 -0
  1370. package/dist/gen/model/payroll-uk/deduction.js +113 -0
  1371. package/dist/gen/model/payroll-uk/deduction.js.map +1 -0
  1372. package/dist/gen/model/payroll-uk/deductionLine.d.ts +29 -0
  1373. package/dist/gen/model/payroll-uk/deductionLine.js +33 -0
  1374. package/dist/gen/model/payroll-uk/deductionLine.js.map +1 -0
  1375. package/dist/gen/model/payroll-uk/deductionObject.d.ts +19 -0
  1376. package/dist/gen/model/payroll-uk/deductionObject.js +28 -0
  1377. package/dist/gen/model/payroll-uk/deductionObject.js.map +1 -0
  1378. package/dist/gen/model/payroll-uk/deductions.d.ts +19 -0
  1379. package/dist/gen/model/payroll-uk/deductions.js +28 -0
  1380. package/dist/gen/model/payroll-uk/deductions.js.map +1 -0
  1381. package/dist/gen/model/payroll-uk/earningsLine.d.ts +49 -0
  1382. package/dist/gen/model/payroll-uk/earningsLine.js +58 -0
  1383. package/dist/gen/model/payroll-uk/earningsLine.js.map +1 -0
  1384. package/dist/gen/model/payroll-uk/earningsOrder.d.ts +31 -0
  1385. package/dist/gen/model/payroll-uk/earningsOrder.js +38 -0
  1386. package/dist/gen/model/payroll-uk/earningsOrder.js.map +1 -0
  1387. package/dist/gen/model/payroll-uk/earningsOrderObject.d.ts +19 -0
  1388. package/dist/gen/model/payroll-uk/earningsOrderObject.js +28 -0
  1389. package/dist/gen/model/payroll-uk/earningsOrderObject.js.map +1 -0
  1390. package/dist/gen/model/payroll-uk/earningsOrders.d.ts +19 -0
  1391. package/dist/gen/model/payroll-uk/earningsOrders.js +28 -0
  1392. package/dist/gen/model/payroll-uk/earningsOrders.js.map +1 -0
  1393. package/dist/gen/model/payroll-uk/earningsRate.d.ts +85 -0
  1394. package/dist/gen/model/payroll-uk/earningsRate.js +97 -0
  1395. package/dist/gen/model/payroll-uk/earningsRate.js.map +1 -0
  1396. package/dist/gen/model/payroll-uk/earningsRateObject.d.ts +19 -0
  1397. package/dist/gen/model/payroll-uk/earningsRateObject.js +28 -0
  1398. package/dist/gen/model/payroll-uk/earningsRateObject.js.map +1 -0
  1399. package/dist/gen/model/payroll-uk/earningsRates.d.ts +19 -0
  1400. package/dist/gen/model/payroll-uk/earningsRates.js +28 -0
  1401. package/dist/gen/model/payroll-uk/earningsRates.js.map +1 -0
  1402. package/dist/gen/model/payroll-uk/earningsTemplate.d.ts +37 -0
  1403. package/dist/gen/model/payroll-uk/earningsTemplate.js +43 -0
  1404. package/dist/gen/model/payroll-uk/earningsTemplate.js.map +1 -0
  1405. package/dist/gen/model/payroll-uk/earningsTemplateObject.d.ts +19 -0
  1406. package/dist/gen/model/payroll-uk/earningsTemplateObject.js +28 -0
  1407. package/dist/gen/model/payroll-uk/earningsTemplateObject.js.map +1 -0
  1408. package/dist/gen/model/payroll-uk/employee.d.ts +81 -0
  1409. package/dist/gen/model/payroll-uk/employee.js +100 -0
  1410. package/dist/gen/model/payroll-uk/employee.js.map +1 -0
  1411. package/dist/gen/model/payroll-uk/employeeLeave.d.ts +42 -0
  1412. package/dist/gen/model/payroll-uk/employeeLeave.js +48 -0
  1413. package/dist/gen/model/payroll-uk/employeeLeave.js.map +1 -0
  1414. package/dist/gen/model/payroll-uk/employeeLeaveBalance.d.ts +29 -0
  1415. package/dist/gen/model/payroll-uk/employeeLeaveBalance.js +33 -0
  1416. package/dist/gen/model/payroll-uk/employeeLeaveBalance.js.map +1 -0
  1417. package/dist/gen/model/payroll-uk/employeeLeaveBalances.d.ts +19 -0
  1418. package/dist/gen/model/payroll-uk/employeeLeaveBalances.js +28 -0
  1419. package/dist/gen/model/payroll-uk/employeeLeaveBalances.js.map +1 -0
  1420. package/dist/gen/model/payroll-uk/employeeLeaveObject.d.ts +19 -0
  1421. package/dist/gen/model/payroll-uk/employeeLeaveObject.js +28 -0
  1422. package/dist/gen/model/payroll-uk/employeeLeaveObject.js.map +1 -0
  1423. package/dist/gen/model/payroll-uk/employeeLeaveType.d.ts +49 -0
  1424. package/dist/gen/model/payroll-uk/employeeLeaveType.js +57 -0
  1425. package/dist/gen/model/payroll-uk/employeeLeaveType.js.map +1 -0
  1426. package/dist/gen/model/payroll-uk/employeeLeaveTypeObject.d.ts +19 -0
  1427. package/dist/gen/model/payroll-uk/employeeLeaveTypeObject.js +28 -0
  1428. package/dist/gen/model/payroll-uk/employeeLeaveTypeObject.js.map +1 -0
  1429. package/dist/gen/model/payroll-uk/employeeLeaveTypes.d.ts +19 -0
  1430. package/dist/gen/model/payroll-uk/employeeLeaveTypes.js +28 -0
  1431. package/dist/gen/model/payroll-uk/employeeLeaveTypes.js.map +1 -0
  1432. package/dist/gen/model/payroll-uk/employeeLeaves.d.ts +19 -0
  1433. package/dist/gen/model/payroll-uk/employeeLeaves.js +28 -0
  1434. package/dist/gen/model/payroll-uk/employeeLeaves.js.map +1 -0
  1435. package/dist/gen/model/payroll-uk/employeeObject.d.ts +19 -0
  1436. package/dist/gen/model/payroll-uk/employeeObject.js +28 -0
  1437. package/dist/gen/model/payroll-uk/employeeObject.js.map +1 -0
  1438. package/dist/gen/model/payroll-uk/employeeOpeningBalances.d.ts +37 -0
  1439. package/dist/gen/model/payroll-uk/employeeOpeningBalances.js +43 -0
  1440. package/dist/gen/model/payroll-uk/employeeOpeningBalances.js.map +1 -0
  1441. package/dist/gen/model/payroll-uk/employeeOpeningBalancesObject.d.ts +19 -0
  1442. package/dist/gen/model/payroll-uk/employeeOpeningBalancesObject.js +28 -0
  1443. package/dist/gen/model/payroll-uk/employeeOpeningBalancesObject.js.map +1 -0
  1444. package/dist/gen/model/payroll-uk/employeePayTemplate.d.ts +19 -0
  1445. package/dist/gen/model/payroll-uk/employeePayTemplate.js +23 -0
  1446. package/dist/gen/model/payroll-uk/employeePayTemplate.js.map +1 -0
  1447. package/dist/gen/model/payroll-uk/employeePayTemplateObject.d.ts +19 -0
  1448. package/dist/gen/model/payroll-uk/employeePayTemplateObject.js +28 -0
  1449. package/dist/gen/model/payroll-uk/employeePayTemplateObject.js.map +1 -0
  1450. package/dist/gen/model/payroll-uk/employeePayTemplates.d.ts +19 -0
  1451. package/dist/gen/model/payroll-uk/employeePayTemplates.js +28 -0
  1452. package/dist/gen/model/payroll-uk/employeePayTemplates.js.map +1 -0
  1453. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalance.d.ts +37 -0
  1454. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalance.js +42 -0
  1455. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalance.js.map +1 -0
  1456. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalanceObject.d.ts +19 -0
  1457. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalanceObject.js +28 -0
  1458. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalanceObject.js.map +1 -0
  1459. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.d.ts +55 -0
  1460. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.js +64 -0
  1461. package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.js.map +1 -0
  1462. package/dist/gen/model/payroll-uk/employeeStatutoryLeavesSummaries.d.ts +19 -0
  1463. package/dist/gen/model/payroll-uk/employeeStatutoryLeavesSummaries.js +28 -0
  1464. package/dist/gen/model/payroll-uk/employeeStatutoryLeavesSummaries.js.map +1 -0
  1465. package/dist/gen/model/payroll-uk/employeeStatutorySickLeave.d.ts +87 -0
  1466. package/dist/gen/model/payroll-uk/employeeStatutorySickLeave.js +104 -0
  1467. package/dist/gen/model/payroll-uk/employeeStatutorySickLeave.js.map +1 -0
  1468. package/dist/gen/model/payroll-uk/employeeStatutorySickLeaveObject.d.ts +19 -0
  1469. package/dist/gen/model/payroll-uk/employeeStatutorySickLeaveObject.js +28 -0
  1470. package/dist/gen/model/payroll-uk/employeeStatutorySickLeaveObject.js.map +1 -0
  1471. package/dist/gen/model/payroll-uk/employeeStatutorySickLeaves.d.ts +19 -0
  1472. package/dist/gen/model/payroll-uk/employeeStatutorySickLeaves.js +28 -0
  1473. package/dist/gen/model/payroll-uk/employeeStatutorySickLeaves.js.map +1 -0
  1474. package/dist/gen/model/payroll-uk/employeeTax.d.ts +57 -0
  1475. package/dist/gen/model/payroll-uk/employeeTax.js +68 -0
  1476. package/dist/gen/model/payroll-uk/employeeTax.js.map +1 -0
  1477. package/dist/gen/model/payroll-uk/employeeTaxObject.d.ts +19 -0
  1478. package/dist/gen/model/payroll-uk/employeeTaxObject.js +28 -0
  1479. package/dist/gen/model/payroll-uk/employeeTaxObject.js.map +1 -0
  1480. package/dist/gen/model/payroll-uk/employees.d.ts +19 -0
  1481. package/dist/gen/model/payroll-uk/employees.js +28 -0
  1482. package/dist/gen/model/payroll-uk/employees.js.map +1 -0
  1483. package/dist/gen/model/payroll-uk/employment.d.ts +46 -0
  1484. package/dist/gen/model/payroll-uk/employment.js +51 -0
  1485. package/dist/gen/model/payroll-uk/employment.js.map +1 -0
  1486. package/dist/gen/model/payroll-uk/employmentObject.d.ts +19 -0
  1487. package/dist/gen/model/payroll-uk/employmentObject.js +28 -0
  1488. package/dist/gen/model/payroll-uk/employmentObject.js.map +1 -0
  1489. package/dist/gen/model/payroll-uk/invalidField.d.ts +21 -0
  1490. package/dist/gen/model/payroll-uk/invalidField.js +23 -0
  1491. package/dist/gen/model/payroll-uk/invalidField.js.map +1 -0
  1492. package/dist/gen/model/payroll-uk/leaveAccrualLine.d.ts +21 -0
  1493. package/dist/gen/model/payroll-uk/leaveAccrualLine.js +23 -0
  1494. package/dist/gen/model/payroll-uk/leaveAccrualLine.js.map +1 -0
  1495. package/dist/gen/model/payroll-uk/leaveEarningsLine.d.ts +37 -0
  1496. package/dist/gen/model/payroll-uk/leaveEarningsLine.js +43 -0
  1497. package/dist/gen/model/payroll-uk/leaveEarningsLine.js.map +1 -0
  1498. package/dist/gen/model/payroll-uk/leavePeriod.d.ts +35 -0
  1499. package/dist/gen/model/payroll-uk/leavePeriod.js +40 -0
  1500. package/dist/gen/model/payroll-uk/leavePeriod.js.map +1 -0
  1501. package/dist/gen/model/payroll-uk/leavePeriods.d.ts +19 -0
  1502. package/dist/gen/model/payroll-uk/leavePeriods.js +28 -0
  1503. package/dist/gen/model/payroll-uk/leavePeriods.js.map +1 -0
  1504. package/dist/gen/model/payroll-uk/leaveType.d.ts +45 -0
  1505. package/dist/gen/model/payroll-uk/leaveType.js +53 -0
  1506. package/dist/gen/model/payroll-uk/leaveType.js.map +1 -0
  1507. package/dist/gen/model/payroll-uk/leaveTypeObject.d.ts +19 -0
  1508. package/dist/gen/model/payroll-uk/leaveTypeObject.js +28 -0
  1509. package/dist/gen/model/payroll-uk/leaveTypeObject.js.map +1 -0
  1510. package/dist/gen/model/payroll-uk/leaveTypes.d.ts +19 -0
  1511. package/dist/gen/model/payroll-uk/leaveTypes.js +28 -0
  1512. package/dist/gen/model/payroll-uk/leaveTypes.js.map +1 -0
  1513. package/dist/gen/model/payroll-uk/models.d.ts +124 -0
  1514. package/dist/gen/model/payroll-uk/models.js +514 -0
  1515. package/dist/gen/model/payroll-uk/models.js.map +1 -0
  1516. package/dist/gen/model/payroll-uk/pagination.d.ts +17 -0
  1517. package/dist/gen/model/payroll-uk/pagination.js +33 -0
  1518. package/dist/gen/model/payroll-uk/pagination.js.map +1 -0
  1519. package/dist/gen/model/payroll-uk/payRun.d.ts +78 -0
  1520. package/dist/gen/model/payroll-uk/payRun.js +95 -0
  1521. package/dist/gen/model/payroll-uk/payRun.js.map +1 -0
  1522. package/dist/gen/model/payroll-uk/payRunCalendar.d.ts +51 -0
  1523. package/dist/gen/model/payroll-uk/payRunCalendar.js +59 -0
  1524. package/dist/gen/model/payroll-uk/payRunCalendar.js.map +1 -0
  1525. package/dist/gen/model/payroll-uk/payRunCalendarObject.d.ts +19 -0
  1526. package/dist/gen/model/payroll-uk/payRunCalendarObject.js +28 -0
  1527. package/dist/gen/model/payroll-uk/payRunCalendarObject.js.map +1 -0
  1528. package/dist/gen/model/payroll-uk/payRunCalendars.d.ts +19 -0
  1529. package/dist/gen/model/payroll-uk/payRunCalendars.js +28 -0
  1530. package/dist/gen/model/payroll-uk/payRunCalendars.js.map +1 -0
  1531. package/dist/gen/model/payroll-uk/payRunObject.d.ts +19 -0
  1532. package/dist/gen/model/payroll-uk/payRunObject.js +28 -0
  1533. package/dist/gen/model/payroll-uk/payRunObject.js.map +1 -0
  1534. package/dist/gen/model/payroll-uk/payRuns.d.ts +19 -0
  1535. package/dist/gen/model/payroll-uk/payRuns.js +28 -0
  1536. package/dist/gen/model/payroll-uk/payRuns.js.map +1 -0
  1537. package/dist/gen/model/payroll-uk/paymentLine.d.ts +33 -0
  1538. package/dist/gen/model/payroll-uk/paymentLine.js +38 -0
  1539. package/dist/gen/model/payroll-uk/paymentLine.js.map +1 -0
  1540. package/dist/gen/model/payroll-uk/paymentMethod.d.ts +26 -0
  1541. package/dist/gen/model/payroll-uk/paymentMethod.js +31 -0
  1542. package/dist/gen/model/payroll-uk/paymentMethod.js.map +1 -0
  1543. package/dist/gen/model/payroll-uk/paymentMethodObject.d.ts +19 -0
  1544. package/dist/gen/model/payroll-uk/paymentMethodObject.js +28 -0
  1545. package/dist/gen/model/payroll-uk/paymentMethodObject.js.map +1 -0
  1546. package/dist/gen/model/payroll-uk/payslip.d.ts +109 -0
  1547. package/dist/gen/model/payroll-uk/payslip.js +161 -0
  1548. package/dist/gen/model/payroll-uk/payslip.js.map +1 -0
  1549. package/dist/gen/model/payroll-uk/payslipObject.d.ts +19 -0
  1550. package/dist/gen/model/payroll-uk/payslipObject.js +28 -0
  1551. package/dist/gen/model/payroll-uk/payslipObject.js.map +1 -0
  1552. package/dist/gen/model/payroll-uk/payslips.d.ts +19 -0
  1553. package/dist/gen/model/payroll-uk/payslips.js +28 -0
  1554. package/dist/gen/model/payroll-uk/payslips.js.map +1 -0
  1555. package/dist/gen/model/payroll-uk/problem.d.ts +35 -0
  1556. package/dist/gen/model/payroll-uk/problem.js +46 -0
  1557. package/dist/gen/model/payroll-uk/problem.js.map +1 -0
  1558. package/dist/gen/model/payroll-uk/reimbursement.d.ts +29 -0
  1559. package/dist/gen/model/payroll-uk/reimbursement.js +33 -0
  1560. package/dist/gen/model/payroll-uk/reimbursement.js.map +1 -0
  1561. package/dist/gen/model/payroll-uk/reimbursementLine.d.ts +25 -0
  1562. package/dist/gen/model/payroll-uk/reimbursementLine.js +28 -0
  1563. package/dist/gen/model/payroll-uk/reimbursementLine.js.map +1 -0
  1564. package/dist/gen/model/payroll-uk/reimbursementObject.d.ts +19 -0
  1565. package/dist/gen/model/payroll-uk/reimbursementObject.js +28 -0
  1566. package/dist/gen/model/payroll-uk/reimbursementObject.js.map +1 -0
  1567. package/dist/gen/model/payroll-uk/reimbursements.d.ts +19 -0
  1568. package/dist/gen/model/payroll-uk/reimbursements.js +28 -0
  1569. package/dist/gen/model/payroll-uk/reimbursements.js.map +1 -0
  1570. package/dist/gen/model/payroll-uk/salaryAndWage.d.ts +60 -0
  1571. package/dist/gen/model/payroll-uk/salaryAndWage.js +71 -0
  1572. package/dist/gen/model/payroll-uk/salaryAndWage.js.map +1 -0
  1573. package/dist/gen/model/payroll-uk/salaryAndWageObject.d.ts +19 -0
  1574. package/dist/gen/model/payroll-uk/salaryAndWageObject.js +28 -0
  1575. package/dist/gen/model/payroll-uk/salaryAndWageObject.js.map +1 -0
  1576. package/dist/gen/model/payroll-uk/salaryAndWages.d.ts +19 -0
  1577. package/dist/gen/model/payroll-uk/salaryAndWages.js +28 -0
  1578. package/dist/gen/model/payroll-uk/salaryAndWages.js.map +1 -0
  1579. package/dist/gen/model/payroll-uk/settings.d.ts +19 -0
  1580. package/dist/gen/model/payroll-uk/settings.js +28 -0
  1581. package/dist/gen/model/payroll-uk/settings.js.map +1 -0
  1582. package/dist/gen/model/payroll-uk/statutoryDeduction.d.ts +31 -0
  1583. package/dist/gen/model/payroll-uk/statutoryDeduction.js +38 -0
  1584. package/dist/gen/model/payroll-uk/statutoryDeduction.js.map +1 -0
  1585. package/dist/gen/model/payroll-uk/statutoryDeductionCategory.d.ts +19 -0
  1586. package/dist/gen/model/payroll-uk/statutoryDeductionCategory.js +24 -0
  1587. package/dist/gen/model/payroll-uk/statutoryDeductionCategory.js.map +1 -0
  1588. package/dist/gen/model/payroll-uk/taxLine.d.ts +37 -0
  1589. package/dist/gen/model/payroll-uk/taxLine.js +43 -0
  1590. package/dist/gen/model/payroll-uk/taxLine.js.map +1 -0
  1591. package/dist/gen/model/payroll-uk/timesheet.d.ts +54 -0
  1592. package/dist/gen/model/payroll-uk/timesheet.js +66 -0
  1593. package/dist/gen/model/payroll-uk/timesheet.js.map +1 -0
  1594. package/dist/gen/model/payroll-uk/timesheetEarningsLine.d.ts +37 -0
  1595. package/dist/gen/model/payroll-uk/timesheetEarningsLine.js +43 -0
  1596. package/dist/gen/model/payroll-uk/timesheetEarningsLine.js.map +1 -0
  1597. package/dist/gen/model/payroll-uk/timesheetLine.d.ts +33 -0
  1598. package/dist/gen/model/payroll-uk/timesheetLine.js +38 -0
  1599. package/dist/gen/model/payroll-uk/timesheetLine.js.map +1 -0
  1600. package/dist/gen/model/payroll-uk/timesheetLineObject.d.ts +19 -0
  1601. package/dist/gen/model/payroll-uk/timesheetLineObject.js +28 -0
  1602. package/dist/gen/model/payroll-uk/timesheetLineObject.js.map +1 -0
  1603. package/dist/gen/model/payroll-uk/timesheetObject.d.ts +19 -0
  1604. package/dist/gen/model/payroll-uk/timesheetObject.js +28 -0
  1605. package/dist/gen/model/payroll-uk/timesheetObject.js.map +1 -0
  1606. package/dist/gen/model/payroll-uk/timesheets.d.ts +19 -0
  1607. package/dist/gen/model/payroll-uk/timesheets.js +28 -0
  1608. package/dist/gen/model/payroll-uk/timesheets.js.map +1 -0
  1609. package/dist/gen/model/payroll-uk/trackingCategories.d.ts +19 -0
  1610. package/dist/gen/model/payroll-uk/trackingCategories.js +28 -0
  1611. package/dist/gen/model/payroll-uk/trackingCategories.js.map +1 -0
  1612. package/dist/gen/model/payroll-uk/trackingCategory.d.ts +21 -0
  1613. package/dist/gen/model/payroll-uk/trackingCategory.js +23 -0
  1614. package/dist/gen/model/payroll-uk/trackingCategory.js.map +1 -0
  1615. package/dist/gen/model/projects/amount.d.ts +16 -0
  1616. package/dist/gen/model/projects/amount.js +23 -0
  1617. package/dist/gen/model/projects/amount.js.map +1 -0
  1618. package/dist/gen/model/projects/chargeType.d.ts +8 -0
  1619. package/dist/gen/model/projects/chargeType.js +13 -0
  1620. package/dist/gen/model/projects/chargeType.js.map +1 -0
  1621. package/dist/gen/model/projects/currencyCode.d.ts +168 -0
  1622. package/dist/gen/model/projects/currencyCode.js +173 -0
  1623. package/dist/gen/model/projects/currencyCode.js.map +1 -0
  1624. package/dist/gen/model/projects/modelError.d.ts +21 -0
  1625. package/dist/gen/model/projects/modelError.js +23 -0
  1626. package/dist/gen/model/projects/modelError.js.map +1 -0
  1627. package/dist/gen/model/projects/models.d.ts +52 -0
  1628. package/dist/gen/model/projects/models.js +275 -0
  1629. package/dist/gen/model/projects/models.js.map +1 -0
  1630. package/dist/gen/model/projects/pagination.d.ts +29 -0
  1631. package/dist/gen/model/projects/pagination.js +33 -0
  1632. package/dist/gen/model/projects/pagination.js.map +1 -0
  1633. package/dist/gen/model/projects/project.d.ts +56 -0
  1634. package/dist/gen/model/projects/project.js +123 -0
  1635. package/dist/gen/model/projects/project.js.map +1 -0
  1636. package/dist/gen/model/projects/projectCreateOrUpdate.d.ts +26 -0
  1637. package/dist/gen/model/projects/projectCreateOrUpdate.js +33 -0
  1638. package/dist/gen/model/projects/projectCreateOrUpdate.js.map +1 -0
  1639. package/dist/gen/model/projects/projectPatch.d.ts +15 -0
  1640. package/dist/gen/model/projects/projectPatch.js +18 -0
  1641. package/dist/gen/model/projects/projectPatch.js.map +1 -0
  1642. package/dist/gen/model/projects/projectStatus.d.ts +7 -0
  1643. package/dist/gen/model/projects/projectStatus.js +12 -0
  1644. package/dist/gen/model/projects/projectStatus.js.map +1 -0
  1645. package/dist/gen/model/projects/projectUser.d.ts +25 -0
  1646. package/dist/gen/model/projects/projectUser.js +28 -0
  1647. package/dist/gen/model/projects/projectUser.js.map +1 -0
  1648. package/dist/gen/model/projects/projectUsers.d.ts +17 -0
  1649. package/dist/gen/model/projects/projectUsers.js +23 -0
  1650. package/dist/gen/model/projects/projectUsers.js.map +1 -0
  1651. package/dist/gen/model/projects/projects.d.ts +17 -0
  1652. package/dist/gen/model/projects/projects.js +23 -0
  1653. package/dist/gen/model/projects/projects.js.map +1 -0
  1654. package/dist/gen/model/projects/task.d.ts +67 -0
  1655. package/dist/gen/model/projects/task.js +96 -0
  1656. package/dist/gen/model/projects/task.js.map +1 -0
  1657. package/dist/gen/model/projects/taskCreateOrUpdate.d.ts +25 -0
  1658. package/dist/gen/model/projects/taskCreateOrUpdate.js +33 -0
  1659. package/dist/gen/model/projects/taskCreateOrUpdate.js.map +1 -0
  1660. package/dist/gen/model/projects/tasks.d.ts +17 -0
  1661. package/dist/gen/model/projects/tasks.js +23 -0
  1662. package/dist/gen/model/projects/tasks.js.map +1 -0
  1663. package/dist/gen/model/projects/timeEntries.d.ts +17 -0
  1664. package/dist/gen/model/projects/timeEntries.js +23 -0
  1665. package/dist/gen/model/projects/timeEntries.js.map +1 -0
  1666. package/dist/gen/model/projects/timeEntry.d.ts +56 -0
  1667. package/dist/gen/model/projects/timeEntry.js +66 -0
  1668. package/dist/gen/model/projects/timeEntry.js.map +1 -0
  1669. package/dist/gen/model/projects/timeEntryCreateOrUpdate.d.ts +33 -0
  1670. package/dist/gen/model/projects/timeEntryCreateOrUpdate.js +38 -0
  1671. package/dist/gen/model/projects/timeEntryCreateOrUpdate.js.map +1 -0
  1672. package/dist/index.d.ts +3 -0
  1673. package/dist/index.js +20 -0
  1674. package/dist/index.js.map +1 -0
  1675. package/dist/model/ApiError.d.ts +30 -0
  1676. package/dist/model/ApiError.js +34 -0
  1677. package/dist/model/ApiError.js.map +1 -0
  1678. package/package.json +1 -1
@@ -0,0 +1,3803 @@
1
+ /**
2
+ * Xero Accounting API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 6.3.0
6
+ * Contact: api@xero.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /// <reference types="node" />
13
+ /// <reference types="node" />
14
+ /// <reference types="node" />
15
+ import fs = require('fs');
16
+ import { Account } from '../model/accounting/account';
17
+ import { Accounts } from '../model/accounting/accounts';
18
+ import { Actions } from '../model/accounting/actions';
19
+ import { Allocation } from '../model/accounting/allocation';
20
+ import { Allocations } from '../model/accounting/allocations';
21
+ import { Attachments } from '../model/accounting/attachments';
22
+ import { BankTransactions } from '../model/accounting/bankTransactions';
23
+ import { BankTransfers } from '../model/accounting/bankTransfers';
24
+ import { BatchPaymentDelete } from '../model/accounting/batchPaymentDelete';
25
+ import { BatchPaymentDeleteByUrlParam } from '../model/accounting/batchPaymentDeleteByUrlParam';
26
+ import { BatchPayments } from '../model/accounting/batchPayments';
27
+ import { BrandingThemes } from '../model/accounting/brandingThemes';
28
+ import { Budgets } from '../model/accounting/budgets';
29
+ import { CISOrgSettings } from '../model/accounting/cISOrgSettings';
30
+ import { CISSettings } from '../model/accounting/cISSettings';
31
+ import { ContactGroups } from '../model/accounting/contactGroups';
32
+ import { Contacts } from '../model/accounting/contacts';
33
+ import { CreditNotes } from '../model/accounting/creditNotes';
34
+ import { Currencies } from '../model/accounting/currencies';
35
+ import { Currency } from '../model/accounting/currency';
36
+ import { Employees } from '../model/accounting/employees';
37
+ import { ExpenseClaims } from '../model/accounting/expenseClaims';
38
+ import { HistoryRecords } from '../model/accounting/historyRecords';
39
+ import { ImportSummaryObject } from '../model/accounting/importSummaryObject';
40
+ import { InvoiceReminders } from '../model/accounting/invoiceReminders';
41
+ import { Invoices } from '../model/accounting/invoices';
42
+ import { Items } from '../model/accounting/items';
43
+ import { Journals } from '../model/accounting/journals';
44
+ import { LinkedTransaction } from '../model/accounting/linkedTransaction';
45
+ import { LinkedTransactions } from '../model/accounting/linkedTransactions';
46
+ import { ManualJournals } from '../model/accounting/manualJournals';
47
+ import { OnlineInvoices } from '../model/accounting/onlineInvoices';
48
+ import { Organisations } from '../model/accounting/organisations';
49
+ import { Overpayments } from '../model/accounting/overpayments';
50
+ import { Payment } from '../model/accounting/payment';
51
+ import { PaymentDelete } from '../model/accounting/paymentDelete';
52
+ import { PaymentServices } from '../model/accounting/paymentServices';
53
+ import { Payments } from '../model/accounting/payments';
54
+ import { Prepayments } from '../model/accounting/prepayments';
55
+ import { PurchaseOrders } from '../model/accounting/purchaseOrders';
56
+ import { Quotes } from '../model/accounting/quotes';
57
+ import { Receipts } from '../model/accounting/receipts';
58
+ import { RepeatingInvoices } from '../model/accounting/repeatingInvoices';
59
+ import { ReportWithRows } from '../model/accounting/reportWithRows';
60
+ import { Reports } from '../model/accounting/reports';
61
+ import { RequestEmpty } from '../model/accounting/requestEmpty';
62
+ import { Setup } from '../model/accounting/setup';
63
+ import { TaxRates } from '../model/accounting/taxRates';
64
+ import { TrackingCategories } from '../model/accounting/trackingCategories';
65
+ import { TrackingCategory } from '../model/accounting/trackingCategory';
66
+ import { TrackingOption } from '../model/accounting/trackingOption';
67
+ import { TrackingOptions } from '../model/accounting/trackingOptions';
68
+ import { Users } from '../model/accounting/users';
69
+ import { Authentication } from '../model/accounting/models';
70
+ import { AxiosResponse } from 'axios';
71
+ import { Readable } from "stream";
72
+ import { OAuth } from '../model/accounting/models';
73
+ export declare enum AccountingApiApiKeys {
74
+ }
75
+ export declare class AccountingApi {
76
+ protected _basePath: string;
77
+ protected defaultHeaders: any;
78
+ protected _useQuerystring: boolean;
79
+ protected binaryHeaders: any;
80
+ protected authentications: {
81
+ default: Authentication;
82
+ OAuth2: OAuth;
83
+ };
84
+ constructor(basePath?: string);
85
+ set useQuerystring(value: boolean);
86
+ set basePath(basePath: string);
87
+ get basePath(): string;
88
+ setDefaultAuthentication(auth: Authentication): void;
89
+ setApiKey(key: AccountingApiApiKeys, value: string): void;
90
+ set accessToken(token: string);
91
+ /**
92
+ *
93
+ * @summary Creates a new chart of accounts
94
+ * @param xeroTenantId Xero identifier for Tenant
95
+ * @param account Account object in body of request
96
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
97
+ */
98
+ createAccount(xeroTenantId: string, account: Account, idempotencyKey?: string, options?: {
99
+ headers: {
100
+ [name: string]: string;
101
+ };
102
+ }): Promise<{
103
+ response: AxiosResponse;
104
+ body: Accounts;
105
+ }>;
106
+ /**
107
+ *
108
+ * @summary Creates an attachment on a specific account
109
+ * @param xeroTenantId Xero identifier for Tenant
110
+ * @param accountID Unique identifier for Account object
111
+ * @param fileName Name of the attachment
112
+ * @param body Byte array of file in body of request
113
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
114
+ */
115
+ createAccountAttachmentByFileName(xeroTenantId: string, accountID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
116
+ headers: {
117
+ [name: string]: string;
118
+ };
119
+ }): Promise<{
120
+ response: AxiosResponse;
121
+ body: Attachments;
122
+ }>;
123
+ /**
124
+ *
125
+ * @summary Creates an attachment for a specific bank transaction by filename
126
+ * @param xeroTenantId Xero identifier for Tenant
127
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
128
+ * @param fileName Name of the attachment
129
+ * @param body Byte array of file in body of request
130
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
131
+ */
132
+ createBankTransactionAttachmentByFileName(xeroTenantId: string, bankTransactionID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
133
+ headers: {
134
+ [name: string]: string;
135
+ };
136
+ }): Promise<{
137
+ response: AxiosResponse;
138
+ body: Attachments;
139
+ }>;
140
+ /**
141
+ *
142
+ * @summary Creates a history record for a specific bank transactions
143
+ * @param xeroTenantId Xero identifier for Tenant
144
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
145
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
146
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
147
+ */
148
+ createBankTransactionHistoryRecord(xeroTenantId: string, bankTransactionID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
149
+ headers: {
150
+ [name: string]: string;
151
+ };
152
+ }): Promise<{
153
+ response: AxiosResponse;
154
+ body: HistoryRecords;
155
+ }>;
156
+ /**
157
+ *
158
+ * @summary Creates one or more spent or received money transaction
159
+ * @param xeroTenantId Xero identifier for Tenant
160
+ * @param bankTransactions BankTransactions with an array of BankTransaction objects in body of request
161
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
162
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
163
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
164
+ */
165
+ createBankTransactions(xeroTenantId: string, bankTransactions: BankTransactions, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
166
+ headers: {
167
+ [name: string]: string;
168
+ };
169
+ }): Promise<{
170
+ response: AxiosResponse;
171
+ body: BankTransactions;
172
+ }>;
173
+ /**
174
+ *
175
+ * @summary Creates a bank transfer
176
+ * @param xeroTenantId Xero identifier for Tenant
177
+ * @param bankTransfers BankTransfers with array of BankTransfer objects in request body
178
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
179
+ */
180
+ createBankTransfer(xeroTenantId: string, bankTransfers: BankTransfers, idempotencyKey?: string, options?: {
181
+ headers: {
182
+ [name: string]: string;
183
+ };
184
+ }): Promise<{
185
+ response: AxiosResponse;
186
+ body: BankTransfers;
187
+ }>;
188
+ /**
189
+ *
190
+ * @param xeroTenantId Xero identifier for Tenant
191
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
192
+ * @param fileName Name of the attachment
193
+ * @param body Byte array of file in body of request
194
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
195
+ */
196
+ createBankTransferAttachmentByFileName(xeroTenantId: string, bankTransferID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
197
+ headers: {
198
+ [name: string]: string;
199
+ };
200
+ }): Promise<{
201
+ response: AxiosResponse;
202
+ body: Attachments;
203
+ }>;
204
+ /**
205
+ *
206
+ * @summary Creates a history record for a specific bank transfer
207
+ * @param xeroTenantId Xero identifier for Tenant
208
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
209
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
210
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
211
+ */
212
+ createBankTransferHistoryRecord(xeroTenantId: string, bankTransferID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
213
+ headers: {
214
+ [name: string]: string;
215
+ };
216
+ }): Promise<{
217
+ response: AxiosResponse;
218
+ body: HistoryRecords;
219
+ }>;
220
+ /**
221
+ *
222
+ * @summary Creates one or many batch payments for invoices
223
+ * @param xeroTenantId Xero identifier for Tenant
224
+ * @param batchPayments BatchPayments with an array of Payments in body of request
225
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
226
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
227
+ */
228
+ createBatchPayment(xeroTenantId: string, batchPayments: BatchPayments, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
229
+ headers: {
230
+ [name: string]: string;
231
+ };
232
+ }): Promise<{
233
+ response: AxiosResponse;
234
+ body: BatchPayments;
235
+ }>;
236
+ /**
237
+ *
238
+ * @summary Creates a history record for a specific batch payment
239
+ * @param xeroTenantId Xero identifier for Tenant
240
+ * @param batchPaymentID Unique identifier for BatchPayment
241
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
242
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
243
+ */
244
+ createBatchPaymentHistoryRecord(xeroTenantId: string, batchPaymentID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
245
+ headers: {
246
+ [name: string]: string;
247
+ };
248
+ }): Promise<{
249
+ response: AxiosResponse;
250
+ body: HistoryRecords;
251
+ }>;
252
+ /**
253
+ *
254
+ * @summary Creates a new custom payment service for a specific branding theme
255
+ * @param xeroTenantId Xero identifier for Tenant
256
+ * @param brandingThemeID Unique identifier for a Branding Theme
257
+ * @param paymentServices PaymentServices array with PaymentService object in body of request
258
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
259
+ */
260
+ createBrandingThemePaymentServices(xeroTenantId: string, brandingThemeID: string, paymentServices: PaymentServices, idempotencyKey?: string, options?: {
261
+ headers: {
262
+ [name: string]: string;
263
+ };
264
+ }): Promise<{
265
+ response: AxiosResponse;
266
+ body: PaymentServices;
267
+ }>;
268
+ /**
269
+ *
270
+ * @param xeroTenantId Xero identifier for Tenant
271
+ * @param contactID Unique identifier for a Contact
272
+ * @param fileName Name of the attachment
273
+ * @param body Byte array of file in body of request
274
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
275
+ */
276
+ createContactAttachmentByFileName(xeroTenantId: string, contactID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
277
+ headers: {
278
+ [name: string]: string;
279
+ };
280
+ }): Promise<{
281
+ response: AxiosResponse;
282
+ body: Attachments;
283
+ }>;
284
+ /**
285
+ *
286
+ * @summary Creates a contact group
287
+ * @param xeroTenantId Xero identifier for Tenant
288
+ * @param contactGroups ContactGroups with an array of names in request body
289
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
290
+ */
291
+ createContactGroup(xeroTenantId: string, contactGroups: ContactGroups, idempotencyKey?: string, options?: {
292
+ headers: {
293
+ [name: string]: string;
294
+ };
295
+ }): Promise<{
296
+ response: AxiosResponse;
297
+ body: ContactGroups;
298
+ }>;
299
+ /**
300
+ *
301
+ * @summary Creates contacts to a specific contact group
302
+ * @param xeroTenantId Xero identifier for Tenant
303
+ * @param contactGroupID Unique identifier for a Contact Group
304
+ * @param contacts Contacts with array of contacts specifying the ContactID to be added to ContactGroup in body of request
305
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
306
+ */
307
+ createContactGroupContacts(xeroTenantId: string, contactGroupID: string, contacts: Contacts, idempotencyKey?: string, options?: {
308
+ headers: {
309
+ [name: string]: string;
310
+ };
311
+ }): Promise<{
312
+ response: AxiosResponse;
313
+ body: Contacts;
314
+ }>;
315
+ /**
316
+ *
317
+ * @summary Creates a new history record for a specific contact
318
+ * @param xeroTenantId Xero identifier for Tenant
319
+ * @param contactID Unique identifier for a Contact
320
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
321
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
322
+ */
323
+ createContactHistory(xeroTenantId: string, contactID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
324
+ headers: {
325
+ [name: string]: string;
326
+ };
327
+ }): Promise<{
328
+ response: AxiosResponse;
329
+ body: HistoryRecords;
330
+ }>;
331
+ /**
332
+ *
333
+ * @summary Creates multiple contacts (bulk) in a Xero organisation
334
+ * @param xeroTenantId Xero identifier for Tenant
335
+ * @param contacts Contacts with an array of Contact objects to create in body of request
336
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
337
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
338
+ */
339
+ createContacts(xeroTenantId: string, contacts: Contacts, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
340
+ headers: {
341
+ [name: string]: string;
342
+ };
343
+ }): Promise<{
344
+ response: AxiosResponse;
345
+ body: Contacts;
346
+ }>;
347
+ /**
348
+ *
349
+ * @summary Creates allocation for a specific credit note
350
+ * @param xeroTenantId Xero identifier for Tenant
351
+ * @param creditNoteID Unique identifier for a Credit Note
352
+ * @param allocations Allocations with array of Allocation object in body of request.
353
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
354
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
355
+ */
356
+ createCreditNoteAllocation(xeroTenantId: string, creditNoteID: string, allocations: Allocations, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
357
+ headers: {
358
+ [name: string]: string;
359
+ };
360
+ }): Promise<{
361
+ response: AxiosResponse;
362
+ body: Allocations;
363
+ }>;
364
+ /**
365
+ *
366
+ * @summary Creates an attachment for a specific credit note
367
+ * @param xeroTenantId Xero identifier for Tenant
368
+ * @param creditNoteID Unique identifier for a Credit Note
369
+ * @param fileName Name of the attachment
370
+ * @param body Byte array of file in body of request
371
+ * @param includeOnline Allows an attachment to be seen by the end customer within their online invoice
372
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
373
+ */
374
+ createCreditNoteAttachmentByFileName(xeroTenantId: string, creditNoteID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, includeOnline?: boolean, idempotencyKey?: string, options?: {
375
+ headers: {
376
+ [name: string]: string;
377
+ };
378
+ }): Promise<{
379
+ response: AxiosResponse;
380
+ body: Attachments;
381
+ }>;
382
+ /**
383
+ *
384
+ * @summary Retrieves history records of a specific credit note
385
+ * @param xeroTenantId Xero identifier for Tenant
386
+ * @param creditNoteID Unique identifier for a Credit Note
387
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
388
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
389
+ */
390
+ createCreditNoteHistory(xeroTenantId: string, creditNoteID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
391
+ headers: {
392
+ [name: string]: string;
393
+ };
394
+ }): Promise<{
395
+ response: AxiosResponse;
396
+ body: HistoryRecords;
397
+ }>;
398
+ /**
399
+ *
400
+ * @summary Creates a new credit note
401
+ * @param xeroTenantId Xero identifier for Tenant
402
+ * @param creditNotes Credit Notes with array of CreditNote object in body of request
403
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
404
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
405
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
406
+ */
407
+ createCreditNotes(xeroTenantId: string, creditNotes: CreditNotes, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
408
+ headers: {
409
+ [name: string]: string;
410
+ };
411
+ }): Promise<{
412
+ response: AxiosResponse;
413
+ body: CreditNotes;
414
+ }>;
415
+ /**
416
+ *
417
+ * @summary Create a new currency for a Xero organisation
418
+ * @param xeroTenantId Xero identifier for Tenant
419
+ * @param currency Currency object in the body of request
420
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
421
+ */
422
+ createCurrency(xeroTenantId: string, currency: Currency, idempotencyKey?: string, options?: {
423
+ headers: {
424
+ [name: string]: string;
425
+ };
426
+ }): Promise<{
427
+ response: AxiosResponse;
428
+ body: Currencies;
429
+ }>;
430
+ /**
431
+ *
432
+ * @summary Creates new employees used in Xero payrun
433
+ * @param xeroTenantId Xero identifier for Tenant
434
+ * @param employees Employees with array of Employee object in body of request
435
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
436
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
437
+ */
438
+ createEmployees(xeroTenantId: string, employees: Employees, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
439
+ headers: {
440
+ [name: string]: string;
441
+ };
442
+ }): Promise<{
443
+ response: AxiosResponse;
444
+ body: Employees;
445
+ }>;
446
+ /**
447
+ *
448
+ * @summary Creates a history record for a specific expense claim
449
+ * @param xeroTenantId Xero identifier for Tenant
450
+ * @param expenseClaimID Unique identifier for a ExpenseClaim
451
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
452
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
453
+ */
454
+ createExpenseClaimHistory(xeroTenantId: string, expenseClaimID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
455
+ headers: {
456
+ [name: string]: string;
457
+ };
458
+ }): Promise<{
459
+ response: AxiosResponse;
460
+ body: HistoryRecords;
461
+ }>;
462
+ /**
463
+ *
464
+ * @summary Creates expense claims
465
+ * @param xeroTenantId Xero identifier for Tenant
466
+ * @param expenseClaims ExpenseClaims with array of ExpenseClaim object in body of request
467
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
468
+ */
469
+ createExpenseClaims(xeroTenantId: string, expenseClaims: ExpenseClaims, idempotencyKey?: string, options?: {
470
+ headers: {
471
+ [name: string]: string;
472
+ };
473
+ }): Promise<{
474
+ response: AxiosResponse;
475
+ body: ExpenseClaims;
476
+ }>;
477
+ /**
478
+ *
479
+ * @summary Creates an attachment for a specific invoice or purchase bill by filename
480
+ * @param xeroTenantId Xero identifier for Tenant
481
+ * @param invoiceID Unique identifier for an Invoice
482
+ * @param fileName Name of the attachment
483
+ * @param body Byte array of file in body of request
484
+ * @param includeOnline Allows an attachment to be seen by the end customer within their online invoice
485
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
486
+ */
487
+ createInvoiceAttachmentByFileName(xeroTenantId: string, invoiceID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, includeOnline?: boolean, idempotencyKey?: string, options?: {
488
+ headers: {
489
+ [name: string]: string;
490
+ };
491
+ }): Promise<{
492
+ response: AxiosResponse;
493
+ body: Attachments;
494
+ }>;
495
+ /**
496
+ *
497
+ * @summary Creates a history record for a specific invoice
498
+ * @param xeroTenantId Xero identifier for Tenant
499
+ * @param invoiceID Unique identifier for an Invoice
500
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
501
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
502
+ */
503
+ createInvoiceHistory(xeroTenantId: string, invoiceID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
504
+ headers: {
505
+ [name: string]: string;
506
+ };
507
+ }): Promise<{
508
+ response: AxiosResponse;
509
+ body: HistoryRecords;
510
+ }>;
511
+ /**
512
+ *
513
+ * @summary Creates one or more sales invoices or purchase bills
514
+ * @param xeroTenantId Xero identifier for Tenant
515
+ * @param invoices Invoices with an array of invoice objects in body of request
516
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
517
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
518
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
519
+ */
520
+ createInvoices(xeroTenantId: string, invoices: Invoices, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
521
+ headers: {
522
+ [name: string]: string;
523
+ };
524
+ }): Promise<{
525
+ response: AxiosResponse;
526
+ body: Invoices;
527
+ }>;
528
+ /**
529
+ *
530
+ * @summary Creates a history record for a specific item
531
+ * @param xeroTenantId Xero identifier for Tenant
532
+ * @param itemID Unique identifier for an Item
533
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
534
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
535
+ */
536
+ createItemHistory(xeroTenantId: string, itemID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
537
+ headers: {
538
+ [name: string]: string;
539
+ };
540
+ }): Promise<{
541
+ response: AxiosResponse;
542
+ body: HistoryRecords;
543
+ }>;
544
+ /**
545
+ *
546
+ * @summary Creates one or more items
547
+ * @param xeroTenantId Xero identifier for Tenant
548
+ * @param items Items with an array of Item objects in body of request
549
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
550
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
551
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
552
+ */
553
+ createItems(xeroTenantId: string, items: Items, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
554
+ headers: {
555
+ [name: string]: string;
556
+ };
557
+ }): Promise<{
558
+ response: AxiosResponse;
559
+ body: Items;
560
+ }>;
561
+ /**
562
+ *
563
+ * @summary Creates linked transactions (billable expenses)
564
+ * @param xeroTenantId Xero identifier for Tenant
565
+ * @param linkedTransaction LinkedTransaction object in body of request
566
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
567
+ */
568
+ createLinkedTransaction(xeroTenantId: string, linkedTransaction: LinkedTransaction, idempotencyKey?: string, options?: {
569
+ headers: {
570
+ [name: string]: string;
571
+ };
572
+ }): Promise<{
573
+ response: AxiosResponse;
574
+ body: LinkedTransactions;
575
+ }>;
576
+ /**
577
+ *
578
+ * @summary Creates a specific attachment for a specific manual journal by file name
579
+ * @param xeroTenantId Xero identifier for Tenant
580
+ * @param manualJournalID Unique identifier for a ManualJournal
581
+ * @param fileName Name of the attachment
582
+ * @param body Byte array of file in body of request
583
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
584
+ */
585
+ createManualJournalAttachmentByFileName(xeroTenantId: string, manualJournalID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
586
+ headers: {
587
+ [name: string]: string;
588
+ };
589
+ }): Promise<{
590
+ response: AxiosResponse;
591
+ body: Attachments;
592
+ }>;
593
+ /**
594
+ *
595
+ * @summary Creates a history record for a specific manual journal
596
+ * @param xeroTenantId Xero identifier for Tenant
597
+ * @param manualJournalID Unique identifier for a ManualJournal
598
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
599
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
600
+ */
601
+ createManualJournalHistoryRecord(xeroTenantId: string, manualJournalID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
602
+ headers: {
603
+ [name: string]: string;
604
+ };
605
+ }): Promise<{
606
+ response: AxiosResponse;
607
+ body: HistoryRecords;
608
+ }>;
609
+ /**
610
+ *
611
+ * @summary Creates one or more manual journals
612
+ * @param xeroTenantId Xero identifier for Tenant
613
+ * @param manualJournals ManualJournals array with ManualJournal object in body of request
614
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
615
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
616
+ */
617
+ createManualJournals(xeroTenantId: string, manualJournals: ManualJournals, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
618
+ headers: {
619
+ [name: string]: string;
620
+ };
621
+ }): Promise<{
622
+ response: AxiosResponse;
623
+ body: ManualJournals;
624
+ }>;
625
+ /**
626
+ *
627
+ * @summary Creates a single allocation for a specific overpayment
628
+ * @param xeroTenantId Xero identifier for Tenant
629
+ * @param overpaymentID Unique identifier for a Overpayment
630
+ * @param allocations Allocations array with Allocation object in body of request
631
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
632
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
633
+ */
634
+ createOverpaymentAllocations(xeroTenantId: string, overpaymentID: string, allocations: Allocations, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
635
+ headers: {
636
+ [name: string]: string;
637
+ };
638
+ }): Promise<{
639
+ response: AxiosResponse;
640
+ body: Allocations;
641
+ }>;
642
+ /**
643
+ *
644
+ * @summary Creates a history record for a specific overpayment
645
+ * @param xeroTenantId Xero identifier for Tenant
646
+ * @param overpaymentID Unique identifier for a Overpayment
647
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
648
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
649
+ */
650
+ createOverpaymentHistory(xeroTenantId: string, overpaymentID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
651
+ headers: {
652
+ [name: string]: string;
653
+ };
654
+ }): Promise<{
655
+ response: AxiosResponse;
656
+ body: HistoryRecords;
657
+ }>;
658
+ /**
659
+ *
660
+ * @summary Creates a single payment for invoice or credit notes
661
+ * @param xeroTenantId Xero identifier for Tenant
662
+ * @param payment Request body with a single Payment object
663
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
664
+ */
665
+ createPayment(xeroTenantId: string, payment: Payment, idempotencyKey?: string, options?: {
666
+ headers: {
667
+ [name: string]: string;
668
+ };
669
+ }): Promise<{
670
+ response: AxiosResponse;
671
+ body: Payments;
672
+ }>;
673
+ /**
674
+ *
675
+ * @summary Creates a history record for a specific payment
676
+ * @param xeroTenantId Xero identifier for Tenant
677
+ * @param paymentID Unique identifier for a Payment
678
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
679
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
680
+ */
681
+ createPaymentHistory(xeroTenantId: string, paymentID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
682
+ headers: {
683
+ [name: string]: string;
684
+ };
685
+ }): Promise<{
686
+ response: AxiosResponse;
687
+ body: HistoryRecords;
688
+ }>;
689
+ /**
690
+ *
691
+ * @summary Creates a payment service
692
+ * @param xeroTenantId Xero identifier for Tenant
693
+ * @param paymentServices PaymentServices array with PaymentService object in body of request
694
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
695
+ */
696
+ createPaymentService(xeroTenantId: string, paymentServices: PaymentServices, idempotencyKey?: string, options?: {
697
+ headers: {
698
+ [name: string]: string;
699
+ };
700
+ }): Promise<{
701
+ response: AxiosResponse;
702
+ body: PaymentServices;
703
+ }>;
704
+ /**
705
+ *
706
+ * @summary Creates multiple payments for invoices or credit notes
707
+ * @param xeroTenantId Xero identifier for Tenant
708
+ * @param payments Payments array with Payment object in body of request
709
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
710
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
711
+ */
712
+ createPayments(xeroTenantId: string, payments: Payments, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
713
+ headers: {
714
+ [name: string]: string;
715
+ };
716
+ }): Promise<{
717
+ response: AxiosResponse;
718
+ body: Payments;
719
+ }>;
720
+ /**
721
+ *
722
+ * @summary Allows you to create an Allocation for prepayments
723
+ * @param xeroTenantId Xero identifier for Tenant
724
+ * @param prepaymentID Unique identifier for a PrePayment
725
+ * @param allocations Allocations with an array of Allocation object in body of request
726
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
727
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
728
+ */
729
+ createPrepaymentAllocations(xeroTenantId: string, prepaymentID: string, allocations: Allocations, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
730
+ headers: {
731
+ [name: string]: string;
732
+ };
733
+ }): Promise<{
734
+ response: AxiosResponse;
735
+ body: Allocations;
736
+ }>;
737
+ /**
738
+ *
739
+ * @summary Creates a history record for a specific prepayment
740
+ * @param xeroTenantId Xero identifier for Tenant
741
+ * @param prepaymentID Unique identifier for a PrePayment
742
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
743
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
744
+ */
745
+ createPrepaymentHistory(xeroTenantId: string, prepaymentID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
746
+ headers: {
747
+ [name: string]: string;
748
+ };
749
+ }): Promise<{
750
+ response: AxiosResponse;
751
+ body: HistoryRecords;
752
+ }>;
753
+ /**
754
+ *
755
+ * @summary Creates attachment for a specific purchase order
756
+ * @param xeroTenantId Xero identifier for Tenant
757
+ * @param purchaseOrderID Unique identifier for an Purchase Order
758
+ * @param fileName Name of the attachment
759
+ * @param body Byte array of file in body of request
760
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
761
+ */
762
+ createPurchaseOrderAttachmentByFileName(xeroTenantId: string, purchaseOrderID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
763
+ headers: {
764
+ [name: string]: string;
765
+ };
766
+ }): Promise<{
767
+ response: AxiosResponse;
768
+ body: Attachments;
769
+ }>;
770
+ /**
771
+ *
772
+ * @summary Creates a history record for a specific purchase orders
773
+ * @param xeroTenantId Xero identifier for Tenant
774
+ * @param purchaseOrderID Unique identifier for an Purchase Order
775
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
776
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
777
+ */
778
+ createPurchaseOrderHistory(xeroTenantId: string, purchaseOrderID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
779
+ headers: {
780
+ [name: string]: string;
781
+ };
782
+ }): Promise<{
783
+ response: AxiosResponse;
784
+ body: HistoryRecords;
785
+ }>;
786
+ /**
787
+ *
788
+ * @summary Creates one or more purchase orders
789
+ * @param xeroTenantId Xero identifier for Tenant
790
+ * @param purchaseOrders PurchaseOrders with an array of PurchaseOrder object in body of request
791
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
792
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
793
+ */
794
+ createPurchaseOrders(xeroTenantId: string, purchaseOrders: PurchaseOrders, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
795
+ headers: {
796
+ [name: string]: string;
797
+ };
798
+ }): Promise<{
799
+ response: AxiosResponse;
800
+ body: PurchaseOrders;
801
+ }>;
802
+ /**
803
+ *
804
+ * @summary Creates attachment for a specific quote
805
+ * @param xeroTenantId Xero identifier for Tenant
806
+ * @param quoteID Unique identifier for an Quote
807
+ * @param fileName Name of the attachment
808
+ * @param body Byte array of file in body of request
809
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
810
+ */
811
+ createQuoteAttachmentByFileName(xeroTenantId: string, quoteID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
812
+ headers: {
813
+ [name: string]: string;
814
+ };
815
+ }): Promise<{
816
+ response: AxiosResponse;
817
+ body: Attachments;
818
+ }>;
819
+ /**
820
+ *
821
+ * @summary Creates a history record for a specific quote
822
+ * @param xeroTenantId Xero identifier for Tenant
823
+ * @param quoteID Unique identifier for an Quote
824
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
825
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
826
+ */
827
+ createQuoteHistory(xeroTenantId: string, quoteID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
828
+ headers: {
829
+ [name: string]: string;
830
+ };
831
+ }): Promise<{
832
+ response: AxiosResponse;
833
+ body: HistoryRecords;
834
+ }>;
835
+ /**
836
+ *
837
+ * @summary Create one or more quotes
838
+ * @param xeroTenantId Xero identifier for Tenant
839
+ * @param quotes Quotes with an array of Quote object in body of request
840
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
841
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
842
+ */
843
+ createQuotes(xeroTenantId: string, quotes: Quotes, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
844
+ headers: {
845
+ [name: string]: string;
846
+ };
847
+ }): Promise<{
848
+ response: AxiosResponse;
849
+ body: Quotes;
850
+ }>;
851
+ /**
852
+ *
853
+ * @summary Creates draft expense claim receipts for any user
854
+ * @param xeroTenantId Xero identifier for Tenant
855
+ * @param receipts Receipts with an array of Receipt object in body of request
856
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
857
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
858
+ */
859
+ createReceipt(xeroTenantId: string, receipts: Receipts, unitdp?: number, idempotencyKey?: string, options?: {
860
+ headers: {
861
+ [name: string]: string;
862
+ };
863
+ }): Promise<{
864
+ response: AxiosResponse;
865
+ body: Receipts;
866
+ }>;
867
+ /**
868
+ *
869
+ * @summary Creates an attachment on a specific expense claim receipts by file name
870
+ * @param xeroTenantId Xero identifier for Tenant
871
+ * @param receiptID Unique identifier for a Receipt
872
+ * @param fileName Name of the attachment
873
+ * @param body Byte array of file in body of request
874
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
875
+ */
876
+ createReceiptAttachmentByFileName(xeroTenantId: string, receiptID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
877
+ headers: {
878
+ [name: string]: string;
879
+ };
880
+ }): Promise<{
881
+ response: AxiosResponse;
882
+ body: Attachments;
883
+ }>;
884
+ /**
885
+ *
886
+ * @summary Creates a history record for a specific receipt
887
+ * @param xeroTenantId Xero identifier for Tenant
888
+ * @param receiptID Unique identifier for a Receipt
889
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
890
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
891
+ */
892
+ createReceiptHistory(xeroTenantId: string, receiptID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
893
+ headers: {
894
+ [name: string]: string;
895
+ };
896
+ }): Promise<{
897
+ response: AxiosResponse;
898
+ body: HistoryRecords;
899
+ }>;
900
+ /**
901
+ *
902
+ * @summary Creates an attachment from a specific repeating invoices by file name
903
+ * @param xeroTenantId Xero identifier for Tenant
904
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
905
+ * @param fileName Name of the attachment
906
+ * @param body Byte array of file in body of request
907
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
908
+ */
909
+ createRepeatingInvoiceAttachmentByFileName(xeroTenantId: string, repeatingInvoiceID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
910
+ headers: {
911
+ [name: string]: string;
912
+ };
913
+ }): Promise<{
914
+ response: AxiosResponse;
915
+ body: Attachments;
916
+ }>;
917
+ /**
918
+ *
919
+ * @summary Creates a history record for a specific repeating invoice
920
+ * @param xeroTenantId Xero identifier for Tenant
921
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
922
+ * @param historyRecords HistoryRecords containing an array of HistoryRecord objects in body of request
923
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
924
+ */
925
+ createRepeatingInvoiceHistory(xeroTenantId: string, repeatingInvoiceID: string, historyRecords: HistoryRecords, idempotencyKey?: string, options?: {
926
+ headers: {
927
+ [name: string]: string;
928
+ };
929
+ }): Promise<{
930
+ response: AxiosResponse;
931
+ body: HistoryRecords;
932
+ }>;
933
+ /**
934
+ *
935
+ * @summary Creates one or more repeating invoice templates
936
+ * @param xeroTenantId Xero identifier for Tenant
937
+ * @param repeatingInvoices RepeatingInvoices with an array of repeating invoice objects in body of request
938
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
939
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
940
+ */
941
+ createRepeatingInvoices(xeroTenantId: string, repeatingInvoices: RepeatingInvoices, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
942
+ headers: {
943
+ [name: string]: string;
944
+ };
945
+ }): Promise<{
946
+ response: AxiosResponse;
947
+ body: RepeatingInvoices;
948
+ }>;
949
+ /**
950
+ *
951
+ * @summary Creates one or more tax rates
952
+ * @param xeroTenantId Xero identifier for Tenant
953
+ * @param taxRates TaxRates array with TaxRate object in body of request
954
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
955
+ */
956
+ createTaxRates(xeroTenantId: string, taxRates: TaxRates, idempotencyKey?: string, options?: {
957
+ headers: {
958
+ [name: string]: string;
959
+ };
960
+ }): Promise<{
961
+ response: AxiosResponse;
962
+ body: TaxRates;
963
+ }>;
964
+ /**
965
+ *
966
+ * @summary Create tracking categories
967
+ * @param xeroTenantId Xero identifier for Tenant
968
+ * @param trackingCategory TrackingCategory object in body of request
969
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
970
+ */
971
+ createTrackingCategory(xeroTenantId: string, trackingCategory: TrackingCategory, idempotencyKey?: string, options?: {
972
+ headers: {
973
+ [name: string]: string;
974
+ };
975
+ }): Promise<{
976
+ response: AxiosResponse;
977
+ body: TrackingCategories;
978
+ }>;
979
+ /**
980
+ *
981
+ * @summary Creates options for a specific tracking category
982
+ * @param xeroTenantId Xero identifier for Tenant
983
+ * @param trackingCategoryID Unique identifier for a TrackingCategory
984
+ * @param trackingOption TrackingOption object in body of request
985
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
986
+ */
987
+ createTrackingOptions(xeroTenantId: string, trackingCategoryID: string, trackingOption: TrackingOption, idempotencyKey?: string, options?: {
988
+ headers: {
989
+ [name: string]: string;
990
+ };
991
+ }): Promise<{
992
+ response: AxiosResponse;
993
+ body: TrackingOptions;
994
+ }>;
995
+ /**
996
+ *
997
+ * @summary Deletes a chart of accounts
998
+ * @param xeroTenantId Xero identifier for Tenant
999
+ * @param accountID Unique identifier for Account object
1000
+ */
1001
+ deleteAccount(xeroTenantId: string, accountID: string, options?: {
1002
+ headers: {
1003
+ [name: string]: string;
1004
+ };
1005
+ }): Promise<{
1006
+ response: AxiosResponse;
1007
+ body: Accounts;
1008
+ }>;
1009
+ /**
1010
+ *
1011
+ * @summary Updates a specific batch payment for invoices and credit notes
1012
+ * @param xeroTenantId Xero identifier for Tenant
1013
+ * @param batchPaymentDelete
1014
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
1015
+ */
1016
+ deleteBatchPayment(xeroTenantId: string, batchPaymentDelete: BatchPaymentDelete, idempotencyKey?: string, options?: {
1017
+ headers: {
1018
+ [name: string]: string;
1019
+ };
1020
+ }): Promise<{
1021
+ response: AxiosResponse;
1022
+ body: BatchPayments;
1023
+ }>;
1024
+ /**
1025
+ *
1026
+ * @summary Updates a specific batch payment for invoices and credit notes
1027
+ * @param xeroTenantId Xero identifier for Tenant
1028
+ * @param batchPaymentID Unique identifier for BatchPayment
1029
+ * @param batchPaymentDeleteByUrlParam
1030
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
1031
+ */
1032
+ deleteBatchPaymentByUrlParam(xeroTenantId: string, batchPaymentID: string, batchPaymentDeleteByUrlParam: BatchPaymentDeleteByUrlParam, idempotencyKey?: string, options?: {
1033
+ headers: {
1034
+ [name: string]: string;
1035
+ };
1036
+ }): Promise<{
1037
+ response: AxiosResponse;
1038
+ body: BatchPayments;
1039
+ }>;
1040
+ /**
1041
+ *
1042
+ * @summary Deletes a specific contact from a contact group using a unique contact Id
1043
+ * @param xeroTenantId Xero identifier for Tenant
1044
+ * @param contactGroupID Unique identifier for a Contact Group
1045
+ * @param contactID Unique identifier for a Contact
1046
+ */
1047
+ deleteContactGroupContact(xeroTenantId: string, contactGroupID: string, contactID: string, options?: {
1048
+ headers: {
1049
+ [name: string]: string;
1050
+ };
1051
+ }): Promise<{
1052
+ response: AxiosResponse;
1053
+ body?: any;
1054
+ }>;
1055
+ /**
1056
+ *
1057
+ * @summary Deletes all contacts from a specific contact group
1058
+ * @param xeroTenantId Xero identifier for Tenant
1059
+ * @param contactGroupID Unique identifier for a Contact Group
1060
+ */
1061
+ deleteContactGroupContacts(xeroTenantId: string, contactGroupID: string, options?: {
1062
+ headers: {
1063
+ [name: string]: string;
1064
+ };
1065
+ }): Promise<{
1066
+ response: AxiosResponse;
1067
+ body?: any;
1068
+ }>;
1069
+ /**
1070
+ *
1071
+ * @summary Deletes an Allocation from a Credit Note
1072
+ * @param xeroTenantId Xero identifier for Tenant
1073
+ * @param creditNoteID Unique identifier for a Credit Note
1074
+ * @param allocationID Unique identifier for Allocation object
1075
+ */
1076
+ deleteCreditNoteAllocations(xeroTenantId: string, creditNoteID: string, allocationID: string, options?: {
1077
+ headers: {
1078
+ [name: string]: string;
1079
+ };
1080
+ }): Promise<{
1081
+ response: AxiosResponse;
1082
+ body: Allocation;
1083
+ }>;
1084
+ /**
1085
+ *
1086
+ * @summary Deletes a specific item
1087
+ * @param xeroTenantId Xero identifier for Tenant
1088
+ * @param itemID Unique identifier for an Item
1089
+ */
1090
+ deleteItem(xeroTenantId: string, itemID: string, options?: {
1091
+ headers: {
1092
+ [name: string]: string;
1093
+ };
1094
+ }): Promise<{
1095
+ response: AxiosResponse;
1096
+ body?: any;
1097
+ }>;
1098
+ /**
1099
+ *
1100
+ * @summary Deletes a specific linked transactions (billable expenses)
1101
+ * @param xeroTenantId Xero identifier for Tenant
1102
+ * @param linkedTransactionID Unique identifier for a LinkedTransaction
1103
+ */
1104
+ deleteLinkedTransaction(xeroTenantId: string, linkedTransactionID: string, options?: {
1105
+ headers: {
1106
+ [name: string]: string;
1107
+ };
1108
+ }): Promise<{
1109
+ response: AxiosResponse;
1110
+ body?: any;
1111
+ }>;
1112
+ /**
1113
+ *
1114
+ * @summary Deletes an Allocation from an overpayment
1115
+ * @param xeroTenantId Xero identifier for Tenant
1116
+ * @param overpaymentID Unique identifier for a Overpayment
1117
+ * @param allocationID Unique identifier for Allocation object
1118
+ */
1119
+ deleteOverpaymentAllocations(xeroTenantId: string, overpaymentID: string, allocationID: string, options?: {
1120
+ headers: {
1121
+ [name: string]: string;
1122
+ };
1123
+ }): Promise<{
1124
+ response: AxiosResponse;
1125
+ body: Allocation;
1126
+ }>;
1127
+ /**
1128
+ *
1129
+ * @summary Updates a specific payment for invoices and credit notes
1130
+ * @param xeroTenantId Xero identifier for Tenant
1131
+ * @param paymentID Unique identifier for a Payment
1132
+ * @param paymentDelete
1133
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
1134
+ */
1135
+ deletePayment(xeroTenantId: string, paymentID: string, paymentDelete: PaymentDelete, idempotencyKey?: string, options?: {
1136
+ headers: {
1137
+ [name: string]: string;
1138
+ };
1139
+ }): Promise<{
1140
+ response: AxiosResponse;
1141
+ body: Payments;
1142
+ }>;
1143
+ /**
1144
+ *
1145
+ * @summary Deletes an Allocation from a Prepayment
1146
+ * @param xeroTenantId Xero identifier for Tenant
1147
+ * @param prepaymentID Unique identifier for a PrePayment
1148
+ * @param allocationID Unique identifier for Allocation object
1149
+ */
1150
+ deletePrepaymentAllocations(xeroTenantId: string, prepaymentID: string, allocationID: string, options?: {
1151
+ headers: {
1152
+ [name: string]: string;
1153
+ };
1154
+ }): Promise<{
1155
+ response: AxiosResponse;
1156
+ body: Allocation;
1157
+ }>;
1158
+ /**
1159
+ *
1160
+ * @summary Deletes a specific tracking category
1161
+ * @param xeroTenantId Xero identifier for Tenant
1162
+ * @param trackingCategoryID Unique identifier for a TrackingCategory
1163
+ */
1164
+ deleteTrackingCategory(xeroTenantId: string, trackingCategoryID: string, options?: {
1165
+ headers: {
1166
+ [name: string]: string;
1167
+ };
1168
+ }): Promise<{
1169
+ response: AxiosResponse;
1170
+ body: TrackingCategories;
1171
+ }>;
1172
+ /**
1173
+ *
1174
+ * @summary Deletes a specific option for a specific tracking category
1175
+ * @param xeroTenantId Xero identifier for Tenant
1176
+ * @param trackingCategoryID Unique identifier for a TrackingCategory
1177
+ * @param trackingOptionID Unique identifier for a Tracking Option
1178
+ */
1179
+ deleteTrackingOptions(xeroTenantId: string, trackingCategoryID: string, trackingOptionID: string, options?: {
1180
+ headers: {
1181
+ [name: string]: string;
1182
+ };
1183
+ }): Promise<{
1184
+ response: AxiosResponse;
1185
+ body: TrackingOptions;
1186
+ }>;
1187
+ /**
1188
+ *
1189
+ * @summary Sends a copy of a specific invoice to related contact via email
1190
+ * @param xeroTenantId Xero identifier for Tenant
1191
+ * @param invoiceID Unique identifier for an Invoice
1192
+ * @param requestEmpty
1193
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
1194
+ */
1195
+ emailInvoice(xeroTenantId: string, invoiceID: string, requestEmpty: RequestEmpty, idempotencyKey?: string, options?: {
1196
+ headers: {
1197
+ [name: string]: string;
1198
+ };
1199
+ }): Promise<{
1200
+ response: AxiosResponse;
1201
+ body?: any;
1202
+ }>;
1203
+ /**
1204
+ *
1205
+ * @summary Retrieves a single chart of accounts by using a unique account Id
1206
+ * @param xeroTenantId Xero identifier for Tenant
1207
+ * @param accountID Unique identifier for Account object
1208
+ */
1209
+ getAccount(xeroTenantId: string, accountID: string, options?: {
1210
+ headers: {
1211
+ [name: string]: string;
1212
+ };
1213
+ }): Promise<{
1214
+ response: AxiosResponse;
1215
+ body: Accounts;
1216
+ }>;
1217
+ /**
1218
+ *
1219
+ * @summary Retrieves an attachment for a specific account by filename
1220
+ * @param xeroTenantId Xero identifier for Tenant
1221
+ * @param accountID Unique identifier for Account object
1222
+ * @param fileName Name of the attachment
1223
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1224
+ */
1225
+ getAccountAttachmentByFileName(xeroTenantId: string, accountID: string, fileName: string, contentType: string, options?: {
1226
+ headers: {
1227
+ [name: string]: string;
1228
+ };
1229
+ }): Promise<{
1230
+ response: AxiosResponse;
1231
+ body: Buffer;
1232
+ }>;
1233
+ /**
1234
+ *
1235
+ * @summary Retrieves a specific attachment from a specific account using a unique attachment Id
1236
+ * @param xeroTenantId Xero identifier for Tenant
1237
+ * @param accountID Unique identifier for Account object
1238
+ * @param attachmentID Unique identifier for Attachment object
1239
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1240
+ */
1241
+ getAccountAttachmentById(xeroTenantId: string, accountID: string, attachmentID: string, contentType: string, options?: {
1242
+ headers: {
1243
+ [name: string]: string;
1244
+ };
1245
+ }): Promise<{
1246
+ response: AxiosResponse;
1247
+ body: Buffer;
1248
+ }>;
1249
+ /**
1250
+ *
1251
+ * @summary Retrieves attachments for a specific accounts by using a unique account Id
1252
+ * @param xeroTenantId Xero identifier for Tenant
1253
+ * @param accountID Unique identifier for Account object
1254
+ */
1255
+ getAccountAttachments(xeroTenantId: string, accountID: string, options?: {
1256
+ headers: {
1257
+ [name: string]: string;
1258
+ };
1259
+ }): Promise<{
1260
+ response: AxiosResponse;
1261
+ body: Attachments;
1262
+ }>;
1263
+ /**
1264
+ *
1265
+ * @summary Retrieves the full chart of accounts
1266
+ * @param xeroTenantId Xero identifier for Tenant
1267
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1268
+ * @param where Filter by an any element
1269
+ * @param order Order by an any element
1270
+ */
1271
+ getAccounts(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, options?: {
1272
+ headers: {
1273
+ [name: string]: string;
1274
+ };
1275
+ }): Promise<{
1276
+ response: AxiosResponse;
1277
+ body: Accounts;
1278
+ }>;
1279
+ /**
1280
+ *
1281
+ * @summary Retrieves a single spent or received money transaction by using a unique bank transaction Id
1282
+ * @param xeroTenantId Xero identifier for Tenant
1283
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
1284
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1285
+ */
1286
+ getBankTransaction(xeroTenantId: string, bankTransactionID: string, unitdp?: number, options?: {
1287
+ headers: {
1288
+ [name: string]: string;
1289
+ };
1290
+ }): Promise<{
1291
+ response: AxiosResponse;
1292
+ body: BankTransactions;
1293
+ }>;
1294
+ /**
1295
+ *
1296
+ * @summary Retrieves a specific attachment from a specific bank transaction by filename
1297
+ * @param xeroTenantId Xero identifier for Tenant
1298
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
1299
+ * @param fileName Name of the attachment
1300
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1301
+ */
1302
+ getBankTransactionAttachmentByFileName(xeroTenantId: string, bankTransactionID: string, fileName: string, contentType: string, options?: {
1303
+ headers: {
1304
+ [name: string]: string;
1305
+ };
1306
+ }): Promise<{
1307
+ response: AxiosResponse;
1308
+ body: Buffer;
1309
+ }>;
1310
+ /**
1311
+ *
1312
+ * @summary Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
1313
+ * @param xeroTenantId Xero identifier for Tenant
1314
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
1315
+ * @param attachmentID Unique identifier for Attachment object
1316
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1317
+ */
1318
+ getBankTransactionAttachmentById(xeroTenantId: string, bankTransactionID: string, attachmentID: string, contentType: string, options?: {
1319
+ headers: {
1320
+ [name: string]: string;
1321
+ };
1322
+ }): Promise<{
1323
+ response: AxiosResponse;
1324
+ body: Buffer;
1325
+ }>;
1326
+ /**
1327
+ *
1328
+ * @summary Retrieves any attachments from a specific bank transactions
1329
+ * @param xeroTenantId Xero identifier for Tenant
1330
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
1331
+ */
1332
+ getBankTransactionAttachments(xeroTenantId: string, bankTransactionID: string, options?: {
1333
+ headers: {
1334
+ [name: string]: string;
1335
+ };
1336
+ }): Promise<{
1337
+ response: AxiosResponse;
1338
+ body: Attachments;
1339
+ }>;
1340
+ /**
1341
+ *
1342
+ * @summary Retrieves any spent or received money transactions
1343
+ * @param xeroTenantId Xero identifier for Tenant
1344
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1345
+ * @param where Filter by an any element
1346
+ * @param order Order by an any element
1347
+ * @param page Up to 100 bank transactions will be returned in a single API call with line items details
1348
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1349
+ * @param pageSize Number of records to retrieve per page
1350
+ */
1351
+ getBankTransactions(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, options?: {
1352
+ headers: {
1353
+ [name: string]: string;
1354
+ };
1355
+ }): Promise<{
1356
+ response: AxiosResponse;
1357
+ body: BankTransactions;
1358
+ }>;
1359
+ /**
1360
+ *
1361
+ * @summary Retrieves history from a specific bank transaction using a unique bank transaction Id
1362
+ * @param xeroTenantId Xero identifier for Tenant
1363
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
1364
+ */
1365
+ getBankTransactionsHistory(xeroTenantId: string, bankTransactionID: string, options?: {
1366
+ headers: {
1367
+ [name: string]: string;
1368
+ };
1369
+ }): Promise<{
1370
+ response: AxiosResponse;
1371
+ body: HistoryRecords;
1372
+ }>;
1373
+ /**
1374
+ *
1375
+ * @summary Retrieves specific bank transfers by using a unique bank transfer Id
1376
+ * @param xeroTenantId Xero identifier for Tenant
1377
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
1378
+ */
1379
+ getBankTransfer(xeroTenantId: string, bankTransferID: string, options?: {
1380
+ headers: {
1381
+ [name: string]: string;
1382
+ };
1383
+ }): Promise<{
1384
+ response: AxiosResponse;
1385
+ body: BankTransfers;
1386
+ }>;
1387
+ /**
1388
+ *
1389
+ * @summary Retrieves a specific attachment on a specific bank transfer by file name
1390
+ * @param xeroTenantId Xero identifier for Tenant
1391
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
1392
+ * @param fileName Name of the attachment
1393
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1394
+ */
1395
+ getBankTransferAttachmentByFileName(xeroTenantId: string, bankTransferID: string, fileName: string, contentType: string, options?: {
1396
+ headers: {
1397
+ [name: string]: string;
1398
+ };
1399
+ }): Promise<{
1400
+ response: AxiosResponse;
1401
+ body: Buffer;
1402
+ }>;
1403
+ /**
1404
+ *
1405
+ * @summary Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
1406
+ * @param xeroTenantId Xero identifier for Tenant
1407
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
1408
+ * @param attachmentID Unique identifier for Attachment object
1409
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1410
+ */
1411
+ getBankTransferAttachmentById(xeroTenantId: string, bankTransferID: string, attachmentID: string, contentType: string, options?: {
1412
+ headers: {
1413
+ [name: string]: string;
1414
+ };
1415
+ }): Promise<{
1416
+ response: AxiosResponse;
1417
+ body: Buffer;
1418
+ }>;
1419
+ /**
1420
+ *
1421
+ * @summary Retrieves attachments from a specific bank transfer
1422
+ * @param xeroTenantId Xero identifier for Tenant
1423
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
1424
+ */
1425
+ getBankTransferAttachments(xeroTenantId: string, bankTransferID: string, options?: {
1426
+ headers: {
1427
+ [name: string]: string;
1428
+ };
1429
+ }): Promise<{
1430
+ response: AxiosResponse;
1431
+ body: Attachments;
1432
+ }>;
1433
+ /**
1434
+ *
1435
+ * @summary Retrieves history from a specific bank transfer using a unique bank transfer Id
1436
+ * @param xeroTenantId Xero identifier for Tenant
1437
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
1438
+ */
1439
+ getBankTransferHistory(xeroTenantId: string, bankTransferID: string, options?: {
1440
+ headers: {
1441
+ [name: string]: string;
1442
+ };
1443
+ }): Promise<{
1444
+ response: AxiosResponse;
1445
+ body: HistoryRecords;
1446
+ }>;
1447
+ /**
1448
+ *
1449
+ * @summary Retrieves all bank transfers
1450
+ * @param xeroTenantId Xero identifier for Tenant
1451
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1452
+ * @param where Filter by an any element
1453
+ * @param order Order by an any element
1454
+ */
1455
+ getBankTransfers(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, options?: {
1456
+ headers: {
1457
+ [name: string]: string;
1458
+ };
1459
+ }): Promise<{
1460
+ response: AxiosResponse;
1461
+ body: BankTransfers;
1462
+ }>;
1463
+ /**
1464
+ *
1465
+ * @summary Retrieves a specific batch payment using a unique batch payment Id
1466
+ * @param xeroTenantId Xero identifier for Tenant
1467
+ * @param batchPaymentID Unique identifier for BatchPayment
1468
+ */
1469
+ getBatchPayment(xeroTenantId: string, batchPaymentID: string, options?: {
1470
+ headers: {
1471
+ [name: string]: string;
1472
+ };
1473
+ }): Promise<{
1474
+ response: AxiosResponse;
1475
+ body: BatchPayments;
1476
+ }>;
1477
+ /**
1478
+ *
1479
+ * @summary Retrieves history from a specific batch payment
1480
+ * @param xeroTenantId Xero identifier for Tenant
1481
+ * @param batchPaymentID Unique identifier for BatchPayment
1482
+ */
1483
+ getBatchPaymentHistory(xeroTenantId: string, batchPaymentID: string, options?: {
1484
+ headers: {
1485
+ [name: string]: string;
1486
+ };
1487
+ }): Promise<{
1488
+ response: AxiosResponse;
1489
+ body: HistoryRecords;
1490
+ }>;
1491
+ /**
1492
+ *
1493
+ * @summary Retrieves either one or many batch payments for invoices
1494
+ * @param xeroTenantId Xero identifier for Tenant
1495
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1496
+ * @param where Filter by an any element
1497
+ * @param order Order by an any element
1498
+ */
1499
+ getBatchPayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, options?: {
1500
+ headers: {
1501
+ [name: string]: string;
1502
+ };
1503
+ }): Promise<{
1504
+ response: AxiosResponse;
1505
+ body: BatchPayments;
1506
+ }>;
1507
+ /**
1508
+ *
1509
+ * @summary Retrieves a specific branding theme using a unique branding theme Id
1510
+ * @param xeroTenantId Xero identifier for Tenant
1511
+ * @param brandingThemeID Unique identifier for a Branding Theme
1512
+ */
1513
+ getBrandingTheme(xeroTenantId: string, brandingThemeID: string, options?: {
1514
+ headers: {
1515
+ [name: string]: string;
1516
+ };
1517
+ }): Promise<{
1518
+ response: AxiosResponse;
1519
+ body: BrandingThemes;
1520
+ }>;
1521
+ /**
1522
+ *
1523
+ * @summary Retrieves the payment services for a specific branding theme
1524
+ * @param xeroTenantId Xero identifier for Tenant
1525
+ * @param brandingThemeID Unique identifier for a Branding Theme
1526
+ */
1527
+ getBrandingThemePaymentServices(xeroTenantId: string, brandingThemeID: string, options?: {
1528
+ headers: {
1529
+ [name: string]: string;
1530
+ };
1531
+ }): Promise<{
1532
+ response: AxiosResponse;
1533
+ body: PaymentServices;
1534
+ }>;
1535
+ /**
1536
+ *
1537
+ * @summary Retrieves all the branding themes
1538
+ * @param xeroTenantId Xero identifier for Tenant
1539
+ */
1540
+ getBrandingThemes(xeroTenantId: string, options?: {
1541
+ headers: {
1542
+ [name: string]: string;
1543
+ };
1544
+ }): Promise<{
1545
+ response: AxiosResponse;
1546
+ body: BrandingThemes;
1547
+ }>;
1548
+ /**
1549
+ *
1550
+ * @summary Retrieves a specific budget, which includes budget lines
1551
+ * @param xeroTenantId Xero identifier for Tenant
1552
+ * @param budgetID Unique identifier for Budgets
1553
+ * @param dateTo Filter by start date
1554
+ * @param dateFrom Filter by end date
1555
+ */
1556
+ getBudget(xeroTenantId: string, budgetID: string, dateTo?: string, dateFrom?: string, options?: {
1557
+ headers: {
1558
+ [name: string]: string;
1559
+ };
1560
+ }): Promise<{
1561
+ response: AxiosResponse;
1562
+ body: Budgets;
1563
+ }>;
1564
+ /**
1565
+ *
1566
+ * @summary Retrieve a list of budgets
1567
+ * @param xeroTenantId Xero identifier for Tenant
1568
+ * @param iDs Filter by BudgetID. Allows you to retrieve a specific individual budget.
1569
+ * @param dateTo Filter by start date
1570
+ * @param dateFrom Filter by end date
1571
+ */
1572
+ getBudgets(xeroTenantId: string, iDs?: Array<string>, dateTo?: string, dateFrom?: string, options?: {
1573
+ headers: {
1574
+ [name: string]: string;
1575
+ };
1576
+ }): Promise<{
1577
+ response: AxiosResponse;
1578
+ body: Budgets;
1579
+ }>;
1580
+ /**
1581
+ *
1582
+ * @summary Retrieves a specific contacts in a Xero organisation using a unique contact Id
1583
+ * @param xeroTenantId Xero identifier for Tenant
1584
+ * @param contactID Unique identifier for a Contact
1585
+ */
1586
+ getContact(xeroTenantId: string, contactID: string, options?: {
1587
+ headers: {
1588
+ [name: string]: string;
1589
+ };
1590
+ }): Promise<{
1591
+ response: AxiosResponse;
1592
+ body: Contacts;
1593
+ }>;
1594
+ /**
1595
+ *
1596
+ * @summary Retrieves a specific attachment from a specific contact by file name
1597
+ * @param xeroTenantId Xero identifier for Tenant
1598
+ * @param contactID Unique identifier for a Contact
1599
+ * @param fileName Name of the attachment
1600
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1601
+ */
1602
+ getContactAttachmentByFileName(xeroTenantId: string, contactID: string, fileName: string, contentType: string, options?: {
1603
+ headers: {
1604
+ [name: string]: string;
1605
+ };
1606
+ }): Promise<{
1607
+ response: AxiosResponse;
1608
+ body: Buffer;
1609
+ }>;
1610
+ /**
1611
+ *
1612
+ * @summary Retrieves a specific attachment from a specific contact using a unique attachment Id
1613
+ * @param xeroTenantId Xero identifier for Tenant
1614
+ * @param contactID Unique identifier for a Contact
1615
+ * @param attachmentID Unique identifier for Attachment object
1616
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1617
+ */
1618
+ getContactAttachmentById(xeroTenantId: string, contactID: string, attachmentID: string, contentType: string, options?: {
1619
+ headers: {
1620
+ [name: string]: string;
1621
+ };
1622
+ }): Promise<{
1623
+ response: AxiosResponse;
1624
+ body: Buffer;
1625
+ }>;
1626
+ /**
1627
+ *
1628
+ * @summary Retrieves attachments for a specific contact in a Xero organisation
1629
+ * @param xeroTenantId Xero identifier for Tenant
1630
+ * @param contactID Unique identifier for a Contact
1631
+ */
1632
+ getContactAttachments(xeroTenantId: string, contactID: string, options?: {
1633
+ headers: {
1634
+ [name: string]: string;
1635
+ };
1636
+ }): Promise<{
1637
+ response: AxiosResponse;
1638
+ body: Attachments;
1639
+ }>;
1640
+ /**
1641
+ *
1642
+ * @summary Retrieves a specific contact by contact number in a Xero organisation
1643
+ * @param xeroTenantId Xero identifier for Tenant
1644
+ * @param contactNumber This field is read only on the Xero contact screen, used to identify contacts in external systems (max length &#x3D; 50).
1645
+ */
1646
+ getContactByContactNumber(xeroTenantId: string, contactNumber: string, options?: {
1647
+ headers: {
1648
+ [name: string]: string;
1649
+ };
1650
+ }): Promise<{
1651
+ response: AxiosResponse;
1652
+ body: Contacts;
1653
+ }>;
1654
+ /**
1655
+ *
1656
+ * @summary Retrieves CIS settings for a specific contact in a Xero organisation
1657
+ * @param xeroTenantId Xero identifier for Tenant
1658
+ * @param contactID Unique identifier for a Contact
1659
+ */
1660
+ getContactCISSettings(xeroTenantId: string, contactID: string, options?: {
1661
+ headers: {
1662
+ [name: string]: string;
1663
+ };
1664
+ }): Promise<{
1665
+ response: AxiosResponse;
1666
+ body: CISSettings;
1667
+ }>;
1668
+ /**
1669
+ *
1670
+ * @summary Retrieves a specific contact group by using a unique contact group Id
1671
+ * @param xeroTenantId Xero identifier for Tenant
1672
+ * @param contactGroupID Unique identifier for a Contact Group
1673
+ */
1674
+ getContactGroup(xeroTenantId: string, contactGroupID: string, options?: {
1675
+ headers: {
1676
+ [name: string]: string;
1677
+ };
1678
+ }): Promise<{
1679
+ response: AxiosResponse;
1680
+ body: ContactGroups;
1681
+ }>;
1682
+ /**
1683
+ *
1684
+ * @summary Retrieves the contact Id and name of each contact group
1685
+ * @param xeroTenantId Xero identifier for Tenant
1686
+ * @param where Filter by an any element
1687
+ * @param order Order by an any element
1688
+ */
1689
+ getContactGroups(xeroTenantId: string, where?: string, order?: string, options?: {
1690
+ headers: {
1691
+ [name: string]: string;
1692
+ };
1693
+ }): Promise<{
1694
+ response: AxiosResponse;
1695
+ body: ContactGroups;
1696
+ }>;
1697
+ /**
1698
+ *
1699
+ * @summary Retrieves history records for a specific contact
1700
+ * @param xeroTenantId Xero identifier for Tenant
1701
+ * @param contactID Unique identifier for a Contact
1702
+ */
1703
+ getContactHistory(xeroTenantId: string, contactID: string, options?: {
1704
+ headers: {
1705
+ [name: string]: string;
1706
+ };
1707
+ }): Promise<{
1708
+ response: AxiosResponse;
1709
+ body: HistoryRecords;
1710
+ }>;
1711
+ /**
1712
+ *
1713
+ * @summary Retrieves all contacts in a Xero organisation
1714
+ * @param xeroTenantId Xero identifier for Tenant
1715
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1716
+ * @param where Filter by an any element
1717
+ * @param order Order by an any element
1718
+ * @param iDs Filter by a comma separated list of ContactIDs. Allows you to retrieve a specific set of contacts in a single call.
1719
+ * @param page e.g. page&#x3D;1 - Up to 100 contacts will be returned in a single API call.
1720
+ * @param includeArchived e.g. includeArchived&#x3D;true - Contacts with a status of ARCHIVED will be included in the response
1721
+ * @param summaryOnly Use summaryOnly&#x3D;true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
1722
+ * @param searchTerm Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields.
1723
+ * @param pageSize Number of records to retrieve per page
1724
+ */
1725
+ getContacts(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, iDs?: Array<string>, page?: number, includeArchived?: boolean, summaryOnly?: boolean, searchTerm?: string, pageSize?: number, options?: {
1726
+ headers: {
1727
+ [name: string]: string;
1728
+ };
1729
+ }): Promise<{
1730
+ response: AxiosResponse;
1731
+ body: Contacts;
1732
+ }>;
1733
+ /**
1734
+ *
1735
+ * @summary Retrieves a specific credit note using a unique credit note Id
1736
+ * @param xeroTenantId Xero identifier for Tenant
1737
+ * @param creditNoteID Unique identifier for a Credit Note
1738
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1739
+ */
1740
+ getCreditNote(xeroTenantId: string, creditNoteID: string, unitdp?: number, options?: {
1741
+ headers: {
1742
+ [name: string]: string;
1743
+ };
1744
+ }): Promise<{
1745
+ response: AxiosResponse;
1746
+ body: CreditNotes;
1747
+ }>;
1748
+ /**
1749
+ *
1750
+ * @summary Retrieves credit notes as PDF files
1751
+ * @param xeroTenantId Xero identifier for Tenant
1752
+ * @param creditNoteID Unique identifier for a Credit Note
1753
+ */
1754
+ getCreditNoteAsPdf(xeroTenantId: string, creditNoteID: string, options?: {
1755
+ headers: {
1756
+ [name: string]: string;
1757
+ };
1758
+ }): Promise<{
1759
+ response: AxiosResponse;
1760
+ body: Buffer;
1761
+ }>;
1762
+ /**
1763
+ *
1764
+ * @summary Retrieves a specific attachment on a specific credit note by file name
1765
+ * @param xeroTenantId Xero identifier for Tenant
1766
+ * @param creditNoteID Unique identifier for a Credit Note
1767
+ * @param fileName Name of the attachment
1768
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1769
+ */
1770
+ getCreditNoteAttachmentByFileName(xeroTenantId: string, creditNoteID: string, fileName: string, contentType: string, options?: {
1771
+ headers: {
1772
+ [name: string]: string;
1773
+ };
1774
+ }): Promise<{
1775
+ response: AxiosResponse;
1776
+ body: Buffer;
1777
+ }>;
1778
+ /**
1779
+ *
1780
+ * @summary Retrieves a specific attachment from a specific credit note using a unique attachment Id
1781
+ * @param xeroTenantId Xero identifier for Tenant
1782
+ * @param creditNoteID Unique identifier for a Credit Note
1783
+ * @param attachmentID Unique identifier for Attachment object
1784
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1785
+ */
1786
+ getCreditNoteAttachmentById(xeroTenantId: string, creditNoteID: string, attachmentID: string, contentType: string, options?: {
1787
+ headers: {
1788
+ [name: string]: string;
1789
+ };
1790
+ }): Promise<{
1791
+ response: AxiosResponse;
1792
+ body: Buffer;
1793
+ }>;
1794
+ /**
1795
+ *
1796
+ * @summary Retrieves attachments for a specific credit notes
1797
+ * @param xeroTenantId Xero identifier for Tenant
1798
+ * @param creditNoteID Unique identifier for a Credit Note
1799
+ */
1800
+ getCreditNoteAttachments(xeroTenantId: string, creditNoteID: string, options?: {
1801
+ headers: {
1802
+ [name: string]: string;
1803
+ };
1804
+ }): Promise<{
1805
+ response: AxiosResponse;
1806
+ body: Attachments;
1807
+ }>;
1808
+ /**
1809
+ *
1810
+ * @summary Retrieves history records of a specific credit note
1811
+ * @param xeroTenantId Xero identifier for Tenant
1812
+ * @param creditNoteID Unique identifier for a Credit Note
1813
+ */
1814
+ getCreditNoteHistory(xeroTenantId: string, creditNoteID: string, options?: {
1815
+ headers: {
1816
+ [name: string]: string;
1817
+ };
1818
+ }): Promise<{
1819
+ response: AxiosResponse;
1820
+ body: HistoryRecords;
1821
+ }>;
1822
+ /**
1823
+ *
1824
+ * @summary Retrieves any credit notes
1825
+ * @param xeroTenantId Xero identifier for Tenant
1826
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1827
+ * @param where Filter by an any element
1828
+ * @param order Order by an any element
1829
+ * @param page e.g. page&#x3D;1 – Up to 100 credit notes will be returned in a single API call with line items shown for each credit note
1830
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1831
+ * @param pageSize Number of records to retrieve per page
1832
+ */
1833
+ getCreditNotes(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, options?: {
1834
+ headers: {
1835
+ [name: string]: string;
1836
+ };
1837
+ }): Promise<{
1838
+ response: AxiosResponse;
1839
+ body: CreditNotes;
1840
+ }>;
1841
+ /**
1842
+ *
1843
+ * @summary Retrieves currencies for your Xero organisation
1844
+ * @param xeroTenantId Xero identifier for Tenant
1845
+ * @param where Filter by an any element
1846
+ * @param order Order by an any element
1847
+ */
1848
+ getCurrencies(xeroTenantId: string, where?: string, order?: string, options?: {
1849
+ headers: {
1850
+ [name: string]: string;
1851
+ };
1852
+ }): Promise<{
1853
+ response: AxiosResponse;
1854
+ body: Currencies;
1855
+ }>;
1856
+ /**
1857
+ *
1858
+ * @summary Retrieves a specific employee used in Xero payrun using a unique employee Id
1859
+ * @param xeroTenantId Xero identifier for Tenant
1860
+ * @param employeeID Unique identifier for a Employee
1861
+ */
1862
+ getEmployee(xeroTenantId: string, employeeID: string, options?: {
1863
+ headers: {
1864
+ [name: string]: string;
1865
+ };
1866
+ }): Promise<{
1867
+ response: AxiosResponse;
1868
+ body: Employees;
1869
+ }>;
1870
+ /**
1871
+ *
1872
+ * @summary Retrieves employees used in Xero payrun
1873
+ * @param xeroTenantId Xero identifier for Tenant
1874
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1875
+ * @param where Filter by an any element
1876
+ * @param order Order by an any element
1877
+ */
1878
+ getEmployees(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, options?: {
1879
+ headers: {
1880
+ [name: string]: string;
1881
+ };
1882
+ }): Promise<{
1883
+ response: AxiosResponse;
1884
+ body: Employees;
1885
+ }>;
1886
+ /**
1887
+ *
1888
+ * @summary Retrieves a specific expense claim using a unique expense claim Id
1889
+ * @param xeroTenantId Xero identifier for Tenant
1890
+ * @param expenseClaimID Unique identifier for a ExpenseClaim
1891
+ */
1892
+ getExpenseClaim(xeroTenantId: string, expenseClaimID: string, options?: {
1893
+ headers: {
1894
+ [name: string]: string;
1895
+ };
1896
+ }): Promise<{
1897
+ response: AxiosResponse;
1898
+ body: ExpenseClaims;
1899
+ }>;
1900
+ /**
1901
+ *
1902
+ * @summary Retrieves history records of a specific expense claim
1903
+ * @param xeroTenantId Xero identifier for Tenant
1904
+ * @param expenseClaimID Unique identifier for a ExpenseClaim
1905
+ */
1906
+ getExpenseClaimHistory(xeroTenantId: string, expenseClaimID: string, options?: {
1907
+ headers: {
1908
+ [name: string]: string;
1909
+ };
1910
+ }): Promise<{
1911
+ response: AxiosResponse;
1912
+ body: HistoryRecords;
1913
+ }>;
1914
+ /**
1915
+ *
1916
+ * @summary Retrieves expense claims
1917
+ * @param xeroTenantId Xero identifier for Tenant
1918
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
1919
+ * @param where Filter by an any element
1920
+ * @param order Order by an any element
1921
+ */
1922
+ getExpenseClaims(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, options?: {
1923
+ headers: {
1924
+ [name: string]: string;
1925
+ };
1926
+ }): Promise<{
1927
+ response: AxiosResponse;
1928
+ body: ExpenseClaims;
1929
+ }>;
1930
+ /**
1931
+ *
1932
+ * @summary Retrieves a specific sales invoice or purchase bill using a unique invoice Id
1933
+ * @param xeroTenantId Xero identifier for Tenant
1934
+ * @param invoiceID Unique identifier for an Invoice
1935
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1936
+ */
1937
+ getInvoice(xeroTenantId: string, invoiceID: string, unitdp?: number, options?: {
1938
+ headers: {
1939
+ [name: string]: string;
1940
+ };
1941
+ }): Promise<{
1942
+ response: AxiosResponse;
1943
+ body: Invoices;
1944
+ }>;
1945
+ /**
1946
+ *
1947
+ * @summary Retrieves invoices or purchase bills as PDF files
1948
+ * @param xeroTenantId Xero identifier for Tenant
1949
+ * @param invoiceID Unique identifier for an Invoice
1950
+ */
1951
+ getInvoiceAsPdf(xeroTenantId: string, invoiceID: string, options?: {
1952
+ headers: {
1953
+ [name: string]: string;
1954
+ };
1955
+ }): Promise<{
1956
+ response: AxiosResponse;
1957
+ body: Buffer;
1958
+ }>;
1959
+ /**
1960
+ *
1961
+ * @summary Retrieves an attachment from a specific invoice or purchase bill by filename
1962
+ * @param xeroTenantId Xero identifier for Tenant
1963
+ * @param invoiceID Unique identifier for an Invoice
1964
+ * @param fileName Name of the attachment
1965
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1966
+ */
1967
+ getInvoiceAttachmentByFileName(xeroTenantId: string, invoiceID: string, fileName: string, contentType: string, options?: {
1968
+ headers: {
1969
+ [name: string]: string;
1970
+ };
1971
+ }): Promise<{
1972
+ response: AxiosResponse;
1973
+ body: Buffer;
1974
+ }>;
1975
+ /**
1976
+ *
1977
+ * @summary Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
1978
+ * @param xeroTenantId Xero identifier for Tenant
1979
+ * @param invoiceID Unique identifier for an Invoice
1980
+ * @param attachmentID Unique identifier for Attachment object
1981
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
1982
+ */
1983
+ getInvoiceAttachmentById(xeroTenantId: string, invoiceID: string, attachmentID: string, contentType: string, options?: {
1984
+ headers: {
1985
+ [name: string]: string;
1986
+ };
1987
+ }): Promise<{
1988
+ response: AxiosResponse;
1989
+ body: Buffer;
1990
+ }>;
1991
+ /**
1992
+ *
1993
+ * @summary Retrieves attachments for a specific invoice or purchase bill
1994
+ * @param xeroTenantId Xero identifier for Tenant
1995
+ * @param invoiceID Unique identifier for an Invoice
1996
+ */
1997
+ getInvoiceAttachments(xeroTenantId: string, invoiceID: string, options?: {
1998
+ headers: {
1999
+ [name: string]: string;
2000
+ };
2001
+ }): Promise<{
2002
+ response: AxiosResponse;
2003
+ body: Attachments;
2004
+ }>;
2005
+ /**
2006
+ *
2007
+ * @summary Retrieves history records for a specific invoice
2008
+ * @param xeroTenantId Xero identifier for Tenant
2009
+ * @param invoiceID Unique identifier for an Invoice
2010
+ */
2011
+ getInvoiceHistory(xeroTenantId: string, invoiceID: string, options?: {
2012
+ headers: {
2013
+ [name: string]: string;
2014
+ };
2015
+ }): Promise<{
2016
+ response: AxiosResponse;
2017
+ body: HistoryRecords;
2018
+ }>;
2019
+ /**
2020
+ *
2021
+ * @summary Retrieves invoice reminder settings
2022
+ * @param xeroTenantId Xero identifier for Tenant
2023
+ */
2024
+ getInvoiceReminders(xeroTenantId: string, options?: {
2025
+ headers: {
2026
+ [name: string]: string;
2027
+ };
2028
+ }): Promise<{
2029
+ response: AxiosResponse;
2030
+ body: InvoiceReminders;
2031
+ }>;
2032
+ /**
2033
+ *
2034
+ * @summary Retrieves sales invoices or purchase bills
2035
+ * @param xeroTenantId Xero identifier for Tenant
2036
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2037
+ * @param where Filter by an any element
2038
+ * @param order Order by an any element
2039
+ * @param iDs Filter by a comma-separated list of InvoicesIDs.
2040
+ * @param invoiceNumbers Filter by a comma-separated list of InvoiceNumbers.
2041
+ * @param contactIDs Filter by a comma-separated list of ContactIDs.
2042
+ * @param statuses Filter by a comma-separated list Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.
2043
+ * @param page e.g. page&#x3D;1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
2044
+ * @param includeArchived e.g. includeArchived&#x3D;true - Invoices with a status of ARCHIVED will be included in the response
2045
+ * @param createdByMyApp When set to true you\&#39;ll only retrieve Invoices created by your app
2046
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2047
+ * @param summaryOnly Use summaryOnly&#x3D;true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
2048
+ * @param pageSize Number of records to retrieve per page
2049
+ * @param searchTerm Search parameter that performs a case-insensitive text search across the fields e.g. InvoiceNumber, Reference.
2050
+ */
2051
+ getInvoices(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, iDs?: Array<string>, invoiceNumbers?: Array<string>, contactIDs?: Array<string>, statuses?: Array<string>, page?: number, includeArchived?: boolean, createdByMyApp?: boolean, unitdp?: number, summaryOnly?: boolean, pageSize?: number, searchTerm?: string, options?: {
2052
+ headers: {
2053
+ [name: string]: string;
2054
+ };
2055
+ }): Promise<{
2056
+ response: AxiosResponse;
2057
+ body: Invoices;
2058
+ }>;
2059
+ /**
2060
+ *
2061
+ * @summary Retrieves a specific item using a unique item Id
2062
+ * @param xeroTenantId Xero identifier for Tenant
2063
+ * @param itemID Unique identifier for an Item
2064
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2065
+ */
2066
+ getItem(xeroTenantId: string, itemID: string, unitdp?: number, options?: {
2067
+ headers: {
2068
+ [name: string]: string;
2069
+ };
2070
+ }): Promise<{
2071
+ response: AxiosResponse;
2072
+ body: Items;
2073
+ }>;
2074
+ /**
2075
+ *
2076
+ * @summary Retrieves history for a specific item
2077
+ * @param xeroTenantId Xero identifier for Tenant
2078
+ * @param itemID Unique identifier for an Item
2079
+ */
2080
+ getItemHistory(xeroTenantId: string, itemID: string, options?: {
2081
+ headers: {
2082
+ [name: string]: string;
2083
+ };
2084
+ }): Promise<{
2085
+ response: AxiosResponse;
2086
+ body: HistoryRecords;
2087
+ }>;
2088
+ /**
2089
+ *
2090
+ * @summary Retrieves items
2091
+ * @param xeroTenantId Xero identifier for Tenant
2092
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2093
+ * @param where Filter by an any element
2094
+ * @param order Order by an any element
2095
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2096
+ */
2097
+ getItems(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, unitdp?: number, options?: {
2098
+ headers: {
2099
+ [name: string]: string;
2100
+ };
2101
+ }): Promise<{
2102
+ response: AxiosResponse;
2103
+ body: Items;
2104
+ }>;
2105
+ /**
2106
+ *
2107
+ * @summary Retrieves a specific journal using a unique journal Id.
2108
+ * @param xeroTenantId Xero identifier for Tenant
2109
+ * @param journalID Unique identifier for a Journal
2110
+ */
2111
+ getJournal(xeroTenantId: string, journalID: string, options?: {
2112
+ headers: {
2113
+ [name: string]: string;
2114
+ };
2115
+ }): Promise<{
2116
+ response: AxiosResponse;
2117
+ body: Journals;
2118
+ }>;
2119
+ /**
2120
+ *
2121
+ * @summary Retrieves a specific journal using a unique journal number.
2122
+ * @param xeroTenantId Xero identifier for Tenant
2123
+ * @param journalNumber Number of a Journal
2124
+ */
2125
+ getJournalByNumber(xeroTenantId: string, journalNumber: number, options?: {
2126
+ headers: {
2127
+ [name: string]: string;
2128
+ };
2129
+ }): Promise<{
2130
+ response: AxiosResponse;
2131
+ body: Journals;
2132
+ }>;
2133
+ /**
2134
+ *
2135
+ * @summary Retrieves journals
2136
+ * @param xeroTenantId Xero identifier for Tenant
2137
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2138
+ * @param offset Offset by a specified journal number. e.g. journals with a JournalNumber greater than the offset will be returned
2139
+ * @param paymentsOnly Filter to retrieve journals on a cash basis. Journals are returned on an accrual basis by default.
2140
+ */
2141
+ getJournals(xeroTenantId: string, ifModifiedSince?: Date, offset?: number, paymentsOnly?: boolean, options?: {
2142
+ headers: {
2143
+ [name: string]: string;
2144
+ };
2145
+ }): Promise<{
2146
+ response: AxiosResponse;
2147
+ body: Journals;
2148
+ }>;
2149
+ /**
2150
+ *
2151
+ * @summary Retrieves a specific linked transaction (billable expenses) using a unique linked transaction Id
2152
+ * @param xeroTenantId Xero identifier for Tenant
2153
+ * @param linkedTransactionID Unique identifier for a LinkedTransaction
2154
+ */
2155
+ getLinkedTransaction(xeroTenantId: string, linkedTransactionID: string, options?: {
2156
+ headers: {
2157
+ [name: string]: string;
2158
+ };
2159
+ }): Promise<{
2160
+ response: AxiosResponse;
2161
+ body: LinkedTransactions;
2162
+ }>;
2163
+ /**
2164
+ *
2165
+ * @summary Retrieves linked transactions (billable expenses)
2166
+ * @param xeroTenantId Xero identifier for Tenant
2167
+ * @param page Up to 100 linked transactions will be returned in a single API call. Use the page parameter to specify the page to be returned e.g. page&#x3D;1.
2168
+ * @param linkedTransactionID The Xero identifier for an Linked Transaction
2169
+ * @param sourceTransactionID Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice
2170
+ * @param contactID Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.
2171
+ * @param status Filter by the combination of ContactID and Status. Get the linked transactions associated to a customer and with a status
2172
+ * @param targetTransactionID Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice
2173
+ */
2174
+ getLinkedTransactions(xeroTenantId: string, page?: number, linkedTransactionID?: string, sourceTransactionID?: string, contactID?: string, status?: string, targetTransactionID?: string, options?: {
2175
+ headers: {
2176
+ [name: string]: string;
2177
+ };
2178
+ }): Promise<{
2179
+ response: AxiosResponse;
2180
+ body: LinkedTransactions;
2181
+ }>;
2182
+ /**
2183
+ *
2184
+ * @summary Retrieves a specific manual journal
2185
+ * @param xeroTenantId Xero identifier for Tenant
2186
+ * @param manualJournalID Unique identifier for a ManualJournal
2187
+ */
2188
+ getManualJournal(xeroTenantId: string, manualJournalID: string, options?: {
2189
+ headers: {
2190
+ [name: string]: string;
2191
+ };
2192
+ }): Promise<{
2193
+ response: AxiosResponse;
2194
+ body: ManualJournals;
2195
+ }>;
2196
+ /**
2197
+ *
2198
+ * @summary Retrieves a specific attachment from a specific manual journal by file name
2199
+ * @param xeroTenantId Xero identifier for Tenant
2200
+ * @param manualJournalID Unique identifier for a ManualJournal
2201
+ * @param fileName Name of the attachment
2202
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2203
+ */
2204
+ getManualJournalAttachmentByFileName(xeroTenantId: string, manualJournalID: string, fileName: string, contentType: string, options?: {
2205
+ headers: {
2206
+ [name: string]: string;
2207
+ };
2208
+ }): Promise<{
2209
+ response: AxiosResponse;
2210
+ body: Buffer;
2211
+ }>;
2212
+ /**
2213
+ *
2214
+ * @summary Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
2215
+ * @param xeroTenantId Xero identifier for Tenant
2216
+ * @param manualJournalID Unique identifier for a ManualJournal
2217
+ * @param attachmentID Unique identifier for Attachment object
2218
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2219
+ */
2220
+ getManualJournalAttachmentById(xeroTenantId: string, manualJournalID: string, attachmentID: string, contentType: string, options?: {
2221
+ headers: {
2222
+ [name: string]: string;
2223
+ };
2224
+ }): Promise<{
2225
+ response: AxiosResponse;
2226
+ body: Buffer;
2227
+ }>;
2228
+ /**
2229
+ *
2230
+ * @summary Retrieves attachment for a specific manual journal
2231
+ * @param xeroTenantId Xero identifier for Tenant
2232
+ * @param manualJournalID Unique identifier for a ManualJournal
2233
+ */
2234
+ getManualJournalAttachments(xeroTenantId: string, manualJournalID: string, options?: {
2235
+ headers: {
2236
+ [name: string]: string;
2237
+ };
2238
+ }): Promise<{
2239
+ response: AxiosResponse;
2240
+ body: Attachments;
2241
+ }>;
2242
+ /**
2243
+ *
2244
+ * @summary Retrieves manual journals
2245
+ * @param xeroTenantId Xero identifier for Tenant
2246
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2247
+ * @param where Filter by an any element
2248
+ * @param order Order by an any element
2249
+ * @param page e.g. page&#x3D;1 – Up to 100 manual journals will be returned in a single API call with line items shown for each overpayment
2250
+ * @param pageSize Number of records to retrieve per page
2251
+ */
2252
+ getManualJournals(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, pageSize?: number, options?: {
2253
+ headers: {
2254
+ [name: string]: string;
2255
+ };
2256
+ }): Promise<{
2257
+ response: AxiosResponse;
2258
+ body: ManualJournals;
2259
+ }>;
2260
+ /**
2261
+ *
2262
+ * @summary Retrieves history for a specific manual journal
2263
+ * @param xeroTenantId Xero identifier for Tenant
2264
+ * @param manualJournalID Unique identifier for a ManualJournal
2265
+ */
2266
+ getManualJournalsHistory(xeroTenantId: string, manualJournalID: string, options?: {
2267
+ headers: {
2268
+ [name: string]: string;
2269
+ };
2270
+ }): Promise<{
2271
+ response: AxiosResponse;
2272
+ body: HistoryRecords;
2273
+ }>;
2274
+ /**
2275
+ *
2276
+ * @summary Retrieves a URL to an online invoice
2277
+ * @param xeroTenantId Xero identifier for Tenant
2278
+ * @param invoiceID Unique identifier for an Invoice
2279
+ */
2280
+ getOnlineInvoice(xeroTenantId: string, invoiceID: string, options?: {
2281
+ headers: {
2282
+ [name: string]: string;
2283
+ };
2284
+ }): Promise<{
2285
+ response: AxiosResponse;
2286
+ body: OnlineInvoices;
2287
+ }>;
2288
+ /**
2289
+ *
2290
+ * @summary Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation.
2291
+ * @param xeroTenantId Xero identifier for Tenant
2292
+ */
2293
+ getOrganisationActions(xeroTenantId: string, options?: {
2294
+ headers: {
2295
+ [name: string]: string;
2296
+ };
2297
+ }): Promise<{
2298
+ response: AxiosResponse;
2299
+ body: Actions;
2300
+ }>;
2301
+ /**
2302
+ *
2303
+ * @summary Retrieves the CIS settings for the Xero organistaion.
2304
+ * @param xeroTenantId Xero identifier for Tenant
2305
+ * @param organisationID The unique Xero identifier for an organisation
2306
+ */
2307
+ getOrganisationCISSettings(xeroTenantId: string, organisationID: string, options?: {
2308
+ headers: {
2309
+ [name: string]: string;
2310
+ };
2311
+ }): Promise<{
2312
+ response: AxiosResponse;
2313
+ body: CISOrgSettings;
2314
+ }>;
2315
+ /**
2316
+ *
2317
+ * @summary Retrieves Xero organisation details
2318
+ * @param xeroTenantId Xero identifier for Tenant
2319
+ */
2320
+ getOrganisations(xeroTenantId: string, options?: {
2321
+ headers: {
2322
+ [name: string]: string;
2323
+ };
2324
+ }): Promise<{
2325
+ response: AxiosResponse;
2326
+ body: Organisations;
2327
+ }>;
2328
+ /**
2329
+ *
2330
+ * @summary Retrieves a specific overpayment using a unique overpayment Id
2331
+ * @param xeroTenantId Xero identifier for Tenant
2332
+ * @param overpaymentID Unique identifier for a Overpayment
2333
+ */
2334
+ getOverpayment(xeroTenantId: string, overpaymentID: string, options?: {
2335
+ headers: {
2336
+ [name: string]: string;
2337
+ };
2338
+ }): Promise<{
2339
+ response: AxiosResponse;
2340
+ body: Overpayments;
2341
+ }>;
2342
+ /**
2343
+ *
2344
+ * @summary Retrieves history records of a specific overpayment
2345
+ * @param xeroTenantId Xero identifier for Tenant
2346
+ * @param overpaymentID Unique identifier for a Overpayment
2347
+ */
2348
+ getOverpaymentHistory(xeroTenantId: string, overpaymentID: string, options?: {
2349
+ headers: {
2350
+ [name: string]: string;
2351
+ };
2352
+ }): Promise<{
2353
+ response: AxiosResponse;
2354
+ body: HistoryRecords;
2355
+ }>;
2356
+ /**
2357
+ *
2358
+ * @summary Retrieves overpayments
2359
+ * @param xeroTenantId Xero identifier for Tenant
2360
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2361
+ * @param where Filter by an any element
2362
+ * @param order Order by an any element
2363
+ * @param page e.g. page&#x3D;1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpayment
2364
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2365
+ * @param pageSize Number of records to retrieve per page
2366
+ */
2367
+ getOverpayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, options?: {
2368
+ headers: {
2369
+ [name: string]: string;
2370
+ };
2371
+ }): Promise<{
2372
+ response: AxiosResponse;
2373
+ body: Overpayments;
2374
+ }>;
2375
+ /**
2376
+ *
2377
+ * @summary Retrieves a specific payment for invoices and credit notes using a unique payment Id
2378
+ * @param xeroTenantId Xero identifier for Tenant
2379
+ * @param paymentID Unique identifier for a Payment
2380
+ */
2381
+ getPayment(xeroTenantId: string, paymentID: string, options?: {
2382
+ headers: {
2383
+ [name: string]: string;
2384
+ };
2385
+ }): Promise<{
2386
+ response: AxiosResponse;
2387
+ body: Payments;
2388
+ }>;
2389
+ /**
2390
+ *
2391
+ * @summary Retrieves history records of a specific payment
2392
+ * @param xeroTenantId Xero identifier for Tenant
2393
+ * @param paymentID Unique identifier for a Payment
2394
+ */
2395
+ getPaymentHistory(xeroTenantId: string, paymentID: string, options?: {
2396
+ headers: {
2397
+ [name: string]: string;
2398
+ };
2399
+ }): Promise<{
2400
+ response: AxiosResponse;
2401
+ body: HistoryRecords;
2402
+ }>;
2403
+ /**
2404
+ *
2405
+ * @summary Retrieves payment services
2406
+ * @param xeroTenantId Xero identifier for Tenant
2407
+ */
2408
+ getPaymentServices(xeroTenantId: string, options?: {
2409
+ headers: {
2410
+ [name: string]: string;
2411
+ };
2412
+ }): Promise<{
2413
+ response: AxiosResponse;
2414
+ body: PaymentServices;
2415
+ }>;
2416
+ /**
2417
+ *
2418
+ * @summary Retrieves payments for invoices and credit notes
2419
+ * @param xeroTenantId Xero identifier for Tenant
2420
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2421
+ * @param where Filter by an any element
2422
+ * @param order Order by an any element
2423
+ * @param page Up to 100 payments will be returned in a single API call
2424
+ * @param pageSize Number of records to retrieve per page
2425
+ */
2426
+ getPayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, pageSize?: number, options?: {
2427
+ headers: {
2428
+ [name: string]: string;
2429
+ };
2430
+ }): Promise<{
2431
+ response: AxiosResponse;
2432
+ body: Payments;
2433
+ }>;
2434
+ /**
2435
+ *
2436
+ * @summary Allows you to retrieve a specified prepayments
2437
+ * @param xeroTenantId Xero identifier for Tenant
2438
+ * @param prepaymentID Unique identifier for a PrePayment
2439
+ */
2440
+ getPrepayment(xeroTenantId: string, prepaymentID: string, options?: {
2441
+ headers: {
2442
+ [name: string]: string;
2443
+ };
2444
+ }): Promise<{
2445
+ response: AxiosResponse;
2446
+ body: Prepayments;
2447
+ }>;
2448
+ /**
2449
+ *
2450
+ * @summary Retrieves history record for a specific prepayment
2451
+ * @param xeroTenantId Xero identifier for Tenant
2452
+ * @param prepaymentID Unique identifier for a PrePayment
2453
+ */
2454
+ getPrepaymentHistory(xeroTenantId: string, prepaymentID: string, options?: {
2455
+ headers: {
2456
+ [name: string]: string;
2457
+ };
2458
+ }): Promise<{
2459
+ response: AxiosResponse;
2460
+ body: HistoryRecords;
2461
+ }>;
2462
+ /**
2463
+ *
2464
+ * @summary Retrieves prepayments
2465
+ * @param xeroTenantId Xero identifier for Tenant
2466
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2467
+ * @param where Filter by an any element
2468
+ * @param order Order by an any element
2469
+ * @param page e.g. page&#x3D;1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment
2470
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2471
+ * @param pageSize Number of records to retrieve per page
2472
+ */
2473
+ getPrepayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, options?: {
2474
+ headers: {
2475
+ [name: string]: string;
2476
+ };
2477
+ }): Promise<{
2478
+ response: AxiosResponse;
2479
+ body: Prepayments;
2480
+ }>;
2481
+ /**
2482
+ *
2483
+ * @summary Retrieves a specific purchase order using a unique purchase order Id
2484
+ * @param xeroTenantId Xero identifier for Tenant
2485
+ * @param purchaseOrderID Unique identifier for an Purchase Order
2486
+ */
2487
+ getPurchaseOrder(xeroTenantId: string, purchaseOrderID: string, options?: {
2488
+ headers: {
2489
+ [name: string]: string;
2490
+ };
2491
+ }): Promise<{
2492
+ response: AxiosResponse;
2493
+ body: PurchaseOrders;
2494
+ }>;
2495
+ /**
2496
+ *
2497
+ * @summary Retrieves specific purchase order as PDF files using a unique purchase order Id
2498
+ * @param xeroTenantId Xero identifier for Tenant
2499
+ * @param purchaseOrderID Unique identifier for an Purchase Order
2500
+ */
2501
+ getPurchaseOrderAsPdf(xeroTenantId: string, purchaseOrderID: string, options?: {
2502
+ headers: {
2503
+ [name: string]: string;
2504
+ };
2505
+ }): Promise<{
2506
+ response: AxiosResponse;
2507
+ body: Buffer;
2508
+ }>;
2509
+ /**
2510
+ *
2511
+ * @summary Retrieves a specific attachment for a specific purchase order by filename
2512
+ * @param xeroTenantId Xero identifier for Tenant
2513
+ * @param purchaseOrderID Unique identifier for an Purchase Order
2514
+ * @param fileName Name of the attachment
2515
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2516
+ */
2517
+ getPurchaseOrderAttachmentByFileName(xeroTenantId: string, purchaseOrderID: string, fileName: string, contentType: string, options?: {
2518
+ headers: {
2519
+ [name: string]: string;
2520
+ };
2521
+ }): Promise<{
2522
+ response: AxiosResponse;
2523
+ body: Buffer;
2524
+ }>;
2525
+ /**
2526
+ *
2527
+ * @summary Retrieves specific attachment for a specific purchase order using a unique attachment Id
2528
+ * @param xeroTenantId Xero identifier for Tenant
2529
+ * @param purchaseOrderID Unique identifier for an Purchase Order
2530
+ * @param attachmentID Unique identifier for Attachment object
2531
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2532
+ */
2533
+ getPurchaseOrderAttachmentById(xeroTenantId: string, purchaseOrderID: string, attachmentID: string, contentType: string, options?: {
2534
+ headers: {
2535
+ [name: string]: string;
2536
+ };
2537
+ }): Promise<{
2538
+ response: AxiosResponse;
2539
+ body: Buffer;
2540
+ }>;
2541
+ /**
2542
+ *
2543
+ * @summary Retrieves attachments for a specific purchase order
2544
+ * @param xeroTenantId Xero identifier for Tenant
2545
+ * @param purchaseOrderID Unique identifier for an Purchase Order
2546
+ */
2547
+ getPurchaseOrderAttachments(xeroTenantId: string, purchaseOrderID: string, options?: {
2548
+ headers: {
2549
+ [name: string]: string;
2550
+ };
2551
+ }): Promise<{
2552
+ response: AxiosResponse;
2553
+ body: Attachments;
2554
+ }>;
2555
+ /**
2556
+ *
2557
+ * @summary Retrieves a specific purchase order using purchase order number
2558
+ * @param xeroTenantId Xero identifier for Tenant
2559
+ * @param purchaseOrderNumber Unique identifier for a PurchaseOrder
2560
+ */
2561
+ getPurchaseOrderByNumber(xeroTenantId: string, purchaseOrderNumber: string, options?: {
2562
+ headers: {
2563
+ [name: string]: string;
2564
+ };
2565
+ }): Promise<{
2566
+ response: AxiosResponse;
2567
+ body: PurchaseOrders;
2568
+ }>;
2569
+ /**
2570
+ *
2571
+ * @summary Retrieves history for a specific purchase order
2572
+ * @param xeroTenantId Xero identifier for Tenant
2573
+ * @param purchaseOrderID Unique identifier for an Purchase Order
2574
+ */
2575
+ getPurchaseOrderHistory(xeroTenantId: string, purchaseOrderID: string, options?: {
2576
+ headers: {
2577
+ [name: string]: string;
2578
+ };
2579
+ }): Promise<{
2580
+ response: AxiosResponse;
2581
+ body: HistoryRecords;
2582
+ }>;
2583
+ /**
2584
+ *
2585
+ * @summary Retrieves purchase orders
2586
+ * @param xeroTenantId Xero identifier for Tenant
2587
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2588
+ * @param status Filter by purchase order status
2589
+ * @param dateFrom Filter by purchase order date (e.g. GET https://.../PurchaseOrders?DateFrom&#x3D;2015-12-01&amp;DateTo&#x3D;2015-12-31
2590
+ * @param dateTo Filter by purchase order date (e.g. GET https://.../PurchaseOrders?DateFrom&#x3D;2015-12-01&amp;DateTo&#x3D;2015-12-31
2591
+ * @param order Order by an any element
2592
+ * @param page To specify a page, append the page parameter to the URL e.g. ?page&#x3D;1. If there are 100 records in the response you will need to check if there is any more data by fetching the next page e.g ?page&#x3D;2 and continuing this process until no more results are returned.
2593
+ * @param pageSize Number of records to retrieve per page
2594
+ */
2595
+ getPurchaseOrders(xeroTenantId: string, ifModifiedSince?: Date, status?: 'DRAFT' | 'SUBMITTED' | 'AUTHORISED' | 'BILLED' | 'DELETED', dateFrom?: string, dateTo?: string, order?: string, page?: number, pageSize?: number, options?: {
2596
+ headers: {
2597
+ [name: string]: string;
2598
+ };
2599
+ }): Promise<{
2600
+ response: AxiosResponse;
2601
+ body: PurchaseOrders;
2602
+ }>;
2603
+ /**
2604
+ *
2605
+ * @summary Retrieves a specific quote using a unique quote Id
2606
+ * @param xeroTenantId Xero identifier for Tenant
2607
+ * @param quoteID Unique identifier for an Quote
2608
+ */
2609
+ getQuote(xeroTenantId: string, quoteID: string, options?: {
2610
+ headers: {
2611
+ [name: string]: string;
2612
+ };
2613
+ }): Promise<{
2614
+ response: AxiosResponse;
2615
+ body: Quotes;
2616
+ }>;
2617
+ /**
2618
+ *
2619
+ * @summary Retrieves a specific quote as a PDF file using a unique quote Id
2620
+ * @param xeroTenantId Xero identifier for Tenant
2621
+ * @param quoteID Unique identifier for an Quote
2622
+ */
2623
+ getQuoteAsPdf(xeroTenantId: string, quoteID: string, options?: {
2624
+ headers: {
2625
+ [name: string]: string;
2626
+ };
2627
+ }): Promise<{
2628
+ response: AxiosResponse;
2629
+ body: Buffer;
2630
+ }>;
2631
+ /**
2632
+ *
2633
+ * @summary Retrieves a specific attachment from a specific quote by filename
2634
+ * @param xeroTenantId Xero identifier for Tenant
2635
+ * @param quoteID Unique identifier for an Quote
2636
+ * @param fileName Name of the attachment
2637
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2638
+ */
2639
+ getQuoteAttachmentByFileName(xeroTenantId: string, quoteID: string, fileName: string, contentType: string, options?: {
2640
+ headers: {
2641
+ [name: string]: string;
2642
+ };
2643
+ }): Promise<{
2644
+ response: AxiosResponse;
2645
+ body: Buffer;
2646
+ }>;
2647
+ /**
2648
+ *
2649
+ * @summary Retrieves a specific attachment from a specific quote using a unique attachment Id
2650
+ * @param xeroTenantId Xero identifier for Tenant
2651
+ * @param quoteID Unique identifier for an Quote
2652
+ * @param attachmentID Unique identifier for Attachment object
2653
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2654
+ */
2655
+ getQuoteAttachmentById(xeroTenantId: string, quoteID: string, attachmentID: string, contentType: string, options?: {
2656
+ headers: {
2657
+ [name: string]: string;
2658
+ };
2659
+ }): Promise<{
2660
+ response: AxiosResponse;
2661
+ body: Buffer;
2662
+ }>;
2663
+ /**
2664
+ *
2665
+ * @summary Retrieves attachments for a specific quote
2666
+ * @param xeroTenantId Xero identifier for Tenant
2667
+ * @param quoteID Unique identifier for an Quote
2668
+ */
2669
+ getQuoteAttachments(xeroTenantId: string, quoteID: string, options?: {
2670
+ headers: {
2671
+ [name: string]: string;
2672
+ };
2673
+ }): Promise<{
2674
+ response: AxiosResponse;
2675
+ body: Attachments;
2676
+ }>;
2677
+ /**
2678
+ *
2679
+ * @summary Retrieves history records of a specific quote
2680
+ * @param xeroTenantId Xero identifier for Tenant
2681
+ * @param quoteID Unique identifier for an Quote
2682
+ */
2683
+ getQuoteHistory(xeroTenantId: string, quoteID: string, options?: {
2684
+ headers: {
2685
+ [name: string]: string;
2686
+ };
2687
+ }): Promise<{
2688
+ response: AxiosResponse;
2689
+ body: HistoryRecords;
2690
+ }>;
2691
+ /**
2692
+ *
2693
+ * @summary Retrieves sales quotes
2694
+ * @param xeroTenantId Xero identifier for Tenant
2695
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2696
+ * @param dateFrom Filter for quotes after a particular date
2697
+ * @param dateTo Filter for quotes before a particular date
2698
+ * @param expiryDateFrom Filter for quotes expiring after a particular date
2699
+ * @param expiryDateTo Filter for quotes before a particular date
2700
+ * @param contactID Filter for quotes belonging to a particular contact
2701
+ * @param status Filter for quotes of a particular Status
2702
+ * @param page e.g. page&#x3D;1 – Up to 100 Quotes will be returned in a single API call with line items shown for each quote
2703
+ * @param order Order by an any element
2704
+ * @param quoteNumber Filter by quote number (e.g. GET https://.../Quotes?QuoteNumber&#x3D;QU-0001)
2705
+ */
2706
+ getQuotes(xeroTenantId: string, ifModifiedSince?: Date, dateFrom?: string, dateTo?: string, expiryDateFrom?: string, expiryDateTo?: string, contactID?: string, status?: string, page?: number, order?: string, quoteNumber?: string, options?: {
2707
+ headers: {
2708
+ [name: string]: string;
2709
+ };
2710
+ }): Promise<{
2711
+ response: AxiosResponse;
2712
+ body: Quotes;
2713
+ }>;
2714
+ /**
2715
+ *
2716
+ * @summary Retrieves a specific draft expense claim receipt by using a unique receipt Id
2717
+ * @param xeroTenantId Xero identifier for Tenant
2718
+ * @param receiptID Unique identifier for a Receipt
2719
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2720
+ */
2721
+ getReceipt(xeroTenantId: string, receiptID: string, unitdp?: number, options?: {
2722
+ headers: {
2723
+ [name: string]: string;
2724
+ };
2725
+ }): Promise<{
2726
+ response: AxiosResponse;
2727
+ body: Receipts;
2728
+ }>;
2729
+ /**
2730
+ *
2731
+ * @summary Retrieves a specific attachment from a specific expense claim receipts by file name
2732
+ * @param xeroTenantId Xero identifier for Tenant
2733
+ * @param receiptID Unique identifier for a Receipt
2734
+ * @param fileName Name of the attachment
2735
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2736
+ */
2737
+ getReceiptAttachmentByFileName(xeroTenantId: string, receiptID: string, fileName: string, contentType: string, options?: {
2738
+ headers: {
2739
+ [name: string]: string;
2740
+ };
2741
+ }): Promise<{
2742
+ response: AxiosResponse;
2743
+ body: Buffer;
2744
+ }>;
2745
+ /**
2746
+ *
2747
+ * @summary Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
2748
+ * @param xeroTenantId Xero identifier for Tenant
2749
+ * @param receiptID Unique identifier for a Receipt
2750
+ * @param attachmentID Unique identifier for Attachment object
2751
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2752
+ */
2753
+ getReceiptAttachmentById(xeroTenantId: string, receiptID: string, attachmentID: string, contentType: string, options?: {
2754
+ headers: {
2755
+ [name: string]: string;
2756
+ };
2757
+ }): Promise<{
2758
+ response: AxiosResponse;
2759
+ body: Buffer;
2760
+ }>;
2761
+ /**
2762
+ *
2763
+ * @summary Retrieves attachments for a specific expense claim receipt
2764
+ * @param xeroTenantId Xero identifier for Tenant
2765
+ * @param receiptID Unique identifier for a Receipt
2766
+ */
2767
+ getReceiptAttachments(xeroTenantId: string, receiptID: string, options?: {
2768
+ headers: {
2769
+ [name: string]: string;
2770
+ };
2771
+ }): Promise<{
2772
+ response: AxiosResponse;
2773
+ body: Attachments;
2774
+ }>;
2775
+ /**
2776
+ *
2777
+ * @summary Retrieves a history record for a specific receipt
2778
+ * @param xeroTenantId Xero identifier for Tenant
2779
+ * @param receiptID Unique identifier for a Receipt
2780
+ */
2781
+ getReceiptHistory(xeroTenantId: string, receiptID: string, options?: {
2782
+ headers: {
2783
+ [name: string]: string;
2784
+ };
2785
+ }): Promise<{
2786
+ response: AxiosResponse;
2787
+ body: HistoryRecords;
2788
+ }>;
2789
+ /**
2790
+ *
2791
+ * @summary Retrieves draft expense claim receipts for any user
2792
+ * @param xeroTenantId Xero identifier for Tenant
2793
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
2794
+ * @param where Filter by an any element
2795
+ * @param order Order by an any element
2796
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
2797
+ */
2798
+ getReceipts(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, unitdp?: number, options?: {
2799
+ headers: {
2800
+ [name: string]: string;
2801
+ };
2802
+ }): Promise<{
2803
+ response: AxiosResponse;
2804
+ body: Receipts;
2805
+ }>;
2806
+ /**
2807
+ *
2808
+ * @summary Retrieves a specific repeating invoice by using a unique repeating invoice Id
2809
+ * @param xeroTenantId Xero identifier for Tenant
2810
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
2811
+ */
2812
+ getRepeatingInvoice(xeroTenantId: string, repeatingInvoiceID: string, options?: {
2813
+ headers: {
2814
+ [name: string]: string;
2815
+ };
2816
+ }): Promise<{
2817
+ response: AxiosResponse;
2818
+ body: RepeatingInvoices;
2819
+ }>;
2820
+ /**
2821
+ *
2822
+ * @summary Retrieves a specific attachment from a specific repeating invoices by file name
2823
+ * @param xeroTenantId Xero identifier for Tenant
2824
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
2825
+ * @param fileName Name of the attachment
2826
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2827
+ */
2828
+ getRepeatingInvoiceAttachmentByFileName(xeroTenantId: string, repeatingInvoiceID: string, fileName: string, contentType: string, options?: {
2829
+ headers: {
2830
+ [name: string]: string;
2831
+ };
2832
+ }): Promise<{
2833
+ response: AxiosResponse;
2834
+ body: Buffer;
2835
+ }>;
2836
+ /**
2837
+ *
2838
+ * @summary Retrieves a specific attachment from a specific repeating invoice
2839
+ * @param xeroTenantId Xero identifier for Tenant
2840
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
2841
+ * @param attachmentID Unique identifier for Attachment object
2842
+ * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
2843
+ */
2844
+ getRepeatingInvoiceAttachmentById(xeroTenantId: string, repeatingInvoiceID: string, attachmentID: string, contentType: string, options?: {
2845
+ headers: {
2846
+ [name: string]: string;
2847
+ };
2848
+ }): Promise<{
2849
+ response: AxiosResponse;
2850
+ body: Buffer;
2851
+ }>;
2852
+ /**
2853
+ *
2854
+ * @summary Retrieves attachments from a specific repeating invoice
2855
+ * @param xeroTenantId Xero identifier for Tenant
2856
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
2857
+ */
2858
+ getRepeatingInvoiceAttachments(xeroTenantId: string, repeatingInvoiceID: string, options?: {
2859
+ headers: {
2860
+ [name: string]: string;
2861
+ };
2862
+ }): Promise<{
2863
+ response: AxiosResponse;
2864
+ body: Attachments;
2865
+ }>;
2866
+ /**
2867
+ *
2868
+ * @summary Retrieves history record for a specific repeating invoice
2869
+ * @param xeroTenantId Xero identifier for Tenant
2870
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
2871
+ */
2872
+ getRepeatingInvoiceHistory(xeroTenantId: string, repeatingInvoiceID: string, options?: {
2873
+ headers: {
2874
+ [name: string]: string;
2875
+ };
2876
+ }): Promise<{
2877
+ response: AxiosResponse;
2878
+ body: HistoryRecords;
2879
+ }>;
2880
+ /**
2881
+ *
2882
+ * @summary Retrieves repeating invoices
2883
+ * @param xeroTenantId Xero identifier for Tenant
2884
+ * @param where Filter by an any element
2885
+ * @param order Order by an any element
2886
+ */
2887
+ getRepeatingInvoices(xeroTenantId: string, where?: string, order?: string, options?: {
2888
+ headers: {
2889
+ [name: string]: string;
2890
+ };
2891
+ }): Promise<{
2892
+ response: AxiosResponse;
2893
+ body: RepeatingInvoices;
2894
+ }>;
2895
+ /**
2896
+ *
2897
+ * @summary Retrieves report for aged payables by contact
2898
+ * @param xeroTenantId Xero identifier for Tenant
2899
+ * @param contactId Unique identifier for a Contact
2900
+ * @param date The date of the Aged Payables By Contact report
2901
+ * @param fromDate filter by the from date of the report e.g. 2021-02-01
2902
+ * @param toDate filter by the to date of the report e.g. 2021-02-28
2903
+ */
2904
+ getReportAgedPayablesByContact(xeroTenantId: string, contactId: string, date?: string, fromDate?: string, toDate?: string, options?: {
2905
+ headers: {
2906
+ [name: string]: string;
2907
+ };
2908
+ }): Promise<{
2909
+ response: AxiosResponse;
2910
+ body: ReportWithRows;
2911
+ }>;
2912
+ /**
2913
+ *
2914
+ * @summary Retrieves report for aged receivables by contact
2915
+ * @param xeroTenantId Xero identifier for Tenant
2916
+ * @param contactId Unique identifier for a Contact
2917
+ * @param date The date of the Aged Receivables By Contact report
2918
+ * @param fromDate filter by the from date of the report e.g. 2021-02-01
2919
+ * @param toDate filter by the to date of the report e.g. 2021-02-28
2920
+ */
2921
+ getReportAgedReceivablesByContact(xeroTenantId: string, contactId: string, date?: string, fromDate?: string, toDate?: string, options?: {
2922
+ headers: {
2923
+ [name: string]: string;
2924
+ };
2925
+ }): Promise<{
2926
+ response: AxiosResponse;
2927
+ body: ReportWithRows;
2928
+ }>;
2929
+ /**
2930
+ *
2931
+ * @summary Retrieves report for balancesheet
2932
+ * @param xeroTenantId Xero identifier for Tenant
2933
+ * @param date The date of the Balance Sheet report
2934
+ * @param periods The number of periods for the Balance Sheet report
2935
+ * @param timeframe The period size to compare to (MONTH, QUARTER, YEAR)
2936
+ * @param trackingOptionID1 The tracking option 1 for the Balance Sheet report
2937
+ * @param trackingOptionID2 The tracking option 2 for the Balance Sheet report
2938
+ * @param standardLayout The standard layout boolean for the Balance Sheet report
2939
+ * @param paymentsOnly return a cash basis for the Balance Sheet report
2940
+ */
2941
+ getReportBalanceSheet(xeroTenantId: string, date?: string, periods?: number, timeframe?: 'MONTH' | 'QUARTER' | 'YEAR', trackingOptionID1?: string, trackingOptionID2?: string, standardLayout?: boolean, paymentsOnly?: boolean, options?: {
2942
+ headers: {
2943
+ [name: string]: string;
2944
+ };
2945
+ }): Promise<{
2946
+ response: AxiosResponse;
2947
+ body: ReportWithRows;
2948
+ }>;
2949
+ /**
2950
+ *
2951
+ * @summary Retrieves report for bank summary
2952
+ * @param xeroTenantId Xero identifier for Tenant
2953
+ * @param fromDate filter by the from date of the report e.g. 2021-02-01
2954
+ * @param toDate filter by the to date of the report e.g. 2021-02-28
2955
+ */
2956
+ getReportBankSummary(xeroTenantId: string, fromDate?: string, toDate?: string, options?: {
2957
+ headers: {
2958
+ [name: string]: string;
2959
+ };
2960
+ }): Promise<{
2961
+ response: AxiosResponse;
2962
+ body: ReportWithRows;
2963
+ }>;
2964
+ /**
2965
+ *
2966
+ * @summary Retrieves report for budget summary
2967
+ * @param xeroTenantId Xero identifier for Tenant
2968
+ * @param date The date for the Bank Summary report e.g. 2018-03-31
2969
+ * @param periods The number of periods to compare (integer between 1 and 12)
2970
+ * @param timeframe The period size to compare to (1&#x3D;month, 3&#x3D;quarter, 12&#x3D;year)
2971
+ */
2972
+ getReportBudgetSummary(xeroTenantId: string, date?: string, periods?: number, timeframe?: number, options?: {
2973
+ headers: {
2974
+ [name: string]: string;
2975
+ };
2976
+ }): Promise<{
2977
+ response: AxiosResponse;
2978
+ body: ReportWithRows;
2979
+ }>;
2980
+ /**
2981
+ *
2982
+ * @summary Retrieves report for executive summary
2983
+ * @param xeroTenantId Xero identifier for Tenant
2984
+ * @param date The date for the Bank Summary report e.g. 2018-03-31
2985
+ */
2986
+ getReportExecutiveSummary(xeroTenantId: string, date?: string, options?: {
2987
+ headers: {
2988
+ [name: string]: string;
2989
+ };
2990
+ }): Promise<{
2991
+ response: AxiosResponse;
2992
+ body: ReportWithRows;
2993
+ }>;
2994
+ /**
2995
+ *
2996
+ * @summary Retrieves a specific report using a unique ReportID
2997
+ * @param xeroTenantId Xero identifier for Tenant
2998
+ * @param reportID Unique identifier for a Report
2999
+ */
3000
+ getReportFromId(xeroTenantId: string, reportID: string, options?: {
3001
+ headers: {
3002
+ [name: string]: string;
3003
+ };
3004
+ }): Promise<{
3005
+ response: AxiosResponse;
3006
+ body: ReportWithRows;
3007
+ }>;
3008
+ /**
3009
+ *
3010
+ * @summary Retrieves report for profit and loss
3011
+ * @param xeroTenantId Xero identifier for Tenant
3012
+ * @param fromDate filter by the from date of the report e.g. 2021-02-01
3013
+ * @param toDate filter by the to date of the report e.g. 2021-02-28
3014
+ * @param periods The number of periods to compare (integer between 1 and 12)
3015
+ * @param timeframe The period size to compare to (MONTH, QUARTER, YEAR)
3016
+ * @param trackingCategoryID The trackingCategory 1 for the ProfitAndLoss report
3017
+ * @param trackingCategoryID2 The trackingCategory 2 for the ProfitAndLoss report
3018
+ * @param trackingOptionID The tracking option 1 for the ProfitAndLoss report
3019
+ * @param trackingOptionID2 The tracking option 2 for the ProfitAndLoss report
3020
+ * @param standardLayout Return the standard layout for the ProfitAndLoss report
3021
+ * @param paymentsOnly Return cash only basis for the ProfitAndLoss report
3022
+ */
3023
+ getReportProfitAndLoss(xeroTenantId: string, fromDate?: string, toDate?: string, periods?: number, timeframe?: 'MONTH' | 'QUARTER' | 'YEAR', trackingCategoryID?: string, trackingCategoryID2?: string, trackingOptionID?: string, trackingOptionID2?: string, standardLayout?: boolean, paymentsOnly?: boolean, options?: {
3024
+ headers: {
3025
+ [name: string]: string;
3026
+ };
3027
+ }): Promise<{
3028
+ response: AxiosResponse;
3029
+ body: ReportWithRows;
3030
+ }>;
3031
+ /**
3032
+ *
3033
+ * @summary Retrieve reports for 1099
3034
+ * @param xeroTenantId Xero identifier for Tenant
3035
+ * @param reportYear The year of the 1099 report
3036
+ */
3037
+ getReportTenNinetyNine(xeroTenantId: string, reportYear?: string, options?: {
3038
+ headers: {
3039
+ [name: string]: string;
3040
+ };
3041
+ }): Promise<{
3042
+ response: AxiosResponse;
3043
+ body: Reports;
3044
+ }>;
3045
+ /**
3046
+ *
3047
+ * @summary Retrieves report for trial balance
3048
+ * @param xeroTenantId Xero identifier for Tenant
3049
+ * @param date The date for the Trial Balance report e.g. 2018-03-31
3050
+ * @param paymentsOnly Return cash only basis for the Trial Balance report
3051
+ */
3052
+ getReportTrialBalance(xeroTenantId: string, date?: string, paymentsOnly?: boolean, options?: {
3053
+ headers: {
3054
+ [name: string]: string;
3055
+ };
3056
+ }): Promise<{
3057
+ response: AxiosResponse;
3058
+ body: ReportWithRows;
3059
+ }>;
3060
+ /**
3061
+ *
3062
+ * @summary Retrieves a list of the organistaions unique reports that require a uuid to fetch
3063
+ * @param xeroTenantId Xero identifier for Tenant
3064
+ */
3065
+ getReportsList(xeroTenantId: string, options?: {
3066
+ headers: {
3067
+ [name: string]: string;
3068
+ };
3069
+ }): Promise<{
3070
+ response: AxiosResponse;
3071
+ body: ReportWithRows;
3072
+ }>;
3073
+ /**
3074
+ *
3075
+ * @summary Retrieves a specific tax rate according to given TaxType code
3076
+ * @param xeroTenantId Xero identifier for Tenant
3077
+ * @param taxType A valid TaxType code
3078
+ */
3079
+ getTaxRateByTaxType(xeroTenantId: string, taxType: string, options?: {
3080
+ headers: {
3081
+ [name: string]: string;
3082
+ };
3083
+ }): Promise<{
3084
+ response: AxiosResponse;
3085
+ body: TaxRates;
3086
+ }>;
3087
+ /**
3088
+ *
3089
+ * @summary Retrieves tax rates
3090
+ * @param xeroTenantId Xero identifier for Tenant
3091
+ * @param where Filter by an any element
3092
+ * @param order Order by an any element
3093
+ */
3094
+ getTaxRates(xeroTenantId: string, where?: string, order?: string, options?: {
3095
+ headers: {
3096
+ [name: string]: string;
3097
+ };
3098
+ }): Promise<{
3099
+ response: AxiosResponse;
3100
+ body: TaxRates;
3101
+ }>;
3102
+ /**
3103
+ *
3104
+ * @summary Retrieves tracking categories and options
3105
+ * @param xeroTenantId Xero identifier for Tenant
3106
+ * @param where Filter by an any element
3107
+ * @param order Order by an any element
3108
+ * @param includeArchived e.g. includeArchived&#x3D;true - Categories and options with a status of ARCHIVED will be included in the response
3109
+ */
3110
+ getTrackingCategories(xeroTenantId: string, where?: string, order?: string, includeArchived?: boolean, options?: {
3111
+ headers: {
3112
+ [name: string]: string;
3113
+ };
3114
+ }): Promise<{
3115
+ response: AxiosResponse;
3116
+ body: TrackingCategories;
3117
+ }>;
3118
+ /**
3119
+ *
3120
+ * @summary Retrieves specific tracking categories and options using a unique tracking category Id
3121
+ * @param xeroTenantId Xero identifier for Tenant
3122
+ * @param trackingCategoryID Unique identifier for a TrackingCategory
3123
+ */
3124
+ getTrackingCategory(xeroTenantId: string, trackingCategoryID: string, options?: {
3125
+ headers: {
3126
+ [name: string]: string;
3127
+ };
3128
+ }): Promise<{
3129
+ response: AxiosResponse;
3130
+ body: TrackingCategories;
3131
+ }>;
3132
+ /**
3133
+ *
3134
+ * @summary Retrieves a specific user
3135
+ * @param xeroTenantId Xero identifier for Tenant
3136
+ * @param userID Unique identifier for a User
3137
+ */
3138
+ getUser(xeroTenantId: string, userID: string, options?: {
3139
+ headers: {
3140
+ [name: string]: string;
3141
+ };
3142
+ }): Promise<{
3143
+ response: AxiosResponse;
3144
+ body: Users;
3145
+ }>;
3146
+ /**
3147
+ *
3148
+ * @summary Retrieves users
3149
+ * @param xeroTenantId Xero identifier for Tenant
3150
+ * @param ifModifiedSince Only records created or modified since this timestamp will be returned
3151
+ * @param where Filter by an any element
3152
+ * @param order Order by an any element
3153
+ */
3154
+ getUsers(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, options?: {
3155
+ headers: {
3156
+ [name: string]: string;
3157
+ };
3158
+ }): Promise<{
3159
+ response: AxiosResponse;
3160
+ body: Users;
3161
+ }>;
3162
+ /**
3163
+ *
3164
+ * @summary Sets the chart of accounts, the conversion date and conversion balances
3165
+ * @param xeroTenantId Xero identifier for Tenant
3166
+ * @param setup Object including an accounts array, a conversion balances array and a conversion date object in body of request
3167
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3168
+ */
3169
+ postSetup(xeroTenantId: string, setup: Setup, idempotencyKey?: string, options?: {
3170
+ headers: {
3171
+ [name: string]: string;
3172
+ };
3173
+ }): Promise<{
3174
+ response: AxiosResponse;
3175
+ body: ImportSummaryObject;
3176
+ }>;
3177
+ /**
3178
+ *
3179
+ * @summary Updates a chart of accounts
3180
+ * @param xeroTenantId Xero identifier for Tenant
3181
+ * @param accountID Unique identifier for Account object
3182
+ * @param accounts Request of type Accounts array with one Account
3183
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3184
+ */
3185
+ updateAccount(xeroTenantId: string, accountID: string, accounts: Accounts, idempotencyKey?: string, options?: {
3186
+ headers: {
3187
+ [name: string]: string;
3188
+ };
3189
+ }): Promise<{
3190
+ response: AxiosResponse;
3191
+ body: Accounts;
3192
+ }>;
3193
+ /**
3194
+ *
3195
+ * @summary Updates attachment on a specific account by filename
3196
+ * @param xeroTenantId Xero identifier for Tenant
3197
+ * @param accountID Unique identifier for Account object
3198
+ * @param fileName Name of the attachment
3199
+ * @param body Byte array of file in body of request
3200
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3201
+ */
3202
+ updateAccountAttachmentByFileName(xeroTenantId: string, accountID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3203
+ headers: {
3204
+ [name: string]: string;
3205
+ };
3206
+ }): Promise<{
3207
+ response: AxiosResponse;
3208
+ body: Attachments;
3209
+ }>;
3210
+ /**
3211
+ *
3212
+ * @summary Updates a single spent or received money transaction
3213
+ * @param xeroTenantId Xero identifier for Tenant
3214
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
3215
+ * @param bankTransactions
3216
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3217
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3218
+ */
3219
+ updateBankTransaction(xeroTenantId: string, bankTransactionID: string, bankTransactions: BankTransactions, unitdp?: number, idempotencyKey?: string, options?: {
3220
+ headers: {
3221
+ [name: string]: string;
3222
+ };
3223
+ }): Promise<{
3224
+ response: AxiosResponse;
3225
+ body: BankTransactions;
3226
+ }>;
3227
+ /**
3228
+ *
3229
+ * @summary Updates a specific attachment from a specific bank transaction by filename
3230
+ * @param xeroTenantId Xero identifier for Tenant
3231
+ * @param bankTransactionID Xero generated unique identifier for a bank transaction
3232
+ * @param fileName Name of the attachment
3233
+ * @param body Byte array of file in body of request
3234
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3235
+ */
3236
+ updateBankTransactionAttachmentByFileName(xeroTenantId: string, bankTransactionID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3237
+ headers: {
3238
+ [name: string]: string;
3239
+ };
3240
+ }): Promise<{
3241
+ response: AxiosResponse;
3242
+ body: Attachments;
3243
+ }>;
3244
+ /**
3245
+ *
3246
+ * @param xeroTenantId Xero identifier for Tenant
3247
+ * @param bankTransferID Xero generated unique identifier for a bank transfer
3248
+ * @param fileName Name of the attachment
3249
+ * @param body Byte array of file in body of request
3250
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3251
+ */
3252
+ updateBankTransferAttachmentByFileName(xeroTenantId: string, bankTransferID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3253
+ headers: {
3254
+ [name: string]: string;
3255
+ };
3256
+ }): Promise<{
3257
+ response: AxiosResponse;
3258
+ body: Attachments;
3259
+ }>;
3260
+ /**
3261
+ *
3262
+ * @summary Updates a specific contact in a Xero organisation
3263
+ * @param xeroTenantId Xero identifier for Tenant
3264
+ * @param contactID Unique identifier for a Contact
3265
+ * @param contacts an array of Contacts containing single Contact object with properties to update
3266
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3267
+ */
3268
+ updateContact(xeroTenantId: string, contactID: string, contacts: Contacts, idempotencyKey?: string, options?: {
3269
+ headers: {
3270
+ [name: string]: string;
3271
+ };
3272
+ }): Promise<{
3273
+ response: AxiosResponse;
3274
+ body: Contacts;
3275
+ }>;
3276
+ /**
3277
+ *
3278
+ * @param xeroTenantId Xero identifier for Tenant
3279
+ * @param contactID Unique identifier for a Contact
3280
+ * @param fileName Name of the attachment
3281
+ * @param body Byte array of file in body of request
3282
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3283
+ */
3284
+ updateContactAttachmentByFileName(xeroTenantId: string, contactID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3285
+ headers: {
3286
+ [name: string]: string;
3287
+ };
3288
+ }): Promise<{
3289
+ response: AxiosResponse;
3290
+ body: Attachments;
3291
+ }>;
3292
+ /**
3293
+ *
3294
+ * @summary Updates a specific contact group
3295
+ * @param xeroTenantId Xero identifier for Tenant
3296
+ * @param contactGroupID Unique identifier for a Contact Group
3297
+ * @param contactGroups an array of Contact groups with Name of specific group to update
3298
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3299
+ */
3300
+ updateContactGroup(xeroTenantId: string, contactGroupID: string, contactGroups: ContactGroups, idempotencyKey?: string, options?: {
3301
+ headers: {
3302
+ [name: string]: string;
3303
+ };
3304
+ }): Promise<{
3305
+ response: AxiosResponse;
3306
+ body: ContactGroups;
3307
+ }>;
3308
+ /**
3309
+ *
3310
+ * @summary Updates a specific credit note
3311
+ * @param xeroTenantId Xero identifier for Tenant
3312
+ * @param creditNoteID Unique identifier for a Credit Note
3313
+ * @param creditNotes an array of Credit Notes containing credit note details to update
3314
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3315
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3316
+ */
3317
+ updateCreditNote(xeroTenantId: string, creditNoteID: string, creditNotes: CreditNotes, unitdp?: number, idempotencyKey?: string, options?: {
3318
+ headers: {
3319
+ [name: string]: string;
3320
+ };
3321
+ }): Promise<{
3322
+ response: AxiosResponse;
3323
+ body: CreditNotes;
3324
+ }>;
3325
+ /**
3326
+ *
3327
+ * @summary Updates attachments on a specific credit note by file name
3328
+ * @param xeroTenantId Xero identifier for Tenant
3329
+ * @param creditNoteID Unique identifier for a Credit Note
3330
+ * @param fileName Name of the attachment
3331
+ * @param body Byte array of file in body of request
3332
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3333
+ */
3334
+ updateCreditNoteAttachmentByFileName(xeroTenantId: string, creditNoteID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3335
+ headers: {
3336
+ [name: string]: string;
3337
+ };
3338
+ }): Promise<{
3339
+ response: AxiosResponse;
3340
+ body: Attachments;
3341
+ }>;
3342
+ /**
3343
+ *
3344
+ * @summary Updates a specific expense claims
3345
+ * @param xeroTenantId Xero identifier for Tenant
3346
+ * @param expenseClaimID Unique identifier for a ExpenseClaim
3347
+ * @param expenseClaims
3348
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3349
+ */
3350
+ updateExpenseClaim(xeroTenantId: string, expenseClaimID: string, expenseClaims: ExpenseClaims, idempotencyKey?: string, options?: {
3351
+ headers: {
3352
+ [name: string]: string;
3353
+ };
3354
+ }): Promise<{
3355
+ response: AxiosResponse;
3356
+ body: ExpenseClaims;
3357
+ }>;
3358
+ /**
3359
+ *
3360
+ * @summary Updates a specific sales invoices or purchase bills
3361
+ * @param xeroTenantId Xero identifier for Tenant
3362
+ * @param invoiceID Unique identifier for an Invoice
3363
+ * @param invoices
3364
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3365
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3366
+ */
3367
+ updateInvoice(xeroTenantId: string, invoiceID: string, invoices: Invoices, unitdp?: number, idempotencyKey?: string, options?: {
3368
+ headers: {
3369
+ [name: string]: string;
3370
+ };
3371
+ }): Promise<{
3372
+ response: AxiosResponse;
3373
+ body: Invoices;
3374
+ }>;
3375
+ /**
3376
+ *
3377
+ * @summary Updates an attachment from a specific invoices or purchase bill by filename
3378
+ * @param xeroTenantId Xero identifier for Tenant
3379
+ * @param invoiceID Unique identifier for an Invoice
3380
+ * @param fileName Name of the attachment
3381
+ * @param body Byte array of file in body of request
3382
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3383
+ */
3384
+ updateInvoiceAttachmentByFileName(xeroTenantId: string, invoiceID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3385
+ headers: {
3386
+ [name: string]: string;
3387
+ };
3388
+ }): Promise<{
3389
+ response: AxiosResponse;
3390
+ body: Attachments;
3391
+ }>;
3392
+ /**
3393
+ *
3394
+ * @summary Updates a specific item
3395
+ * @param xeroTenantId Xero identifier for Tenant
3396
+ * @param itemID Unique identifier for an Item
3397
+ * @param items
3398
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3399
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3400
+ */
3401
+ updateItem(xeroTenantId: string, itemID: string, items: Items, unitdp?: number, idempotencyKey?: string, options?: {
3402
+ headers: {
3403
+ [name: string]: string;
3404
+ };
3405
+ }): Promise<{
3406
+ response: AxiosResponse;
3407
+ body: Items;
3408
+ }>;
3409
+ /**
3410
+ *
3411
+ * @summary Updates a specific linked transactions (billable expenses)
3412
+ * @param xeroTenantId Xero identifier for Tenant
3413
+ * @param linkedTransactionID Unique identifier for a LinkedTransaction
3414
+ * @param linkedTransactions
3415
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3416
+ */
3417
+ updateLinkedTransaction(xeroTenantId: string, linkedTransactionID: string, linkedTransactions: LinkedTransactions, idempotencyKey?: string, options?: {
3418
+ headers: {
3419
+ [name: string]: string;
3420
+ };
3421
+ }): Promise<{
3422
+ response: AxiosResponse;
3423
+ body: LinkedTransactions;
3424
+ }>;
3425
+ /**
3426
+ *
3427
+ * @summary Updates a specific manual journal
3428
+ * @param xeroTenantId Xero identifier for Tenant
3429
+ * @param manualJournalID Unique identifier for a ManualJournal
3430
+ * @param manualJournals
3431
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3432
+ */
3433
+ updateManualJournal(xeroTenantId: string, manualJournalID: string, manualJournals: ManualJournals, idempotencyKey?: string, options?: {
3434
+ headers: {
3435
+ [name: string]: string;
3436
+ };
3437
+ }): Promise<{
3438
+ response: AxiosResponse;
3439
+ body: ManualJournals;
3440
+ }>;
3441
+ /**
3442
+ *
3443
+ * @summary Updates a specific attachment from a specific manual journal by file name
3444
+ * @param xeroTenantId Xero identifier for Tenant
3445
+ * @param manualJournalID Unique identifier for a ManualJournal
3446
+ * @param fileName Name of the attachment
3447
+ * @param body Byte array of file in body of request
3448
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3449
+ */
3450
+ updateManualJournalAttachmentByFileName(xeroTenantId: string, manualJournalID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3451
+ headers: {
3452
+ [name: string]: string;
3453
+ };
3454
+ }): Promise<{
3455
+ response: AxiosResponse;
3456
+ body: Attachments;
3457
+ }>;
3458
+ /**
3459
+ *
3460
+ * @summary Updates or creates one or more spent or received money transaction
3461
+ * @param xeroTenantId Xero identifier for Tenant
3462
+ * @param bankTransactions
3463
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3464
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3465
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3466
+ */
3467
+ updateOrCreateBankTransactions(xeroTenantId: string, bankTransactions: BankTransactions, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
3468
+ headers: {
3469
+ [name: string]: string;
3470
+ };
3471
+ }): Promise<{
3472
+ response: AxiosResponse;
3473
+ body: BankTransactions;
3474
+ }>;
3475
+ /**
3476
+ *
3477
+ * @summary Updates or creates one or more contacts in a Xero organisation
3478
+ * @param xeroTenantId Xero identifier for Tenant
3479
+ * @param contacts
3480
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3481
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3482
+ */
3483
+ updateOrCreateContacts(xeroTenantId: string, contacts: Contacts, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
3484
+ headers: {
3485
+ [name: string]: string;
3486
+ };
3487
+ }): Promise<{
3488
+ response: AxiosResponse;
3489
+ body: Contacts;
3490
+ }>;
3491
+ /**
3492
+ *
3493
+ * @summary Updates or creates one or more credit notes
3494
+ * @param xeroTenantId Xero identifier for Tenant
3495
+ * @param creditNotes an array of Credit Notes with a single CreditNote object.
3496
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3497
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3498
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3499
+ */
3500
+ updateOrCreateCreditNotes(xeroTenantId: string, creditNotes: CreditNotes, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
3501
+ headers: {
3502
+ [name: string]: string;
3503
+ };
3504
+ }): Promise<{
3505
+ response: AxiosResponse;
3506
+ body: CreditNotes;
3507
+ }>;
3508
+ /**
3509
+ *
3510
+ * @summary Creates a single new employees used in Xero payrun
3511
+ * @param xeroTenantId Xero identifier for Tenant
3512
+ * @param employees Employees with array of Employee object in body of request
3513
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3514
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3515
+ */
3516
+ updateOrCreateEmployees(xeroTenantId: string, employees: Employees, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
3517
+ headers: {
3518
+ [name: string]: string;
3519
+ };
3520
+ }): Promise<{
3521
+ response: AxiosResponse;
3522
+ body: Employees;
3523
+ }>;
3524
+ /**
3525
+ *
3526
+ * @summary Updates or creates one or more sales invoices or purchase bills
3527
+ * @param xeroTenantId Xero identifier for Tenant
3528
+ * @param invoices
3529
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3530
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3531
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3532
+ */
3533
+ updateOrCreateInvoices(xeroTenantId: string, invoices: Invoices, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
3534
+ headers: {
3535
+ [name: string]: string;
3536
+ };
3537
+ }): Promise<{
3538
+ response: AxiosResponse;
3539
+ body: Invoices;
3540
+ }>;
3541
+ /**
3542
+ *
3543
+ * @summary Updates or creates one or more items
3544
+ * @param xeroTenantId Xero identifier for Tenant
3545
+ * @param items
3546
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3547
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3548
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3549
+ */
3550
+ updateOrCreateItems(xeroTenantId: string, items: Items, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
3551
+ headers: {
3552
+ [name: string]: string;
3553
+ };
3554
+ }): Promise<{
3555
+ response: AxiosResponse;
3556
+ body: Items;
3557
+ }>;
3558
+ /**
3559
+ *
3560
+ * @summary Updates or creates a single manual journal
3561
+ * @param xeroTenantId Xero identifier for Tenant
3562
+ * @param manualJournals ManualJournals array with ManualJournal object in body of request
3563
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3564
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3565
+ */
3566
+ updateOrCreateManualJournals(xeroTenantId: string, manualJournals: ManualJournals, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
3567
+ headers: {
3568
+ [name: string]: string;
3569
+ };
3570
+ }): Promise<{
3571
+ response: AxiosResponse;
3572
+ body: ManualJournals;
3573
+ }>;
3574
+ /**
3575
+ *
3576
+ * @summary Updates or creates one or more purchase orders
3577
+ * @param xeroTenantId Xero identifier for Tenant
3578
+ * @param purchaseOrders
3579
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3580
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3581
+ */
3582
+ updateOrCreatePurchaseOrders(xeroTenantId: string, purchaseOrders: PurchaseOrders, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
3583
+ headers: {
3584
+ [name: string]: string;
3585
+ };
3586
+ }): Promise<{
3587
+ response: AxiosResponse;
3588
+ body: PurchaseOrders;
3589
+ }>;
3590
+ /**
3591
+ *
3592
+ * @summary Updates or creates one or more quotes
3593
+ * @param xeroTenantId Xero identifier for Tenant
3594
+ * @param quotes
3595
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3596
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3597
+ */
3598
+ updateOrCreateQuotes(xeroTenantId: string, quotes: Quotes, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
3599
+ headers: {
3600
+ [name: string]: string;
3601
+ };
3602
+ }): Promise<{
3603
+ response: AxiosResponse;
3604
+ body: Quotes;
3605
+ }>;
3606
+ /**
3607
+ *
3608
+ * @summary Creates or deletes one or more repeating invoice templates
3609
+ * @param xeroTenantId Xero identifier for Tenant
3610
+ * @param repeatingInvoices RepeatingInvoices with an array of repeating invoice objects in body of request
3611
+ * @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
3612
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3613
+ */
3614
+ updateOrCreateRepeatingInvoices(xeroTenantId: string, repeatingInvoices: RepeatingInvoices, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
3615
+ headers: {
3616
+ [name: string]: string;
3617
+ };
3618
+ }): Promise<{
3619
+ response: AxiosResponse;
3620
+ body: RepeatingInvoices;
3621
+ }>;
3622
+ /**
3623
+ *
3624
+ * @summary Updates a specific purchase order
3625
+ * @param xeroTenantId Xero identifier for Tenant
3626
+ * @param purchaseOrderID Unique identifier for an Purchase Order
3627
+ * @param purchaseOrders
3628
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3629
+ */
3630
+ updatePurchaseOrder(xeroTenantId: string, purchaseOrderID: string, purchaseOrders: PurchaseOrders, idempotencyKey?: string, options?: {
3631
+ headers: {
3632
+ [name: string]: string;
3633
+ };
3634
+ }): Promise<{
3635
+ response: AxiosResponse;
3636
+ body: PurchaseOrders;
3637
+ }>;
3638
+ /**
3639
+ *
3640
+ * @summary Updates a specific attachment for a specific purchase order by filename
3641
+ * @param xeroTenantId Xero identifier for Tenant
3642
+ * @param purchaseOrderID Unique identifier for an Purchase Order
3643
+ * @param fileName Name of the attachment
3644
+ * @param body Byte array of file in body of request
3645
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3646
+ */
3647
+ updatePurchaseOrderAttachmentByFileName(xeroTenantId: string, purchaseOrderID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3648
+ headers: {
3649
+ [name: string]: string;
3650
+ };
3651
+ }): Promise<{
3652
+ response: AxiosResponse;
3653
+ body: Attachments;
3654
+ }>;
3655
+ /**
3656
+ *
3657
+ * @summary Updates a specific quote
3658
+ * @param xeroTenantId Xero identifier for Tenant
3659
+ * @param quoteID Unique identifier for an Quote
3660
+ * @param quotes
3661
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3662
+ */
3663
+ updateQuote(xeroTenantId: string, quoteID: string, quotes: Quotes, idempotencyKey?: string, options?: {
3664
+ headers: {
3665
+ [name: string]: string;
3666
+ };
3667
+ }): Promise<{
3668
+ response: AxiosResponse;
3669
+ body: Quotes;
3670
+ }>;
3671
+ /**
3672
+ *
3673
+ * @summary Updates a specific attachment from a specific quote by filename
3674
+ * @param xeroTenantId Xero identifier for Tenant
3675
+ * @param quoteID Unique identifier for an Quote
3676
+ * @param fileName Name of the attachment
3677
+ * @param body Byte array of file in body of request
3678
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3679
+ */
3680
+ updateQuoteAttachmentByFileName(xeroTenantId: string, quoteID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3681
+ headers: {
3682
+ [name: string]: string;
3683
+ };
3684
+ }): Promise<{
3685
+ response: AxiosResponse;
3686
+ body: Attachments;
3687
+ }>;
3688
+ /**
3689
+ *
3690
+ * @summary Updates a specific draft expense claim receipts
3691
+ * @param xeroTenantId Xero identifier for Tenant
3692
+ * @param receiptID Unique identifier for a Receipt
3693
+ * @param receipts
3694
+ * @param unitdp e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
3695
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3696
+ */
3697
+ updateReceipt(xeroTenantId: string, receiptID: string, receipts: Receipts, unitdp?: number, idempotencyKey?: string, options?: {
3698
+ headers: {
3699
+ [name: string]: string;
3700
+ };
3701
+ }): Promise<{
3702
+ response: AxiosResponse;
3703
+ body: Receipts;
3704
+ }>;
3705
+ /**
3706
+ *
3707
+ * @summary Updates a specific attachment on a specific expense claim receipts by file name
3708
+ * @param xeroTenantId Xero identifier for Tenant
3709
+ * @param receiptID Unique identifier for a Receipt
3710
+ * @param fileName Name of the attachment
3711
+ * @param body Byte array of file in body of request
3712
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3713
+ */
3714
+ updateReceiptAttachmentByFileName(xeroTenantId: string, receiptID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3715
+ headers: {
3716
+ [name: string]: string;
3717
+ };
3718
+ }): Promise<{
3719
+ response: AxiosResponse;
3720
+ body: Attachments;
3721
+ }>;
3722
+ /**
3723
+ *
3724
+ * @summary Deletes a specific repeating invoice template
3725
+ * @param xeroTenantId Xero identifier for Tenant
3726
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
3727
+ * @param repeatingInvoices
3728
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3729
+ */
3730
+ updateRepeatingInvoice(xeroTenantId: string, repeatingInvoiceID: string, repeatingInvoices: RepeatingInvoices, idempotencyKey?: string, options?: {
3731
+ headers: {
3732
+ [name: string]: string;
3733
+ };
3734
+ }): Promise<{
3735
+ response: AxiosResponse;
3736
+ body: RepeatingInvoices;
3737
+ }>;
3738
+ /**
3739
+ *
3740
+ * @summary Updates a specific attachment from a specific repeating invoices by file name
3741
+ * @param xeroTenantId Xero identifier for Tenant
3742
+ * @param repeatingInvoiceID Unique identifier for a Repeating Invoice
3743
+ * @param fileName Name of the attachment
3744
+ * @param body Byte array of file in body of request
3745
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3746
+ */
3747
+ updateRepeatingInvoiceAttachmentByFileName(xeroTenantId: string, repeatingInvoiceID: string, fileName: string, body: fs.ReadStream | Readable | Buffer, idempotencyKey?: string, options?: {
3748
+ headers: {
3749
+ [name: string]: string;
3750
+ };
3751
+ }): Promise<{
3752
+ response: AxiosResponse;
3753
+ body: Attachments;
3754
+ }>;
3755
+ /**
3756
+ *
3757
+ * @summary Updates tax rates
3758
+ * @param xeroTenantId Xero identifier for Tenant
3759
+ * @param taxRates
3760
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3761
+ */
3762
+ updateTaxRate(xeroTenantId: string, taxRates: TaxRates, idempotencyKey?: string, options?: {
3763
+ headers: {
3764
+ [name: string]: string;
3765
+ };
3766
+ }): Promise<{
3767
+ response: AxiosResponse;
3768
+ body: TaxRates;
3769
+ }>;
3770
+ /**
3771
+ *
3772
+ * @summary Updates a specific tracking category
3773
+ * @param xeroTenantId Xero identifier for Tenant
3774
+ * @param trackingCategoryID Unique identifier for a TrackingCategory
3775
+ * @param trackingCategory
3776
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3777
+ */
3778
+ updateTrackingCategory(xeroTenantId: string, trackingCategoryID: string, trackingCategory: TrackingCategory, idempotencyKey?: string, options?: {
3779
+ headers: {
3780
+ [name: string]: string;
3781
+ };
3782
+ }): Promise<{
3783
+ response: AxiosResponse;
3784
+ body: TrackingCategories;
3785
+ }>;
3786
+ /**
3787
+ *
3788
+ * @summary Updates a specific option for a specific tracking category
3789
+ * @param xeroTenantId Xero identifier for Tenant
3790
+ * @param trackingCategoryID Unique identifier for a TrackingCategory
3791
+ * @param trackingOptionID Unique identifier for a Tracking Option
3792
+ * @param trackingOption
3793
+ * @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
3794
+ */
3795
+ updateTrackingOptions(xeroTenantId: string, trackingCategoryID: string, trackingOptionID: string, trackingOption: TrackingOption, idempotencyKey?: string, options?: {
3796
+ headers: {
3797
+ [name: string]: string;
3798
+ };
3799
+ }): Promise<{
3800
+ response: AxiosResponse;
3801
+ body: TrackingOptions;
3802
+ }>;
3803
+ }