xero-ruby 2.2.2 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +93 -49
- data/docs/accounting/AccountingApi.md +1752 -1590
- data/docs/accounting/Action.md +19 -0
- data/docs/accounting/Actions.md +17 -0
- data/docs/accounting/BalanceDetails.md +21 -0
- data/docs/accounting/ConversionBalances.md +21 -0
- data/docs/accounting/ConversionDate.md +19 -0
- data/docs/accounting/CreditNote.md +2 -0
- data/docs/accounting/ExpenseClaim.md +1 -1
- data/docs/accounting/ImportSummary.md +19 -0
- data/docs/accounting/ImportSummaryAccounts.md +33 -0
- data/docs/accounting/ImportSummaryObject.md +17 -0
- data/docs/accounting/ImportSummaryOrganisation.md +17 -0
- data/docs/accounting/Invoice.md +2 -0
- data/docs/accounting/Setup.md +21 -0
- data/docs/accounting/TrackingOption.md +3 -3
- data/docs/assets/Asset.md +2 -0
- data/docs/assets/AssetApi.md +30 -42
- data/docs/files/Association.md +23 -0
- data/docs/files/FileObject.md +31 -0
- data/docs/files/FileResponse204.md +17 -0
- data/docs/files/Files.md +23 -0
- data/docs/files/FilesApi.md +1116 -0
- data/docs/files/Folder.md +25 -0
- data/docs/files/Folders.md +17 -0
- data/docs/files/InlineObject.md +23 -0
- data/docs/files/ObjectGroup.md +16 -0
- data/docs/files/ObjectType.md +16 -0
- data/docs/files/User.md +25 -0
- data/docs/payroll_au/APIException.md +21 -0
- data/docs/payroll_au/Account.md +23 -0
- data/docs/payroll_au/AccountType.md +16 -0
- data/docs/payroll_au/AllowanceType.md +16 -0
- data/docs/payroll_au/BankAccount.md +27 -0
- data/docs/payroll_au/CalendarType.md +16 -0
- data/docs/payroll_au/DeductionLine.md +25 -0
- data/docs/payroll_au/DeductionType.md +33 -0
- data/docs/payroll_au/DeductionTypeCalculationType.md +16 -0
- data/docs/payroll_au/EarningsLine.md +33 -0
- data/docs/payroll_au/EarningsRate.md +49 -0
- data/docs/payroll_au/EarningsRateCalculationType.md +16 -0
- data/docs/payroll_au/EarningsType.md +16 -0
- data/docs/payroll_au/Employee.md +77 -0
- data/docs/payroll_au/EmployeeStatus.md +16 -0
- data/docs/payroll_au/Employees.md +17 -0
- data/docs/payroll_au/EmploymentBasis.md +16 -0
- data/docs/payroll_au/EmploymentTerminationPaymentType.md +16 -0
- data/docs/payroll_au/EntitlementFinalPayPayoutType.md +16 -0
- data/docs/payroll_au/HomeAddress.md +27 -0
- data/docs/payroll_au/LeaveAccrualLine.md +21 -0
- data/docs/payroll_au/LeaveApplication.md +35 -0
- data/docs/payroll_au/LeaveApplications.md +17 -0
- data/docs/payroll_au/LeaveBalance.md +23 -0
- data/docs/payroll_au/LeaveEarningsLine.md +21 -0
- data/docs/payroll_au/LeaveLine.md +31 -0
- data/docs/payroll_au/LeaveLineCalculationType.md +16 -0
- data/docs/payroll_au/LeaveLines.md +17 -0
- data/docs/payroll_au/LeavePeriod.md +23 -0
- data/docs/payroll_au/LeavePeriodStatus.md +16 -0
- data/docs/payroll_au/LeaveType.md +33 -0
- data/docs/payroll_au/LeaveTypeContributionType.md +16 -0
- data/docs/payroll_au/ManualTaxType.md +16 -0
- data/docs/payroll_au/OpeningBalances.md +29 -0
- data/docs/payroll_au/PayItem.md +23 -0
- data/docs/payroll_au/PayItems.md +17 -0
- data/docs/payroll_au/PayRun.md +47 -0
- data/docs/payroll_au/PayRunStatus.md +16 -0
- data/docs/payroll_au/PayRuns.md +17 -0
- data/docs/payroll_au/PayTemplate.md +25 -0
- data/docs/payroll_au/PaymentFrequencyType.md +16 -0
- data/docs/payroll_au/PayrollAuApi.md +2018 -0
- data/docs/payroll_au/PayrollCalendar.md +29 -0
- data/docs/payroll_au/PayrollCalendars.md +17 -0
- data/docs/payroll_au/Payslip.md +53 -0
- data/docs/payroll_au/PayslipLines.md +31 -0
- data/docs/payroll_au/PayslipObject.md +17 -0
- data/docs/payroll_au/PayslipSummary.md +39 -0
- data/docs/payroll_au/Payslips.md +17 -0
- data/docs/payroll_au/RateType.md +16 -0
- data/docs/payroll_au/ReimbursementLine.md +23 -0
- data/docs/payroll_au/ReimbursementLines.md +17 -0
- data/docs/payroll_au/ReimbursementType.md +25 -0
- data/docs/payroll_au/ResidencyStatus.md +16 -0
- data/docs/payroll_au/Settings.md +21 -0
- data/docs/payroll_au/SettingsObject.md +17 -0
- data/docs/payroll_au/SettingsTrackingCategories.md +19 -0
- data/docs/payroll_au/SettingsTrackingCategoriesEmployeeGroups.md +19 -0
- data/docs/payroll_au/SettingsTrackingCategoriesTimesheetCategories.md +19 -0
- data/docs/payroll_au/State.md +16 -0
- data/docs/payroll_au/SuperFund.md +41 -0
- data/docs/payroll_au/SuperFundProduct.md +23 -0
- data/docs/payroll_au/SuperFundProducts.md +17 -0
- data/docs/payroll_au/SuperFundType.md +16 -0
- data/docs/payroll_au/SuperFunds.md +17 -0
- data/docs/payroll_au/SuperLine.md +31 -0
- data/docs/payroll_au/SuperMembership.md +21 -0
- data/docs/payroll_au/SuperannuationCalculationType.md +16 -0
- data/docs/payroll_au/SuperannuationContributionType.md +16 -0
- data/docs/payroll_au/SuperannuationLine.md +33 -0
- data/docs/payroll_au/TFNExemptionType.md +16 -0
- data/docs/payroll_au/TaxDeclaration.md +47 -0
- data/docs/payroll_au/TaxLine.md +27 -0
- data/docs/payroll_au/Timesheet.md +33 -0
- data/docs/payroll_au/TimesheetLine.md +23 -0
- data/docs/payroll_au/TimesheetObject.md +17 -0
- data/docs/payroll_au/TimesheetStatus.md +16 -0
- data/docs/payroll_au/Timesheets.md +17 -0
- data/docs/payroll_au/ValidationError.md +17 -0
- data/docs/payroll_nz/Account.md +23 -0
- data/docs/payroll_nz/Accounts.md +17 -0
- data/docs/payroll_nz/Address.md +27 -0
- data/docs/payroll_nz/BankAccount.md +31 -0
- data/docs/payroll_nz/Benefit.md +35 -0
- data/docs/payroll_nz/CalendarType.md +16 -0
- data/docs/payroll_nz/Deduction.md +27 -0
- data/docs/payroll_nz/DeductionLine.md +25 -0
- data/docs/payroll_nz/DeductionObject.md +21 -0
- data/docs/payroll_nz/Deductions.md +21 -0
- data/docs/payroll_nz/EarningsLine.md +35 -0
- data/docs/payroll_nz/EarningsOrder.md +25 -0
- data/docs/payroll_nz/EarningsOrderObject.md +21 -0
- data/docs/payroll_nz/EarningsOrders.md +21 -0
- data/docs/payroll_nz/EarningsRate.md +35 -0
- data/docs/payroll_nz/EarningsRateObject.md +21 -0
- data/docs/payroll_nz/EarningsRates.md +21 -0
- data/docs/payroll_nz/EarningsTemplate.md +27 -0
- data/docs/payroll_nz/EarningsTemplateObject.md +21 -0
- data/docs/payroll_nz/Employee.md +43 -0
- data/docs/payroll_nz/EmployeeEarningsTemplates.md +21 -0
- data/docs/payroll_nz/EmployeeLeave.md +29 -0
- data/docs/payroll_nz/EmployeeLeaveBalance.md +23 -0
- data/docs/payroll_nz/EmployeeLeaveBalances.md +21 -0
- data/docs/payroll_nz/EmployeeLeaveObject.md +21 -0
- data/docs/payroll_nz/EmployeeLeaveSetup.md +29 -0
- data/docs/payroll_nz/EmployeeLeaveSetupObject.md +21 -0
- data/docs/payroll_nz/EmployeeLeaveType.md +35 -0
- data/docs/payroll_nz/EmployeeLeaveTypeObject.md +21 -0
- data/docs/payroll_nz/EmployeeLeaveTypes.md +21 -0
- data/docs/payroll_nz/EmployeeLeaves.md +21 -0
- data/docs/payroll_nz/EmployeeObject.md +21 -0
- data/docs/payroll_nz/EmployeeOpeningBalance.md +23 -0
- data/docs/payroll_nz/EmployeeOpeningBalancesObject.md +21 -0
- data/docs/payroll_nz/EmployeePayTemplate.md +19 -0
- data/docs/payroll_nz/EmployeePayTemplateObject.md +21 -0
- data/docs/payroll_nz/EmployeePayTemplates.md +21 -0
- data/docs/payroll_nz/EmployeeStatutoryLeaveBalance.md +21 -0
- data/docs/payroll_nz/EmployeeStatutoryLeaveBalanceObject.md +21 -0
- data/docs/payroll_nz/EmployeeStatutoryLeaveSummary.md +29 -0
- data/docs/payroll_nz/EmployeeStatutoryLeavesSummaries.md +21 -0
- data/docs/payroll_nz/EmployeeStatutorySickLeave.md +47 -0
- data/docs/payroll_nz/EmployeeStatutorySickLeaveObject.md +21 -0
- data/docs/payroll_nz/EmployeeStatutorySickLeaves.md +21 -0
- data/docs/payroll_nz/EmployeeTax.md +47 -0
- data/docs/payroll_nz/EmployeeTaxObject.md +21 -0
- data/docs/payroll_nz/Employees.md +21 -0
- data/docs/payroll_nz/Employment.md +21 -0
- data/docs/payroll_nz/EmploymentObject.md +21 -0
- data/docs/payroll_nz/GrossEarningsHistory.md +19 -0
- data/docs/payroll_nz/InvalidField.md +19 -0
- data/docs/payroll_nz/LeaveAccrualLine.md +19 -0
- data/docs/payroll_nz/LeaveEarningsLine.md +35 -0
- data/docs/payroll_nz/LeavePeriod.md +23 -0
- data/docs/payroll_nz/LeavePeriods.md +21 -0
- data/docs/payroll_nz/LeaveType.md +27 -0
- data/docs/payroll_nz/LeaveTypeObject.md +21 -0
- data/docs/payroll_nz/LeaveTypes.md +21 -0
- data/docs/payroll_nz/Pagination.md +23 -0
- data/docs/payroll_nz/PayRun.md +39 -0
- data/docs/payroll_nz/PayRunCalendar.md +29 -0
- data/docs/payroll_nz/PayRunCalendarObject.md +21 -0
- data/docs/payroll_nz/PayRunCalendars.md +21 -0
- data/docs/payroll_nz/PayRunObject.md +21 -0
- data/docs/payroll_nz/PayRuns.md +21 -0
- data/docs/payroll_nz/PaySlip.md +75 -0
- data/docs/payroll_nz/PaySlipObject.md +21 -0
- data/docs/payroll_nz/PaySlips.md +21 -0
- data/docs/payroll_nz/PaymentLine.md +25 -0
- data/docs/payroll_nz/PaymentMethod.md +19 -0
- data/docs/payroll_nz/PaymentMethodObject.md +21 -0
- data/docs/payroll_nz/PayrollNzApi.md +4544 -0
- data/docs/payroll_nz/Problem.md +27 -0
- data/docs/payroll_nz/Reimbursement.md +33 -0
- data/docs/payroll_nz/ReimbursementLine.md +25 -0
- data/docs/payroll_nz/ReimbursementObject.md +21 -0
- data/docs/payroll_nz/Reimbursements.md +21 -0
- data/docs/payroll_nz/SalaryAndWage.md +35 -0
- data/docs/payroll_nz/SalaryAndWageObject.md +21 -0
- data/docs/payroll_nz/SalaryAndWages.md +21 -0
- data/docs/payroll_nz/Settings.md +21 -0
- data/docs/payroll_nz/StatutoryDeduction.md +25 -0
- data/docs/payroll_nz/StatutoryDeductionCategory.md +16 -0
- data/docs/payroll_nz/StatutoryDeductionLine.md +23 -0
- data/docs/payroll_nz/StatutoryDeductionObject.md +21 -0
- data/docs/payroll_nz/StatutoryDeductions.md +21 -0
- data/docs/payroll_nz/SuperannuationLine.md +27 -0
- data/docs/payroll_nz/SuperannuationObject.md +21 -0
- data/docs/payroll_nz/Superannuations.md +21 -0
- data/docs/payroll_nz/TaxCode.md +16 -0
- data/docs/payroll_nz/TaxLine.md +25 -0
- data/docs/payroll_nz/TaxSettings.md +27 -0
- data/docs/payroll_nz/Timesheet.md +33 -0
- data/docs/payroll_nz/TimesheetEarningsLine.md +35 -0
- data/docs/payroll_nz/TimesheetLine.md +25 -0
- data/docs/payroll_nz/TimesheetLineObject.md +21 -0
- data/docs/payroll_nz/TimesheetObject.md +21 -0
- data/docs/payroll_nz/Timesheets.md +21 -0
- data/docs/payroll_nz/TrackingCategories.md +21 -0
- data/docs/payroll_nz/TrackingCategory.md +19 -0
- data/docs/payroll_uk/Account.md +23 -0
- data/docs/payroll_uk/Accounts.md +17 -0
- data/docs/payroll_uk/Address.md +25 -0
- data/docs/payroll_uk/BankAccount.md +21 -0
- data/docs/payroll_uk/Benefit.md +43 -0
- data/docs/payroll_uk/BenefitLine.md +25 -0
- data/docs/payroll_uk/BenefitObject.md +21 -0
- data/docs/payroll_uk/Benefits.md +21 -0
- data/docs/payroll_uk/CourtOrderLine.md +19 -0
- data/docs/payroll_uk/Deduction.md +47 -0
- data/docs/payroll_uk/DeductionLine.md +23 -0
- data/docs/payroll_uk/DeductionObject.md +21 -0
- data/docs/payroll_uk/Deductions.md +21 -0
- data/docs/payroll_uk/EarningsLine.md +33 -0
- data/docs/payroll_uk/EarningsOrder.md +25 -0
- data/docs/payroll_uk/EarningsOrderObject.md +21 -0
- data/docs/payroll_uk/EarningsOrders.md +21 -0
- data/docs/payroll_uk/EarningsRate.md +35 -0
- data/docs/payroll_uk/EarningsRateObject.md +21 -0
- data/docs/payroll_uk/EarningsRates.md +21 -0
- data/docs/payroll_uk/EarningsTemplate.md +27 -0
- data/docs/payroll_uk/EarningsTemplateObject.md +21 -0
- data/docs/payroll_uk/Employee.md +45 -0
- data/docs/payroll_uk/EmployeeLeave.md +29 -0
- data/docs/payroll_uk/EmployeeLeaveBalance.md +23 -0
- data/docs/payroll_uk/EmployeeLeaveBalances.md +21 -0
- data/docs/payroll_uk/EmployeeLeaveObject.md +21 -0
- data/docs/payroll_uk/EmployeeLeaveType.md +27 -0
- data/docs/payroll_uk/EmployeeLeaveTypeObject.md +21 -0
- data/docs/payroll_uk/EmployeeLeaveTypes.md +21 -0
- data/docs/payroll_uk/EmployeeLeaves.md +21 -0
- data/docs/payroll_uk/EmployeeObject.md +21 -0
- data/docs/payroll_uk/EmployeeOpeningBalances.md +27 -0
- data/docs/payroll_uk/EmployeeOpeningBalancesObject.md +21 -0
- data/docs/payroll_uk/EmployeePayTemplate.md +19 -0
- data/docs/payroll_uk/EmployeePayTemplateObject.md +21 -0
- data/docs/payroll_uk/EmployeePayTemplates.md +21 -0
- data/docs/payroll_uk/EmployeeStatutoryLeaveBalance.md +21 -0
- data/docs/payroll_uk/EmployeeStatutoryLeaveBalanceObject.md +21 -0
- data/docs/payroll_uk/EmployeeStatutoryLeaveSummary.md +29 -0
- data/docs/payroll_uk/EmployeeStatutoryLeavesSummaries.md +21 -0
- data/docs/payroll_uk/EmployeeStatutorySickLeave.md +47 -0
- data/docs/payroll_uk/EmployeeStatutorySickLeaveObject.md +21 -0
- data/docs/payroll_uk/EmployeeStatutorySickLeaves.md +21 -0
- data/docs/payroll_uk/EmployeeTax.md +37 -0
- data/docs/payroll_uk/EmployeeTaxObject.md +21 -0
- data/docs/payroll_uk/Employees.md +21 -0
- data/docs/payroll_uk/Employment.md +23 -0
- data/docs/payroll_uk/EmploymentObject.md +21 -0
- data/docs/payroll_uk/InvalidField.md +19 -0
- data/docs/payroll_uk/LeaveAccrualLine.md +19 -0
- data/docs/payroll_uk/LeaveEarningsLine.md +27 -0
- data/docs/payroll_uk/LeavePeriod.md +23 -0
- data/docs/payroll_uk/LeavePeriods.md +21 -0
- data/docs/payroll_uk/LeaveType.md +31 -0
- data/docs/payroll_uk/LeaveTypeObject.md +21 -0
- data/docs/payroll_uk/LeaveTypes.md +21 -0
- data/docs/payroll_uk/Pagination.md +23 -0
- data/docs/payroll_uk/PayRun.md +39 -0
- data/docs/payroll_uk/PayRunCalendar.md +29 -0
- data/docs/payroll_uk/PayRunCalendarObject.md +21 -0
- data/docs/payroll_uk/PayRunCalendars.md +21 -0
- data/docs/payroll_uk/PayRunObject.md +21 -0
- data/docs/payroll_uk/PayRuns.md +21 -0
- data/docs/payroll_uk/PaymentLine.md +25 -0
- data/docs/payroll_uk/PaymentMethod.md +19 -0
- data/docs/payroll_uk/PaymentMethodObject.md +21 -0
- data/docs/payroll_uk/PayrollUkApi.md +4683 -0
- data/docs/payroll_uk/Payslip.md +71 -0
- data/docs/payroll_uk/PayslipObject.md +21 -0
- data/docs/payroll_uk/Payslips.md +21 -0
- data/docs/payroll_uk/Problem.md +27 -0
- data/docs/payroll_uk/Reimbursement.md +23 -0
- data/docs/payroll_uk/ReimbursementLine.md +21 -0
- data/docs/payroll_uk/ReimbursementObject.md +21 -0
- data/docs/payroll_uk/Reimbursements.md +21 -0
- data/docs/payroll_uk/SalaryAndWage.md +33 -0
- data/docs/payroll_uk/SalaryAndWageObject.md +21 -0
- data/docs/payroll_uk/SalaryAndWages.md +21 -0
- data/docs/payroll_uk/Settings.md +21 -0
- data/docs/payroll_uk/StatutoryDeduction.md +25 -0
- data/docs/payroll_uk/StatutoryDeductionCategory.md +16 -0
- data/docs/payroll_uk/TaxLine.md +27 -0
- data/docs/payroll_uk/Timesheet.md +33 -0
- data/docs/payroll_uk/TimesheetEarningsLine.md +27 -0
- data/docs/payroll_uk/TimesheetLine.md +25 -0
- data/docs/payroll_uk/TimesheetLineObject.md +21 -0
- data/docs/payroll_uk/TimesheetObject.md +21 -0
- data/docs/payroll_uk/Timesheets.md +21 -0
- data/docs/payroll_uk/TrackingCategories.md +21 -0
- data/docs/payroll_uk/TrackingCategory.md +19 -0
- data/docs/projects/ProjectApi.md +69 -92
- data/lib/xero-ruby.rb +292 -1
- data/lib/xero-ruby/api/accounting_api.rb +1061 -336
- data/lib/xero-ruby/api/asset_api.rb +7 -9
- data/lib/xero-ruby/api/files_api.rb +1271 -0
- data/lib/xero-ruby/api/payroll_au_api.rb +2254 -0
- data/lib/xero-ruby/api/payroll_nz_api.rb +5261 -0
- data/lib/xero-ruby/api/payroll_uk_api.rb +5404 -0
- data/lib/xero-ruby/api/project_api.rb +17 -16
- data/lib/xero-ruby/api_client.rb +41 -31
- data/lib/xero-ruby/api_error.rb +1 -1
- data/lib/xero-ruby/configuration.rb +9 -1
- data/lib/xero-ruby/models/accounting/account.rb +3 -2
- data/lib/xero-ruby/models/accounting/account_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/accounts.rb +2 -2
- data/lib/xero-ruby/models/accounting/accounts_payable.rb +2 -2
- data/lib/xero-ruby/models/accounting/accounts_receivable.rb +2 -2
- data/lib/xero-ruby/models/accounting/action.rb +254 -0
- data/lib/xero-ruby/models/accounting/actions.rb +210 -0
- data/lib/xero-ruby/models/accounting/address.rb +2 -2
- data/lib/xero-ruby/models/accounting/allocation.rb +2 -2
- data/lib/xero-ruby/models/accounting/allocations.rb +2 -2
- data/lib/xero-ruby/models/accounting/attachment.rb +2 -2
- data/lib/xero-ruby/models/accounting/attachments.rb +2 -2
- data/lib/xero-ruby/models/accounting/balance_details.rb +229 -0
- data/lib/xero-ruby/models/accounting/balances.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transaction.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transactions.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transfer.rb +2 -2
- data/lib/xero-ruby/models/accounting/bank_transfers.rb +2 -2
- data/lib/xero-ruby/models/accounting/batch_payment.rb +7 -7
- data/lib/xero-ruby/models/accounting/batch_payment_details.rb +2 -17
- data/lib/xero-ruby/models/accounting/batch_payments.rb +2 -2
- data/lib/xero-ruby/models/accounting/bill.rb +2 -2
- data/lib/xero-ruby/models/accounting/branding_theme.rb +2 -2
- data/lib/xero-ruby/models/accounting/branding_themes.rb +2 -2
- data/lib/xero-ruby/models/accounting/cis_org_setting.rb +2 -2
- data/lib/xero-ruby/models/accounting/cis_setting.rb +2 -2
- data/lib/xero-ruby/models/accounting/cis_settings.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact_group.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact_groups.rb +2 -2
- data/lib/xero-ruby/models/accounting/contact_person.rb +2 -2
- data/lib/xero-ruby/models/accounting/contacts.rb +2 -2
- data/lib/xero-ruby/models/accounting/conversion_balances.rb +231 -0
- data/lib/xero-ruby/models/accounting/conversion_date.rb +219 -0
- data/lib/xero-ruby/models/accounting/country_code.rb +1 -1
- data/lib/xero-ruby/models/accounting/credit_note.rb +13 -3
- data/lib/xero-ruby/models/accounting/credit_notes.rb +2 -2
- data/lib/xero-ruby/models/accounting/currencies.rb +2 -2
- data/lib/xero-ruby/models/accounting/currency.rb +2 -2
- data/lib/xero-ruby/models/accounting/currency_code.rb +5 -3
- data/lib/xero-ruby/models/accounting/element.rb +2 -2
- data/lib/xero-ruby/models/accounting/employee.rb +2 -2
- data/lib/xero-ruby/models/accounting/employees.rb +2 -2
- data/lib/xero-ruby/models/accounting/error.rb +2 -2
- data/lib/xero-ruby/models/accounting/expense_claim.rb +3 -3
- data/lib/xero-ruby/models/accounting/expense_claims.rb +2 -2
- data/lib/xero-ruby/models/accounting/external_link.rb +2 -2
- data/lib/xero-ruby/models/accounting/history_record.rb +2 -2
- data/lib/xero-ruby/models/accounting/history_records.rb +2 -2
- data/lib/xero-ruby/models/accounting/import_summary.rb +219 -0
- data/lib/xero-ruby/models/accounting/import_summary_accounts.rb +289 -0
- data/lib/xero-ruby/models/accounting/import_summary_object.rb +208 -0
- data/lib/xero-ruby/models/accounting/import_summary_organisation.rb +208 -0
- data/lib/xero-ruby/models/accounting/invoice.rb +13 -3
- data/lib/xero-ruby/models/accounting/invoice_reminder.rb +2 -2
- data/lib/xero-ruby/models/accounting/invoice_reminders.rb +2 -2
- data/lib/xero-ruby/models/accounting/invoices.rb +2 -2
- data/lib/xero-ruby/models/accounting/item.rb +2 -2
- data/lib/xero-ruby/models/accounting/items.rb +2 -2
- data/lib/xero-ruby/models/accounting/journal.rb +2 -2
- data/lib/xero-ruby/models/accounting/journal_line.rb +2 -2
- data/lib/xero-ruby/models/accounting/journals.rb +2 -2
- data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -1
- data/lib/xero-ruby/models/accounting/line_item.rb +2 -2
- data/lib/xero-ruby/models/accounting/line_item_tracking.rb +2 -2
- data/lib/xero-ruby/models/accounting/linked_transaction.rb +2 -2
- data/lib/xero-ruby/models/accounting/linked_transactions.rb +2 -2
- data/lib/xero-ruby/models/accounting/manual_journal.rb +2 -2
- data/lib/xero-ruby/models/accounting/manual_journal_line.rb +2 -2
- data/lib/xero-ruby/models/accounting/manual_journals.rb +2 -2
- data/lib/xero-ruby/models/accounting/online_invoice.rb +2 -2
- data/lib/xero-ruby/models/accounting/online_invoices.rb +2 -2
- data/lib/xero-ruby/models/accounting/organisation.rb +4 -2
- data/lib/xero-ruby/models/accounting/organisations.rb +2 -2
- data/lib/xero-ruby/models/accounting/overpayment.rb +2 -2
- data/lib/xero-ruby/models/accounting/overpayments.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_delete.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_service.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_services.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_term.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/payments.rb +2 -2
- data/lib/xero-ruby/models/accounting/phone.rb +2 -2
- data/lib/xero-ruby/models/accounting/prepayment.rb +2 -2
- data/lib/xero-ruby/models/accounting/prepayments.rb +2 -2
- data/lib/xero-ruby/models/accounting/purchase.rb +2 -2
- data/lib/xero-ruby/models/accounting/purchase_order.rb +2 -2
- data/lib/xero-ruby/models/accounting/purchase_orders.rb +2 -2
- data/lib/xero-ruby/models/accounting/quote.rb +2 -2
- data/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +1 -1
- data/lib/xero-ruby/models/accounting/quote_status_codes.rb +1 -1
- data/lib/xero-ruby/models/accounting/quotes.rb +2 -2
- data/lib/xero-ruby/models/accounting/receipt.rb +2 -2
- data/lib/xero-ruby/models/accounting/receipts.rb +2 -2
- data/lib/xero-ruby/models/accounting/repeating_invoice.rb +2 -2
- data/lib/xero-ruby/models/accounting/repeating_invoices.rb +2 -2
- data/lib/xero-ruby/models/accounting/report.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_attribute.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_cell.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_fields.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_row.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_rows.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_with_row.rb +2 -2
- data/lib/xero-ruby/models/accounting/report_with_rows.rb +2 -2
- data/lib/xero-ruby/models/accounting/reports.rb +2 -2
- data/lib/xero-ruby/models/accounting/request_empty.rb +2 -2
- data/lib/xero-ruby/models/accounting/row_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +2 -2
- data/lib/xero-ruby/models/accounting/schedule.rb +2 -2
- data/lib/xero-ruby/models/accounting/setup.rb +232 -0
- data/lib/xero-ruby/models/accounting/tax_component.rb +2 -2
- data/lib/xero-ruby/models/accounting/tax_rate.rb +2 -2
- data/lib/xero-ruby/models/accounting/tax_rates.rb +2 -2
- data/lib/xero-ruby/models/accounting/tax_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +2 -2
- data/lib/xero-ruby/models/accounting/time_zone.rb +1 -1
- data/lib/xero-ruby/models/accounting/tracking_categories.rb +2 -2
- data/lib/xero-ruby/models/accounting/tracking_category.rb +2 -2
- data/lib/xero-ruby/models/accounting/tracking_option.rb +10 -10
- data/lib/xero-ruby/models/accounting/tracking_options.rb +2 -2
- data/lib/xero-ruby/models/accounting/user.rb +2 -2
- data/lib/xero-ruby/models/accounting/users.rb +2 -2
- data/lib/xero-ruby/models/accounting/validation_error.rb +2 -2
- data/lib/xero-ruby/models/assets/asset.rb +13 -3
- data/lib/xero-ruby/models/assets/asset_status.rb +1 -1
- data/lib/xero-ruby/models/assets/asset_status_query_param.rb +1 -1
- data/lib/xero-ruby/models/assets/asset_type.rb +2 -2
- data/lib/xero-ruby/models/assets/assets.rb +2 -2
- data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +2 -2
- data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +2 -2
- data/lib/xero-ruby/models/assets/error.rb +2 -2
- data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +2 -2
- data/lib/xero-ruby/models/assets/pagination.rb +2 -2
- data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +2 -2
- data/lib/xero-ruby/models/assets/setting.rb +2 -2
- data/lib/xero-ruby/models/files/association.rb +238 -0
- data/lib/xero-ruby/models/files/file_object.rb +278 -0
- data/lib/xero-ruby/models/files/file_response204.rb +208 -0
- data/lib/xero-ruby/models/files/files.rb +240 -0
- data/lib/xero-ruby/models/files/folder.rb +248 -0
- data/lib/xero-ruby/models/files/folders.rb +210 -0
- data/lib/xero-ruby/models/files/inline_object.rb +238 -0
- data/lib/xero-ruby/models/files/object_group.rb +46 -0
- data/lib/xero-ruby/models/files/object_type.rb +90 -0
- data/lib/xero-ruby/models/files/user.rb +253 -0
- data/lib/xero-ruby/models/payroll_au/account.rb +238 -0
- data/lib/xero-ruby/models/payroll_au/account_type.rb +58 -0
- data/lib/xero-ruby/models/payroll_au/allowance_type.rb +42 -0
- data/lib/xero-ruby/models/payroll_au/api_exception.rb +229 -0
- data/lib/xero-ruby/models/payroll_au/bank_account.rb +258 -0
- data/lib/xero-ruby/models/payroll_au/calendar_type.rb +41 -0
- data/lib/xero-ruby/models/payroll_au/deduction_line.rb +258 -0
- data/lib/xero-ruby/models/payroll_au/deduction_type.rb +340 -0
- data/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb +38 -0
- data/lib/xero-ruby/models/payroll_au/earnings_line.rb +293 -0
- data/lib/xero-ruby/models/payroll_au/earnings_rate.rb +398 -0
- data/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb +38 -0
- data/lib/xero-ruby/models/payroll_au/earnings_type.rb +44 -0
- data/lib/xero-ruby/models/payroll_au/employee.rb +571 -0
- data/lib/xero-ruby/models/payroll_au/employee_status.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/employees.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/employment_basis.rb +40 -0
- data/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/home_address.rb +263 -0
- data/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb +228 -0
- data/lib/xero-ruby/models/payroll_au/leave_application.rb +302 -0
- data/lib/xero-ruby/models/payroll_au/leave_applications.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/leave_balance.rb +238 -0
- data/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb +228 -0
- data/lib/xero-ruby/models/payroll_au/leave_line.rb +278 -0
- data/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb +40 -0
- data/lib/xero-ruby/models/payroll_au/leave_lines.rb +211 -0
- data/lib/xero-ruby/models/payroll_au/leave_period.rb +238 -0
- data/lib/xero-ruby/models/payroll_au/leave_period_status.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/leave_type.rb +303 -0
- data/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb +39 -0
- data/lib/xero-ruby/models/payroll_au/manual_tax_type.rb +40 -0
- data/lib/xero-ruby/models/payroll_au/opening_balances.rb +278 -0
- data/lib/xero-ruby/models/payroll_au/pay_item.rb +246 -0
- data/lib/xero-ruby/models/payroll_au/pay_items.rb +208 -0
- data/lib/xero-ruby/models/payroll_au/pay_run.rb +367 -0
- data/lib/xero-ruby/models/payroll_au/pay_run_status.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/pay_runs.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/pay_template.rb +258 -0
- data/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb +42 -0
- data/lib/xero-ruby/models/payroll_au/payroll_calendar.rb +270 -0
- data/lib/xero-ruby/models/payroll_au/payroll_calendars.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/payslip.rb +404 -0
- data/lib/xero-ruby/models/payroll_au/payslip_lines.rb +294 -0
- data/lib/xero-ruby/models/payroll_au/payslip_object.rb +208 -0
- data/lib/xero-ruby/models/payroll_au/payslip_summary.rb +318 -0
- data/lib/xero-ruby/models/payroll_au/payslips.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/rate_type.rb +38 -0
- data/lib/xero-ruby/models/payroll_au/reimbursement_line.rb +253 -0
- data/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb +211 -0
- data/lib/xero-ruby/models/payroll_au/reimbursement_type.rb +263 -0
- data/lib/xero-ruby/models/payroll_au/residency_status.rb +38 -0
- data/lib/xero-ruby/models/payroll_au/settings.rb +230 -0
- data/lib/xero-ruby/models/payroll_au/settings_object.rb +208 -0
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb +219 -0
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb +219 -0
- data/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb +219 -0
- data/lib/xero-ruby/models/payroll_au/state.rb +43 -0
- data/lib/xero-ruby/models/payroll_au/super_fund.rb +335 -0
- data/lib/xero-ruby/models/payroll_au/super_fund_product.rb +238 -0
- data/lib/xero-ruby/models/payroll_au/super_fund_products.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/super_fund_type.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/super_funds.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/super_line.rb +278 -0
- data/lib/xero-ruby/models/payroll_au/super_membership.rb +238 -0
- data/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb +38 -0
- data/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb +39 -0
- data/lib/xero-ruby/models/payroll_au/superannuation_line.rb +288 -0
- data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +358 -0
- data/lib/xero-ruby/models/payroll_au/tax_line.rb +258 -0
- data/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb +39 -0
- data/lib/xero-ruby/models/payroll_au/timesheet.rb +307 -0
- data/lib/xero-ruby/models/payroll_au/timesheet_line.rb +240 -0
- data/lib/xero-ruby/models/payroll_au/timesheet_object.rb +208 -0
- data/lib/xero-ruby/models/payroll_au/timesheet_status.rb +40 -0
- data/lib/xero-ruby/models/payroll_au/timesheets.rb +210 -0
- data/lib/xero-ruby/models/payroll_au/validation_error.rb +208 -0
- data/lib/xero-ruby/models/payroll_nz/account.rb +276 -0
- data/lib/xero-ruby/models/payroll_nz/accounts.rb +210 -0
- data/lib/xero-ruby/models/payroll_nz/address.rb +273 -0
- data/lib/xero-ruby/models/payroll_nz/bank_account.rb +329 -0
- data/lib/xero-ruby/models/payroll_nz/benefit.rb +369 -0
- data/lib/xero-ruby/models/payroll_nz/calendar_type.rb +42 -0
- data/lib/xero-ruby/models/payroll_nz/deduction.rb +311 -0
- data/lib/xero-ruby/models/payroll_nz/deduction_line.rb +248 -0
- data/lib/xero-ruby/models/payroll_nz/deduction_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/deductions.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_line.rb +298 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_order.rb +255 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_orders.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_rate.rb +387 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_rates.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_template.rb +258 -0
- data/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee.rb +374 -0
- data/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave.rb +290 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb +238 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb +268 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb +336 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employee_leaves.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employee_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb +238 -0
- data/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb +220 -0
- data/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb +280 -0
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb +322 -0
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb +419 -0
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employee_tax.rb +397 -0
- data/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employees.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/employment.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/employment_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb +218 -0
- data/lib/xero-ruby/models/payroll_nz/invalid_field.rb +218 -0
- data/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb +218 -0
- data/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb +298 -0
- data/lib/xero-ruby/models/payroll_nz/leave_period.rb +274 -0
- data/lib/xero-ruby/models/payroll_nz/leave_periods.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/leave_type.rb +273 -0
- data/lib/xero-ruby/models/payroll_nz/leave_type_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/leave_types.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/pagination.rb +238 -0
- data/lib/xero-ruby/models/payroll_nz/pay_run.rb +371 -0
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb +288 -0
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/pay_run_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/pay_runs.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/pay_slip.rb +557 -0
- data/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/pay_slips.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/payment_line.rb +248 -0
- data/lib/xero-ruby/models/payroll_nz/payment_method.rb +257 -0
- data/lib/xero-ruby/models/payroll_nz/payment_method_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/problem.rb +261 -0
- data/lib/xero-ruby/models/payroll_nz/reimbursement.rb +364 -0
- data/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb +248 -0
- data/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/reimbursements.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb +383 -0
- data/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/settings.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb +248 -0
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_category.rb +46 -0
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb +238 -0
- data/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/superannuation_line.rb +258 -0
- data/lib/xero-ruby/models/payroll_nz/superannuation_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/superannuations.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/tax_code.rb +54 -0
- data/lib/xero-ruby/models/payroll_nz/tax_line.rb +248 -0
- data/lib/xero-ruby/models/payroll_nz/tax_settings.rb +294 -0
- data/lib/xero-ruby/models/payroll_nz/timesheet.rb +347 -0
- data/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb +298 -0
- data/lib/xero-ruby/models/payroll_nz/timesheet_line.rb +263 -0
- data/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/timesheet_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/timesheets.rb +230 -0
- data/lib/xero-ruby/models/payroll_nz/tracking_categories.rb +228 -0
- data/lib/xero-ruby/models/payroll_nz/tracking_category.rb +218 -0
- data/lib/xero-ruby/models/payroll_uk/account.rb +279 -0
- data/lib/xero-ruby/models/payroll_uk/accounts.rb +210 -0
- data/lib/xero-ruby/models/payroll_uk/address.rb +263 -0
- data/lib/xero-ruby/models/payroll_uk/bank_account.rb +243 -0
- data/lib/xero-ruby/models/payroll_uk/benefit.rb +418 -0
- data/lib/xero-ruby/models/payroll_uk/benefit_line.rb +248 -0
- data/lib/xero-ruby/models/payroll_uk/benefit_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/benefits.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/court_order_line.rb +218 -0
- data/lib/xero-ruby/models/payroll_uk/deduction.rb +426 -0
- data/lib/xero-ruby/models/payroll_uk/deduction_line.rb +238 -0
- data/lib/xero-ruby/models/payroll_uk/deduction_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/deductions.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_line.rb +288 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_order.rb +255 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_orders.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_rate.rb +387 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_rates.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_template.rb +258 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee.rb +384 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leave.rb +290 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb +238 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb +306 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/employee_leaves.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/employee_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb +258 -0
- data/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb +220 -0
- data/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb +280 -0
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb +322 -0
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb +419 -0
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/employee_tax.rb +308 -0
- data/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/employees.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/employment.rb +280 -0
- data/lib/xero-ruby/models/payroll_uk/employment_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/invalid_field.rb +218 -0
- data/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb +218 -0
- data/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb +258 -0
- data/lib/xero-ruby/models/payroll_uk/leave_period.rb +274 -0
- data/lib/xero-ruby/models/payroll_uk/leave_periods.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/leave_type.rb +293 -0
- data/lib/xero-ruby/models/payroll_uk/leave_type_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/leave_types.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/pagination.rb +238 -0
- data/lib/xero-ruby/models/payroll_uk/pay_run.rb +389 -0
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb +328 -0
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/pay_run_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/pay_runs.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/payment_line.rb +248 -0
- data/lib/xero-ruby/models/payroll_uk/payment_method.rb +262 -0
- data/lib/xero-ruby/models/payroll_uk/payment_method_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/payslip.rb +537 -0
- data/lib/xero-ruby/models/payroll_uk/payslip_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/payslips.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/problem.rb +261 -0
- data/lib/xero-ruby/models/payroll_uk/reimbursement.rb +248 -0
- data/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/reimbursements.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +368 -0
- data/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/settings.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb +248 -0
- data/lib/xero-ruby/models/payroll_uk/statutory_deduction_category.rb +49 -0
- data/lib/xero-ruby/models/payroll_uk/tax_line.rb +258 -0
- data/lib/xero-ruby/models/payroll_uk/timesheet.rb +347 -0
- data/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb +258 -0
- data/lib/xero-ruby/models/payroll_uk/timesheet_line.rb +263 -0
- data/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/timesheet_object.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/timesheets.rb +230 -0
- data/lib/xero-ruby/models/payroll_uk/tracking_categories.rb +228 -0
- data/lib/xero-ruby/models/payroll_uk/tracking_category.rb +218 -0
- data/lib/xero-ruby/models/projects/amount.rb +2 -2
- data/lib/xero-ruby/models/projects/charge_type.rb +1 -1
- data/lib/xero-ruby/models/projects/currency_code.rb +1 -1
- data/lib/xero-ruby/models/projects/error.rb +2 -2
- data/lib/xero-ruby/models/projects/pagination.rb +2 -2
- data/lib/xero-ruby/models/projects/project.rb +2 -2
- data/lib/xero-ruby/models/projects/project_create_or_update.rb +2 -2
- data/lib/xero-ruby/models/projects/project_patch.rb +2 -2
- data/lib/xero-ruby/models/projects/project_status.rb +1 -1
- data/lib/xero-ruby/models/projects/project_user.rb +2 -2
- data/lib/xero-ruby/models/projects/project_users.rb +2 -2
- data/lib/xero-ruby/models/projects/projects.rb +2 -2
- data/lib/xero-ruby/models/projects/task.rb +2 -2
- data/lib/xero-ruby/models/projects/task_create_or_update.rb +2 -2
- data/lib/xero-ruby/models/projects/tasks.rb +2 -2
- data/lib/xero-ruby/models/projects/time_entries.rb +2 -2
- data/lib/xero-ruby/models/projects/time_entry.rb +2 -2
- data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +2 -2
- data/lib/xero-ruby/version.rb +2 -2
- data/spec/api_client_spec.rb +3 -3
- data/spec/files/api/files_api_spec.rb +249 -0
- data/spec/files/models/association_spec.rb +59 -0
- data/spec/files/models/file_object_spec.rb +83 -0
- data/spec/files/models/file_response204_spec.rb +41 -0
- data/spec/files/models/files_spec.rb +59 -0
- data/spec/files/models/folder_spec.rb +65 -0
- data/spec/files/models/folders_spec.rb +41 -0
- data/spec/files/models/inline_object_spec.rb +59 -0
- data/spec/files/models/object_group_spec.rb +35 -0
- data/spec/files/models/object_type_spec.rb +35 -0
- data/spec/files/models/user_spec.rb +81 -0
- data/spec/payroll_au/api/payroll_au_api_spec.rb +415 -0
- data/spec/payroll_au/models/account_spec.rb +59 -0
- data/spec/payroll_au/models/account_type_spec.rb +35 -0
- data/spec/payroll_au/models/allowance_type_spec.rb +35 -0
- data/spec/payroll_au/models/api_exception_spec.rb +53 -0
- data/spec/payroll_au/models/bank_account_spec.rb +71 -0
- data/spec/payroll_au/models/calendar_type_spec.rb +35 -0
- data/spec/payroll_au/models/deduction_line_spec.rb +65 -0
- data/spec/payroll_au/models/deduction_type_calculation_type_spec.rb +35 -0
- data/spec/payroll_au/models/deduction_type_spec.rb +93 -0
- data/spec/payroll_au/models/earnings_line_spec.rb +89 -0
- data/spec/payroll_au/models/earnings_rate_calculation_type_spec.rb +35 -0
- data/spec/payroll_au/models/earnings_rate_spec.rb +137 -0
- data/spec/payroll_au/models/earnings_type_spec.rb +35 -0
- data/spec/payroll_au/models/employee_spec.rb +225 -0
- data/spec/payroll_au/models/employee_status_spec.rb +35 -0
- data/spec/payroll_au/models/employees_spec.rb +41 -0
- data/spec/payroll_au/models/employment_basis_spec.rb +35 -0
- data/spec/payroll_au/models/employment_termination_payment_type_spec.rb +35 -0
- data/spec/payroll_au/models/entitlement_final_pay_payout_type_spec.rb +35 -0
- data/spec/payroll_au/models/home_address_spec.rb +71 -0
- data/spec/payroll_au/models/leave_accrual_line_spec.rb +53 -0
- data/spec/payroll_au/models/leave_application_spec.rb +95 -0
- data/spec/payroll_au/models/leave_applications_spec.rb +41 -0
- data/spec/payroll_au/models/leave_balance_spec.rb +59 -0
- data/spec/payroll_au/models/leave_earnings_line_spec.rb +53 -0
- data/spec/payroll_au/models/leave_line_calculation_type_spec.rb +35 -0
- data/spec/payroll_au/models/leave_line_spec.rb +83 -0
- data/spec/payroll_au/models/leave_lines_spec.rb +41 -0
- data/spec/payroll_au/models/leave_period_spec.rb +59 -0
- data/spec/payroll_au/models/leave_period_status_spec.rb +35 -0
- data/spec/payroll_au/models/leave_type_contribution_type_spec.rb +35 -0
- data/spec/payroll_au/models/leave_type_spec.rb +89 -0
- data/spec/payroll_au/models/manual_tax_type_spec.rb +35 -0
- data/spec/payroll_au/models/opening_balances_spec.rb +77 -0
- data/spec/payroll_au/models/pay_item_spec.rb +59 -0
- data/spec/payroll_au/models/pay_items_spec.rb +41 -0
- data/spec/payroll_au/models/pay_run_spec.rb +131 -0
- data/spec/payroll_au/models/pay_run_status_spec.rb +35 -0
- data/spec/payroll_au/models/pay_runs_spec.rb +41 -0
- data/spec/payroll_au/models/pay_template_spec.rb +65 -0
- data/spec/payroll_au/models/payment_frequency_type_spec.rb +35 -0
- data/spec/payroll_au/models/payroll_calendar_spec.rb +77 -0
- data/spec/payroll_au/models/payroll_calendars_spec.rb +41 -0
- data/spec/payroll_au/models/payslip_lines_spec.rb +83 -0
- data/spec/payroll_au/models/payslip_object_spec.rb +41 -0
- data/spec/payroll_au/models/payslip_spec.rb +149 -0
- data/spec/payroll_au/models/payslip_summary_spec.rb +107 -0
- data/spec/payroll_au/models/payslips_spec.rb +41 -0
- data/spec/payroll_au/models/rate_type_spec.rb +35 -0
- data/spec/payroll_au/models/reimbursement_line_spec.rb +59 -0
- data/spec/payroll_au/models/reimbursement_lines_spec.rb +41 -0
- data/spec/payroll_au/models/reimbursement_type_spec.rb +65 -0
- data/spec/payroll_au/models/residency_status_spec.rb +35 -0
- data/spec/payroll_au/models/settings_object_spec.rb +41 -0
- data/spec/payroll_au/models/settings_spec.rb +53 -0
- data/spec/payroll_au/models/settings_tracking_categories_employee_groups_spec.rb +47 -0
- data/spec/payroll_au/models/settings_tracking_categories_spec.rb +47 -0
- data/spec/payroll_au/models/settings_tracking_categories_timesheet_categories_spec.rb +47 -0
- data/spec/payroll_au/models/state_spec.rb +35 -0
- data/spec/payroll_au/models/super_fund_product_spec.rb +59 -0
- data/spec/payroll_au/models/super_fund_products_spec.rb +41 -0
- data/spec/payroll_au/models/super_fund_spec.rb +113 -0
- data/spec/payroll_au/models/super_fund_type_spec.rb +35 -0
- data/spec/payroll_au/models/super_funds_spec.rb +41 -0
- data/spec/payroll_au/models/super_line_spec.rb +83 -0
- data/spec/payroll_au/models/super_membership_spec.rb +53 -0
- data/spec/payroll_au/models/superannuation_calculation_type_spec.rb +35 -0
- data/spec/payroll_au/models/superannuation_contribution_type_spec.rb +35 -0
- data/spec/payroll_au/models/superannuation_line_spec.rb +89 -0
- data/spec/payroll_au/models/tax_declaration_spec.rb +131 -0
- data/spec/payroll_au/models/tax_line_spec.rb +71 -0
- data/spec/payroll_au/models/tfn_exemption_type_spec.rb +35 -0
- data/spec/payroll_au/models/timesheet_line_spec.rb +59 -0
- data/spec/payroll_au/models/timesheet_object_spec.rb +41 -0
- data/spec/payroll_au/models/timesheet_spec.rb +89 -0
- data/spec/payroll_au/models/timesheet_status_spec.rb +35 -0
- data/spec/payroll_au/models/timesheets_spec.rb +41 -0
- data/spec/payroll_au/models/validation_error_spec.rb +41 -0
- data/spec/payroll_nz/api/payroll_nz_api_spec.rb +886 -0
- data/spec/payroll_nz/models/account_spec.rb +63 -0
- data/spec/payroll_nz/models/accounts_spec.rb +41 -0
- data/spec/payroll_nz/models/address_spec.rb +71 -0
- data/spec/payroll_nz/models/bank_account_spec.rb +87 -0
- data/spec/payroll_nz/models/benefit_spec.rb +103 -0
- data/spec/payroll_nz/models/deduction_line_spec.rb +65 -0
- data/spec/payroll_nz/models/deduction_object_spec.rb +53 -0
- data/spec/payroll_nz/models/deduction_spec.rb +75 -0
- data/spec/payroll_nz/models/deductions_spec.rb +53 -0
- data/spec/payroll_nz/models/earnings_line_spec.rb +95 -0
- data/spec/payroll_nz/models/earnings_order_object_spec.rb +53 -0
- data/spec/payroll_nz/models/earnings_order_spec.rb +65 -0
- data/spec/payroll_nz/models/earnings_orders_spec.rb +53 -0
- data/spec/payroll_nz/models/earnings_rate_object_spec.rb +53 -0
- data/spec/payroll_nz/models/earnings_rate_spec.rb +103 -0
- data/spec/payroll_nz/models/earnings_rates_spec.rb +53 -0
- data/spec/payroll_nz/models/earnings_template_object_spec.rb +53 -0
- data/spec/payroll_nz/models/earnings_template_spec.rb +71 -0
- data/spec/payroll_nz/models/employee_earnings_templates_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_leave_balance_spec.rb +59 -0
- data/spec/payroll_nz/models/employee_leave_balances_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_leave_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_leave_setup_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_leave_setup_spec.rb +77 -0
- data/spec/payroll_nz/models/employee_leave_spec.rb +77 -0
- data/spec/payroll_nz/models/employee_leave_type_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_leave_type_spec.rb +99 -0
- data/spec/payroll_nz/models/employee_leave_types_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_leaves_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_opening_balance_spec.rb +59 -0
- data/spec/payroll_nz/models/employee_opening_balances_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_pay_template_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_pay_template_spec.rb +47 -0
- data/spec/payroll_nz/models/employee_pay_templates_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_spec.rb +123 -0
- data/spec/payroll_nz/models/employee_statutory_leave_balance_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_statutory_leave_balance_spec.rb +61 -0
- data/spec/payroll_nz/models/employee_statutory_leave_summary_spec.rb +85 -0
- data/spec/payroll_nz/models/employee_statutory_leaves_summaries_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_statutory_sick_leave_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_statutory_sick_leave_spec.rb +135 -0
- data/spec/payroll_nz/models/employee_statutory_sick_leaves_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_tax_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employee_tax_spec.rb +135 -0
- data/spec/payroll_nz/models/employees_spec.rb +53 -0
- data/spec/payroll_nz/models/employment_object_spec.rb +53 -0
- data/spec/payroll_nz/models/employment_spec.rb +53 -0
- data/spec/payroll_nz/models/gross_earnings_history_spec.rb +47 -0
- data/spec/payroll_nz/models/invalid_field_spec.rb +47 -0
- data/spec/payroll_nz/models/leave_accrual_line_spec.rb +47 -0
- data/spec/payroll_nz/models/leave_earnings_line_spec.rb +95 -0
- data/spec/payroll_nz/models/leave_period_spec.rb +63 -0
- data/spec/payroll_nz/models/leave_periods_spec.rb +53 -0
- data/spec/payroll_nz/models/leave_type_object_spec.rb +53 -0
- data/spec/payroll_nz/models/leave_type_spec.rb +71 -0
- data/spec/payroll_nz/models/leave_types_spec.rb +53 -0
- data/spec/payroll_nz/models/pagination_spec.rb +59 -0
- data/spec/payroll_nz/models/pay_run_calendar_object_spec.rb +53 -0
- data/spec/payroll_nz/models/pay_run_calendar_spec.rb +81 -0
- data/spec/payroll_nz/models/pay_run_calendars_spec.rb +53 -0
- data/spec/payroll_nz/models/pay_run_object_spec.rb +53 -0
- data/spec/payroll_nz/models/pay_run_spec.rb +119 -0
- data/spec/payroll_nz/models/pay_runs_spec.rb +53 -0
- data/spec/payroll_nz/models/pay_slip_object_spec.rb +53 -0
- data/spec/payroll_nz/models/pay_slip_spec.rb +219 -0
- data/spec/payroll_nz/models/pay_slips_spec.rb +53 -0
- data/spec/payroll_nz/models/payment_line_spec.rb +65 -0
- data/spec/payroll_nz/models/payment_method_object_spec.rb +53 -0
- data/spec/payroll_nz/models/payment_method_spec.rb +51 -0
- data/spec/payroll_nz/models/problem_spec.rb +71 -0
- data/spec/payroll_nz/models/reimbursement_line_spec.rb +65 -0
- data/spec/payroll_nz/models/reimbursement_object_spec.rb +53 -0
- data/spec/payroll_nz/models/reimbursement_spec.rb +101 -0
- data/spec/payroll_nz/models/reimbursements_spec.rb +53 -0
- data/spec/payroll_nz/models/salary_and_wage_object_spec.rb +53 -0
- data/spec/payroll_nz/models/salary_and_wage_spec.rb +103 -0
- data/spec/payroll_nz/models/salary_and_wages_spec.rb +53 -0
- data/spec/payroll_nz/models/settings_spec.rb +53 -0
- data/spec/payroll_nz/models/statutory_deduction_category_spec.rb +35 -0
- data/spec/payroll_nz/models/statutory_deduction_line_spec.rb +59 -0
- data/spec/payroll_nz/models/statutory_deduction_object_spec.rb +53 -0
- data/spec/payroll_nz/models/statutory_deduction_spec.rb +65 -0
- data/spec/payroll_nz/models/statutory_deductions_spec.rb +53 -0
- data/spec/payroll_nz/models/superannuation_line_spec.rb +71 -0
- data/spec/payroll_nz/models/superannuation_object_spec.rb +53 -0
- data/spec/payroll_nz/models/superannuations_spec.rb +53 -0
- data/spec/payroll_nz/models/tax_code_spec.rb +35 -0
- data/spec/payroll_nz/models/tax_line_spec.rb +65 -0
- data/spec/payroll_nz/models/tax_settings_spec.rb +75 -0
- data/spec/payroll_nz/models/timesheet_earnings_line_spec.rb +95 -0
- data/spec/payroll_nz/models/timesheet_line_object_spec.rb +53 -0
- data/spec/payroll_nz/models/timesheet_line_spec.rb +65 -0
- data/spec/payroll_nz/models/timesheet_object_spec.rb +53 -0
- data/spec/payroll_nz/models/timesheet_spec.rb +93 -0
- data/spec/payroll_nz/models/timesheets_spec.rb +53 -0
- data/spec/payroll_nz/models/tracking_categories_spec.rb +53 -0
- data/spec/payroll_nz/models/tracking_category_spec.rb +47 -0
- data/spec/payroll_uk/api/payroll_uk_api_spec.rb +912 -0
- data/spec/payroll_uk/models/account_spec.rb +63 -0
- data/spec/payroll_uk/models/accounts_spec.rb +41 -0
- data/spec/payroll_uk/models/address_spec.rb +65 -0
- data/spec/payroll_uk/models/bank_account_spec.rb +53 -0
- data/spec/payroll_uk/models/benefit_line_spec.rb +65 -0
- data/spec/payroll_uk/models/benefit_object_spec.rb +53 -0
- data/spec/payroll_uk/models/benefit_spec.rb +127 -0
- data/spec/payroll_uk/models/benefits_spec.rb +53 -0
- data/spec/payroll_uk/models/court_order_line_spec.rb +47 -0
- data/spec/payroll_uk/models/deduction_line_spec.rb +59 -0
- data/spec/payroll_uk/models/deduction_object_spec.rb +53 -0
- data/spec/payroll_uk/models/deduction_spec.rb +139 -0
- data/spec/payroll_uk/models/deductions_spec.rb +53 -0
- data/spec/payroll_uk/models/earnings_line_spec.rb +89 -0
- data/spec/payroll_uk/models/earnings_order_object_spec.rb +53 -0
- data/spec/payroll_uk/models/earnings_order_spec.rb +65 -0
- data/spec/payroll_uk/models/earnings_orders_spec.rb +53 -0
- data/spec/payroll_uk/models/earnings_rate_object_spec.rb +53 -0
- data/spec/payroll_uk/models/earnings_rate_spec.rb +103 -0
- data/spec/payroll_uk/models/earnings_rates_spec.rb +53 -0
- data/spec/payroll_uk/models/earnings_template_object_spec.rb +53 -0
- data/spec/payroll_uk/models/earnings_template_spec.rb +71 -0
- data/spec/payroll_uk/models/employee_leave_balance_spec.rb +59 -0
- data/spec/payroll_uk/models/employee_leave_balances_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_leave_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_leave_spec.rb +77 -0
- data/spec/payroll_uk/models/employee_leave_type_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_leave_type_spec.rb +75 -0
- data/spec/payroll_uk/models/employee_leave_types_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_leaves_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_opening_balances_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_opening_balances_spec.rb +71 -0
- data/spec/payroll_uk/models/employee_pay_template_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_pay_template_spec.rb +47 -0
- data/spec/payroll_uk/models/employee_pay_templates_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_spec.rb +129 -0
- data/spec/payroll_uk/models/employee_statutory_leave_balance_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_statutory_leave_balance_spec.rb +61 -0
- data/spec/payroll_uk/models/employee_statutory_leave_summary_spec.rb +85 -0
- data/spec/payroll_uk/models/employee_statutory_leaves_summaries_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_statutory_sick_leave_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_statutory_sick_leave_spec.rb +135 -0
- data/spec/payroll_uk/models/employee_statutory_sick_leaves_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_tax_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employee_tax_spec.rb +101 -0
- data/spec/payroll_uk/models/employees_spec.rb +53 -0
- data/spec/payroll_uk/models/employment_object_spec.rb +53 -0
- data/spec/payroll_uk/models/employment_spec.rb +63 -0
- data/spec/payroll_uk/models/invalid_field_spec.rb +47 -0
- data/spec/payroll_uk/models/leave_accrual_line_spec.rb +47 -0
- data/spec/payroll_uk/models/leave_earnings_line_spec.rb +71 -0
- data/spec/payroll_uk/models/leave_period_spec.rb +63 -0
- data/spec/payroll_uk/models/leave_periods_spec.rb +53 -0
- data/spec/payroll_uk/models/leave_type_object_spec.rb +53 -0
- data/spec/payroll_uk/models/leave_type_spec.rb +83 -0
- data/spec/payroll_uk/models/leave_types_spec.rb +53 -0
- data/spec/payroll_uk/models/pagination_spec.rb +59 -0
- data/spec/payroll_uk/models/pay_run_calendar_object_spec.rb +53 -0
- data/spec/payroll_uk/models/pay_run_calendar_spec.rb +81 -0
- data/spec/payroll_uk/models/pay_run_calendars_spec.rb +53 -0
- data/spec/payroll_uk/models/pay_run_object_spec.rb +53 -0
- data/spec/payroll_uk/models/pay_run_spec.rb +119 -0
- data/spec/payroll_uk/models/pay_runs_spec.rb +53 -0
- data/spec/payroll_uk/models/payment_line_spec.rb +65 -0
- data/spec/payroll_uk/models/payment_method_object_spec.rb +53 -0
- data/spec/payroll_uk/models/payment_method_spec.rb +51 -0
- data/spec/payroll_uk/models/payslip_object_spec.rb +53 -0
- data/spec/payroll_uk/models/payslip_spec.rb +201 -0
- data/spec/payroll_uk/models/payslips_spec.rb +53 -0
- data/spec/payroll_uk/models/problem_spec.rb +71 -0
- data/spec/payroll_uk/models/reimbursement_line_spec.rb +53 -0
- data/spec/payroll_uk/models/reimbursement_object_spec.rb +53 -0
- data/spec/payroll_uk/models/reimbursement_spec.rb +59 -0
- data/spec/payroll_uk/models/reimbursements_spec.rb +53 -0
- data/spec/payroll_uk/models/salary_and_wage_object_spec.rb +53 -0
- data/spec/payroll_uk/models/salary_and_wage_spec.rb +97 -0
- data/spec/payroll_uk/models/salary_and_wages_spec.rb +53 -0
- data/spec/payroll_uk/models/settings_spec.rb +53 -0
- data/spec/payroll_uk/models/statutory_deduction_category_spec.rb +35 -0
- data/spec/payroll_uk/models/statutory_deduction_spec.rb +65 -0
- data/spec/payroll_uk/models/tax_line_spec.rb +71 -0
- data/spec/payroll_uk/models/timesheet_earnings_line_spec.rb +71 -0
- data/spec/payroll_uk/models/timesheet_line_object_spec.rb +53 -0
- data/spec/payroll_uk/models/timesheet_line_spec.rb +65 -0
- data/spec/payroll_uk/models/timesheet_object_spec.rb +53 -0
- data/spec/payroll_uk/models/timesheet_spec.rb +93 -0
- data/spec/payroll_uk/models/timesheets_spec.rb +53 -0
- data/spec/payroll_uk/models/tracking_categories_spec.rb +53 -0
- data/spec/payroll_uk/models/tracking_category_spec.rb +47 -0
- data/xero-ruby.gem +0 -0
- data/xero-ruby.gemspec +1 -1
- metadata +1144 -2
@@ -0,0 +1,27 @@
|
|
1
|
+
# XeroRuby::PayrollUk::TimesheetEarningsLine
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**earnings_rate_id** | **String** | Xero identifier for payroll timesheet earnings rate | [optional]
|
8
|
+
**rate_per_unit** | **Float** | Rate per unit for timesheet earnings line | [optional]
|
9
|
+
**number_of_units** | **Float** | Timesheet earnings number of units | [optional]
|
10
|
+
**fixed_amount** | **Float** | Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed | [optional]
|
11
|
+
**amount** | **Float** | The amount of the timesheet earnings line. | [optional]
|
12
|
+
**is_linked_to_timesheet** | **Boolean** | Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'XeroRuby::PayrollUk'
|
18
|
+
|
19
|
+
instance = XeroRuby::PayrollUk::TimesheetEarningsLine.new(earnings_rate_id: null,
|
20
|
+
rate_per_unit: null,
|
21
|
+
number_of_units: null,
|
22
|
+
fixed_amount: null,
|
23
|
+
amount: null,
|
24
|
+
is_linked_to_timesheet: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# XeroRuby::PayrollUk::TimesheetLine
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**timesheet_line_id** | **String** | The Xero identifier for a Timesheet Line | [optional]
|
8
|
+
**date** | **Date** | The Date that this Timesheet Line is for (YYYY-MM-DD) |
|
9
|
+
**earnings_rate_id** | **String** | The Xero identifier for the Earnings Rate that the Timesheet is for |
|
10
|
+
**tracking_item_id** | **String** | The Xero identifier for the Tracking Item that the Timesheet is for | [optional]
|
11
|
+
**number_of_units** | **Float** | The Number of Units of the Timesheet Line |
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'XeroRuby::PayrollUk'
|
17
|
+
|
18
|
+
instance = XeroRuby::PayrollUk::TimesheetLine.new(timesheet_line_id: null,
|
19
|
+
date: null,
|
20
|
+
earnings_rate_id: null,
|
21
|
+
tracking_item_id: null,
|
22
|
+
number_of_units: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# XeroRuby::PayrollUk::TimesheetLineObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
8
|
+
**problem** | [**Problem**](Problem.md) | | [optional]
|
9
|
+
**timesheet_line** | [**TimesheetLine**](TimesheetLine.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'XeroRuby::PayrollUk'
|
15
|
+
|
16
|
+
instance = XeroRuby::PayrollUk::TimesheetLineObject.new(pagination: null,
|
17
|
+
problem: null,
|
18
|
+
timesheet_line: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# XeroRuby::PayrollUk::TimesheetObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
8
|
+
**problem** | [**Problem**](Problem.md) | | [optional]
|
9
|
+
**timesheet** | [**Timesheet**](Timesheet.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'XeroRuby::PayrollUk'
|
15
|
+
|
16
|
+
instance = XeroRuby::PayrollUk::TimesheetObject.new(pagination: null,
|
17
|
+
problem: null,
|
18
|
+
timesheet: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# XeroRuby::PayrollUk::Timesheets
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
8
|
+
**problem** | [**Problem**](Problem.md) | | [optional]
|
9
|
+
**timesheets** | [**Array<Timesheet>**](Timesheet.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'XeroRuby::PayrollUk'
|
15
|
+
|
16
|
+
instance = XeroRuby::PayrollUk::Timesheets.new(pagination: null,
|
17
|
+
problem: null,
|
18
|
+
timesheets: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# XeroRuby::PayrollUk::TrackingCategories
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
8
|
+
**problem** | [**Problem**](Problem.md) | | [optional]
|
9
|
+
**tracking_categories** | [**TrackingCategory**](TrackingCategory.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'XeroRuby::PayrollUk'
|
15
|
+
|
16
|
+
instance = XeroRuby::PayrollUk::TrackingCategories.new(pagination: null,
|
17
|
+
problem: null,
|
18
|
+
tracking_categories: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# XeroRuby::PayrollUk::TrackingCategory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**employee_groups_tracking_category_id** | **String** | The Xero identifier for Employee groups tracking category. | [optional]
|
8
|
+
**timesheet_tracking_category_id** | **String** | The Xero identifier for Timesheet tracking category. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'XeroRuby::PayrollUk'
|
14
|
+
|
15
|
+
instance = XeroRuby::PayrollUk::TrackingCategory.new(employee_groups_tracking_category_id: null,
|
16
|
+
timesheet_tracking_category_id: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/projects/ProjectApi.md
CHANGED
@@ -44,13 +44,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
44
44
|
|
45
45
|
xero_client.refresh_token_set(token_set)
|
46
46
|
|
47
|
-
#
|
48
|
-
# accounting_api
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
# :projects_api
|
53
|
-
api_instance = xero_client.projects_api
|
47
|
+
# You need to namespace your api method call to one of the following api sets
|
48
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
49
|
+
|
50
|
+
api_instance = xero_client.<api_set>
|
51
|
+
|
54
52
|
|
55
53
|
|
56
54
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -112,13 +110,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
112
110
|
|
113
111
|
xero_client.refresh_token_set(token_set)
|
114
112
|
|
115
|
-
#
|
116
|
-
# accounting_api
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
# :projects_api
|
121
|
-
api_instance = xero_client.projects_api
|
113
|
+
# You need to namespace your api method call to one of the following api sets
|
114
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
115
|
+
|
116
|
+
api_instance = xero_client.<api_set>
|
117
|
+
|
122
118
|
|
123
119
|
|
124
120
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -182,13 +178,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
182
178
|
|
183
179
|
xero_client.refresh_token_set(token_set)
|
184
180
|
|
185
|
-
#
|
186
|
-
# accounting_api
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
# :projects_api
|
191
|
-
api_instance = xero_client.projects_api
|
181
|
+
# You need to namespace your api method call to one of the following api sets
|
182
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
183
|
+
|
184
|
+
api_instance = xero_client.<api_set>
|
185
|
+
|
192
186
|
|
193
187
|
|
194
188
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -251,13 +245,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
251
245
|
|
252
246
|
xero_client.refresh_token_set(token_set)
|
253
247
|
|
254
|
-
#
|
255
|
-
# accounting_api
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
# :projects_api
|
260
|
-
api_instance = xero_client.projects_api
|
248
|
+
# You need to namespace your api method call to one of the following api sets
|
249
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
250
|
+
|
251
|
+
api_instance = xero_client.<api_set>
|
252
|
+
|
261
253
|
|
262
254
|
|
263
255
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -319,13 +311,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
319
311
|
|
320
312
|
xero_client.refresh_token_set(token_set)
|
321
313
|
|
322
|
-
#
|
323
|
-
# accounting_api
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
# :projects_api
|
328
|
-
api_instance = xero_client.projects_api
|
314
|
+
# You need to namespace your api method call to one of the following api sets
|
315
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
316
|
+
|
317
|
+
api_instance = xero_client.<api_set>
|
318
|
+
|
329
319
|
|
330
320
|
|
331
321
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -393,13 +383,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
393
383
|
|
394
384
|
xero_client.refresh_token_set(token_set)
|
395
385
|
|
396
|
-
#
|
397
|
-
# accounting_api
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
# :projects_api
|
402
|
-
api_instance = xero_client.projects_api
|
386
|
+
# You need to namespace your api method call to one of the following api sets
|
387
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
388
|
+
|
389
|
+
api_instance = xero_client.<api_set>
|
390
|
+
|
403
391
|
|
404
392
|
|
405
393
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -476,13 +464,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
476
464
|
|
477
465
|
xero_client.refresh_token_set(token_set)
|
478
466
|
|
479
|
-
#
|
480
|
-
# accounting_api
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
# :projects_api
|
485
|
-
api_instance = xero_client.projects_api
|
467
|
+
# You need to namespace your api method call to one of the following api sets
|
468
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
469
|
+
|
470
|
+
api_instance = xero_client.<api_set>
|
471
|
+
|
486
472
|
|
487
473
|
|
488
474
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -546,13 +532,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
546
532
|
|
547
533
|
xero_client.refresh_token_set(token_set)
|
548
534
|
|
549
|
-
#
|
550
|
-
# accounting_api
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
# :projects_api
|
555
|
-
api_instance = xero_client.projects_api
|
535
|
+
# You need to namespace your api method call to one of the following api sets
|
536
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
537
|
+
|
538
|
+
api_instance = xero_client.<api_set>
|
539
|
+
|
556
540
|
|
557
541
|
|
558
542
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -562,7 +546,9 @@ opts = {
|
|
562
546
|
|
563
547
|
page_size: 10, # Integer | Optional, it is set to 50 by default. The number of items to return per page in a paged response - Must be a number between 1 and 500.
|
564
548
|
|
565
|
-
task_ids: 'task_ids_example' # String | taskIdsSearch for all tasks that match a comma separated list of taskIds, i.e. GET https://.../tasks?taskIds={taskId},{taskId}
|
549
|
+
task_ids: 'task_ids_example', # String | taskIdsSearch for all tasks that match a comma separated list of taskIds, i.e. GET https://.../tasks?taskIds={taskId},{taskId}
|
550
|
+
|
551
|
+
charge_type: XeroRuby::Projects::ChargeType.new # ChargeType |
|
566
552
|
}
|
567
553
|
|
568
554
|
begin
|
@@ -584,6 +570,7 @@ Name | Type | Description | Notes
|
|
584
570
|
**page** | **Integer**| Set to 1 by default. The requested number of the page in paged response - Must be a number greater than 0. | [optional]
|
585
571
|
**page_size** | **Integer**| Optional, it is set to 50 by default. The number of items to return per page in a paged response - Must be a number between 1 and 500. | [optional]
|
586
572
|
**task_ids** | **String**| taskIdsSearch for all tasks that match a comma separated list of taskIds, i.e. GET https://.../tasks?taskIds={taskId},{taskId} | [optional]
|
573
|
+
**charge_type** | [**ChargeType**](.md)| | [optional]
|
587
574
|
|
588
575
|
### Return type
|
589
576
|
|
@@ -625,13 +612,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
625
612
|
|
626
613
|
xero_client.refresh_token_set(token_set)
|
627
614
|
|
628
|
-
#
|
629
|
-
# accounting_api
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
# :projects_api
|
634
|
-
api_instance = xero_client.projects_api
|
615
|
+
# You need to namespace your api method call to one of the following api sets
|
616
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
617
|
+
|
618
|
+
api_instance = xero_client.<api_set>
|
619
|
+
|
635
620
|
|
636
621
|
|
637
622
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -725,13 +710,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
725
710
|
|
726
711
|
xero_client.refresh_token_set(token_set)
|
727
712
|
|
728
|
-
#
|
729
|
-
# accounting_api
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
# :projects_api
|
734
|
-
api_instance = xero_client.projects_api
|
713
|
+
# You need to namespace your api method call to one of the following api sets
|
714
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
715
|
+
|
716
|
+
api_instance = xero_client.<api_set>
|
717
|
+
|
735
718
|
|
736
719
|
|
737
720
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -795,13 +778,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
795
778
|
|
796
779
|
xero_client.refresh_token_set(token_set)
|
797
780
|
|
798
|
-
#
|
799
|
-
# accounting_api
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
# :projects_api
|
804
|
-
api_instance = xero_client.projects_api
|
781
|
+
# You need to namespace your api method call to one of the following api sets
|
782
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
783
|
+
|
784
|
+
api_instance = xero_client.<api_set>
|
785
|
+
|
805
786
|
|
806
787
|
|
807
788
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -864,13 +845,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
864
845
|
|
865
846
|
xero_client.refresh_token_set(token_set)
|
866
847
|
|
867
|
-
#
|
868
|
-
# accounting_api
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
# :projects_api
|
873
|
-
api_instance = xero_client.projects_api
|
848
|
+
# You need to namespace your api method call to one of the following api sets
|
849
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
850
|
+
|
851
|
+
api_instance = xero_client.<api_set>
|
852
|
+
|
874
853
|
|
875
854
|
|
876
855
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
@@ -933,13 +912,11 @@ token_set = fetch_valid_token_set(user) # example
|
|
933
912
|
|
934
913
|
xero_client.refresh_token_set(token_set)
|
935
914
|
|
936
|
-
#
|
937
|
-
# accounting_api
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
# :projects_api
|
942
|
-
api_instance = xero_client.projects_api
|
915
|
+
# You need to namespace your api method call to one of the following api sets
|
916
|
+
# [:accounting_api, :assets_api, :projects_api, :files_api, :payroll_au_api, :payroll_nz_api, :payroll_uk_api]
|
917
|
+
|
918
|
+
api_instance = xero_client.<api_set>
|
919
|
+
|
943
920
|
|
944
921
|
|
945
922
|
xero_tenant_id = 'xero_tenant_id_example' # String | Xero identifier for Tenant
|
data/lib/xero-ruby.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.6.0
|
7
7
|
Contact: api@xero.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -17,6 +17,283 @@ require 'xero-ruby/version'
|
|
17
17
|
require 'xero-ruby/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'xero-ruby/models/payroll_uk/account'
|
21
|
+
require 'xero-ruby/models/payroll_uk/accounts'
|
22
|
+
require 'xero-ruby/models/payroll_uk/address'
|
23
|
+
require 'xero-ruby/models/payroll_uk/bank_account'
|
24
|
+
require 'xero-ruby/models/payroll_uk/benefit'
|
25
|
+
require 'xero-ruby/models/payroll_uk/benefit_line'
|
26
|
+
require 'xero-ruby/models/payroll_uk/benefit_object'
|
27
|
+
require 'xero-ruby/models/payroll_uk/benefits'
|
28
|
+
require 'xero-ruby/models/payroll_uk/court_order_line'
|
29
|
+
require 'xero-ruby/models/payroll_uk/deduction'
|
30
|
+
require 'xero-ruby/models/payroll_uk/deduction_line'
|
31
|
+
require 'xero-ruby/models/payroll_uk/deduction_object'
|
32
|
+
require 'xero-ruby/models/payroll_uk/deductions'
|
33
|
+
require 'xero-ruby/models/payroll_uk/earnings_line'
|
34
|
+
require 'xero-ruby/models/payroll_uk/earnings_order'
|
35
|
+
require 'xero-ruby/models/payroll_uk/earnings_order_object'
|
36
|
+
require 'xero-ruby/models/payroll_uk/earnings_orders'
|
37
|
+
require 'xero-ruby/models/payroll_uk/earnings_rate'
|
38
|
+
require 'xero-ruby/models/payroll_uk/earnings_rate_object'
|
39
|
+
require 'xero-ruby/models/payroll_uk/earnings_rates'
|
40
|
+
require 'xero-ruby/models/payroll_uk/earnings_template'
|
41
|
+
require 'xero-ruby/models/payroll_uk/earnings_template_object'
|
42
|
+
require 'xero-ruby/models/payroll_uk/employee'
|
43
|
+
require 'xero-ruby/models/payroll_uk/employee_leave'
|
44
|
+
require 'xero-ruby/models/payroll_uk/employee_leave_balance'
|
45
|
+
require 'xero-ruby/models/payroll_uk/employee_leave_balances'
|
46
|
+
require 'xero-ruby/models/payroll_uk/employee_leave_object'
|
47
|
+
require 'xero-ruby/models/payroll_uk/employee_leave_type'
|
48
|
+
require 'xero-ruby/models/payroll_uk/employee_leave_type_object'
|
49
|
+
require 'xero-ruby/models/payroll_uk/employee_leave_types'
|
50
|
+
require 'xero-ruby/models/payroll_uk/employee_leaves'
|
51
|
+
require 'xero-ruby/models/payroll_uk/employee_object'
|
52
|
+
require 'xero-ruby/models/payroll_uk/employee_opening_balances'
|
53
|
+
require 'xero-ruby/models/payroll_uk/employee_opening_balances_object'
|
54
|
+
require 'xero-ruby/models/payroll_uk/employee_pay_template'
|
55
|
+
require 'xero-ruby/models/payroll_uk/employee_pay_template_object'
|
56
|
+
require 'xero-ruby/models/payroll_uk/employee_pay_templates'
|
57
|
+
require 'xero-ruby/models/payroll_uk/employee_statutory_leave_balance'
|
58
|
+
require 'xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object'
|
59
|
+
require 'xero-ruby/models/payroll_uk/employee_statutory_leave_summary'
|
60
|
+
require 'xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries'
|
61
|
+
require 'xero-ruby/models/payroll_uk/employee_statutory_sick_leave'
|
62
|
+
require 'xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object'
|
63
|
+
require 'xero-ruby/models/payroll_uk/employee_statutory_sick_leaves'
|
64
|
+
require 'xero-ruby/models/payroll_uk/employee_tax'
|
65
|
+
require 'xero-ruby/models/payroll_uk/employee_tax_object'
|
66
|
+
require 'xero-ruby/models/payroll_uk/employees'
|
67
|
+
require 'xero-ruby/models/payroll_uk/employment'
|
68
|
+
require 'xero-ruby/models/payroll_uk/employment_object'
|
69
|
+
require 'xero-ruby/models/payroll_uk/invalid_field'
|
70
|
+
require 'xero-ruby/models/payroll_uk/leave_accrual_line'
|
71
|
+
require 'xero-ruby/models/payroll_uk/leave_earnings_line'
|
72
|
+
require 'xero-ruby/models/payroll_uk/leave_period'
|
73
|
+
require 'xero-ruby/models/payroll_uk/leave_periods'
|
74
|
+
require 'xero-ruby/models/payroll_uk/leave_type'
|
75
|
+
require 'xero-ruby/models/payroll_uk/leave_type_object'
|
76
|
+
require 'xero-ruby/models/payroll_uk/leave_types'
|
77
|
+
require 'xero-ruby/models/payroll_uk/pagination'
|
78
|
+
require 'xero-ruby/models/payroll_uk/pay_run'
|
79
|
+
require 'xero-ruby/models/payroll_uk/pay_run_calendar'
|
80
|
+
require 'xero-ruby/models/payroll_uk/pay_run_calendar_object'
|
81
|
+
require 'xero-ruby/models/payroll_uk/pay_run_calendars'
|
82
|
+
require 'xero-ruby/models/payroll_uk/pay_run_object'
|
83
|
+
require 'xero-ruby/models/payroll_uk/pay_runs'
|
84
|
+
require 'xero-ruby/models/payroll_uk/payment_line'
|
85
|
+
require 'xero-ruby/models/payroll_uk/payment_method'
|
86
|
+
require 'xero-ruby/models/payroll_uk/payment_method_object'
|
87
|
+
require 'xero-ruby/models/payroll_uk/payslip'
|
88
|
+
require 'xero-ruby/models/payroll_uk/payslip_object'
|
89
|
+
require 'xero-ruby/models/payroll_uk/payslips'
|
90
|
+
require 'xero-ruby/models/payroll_uk/problem'
|
91
|
+
require 'xero-ruby/models/payroll_uk/reimbursement'
|
92
|
+
require 'xero-ruby/models/payroll_uk/reimbursement_line'
|
93
|
+
require 'xero-ruby/models/payroll_uk/reimbursement_object'
|
94
|
+
require 'xero-ruby/models/payroll_uk/reimbursements'
|
95
|
+
require 'xero-ruby/models/payroll_uk/salary_and_wage'
|
96
|
+
require 'xero-ruby/models/payroll_uk/salary_and_wage_object'
|
97
|
+
require 'xero-ruby/models/payroll_uk/salary_and_wages'
|
98
|
+
require 'xero-ruby/models/payroll_uk/settings'
|
99
|
+
require 'xero-ruby/models/payroll_uk/statutory_deduction'
|
100
|
+
require 'xero-ruby/models/payroll_uk/statutory_deduction_category'
|
101
|
+
require 'xero-ruby/models/payroll_uk/tax_line'
|
102
|
+
require 'xero-ruby/models/payroll_uk/timesheet'
|
103
|
+
require 'xero-ruby/models/payroll_uk/timesheet_earnings_line'
|
104
|
+
require 'xero-ruby/models/payroll_uk/timesheet_line'
|
105
|
+
require 'xero-ruby/models/payroll_uk/timesheet_line_object'
|
106
|
+
require 'xero-ruby/models/payroll_uk/timesheet_object'
|
107
|
+
require 'xero-ruby/models/payroll_uk/timesheets'
|
108
|
+
require 'xero-ruby/models/payroll_uk/tracking_categories'
|
109
|
+
require 'xero-ruby/models/payroll_uk/tracking_category'
|
110
|
+
require 'xero-ruby/models/payroll_nz/account'
|
111
|
+
require 'xero-ruby/models/payroll_nz/accounts'
|
112
|
+
require 'xero-ruby/models/payroll_nz/address'
|
113
|
+
require 'xero-ruby/models/payroll_nz/bank_account'
|
114
|
+
require 'xero-ruby/models/payroll_nz/benefit'
|
115
|
+
require 'xero-ruby/models/payroll_nz/calendar_type'
|
116
|
+
require 'xero-ruby/models/payroll_nz/deduction'
|
117
|
+
require 'xero-ruby/models/payroll_nz/deduction_line'
|
118
|
+
require 'xero-ruby/models/payroll_nz/deduction_object'
|
119
|
+
require 'xero-ruby/models/payroll_nz/deductions'
|
120
|
+
require 'xero-ruby/models/payroll_nz/earnings_line'
|
121
|
+
require 'xero-ruby/models/payroll_nz/earnings_order'
|
122
|
+
require 'xero-ruby/models/payroll_nz/earnings_order_object'
|
123
|
+
require 'xero-ruby/models/payroll_nz/earnings_orders'
|
124
|
+
require 'xero-ruby/models/payroll_nz/earnings_rate'
|
125
|
+
require 'xero-ruby/models/payroll_nz/earnings_rate_object'
|
126
|
+
require 'xero-ruby/models/payroll_nz/earnings_rates'
|
127
|
+
require 'xero-ruby/models/payroll_nz/earnings_template'
|
128
|
+
require 'xero-ruby/models/payroll_nz/earnings_template_object'
|
129
|
+
require 'xero-ruby/models/payroll_nz/employee'
|
130
|
+
require 'xero-ruby/models/payroll_nz/employee_earnings_templates'
|
131
|
+
require 'xero-ruby/models/payroll_nz/employee_leave'
|
132
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_balance'
|
133
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_balances'
|
134
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_object'
|
135
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_setup'
|
136
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_setup_object'
|
137
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_type'
|
138
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_type_object'
|
139
|
+
require 'xero-ruby/models/payroll_nz/employee_leave_types'
|
140
|
+
require 'xero-ruby/models/payroll_nz/employee_leaves'
|
141
|
+
require 'xero-ruby/models/payroll_nz/employee_object'
|
142
|
+
require 'xero-ruby/models/payroll_nz/employee_opening_balance'
|
143
|
+
require 'xero-ruby/models/payroll_nz/employee_opening_balances_object'
|
144
|
+
require 'xero-ruby/models/payroll_nz/employee_pay_template'
|
145
|
+
require 'xero-ruby/models/payroll_nz/employee_pay_template_object'
|
146
|
+
require 'xero-ruby/models/payroll_nz/employee_pay_templates'
|
147
|
+
require 'xero-ruby/models/payroll_nz/employee_statutory_leave_balance'
|
148
|
+
require 'xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object'
|
149
|
+
require 'xero-ruby/models/payroll_nz/employee_statutory_leave_summary'
|
150
|
+
require 'xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries'
|
151
|
+
require 'xero-ruby/models/payroll_nz/employee_statutory_sick_leave'
|
152
|
+
require 'xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object'
|
153
|
+
require 'xero-ruby/models/payroll_nz/employee_statutory_sick_leaves'
|
154
|
+
require 'xero-ruby/models/payroll_nz/employee_tax'
|
155
|
+
require 'xero-ruby/models/payroll_nz/employee_tax_object'
|
156
|
+
require 'xero-ruby/models/payroll_nz/employees'
|
157
|
+
require 'xero-ruby/models/payroll_nz/employment'
|
158
|
+
require 'xero-ruby/models/payroll_nz/employment_object'
|
159
|
+
require 'xero-ruby/models/payroll_nz/gross_earnings_history'
|
160
|
+
require 'xero-ruby/models/payroll_nz/invalid_field'
|
161
|
+
require 'xero-ruby/models/payroll_nz/leave_accrual_line'
|
162
|
+
require 'xero-ruby/models/payroll_nz/leave_earnings_line'
|
163
|
+
require 'xero-ruby/models/payroll_nz/leave_period'
|
164
|
+
require 'xero-ruby/models/payroll_nz/leave_periods'
|
165
|
+
require 'xero-ruby/models/payroll_nz/leave_type'
|
166
|
+
require 'xero-ruby/models/payroll_nz/leave_type_object'
|
167
|
+
require 'xero-ruby/models/payroll_nz/leave_types'
|
168
|
+
require 'xero-ruby/models/payroll_nz/pagination'
|
169
|
+
require 'xero-ruby/models/payroll_nz/pay_run'
|
170
|
+
require 'xero-ruby/models/payroll_nz/pay_run_calendar'
|
171
|
+
require 'xero-ruby/models/payroll_nz/pay_run_calendar_object'
|
172
|
+
require 'xero-ruby/models/payroll_nz/pay_run_calendars'
|
173
|
+
require 'xero-ruby/models/payroll_nz/pay_run_object'
|
174
|
+
require 'xero-ruby/models/payroll_nz/pay_runs'
|
175
|
+
require 'xero-ruby/models/payroll_nz/pay_slip'
|
176
|
+
require 'xero-ruby/models/payroll_nz/pay_slip_object'
|
177
|
+
require 'xero-ruby/models/payroll_nz/pay_slips'
|
178
|
+
require 'xero-ruby/models/payroll_nz/payment_line'
|
179
|
+
require 'xero-ruby/models/payroll_nz/payment_method'
|
180
|
+
require 'xero-ruby/models/payroll_nz/payment_method_object'
|
181
|
+
require 'xero-ruby/models/payroll_nz/problem'
|
182
|
+
require 'xero-ruby/models/payroll_nz/reimbursement'
|
183
|
+
require 'xero-ruby/models/payroll_nz/reimbursement_line'
|
184
|
+
require 'xero-ruby/models/payroll_nz/reimbursement_object'
|
185
|
+
require 'xero-ruby/models/payroll_nz/reimbursements'
|
186
|
+
require 'xero-ruby/models/payroll_nz/salary_and_wage'
|
187
|
+
require 'xero-ruby/models/payroll_nz/salary_and_wage_object'
|
188
|
+
require 'xero-ruby/models/payroll_nz/salary_and_wages'
|
189
|
+
require 'xero-ruby/models/payroll_nz/settings'
|
190
|
+
require 'xero-ruby/models/payroll_nz/statutory_deduction'
|
191
|
+
require 'xero-ruby/models/payroll_nz/statutory_deduction_category'
|
192
|
+
require 'xero-ruby/models/payroll_nz/statutory_deduction_line'
|
193
|
+
require 'xero-ruby/models/payroll_nz/statutory_deduction_object'
|
194
|
+
require 'xero-ruby/models/payroll_nz/statutory_deductions'
|
195
|
+
require 'xero-ruby/models/payroll_nz/superannuation_line'
|
196
|
+
require 'xero-ruby/models/payroll_nz/superannuation_object'
|
197
|
+
require 'xero-ruby/models/payroll_nz/superannuations'
|
198
|
+
require 'xero-ruby/models/payroll_nz/tax_code'
|
199
|
+
require 'xero-ruby/models/payroll_nz/tax_line'
|
200
|
+
require 'xero-ruby/models/payroll_nz/tax_settings'
|
201
|
+
require 'xero-ruby/models/payroll_nz/timesheet'
|
202
|
+
require 'xero-ruby/models/payroll_nz/timesheet_earnings_line'
|
203
|
+
require 'xero-ruby/models/payroll_nz/timesheet_line'
|
204
|
+
require 'xero-ruby/models/payroll_nz/timesheet_line_object'
|
205
|
+
require 'xero-ruby/models/payroll_nz/timesheet_object'
|
206
|
+
require 'xero-ruby/models/payroll_nz/timesheets'
|
207
|
+
require 'xero-ruby/models/payroll_nz/tracking_categories'
|
208
|
+
require 'xero-ruby/models/payroll_nz/tracking_category'
|
209
|
+
require 'xero-ruby/models/payroll_au/api_exception'
|
210
|
+
require 'xero-ruby/models/payroll_au/account'
|
211
|
+
require 'xero-ruby/models/payroll_au/account_type'
|
212
|
+
require 'xero-ruby/models/payroll_au/allowance_type'
|
213
|
+
require 'xero-ruby/models/payroll_au/bank_account'
|
214
|
+
require 'xero-ruby/models/payroll_au/calendar_type'
|
215
|
+
require 'xero-ruby/models/payroll_au/deduction_line'
|
216
|
+
require 'xero-ruby/models/payroll_au/deduction_type'
|
217
|
+
require 'xero-ruby/models/payroll_au/deduction_type_calculation_type'
|
218
|
+
require 'xero-ruby/models/payroll_au/earnings_line'
|
219
|
+
require 'xero-ruby/models/payroll_au/earnings_rate'
|
220
|
+
require 'xero-ruby/models/payroll_au/earnings_rate_calculation_type'
|
221
|
+
require 'xero-ruby/models/payroll_au/earnings_type'
|
222
|
+
require 'xero-ruby/models/payroll_au/employee'
|
223
|
+
require 'xero-ruby/models/payroll_au/employee_status'
|
224
|
+
require 'xero-ruby/models/payroll_au/employees'
|
225
|
+
require 'xero-ruby/models/payroll_au/employment_basis'
|
226
|
+
require 'xero-ruby/models/payroll_au/employment_termination_payment_type'
|
227
|
+
require 'xero-ruby/models/payroll_au/entitlement_final_pay_payout_type'
|
228
|
+
require 'xero-ruby/models/payroll_au/home_address'
|
229
|
+
require 'xero-ruby/models/payroll_au/leave_accrual_line'
|
230
|
+
require 'xero-ruby/models/payroll_au/leave_application'
|
231
|
+
require 'xero-ruby/models/payroll_au/leave_applications'
|
232
|
+
require 'xero-ruby/models/payroll_au/leave_balance'
|
233
|
+
require 'xero-ruby/models/payroll_au/leave_earnings_line'
|
234
|
+
require 'xero-ruby/models/payroll_au/leave_line'
|
235
|
+
require 'xero-ruby/models/payroll_au/leave_line_calculation_type'
|
236
|
+
require 'xero-ruby/models/payroll_au/leave_lines'
|
237
|
+
require 'xero-ruby/models/payroll_au/leave_period'
|
238
|
+
require 'xero-ruby/models/payroll_au/leave_period_status'
|
239
|
+
require 'xero-ruby/models/payroll_au/leave_type'
|
240
|
+
require 'xero-ruby/models/payroll_au/leave_type_contribution_type'
|
241
|
+
require 'xero-ruby/models/payroll_au/manual_tax_type'
|
242
|
+
require 'xero-ruby/models/payroll_au/opening_balances'
|
243
|
+
require 'xero-ruby/models/payroll_au/pay_item'
|
244
|
+
require 'xero-ruby/models/payroll_au/pay_items'
|
245
|
+
require 'xero-ruby/models/payroll_au/pay_run'
|
246
|
+
require 'xero-ruby/models/payroll_au/pay_run_status'
|
247
|
+
require 'xero-ruby/models/payroll_au/pay_runs'
|
248
|
+
require 'xero-ruby/models/payroll_au/pay_template'
|
249
|
+
require 'xero-ruby/models/payroll_au/payment_frequency_type'
|
250
|
+
require 'xero-ruby/models/payroll_au/payroll_calendar'
|
251
|
+
require 'xero-ruby/models/payroll_au/payroll_calendars'
|
252
|
+
require 'xero-ruby/models/payroll_au/payslip'
|
253
|
+
require 'xero-ruby/models/payroll_au/payslip_lines'
|
254
|
+
require 'xero-ruby/models/payroll_au/payslip_object'
|
255
|
+
require 'xero-ruby/models/payroll_au/payslip_summary'
|
256
|
+
require 'xero-ruby/models/payroll_au/payslips'
|
257
|
+
require 'xero-ruby/models/payroll_au/rate_type'
|
258
|
+
require 'xero-ruby/models/payroll_au/reimbursement_line'
|
259
|
+
require 'xero-ruby/models/payroll_au/reimbursement_lines'
|
260
|
+
require 'xero-ruby/models/payroll_au/reimbursement_type'
|
261
|
+
require 'xero-ruby/models/payroll_au/residency_status'
|
262
|
+
require 'xero-ruby/models/payroll_au/settings'
|
263
|
+
require 'xero-ruby/models/payroll_au/settings_object'
|
264
|
+
require 'xero-ruby/models/payroll_au/settings_tracking_categories'
|
265
|
+
require 'xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups'
|
266
|
+
require 'xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories'
|
267
|
+
require 'xero-ruby/models/payroll_au/state'
|
268
|
+
require 'xero-ruby/models/payroll_au/super_fund'
|
269
|
+
require 'xero-ruby/models/payroll_au/super_fund_product'
|
270
|
+
require 'xero-ruby/models/payroll_au/super_fund_products'
|
271
|
+
require 'xero-ruby/models/payroll_au/super_fund_type'
|
272
|
+
require 'xero-ruby/models/payroll_au/super_funds'
|
273
|
+
require 'xero-ruby/models/payroll_au/super_line'
|
274
|
+
require 'xero-ruby/models/payroll_au/super_membership'
|
275
|
+
require 'xero-ruby/models/payroll_au/superannuation_calculation_type'
|
276
|
+
require 'xero-ruby/models/payroll_au/superannuation_contribution_type'
|
277
|
+
require 'xero-ruby/models/payroll_au/superannuation_line'
|
278
|
+
require 'xero-ruby/models/payroll_au/tfn_exemption_type'
|
279
|
+
require 'xero-ruby/models/payroll_au/tax_declaration'
|
280
|
+
require 'xero-ruby/models/payroll_au/tax_line'
|
281
|
+
require 'xero-ruby/models/payroll_au/timesheet'
|
282
|
+
require 'xero-ruby/models/payroll_au/timesheet_line'
|
283
|
+
require 'xero-ruby/models/payroll_au/timesheet_object'
|
284
|
+
require 'xero-ruby/models/payroll_au/timesheet_status'
|
285
|
+
require 'xero-ruby/models/payroll_au/timesheets'
|
286
|
+
require 'xero-ruby/models/payroll_au/validation_error'
|
287
|
+
require 'xero-ruby/models/files/association'
|
288
|
+
require 'xero-ruby/models/files/file_object'
|
289
|
+
require 'xero-ruby/models/files/file_response204'
|
290
|
+
require 'xero-ruby/models/files/files'
|
291
|
+
require 'xero-ruby/models/files/folder'
|
292
|
+
require 'xero-ruby/models/files/folders'
|
293
|
+
require 'xero-ruby/models/files/inline_object'
|
294
|
+
require 'xero-ruby/models/files/object_group'
|
295
|
+
require 'xero-ruby/models/files/object_type'
|
296
|
+
require 'xero-ruby/models/files/user'
|
20
297
|
require 'xero-ruby/models/projects/amount'
|
21
298
|
require 'xero-ruby/models/projects/charge_type'
|
22
299
|
require 'xero-ruby/models/projects/currency_code'
|
@@ -52,11 +329,14 @@ require 'xero-ruby/models/accounting/account_type'
|
|
52
329
|
require 'xero-ruby/models/accounting/accounts'
|
53
330
|
require 'xero-ruby/models/accounting/accounts_payable'
|
54
331
|
require 'xero-ruby/models/accounting/accounts_receivable'
|
332
|
+
require 'xero-ruby/models/accounting/action'
|
333
|
+
require 'xero-ruby/models/accounting/actions'
|
55
334
|
require 'xero-ruby/models/accounting/address'
|
56
335
|
require 'xero-ruby/models/accounting/allocation'
|
57
336
|
require 'xero-ruby/models/accounting/allocations'
|
58
337
|
require 'xero-ruby/models/accounting/attachment'
|
59
338
|
require 'xero-ruby/models/accounting/attachments'
|
339
|
+
require 'xero-ruby/models/accounting/balance_details'
|
60
340
|
require 'xero-ruby/models/accounting/balances'
|
61
341
|
require 'xero-ruby/models/accounting/bank_transaction'
|
62
342
|
require 'xero-ruby/models/accounting/bank_transactions'
|
@@ -76,6 +356,8 @@ require 'xero-ruby/models/accounting/contact_group'
|
|
76
356
|
require 'xero-ruby/models/accounting/contact_groups'
|
77
357
|
require 'xero-ruby/models/accounting/contact_person'
|
78
358
|
require 'xero-ruby/models/accounting/contacts'
|
359
|
+
require 'xero-ruby/models/accounting/conversion_balances'
|
360
|
+
require 'xero-ruby/models/accounting/conversion_date'
|
79
361
|
require 'xero-ruby/models/accounting/country_code'
|
80
362
|
require 'xero-ruby/models/accounting/credit_note'
|
81
363
|
require 'xero-ruby/models/accounting/credit_notes'
|
@@ -91,6 +373,10 @@ require 'xero-ruby/models/accounting/expense_claims'
|
|
91
373
|
require 'xero-ruby/models/accounting/external_link'
|
92
374
|
require 'xero-ruby/models/accounting/history_record'
|
93
375
|
require 'xero-ruby/models/accounting/history_records'
|
376
|
+
require 'xero-ruby/models/accounting/import_summary'
|
377
|
+
require 'xero-ruby/models/accounting/import_summary_accounts'
|
378
|
+
require 'xero-ruby/models/accounting/import_summary_object'
|
379
|
+
require 'xero-ruby/models/accounting/import_summary_organisation'
|
94
380
|
require 'xero-ruby/models/accounting/invoice'
|
95
381
|
require 'xero-ruby/models/accounting/invoice_reminder'
|
96
382
|
require 'xero-ruby/models/accounting/invoice_reminders'
|
@@ -148,6 +434,7 @@ require 'xero-ruby/models/accounting/request_empty'
|
|
148
434
|
require 'xero-ruby/models/accounting/row_type'
|
149
435
|
require 'xero-ruby/models/accounting/sales_tracking_category'
|
150
436
|
require 'xero-ruby/models/accounting/schedule'
|
437
|
+
require 'xero-ruby/models/accounting/setup'
|
151
438
|
require 'xero-ruby/models/accounting/tax_component'
|
152
439
|
require 'xero-ruby/models/accounting/tax_rate'
|
153
440
|
require 'xero-ruby/models/accounting/tax_rates'
|
@@ -163,6 +450,10 @@ require 'xero-ruby/models/accounting/users'
|
|
163
450
|
require 'xero-ruby/models/accounting/validation_error'
|
164
451
|
|
165
452
|
# APIs
|
453
|
+
require 'xero-ruby/api/payroll_uk_api'
|
454
|
+
require 'xero-ruby/api/payroll_nz_api'
|
455
|
+
require 'xero-ruby/api/payroll_au_api'
|
456
|
+
require 'xero-ruby/api/files_api'
|
166
457
|
require 'xero-ruby/api/project_api'
|
167
458
|
require 'xero-ruby/api/asset_api'
|
168
459
|
require 'xero-ruby/api/accounting_api'
|