xero-ruby 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (454) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/lib/xero-ruby/api_client.rb +2 -1
  4. data/lib/xero-ruby/version.rb +1 -1
  5. data/spec/api_client_spec.rb +15 -1
  6. metadata +4 -452
  7. data/CODE_OF_CONDUCT.md +0 -76
  8. data/CONTRIBUTING.md +0 -82
  9. data/Gemfile +0 -9
  10. data/Gemfile.lock +0 -68
  11. data/LICENSE +0 -21
  12. data/Rakefile +0 -10
  13. data/build_notes.md +0 -52
  14. data/docs/accounting/Account.md +0 -55
  15. data/docs/accounting/AccountType.md +0 -16
  16. data/docs/accounting/AccountingApi.md +0 -15310
  17. data/docs/accounting/Accounts.md +0 -17
  18. data/docs/accounting/AccountsPayable.md +0 -19
  19. data/docs/accounting/AccountsReceivable.md +0 -19
  20. data/docs/accounting/Action.md +0 -19
  21. data/docs/accounting/Actions.md +0 -17
  22. data/docs/accounting/Address.md +0 -35
  23. data/docs/accounting/AddressForOrganisation.md +0 -35
  24. data/docs/accounting/Allocation.md +0 -31
  25. data/docs/accounting/Allocations.md +0 -17
  26. data/docs/accounting/Attachment.md +0 -27
  27. data/docs/accounting/Attachments.md +0 -17
  28. data/docs/accounting/BalanceDetails.md +0 -21
  29. data/docs/accounting/Balances.md +0 -19
  30. data/docs/accounting/BankTransaction.md +0 -59
  31. data/docs/accounting/BankTransactions.md +0 -17
  32. data/docs/accounting/BankTransfer.md +0 -37
  33. data/docs/accounting/BankTransfers.md +0 -17
  34. data/docs/accounting/BatchPayment.md +0 -47
  35. data/docs/accounting/BatchPaymentDetails.md +0 -25
  36. data/docs/accounting/BatchPayments.md +0 -17
  37. data/docs/accounting/Bill.md +0 -19
  38. data/docs/accounting/BrandingTheme.md +0 -27
  39. data/docs/accounting/BrandingThemes.md +0 -17
  40. data/docs/accounting/CISOrgSetting.md +0 -21
  41. data/docs/accounting/CISSetting.md +0 -19
  42. data/docs/accounting/CISSettings.md +0 -17
  43. data/docs/accounting/Contact.md +0 -93
  44. data/docs/accounting/ContactGroup.md +0 -23
  45. data/docs/accounting/ContactGroups.md +0 -17
  46. data/docs/accounting/ContactPerson.md +0 -23
  47. data/docs/accounting/Contacts.md +0 -17
  48. data/docs/accounting/ConversionBalances.md +0 -21
  49. data/docs/accounting/ConversionDate.md +0 -19
  50. data/docs/accounting/CountryCode.md +0 -16
  51. data/docs/accounting/CreditNote.md +0 -73
  52. data/docs/accounting/CreditNotes.md +0 -17
  53. data/docs/accounting/Currencies.md +0 -17
  54. data/docs/accounting/Currency.md +0 -19
  55. data/docs/accounting/CurrencyCode.md +0 -16
  56. data/docs/accounting/Element.md +0 -31
  57. data/docs/accounting/Employee.md +0 -31
  58. data/docs/accounting/Employees.md +0 -17
  59. data/docs/accounting/Error.md +0 -23
  60. data/docs/accounting/ExpenseClaim.md +0 -39
  61. data/docs/accounting/ExpenseClaims.md +0 -17
  62. data/docs/accounting/ExternalLink.md +0 -21
  63. data/docs/accounting/HistoryRecord.md +0 -23
  64. data/docs/accounting/HistoryRecords.md +0 -17
  65. data/docs/accounting/ImportSummary.md +0 -19
  66. data/docs/accounting/ImportSummaryAccounts.md +0 -33
  67. data/docs/accounting/ImportSummaryObject.md +0 -17
  68. data/docs/accounting/ImportSummaryOrganisation.md +0 -17
  69. data/docs/accounting/Invoice.md +0 -95
  70. data/docs/accounting/InvoiceReminder.md +0 -17
  71. data/docs/accounting/InvoiceReminders.md +0 -17
  72. data/docs/accounting/Invoices.md +0 -17
  73. data/docs/accounting/Item.md +0 -47
  74. data/docs/accounting/Items.md +0 -17
  75. data/docs/accounting/Journal.md +0 -31
  76. data/docs/accounting/JournalLine.md +0 -39
  77. data/docs/accounting/Journals.md +0 -17
  78. data/docs/accounting/LineAmountTypes.md +0 -16
  79. data/docs/accounting/LineItem.md +0 -41
  80. data/docs/accounting/LineItemTracking.md +0 -23
  81. data/docs/accounting/LinkedTransaction.md +0 -37
  82. data/docs/accounting/LinkedTransactions.md +0 -17
  83. data/docs/accounting/ManualJournal.md +0 -43
  84. data/docs/accounting/ManualJournalLine.md +0 -31
  85. data/docs/accounting/ManualJournals.md +0 -17
  86. data/docs/accounting/OnlineInvoice.md +0 -17
  87. data/docs/accounting/OnlineInvoices.md +0 -17
  88. data/docs/accounting/Organisation.md +0 -81
  89. data/docs/accounting/Organisations.md +0 -17
  90. data/docs/accounting/Overpayment.md +0 -53
  91. data/docs/accounting/Overpayments.md +0 -17
  92. data/docs/accounting/Payment.md +0 -63
  93. data/docs/accounting/PaymentDelete.md +0 -17
  94. data/docs/accounting/PaymentService.md +0 -27
  95. data/docs/accounting/PaymentServices.md +0 -17
  96. data/docs/accounting/PaymentTerm.md +0 -19
  97. data/docs/accounting/PaymentTermType.md +0 -16
  98. data/docs/accounting/Payments.md +0 -17
  99. data/docs/accounting/Phone.md +0 -23
  100. data/docs/accounting/Prepayment.md +0 -53
  101. data/docs/accounting/Prepayments.md +0 -17
  102. data/docs/accounting/Purchase.md +0 -23
  103. data/docs/accounting/PurchaseOrder.md +0 -71
  104. data/docs/accounting/PurchaseOrders.md +0 -17
  105. data/docs/accounting/Quote.md +0 -63
  106. data/docs/accounting/QuoteLineAmountTypes.md +0 -16
  107. data/docs/accounting/QuoteStatusCodes.md +0 -16
  108. data/docs/accounting/Quotes.md +0 -17
  109. data/docs/accounting/Receipt.md +0 -51
  110. data/docs/accounting/Receipts.md +0 -17
  111. data/docs/accounting/RepeatingInvoice.md +0 -47
  112. data/docs/accounting/RepeatingInvoices.md +0 -17
  113. data/docs/accounting/Report.md +0 -29
  114. data/docs/accounting/ReportAttribute.md +0 -19
  115. data/docs/accounting/ReportCell.md +0 -19
  116. data/docs/accounting/ReportFields.md +0 -21
  117. data/docs/accounting/ReportRow.md +0 -21
  118. data/docs/accounting/ReportRows.md +0 -23
  119. data/docs/accounting/ReportWithRow.md +0 -33
  120. data/docs/accounting/ReportWithRows.md +0 -17
  121. data/docs/accounting/Reports.md +0 -17
  122. data/docs/accounting/RequestEmpty.md +0 -17
  123. data/docs/accounting/RowType.md +0 -16
  124. data/docs/accounting/SalesTrackingCategory.md +0 -19
  125. data/docs/accounting/Schedule.md +0 -29
  126. data/docs/accounting/Setup.md +0 -21
  127. data/docs/accounting/TaxComponent.md +0 -23
  128. data/docs/accounting/TaxRate.md +0 -39
  129. data/docs/accounting/TaxRates.md +0 -17
  130. data/docs/accounting/TaxType.md +0 -16
  131. data/docs/accounting/TenNinetyNineContact.md +0 -59
  132. data/docs/accounting/TimeZone.md +0 -16
  133. data/docs/accounting/TrackingCategories.md +0 -17
  134. data/docs/accounting/TrackingCategory.md +0 -27
  135. data/docs/accounting/TrackingOption.md +0 -23
  136. data/docs/accounting/TrackingOptions.md +0 -17
  137. data/docs/accounting/User.md +0 -29
  138. data/docs/accounting/Users.md +0 -17
  139. data/docs/accounting/ValidationError.md +0 -17
  140. data/docs/assets/Asset.md +0 -47
  141. data/docs/assets/AssetApi.md +0 -426
  142. data/docs/assets/AssetStatus.md +0 -16
  143. data/docs/assets/AssetStatusQueryParam.md +0 -16
  144. data/docs/assets/AssetType.md +0 -29
  145. data/docs/assets/Assets.md +0 -19
  146. data/docs/assets/BookDepreciationDetail.md +0 -29
  147. data/docs/assets/BookDepreciationSetting.md +0 -31
  148. data/docs/assets/Error.md +0 -25
  149. data/docs/assets/FieldValidationErrorsElement.md +0 -27
  150. data/docs/assets/Pagination.md +0 -23
  151. data/docs/assets/ResourceValidationErrorsElement.md +0 -25
  152. data/docs/assets/Setting.md +0 -31
  153. data/docs/files/Association.md +0 -23
  154. data/docs/files/FileObject.md +0 -31
  155. data/docs/files/FileResponse204.md +0 -17
  156. data/docs/files/Files.md +0 -23
  157. data/docs/files/FilesApi.md +0 -1116
  158. data/docs/files/Folder.md +0 -25
  159. data/docs/files/Folders.md +0 -17
  160. data/docs/files/InlineObject.md +0 -23
  161. data/docs/files/ObjectGroup.md +0 -16
  162. data/docs/files/ObjectType.md +0 -16
  163. data/docs/files/User.md +0 -25
  164. data/docs/payroll_au/APIException.md +0 -21
  165. data/docs/payroll_au/Account.md +0 -23
  166. data/docs/payroll_au/AccountType.md +0 -16
  167. data/docs/payroll_au/AllowanceType.md +0 -16
  168. data/docs/payroll_au/BankAccount.md +0 -27
  169. data/docs/payroll_au/CalendarType.md +0 -16
  170. data/docs/payroll_au/DeductionLine.md +0 -25
  171. data/docs/payroll_au/DeductionType.md +0 -33
  172. data/docs/payroll_au/DeductionTypeCalculationType.md +0 -16
  173. data/docs/payroll_au/EarningsLine.md +0 -33
  174. data/docs/payroll_au/EarningsRate.md +0 -49
  175. data/docs/payroll_au/EarningsRateCalculationType.md +0 -16
  176. data/docs/payroll_au/EarningsType.md +0 -16
  177. data/docs/payroll_au/Employee.md +0 -77
  178. data/docs/payroll_au/EmployeeStatus.md +0 -16
  179. data/docs/payroll_au/Employees.md +0 -17
  180. data/docs/payroll_au/EmploymentBasis.md +0 -16
  181. data/docs/payroll_au/EmploymentTerminationPaymentType.md +0 -16
  182. data/docs/payroll_au/EntitlementFinalPayPayoutType.md +0 -16
  183. data/docs/payroll_au/HomeAddress.md +0 -27
  184. data/docs/payroll_au/LeaveAccrualLine.md +0 -21
  185. data/docs/payroll_au/LeaveApplication.md +0 -35
  186. data/docs/payroll_au/LeaveApplications.md +0 -17
  187. data/docs/payroll_au/LeaveBalance.md +0 -23
  188. data/docs/payroll_au/LeaveEarningsLine.md +0 -21
  189. data/docs/payroll_au/LeaveLine.md +0 -31
  190. data/docs/payroll_au/LeaveLineCalculationType.md +0 -16
  191. data/docs/payroll_au/LeaveLines.md +0 -17
  192. data/docs/payroll_au/LeavePeriod.md +0 -23
  193. data/docs/payroll_au/LeavePeriodStatus.md +0 -16
  194. data/docs/payroll_au/LeaveType.md +0 -33
  195. data/docs/payroll_au/LeaveTypeContributionType.md +0 -16
  196. data/docs/payroll_au/ManualTaxType.md +0 -16
  197. data/docs/payroll_au/OpeningBalances.md +0 -29
  198. data/docs/payroll_au/PayItem.md +0 -23
  199. data/docs/payroll_au/PayItems.md +0 -17
  200. data/docs/payroll_au/PayRun.md +0 -47
  201. data/docs/payroll_au/PayRunStatus.md +0 -16
  202. data/docs/payroll_au/PayRuns.md +0 -17
  203. data/docs/payroll_au/PayTemplate.md +0 -25
  204. data/docs/payroll_au/PaymentFrequencyType.md +0 -16
  205. data/docs/payroll_au/PayrollAuApi.md +0 -2018
  206. data/docs/payroll_au/PayrollCalendar.md +0 -29
  207. data/docs/payroll_au/PayrollCalendars.md +0 -17
  208. data/docs/payroll_au/Payslip.md +0 -53
  209. data/docs/payroll_au/PayslipLines.md +0 -31
  210. data/docs/payroll_au/PayslipObject.md +0 -17
  211. data/docs/payroll_au/PayslipSummary.md +0 -39
  212. data/docs/payroll_au/Payslips.md +0 -17
  213. data/docs/payroll_au/RateType.md +0 -16
  214. data/docs/payroll_au/ReimbursementLine.md +0 -23
  215. data/docs/payroll_au/ReimbursementLines.md +0 -17
  216. data/docs/payroll_au/ReimbursementType.md +0 -25
  217. data/docs/payroll_au/ResidencyStatus.md +0 -16
  218. data/docs/payroll_au/Settings.md +0 -21
  219. data/docs/payroll_au/SettingsObject.md +0 -17
  220. data/docs/payroll_au/SettingsTrackingCategories.md +0 -19
  221. data/docs/payroll_au/SettingsTrackingCategoriesEmployeeGroups.md +0 -19
  222. data/docs/payroll_au/SettingsTrackingCategoriesTimesheetCategories.md +0 -19
  223. data/docs/payroll_au/State.md +0 -16
  224. data/docs/payroll_au/SuperFund.md +0 -41
  225. data/docs/payroll_au/SuperFundProduct.md +0 -23
  226. data/docs/payroll_au/SuperFundProducts.md +0 -17
  227. data/docs/payroll_au/SuperFundType.md +0 -16
  228. data/docs/payroll_au/SuperFunds.md +0 -17
  229. data/docs/payroll_au/SuperLine.md +0 -31
  230. data/docs/payroll_au/SuperMembership.md +0 -21
  231. data/docs/payroll_au/SuperannuationCalculationType.md +0 -16
  232. data/docs/payroll_au/SuperannuationContributionType.md +0 -16
  233. data/docs/payroll_au/SuperannuationLine.md +0 -33
  234. data/docs/payroll_au/TFNExemptionType.md +0 -16
  235. data/docs/payroll_au/TaxDeclaration.md +0 -47
  236. data/docs/payroll_au/TaxLine.md +0 -27
  237. data/docs/payroll_au/Timesheet.md +0 -33
  238. data/docs/payroll_au/TimesheetLine.md +0 -23
  239. data/docs/payroll_au/TimesheetObject.md +0 -17
  240. data/docs/payroll_au/TimesheetStatus.md +0 -16
  241. data/docs/payroll_au/Timesheets.md +0 -17
  242. data/docs/payroll_au/ValidationError.md +0 -17
  243. data/docs/payroll_nz/Account.md +0 -23
  244. data/docs/payroll_nz/Accounts.md +0 -17
  245. data/docs/payroll_nz/Address.md +0 -27
  246. data/docs/payroll_nz/BankAccount.md +0 -31
  247. data/docs/payroll_nz/Benefit.md +0 -35
  248. data/docs/payroll_nz/CalendarType.md +0 -16
  249. data/docs/payroll_nz/Deduction.md +0 -27
  250. data/docs/payroll_nz/DeductionLine.md +0 -25
  251. data/docs/payroll_nz/DeductionObject.md +0 -21
  252. data/docs/payroll_nz/Deductions.md +0 -21
  253. data/docs/payroll_nz/EarningsLine.md +0 -35
  254. data/docs/payroll_nz/EarningsOrder.md +0 -25
  255. data/docs/payroll_nz/EarningsOrderObject.md +0 -21
  256. data/docs/payroll_nz/EarningsOrders.md +0 -21
  257. data/docs/payroll_nz/EarningsRate.md +0 -35
  258. data/docs/payroll_nz/EarningsRateObject.md +0 -21
  259. data/docs/payroll_nz/EarningsRates.md +0 -21
  260. data/docs/payroll_nz/EarningsTemplate.md +0 -27
  261. data/docs/payroll_nz/EarningsTemplateObject.md +0 -21
  262. data/docs/payroll_nz/Employee.md +0 -43
  263. data/docs/payroll_nz/EmployeeEarningsTemplates.md +0 -21
  264. data/docs/payroll_nz/EmployeeLeave.md +0 -29
  265. data/docs/payroll_nz/EmployeeLeaveBalance.md +0 -23
  266. data/docs/payroll_nz/EmployeeLeaveBalances.md +0 -21
  267. data/docs/payroll_nz/EmployeeLeaveObject.md +0 -21
  268. data/docs/payroll_nz/EmployeeLeaveSetup.md +0 -29
  269. data/docs/payroll_nz/EmployeeLeaveSetupObject.md +0 -21
  270. data/docs/payroll_nz/EmployeeLeaveType.md +0 -35
  271. data/docs/payroll_nz/EmployeeLeaveTypeObject.md +0 -21
  272. data/docs/payroll_nz/EmployeeLeaveTypes.md +0 -21
  273. data/docs/payroll_nz/EmployeeLeaves.md +0 -21
  274. data/docs/payroll_nz/EmployeeObject.md +0 -21
  275. data/docs/payroll_nz/EmployeeOpeningBalance.md +0 -23
  276. data/docs/payroll_nz/EmployeeOpeningBalancesObject.md +0 -21
  277. data/docs/payroll_nz/EmployeePayTemplate.md +0 -19
  278. data/docs/payroll_nz/EmployeePayTemplateObject.md +0 -21
  279. data/docs/payroll_nz/EmployeePayTemplates.md +0 -21
  280. data/docs/payroll_nz/EmployeeStatutoryLeaveBalance.md +0 -21
  281. data/docs/payroll_nz/EmployeeStatutoryLeaveBalanceObject.md +0 -21
  282. data/docs/payroll_nz/EmployeeStatutoryLeaveSummary.md +0 -29
  283. data/docs/payroll_nz/EmployeeStatutoryLeavesSummaries.md +0 -21
  284. data/docs/payroll_nz/EmployeeStatutorySickLeave.md +0 -47
  285. data/docs/payroll_nz/EmployeeStatutorySickLeaveObject.md +0 -21
  286. data/docs/payroll_nz/EmployeeStatutorySickLeaves.md +0 -21
  287. data/docs/payroll_nz/EmployeeTax.md +0 -47
  288. data/docs/payroll_nz/EmployeeTaxObject.md +0 -21
  289. data/docs/payroll_nz/Employees.md +0 -21
  290. data/docs/payroll_nz/Employment.md +0 -21
  291. data/docs/payroll_nz/EmploymentObject.md +0 -21
  292. data/docs/payroll_nz/GrossEarningsHistory.md +0 -19
  293. data/docs/payroll_nz/InvalidField.md +0 -19
  294. data/docs/payroll_nz/LeaveAccrualLine.md +0 -19
  295. data/docs/payroll_nz/LeaveEarningsLine.md +0 -35
  296. data/docs/payroll_nz/LeavePeriod.md +0 -23
  297. data/docs/payroll_nz/LeavePeriods.md +0 -21
  298. data/docs/payroll_nz/LeaveType.md +0 -27
  299. data/docs/payroll_nz/LeaveTypeObject.md +0 -21
  300. data/docs/payroll_nz/LeaveTypes.md +0 -21
  301. data/docs/payroll_nz/Pagination.md +0 -23
  302. data/docs/payroll_nz/PayRun.md +0 -39
  303. data/docs/payroll_nz/PayRunCalendar.md +0 -29
  304. data/docs/payroll_nz/PayRunCalendarObject.md +0 -21
  305. data/docs/payroll_nz/PayRunCalendars.md +0 -21
  306. data/docs/payroll_nz/PayRunObject.md +0 -21
  307. data/docs/payroll_nz/PayRuns.md +0 -21
  308. data/docs/payroll_nz/PaySlip.md +0 -75
  309. data/docs/payroll_nz/PaySlipObject.md +0 -21
  310. data/docs/payroll_nz/PaySlips.md +0 -21
  311. data/docs/payroll_nz/PaymentLine.md +0 -25
  312. data/docs/payroll_nz/PaymentMethod.md +0 -19
  313. data/docs/payroll_nz/PaymentMethodObject.md +0 -21
  314. data/docs/payroll_nz/PayrollNzApi.md +0 -4544
  315. data/docs/payroll_nz/Problem.md +0 -27
  316. data/docs/payroll_nz/Reimbursement.md +0 -33
  317. data/docs/payroll_nz/ReimbursementLine.md +0 -25
  318. data/docs/payroll_nz/ReimbursementObject.md +0 -21
  319. data/docs/payroll_nz/Reimbursements.md +0 -21
  320. data/docs/payroll_nz/SalaryAndWage.md +0 -35
  321. data/docs/payroll_nz/SalaryAndWageObject.md +0 -21
  322. data/docs/payroll_nz/SalaryAndWages.md +0 -21
  323. data/docs/payroll_nz/Settings.md +0 -21
  324. data/docs/payroll_nz/StatutoryDeduction.md +0 -25
  325. data/docs/payroll_nz/StatutoryDeductionCategory.md +0 -16
  326. data/docs/payroll_nz/StatutoryDeductionLine.md +0 -23
  327. data/docs/payroll_nz/StatutoryDeductionObject.md +0 -21
  328. data/docs/payroll_nz/StatutoryDeductions.md +0 -21
  329. data/docs/payroll_nz/SuperannuationLine.md +0 -27
  330. data/docs/payroll_nz/SuperannuationObject.md +0 -21
  331. data/docs/payroll_nz/Superannuations.md +0 -21
  332. data/docs/payroll_nz/TaxCode.md +0 -16
  333. data/docs/payroll_nz/TaxLine.md +0 -25
  334. data/docs/payroll_nz/TaxSettings.md +0 -27
  335. data/docs/payroll_nz/Timesheet.md +0 -33
  336. data/docs/payroll_nz/TimesheetEarningsLine.md +0 -35
  337. data/docs/payroll_nz/TimesheetLine.md +0 -25
  338. data/docs/payroll_nz/TimesheetLineObject.md +0 -21
  339. data/docs/payroll_nz/TimesheetObject.md +0 -21
  340. data/docs/payroll_nz/Timesheets.md +0 -21
  341. data/docs/payroll_nz/TrackingCategories.md +0 -21
  342. data/docs/payroll_nz/TrackingCategory.md +0 -19
  343. data/docs/payroll_uk/Account.md +0 -23
  344. data/docs/payroll_uk/Accounts.md +0 -17
  345. data/docs/payroll_uk/Address.md +0 -25
  346. data/docs/payroll_uk/BankAccount.md +0 -21
  347. data/docs/payroll_uk/Benefit.md +0 -43
  348. data/docs/payroll_uk/BenefitLine.md +0 -25
  349. data/docs/payroll_uk/BenefitObject.md +0 -21
  350. data/docs/payroll_uk/Benefits.md +0 -21
  351. data/docs/payroll_uk/CourtOrderLine.md +0 -19
  352. data/docs/payroll_uk/Deduction.md +0 -47
  353. data/docs/payroll_uk/DeductionLine.md +0 -23
  354. data/docs/payroll_uk/DeductionObject.md +0 -21
  355. data/docs/payroll_uk/Deductions.md +0 -21
  356. data/docs/payroll_uk/EarningsLine.md +0 -33
  357. data/docs/payroll_uk/EarningsOrder.md +0 -25
  358. data/docs/payroll_uk/EarningsOrderObject.md +0 -21
  359. data/docs/payroll_uk/EarningsOrders.md +0 -21
  360. data/docs/payroll_uk/EarningsRate.md +0 -35
  361. data/docs/payroll_uk/EarningsRateObject.md +0 -21
  362. data/docs/payroll_uk/EarningsRates.md +0 -21
  363. data/docs/payroll_uk/EarningsTemplate.md +0 -27
  364. data/docs/payroll_uk/EarningsTemplateObject.md +0 -21
  365. data/docs/payroll_uk/Employee.md +0 -45
  366. data/docs/payroll_uk/EmployeeLeave.md +0 -29
  367. data/docs/payroll_uk/EmployeeLeaveBalance.md +0 -23
  368. data/docs/payroll_uk/EmployeeLeaveBalances.md +0 -21
  369. data/docs/payroll_uk/EmployeeLeaveObject.md +0 -21
  370. data/docs/payroll_uk/EmployeeLeaveType.md +0 -27
  371. data/docs/payroll_uk/EmployeeLeaveTypeObject.md +0 -21
  372. data/docs/payroll_uk/EmployeeLeaveTypes.md +0 -21
  373. data/docs/payroll_uk/EmployeeLeaves.md +0 -21
  374. data/docs/payroll_uk/EmployeeObject.md +0 -21
  375. data/docs/payroll_uk/EmployeeOpeningBalances.md +0 -27
  376. data/docs/payroll_uk/EmployeeOpeningBalancesObject.md +0 -21
  377. data/docs/payroll_uk/EmployeePayTemplate.md +0 -19
  378. data/docs/payroll_uk/EmployeePayTemplateObject.md +0 -21
  379. data/docs/payroll_uk/EmployeePayTemplates.md +0 -21
  380. data/docs/payroll_uk/EmployeeStatutoryLeaveBalance.md +0 -21
  381. data/docs/payroll_uk/EmployeeStatutoryLeaveBalanceObject.md +0 -21
  382. data/docs/payroll_uk/EmployeeStatutoryLeaveSummary.md +0 -29
  383. data/docs/payroll_uk/EmployeeStatutoryLeavesSummaries.md +0 -21
  384. data/docs/payroll_uk/EmployeeStatutorySickLeave.md +0 -47
  385. data/docs/payroll_uk/EmployeeStatutorySickLeaveObject.md +0 -21
  386. data/docs/payroll_uk/EmployeeStatutorySickLeaves.md +0 -21
  387. data/docs/payroll_uk/EmployeeTax.md +0 -37
  388. data/docs/payroll_uk/EmployeeTaxObject.md +0 -21
  389. data/docs/payroll_uk/Employees.md +0 -21
  390. data/docs/payroll_uk/Employment.md +0 -23
  391. data/docs/payroll_uk/EmploymentObject.md +0 -21
  392. data/docs/payroll_uk/InvalidField.md +0 -19
  393. data/docs/payroll_uk/LeaveAccrualLine.md +0 -19
  394. data/docs/payroll_uk/LeaveEarningsLine.md +0 -27
  395. data/docs/payroll_uk/LeavePeriod.md +0 -23
  396. data/docs/payroll_uk/LeavePeriods.md +0 -21
  397. data/docs/payroll_uk/LeaveType.md +0 -31
  398. data/docs/payroll_uk/LeaveTypeObject.md +0 -21
  399. data/docs/payroll_uk/LeaveTypes.md +0 -21
  400. data/docs/payroll_uk/Pagination.md +0 -23
  401. data/docs/payroll_uk/PayRun.md +0 -39
  402. data/docs/payroll_uk/PayRunCalendar.md +0 -29
  403. data/docs/payroll_uk/PayRunCalendarObject.md +0 -21
  404. data/docs/payroll_uk/PayRunCalendars.md +0 -21
  405. data/docs/payroll_uk/PayRunObject.md +0 -21
  406. data/docs/payroll_uk/PayRuns.md +0 -21
  407. data/docs/payroll_uk/PaymentLine.md +0 -25
  408. data/docs/payroll_uk/PaymentMethod.md +0 -19
  409. data/docs/payroll_uk/PaymentMethodObject.md +0 -21
  410. data/docs/payroll_uk/PayrollUkApi.md +0 -4683
  411. data/docs/payroll_uk/Payslip.md +0 -71
  412. data/docs/payroll_uk/PayslipObject.md +0 -21
  413. data/docs/payroll_uk/Payslips.md +0 -21
  414. data/docs/payroll_uk/Problem.md +0 -27
  415. data/docs/payroll_uk/Reimbursement.md +0 -23
  416. data/docs/payroll_uk/ReimbursementLine.md +0 -21
  417. data/docs/payroll_uk/ReimbursementObject.md +0 -21
  418. data/docs/payroll_uk/Reimbursements.md +0 -21
  419. data/docs/payroll_uk/SalaryAndWage.md +0 -33
  420. data/docs/payroll_uk/SalaryAndWageObject.md +0 -21
  421. data/docs/payroll_uk/SalaryAndWages.md +0 -21
  422. data/docs/payroll_uk/Settings.md +0 -21
  423. data/docs/payroll_uk/StatutoryDeduction.md +0 -25
  424. data/docs/payroll_uk/StatutoryDeductionCategory.md +0 -16
  425. data/docs/payroll_uk/TaxLine.md +0 -27
  426. data/docs/payroll_uk/Timesheet.md +0 -33
  427. data/docs/payroll_uk/TimesheetEarningsLine.md +0 -27
  428. data/docs/payroll_uk/TimesheetLine.md +0 -25
  429. data/docs/payroll_uk/TimesheetLineObject.md +0 -21
  430. data/docs/payroll_uk/TimesheetObject.md +0 -21
  431. data/docs/payroll_uk/Timesheets.md +0 -21
  432. data/docs/payroll_uk/TrackingCategories.md +0 -21
  433. data/docs/payroll_uk/TrackingCategory.md +0 -19
  434. data/docs/projects/Amount.md +0 -19
  435. data/docs/projects/ChargeType.md +0 -16
  436. data/docs/projects/CurrencyCode.md +0 -16
  437. data/docs/projects/Error.md +0 -19
  438. data/docs/projects/Pagination.md +0 -23
  439. data/docs/projects/Project.md +0 -59
  440. data/docs/projects/ProjectApi.md +0 -956
  441. data/docs/projects/ProjectCreateOrUpdate.md +0 -23
  442. data/docs/projects/ProjectPatch.md +0 -17
  443. data/docs/projects/ProjectStatus.md +0 -16
  444. data/docs/projects/ProjectUser.md +0 -21
  445. data/docs/projects/ProjectUsers.md +0 -19
  446. data/docs/projects/Projects.md +0 -19
  447. data/docs/projects/Task.md +0 -45
  448. data/docs/projects/TaskCreateOrUpdate.md +0 -23
  449. data/docs/projects/Tasks.md +0 -19
  450. data/docs/projects/TimeEntries.md +0 -19
  451. data/docs/projects/TimeEntry.md +0 -33
  452. data/docs/projects/TimeEntryCreateOrUpdate.md +0 -25
  453. data/git_push.sh +0 -55
  454. data/xero-ruby.gemspec +0 -38
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 613096db0ddc85e2e704679043b677e2c683f030bba7ec74ff034914cb249950
4
- data.tar.gz: c988f99601ed4c160a132b85d6bccee2e106a68916f4b6b1792ec718820068f0
3
+ metadata.gz: cd45eb905d350e9480a972d1754a51c9e6a385859e9217edb55e1fada869432d
4
+ data.tar.gz: ca93756ba4a748d60f86912c863f664393d71c9c0d14e6bf71442b756d594ed3
5
5
  SHA512:
6
- metadata.gz: 30410e6a6f12a11eb98faf3005054107b74b34c70faf05b388d79f05cfb56a9a782774bf7e1a7dc8fd0059384283659993d6bb47b8a1ece75d6ff570c30e3d4c
7
- data.tar.gz: e40707ba182c142624c274d3df126952d1307fe8362ca68358ee1e9d667be3e05f3c9dab1177464004104ba7e876af95bf4e713bc165e0e5db843129e491f55e
6
+ metadata.gz: 6a140a7c1182d243bed2465bc9e4c3849f630adbf01cd8bb23109fd91597cb6340562c18aeb429ec492681acf7c4b507c9e0d62595d90bbd3f0a581fcf25cbad
7
+ data.tar.gz: 0244720a3942dd5ac14ab2d6a3bab3b7a3833b0b1e2a18d176fe73d89acbe47c1c8740078eb917f12980d88b2c4708be7121715db9b1ef80cd143ea7a503c107
data/README.md CHANGED
@@ -61,7 +61,8 @@ creds = {
61
61
  client_id: ENV['CLIENT_ID'],
62
62
  client_secret: ENV['CLIENT_SECRET'],
63
63
  redirect_uri: ENV['REDIRECT_URI'],
64
- scopes: ENV['SCOPES']
64
+ scopes: ENV['SCOPES'],
65
+ state: "this-can-be-a-custom-state-parameter" # optional
65
66
  }
66
67
  xero_client ||= XeroRuby::ApiClient.new(credentials: creds)
67
68
  ```
@@ -86,6 +87,9 @@ In your callback route catch, calling `get_token_set_from_callback` will exchang
86
87
  token_set = xero_client.get_token_set_from_callback(params)
87
88
 
88
89
  # save token_set JSON in a datastore in relation to the user authentication
90
+
91
+ puts params['state']
92
+ => "this-can-be-a-custom-state-parameter"
89
93
  ```
90
94
 
91
95
  ## Making API calls once you have a token_set
@@ -34,6 +34,7 @@ module XeroRuby
34
34
  @client_secret = credentials[:client_secret]
35
35
  @redirect_uri = credentials[:redirect_uri]
36
36
  @scopes = credentials[:scopes]
37
+ @state = credentials[:state]
37
38
  @config = config
38
39
  @user_agent = "xero-ruby-#{VERSION}"
39
40
  @default_headers = {
@@ -43,7 +44,7 @@ module XeroRuby
43
44
  end
44
45
 
45
46
  def authorization_url
46
- url = "#{@config.login_url}?response_type=code&client_id=#{@client_id}&redirect_uri=#{@redirect_uri}&scope=#{@scopes}"
47
+ url = "#{@config.login_url}?response_type=code&client_id=#{@client_id}&redirect_uri=#{@redirect_uri}&scope=#{@scopes}&state=#{@state}"
47
48
  return url
48
49
  end
49
50
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module XeroRuby
14
- VERSION = '2.5.0'
14
+ VERSION = '2.5.1'
15
15
  end
@@ -2,7 +2,7 @@ require './spec_helper'
2
2
 
3
3
  describe XeroRuby::ApiClient do
4
4
  context 'initialization' do
5
- context 'URL stuff' do
5
+ context 'URL config' do
6
6
  context 'host' do
7
7
  it 'removes http from host' do
8
8
  XeroRuby.configure { |c| c.host = 'http://example.com' }
@@ -36,6 +36,20 @@ describe XeroRuby::ApiClient do
36
36
  expect(XeroRuby::Configuration.default.base_path).to eq('')
37
37
  end
38
38
  end
39
+
40
+ context "creates a valid authorization_url" do
41
+ it "passes through attributes" do
42
+ creds = {
43
+ client_id: 'abc',
44
+ client_secret: '123',
45
+ redirect_uri: 'https://mydomain.com/callback',
46
+ scopes: 'openid profile email accounting.transactions accounting.settings',
47
+ state: 'i-am-customer-state'
48
+ }
49
+ api_client = XeroRuby::ApiClient.new(credentials: creds)
50
+ expect(api_client.authorization_url).to eq('https://login.xero.com/identity/connect/authorize?response_type=code&client_id=abc&redirect_uri=https://mydomain.com/callback&scope=openid profile email accounting.transactions accounting.settings&state=i-am-customer-state')
51
+ end
52
+ end
39
53
  end
40
54
  end
41
55
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xero-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xero API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-19 00:00:00.000000000 Z
11
+ date: 2020-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.1
19
+ version: '1.0'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.1
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.1
29
+ version: '1.0'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.1
@@ -77,454 +77,7 @@ executables: []
77
77
  extensions: []
78
78
  extra_rdoc_files: []
79
79
  files:
80
- - CODE_OF_CONDUCT.md
81
- - CONTRIBUTING.md
82
- - Gemfile
83
- - Gemfile.lock
84
- - LICENSE
85
80
  - README.md
86
- - Rakefile
87
- - build_notes.md
88
- - docs/accounting/Account.md
89
- - docs/accounting/AccountType.md
90
- - docs/accounting/AccountingApi.md
91
- - docs/accounting/Accounts.md
92
- - docs/accounting/AccountsPayable.md
93
- - docs/accounting/AccountsReceivable.md
94
- - docs/accounting/Action.md
95
- - docs/accounting/Actions.md
96
- - docs/accounting/Address.md
97
- - docs/accounting/AddressForOrganisation.md
98
- - docs/accounting/Allocation.md
99
- - docs/accounting/Allocations.md
100
- - docs/accounting/Attachment.md
101
- - docs/accounting/Attachments.md
102
- - docs/accounting/BalanceDetails.md
103
- - docs/accounting/Balances.md
104
- - docs/accounting/BankTransaction.md
105
- - docs/accounting/BankTransactions.md
106
- - docs/accounting/BankTransfer.md
107
- - docs/accounting/BankTransfers.md
108
- - docs/accounting/BatchPayment.md
109
- - docs/accounting/BatchPaymentDetails.md
110
- - docs/accounting/BatchPayments.md
111
- - docs/accounting/Bill.md
112
- - docs/accounting/BrandingTheme.md
113
- - docs/accounting/BrandingThemes.md
114
- - docs/accounting/CISOrgSetting.md
115
- - docs/accounting/CISSetting.md
116
- - docs/accounting/CISSettings.md
117
- - docs/accounting/Contact.md
118
- - docs/accounting/ContactGroup.md
119
- - docs/accounting/ContactGroups.md
120
- - docs/accounting/ContactPerson.md
121
- - docs/accounting/Contacts.md
122
- - docs/accounting/ConversionBalances.md
123
- - docs/accounting/ConversionDate.md
124
- - docs/accounting/CountryCode.md
125
- - docs/accounting/CreditNote.md
126
- - docs/accounting/CreditNotes.md
127
- - docs/accounting/Currencies.md
128
- - docs/accounting/Currency.md
129
- - docs/accounting/CurrencyCode.md
130
- - docs/accounting/Element.md
131
- - docs/accounting/Employee.md
132
- - docs/accounting/Employees.md
133
- - docs/accounting/Error.md
134
- - docs/accounting/ExpenseClaim.md
135
- - docs/accounting/ExpenseClaims.md
136
- - docs/accounting/ExternalLink.md
137
- - docs/accounting/HistoryRecord.md
138
- - docs/accounting/HistoryRecords.md
139
- - docs/accounting/ImportSummary.md
140
- - docs/accounting/ImportSummaryAccounts.md
141
- - docs/accounting/ImportSummaryObject.md
142
- - docs/accounting/ImportSummaryOrganisation.md
143
- - docs/accounting/Invoice.md
144
- - docs/accounting/InvoiceReminder.md
145
- - docs/accounting/InvoiceReminders.md
146
- - docs/accounting/Invoices.md
147
- - docs/accounting/Item.md
148
- - docs/accounting/Items.md
149
- - docs/accounting/Journal.md
150
- - docs/accounting/JournalLine.md
151
- - docs/accounting/Journals.md
152
- - docs/accounting/LineAmountTypes.md
153
- - docs/accounting/LineItem.md
154
- - docs/accounting/LineItemTracking.md
155
- - docs/accounting/LinkedTransaction.md
156
- - docs/accounting/LinkedTransactions.md
157
- - docs/accounting/ManualJournal.md
158
- - docs/accounting/ManualJournalLine.md
159
- - docs/accounting/ManualJournals.md
160
- - docs/accounting/OnlineInvoice.md
161
- - docs/accounting/OnlineInvoices.md
162
- - docs/accounting/Organisation.md
163
- - docs/accounting/Organisations.md
164
- - docs/accounting/Overpayment.md
165
- - docs/accounting/Overpayments.md
166
- - docs/accounting/Payment.md
167
- - docs/accounting/PaymentDelete.md
168
- - docs/accounting/PaymentService.md
169
- - docs/accounting/PaymentServices.md
170
- - docs/accounting/PaymentTerm.md
171
- - docs/accounting/PaymentTermType.md
172
- - docs/accounting/Payments.md
173
- - docs/accounting/Phone.md
174
- - docs/accounting/Prepayment.md
175
- - docs/accounting/Prepayments.md
176
- - docs/accounting/Purchase.md
177
- - docs/accounting/PurchaseOrder.md
178
- - docs/accounting/PurchaseOrders.md
179
- - docs/accounting/Quote.md
180
- - docs/accounting/QuoteLineAmountTypes.md
181
- - docs/accounting/QuoteStatusCodes.md
182
- - docs/accounting/Quotes.md
183
- - docs/accounting/Receipt.md
184
- - docs/accounting/Receipts.md
185
- - docs/accounting/RepeatingInvoice.md
186
- - docs/accounting/RepeatingInvoices.md
187
- - docs/accounting/Report.md
188
- - docs/accounting/ReportAttribute.md
189
- - docs/accounting/ReportCell.md
190
- - docs/accounting/ReportFields.md
191
- - docs/accounting/ReportRow.md
192
- - docs/accounting/ReportRows.md
193
- - docs/accounting/ReportWithRow.md
194
- - docs/accounting/ReportWithRows.md
195
- - docs/accounting/Reports.md
196
- - docs/accounting/RequestEmpty.md
197
- - docs/accounting/RowType.md
198
- - docs/accounting/SalesTrackingCategory.md
199
- - docs/accounting/Schedule.md
200
- - docs/accounting/Setup.md
201
- - docs/accounting/TaxComponent.md
202
- - docs/accounting/TaxRate.md
203
- - docs/accounting/TaxRates.md
204
- - docs/accounting/TaxType.md
205
- - docs/accounting/TenNinetyNineContact.md
206
- - docs/accounting/TimeZone.md
207
- - docs/accounting/TrackingCategories.md
208
- - docs/accounting/TrackingCategory.md
209
- - docs/accounting/TrackingOption.md
210
- - docs/accounting/TrackingOptions.md
211
- - docs/accounting/User.md
212
- - docs/accounting/Users.md
213
- - docs/accounting/ValidationError.md
214
- - docs/assets/Asset.md
215
- - docs/assets/AssetApi.md
216
- - docs/assets/AssetStatus.md
217
- - docs/assets/AssetStatusQueryParam.md
218
- - docs/assets/AssetType.md
219
- - docs/assets/Assets.md
220
- - docs/assets/BookDepreciationDetail.md
221
- - docs/assets/BookDepreciationSetting.md
222
- - docs/assets/Error.md
223
- - docs/assets/FieldValidationErrorsElement.md
224
- - docs/assets/Pagination.md
225
- - docs/assets/ResourceValidationErrorsElement.md
226
- - docs/assets/Setting.md
227
- - docs/files/Association.md
228
- - docs/files/FileObject.md
229
- - docs/files/FileResponse204.md
230
- - docs/files/Files.md
231
- - docs/files/FilesApi.md
232
- - docs/files/Folder.md
233
- - docs/files/Folders.md
234
- - docs/files/InlineObject.md
235
- - docs/files/ObjectGroup.md
236
- - docs/files/ObjectType.md
237
- - docs/files/User.md
238
- - docs/payroll_au/APIException.md
239
- - docs/payroll_au/Account.md
240
- - docs/payroll_au/AccountType.md
241
- - docs/payroll_au/AllowanceType.md
242
- - docs/payroll_au/BankAccount.md
243
- - docs/payroll_au/CalendarType.md
244
- - docs/payroll_au/DeductionLine.md
245
- - docs/payroll_au/DeductionType.md
246
- - docs/payroll_au/DeductionTypeCalculationType.md
247
- - docs/payroll_au/EarningsLine.md
248
- - docs/payroll_au/EarningsRate.md
249
- - docs/payroll_au/EarningsRateCalculationType.md
250
- - docs/payroll_au/EarningsType.md
251
- - docs/payroll_au/Employee.md
252
- - docs/payroll_au/EmployeeStatus.md
253
- - docs/payroll_au/Employees.md
254
- - docs/payroll_au/EmploymentBasis.md
255
- - docs/payroll_au/EmploymentTerminationPaymentType.md
256
- - docs/payroll_au/EntitlementFinalPayPayoutType.md
257
- - docs/payroll_au/HomeAddress.md
258
- - docs/payroll_au/LeaveAccrualLine.md
259
- - docs/payroll_au/LeaveApplication.md
260
- - docs/payroll_au/LeaveApplications.md
261
- - docs/payroll_au/LeaveBalance.md
262
- - docs/payroll_au/LeaveEarningsLine.md
263
- - docs/payroll_au/LeaveLine.md
264
- - docs/payroll_au/LeaveLineCalculationType.md
265
- - docs/payroll_au/LeaveLines.md
266
- - docs/payroll_au/LeavePeriod.md
267
- - docs/payroll_au/LeavePeriodStatus.md
268
- - docs/payroll_au/LeaveType.md
269
- - docs/payroll_au/LeaveTypeContributionType.md
270
- - docs/payroll_au/ManualTaxType.md
271
- - docs/payroll_au/OpeningBalances.md
272
- - docs/payroll_au/PayItem.md
273
- - docs/payroll_au/PayItems.md
274
- - docs/payroll_au/PayRun.md
275
- - docs/payroll_au/PayRunStatus.md
276
- - docs/payroll_au/PayRuns.md
277
- - docs/payroll_au/PayTemplate.md
278
- - docs/payroll_au/PaymentFrequencyType.md
279
- - docs/payroll_au/PayrollAuApi.md
280
- - docs/payroll_au/PayrollCalendar.md
281
- - docs/payroll_au/PayrollCalendars.md
282
- - docs/payroll_au/Payslip.md
283
- - docs/payroll_au/PayslipLines.md
284
- - docs/payroll_au/PayslipObject.md
285
- - docs/payroll_au/PayslipSummary.md
286
- - docs/payroll_au/Payslips.md
287
- - docs/payroll_au/RateType.md
288
- - docs/payroll_au/ReimbursementLine.md
289
- - docs/payroll_au/ReimbursementLines.md
290
- - docs/payroll_au/ReimbursementType.md
291
- - docs/payroll_au/ResidencyStatus.md
292
- - docs/payroll_au/Settings.md
293
- - docs/payroll_au/SettingsObject.md
294
- - docs/payroll_au/SettingsTrackingCategories.md
295
- - docs/payroll_au/SettingsTrackingCategoriesEmployeeGroups.md
296
- - docs/payroll_au/SettingsTrackingCategoriesTimesheetCategories.md
297
- - docs/payroll_au/State.md
298
- - docs/payroll_au/SuperFund.md
299
- - docs/payroll_au/SuperFundProduct.md
300
- - docs/payroll_au/SuperFundProducts.md
301
- - docs/payroll_au/SuperFundType.md
302
- - docs/payroll_au/SuperFunds.md
303
- - docs/payroll_au/SuperLine.md
304
- - docs/payroll_au/SuperMembership.md
305
- - docs/payroll_au/SuperannuationCalculationType.md
306
- - docs/payroll_au/SuperannuationContributionType.md
307
- - docs/payroll_au/SuperannuationLine.md
308
- - docs/payroll_au/TFNExemptionType.md
309
- - docs/payroll_au/TaxDeclaration.md
310
- - docs/payroll_au/TaxLine.md
311
- - docs/payroll_au/Timesheet.md
312
- - docs/payroll_au/TimesheetLine.md
313
- - docs/payroll_au/TimesheetObject.md
314
- - docs/payroll_au/TimesheetStatus.md
315
- - docs/payroll_au/Timesheets.md
316
- - docs/payroll_au/ValidationError.md
317
- - docs/payroll_nz/Account.md
318
- - docs/payroll_nz/Accounts.md
319
- - docs/payroll_nz/Address.md
320
- - docs/payroll_nz/BankAccount.md
321
- - docs/payroll_nz/Benefit.md
322
- - docs/payroll_nz/CalendarType.md
323
- - docs/payroll_nz/Deduction.md
324
- - docs/payroll_nz/DeductionLine.md
325
- - docs/payroll_nz/DeductionObject.md
326
- - docs/payroll_nz/Deductions.md
327
- - docs/payroll_nz/EarningsLine.md
328
- - docs/payroll_nz/EarningsOrder.md
329
- - docs/payroll_nz/EarningsOrderObject.md
330
- - docs/payroll_nz/EarningsOrders.md
331
- - docs/payroll_nz/EarningsRate.md
332
- - docs/payroll_nz/EarningsRateObject.md
333
- - docs/payroll_nz/EarningsRates.md
334
- - docs/payroll_nz/EarningsTemplate.md
335
- - docs/payroll_nz/EarningsTemplateObject.md
336
- - docs/payroll_nz/Employee.md
337
- - docs/payroll_nz/EmployeeEarningsTemplates.md
338
- - docs/payroll_nz/EmployeeLeave.md
339
- - docs/payroll_nz/EmployeeLeaveBalance.md
340
- - docs/payroll_nz/EmployeeLeaveBalances.md
341
- - docs/payroll_nz/EmployeeLeaveObject.md
342
- - docs/payroll_nz/EmployeeLeaveSetup.md
343
- - docs/payroll_nz/EmployeeLeaveSetupObject.md
344
- - docs/payroll_nz/EmployeeLeaveType.md
345
- - docs/payroll_nz/EmployeeLeaveTypeObject.md
346
- - docs/payroll_nz/EmployeeLeaveTypes.md
347
- - docs/payroll_nz/EmployeeLeaves.md
348
- - docs/payroll_nz/EmployeeObject.md
349
- - docs/payroll_nz/EmployeeOpeningBalance.md
350
- - docs/payroll_nz/EmployeeOpeningBalancesObject.md
351
- - docs/payroll_nz/EmployeePayTemplate.md
352
- - docs/payroll_nz/EmployeePayTemplateObject.md
353
- - docs/payroll_nz/EmployeePayTemplates.md
354
- - docs/payroll_nz/EmployeeStatutoryLeaveBalance.md
355
- - docs/payroll_nz/EmployeeStatutoryLeaveBalanceObject.md
356
- - docs/payroll_nz/EmployeeStatutoryLeaveSummary.md
357
- - docs/payroll_nz/EmployeeStatutoryLeavesSummaries.md
358
- - docs/payroll_nz/EmployeeStatutorySickLeave.md
359
- - docs/payroll_nz/EmployeeStatutorySickLeaveObject.md
360
- - docs/payroll_nz/EmployeeStatutorySickLeaves.md
361
- - docs/payroll_nz/EmployeeTax.md
362
- - docs/payroll_nz/EmployeeTaxObject.md
363
- - docs/payroll_nz/Employees.md
364
- - docs/payroll_nz/Employment.md
365
- - docs/payroll_nz/EmploymentObject.md
366
- - docs/payroll_nz/GrossEarningsHistory.md
367
- - docs/payroll_nz/InvalidField.md
368
- - docs/payroll_nz/LeaveAccrualLine.md
369
- - docs/payroll_nz/LeaveEarningsLine.md
370
- - docs/payroll_nz/LeavePeriod.md
371
- - docs/payroll_nz/LeavePeriods.md
372
- - docs/payroll_nz/LeaveType.md
373
- - docs/payroll_nz/LeaveTypeObject.md
374
- - docs/payroll_nz/LeaveTypes.md
375
- - docs/payroll_nz/Pagination.md
376
- - docs/payroll_nz/PayRun.md
377
- - docs/payroll_nz/PayRunCalendar.md
378
- - docs/payroll_nz/PayRunCalendarObject.md
379
- - docs/payroll_nz/PayRunCalendars.md
380
- - docs/payroll_nz/PayRunObject.md
381
- - docs/payroll_nz/PayRuns.md
382
- - docs/payroll_nz/PaySlip.md
383
- - docs/payroll_nz/PaySlipObject.md
384
- - docs/payroll_nz/PaySlips.md
385
- - docs/payroll_nz/PaymentLine.md
386
- - docs/payroll_nz/PaymentMethod.md
387
- - docs/payroll_nz/PaymentMethodObject.md
388
- - docs/payroll_nz/PayrollNzApi.md
389
- - docs/payroll_nz/Problem.md
390
- - docs/payroll_nz/Reimbursement.md
391
- - docs/payroll_nz/ReimbursementLine.md
392
- - docs/payroll_nz/ReimbursementObject.md
393
- - docs/payroll_nz/Reimbursements.md
394
- - docs/payroll_nz/SalaryAndWage.md
395
- - docs/payroll_nz/SalaryAndWageObject.md
396
- - docs/payroll_nz/SalaryAndWages.md
397
- - docs/payroll_nz/Settings.md
398
- - docs/payroll_nz/StatutoryDeduction.md
399
- - docs/payroll_nz/StatutoryDeductionCategory.md
400
- - docs/payroll_nz/StatutoryDeductionLine.md
401
- - docs/payroll_nz/StatutoryDeductionObject.md
402
- - docs/payroll_nz/StatutoryDeductions.md
403
- - docs/payroll_nz/SuperannuationLine.md
404
- - docs/payroll_nz/SuperannuationObject.md
405
- - docs/payroll_nz/Superannuations.md
406
- - docs/payroll_nz/TaxCode.md
407
- - docs/payroll_nz/TaxLine.md
408
- - docs/payroll_nz/TaxSettings.md
409
- - docs/payroll_nz/Timesheet.md
410
- - docs/payroll_nz/TimesheetEarningsLine.md
411
- - docs/payroll_nz/TimesheetLine.md
412
- - docs/payroll_nz/TimesheetLineObject.md
413
- - docs/payroll_nz/TimesheetObject.md
414
- - docs/payroll_nz/Timesheets.md
415
- - docs/payroll_nz/TrackingCategories.md
416
- - docs/payroll_nz/TrackingCategory.md
417
- - docs/payroll_uk/Account.md
418
- - docs/payroll_uk/Accounts.md
419
- - docs/payroll_uk/Address.md
420
- - docs/payroll_uk/BankAccount.md
421
- - docs/payroll_uk/Benefit.md
422
- - docs/payroll_uk/BenefitLine.md
423
- - docs/payroll_uk/BenefitObject.md
424
- - docs/payroll_uk/Benefits.md
425
- - docs/payroll_uk/CourtOrderLine.md
426
- - docs/payroll_uk/Deduction.md
427
- - docs/payroll_uk/DeductionLine.md
428
- - docs/payroll_uk/DeductionObject.md
429
- - docs/payroll_uk/Deductions.md
430
- - docs/payroll_uk/EarningsLine.md
431
- - docs/payroll_uk/EarningsOrder.md
432
- - docs/payroll_uk/EarningsOrderObject.md
433
- - docs/payroll_uk/EarningsOrders.md
434
- - docs/payroll_uk/EarningsRate.md
435
- - docs/payroll_uk/EarningsRateObject.md
436
- - docs/payroll_uk/EarningsRates.md
437
- - docs/payroll_uk/EarningsTemplate.md
438
- - docs/payroll_uk/EarningsTemplateObject.md
439
- - docs/payroll_uk/Employee.md
440
- - docs/payroll_uk/EmployeeLeave.md
441
- - docs/payroll_uk/EmployeeLeaveBalance.md
442
- - docs/payroll_uk/EmployeeLeaveBalances.md
443
- - docs/payroll_uk/EmployeeLeaveObject.md
444
- - docs/payroll_uk/EmployeeLeaveType.md
445
- - docs/payroll_uk/EmployeeLeaveTypeObject.md
446
- - docs/payroll_uk/EmployeeLeaveTypes.md
447
- - docs/payroll_uk/EmployeeLeaves.md
448
- - docs/payroll_uk/EmployeeObject.md
449
- - docs/payroll_uk/EmployeeOpeningBalances.md
450
- - docs/payroll_uk/EmployeeOpeningBalancesObject.md
451
- - docs/payroll_uk/EmployeePayTemplate.md
452
- - docs/payroll_uk/EmployeePayTemplateObject.md
453
- - docs/payroll_uk/EmployeePayTemplates.md
454
- - docs/payroll_uk/EmployeeStatutoryLeaveBalance.md
455
- - docs/payroll_uk/EmployeeStatutoryLeaveBalanceObject.md
456
- - docs/payroll_uk/EmployeeStatutoryLeaveSummary.md
457
- - docs/payroll_uk/EmployeeStatutoryLeavesSummaries.md
458
- - docs/payroll_uk/EmployeeStatutorySickLeave.md
459
- - docs/payroll_uk/EmployeeStatutorySickLeaveObject.md
460
- - docs/payroll_uk/EmployeeStatutorySickLeaves.md
461
- - docs/payroll_uk/EmployeeTax.md
462
- - docs/payroll_uk/EmployeeTaxObject.md
463
- - docs/payroll_uk/Employees.md
464
- - docs/payroll_uk/Employment.md
465
- - docs/payroll_uk/EmploymentObject.md
466
- - docs/payroll_uk/InvalidField.md
467
- - docs/payroll_uk/LeaveAccrualLine.md
468
- - docs/payroll_uk/LeaveEarningsLine.md
469
- - docs/payroll_uk/LeavePeriod.md
470
- - docs/payroll_uk/LeavePeriods.md
471
- - docs/payroll_uk/LeaveType.md
472
- - docs/payroll_uk/LeaveTypeObject.md
473
- - docs/payroll_uk/LeaveTypes.md
474
- - docs/payroll_uk/Pagination.md
475
- - docs/payroll_uk/PayRun.md
476
- - docs/payroll_uk/PayRunCalendar.md
477
- - docs/payroll_uk/PayRunCalendarObject.md
478
- - docs/payroll_uk/PayRunCalendars.md
479
- - docs/payroll_uk/PayRunObject.md
480
- - docs/payroll_uk/PayRuns.md
481
- - docs/payroll_uk/PaymentLine.md
482
- - docs/payroll_uk/PaymentMethod.md
483
- - docs/payroll_uk/PaymentMethodObject.md
484
- - docs/payroll_uk/PayrollUkApi.md
485
- - docs/payroll_uk/Payslip.md
486
- - docs/payroll_uk/PayslipObject.md
487
- - docs/payroll_uk/Payslips.md
488
- - docs/payroll_uk/Problem.md
489
- - docs/payroll_uk/Reimbursement.md
490
- - docs/payroll_uk/ReimbursementLine.md
491
- - docs/payroll_uk/ReimbursementObject.md
492
- - docs/payroll_uk/Reimbursements.md
493
- - docs/payroll_uk/SalaryAndWage.md
494
- - docs/payroll_uk/SalaryAndWageObject.md
495
- - docs/payroll_uk/SalaryAndWages.md
496
- - docs/payroll_uk/Settings.md
497
- - docs/payroll_uk/StatutoryDeduction.md
498
- - docs/payroll_uk/StatutoryDeductionCategory.md
499
- - docs/payroll_uk/TaxLine.md
500
- - docs/payroll_uk/Timesheet.md
501
- - docs/payroll_uk/TimesheetEarningsLine.md
502
- - docs/payroll_uk/TimesheetLine.md
503
- - docs/payroll_uk/TimesheetLineObject.md
504
- - docs/payroll_uk/TimesheetObject.md
505
- - docs/payroll_uk/Timesheets.md
506
- - docs/payroll_uk/TrackingCategories.md
507
- - docs/payroll_uk/TrackingCategory.md
508
- - docs/projects/Amount.md
509
- - docs/projects/ChargeType.md
510
- - docs/projects/CurrencyCode.md
511
- - docs/projects/Error.md
512
- - docs/projects/Pagination.md
513
- - docs/projects/Project.md
514
- - docs/projects/ProjectApi.md
515
- - docs/projects/ProjectCreateOrUpdate.md
516
- - docs/projects/ProjectPatch.md
517
- - docs/projects/ProjectStatus.md
518
- - docs/projects/ProjectUser.md
519
- - docs/projects/ProjectUsers.md
520
- - docs/projects/Projects.md
521
- - docs/projects/Task.md
522
- - docs/projects/TaskCreateOrUpdate.md
523
- - docs/projects/Tasks.md
524
- - docs/projects/TimeEntries.md
525
- - docs/projects/TimeEntry.md
526
- - docs/projects/TimeEntryCreateOrUpdate.md
527
- - git_push.sh
528
81
  - lib/xero-ruby.rb
529
82
  - lib/xero-ruby/api/accounting_api.rb
530
83
  - lib/xero-ruby/api/asset_api.rb
@@ -1400,7 +953,6 @@ files:
1400
953
  - spec/projects/models/time_entry_create_or_update_spec.rb
1401
954
  - spec/projects/models/time_entry_spec.rb
1402
955
  - spec/spec_helper.rb
1403
- - xero-ruby.gemspec
1404
956
  homepage: https://developer.xero.com
1405
957
  licenses:
1406
958
  - Unlicense