xero-ruby 2.2.4 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +89 -47
- data/build_notes.md +0 -10
- data/docs/accounting/AccountingApi.md +1712 -1618
- data/docs/accounting/Action.md +19 -0
- data/docs/accounting/Actions.md +17 -0
- data/docs/accounting/ExpenseClaim.md +1 -1
- 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 +29 -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/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 +69 -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 +65 -91
- data/lib/xero-ruby.rb +283 -1
- data/lib/xero-ruby/api/accounting_api.rb +980 -334
- 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 +14 -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 +1 -1
- data/lib/xero-ruby/models/accounting/account_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/accounts.rb +1 -1
- data/lib/xero-ruby/models/accounting/accounts_payable.rb +1 -1
- data/lib/xero-ruby/models/accounting/accounts_receivable.rb +1 -1
- 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 +1 -1
- data/lib/xero-ruby/models/accounting/allocation.rb +1 -1
- data/lib/xero-ruby/models/accounting/allocations.rb +1 -1
- data/lib/xero-ruby/models/accounting/attachment.rb +1 -1
- data/lib/xero-ruby/models/accounting/attachments.rb +1 -1
- data/lib/xero-ruby/models/accounting/balances.rb +1 -1
- data/lib/xero-ruby/models/accounting/bank_transaction.rb +1 -1
- data/lib/xero-ruby/models/accounting/bank_transactions.rb +1 -1
- data/lib/xero-ruby/models/accounting/bank_transfer.rb +1 -1
- data/lib/xero-ruby/models/accounting/bank_transfers.rb +1 -1
- data/lib/xero-ruby/models/accounting/batch_payment.rb +1 -1
- data/lib/xero-ruby/models/accounting/batch_payment_details.rb +1 -16
- data/lib/xero-ruby/models/accounting/batch_payments.rb +1 -1
- data/lib/xero-ruby/models/accounting/bill.rb +1 -1
- data/lib/xero-ruby/models/accounting/branding_theme.rb +1 -1
- data/lib/xero-ruby/models/accounting/branding_themes.rb +1 -1
- data/lib/xero-ruby/models/accounting/cis_org_setting.rb +1 -1
- data/lib/xero-ruby/models/accounting/cis_setting.rb +1 -1
- data/lib/xero-ruby/models/accounting/cis_settings.rb +1 -1
- data/lib/xero-ruby/models/accounting/contact.rb +1 -1
- data/lib/xero-ruby/models/accounting/contact_group.rb +1 -1
- data/lib/xero-ruby/models/accounting/contact_groups.rb +1 -1
- data/lib/xero-ruby/models/accounting/contact_person.rb +1 -1
- data/lib/xero-ruby/models/accounting/contacts.rb +1 -1
- data/lib/xero-ruby/models/accounting/country_code.rb +1 -1
- data/lib/xero-ruby/models/accounting/credit_note.rb +1 -1
- data/lib/xero-ruby/models/accounting/credit_notes.rb +1 -1
- data/lib/xero-ruby/models/accounting/currencies.rb +1 -1
- data/lib/xero-ruby/models/accounting/currency.rb +1 -1
- data/lib/xero-ruby/models/accounting/currency_code.rb +3 -3
- data/lib/xero-ruby/models/accounting/element.rb +1 -1
- data/lib/xero-ruby/models/accounting/employee.rb +1 -1
- data/lib/xero-ruby/models/accounting/employees.rb +1 -1
- data/lib/xero-ruby/models/accounting/error.rb +1 -1
- data/lib/xero-ruby/models/accounting/expense_claim.rb +2 -2
- data/lib/xero-ruby/models/accounting/expense_claims.rb +1 -1
- data/lib/xero-ruby/models/accounting/external_link.rb +1 -1
- data/lib/xero-ruby/models/accounting/history_record.rb +1 -1
- data/lib/xero-ruby/models/accounting/history_records.rb +1 -1
- data/lib/xero-ruby/models/accounting/invoice.rb +1 -1
- data/lib/xero-ruby/models/accounting/invoice_reminder.rb +1 -1
- data/lib/xero-ruby/models/accounting/invoice_reminders.rb +1 -1
- data/lib/xero-ruby/models/accounting/invoices.rb +1 -1
- data/lib/xero-ruby/models/accounting/item.rb +1 -1
- data/lib/xero-ruby/models/accounting/items.rb +1 -1
- data/lib/xero-ruby/models/accounting/journal.rb +1 -1
- data/lib/xero-ruby/models/accounting/journal_line.rb +1 -1
- data/lib/xero-ruby/models/accounting/journals.rb +1 -1
- data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -1
- data/lib/xero-ruby/models/accounting/line_item.rb +1 -1
- data/lib/xero-ruby/models/accounting/line_item_tracking.rb +1 -1
- data/lib/xero-ruby/models/accounting/linked_transaction.rb +1 -1
- data/lib/xero-ruby/models/accounting/linked_transactions.rb +1 -1
- data/lib/xero-ruby/models/accounting/manual_journal.rb +1 -1
- data/lib/xero-ruby/models/accounting/manual_journal_line.rb +1 -1
- data/lib/xero-ruby/models/accounting/manual_journals.rb +1 -1
- data/lib/xero-ruby/models/accounting/online_invoice.rb +1 -1
- data/lib/xero-ruby/models/accounting/online_invoices.rb +1 -1
- data/lib/xero-ruby/models/accounting/organisation.rb +1 -1
- data/lib/xero-ruby/models/accounting/organisations.rb +1 -1
- data/lib/xero-ruby/models/accounting/overpayment.rb +1 -1
- data/lib/xero-ruby/models/accounting/overpayments.rb +1 -1
- data/lib/xero-ruby/models/accounting/payment.rb +1 -1
- data/lib/xero-ruby/models/accounting/payment_delete.rb +1 -1
- data/lib/xero-ruby/models/accounting/payment_service.rb +1 -1
- data/lib/xero-ruby/models/accounting/payment_services.rb +1 -1
- data/lib/xero-ruby/models/accounting/payment_term.rb +1 -1
- data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/payments.rb +1 -1
- data/lib/xero-ruby/models/accounting/phone.rb +1 -1
- data/lib/xero-ruby/models/accounting/prepayment.rb +1 -1
- data/lib/xero-ruby/models/accounting/prepayments.rb +1 -1
- data/lib/xero-ruby/models/accounting/purchase.rb +1 -1
- data/lib/xero-ruby/models/accounting/purchase_order.rb +1 -1
- data/lib/xero-ruby/models/accounting/purchase_orders.rb +1 -1
- data/lib/xero-ruby/models/accounting/quote.rb +1 -1
- 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 +1 -1
- data/lib/xero-ruby/models/accounting/receipt.rb +1 -1
- data/lib/xero-ruby/models/accounting/receipts.rb +1 -1
- data/lib/xero-ruby/models/accounting/repeating_invoice.rb +1 -1
- data/lib/xero-ruby/models/accounting/repeating_invoices.rb +1 -1
- data/lib/xero-ruby/models/accounting/report.rb +1 -1
- data/lib/xero-ruby/models/accounting/report_attribute.rb +1 -1
- data/lib/xero-ruby/models/accounting/report_cell.rb +1 -1
- data/lib/xero-ruby/models/accounting/report_fields.rb +1 -1
- data/lib/xero-ruby/models/accounting/report_row.rb +1 -1
- data/lib/xero-ruby/models/accounting/report_rows.rb +1 -1
- data/lib/xero-ruby/models/accounting/report_with_row.rb +1 -1
- data/lib/xero-ruby/models/accounting/report_with_rows.rb +1 -1
- data/lib/xero-ruby/models/accounting/reports.rb +1 -1
- data/lib/xero-ruby/models/accounting/request_empty.rb +1 -1
- data/lib/xero-ruby/models/accounting/row_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +1 -1
- data/lib/xero-ruby/models/accounting/schedule.rb +1 -1
- data/lib/xero-ruby/models/accounting/tax_component.rb +1 -1
- data/lib/xero-ruby/models/accounting/tax_rate.rb +1 -1
- data/lib/xero-ruby/models/accounting/tax_rates.rb +1 -1
- data/lib/xero-ruby/models/accounting/tax_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +1 -1
- data/lib/xero-ruby/models/accounting/time_zone.rb +1 -1
- data/lib/xero-ruby/models/accounting/tracking_categories.rb +1 -1
- data/lib/xero-ruby/models/accounting/tracking_category.rb +1 -1
- data/lib/xero-ruby/models/accounting/tracking_option.rb +1 -1
- data/lib/xero-ruby/models/accounting/tracking_options.rb +1 -1
- data/lib/xero-ruby/models/accounting/user.rb +1 -1
- data/lib/xero-ruby/models/accounting/users.rb +1 -1
- data/lib/xero-ruby/models/accounting/validation_error.rb +1 -1
- data/lib/xero-ruby/models/assets/asset.rb +1 -1
- 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 +1 -1
- data/lib/xero-ruby/models/assets/assets.rb +1 -1
- data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +1 -1
- data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +1 -1
- data/lib/xero-ruby/models/assets/error.rb +1 -1
- data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +1 -1
- data/lib/xero-ruby/models/assets/pagination.rb +1 -1
- data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +1 -1
- data/lib/xero-ruby/models/assets/setting.rb +1 -1
- 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 +68 -0
- data/lib/xero-ruby/models/files/user.rb +318 -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/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 +382 -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 +389 -0
- data/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb +328 -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 +262 -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 +388 -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 +525 -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 +1 -1
- 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 +1 -1
- data/lib/xero-ruby/models/projects/pagination.rb +1 -1
- data/lib/xero-ruby/models/projects/project.rb +1 -1
- data/lib/xero-ruby/models/projects/project_create_or_update.rb +1 -1
- data/lib/xero-ruby/models/projects/project_patch.rb +1 -1
- data/lib/xero-ruby/models/projects/project_status.rb +1 -1
- data/lib/xero-ruby/models/projects/project_user.rb +1 -1
- data/lib/xero-ruby/models/projects/project_users.rb +1 -1
- data/lib/xero-ruby/models/projects/projects.rb +1 -1
- data/lib/xero-ruby/models/projects/task.rb +1 -1
- data/lib/xero-ruby/models/projects/task_create_or_update.rb +1 -1
- data/lib/xero-ruby/models/projects/tasks.rb +1 -1
- data/lib/xero-ruby/models/projects/time_entries.rb +1 -1
- data/lib/xero-ruby/models/projects/time_entry.rb +1 -1
- data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +1 -1
- 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 +1126 -3
- data/xero-ruby-2.2.3.gem +0 -0
|
@@ -3,15 +3,13 @@
|
|
|
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.4.0
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
|
-
require 'cgi'
|
|
14
|
-
|
|
15
13
|
module XeroRuby
|
|
16
14
|
class AccountingApi
|
|
17
15
|
attr_accessor :api_client
|
|
@@ -88,7 +86,7 @@ module XeroRuby
|
|
|
88
86
|
:return_type => return_type
|
|
89
87
|
)
|
|
90
88
|
|
|
91
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
89
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
92
90
|
if @api_client.config.debugging
|
|
93
91
|
@api_client.config.logger.debug "API called: AccountingApi#create_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
94
92
|
end
|
|
@@ -176,7 +174,7 @@ module XeroRuby
|
|
|
176
174
|
:return_type => return_type
|
|
177
175
|
)
|
|
178
176
|
|
|
179
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
177
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
180
178
|
if @api_client.config.debugging
|
|
181
179
|
@api_client.config.logger.debug "API called: AccountingApi#create_account_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
182
180
|
end
|
|
@@ -264,7 +262,7 @@ module XeroRuby
|
|
|
264
262
|
:return_type => return_type
|
|
265
263
|
)
|
|
266
264
|
|
|
267
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
265
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
268
266
|
if @api_client.config.debugging
|
|
269
267
|
@api_client.config.logger.debug "API called: AccountingApi#create_bank_transaction_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
270
268
|
end
|
|
@@ -346,7 +344,7 @@ module XeroRuby
|
|
|
346
344
|
:return_type => return_type
|
|
347
345
|
)
|
|
348
346
|
|
|
349
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
347
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
350
348
|
if @api_client.config.debugging
|
|
351
349
|
@api_client.config.logger.debug "API called: AccountingApi#create_bank_transaction_history_record\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
352
350
|
end
|
|
@@ -357,7 +355,7 @@ module XeroRuby
|
|
|
357
355
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
358
356
|
# @param bank_transactions [BankTransactions] BankTransactions with an array of BankTransaction objects in body of request
|
|
359
357
|
# @param [Hash] opts the optional parameters
|
|
360
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
358
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
361
359
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
362
360
|
# @return [BankTransactions]
|
|
363
361
|
def create_bank_transactions(xero_tenant_id, bank_transactions, opts = {})
|
|
@@ -369,7 +367,7 @@ module XeroRuby
|
|
|
369
367
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
370
368
|
# @param bank_transactions [BankTransactions] BankTransactions with an array of BankTransaction objects in body of request
|
|
371
369
|
# @param [Hash] opts the optional parameters
|
|
372
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
370
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
373
371
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
374
372
|
# @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
|
|
375
373
|
def create_bank_transactions_with_http_info(xero_tenant_id, bank_transactions, opts = {})
|
|
@@ -428,7 +426,7 @@ module XeroRuby
|
|
|
428
426
|
:return_type => return_type
|
|
429
427
|
)
|
|
430
428
|
|
|
431
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
429
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
432
430
|
if @api_client.config.debugging
|
|
433
431
|
@api_client.config.logger.debug "API called: AccountingApi#create_bank_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
434
432
|
end
|
|
@@ -504,7 +502,7 @@ module XeroRuby
|
|
|
504
502
|
:return_type => return_type
|
|
505
503
|
)
|
|
506
504
|
|
|
507
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
505
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
508
506
|
if @api_client.config.debugging
|
|
509
507
|
@api_client.config.logger.debug "API called: AccountingApi#create_bank_transfer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
510
508
|
end
|
|
@@ -590,7 +588,7 @@ module XeroRuby
|
|
|
590
588
|
:return_type => return_type
|
|
591
589
|
)
|
|
592
590
|
|
|
593
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
591
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
594
592
|
if @api_client.config.debugging
|
|
595
593
|
@api_client.config.logger.debug "API called: AccountingApi#create_bank_transfer_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
596
594
|
end
|
|
@@ -670,7 +668,7 @@ module XeroRuby
|
|
|
670
668
|
:return_type => return_type
|
|
671
669
|
)
|
|
672
670
|
|
|
673
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
671
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
674
672
|
if @api_client.config.debugging
|
|
675
673
|
@api_client.config.logger.debug "API called: AccountingApi#create_bank_transfer_history_record\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
676
674
|
end
|
|
@@ -681,7 +679,7 @@ module XeroRuby
|
|
|
681
679
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
682
680
|
# @param batch_payments [BatchPayments] BatchPayments with an array of Payments in body of request
|
|
683
681
|
# @param [Hash] opts the optional parameters
|
|
684
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
682
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
685
683
|
# @return [BatchPayments]
|
|
686
684
|
def create_batch_payment(xero_tenant_id, batch_payments, opts = {})
|
|
687
685
|
data, _status_code, _headers = create_batch_payment_with_http_info(xero_tenant_id, batch_payments, opts)
|
|
@@ -692,7 +690,7 @@ module XeroRuby
|
|
|
692
690
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
693
691
|
# @param batch_payments [BatchPayments] BatchPayments with an array of Payments in body of request
|
|
694
692
|
# @param [Hash] opts the optional parameters
|
|
695
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
693
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
696
694
|
# @return [Array<(BatchPayments, Integer, Hash)>] BatchPayments data, response status code and response headers
|
|
697
695
|
def create_batch_payment_with_http_info(xero_tenant_id, batch_payments, opts = {})
|
|
698
696
|
if @api_client.config.debugging
|
|
@@ -749,7 +747,7 @@ module XeroRuby
|
|
|
749
747
|
:return_type => return_type
|
|
750
748
|
)
|
|
751
749
|
|
|
752
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
750
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
753
751
|
if @api_client.config.debugging
|
|
754
752
|
@api_client.config.logger.debug "API called: AccountingApi#create_batch_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
755
753
|
end
|
|
@@ -831,7 +829,7 @@ module XeroRuby
|
|
|
831
829
|
:return_type => return_type
|
|
832
830
|
)
|
|
833
831
|
|
|
834
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
832
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
835
833
|
if @api_client.config.debugging
|
|
836
834
|
@api_client.config.logger.debug "API called: AccountingApi#create_batch_payment_history_record\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
837
835
|
end
|
|
@@ -913,7 +911,7 @@ module XeroRuby
|
|
|
913
911
|
:return_type => return_type
|
|
914
912
|
)
|
|
915
913
|
|
|
916
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
914
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
917
915
|
if @api_client.config.debugging
|
|
918
916
|
@api_client.config.logger.debug "API called: AccountingApi#create_branding_theme_payment_services\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
919
917
|
end
|
|
@@ -999,7 +997,7 @@ module XeroRuby
|
|
|
999
997
|
:return_type => return_type
|
|
1000
998
|
)
|
|
1001
999
|
|
|
1002
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1000
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1003
1001
|
if @api_client.config.debugging
|
|
1004
1002
|
@api_client.config.logger.debug "API called: AccountingApi#create_contact_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1005
1003
|
end
|
|
@@ -1075,7 +1073,7 @@ module XeroRuby
|
|
|
1075
1073
|
:return_type => return_type
|
|
1076
1074
|
)
|
|
1077
1075
|
|
|
1078
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1076
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1079
1077
|
if @api_client.config.debugging
|
|
1080
1078
|
@api_client.config.logger.debug "API called: AccountingApi#create_contact_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1081
1079
|
end
|
|
@@ -1157,7 +1155,7 @@ module XeroRuby
|
|
|
1157
1155
|
:return_type => return_type
|
|
1158
1156
|
)
|
|
1159
1157
|
|
|
1160
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1158
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1161
1159
|
if @api_client.config.debugging
|
|
1162
1160
|
@api_client.config.logger.debug "API called: AccountingApi#create_contact_group_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1163
1161
|
end
|
|
@@ -1239,7 +1237,7 @@ module XeroRuby
|
|
|
1239
1237
|
:return_type => return_type
|
|
1240
1238
|
)
|
|
1241
1239
|
|
|
1242
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1240
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1243
1241
|
if @api_client.config.debugging
|
|
1244
1242
|
@api_client.config.logger.debug "API called: AccountingApi#create_contact_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1245
1243
|
end
|
|
@@ -1250,7 +1248,7 @@ module XeroRuby
|
|
|
1250
1248
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1251
1249
|
# @param contacts [Contacts] Contacts with an array of Contact objects to create in body of request
|
|
1252
1250
|
# @param [Hash] opts the optional parameters
|
|
1253
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1251
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
1254
1252
|
# @return [Contacts]
|
|
1255
1253
|
def create_contacts(xero_tenant_id, contacts, opts = {})
|
|
1256
1254
|
data, _status_code, _headers = create_contacts_with_http_info(xero_tenant_id, contacts, opts)
|
|
@@ -1261,7 +1259,7 @@ module XeroRuby
|
|
|
1261
1259
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1262
1260
|
# @param contacts [Contacts] Contacts with an array of Contact objects to create in body of request
|
|
1263
1261
|
# @param [Hash] opts the optional parameters
|
|
1264
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1262
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
1265
1263
|
# @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
|
|
1266
1264
|
def create_contacts_with_http_info(xero_tenant_id, contacts, opts = {})
|
|
1267
1265
|
if @api_client.config.debugging
|
|
@@ -1318,7 +1316,7 @@ module XeroRuby
|
|
|
1318
1316
|
:return_type => return_type
|
|
1319
1317
|
)
|
|
1320
1318
|
|
|
1321
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1319
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1322
1320
|
if @api_client.config.debugging
|
|
1323
1321
|
@api_client.config.logger.debug "API called: AccountingApi#create_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1324
1322
|
end
|
|
@@ -1330,7 +1328,7 @@ module XeroRuby
|
|
|
1330
1328
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1331
1329
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
|
1332
1330
|
# @param [Hash] opts the optional parameters
|
|
1333
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1331
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
1334
1332
|
# @return [Allocations]
|
|
1335
1333
|
def create_credit_note_allocation(xero_tenant_id, credit_note_id, allocations, opts = {})
|
|
1336
1334
|
data, _status_code, _headers = create_credit_note_allocation_with_http_info(xero_tenant_id, credit_note_id, allocations, opts)
|
|
@@ -1342,7 +1340,7 @@ module XeroRuby
|
|
|
1342
1340
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
|
1343
1341
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
|
1344
1342
|
# @param [Hash] opts the optional parameters
|
|
1345
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1343
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
1346
1344
|
# @return [Array<(Allocations, Integer, Hash)>] Allocations data, response status code and response headers
|
|
1347
1345
|
def create_credit_note_allocation_with_http_info(xero_tenant_id, credit_note_id, allocations, opts = {})
|
|
1348
1346
|
if @api_client.config.debugging
|
|
@@ -1403,7 +1401,7 @@ module XeroRuby
|
|
|
1403
1401
|
:return_type => return_type
|
|
1404
1402
|
)
|
|
1405
1403
|
|
|
1406
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1404
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1407
1405
|
if @api_client.config.debugging
|
|
1408
1406
|
@api_client.config.logger.debug "API called: AccountingApi#create_credit_note_allocation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1409
1407
|
end
|
|
@@ -1494,7 +1492,7 @@ module XeroRuby
|
|
|
1494
1492
|
:return_type => return_type
|
|
1495
1493
|
)
|
|
1496
1494
|
|
|
1497
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1495
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1498
1496
|
if @api_client.config.debugging
|
|
1499
1497
|
@api_client.config.logger.debug "API called: AccountingApi#create_credit_note_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1500
1498
|
end
|
|
@@ -1576,7 +1574,7 @@ module XeroRuby
|
|
|
1576
1574
|
:return_type => return_type
|
|
1577
1575
|
)
|
|
1578
1576
|
|
|
1579
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1577
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1580
1578
|
if @api_client.config.debugging
|
|
1581
1579
|
@api_client.config.logger.debug "API called: AccountingApi#create_credit_note_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1582
1580
|
end
|
|
@@ -1587,7 +1585,7 @@ module XeroRuby
|
|
|
1587
1585
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1588
1586
|
# @param credit_notes [CreditNotes] Credit Notes with array of CreditNote object in body of request
|
|
1589
1587
|
# @param [Hash] opts the optional parameters
|
|
1590
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1588
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
1591
1589
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
1592
1590
|
# @return [CreditNotes]
|
|
1593
1591
|
def create_credit_notes(xero_tenant_id, credit_notes, opts = {})
|
|
@@ -1599,7 +1597,7 @@ module XeroRuby
|
|
|
1599
1597
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1600
1598
|
# @param credit_notes [CreditNotes] Credit Notes with array of CreditNote object in body of request
|
|
1601
1599
|
# @param [Hash] opts the optional parameters
|
|
1602
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1600
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
1603
1601
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
1604
1602
|
# @return [Array<(CreditNotes, Integer, Hash)>] CreditNotes data, response status code and response headers
|
|
1605
1603
|
def create_credit_notes_with_http_info(xero_tenant_id, credit_notes, opts = {})
|
|
@@ -1658,7 +1656,7 @@ module XeroRuby
|
|
|
1658
1656
|
:return_type => return_type
|
|
1659
1657
|
)
|
|
1660
1658
|
|
|
1661
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1659
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1662
1660
|
if @api_client.config.debugging
|
|
1663
1661
|
@api_client.config.logger.debug "API called: AccountingApi#create_credit_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1664
1662
|
end
|
|
@@ -1732,7 +1730,7 @@ module XeroRuby
|
|
|
1732
1730
|
:return_type => return_type
|
|
1733
1731
|
)
|
|
1734
1732
|
|
|
1735
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1733
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1736
1734
|
if @api_client.config.debugging
|
|
1737
1735
|
@api_client.config.logger.debug "API called: AccountingApi#create_currency\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1738
1736
|
end
|
|
@@ -1743,7 +1741,7 @@ module XeroRuby
|
|
|
1743
1741
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1744
1742
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
1745
1743
|
# @param [Hash] opts the optional parameters
|
|
1746
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1744
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
1747
1745
|
# @return [Employees]
|
|
1748
1746
|
def create_employees(xero_tenant_id, employees, opts = {})
|
|
1749
1747
|
data, _status_code, _headers = create_employees_with_http_info(xero_tenant_id, employees, opts)
|
|
@@ -1754,7 +1752,7 @@ module XeroRuby
|
|
|
1754
1752
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
1755
1753
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
1756
1754
|
# @param [Hash] opts the optional parameters
|
|
1757
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
1755
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
1758
1756
|
# @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
|
|
1759
1757
|
def create_employees_with_http_info(xero_tenant_id, employees, opts = {})
|
|
1760
1758
|
if @api_client.config.debugging
|
|
@@ -1811,7 +1809,7 @@ module XeroRuby
|
|
|
1811
1809
|
:return_type => return_type
|
|
1812
1810
|
)
|
|
1813
1811
|
|
|
1814
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1812
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1815
1813
|
if @api_client.config.debugging
|
|
1816
1814
|
@api_client.config.logger.debug "API called: AccountingApi#create_employees\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1817
1815
|
end
|
|
@@ -1893,7 +1891,7 @@ module XeroRuby
|
|
|
1893
1891
|
:return_type => return_type
|
|
1894
1892
|
)
|
|
1895
1893
|
|
|
1896
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1894
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1897
1895
|
if @api_client.config.debugging
|
|
1898
1896
|
@api_client.config.logger.debug "API called: AccountingApi#create_expense_claim_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1899
1897
|
end
|
|
@@ -1969,7 +1967,7 @@ module XeroRuby
|
|
|
1969
1967
|
:return_type => return_type
|
|
1970
1968
|
)
|
|
1971
1969
|
|
|
1972
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1970
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
1973
1971
|
if @api_client.config.debugging
|
|
1974
1972
|
@api_client.config.logger.debug "API called: AccountingApi#create_expense_claims\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1975
1973
|
end
|
|
@@ -2060,7 +2058,7 @@ module XeroRuby
|
|
|
2060
2058
|
:return_type => return_type
|
|
2061
2059
|
)
|
|
2062
2060
|
|
|
2063
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2061
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2064
2062
|
if @api_client.config.debugging
|
|
2065
2063
|
@api_client.config.logger.debug "API called: AccountingApi#create_invoice_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2066
2064
|
end
|
|
@@ -2142,7 +2140,7 @@ module XeroRuby
|
|
|
2142
2140
|
:return_type => return_type
|
|
2143
2141
|
)
|
|
2144
2142
|
|
|
2145
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2143
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2146
2144
|
if @api_client.config.debugging
|
|
2147
2145
|
@api_client.config.logger.debug "API called: AccountingApi#create_invoice_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2148
2146
|
end
|
|
@@ -2153,7 +2151,7 @@ module XeroRuby
|
|
|
2153
2151
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2154
2152
|
# @param invoices [Invoices] Invoices with an array of invoice objects in body of request
|
|
2155
2153
|
# @param [Hash] opts the optional parameters
|
|
2156
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2154
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
2157
2155
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2158
2156
|
# @return [Invoices]
|
|
2159
2157
|
def create_invoices(xero_tenant_id, invoices, opts = {})
|
|
@@ -2165,7 +2163,7 @@ module XeroRuby
|
|
|
2165
2163
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2166
2164
|
# @param invoices [Invoices] Invoices with an array of invoice objects in body of request
|
|
2167
2165
|
# @param [Hash] opts the optional parameters
|
|
2168
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2166
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
2169
2167
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2170
2168
|
# @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
|
|
2171
2169
|
def create_invoices_with_http_info(xero_tenant_id, invoices, opts = {})
|
|
@@ -2224,7 +2222,7 @@ module XeroRuby
|
|
|
2224
2222
|
:return_type => return_type
|
|
2225
2223
|
)
|
|
2226
2224
|
|
|
2227
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2225
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2228
2226
|
if @api_client.config.debugging
|
|
2229
2227
|
@api_client.config.logger.debug "API called: AccountingApi#create_invoices\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2230
2228
|
end
|
|
@@ -2306,7 +2304,7 @@ module XeroRuby
|
|
|
2306
2304
|
:return_type => return_type
|
|
2307
2305
|
)
|
|
2308
2306
|
|
|
2309
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2307
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2310
2308
|
if @api_client.config.debugging
|
|
2311
2309
|
@api_client.config.logger.debug "API called: AccountingApi#create_item_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2312
2310
|
end
|
|
@@ -2317,7 +2315,7 @@ module XeroRuby
|
|
|
2317
2315
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2318
2316
|
# @param items [Items] Items with an array of Item objects in body of request
|
|
2319
2317
|
# @param [Hash] opts the optional parameters
|
|
2320
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2318
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
2321
2319
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2322
2320
|
# @return [Items]
|
|
2323
2321
|
def create_items(xero_tenant_id, items, opts = {})
|
|
@@ -2329,7 +2327,7 @@ module XeroRuby
|
|
|
2329
2327
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2330
2328
|
# @param items [Items] Items with an array of Item objects in body of request
|
|
2331
2329
|
# @param [Hash] opts the optional parameters
|
|
2332
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2330
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
2333
2331
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2334
2332
|
# @return [Array<(Items, Integer, Hash)>] Items data, response status code and response headers
|
|
2335
2333
|
def create_items_with_http_info(xero_tenant_id, items, opts = {})
|
|
@@ -2388,7 +2386,7 @@ module XeroRuby
|
|
|
2388
2386
|
:return_type => return_type
|
|
2389
2387
|
)
|
|
2390
2388
|
|
|
2391
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2389
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2392
2390
|
if @api_client.config.debugging
|
|
2393
2391
|
@api_client.config.logger.debug "API called: AccountingApi#create_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2394
2392
|
end
|
|
@@ -2464,7 +2462,7 @@ module XeroRuby
|
|
|
2464
2462
|
:return_type => return_type
|
|
2465
2463
|
)
|
|
2466
2464
|
|
|
2467
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2465
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2468
2466
|
if @api_client.config.debugging
|
|
2469
2467
|
@api_client.config.logger.debug "API called: AccountingApi#create_linked_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2470
2468
|
end
|
|
@@ -2552,18 +2550,100 @@ module XeroRuby
|
|
|
2552
2550
|
:return_type => return_type
|
|
2553
2551
|
)
|
|
2554
2552
|
|
|
2555
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2553
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2556
2554
|
if @api_client.config.debugging
|
|
2557
2555
|
@api_client.config.logger.debug "API called: AccountingApi#create_manual_journal_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2558
2556
|
end
|
|
2559
2557
|
return data, status_code, headers
|
|
2560
2558
|
end
|
|
2561
2559
|
|
|
2560
|
+
# Allows you to create history record for a manual journal
|
|
2561
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2562
|
+
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
2563
|
+
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
2564
|
+
# @param [Hash] opts the optional parameters
|
|
2565
|
+
# @return [HistoryRecords]
|
|
2566
|
+
def create_manual_journal_history_record(xero_tenant_id, manual_journal_id, history_records, opts = {})
|
|
2567
|
+
data, _status_code, _headers = create_manual_journal_history_record_with_http_info(xero_tenant_id, manual_journal_id, history_records, opts)
|
|
2568
|
+
data
|
|
2569
|
+
end
|
|
2570
|
+
|
|
2571
|
+
# Allows you to create history record for a manual journal
|
|
2572
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2573
|
+
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
2574
|
+
# @param history_records [HistoryRecords] HistoryRecords containing an array of HistoryRecord objects in body of request
|
|
2575
|
+
# @param [Hash] opts the optional parameters
|
|
2576
|
+
# @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
|
|
2577
|
+
def create_manual_journal_history_record_with_http_info(xero_tenant_id, manual_journal_id, history_records, opts = {})
|
|
2578
|
+
if @api_client.config.debugging
|
|
2579
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.create_manual_journal_history_record ...'
|
|
2580
|
+
end
|
|
2581
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
2582
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
2583
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.create_manual_journal_history_record"
|
|
2584
|
+
end
|
|
2585
|
+
# verify the required parameter 'manual_journal_id' is set
|
|
2586
|
+
if @api_client.config.client_side_validation && manual_journal_id.nil?
|
|
2587
|
+
fail ArgumentError, "Missing the required parameter 'manual_journal_id' when calling AccountingApi.create_manual_journal_history_record"
|
|
2588
|
+
end
|
|
2589
|
+
# verify the required parameter 'history_records' is set
|
|
2590
|
+
if @api_client.config.client_side_validation && history_records.nil?
|
|
2591
|
+
fail ArgumentError, "Missing the required parameter 'history_records' when calling AccountingApi.create_manual_journal_history_record"
|
|
2592
|
+
end
|
|
2593
|
+
# resource path
|
|
2594
|
+
local_var_path = '/ManualJournals/{ManualJournalID}/History'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
|
|
2595
|
+
|
|
2596
|
+
# camelize keys of incoming `where` opts
|
|
2597
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
2598
|
+
|
|
2599
|
+
# query parameters
|
|
2600
|
+
query_params = opts[:query_params] || {}
|
|
2601
|
+
|
|
2602
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
2603
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
2604
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
2605
|
+
|
|
2606
|
+
# header parameters
|
|
2607
|
+
header_params = opts[:header_params] || {}
|
|
2608
|
+
# HTTP header 'Accept' (if needed)
|
|
2609
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2610
|
+
# HTTP header 'Content-Type'
|
|
2611
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
2612
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
2613
|
+
|
|
2614
|
+
# form parameters
|
|
2615
|
+
form_params = opts[:form_params] || {}
|
|
2616
|
+
|
|
2617
|
+
# http body (model)
|
|
2618
|
+
post_body = opts[:body] || @api_client.object_to_http_body(history_records)
|
|
2619
|
+
|
|
2620
|
+
# return_type
|
|
2621
|
+
return_type = opts[:return_type] || 'HistoryRecords'
|
|
2622
|
+
|
|
2623
|
+
# auth_names
|
|
2624
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
2625
|
+
|
|
2626
|
+
new_options = opts.merge(
|
|
2627
|
+
:header_params => header_params,
|
|
2628
|
+
:query_params => query_params,
|
|
2629
|
+
:form_params => form_params,
|
|
2630
|
+
:body => post_body,
|
|
2631
|
+
:auth_names => auth_names,
|
|
2632
|
+
:return_type => return_type
|
|
2633
|
+
)
|
|
2634
|
+
|
|
2635
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2636
|
+
if @api_client.config.debugging
|
|
2637
|
+
@api_client.config.logger.debug "API called: AccountingApi#create_manual_journal_history_record\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2638
|
+
end
|
|
2639
|
+
return data, status_code, headers
|
|
2640
|
+
end
|
|
2641
|
+
|
|
2562
2642
|
# Allows you to create one or more manual journals
|
|
2563
2643
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2564
2644
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
2565
2645
|
# @param [Hash] opts the optional parameters
|
|
2566
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2646
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
2567
2647
|
# @return [ManualJournals]
|
|
2568
2648
|
def create_manual_journals(xero_tenant_id, manual_journals, opts = {})
|
|
2569
2649
|
data, _status_code, _headers = create_manual_journals_with_http_info(xero_tenant_id, manual_journals, opts)
|
|
@@ -2574,7 +2654,7 @@ module XeroRuby
|
|
|
2574
2654
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
2575
2655
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
2576
2656
|
# @param [Hash] opts the optional parameters
|
|
2577
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2657
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
2578
2658
|
# @return [Array<(ManualJournals, Integer, Hash)>] ManualJournals data, response status code and response headers
|
|
2579
2659
|
def create_manual_journals_with_http_info(xero_tenant_id, manual_journals, opts = {})
|
|
2580
2660
|
if @api_client.config.debugging
|
|
@@ -2631,7 +2711,7 @@ module XeroRuby
|
|
|
2631
2711
|
:return_type => return_type
|
|
2632
2712
|
)
|
|
2633
2713
|
|
|
2634
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2714
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2635
2715
|
if @api_client.config.debugging
|
|
2636
2716
|
@api_client.config.logger.debug "API called: AccountingApi#create_manual_journals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2637
2717
|
end
|
|
@@ -2643,7 +2723,7 @@ module XeroRuby
|
|
|
2643
2723
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2644
2724
|
# @param allocations [Allocations] Allocations array with Allocation object in body of request
|
|
2645
2725
|
# @param [Hash] opts the optional parameters
|
|
2646
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2726
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
2647
2727
|
# @return [Allocations]
|
|
2648
2728
|
def create_overpayment_allocations(xero_tenant_id, overpayment_id, allocations, opts = {})
|
|
2649
2729
|
data, _status_code, _headers = create_overpayment_allocations_with_http_info(xero_tenant_id, overpayment_id, allocations, opts)
|
|
@@ -2655,7 +2735,7 @@ module XeroRuby
|
|
|
2655
2735
|
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
2656
2736
|
# @param allocations [Allocations] Allocations array with Allocation object in body of request
|
|
2657
2737
|
# @param [Hash] opts the optional parameters
|
|
2658
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
2738
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
2659
2739
|
# @return [Array<(Allocations, Integer, Hash)>] Allocations data, response status code and response headers
|
|
2660
2740
|
def create_overpayment_allocations_with_http_info(xero_tenant_id, overpayment_id, allocations, opts = {})
|
|
2661
2741
|
if @api_client.config.debugging
|
|
@@ -2716,7 +2796,7 @@ module XeroRuby
|
|
|
2716
2796
|
:return_type => return_type
|
|
2717
2797
|
)
|
|
2718
2798
|
|
|
2719
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2799
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2720
2800
|
if @api_client.config.debugging
|
|
2721
2801
|
@api_client.config.logger.debug "API called: AccountingApi#create_overpayment_allocations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2722
2802
|
end
|
|
@@ -2798,7 +2878,7 @@ module XeroRuby
|
|
|
2798
2878
|
:return_type => return_type
|
|
2799
2879
|
)
|
|
2800
2880
|
|
|
2801
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2881
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2802
2882
|
if @api_client.config.debugging
|
|
2803
2883
|
@api_client.config.logger.debug "API called: AccountingApi#create_overpayment_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2804
2884
|
end
|
|
@@ -2874,7 +2954,7 @@ module XeroRuby
|
|
|
2874
2954
|
:return_type => return_type
|
|
2875
2955
|
)
|
|
2876
2956
|
|
|
2877
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2957
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
2878
2958
|
if @api_client.config.debugging
|
|
2879
2959
|
@api_client.config.logger.debug "API called: AccountingApi#create_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2880
2960
|
end
|
|
@@ -2956,7 +3036,7 @@ module XeroRuby
|
|
|
2956
3036
|
:return_type => return_type
|
|
2957
3037
|
)
|
|
2958
3038
|
|
|
2959
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3039
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
2960
3040
|
if @api_client.config.debugging
|
|
2961
3041
|
@api_client.config.logger.debug "API called: AccountingApi#create_payment_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2962
3042
|
end
|
|
@@ -3032,7 +3112,7 @@ module XeroRuby
|
|
|
3032
3112
|
:return_type => return_type
|
|
3033
3113
|
)
|
|
3034
3114
|
|
|
3035
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3115
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3036
3116
|
if @api_client.config.debugging
|
|
3037
3117
|
@api_client.config.logger.debug "API called: AccountingApi#create_payment_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3038
3118
|
end
|
|
@@ -3043,7 +3123,7 @@ module XeroRuby
|
|
|
3043
3123
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3044
3124
|
# @param payments [Payments] Payments array with Payment object in body of request
|
|
3045
3125
|
# @param [Hash] opts the optional parameters
|
|
3046
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3126
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
3047
3127
|
# @return [Payments]
|
|
3048
3128
|
def create_payments(xero_tenant_id, payments, opts = {})
|
|
3049
3129
|
data, _status_code, _headers = create_payments_with_http_info(xero_tenant_id, payments, opts)
|
|
@@ -3054,7 +3134,7 @@ module XeroRuby
|
|
|
3054
3134
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3055
3135
|
# @param payments [Payments] Payments array with Payment object in body of request
|
|
3056
3136
|
# @param [Hash] opts the optional parameters
|
|
3057
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3137
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3058
3138
|
# @return [Array<(Payments, Integer, Hash)>] Payments data, response status code and response headers
|
|
3059
3139
|
def create_payments_with_http_info(xero_tenant_id, payments, opts = {})
|
|
3060
3140
|
if @api_client.config.debugging
|
|
@@ -3111,7 +3191,7 @@ module XeroRuby
|
|
|
3111
3191
|
:return_type => return_type
|
|
3112
3192
|
)
|
|
3113
3193
|
|
|
3114
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3194
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3115
3195
|
if @api_client.config.debugging
|
|
3116
3196
|
@api_client.config.logger.debug "API called: AccountingApi#create_payments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3117
3197
|
end
|
|
@@ -3123,7 +3203,7 @@ module XeroRuby
|
|
|
3123
3203
|
# @param prepayment_id [String] Unique identifier for Prepayment
|
|
3124
3204
|
# @param allocations [Allocations] Allocations with an array of Allocation object in body of request
|
|
3125
3205
|
# @param [Hash] opts the optional parameters
|
|
3126
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3206
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
3127
3207
|
# @return [Allocations]
|
|
3128
3208
|
def create_prepayment_allocations(xero_tenant_id, prepayment_id, allocations, opts = {})
|
|
3129
3209
|
data, _status_code, _headers = create_prepayment_allocations_with_http_info(xero_tenant_id, prepayment_id, allocations, opts)
|
|
@@ -3135,7 +3215,7 @@ module XeroRuby
|
|
|
3135
3215
|
# @param prepayment_id [String] Unique identifier for Prepayment
|
|
3136
3216
|
# @param allocations [Allocations] Allocations with an array of Allocation object in body of request
|
|
3137
3217
|
# @param [Hash] opts the optional parameters
|
|
3138
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3218
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3139
3219
|
# @return [Array<(Allocations, Integer, Hash)>] Allocations data, response status code and response headers
|
|
3140
3220
|
def create_prepayment_allocations_with_http_info(xero_tenant_id, prepayment_id, allocations, opts = {})
|
|
3141
3221
|
if @api_client.config.debugging
|
|
@@ -3196,7 +3276,7 @@ module XeroRuby
|
|
|
3196
3276
|
:return_type => return_type
|
|
3197
3277
|
)
|
|
3198
3278
|
|
|
3199
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3279
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3200
3280
|
if @api_client.config.debugging
|
|
3201
3281
|
@api_client.config.logger.debug "API called: AccountingApi#create_prepayment_allocations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3202
3282
|
end
|
|
@@ -3278,13 +3358,101 @@ module XeroRuby
|
|
|
3278
3358
|
:return_type => return_type
|
|
3279
3359
|
)
|
|
3280
3360
|
|
|
3281
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3361
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3282
3362
|
if @api_client.config.debugging
|
|
3283
3363
|
@api_client.config.logger.debug "API called: AccountingApi#create_prepayment_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3284
3364
|
end
|
|
3285
3365
|
return data, status_code, headers
|
|
3286
3366
|
end
|
|
3287
3367
|
|
|
3368
|
+
# Allows you to create Attachment on Purchase Order
|
|
3369
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3370
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
3371
|
+
# @param file_name [String] Name of the attachment
|
|
3372
|
+
# @param body [String] Byte array of file in body of request
|
|
3373
|
+
# @param [Hash] opts the optional parameters
|
|
3374
|
+
# @return [Attachments]
|
|
3375
|
+
def create_purchase_order_attachment_by_file_name(xero_tenant_id, purchase_order_id, file_name, body, opts = {})
|
|
3376
|
+
data, _status_code, _headers = create_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, opts)
|
|
3377
|
+
data
|
|
3378
|
+
end
|
|
3379
|
+
|
|
3380
|
+
# Allows you to create Attachment on Purchase Order
|
|
3381
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3382
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
3383
|
+
# @param file_name [String] Name of the attachment
|
|
3384
|
+
# @param body [String] Byte array of file in body of request
|
|
3385
|
+
# @param [Hash] opts the optional parameters
|
|
3386
|
+
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
3387
|
+
def create_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, opts = {})
|
|
3388
|
+
if @api_client.config.debugging
|
|
3389
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.create_purchase_order_attachment_by_file_name ...'
|
|
3390
|
+
end
|
|
3391
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
3392
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
3393
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.create_purchase_order_attachment_by_file_name"
|
|
3394
|
+
end
|
|
3395
|
+
# verify the required parameter 'purchase_order_id' is set
|
|
3396
|
+
if @api_client.config.client_side_validation && purchase_order_id.nil?
|
|
3397
|
+
fail ArgumentError, "Missing the required parameter 'purchase_order_id' when calling AccountingApi.create_purchase_order_attachment_by_file_name"
|
|
3398
|
+
end
|
|
3399
|
+
# verify the required parameter 'file_name' is set
|
|
3400
|
+
if @api_client.config.client_side_validation && file_name.nil?
|
|
3401
|
+
fail ArgumentError, "Missing the required parameter 'file_name' when calling AccountingApi.create_purchase_order_attachment_by_file_name"
|
|
3402
|
+
end
|
|
3403
|
+
# verify the required parameter 'body' is set
|
|
3404
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
3405
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AccountingApi.create_purchase_order_attachment_by_file_name"
|
|
3406
|
+
end
|
|
3407
|
+
# resource path
|
|
3408
|
+
local_var_path = '/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
|
3409
|
+
|
|
3410
|
+
# camelize keys of incoming `where` opts
|
|
3411
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
3412
|
+
|
|
3413
|
+
# query parameters
|
|
3414
|
+
query_params = opts[:query_params] || {}
|
|
3415
|
+
|
|
3416
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
3417
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
3418
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
3419
|
+
|
|
3420
|
+
# header parameters
|
|
3421
|
+
header_params = opts[:header_params] || {}
|
|
3422
|
+
# HTTP header 'Accept' (if needed)
|
|
3423
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3424
|
+
# HTTP header 'Content-Type'
|
|
3425
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
|
|
3426
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
3427
|
+
|
|
3428
|
+
# form parameters
|
|
3429
|
+
form_params = opts[:form_params] || {}
|
|
3430
|
+
|
|
3431
|
+
# http body (model)
|
|
3432
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
3433
|
+
|
|
3434
|
+
# return_type
|
|
3435
|
+
return_type = opts[:return_type] || 'Attachments'
|
|
3436
|
+
|
|
3437
|
+
# auth_names
|
|
3438
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
3439
|
+
|
|
3440
|
+
new_options = opts.merge(
|
|
3441
|
+
:header_params => header_params,
|
|
3442
|
+
:query_params => query_params,
|
|
3443
|
+
:form_params => form_params,
|
|
3444
|
+
:body => post_body,
|
|
3445
|
+
:auth_names => auth_names,
|
|
3446
|
+
:return_type => return_type
|
|
3447
|
+
)
|
|
3448
|
+
|
|
3449
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3450
|
+
if @api_client.config.debugging
|
|
3451
|
+
@api_client.config.logger.debug "API called: AccountingApi#create_purchase_order_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3452
|
+
end
|
|
3453
|
+
return data, status_code, headers
|
|
3454
|
+
end
|
|
3455
|
+
|
|
3288
3456
|
# Allows you to create HistoryRecord for purchase orders
|
|
3289
3457
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3290
3458
|
# @param purchase_order_id [String] Unique identifier for a PurchaseOrder
|
|
@@ -3360,7 +3528,7 @@ module XeroRuby
|
|
|
3360
3528
|
:return_type => return_type
|
|
3361
3529
|
)
|
|
3362
3530
|
|
|
3363
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3531
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3364
3532
|
if @api_client.config.debugging
|
|
3365
3533
|
@api_client.config.logger.debug "API called: AccountingApi#create_purchase_order_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3366
3534
|
end
|
|
@@ -3371,7 +3539,7 @@ module XeroRuby
|
|
|
3371
3539
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3372
3540
|
# @param purchase_orders [PurchaseOrders] PurchaseOrders with an array of PurchaseOrder object in body of request
|
|
3373
3541
|
# @param [Hash] opts the optional parameters
|
|
3374
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3542
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
3375
3543
|
# @return [PurchaseOrders]
|
|
3376
3544
|
def create_purchase_orders(xero_tenant_id, purchase_orders, opts = {})
|
|
3377
3545
|
data, _status_code, _headers = create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, opts)
|
|
@@ -3382,7 +3550,7 @@ module XeroRuby
|
|
|
3382
3550
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3383
3551
|
# @param purchase_orders [PurchaseOrders] PurchaseOrders with an array of PurchaseOrder object in body of request
|
|
3384
3552
|
# @param [Hash] opts the optional parameters
|
|
3385
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3553
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3386
3554
|
# @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
|
|
3387
3555
|
def create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, opts = {})
|
|
3388
3556
|
if @api_client.config.debugging
|
|
@@ -3439,7 +3607,7 @@ module XeroRuby
|
|
|
3439
3607
|
:return_type => return_type
|
|
3440
3608
|
)
|
|
3441
3609
|
|
|
3442
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3610
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3443
3611
|
if @api_client.config.debugging
|
|
3444
3612
|
@api_client.config.logger.debug "API called: AccountingApi#create_purchase_orders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3445
3613
|
end
|
|
@@ -3527,7 +3695,7 @@ module XeroRuby
|
|
|
3527
3695
|
:return_type => return_type
|
|
3528
3696
|
)
|
|
3529
3697
|
|
|
3530
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3698
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3531
3699
|
if @api_client.config.debugging
|
|
3532
3700
|
@api_client.config.logger.debug "API called: AccountingApi#create_quote_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3533
3701
|
end
|
|
@@ -3609,7 +3777,7 @@ module XeroRuby
|
|
|
3609
3777
|
:return_type => return_type
|
|
3610
3778
|
)
|
|
3611
3779
|
|
|
3612
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3780
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3613
3781
|
if @api_client.config.debugging
|
|
3614
3782
|
@api_client.config.logger.debug "API called: AccountingApi#create_quote_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3615
3783
|
end
|
|
@@ -3620,7 +3788,7 @@ module XeroRuby
|
|
|
3620
3788
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3621
3789
|
# @param quotes [Quotes] Quotes with an array of Quote object in body of request
|
|
3622
3790
|
# @param [Hash] opts the optional parameters
|
|
3623
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3791
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
3624
3792
|
# @return [Quotes]
|
|
3625
3793
|
def create_quotes(xero_tenant_id, quotes, opts = {})
|
|
3626
3794
|
data, _status_code, _headers = create_quotes_with_http_info(xero_tenant_id, quotes, opts)
|
|
@@ -3631,7 +3799,7 @@ module XeroRuby
|
|
|
3631
3799
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
3632
3800
|
# @param quotes [Quotes] Quotes with an array of Quote object in body of request
|
|
3633
3801
|
# @param [Hash] opts the optional parameters
|
|
3634
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
3802
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3635
3803
|
# @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
|
|
3636
3804
|
def create_quotes_with_http_info(xero_tenant_id, quotes, opts = {})
|
|
3637
3805
|
if @api_client.config.debugging
|
|
@@ -3688,7 +3856,7 @@ module XeroRuby
|
|
|
3688
3856
|
:return_type => return_type
|
|
3689
3857
|
)
|
|
3690
3858
|
|
|
3691
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3859
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3692
3860
|
if @api_client.config.debugging
|
|
3693
3861
|
@api_client.config.logger.debug "API called: AccountingApi#create_quotes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3694
3862
|
end
|
|
@@ -3767,7 +3935,7 @@ module XeroRuby
|
|
|
3767
3935
|
:return_type => return_type
|
|
3768
3936
|
)
|
|
3769
3937
|
|
|
3770
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3938
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3771
3939
|
if @api_client.config.debugging
|
|
3772
3940
|
@api_client.config.logger.debug "API called: AccountingApi#create_receipt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3773
3941
|
end
|
|
@@ -3855,7 +4023,7 @@ module XeroRuby
|
|
|
3855
4023
|
:return_type => return_type
|
|
3856
4024
|
)
|
|
3857
4025
|
|
|
3858
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
4026
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3859
4027
|
if @api_client.config.debugging
|
|
3860
4028
|
@api_client.config.logger.debug "API called: AccountingApi#create_receipt_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3861
4029
|
end
|
|
@@ -3937,7 +4105,7 @@ module XeroRuby
|
|
|
3937
4105
|
:return_type => return_type
|
|
3938
4106
|
)
|
|
3939
4107
|
|
|
3940
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
4108
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
3941
4109
|
if @api_client.config.debugging
|
|
3942
4110
|
@api_client.config.logger.debug "API called: AccountingApi#create_receipt_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3943
4111
|
end
|
|
@@ -4025,7 +4193,7 @@ module XeroRuby
|
|
|
4025
4193
|
:return_type => return_type
|
|
4026
4194
|
)
|
|
4027
4195
|
|
|
4028
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
4196
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
4029
4197
|
if @api_client.config.debugging
|
|
4030
4198
|
@api_client.config.logger.debug "API called: AccountingApi#create_repeating_invoice_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4031
4199
|
end
|
|
@@ -4107,7 +4275,7 @@ module XeroRuby
|
|
|
4107
4275
|
:return_type => return_type
|
|
4108
4276
|
)
|
|
4109
4277
|
|
|
4110
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
4278
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
4111
4279
|
if @api_client.config.debugging
|
|
4112
4280
|
@api_client.config.logger.debug "API called: AccountingApi#create_repeating_invoice_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4113
4281
|
end
|
|
@@ -4183,7 +4351,7 @@ module XeroRuby
|
|
|
4183
4351
|
:return_type => return_type
|
|
4184
4352
|
)
|
|
4185
4353
|
|
|
4186
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
4354
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
4187
4355
|
if @api_client.config.debugging
|
|
4188
4356
|
@api_client.config.logger.debug "API called: AccountingApi#create_tax_rates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4189
4357
|
end
|
|
@@ -4259,7 +4427,7 @@ module XeroRuby
|
|
|
4259
4427
|
:return_type => return_type
|
|
4260
4428
|
)
|
|
4261
4429
|
|
|
4262
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
4430
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
4263
4431
|
if @api_client.config.debugging
|
|
4264
4432
|
@api_client.config.logger.debug "API called: AccountingApi#create_tracking_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4265
4433
|
end
|
|
@@ -4341,7 +4509,7 @@ module XeroRuby
|
|
|
4341
4509
|
:return_type => return_type
|
|
4342
4510
|
)
|
|
4343
4511
|
|
|
4344
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
4512
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AccountingApi", new_options)
|
|
4345
4513
|
if @api_client.config.debugging
|
|
4346
4514
|
@api_client.config.logger.debug "API called: AccountingApi#create_tracking_options\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4347
4515
|
end
|
|
@@ -4415,7 +4583,7 @@ module XeroRuby
|
|
|
4415
4583
|
:return_type => return_type
|
|
4416
4584
|
)
|
|
4417
4585
|
|
|
4418
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
4586
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "AccountingApi", new_options)
|
|
4419
4587
|
if @api_client.config.debugging
|
|
4420
4588
|
@api_client.config.logger.debug "API called: AccountingApi#delete_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4421
4589
|
end
|
|
@@ -4495,7 +4663,7 @@ module XeroRuby
|
|
|
4495
4663
|
:return_type => return_type
|
|
4496
4664
|
)
|
|
4497
4665
|
|
|
4498
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
4666
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "AccountingApi", new_options)
|
|
4499
4667
|
if @api_client.config.debugging
|
|
4500
4668
|
@api_client.config.logger.debug "API called: AccountingApi#delete_contact_group_contact\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4501
4669
|
end
|
|
@@ -4567,7 +4735,7 @@ module XeroRuby
|
|
|
4567
4735
|
:return_type => return_type
|
|
4568
4736
|
)
|
|
4569
4737
|
|
|
4570
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
4738
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "AccountingApi", new_options)
|
|
4571
4739
|
if @api_client.config.debugging
|
|
4572
4740
|
@api_client.config.logger.debug "API called: AccountingApi#delete_contact_group_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4573
4741
|
end
|
|
@@ -4641,7 +4809,7 @@ module XeroRuby
|
|
|
4641
4809
|
:return_type => return_type
|
|
4642
4810
|
)
|
|
4643
4811
|
|
|
4644
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
4812
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "AccountingApi", new_options)
|
|
4645
4813
|
if @api_client.config.debugging
|
|
4646
4814
|
@api_client.config.logger.debug "API called: AccountingApi#delete_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4647
4815
|
end
|
|
@@ -4715,7 +4883,7 @@ module XeroRuby
|
|
|
4715
4883
|
:return_type => return_type
|
|
4716
4884
|
)
|
|
4717
4885
|
|
|
4718
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
4886
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "AccountingApi", new_options)
|
|
4719
4887
|
if @api_client.config.debugging
|
|
4720
4888
|
@api_client.config.logger.debug "API called: AccountingApi#delete_linked_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4721
4889
|
end
|
|
@@ -4797,7 +4965,7 @@ module XeroRuby
|
|
|
4797
4965
|
:return_type => return_type
|
|
4798
4966
|
)
|
|
4799
4967
|
|
|
4800
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
4968
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
4801
4969
|
if @api_client.config.debugging
|
|
4802
4970
|
@api_client.config.logger.debug "API called: AccountingApi#delete_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4803
4971
|
end
|
|
@@ -4871,7 +5039,7 @@ module XeroRuby
|
|
|
4871
5039
|
:return_type => return_type
|
|
4872
5040
|
)
|
|
4873
5041
|
|
|
4874
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
5042
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "AccountingApi", new_options)
|
|
4875
5043
|
if @api_client.config.debugging
|
|
4876
5044
|
@api_client.config.logger.debug "API called: AccountingApi#delete_tracking_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4877
5045
|
end
|
|
@@ -4951,7 +5119,7 @@ module XeroRuby
|
|
|
4951
5119
|
:return_type => return_type
|
|
4952
5120
|
)
|
|
4953
5121
|
|
|
4954
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
5122
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "AccountingApi", new_options)
|
|
4955
5123
|
if @api_client.config.debugging
|
|
4956
5124
|
@api_client.config.logger.debug "API called: AccountingApi#delete_tracking_options\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4957
5125
|
end
|
|
@@ -5033,7 +5201,7 @@ module XeroRuby
|
|
|
5033
5201
|
:return_type => return_type
|
|
5034
5202
|
)
|
|
5035
5203
|
|
|
5036
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5204
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
5037
5205
|
if @api_client.config.debugging
|
|
5038
5206
|
@api_client.config.logger.debug "API called: AccountingApi#email_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5039
5207
|
end
|
|
@@ -5107,7 +5275,7 @@ module XeroRuby
|
|
|
5107
5275
|
:return_type => return_type
|
|
5108
5276
|
)
|
|
5109
5277
|
|
|
5110
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5278
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5111
5279
|
if @api_client.config.debugging
|
|
5112
5280
|
@api_client.config.logger.debug "API called: AccountingApi#get_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5113
5281
|
end
|
|
@@ -5194,7 +5362,7 @@ module XeroRuby
|
|
|
5194
5362
|
:return_type => return_type
|
|
5195
5363
|
)
|
|
5196
5364
|
|
|
5197
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5365
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5198
5366
|
if @api_client.config.debugging
|
|
5199
5367
|
@api_client.config.logger.debug "API called: AccountingApi#get_account_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5200
5368
|
end
|
|
@@ -5281,7 +5449,7 @@ module XeroRuby
|
|
|
5281
5449
|
:return_type => return_type
|
|
5282
5450
|
)
|
|
5283
5451
|
|
|
5284
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5452
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5285
5453
|
if @api_client.config.debugging
|
|
5286
5454
|
@api_client.config.logger.debug "API called: AccountingApi#get_account_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5287
5455
|
end
|
|
@@ -5355,7 +5523,7 @@ module XeroRuby
|
|
|
5355
5523
|
:return_type => return_type
|
|
5356
5524
|
)
|
|
5357
5525
|
|
|
5358
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5526
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5359
5527
|
if @api_client.config.debugging
|
|
5360
5528
|
@api_client.config.logger.debug "API called: AccountingApi#get_account_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5361
5529
|
end
|
|
@@ -5432,7 +5600,7 @@ module XeroRuby
|
|
|
5432
5600
|
:return_type => return_type
|
|
5433
5601
|
)
|
|
5434
5602
|
|
|
5435
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5603
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5436
5604
|
if @api_client.config.debugging
|
|
5437
5605
|
@api_client.config.logger.debug "API called: AccountingApi#get_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5438
5606
|
end
|
|
@@ -5509,7 +5677,7 @@ module XeroRuby
|
|
|
5509
5677
|
:return_type => return_type
|
|
5510
5678
|
)
|
|
5511
5679
|
|
|
5512
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5680
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5513
5681
|
if @api_client.config.debugging
|
|
5514
5682
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5515
5683
|
end
|
|
@@ -5596,7 +5764,7 @@ module XeroRuby
|
|
|
5596
5764
|
:return_type => return_type
|
|
5597
5765
|
)
|
|
5598
5766
|
|
|
5599
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5767
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5600
5768
|
if @api_client.config.debugging
|
|
5601
5769
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transaction_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5602
5770
|
end
|
|
@@ -5683,7 +5851,7 @@ module XeroRuby
|
|
|
5683
5851
|
:return_type => return_type
|
|
5684
5852
|
)
|
|
5685
5853
|
|
|
5686
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5854
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5687
5855
|
if @api_client.config.debugging
|
|
5688
5856
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transaction_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5689
5857
|
end
|
|
@@ -5757,7 +5925,7 @@ module XeroRuby
|
|
|
5757
5925
|
:return_type => return_type
|
|
5758
5926
|
)
|
|
5759
5927
|
|
|
5760
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5928
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5761
5929
|
if @api_client.config.debugging
|
|
5762
5930
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transaction_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5763
5931
|
end
|
|
@@ -5840,7 +6008,7 @@ module XeroRuby
|
|
|
5840
6008
|
:return_type => return_type
|
|
5841
6009
|
)
|
|
5842
6010
|
|
|
5843
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6011
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5844
6012
|
if @api_client.config.debugging
|
|
5845
6013
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5846
6014
|
end
|
|
@@ -5914,7 +6082,7 @@ module XeroRuby
|
|
|
5914
6082
|
:return_type => return_type
|
|
5915
6083
|
)
|
|
5916
6084
|
|
|
5917
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6085
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5918
6086
|
if @api_client.config.debugging
|
|
5919
6087
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transactions_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5920
6088
|
end
|
|
@@ -5988,7 +6156,7 @@ module XeroRuby
|
|
|
5988
6156
|
:return_type => return_type
|
|
5989
6157
|
)
|
|
5990
6158
|
|
|
5991
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6159
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
5992
6160
|
if @api_client.config.debugging
|
|
5993
6161
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transfer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5994
6162
|
end
|
|
@@ -6075,7 +6243,7 @@ module XeroRuby
|
|
|
6075
6243
|
:return_type => return_type
|
|
6076
6244
|
)
|
|
6077
6245
|
|
|
6078
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6246
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6079
6247
|
if @api_client.config.debugging
|
|
6080
6248
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transfer_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6081
6249
|
end
|
|
@@ -6162,7 +6330,7 @@ module XeroRuby
|
|
|
6162
6330
|
:return_type => return_type
|
|
6163
6331
|
)
|
|
6164
6332
|
|
|
6165
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6333
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6166
6334
|
if @api_client.config.debugging
|
|
6167
6335
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transfer_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6168
6336
|
end
|
|
@@ -6236,7 +6404,7 @@ module XeroRuby
|
|
|
6236
6404
|
:return_type => return_type
|
|
6237
6405
|
)
|
|
6238
6406
|
|
|
6239
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6407
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6240
6408
|
if @api_client.config.debugging
|
|
6241
6409
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transfer_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6242
6410
|
end
|
|
@@ -6310,7 +6478,7 @@ module XeroRuby
|
|
|
6310
6478
|
:return_type => return_type
|
|
6311
6479
|
)
|
|
6312
6480
|
|
|
6313
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6481
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6314
6482
|
if @api_client.config.debugging
|
|
6315
6483
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transfer_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6316
6484
|
end
|
|
@@ -6387,7 +6555,7 @@ module XeroRuby
|
|
|
6387
6555
|
:return_type => return_type
|
|
6388
6556
|
)
|
|
6389
6557
|
|
|
6390
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6558
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6391
6559
|
if @api_client.config.debugging
|
|
6392
6560
|
@api_client.config.logger.debug "API called: AccountingApi#get_bank_transfers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6393
6561
|
end
|
|
@@ -6461,7 +6629,7 @@ module XeroRuby
|
|
|
6461
6629
|
:return_type => return_type
|
|
6462
6630
|
)
|
|
6463
6631
|
|
|
6464
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6632
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6465
6633
|
if @api_client.config.debugging
|
|
6466
6634
|
@api_client.config.logger.debug "API called: AccountingApi#get_batch_payment_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6467
6635
|
end
|
|
@@ -6538,7 +6706,7 @@ module XeroRuby
|
|
|
6538
6706
|
:return_type => return_type
|
|
6539
6707
|
)
|
|
6540
6708
|
|
|
6541
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6709
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6542
6710
|
if @api_client.config.debugging
|
|
6543
6711
|
@api_client.config.logger.debug "API called: AccountingApi#get_batch_payments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6544
6712
|
end
|
|
@@ -6612,7 +6780,7 @@ module XeroRuby
|
|
|
6612
6780
|
:return_type => return_type
|
|
6613
6781
|
)
|
|
6614
6782
|
|
|
6615
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6783
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6616
6784
|
if @api_client.config.debugging
|
|
6617
6785
|
@api_client.config.logger.debug "API called: AccountingApi#get_branding_theme\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6618
6786
|
end
|
|
@@ -6686,7 +6854,7 @@ module XeroRuby
|
|
|
6686
6854
|
:return_type => return_type
|
|
6687
6855
|
)
|
|
6688
6856
|
|
|
6689
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6857
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6690
6858
|
if @api_client.config.debugging
|
|
6691
6859
|
@api_client.config.logger.debug "API called: AccountingApi#get_branding_theme_payment_services\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6692
6860
|
end
|
|
@@ -6754,7 +6922,7 @@ module XeroRuby
|
|
|
6754
6922
|
:return_type => return_type
|
|
6755
6923
|
)
|
|
6756
6924
|
|
|
6757
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6925
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6758
6926
|
if @api_client.config.debugging
|
|
6759
6927
|
@api_client.config.logger.debug "API called: AccountingApi#get_branding_themes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6760
6928
|
end
|
|
@@ -6828,7 +6996,7 @@ module XeroRuby
|
|
|
6828
6996
|
:return_type => return_type
|
|
6829
6997
|
)
|
|
6830
6998
|
|
|
6831
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6999
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6832
7000
|
if @api_client.config.debugging
|
|
6833
7001
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6834
7002
|
end
|
|
@@ -6915,7 +7083,7 @@ module XeroRuby
|
|
|
6915
7083
|
:return_type => return_type
|
|
6916
7084
|
)
|
|
6917
7085
|
|
|
6918
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7086
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
6919
7087
|
if @api_client.config.debugging
|
|
6920
7088
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6921
7089
|
end
|
|
@@ -7002,7 +7170,7 @@ module XeroRuby
|
|
|
7002
7170
|
:return_type => return_type
|
|
7003
7171
|
)
|
|
7004
7172
|
|
|
7005
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7173
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7006
7174
|
if @api_client.config.debugging
|
|
7007
7175
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7008
7176
|
end
|
|
@@ -7076,7 +7244,7 @@ module XeroRuby
|
|
|
7076
7244
|
:return_type => return_type
|
|
7077
7245
|
)
|
|
7078
7246
|
|
|
7079
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7247
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7080
7248
|
if @api_client.config.debugging
|
|
7081
7249
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7082
7250
|
end
|
|
@@ -7150,7 +7318,7 @@ module XeroRuby
|
|
|
7150
7318
|
:return_type => return_type
|
|
7151
7319
|
)
|
|
7152
7320
|
|
|
7153
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7321
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7154
7322
|
if @api_client.config.debugging
|
|
7155
7323
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_by_contact_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7156
7324
|
end
|
|
@@ -7224,7 +7392,7 @@ module XeroRuby
|
|
|
7224
7392
|
:return_type => return_type
|
|
7225
7393
|
)
|
|
7226
7394
|
|
|
7227
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7395
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7228
7396
|
if @api_client.config.debugging
|
|
7229
7397
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_cis_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7230
7398
|
end
|
|
@@ -7298,7 +7466,7 @@ module XeroRuby
|
|
|
7298
7466
|
:return_type => return_type
|
|
7299
7467
|
)
|
|
7300
7468
|
|
|
7301
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7469
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7302
7470
|
if @api_client.config.debugging
|
|
7303
7471
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7304
7472
|
end
|
|
@@ -7372,7 +7540,7 @@ module XeroRuby
|
|
|
7372
7540
|
:return_type => return_type
|
|
7373
7541
|
)
|
|
7374
7542
|
|
|
7375
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7543
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7376
7544
|
if @api_client.config.debugging
|
|
7377
7545
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7378
7546
|
end
|
|
@@ -7446,7 +7614,7 @@ module XeroRuby
|
|
|
7446
7614
|
:return_type => return_type
|
|
7447
7615
|
)
|
|
7448
7616
|
|
|
7449
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7617
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7450
7618
|
if @api_client.config.debugging
|
|
7451
7619
|
@api_client.config.logger.debug "API called: AccountingApi#get_contact_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7452
7620
|
end
|
|
@@ -7532,7 +7700,7 @@ module XeroRuby
|
|
|
7532
7700
|
:return_type => return_type
|
|
7533
7701
|
)
|
|
7534
7702
|
|
|
7535
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7703
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7536
7704
|
if @api_client.config.debugging
|
|
7537
7705
|
@api_client.config.logger.debug "API called: AccountingApi#get_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7538
7706
|
end
|
|
@@ -7609,7 +7777,7 @@ module XeroRuby
|
|
|
7609
7777
|
:return_type => return_type
|
|
7610
7778
|
)
|
|
7611
7779
|
|
|
7612
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7780
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7613
7781
|
if @api_client.config.debugging
|
|
7614
7782
|
@api_client.config.logger.debug "API called: AccountingApi#get_credit_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7615
7783
|
end
|
|
@@ -7683,7 +7851,7 @@ module XeroRuby
|
|
|
7683
7851
|
:return_type => return_type
|
|
7684
7852
|
)
|
|
7685
7853
|
|
|
7686
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7854
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7687
7855
|
if @api_client.config.debugging
|
|
7688
7856
|
@api_client.config.logger.debug "API called: AccountingApi#get_credit_note_as_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7689
7857
|
end
|
|
@@ -7770,7 +7938,7 @@ module XeroRuby
|
|
|
7770
7938
|
:return_type => return_type
|
|
7771
7939
|
)
|
|
7772
7940
|
|
|
7773
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7941
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7774
7942
|
if @api_client.config.debugging
|
|
7775
7943
|
@api_client.config.logger.debug "API called: AccountingApi#get_credit_note_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7776
7944
|
end
|
|
@@ -7857,7 +8025,7 @@ module XeroRuby
|
|
|
7857
8025
|
:return_type => return_type
|
|
7858
8026
|
)
|
|
7859
8027
|
|
|
7860
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8028
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7861
8029
|
if @api_client.config.debugging
|
|
7862
8030
|
@api_client.config.logger.debug "API called: AccountingApi#get_credit_note_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7863
8031
|
end
|
|
@@ -7931,7 +8099,7 @@ module XeroRuby
|
|
|
7931
8099
|
:return_type => return_type
|
|
7932
8100
|
)
|
|
7933
8101
|
|
|
7934
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8102
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
7935
8103
|
if @api_client.config.debugging
|
|
7936
8104
|
@api_client.config.logger.debug "API called: AccountingApi#get_credit_note_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7937
8105
|
end
|
|
@@ -8005,7 +8173,7 @@ module XeroRuby
|
|
|
8005
8173
|
:return_type => return_type
|
|
8006
8174
|
)
|
|
8007
8175
|
|
|
8008
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8176
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8009
8177
|
if @api_client.config.debugging
|
|
8010
8178
|
@api_client.config.logger.debug "API called: AccountingApi#get_credit_note_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8011
8179
|
end
|
|
@@ -8088,7 +8256,7 @@ module XeroRuby
|
|
|
8088
8256
|
:return_type => return_type
|
|
8089
8257
|
)
|
|
8090
8258
|
|
|
8091
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8259
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8092
8260
|
if @api_client.config.debugging
|
|
8093
8261
|
@api_client.config.logger.debug "API called: AccountingApi#get_credit_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8094
8262
|
end
|
|
@@ -8162,7 +8330,7 @@ module XeroRuby
|
|
|
8162
8330
|
:return_type => return_type
|
|
8163
8331
|
)
|
|
8164
8332
|
|
|
8165
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8333
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8166
8334
|
if @api_client.config.debugging
|
|
8167
8335
|
@api_client.config.logger.debug "API called: AccountingApi#get_currencies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8168
8336
|
end
|
|
@@ -8236,7 +8404,7 @@ module XeroRuby
|
|
|
8236
8404
|
:return_type => return_type
|
|
8237
8405
|
)
|
|
8238
8406
|
|
|
8239
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8407
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8240
8408
|
if @api_client.config.debugging
|
|
8241
8409
|
@api_client.config.logger.debug "API called: AccountingApi#get_employee\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8242
8410
|
end
|
|
@@ -8313,7 +8481,7 @@ module XeroRuby
|
|
|
8313
8481
|
:return_type => return_type
|
|
8314
8482
|
)
|
|
8315
8483
|
|
|
8316
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8484
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8317
8485
|
if @api_client.config.debugging
|
|
8318
8486
|
@api_client.config.logger.debug "API called: AccountingApi#get_employees\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8319
8487
|
end
|
|
@@ -8387,7 +8555,7 @@ module XeroRuby
|
|
|
8387
8555
|
:return_type => return_type
|
|
8388
8556
|
)
|
|
8389
8557
|
|
|
8390
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8558
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8391
8559
|
if @api_client.config.debugging
|
|
8392
8560
|
@api_client.config.logger.debug "API called: AccountingApi#get_expense_claim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8393
8561
|
end
|
|
@@ -8461,7 +8629,7 @@ module XeroRuby
|
|
|
8461
8629
|
:return_type => return_type
|
|
8462
8630
|
)
|
|
8463
8631
|
|
|
8464
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8632
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8465
8633
|
if @api_client.config.debugging
|
|
8466
8634
|
@api_client.config.logger.debug "API called: AccountingApi#get_expense_claim_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8467
8635
|
end
|
|
@@ -8538,7 +8706,7 @@ module XeroRuby
|
|
|
8538
8706
|
:return_type => return_type
|
|
8539
8707
|
)
|
|
8540
8708
|
|
|
8541
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8709
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8542
8710
|
if @api_client.config.debugging
|
|
8543
8711
|
@api_client.config.logger.debug "API called: AccountingApi#get_expense_claims\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8544
8712
|
end
|
|
@@ -8615,7 +8783,7 @@ module XeroRuby
|
|
|
8615
8783
|
:return_type => return_type
|
|
8616
8784
|
)
|
|
8617
8785
|
|
|
8618
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8786
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8619
8787
|
if @api_client.config.debugging
|
|
8620
8788
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8621
8789
|
end
|
|
@@ -8689,7 +8857,7 @@ module XeroRuby
|
|
|
8689
8857
|
:return_type => return_type
|
|
8690
8858
|
)
|
|
8691
8859
|
|
|
8692
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8860
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8693
8861
|
if @api_client.config.debugging
|
|
8694
8862
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoice_as_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8695
8863
|
end
|
|
@@ -8776,7 +8944,7 @@ module XeroRuby
|
|
|
8776
8944
|
:return_type => return_type
|
|
8777
8945
|
)
|
|
8778
8946
|
|
|
8779
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
8947
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8780
8948
|
if @api_client.config.debugging
|
|
8781
8949
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoice_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8782
8950
|
end
|
|
@@ -8863,7 +9031,7 @@ module XeroRuby
|
|
|
8863
9031
|
:return_type => return_type
|
|
8864
9032
|
)
|
|
8865
9033
|
|
|
8866
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9034
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8867
9035
|
if @api_client.config.debugging
|
|
8868
9036
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoice_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8869
9037
|
end
|
|
@@ -8937,7 +9105,7 @@ module XeroRuby
|
|
|
8937
9105
|
:return_type => return_type
|
|
8938
9106
|
)
|
|
8939
9107
|
|
|
8940
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9108
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
8941
9109
|
if @api_client.config.debugging
|
|
8942
9110
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoice_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8943
9111
|
end
|
|
@@ -9011,7 +9179,7 @@ module XeroRuby
|
|
|
9011
9179
|
:return_type => return_type
|
|
9012
9180
|
)
|
|
9013
9181
|
|
|
9014
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9182
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9015
9183
|
if @api_client.config.debugging
|
|
9016
9184
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoice_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9017
9185
|
end
|
|
@@ -9079,7 +9247,7 @@ module XeroRuby
|
|
|
9079
9247
|
:return_type => return_type
|
|
9080
9248
|
)
|
|
9081
9249
|
|
|
9082
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9250
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9083
9251
|
if @api_client.config.debugging
|
|
9084
9252
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoice_reminders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9085
9253
|
end
|
|
@@ -9180,7 +9348,7 @@ module XeroRuby
|
|
|
9180
9348
|
:return_type => return_type
|
|
9181
9349
|
)
|
|
9182
9350
|
|
|
9183
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9351
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9184
9352
|
if @api_client.config.debugging
|
|
9185
9353
|
@api_client.config.logger.debug "API called: AccountingApi#get_invoices\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9186
9354
|
end
|
|
@@ -9257,7 +9425,7 @@ module XeroRuby
|
|
|
9257
9425
|
:return_type => return_type
|
|
9258
9426
|
)
|
|
9259
9427
|
|
|
9260
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9428
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9261
9429
|
if @api_client.config.debugging
|
|
9262
9430
|
@api_client.config.logger.debug "API called: AccountingApi#get_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9263
9431
|
end
|
|
@@ -9331,7 +9499,7 @@ module XeroRuby
|
|
|
9331
9499
|
:return_type => return_type
|
|
9332
9500
|
)
|
|
9333
9501
|
|
|
9334
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9502
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9335
9503
|
if @api_client.config.debugging
|
|
9336
9504
|
@api_client.config.logger.debug "API called: AccountingApi#get_item_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9337
9505
|
end
|
|
@@ -9411,7 +9579,7 @@ module XeroRuby
|
|
|
9411
9579
|
:return_type => return_type
|
|
9412
9580
|
)
|
|
9413
9581
|
|
|
9414
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9582
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9415
9583
|
if @api_client.config.debugging
|
|
9416
9584
|
@api_client.config.logger.debug "API called: AccountingApi#get_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9417
9585
|
end
|
|
@@ -9485,7 +9653,7 @@ module XeroRuby
|
|
|
9485
9653
|
:return_type => return_type
|
|
9486
9654
|
)
|
|
9487
9655
|
|
|
9488
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9656
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9489
9657
|
if @api_client.config.debugging
|
|
9490
9658
|
@api_client.config.logger.debug "API called: AccountingApi#get_journal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9491
9659
|
end
|
|
@@ -9562,7 +9730,7 @@ module XeroRuby
|
|
|
9562
9730
|
:return_type => return_type
|
|
9563
9731
|
)
|
|
9564
9732
|
|
|
9565
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9733
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9566
9734
|
if @api_client.config.debugging
|
|
9567
9735
|
@api_client.config.logger.debug "API called: AccountingApi#get_journals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9568
9736
|
end
|
|
@@ -9636,7 +9804,7 @@ module XeroRuby
|
|
|
9636
9804
|
:return_type => return_type
|
|
9637
9805
|
)
|
|
9638
9806
|
|
|
9639
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9807
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9640
9808
|
if @api_client.config.debugging
|
|
9641
9809
|
@api_client.config.logger.debug "API called: AccountingApi#get_linked_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9642
9810
|
end
|
|
@@ -9722,7 +9890,7 @@ module XeroRuby
|
|
|
9722
9890
|
:return_type => return_type
|
|
9723
9891
|
)
|
|
9724
9892
|
|
|
9725
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9893
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9726
9894
|
if @api_client.config.debugging
|
|
9727
9895
|
@api_client.config.logger.debug "API called: AccountingApi#get_linked_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9728
9896
|
end
|
|
@@ -9796,7 +9964,7 @@ module XeroRuby
|
|
|
9796
9964
|
:return_type => return_type
|
|
9797
9965
|
)
|
|
9798
9966
|
|
|
9799
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9967
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9800
9968
|
if @api_client.config.debugging
|
|
9801
9969
|
@api_client.config.logger.debug "API called: AccountingApi#get_manual_journal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9802
9970
|
end
|
|
@@ -9883,7 +10051,7 @@ module XeroRuby
|
|
|
9883
10051
|
:return_type => return_type
|
|
9884
10052
|
)
|
|
9885
10053
|
|
|
9886
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10054
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9887
10055
|
if @api_client.config.debugging
|
|
9888
10056
|
@api_client.config.logger.debug "API called: AccountingApi#get_manual_journal_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9889
10057
|
end
|
|
@@ -9970,7 +10138,7 @@ module XeroRuby
|
|
|
9970
10138
|
:return_type => return_type
|
|
9971
10139
|
)
|
|
9972
10140
|
|
|
9973
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10141
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
9974
10142
|
if @api_client.config.debugging
|
|
9975
10143
|
@api_client.config.logger.debug "API called: AccountingApi#get_manual_journal_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9976
10144
|
end
|
|
@@ -10044,7 +10212,7 @@ module XeroRuby
|
|
|
10044
10212
|
:return_type => return_type
|
|
10045
10213
|
)
|
|
10046
10214
|
|
|
10047
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10215
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10048
10216
|
if @api_client.config.debugging
|
|
10049
10217
|
@api_client.config.logger.debug "API called: AccountingApi#get_manual_journal_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10050
10218
|
end
|
|
@@ -10124,42 +10292,42 @@ module XeroRuby
|
|
|
10124
10292
|
:return_type => return_type
|
|
10125
10293
|
)
|
|
10126
10294
|
|
|
10127
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10295
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10128
10296
|
if @api_client.config.debugging
|
|
10129
10297
|
@api_client.config.logger.debug "API called: AccountingApi#get_manual_journals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10130
10298
|
end
|
|
10131
10299
|
return data, status_code, headers
|
|
10132
10300
|
end
|
|
10133
10301
|
|
|
10134
|
-
# Allows you to retrieve
|
|
10302
|
+
# Allows you to retrieve history from a manual journal
|
|
10135
10303
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10136
|
-
# @param
|
|
10304
|
+
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
10137
10305
|
# @param [Hash] opts the optional parameters
|
|
10138
|
-
# @return [
|
|
10139
|
-
def
|
|
10140
|
-
data, _status_code, _headers =
|
|
10306
|
+
# @return [HistoryRecords]
|
|
10307
|
+
def get_manual_journals_history(xero_tenant_id, manual_journal_id, opts = {})
|
|
10308
|
+
data, _status_code, _headers = get_manual_journals_history_with_http_info(xero_tenant_id, manual_journal_id, opts)
|
|
10141
10309
|
data
|
|
10142
10310
|
end
|
|
10143
10311
|
|
|
10144
|
-
# Allows you to retrieve
|
|
10312
|
+
# Allows you to retrieve history from a manual journal
|
|
10145
10313
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10146
|
-
# @param
|
|
10314
|
+
# @param manual_journal_id [String] Xero generated unique identifier for a manual journal
|
|
10147
10315
|
# @param [Hash] opts the optional parameters
|
|
10148
|
-
# @return [Array<(
|
|
10149
|
-
def
|
|
10316
|
+
# @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
|
|
10317
|
+
def get_manual_journals_history_with_http_info(xero_tenant_id, manual_journal_id, opts = {})
|
|
10150
10318
|
if @api_client.config.debugging
|
|
10151
|
-
@api_client.config.logger.debug 'Calling API: AccountingApi.
|
|
10319
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_manual_journals_history ...'
|
|
10152
10320
|
end
|
|
10153
10321
|
# verify the required parameter 'xero_tenant_id' is set
|
|
10154
10322
|
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
10155
|
-
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.
|
|
10323
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_manual_journals_history"
|
|
10156
10324
|
end
|
|
10157
|
-
# verify the required parameter '
|
|
10158
|
-
if @api_client.config.client_side_validation &&
|
|
10159
|
-
fail ArgumentError, "Missing the required parameter '
|
|
10325
|
+
# verify the required parameter 'manual_journal_id' is set
|
|
10326
|
+
if @api_client.config.client_side_validation && manual_journal_id.nil?
|
|
10327
|
+
fail ArgumentError, "Missing the required parameter 'manual_journal_id' when calling AccountingApi.get_manual_journals_history"
|
|
10160
10328
|
end
|
|
10161
10329
|
# resource path
|
|
10162
|
-
local_var_path = '/
|
|
10330
|
+
local_var_path = '/ManualJournals/{ManualJournalID}/History'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
|
|
10163
10331
|
|
|
10164
10332
|
# camelize keys of incoming `where` opts
|
|
10165
10333
|
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
@@ -10184,7 +10352,7 @@ module XeroRuby
|
|
|
10184
10352
|
post_body = opts[:body]
|
|
10185
10353
|
|
|
10186
10354
|
# return_type
|
|
10187
|
-
return_type = opts[:return_type] || '
|
|
10355
|
+
return_type = opts[:return_type] || 'HistoryRecords'
|
|
10188
10356
|
|
|
10189
10357
|
# auth_names
|
|
10190
10358
|
auth_names = opts[:auth_names] || ['OAuth2']
|
|
@@ -10198,42 +10366,42 @@ module XeroRuby
|
|
|
10198
10366
|
:return_type => return_type
|
|
10199
10367
|
)
|
|
10200
10368
|
|
|
10201
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10369
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10202
10370
|
if @api_client.config.debugging
|
|
10203
|
-
@api_client.config.logger.debug "API called: AccountingApi#
|
|
10371
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_manual_journals_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10204
10372
|
end
|
|
10205
10373
|
return data, status_code, headers
|
|
10206
10374
|
end
|
|
10207
10375
|
|
|
10208
|
-
# Allows you
|
|
10376
|
+
# Allows you to retrieve a URL to an online invoice
|
|
10209
10377
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10210
|
-
# @param
|
|
10378
|
+
# @param invoice_id [String] Unique identifier for an Invoice
|
|
10211
10379
|
# @param [Hash] opts the optional parameters
|
|
10212
|
-
# @return [
|
|
10213
|
-
def
|
|
10214
|
-
data, _status_code, _headers =
|
|
10380
|
+
# @return [OnlineInvoices]
|
|
10381
|
+
def get_online_invoice(xero_tenant_id, invoice_id, opts = {})
|
|
10382
|
+
data, _status_code, _headers = get_online_invoice_with_http_info(xero_tenant_id, invoice_id, opts)
|
|
10215
10383
|
data
|
|
10216
10384
|
end
|
|
10217
10385
|
|
|
10218
|
-
# Allows you
|
|
10386
|
+
# Allows you to retrieve a URL to an online invoice
|
|
10219
10387
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10220
|
-
# @param
|
|
10388
|
+
# @param invoice_id [String] Unique identifier for an Invoice
|
|
10221
10389
|
# @param [Hash] opts the optional parameters
|
|
10222
|
-
# @return [Array<(
|
|
10223
|
-
def
|
|
10390
|
+
# @return [Array<(OnlineInvoices, Integer, Hash)>] OnlineInvoices data, response status code and response headers
|
|
10391
|
+
def get_online_invoice_with_http_info(xero_tenant_id, invoice_id, opts = {})
|
|
10224
10392
|
if @api_client.config.debugging
|
|
10225
|
-
@api_client.config.logger.debug 'Calling API: AccountingApi.
|
|
10393
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_online_invoice ...'
|
|
10226
10394
|
end
|
|
10227
10395
|
# verify the required parameter 'xero_tenant_id' is set
|
|
10228
10396
|
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
10229
|
-
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.
|
|
10397
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_online_invoice"
|
|
10230
10398
|
end
|
|
10231
|
-
# verify the required parameter '
|
|
10232
|
-
if @api_client.config.client_side_validation &&
|
|
10233
|
-
fail ArgumentError, "Missing the required parameter '
|
|
10399
|
+
# verify the required parameter 'invoice_id' is set
|
|
10400
|
+
if @api_client.config.client_side_validation && invoice_id.nil?
|
|
10401
|
+
fail ArgumentError, "Missing the required parameter 'invoice_id' when calling AccountingApi.get_online_invoice"
|
|
10234
10402
|
end
|
|
10235
10403
|
# resource path
|
|
10236
|
-
local_var_path = '/
|
|
10404
|
+
local_var_path = '/Invoices/{InvoiceID}/OnlineInvoice'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
|
10237
10405
|
|
|
10238
10406
|
# camelize keys of incoming `where` opts
|
|
10239
10407
|
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
@@ -10258,7 +10426,7 @@ module XeroRuby
|
|
|
10258
10426
|
post_body = opts[:body]
|
|
10259
10427
|
|
|
10260
10428
|
# return_type
|
|
10261
|
-
return_type = opts[:return_type] || '
|
|
10429
|
+
return_type = opts[:return_type] || 'OnlineInvoices'
|
|
10262
10430
|
|
|
10263
10431
|
# auth_names
|
|
10264
10432
|
auth_names = opts[:auth_names] || ['OAuth2']
|
|
@@ -10272,36 +10440,36 @@ module XeroRuby
|
|
|
10272
10440
|
:return_type => return_type
|
|
10273
10441
|
)
|
|
10274
10442
|
|
|
10275
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10443
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10276
10444
|
if @api_client.config.debugging
|
|
10277
|
-
@api_client.config.logger.debug "API called: AccountingApi#
|
|
10445
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_online_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10278
10446
|
end
|
|
10279
10447
|
return data, status_code, headers
|
|
10280
10448
|
end
|
|
10281
10449
|
|
|
10282
|
-
#
|
|
10450
|
+
# Retrieve a list of the key actions your app has permission to perform in the connected organisation.
|
|
10283
10451
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10284
10452
|
# @param [Hash] opts the optional parameters
|
|
10285
|
-
# @return [
|
|
10286
|
-
def
|
|
10287
|
-
data, _status_code, _headers =
|
|
10453
|
+
# @return [Actions]
|
|
10454
|
+
def get_organisation_actions(xero_tenant_id, opts = {})
|
|
10455
|
+
data, _status_code, _headers = get_organisation_actions_with_http_info(xero_tenant_id, opts)
|
|
10288
10456
|
data
|
|
10289
10457
|
end
|
|
10290
10458
|
|
|
10291
|
-
#
|
|
10459
|
+
# Retrieve a list of the key actions your app has permission to perform in the connected organisation.
|
|
10292
10460
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10293
10461
|
# @param [Hash] opts the optional parameters
|
|
10294
|
-
# @return [Array<(
|
|
10295
|
-
def
|
|
10462
|
+
# @return [Array<(Actions, Integer, Hash)>] Actions data, response status code and response headers
|
|
10463
|
+
def get_organisation_actions_with_http_info(xero_tenant_id, opts = {})
|
|
10296
10464
|
if @api_client.config.debugging
|
|
10297
|
-
@api_client.config.logger.debug 'Calling API: AccountingApi.
|
|
10465
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_organisation_actions ...'
|
|
10298
10466
|
end
|
|
10299
10467
|
# verify the required parameter 'xero_tenant_id' is set
|
|
10300
10468
|
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
10301
|
-
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.
|
|
10469
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_organisation_actions"
|
|
10302
10470
|
end
|
|
10303
10471
|
# resource path
|
|
10304
|
-
local_var_path = '/Organisation'
|
|
10472
|
+
local_var_path = '/Organisation/Actions'
|
|
10305
10473
|
|
|
10306
10474
|
# camelize keys of incoming `where` opts
|
|
10307
10475
|
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
@@ -10326,7 +10494,7 @@ module XeroRuby
|
|
|
10326
10494
|
post_body = opts[:body]
|
|
10327
10495
|
|
|
10328
10496
|
# return_type
|
|
10329
|
-
return_type = opts[:return_type] || '
|
|
10497
|
+
return_type = opts[:return_type] || 'Actions'
|
|
10330
10498
|
|
|
10331
10499
|
# auth_names
|
|
10332
10500
|
auth_names = opts[:auth_names] || ['OAuth2']
|
|
@@ -10340,42 +10508,42 @@ module XeroRuby
|
|
|
10340
10508
|
:return_type => return_type
|
|
10341
10509
|
)
|
|
10342
10510
|
|
|
10343
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10511
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10344
10512
|
if @api_client.config.debugging
|
|
10345
|
-
@api_client.config.logger.debug "API called: AccountingApi#
|
|
10513
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_organisation_actions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10346
10514
|
end
|
|
10347
10515
|
return data, status_code, headers
|
|
10348
10516
|
end
|
|
10349
10517
|
|
|
10350
|
-
# Allows you
|
|
10518
|
+
# Allows you To verify if an organisation is using contruction industry scheme, you can retrieve the CIS settings for the organistaion.
|
|
10351
10519
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10352
|
-
# @param
|
|
10520
|
+
# @param organisation_id [String] The unique Xero identifier for an organisation
|
|
10353
10521
|
# @param [Hash] opts the optional parameters
|
|
10354
|
-
# @return [
|
|
10355
|
-
def
|
|
10356
|
-
data, _status_code, _headers =
|
|
10522
|
+
# @return [CISOrgSetting]
|
|
10523
|
+
def get_organisation_cis_settings(xero_tenant_id, organisation_id, opts = {})
|
|
10524
|
+
data, _status_code, _headers = get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, opts)
|
|
10357
10525
|
data
|
|
10358
10526
|
end
|
|
10359
10527
|
|
|
10360
|
-
# Allows you
|
|
10528
|
+
# Allows you To verify if an organisation is using contruction industry scheme, you can retrieve the CIS settings for the organistaion.
|
|
10361
10529
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10362
|
-
# @param
|
|
10530
|
+
# @param organisation_id [String] The unique Xero identifier for an organisation
|
|
10363
10531
|
# @param [Hash] opts the optional parameters
|
|
10364
|
-
# @return [Array<(
|
|
10365
|
-
def
|
|
10532
|
+
# @return [Array<(CISOrgSetting, Integer, Hash)>] CISOrgSetting data, response status code and response headers
|
|
10533
|
+
def get_organisation_cis_settings_with_http_info(xero_tenant_id, organisation_id, opts = {})
|
|
10366
10534
|
if @api_client.config.debugging
|
|
10367
|
-
@api_client.config.logger.debug 'Calling API: AccountingApi.
|
|
10535
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_organisation_cis_settings ...'
|
|
10368
10536
|
end
|
|
10369
10537
|
# verify the required parameter 'xero_tenant_id' is set
|
|
10370
10538
|
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
10371
|
-
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.
|
|
10539
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_organisation_cis_settings"
|
|
10372
10540
|
end
|
|
10373
|
-
# verify the required parameter '
|
|
10374
|
-
if @api_client.config.client_side_validation &&
|
|
10375
|
-
fail ArgumentError, "Missing the required parameter '
|
|
10541
|
+
# verify the required parameter 'organisation_id' is set
|
|
10542
|
+
if @api_client.config.client_side_validation && organisation_id.nil?
|
|
10543
|
+
fail ArgumentError, "Missing the required parameter 'organisation_id' when calling AccountingApi.get_organisation_cis_settings"
|
|
10376
10544
|
end
|
|
10377
10545
|
# resource path
|
|
10378
|
-
local_var_path = '/
|
|
10546
|
+
local_var_path = '/Organisation/{OrganisationID}/CISSettings'.sub('{' + 'OrganisationID' + '}', organisation_id.to_s)
|
|
10379
10547
|
|
|
10380
10548
|
# camelize keys of incoming `where` opts
|
|
10381
10549
|
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
@@ -10400,7 +10568,7 @@ module XeroRuby
|
|
|
10400
10568
|
post_body = opts[:body]
|
|
10401
10569
|
|
|
10402
10570
|
# return_type
|
|
10403
|
-
return_type = opts[:return_type] || '
|
|
10571
|
+
return_type = opts[:return_type] || 'CISOrgSetting'
|
|
10404
10572
|
|
|
10405
10573
|
# auth_names
|
|
10406
10574
|
auth_names = opts[:auth_names] || ['OAuth2']
|
|
@@ -10414,26 +10582,168 @@ module XeroRuby
|
|
|
10414
10582
|
:return_type => return_type
|
|
10415
10583
|
)
|
|
10416
10584
|
|
|
10417
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10585
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10418
10586
|
if @api_client.config.debugging
|
|
10419
|
-
@api_client.config.logger.debug "API called: AccountingApi#
|
|
10587
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_organisation_cis_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10420
10588
|
end
|
|
10421
10589
|
return data, status_code, headers
|
|
10422
10590
|
end
|
|
10423
10591
|
|
|
10424
|
-
# Allows you to retrieve
|
|
10592
|
+
# Allows you to retrieve Organisation details
|
|
10425
10593
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10426
|
-
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10427
10594
|
# @param [Hash] opts the optional parameters
|
|
10428
|
-
# @return [
|
|
10429
|
-
def
|
|
10430
|
-
data, _status_code, _headers =
|
|
10595
|
+
# @return [Organisations]
|
|
10596
|
+
def get_organisations(xero_tenant_id, opts = {})
|
|
10597
|
+
data, _status_code, _headers = get_organisations_with_http_info(xero_tenant_id, opts)
|
|
10431
10598
|
data
|
|
10432
10599
|
end
|
|
10433
10600
|
|
|
10434
|
-
# Allows you to retrieve
|
|
10601
|
+
# Allows you to retrieve Organisation details
|
|
10435
10602
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10436
|
-
# @param
|
|
10603
|
+
# @param [Hash] opts the optional parameters
|
|
10604
|
+
# @return [Array<(Organisations, Integer, Hash)>] Organisations data, response status code and response headers
|
|
10605
|
+
def get_organisations_with_http_info(xero_tenant_id, opts = {})
|
|
10606
|
+
if @api_client.config.debugging
|
|
10607
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_organisations ...'
|
|
10608
|
+
end
|
|
10609
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
10610
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
10611
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_organisations"
|
|
10612
|
+
end
|
|
10613
|
+
# resource path
|
|
10614
|
+
local_var_path = '/Organisation'
|
|
10615
|
+
|
|
10616
|
+
# camelize keys of incoming `where` opts
|
|
10617
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
10618
|
+
|
|
10619
|
+
# query parameters
|
|
10620
|
+
query_params = opts[:query_params] || {}
|
|
10621
|
+
|
|
10622
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
10623
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
10624
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
10625
|
+
|
|
10626
|
+
# header parameters
|
|
10627
|
+
header_params = opts[:header_params] || {}
|
|
10628
|
+
# HTTP header 'Accept' (if needed)
|
|
10629
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
10630
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
10631
|
+
|
|
10632
|
+
# form parameters
|
|
10633
|
+
form_params = opts[:form_params] || {}
|
|
10634
|
+
|
|
10635
|
+
# http body (model)
|
|
10636
|
+
post_body = opts[:body]
|
|
10637
|
+
|
|
10638
|
+
# return_type
|
|
10639
|
+
return_type = opts[:return_type] || 'Organisations'
|
|
10640
|
+
|
|
10641
|
+
# auth_names
|
|
10642
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
10643
|
+
|
|
10644
|
+
new_options = opts.merge(
|
|
10645
|
+
:header_params => header_params,
|
|
10646
|
+
:query_params => query_params,
|
|
10647
|
+
:form_params => form_params,
|
|
10648
|
+
:body => post_body,
|
|
10649
|
+
:auth_names => auth_names,
|
|
10650
|
+
:return_type => return_type
|
|
10651
|
+
)
|
|
10652
|
+
|
|
10653
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10654
|
+
if @api_client.config.debugging
|
|
10655
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_organisations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10656
|
+
end
|
|
10657
|
+
return data, status_code, headers
|
|
10658
|
+
end
|
|
10659
|
+
|
|
10660
|
+
# Allows you to retrieve a specified overpayments
|
|
10661
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10662
|
+
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10663
|
+
# @param [Hash] opts the optional parameters
|
|
10664
|
+
# @return [Overpayments]
|
|
10665
|
+
def get_overpayment(xero_tenant_id, overpayment_id, opts = {})
|
|
10666
|
+
data, _status_code, _headers = get_overpayment_with_http_info(xero_tenant_id, overpayment_id, opts)
|
|
10667
|
+
data
|
|
10668
|
+
end
|
|
10669
|
+
|
|
10670
|
+
# Allows you to retrieve a specified overpayments
|
|
10671
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10672
|
+
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10673
|
+
# @param [Hash] opts the optional parameters
|
|
10674
|
+
# @return [Array<(Overpayments, Integer, Hash)>] Overpayments data, response status code and response headers
|
|
10675
|
+
def get_overpayment_with_http_info(xero_tenant_id, overpayment_id, opts = {})
|
|
10676
|
+
if @api_client.config.debugging
|
|
10677
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_overpayment ...'
|
|
10678
|
+
end
|
|
10679
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
10680
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
10681
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_overpayment"
|
|
10682
|
+
end
|
|
10683
|
+
# verify the required parameter 'overpayment_id' is set
|
|
10684
|
+
if @api_client.config.client_side_validation && overpayment_id.nil?
|
|
10685
|
+
fail ArgumentError, "Missing the required parameter 'overpayment_id' when calling AccountingApi.get_overpayment"
|
|
10686
|
+
end
|
|
10687
|
+
# resource path
|
|
10688
|
+
local_var_path = '/Overpayments/{OverpaymentID}'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
|
|
10689
|
+
|
|
10690
|
+
# camelize keys of incoming `where` opts
|
|
10691
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
10692
|
+
|
|
10693
|
+
# query parameters
|
|
10694
|
+
query_params = opts[:query_params] || {}
|
|
10695
|
+
|
|
10696
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
10697
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
10698
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
10699
|
+
|
|
10700
|
+
# header parameters
|
|
10701
|
+
header_params = opts[:header_params] || {}
|
|
10702
|
+
# HTTP header 'Accept' (if needed)
|
|
10703
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
10704
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
10705
|
+
|
|
10706
|
+
# form parameters
|
|
10707
|
+
form_params = opts[:form_params] || {}
|
|
10708
|
+
|
|
10709
|
+
# http body (model)
|
|
10710
|
+
post_body = opts[:body]
|
|
10711
|
+
|
|
10712
|
+
# return_type
|
|
10713
|
+
return_type = opts[:return_type] || 'Overpayments'
|
|
10714
|
+
|
|
10715
|
+
# auth_names
|
|
10716
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
10717
|
+
|
|
10718
|
+
new_options = opts.merge(
|
|
10719
|
+
:header_params => header_params,
|
|
10720
|
+
:query_params => query_params,
|
|
10721
|
+
:form_params => form_params,
|
|
10722
|
+
:body => post_body,
|
|
10723
|
+
:auth_names => auth_names,
|
|
10724
|
+
:return_type => return_type
|
|
10725
|
+
)
|
|
10726
|
+
|
|
10727
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10728
|
+
if @api_client.config.debugging
|
|
10729
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_overpayment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10730
|
+
end
|
|
10731
|
+
return data, status_code, headers
|
|
10732
|
+
end
|
|
10733
|
+
|
|
10734
|
+
# Allows you to retrieve a history records of an Overpayment
|
|
10735
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10736
|
+
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10737
|
+
# @param [Hash] opts the optional parameters
|
|
10738
|
+
# @return [HistoryRecords]
|
|
10739
|
+
def get_overpayment_history(xero_tenant_id, overpayment_id, opts = {})
|
|
10740
|
+
data, _status_code, _headers = get_overpayment_history_with_http_info(xero_tenant_id, overpayment_id, opts)
|
|
10741
|
+
data
|
|
10742
|
+
end
|
|
10743
|
+
|
|
10744
|
+
# Allows you to retrieve a history records of an Overpayment
|
|
10745
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
10746
|
+
# @param overpayment_id [String] Unique identifier for a Overpayment
|
|
10437
10747
|
# @param [Hash] opts the optional parameters
|
|
10438
10748
|
# @return [Array<(HistoryRecords, Integer, Hash)>] HistoryRecords data, response status code and response headers
|
|
10439
10749
|
def get_overpayment_history_with_http_info(xero_tenant_id, overpayment_id, opts = {})
|
|
@@ -10488,7 +10798,7 @@ module XeroRuby
|
|
|
10488
10798
|
:return_type => return_type
|
|
10489
10799
|
)
|
|
10490
10800
|
|
|
10491
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10801
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10492
10802
|
if @api_client.config.debugging
|
|
10493
10803
|
@api_client.config.logger.debug "API called: AccountingApi#get_overpayment_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10494
10804
|
end
|
|
@@ -10571,7 +10881,7 @@ module XeroRuby
|
|
|
10571
10881
|
:return_type => return_type
|
|
10572
10882
|
)
|
|
10573
10883
|
|
|
10574
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10884
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10575
10885
|
if @api_client.config.debugging
|
|
10576
10886
|
@api_client.config.logger.debug "API called: AccountingApi#get_overpayments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10577
10887
|
end
|
|
@@ -10645,7 +10955,7 @@ module XeroRuby
|
|
|
10645
10955
|
:return_type => return_type
|
|
10646
10956
|
)
|
|
10647
10957
|
|
|
10648
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
10958
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10649
10959
|
if @api_client.config.debugging
|
|
10650
10960
|
@api_client.config.logger.debug "API called: AccountingApi#get_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10651
10961
|
end
|
|
@@ -10719,7 +11029,7 @@ module XeroRuby
|
|
|
10719
11029
|
:return_type => return_type
|
|
10720
11030
|
)
|
|
10721
11031
|
|
|
10722
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11032
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10723
11033
|
if @api_client.config.debugging
|
|
10724
11034
|
@api_client.config.logger.debug "API called: AccountingApi#get_payment_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10725
11035
|
end
|
|
@@ -10787,7 +11097,7 @@ module XeroRuby
|
|
|
10787
11097
|
:return_type => return_type
|
|
10788
11098
|
)
|
|
10789
11099
|
|
|
10790
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11100
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10791
11101
|
if @api_client.config.debugging
|
|
10792
11102
|
@api_client.config.logger.debug "API called: AccountingApi#get_payment_services\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10793
11103
|
end
|
|
@@ -10867,7 +11177,7 @@ module XeroRuby
|
|
|
10867
11177
|
:return_type => return_type
|
|
10868
11178
|
)
|
|
10869
11179
|
|
|
10870
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11180
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10871
11181
|
if @api_client.config.debugging
|
|
10872
11182
|
@api_client.config.logger.debug "API called: AccountingApi#get_payments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10873
11183
|
end
|
|
@@ -10941,7 +11251,7 @@ module XeroRuby
|
|
|
10941
11251
|
:return_type => return_type
|
|
10942
11252
|
)
|
|
10943
11253
|
|
|
10944
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11254
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
10945
11255
|
if @api_client.config.debugging
|
|
10946
11256
|
@api_client.config.logger.debug "API called: AccountingApi#get_prepayment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10947
11257
|
end
|
|
@@ -11015,7 +11325,7 @@ module XeroRuby
|
|
|
11015
11325
|
:return_type => return_type
|
|
11016
11326
|
)
|
|
11017
11327
|
|
|
11018
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11328
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11019
11329
|
if @api_client.config.debugging
|
|
11020
11330
|
@api_client.config.logger.debug "API called: AccountingApi#get_prepayment_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11021
11331
|
end
|
|
@@ -11098,7 +11408,7 @@ module XeroRuby
|
|
|
11098
11408
|
:return_type => return_type
|
|
11099
11409
|
)
|
|
11100
11410
|
|
|
11101
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11411
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11102
11412
|
if @api_client.config.debugging
|
|
11103
11413
|
@api_client.config.logger.debug "API called: AccountingApi#get_prepayments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11104
11414
|
end
|
|
@@ -11172,7 +11482,7 @@ module XeroRuby
|
|
|
11172
11482
|
:return_type => return_type
|
|
11173
11483
|
)
|
|
11174
11484
|
|
|
11175
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11485
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11176
11486
|
if @api_client.config.debugging
|
|
11177
11487
|
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11178
11488
|
end
|
|
@@ -11246,13 +11556,261 @@ module XeroRuby
|
|
|
11246
11556
|
:return_type => return_type
|
|
11247
11557
|
)
|
|
11248
11558
|
|
|
11249
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11559
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11250
11560
|
if @api_client.config.debugging
|
|
11251
11561
|
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_order_as_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11252
11562
|
end
|
|
11253
11563
|
return data, status_code, headers
|
|
11254
11564
|
end
|
|
11255
11565
|
|
|
11566
|
+
# Allows you to retrieve Attachment on a Purchase Order by Filename
|
|
11567
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11568
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11569
|
+
# @param file_name [String] Name of the attachment
|
|
11570
|
+
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11571
|
+
# @param [Hash] opts the optional parameters
|
|
11572
|
+
# @return [File]
|
|
11573
|
+
def get_purchase_order_attachment_by_file_name(xero_tenant_id, purchase_order_id, file_name, content_type, opts = {})
|
|
11574
|
+
data, _status_code, _headers = get_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, content_type, opts)
|
|
11575
|
+
data
|
|
11576
|
+
end
|
|
11577
|
+
|
|
11578
|
+
# Allows you to retrieve Attachment on a Purchase Order by Filename
|
|
11579
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11580
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11581
|
+
# @param file_name [String] Name of the attachment
|
|
11582
|
+
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11583
|
+
# @param [Hash] opts the optional parameters
|
|
11584
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
11585
|
+
def get_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, content_type, opts = {})
|
|
11586
|
+
if @api_client.config.debugging
|
|
11587
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_attachment_by_file_name ...'
|
|
11588
|
+
end
|
|
11589
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
11590
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
11591
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_purchase_order_attachment_by_file_name"
|
|
11592
|
+
end
|
|
11593
|
+
# verify the required parameter 'purchase_order_id' is set
|
|
11594
|
+
if @api_client.config.client_side_validation && purchase_order_id.nil?
|
|
11595
|
+
fail ArgumentError, "Missing the required parameter 'purchase_order_id' when calling AccountingApi.get_purchase_order_attachment_by_file_name"
|
|
11596
|
+
end
|
|
11597
|
+
# verify the required parameter 'file_name' is set
|
|
11598
|
+
if @api_client.config.client_side_validation && file_name.nil?
|
|
11599
|
+
fail ArgumentError, "Missing the required parameter 'file_name' when calling AccountingApi.get_purchase_order_attachment_by_file_name"
|
|
11600
|
+
end
|
|
11601
|
+
# verify the required parameter 'content_type' is set
|
|
11602
|
+
if @api_client.config.client_side_validation && content_type.nil?
|
|
11603
|
+
fail ArgumentError, "Missing the required parameter 'content_type' when calling AccountingApi.get_purchase_order_attachment_by_file_name"
|
|
11604
|
+
end
|
|
11605
|
+
# resource path
|
|
11606
|
+
local_var_path = '/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
|
11607
|
+
|
|
11608
|
+
# camelize keys of incoming `where` opts
|
|
11609
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
11610
|
+
|
|
11611
|
+
# query parameters
|
|
11612
|
+
query_params = opts[:query_params] || {}
|
|
11613
|
+
|
|
11614
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
11615
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
11616
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
11617
|
+
|
|
11618
|
+
# header parameters
|
|
11619
|
+
header_params = opts[:header_params] || {}
|
|
11620
|
+
# HTTP header 'Accept' (if needed)
|
|
11621
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
|
11622
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
11623
|
+
header_params[:'contentType'] = content_type
|
|
11624
|
+
|
|
11625
|
+
# form parameters
|
|
11626
|
+
form_params = opts[:form_params] || {}
|
|
11627
|
+
|
|
11628
|
+
# http body (model)
|
|
11629
|
+
post_body = opts[:body]
|
|
11630
|
+
|
|
11631
|
+
# return_type
|
|
11632
|
+
return_type = opts[:return_type] || 'File'
|
|
11633
|
+
|
|
11634
|
+
# auth_names
|
|
11635
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
11636
|
+
|
|
11637
|
+
new_options = opts.merge(
|
|
11638
|
+
:header_params => header_params,
|
|
11639
|
+
:query_params => query_params,
|
|
11640
|
+
:form_params => form_params,
|
|
11641
|
+
:body => post_body,
|
|
11642
|
+
:auth_names => auth_names,
|
|
11643
|
+
:return_type => return_type
|
|
11644
|
+
)
|
|
11645
|
+
|
|
11646
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11647
|
+
if @api_client.config.debugging
|
|
11648
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_order_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11649
|
+
end
|
|
11650
|
+
return data, status_code, headers
|
|
11651
|
+
end
|
|
11652
|
+
|
|
11653
|
+
# Allows you to retrieve specific Attachment on purchase order
|
|
11654
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11655
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11656
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
11657
|
+
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11658
|
+
# @param [Hash] opts the optional parameters
|
|
11659
|
+
# @return [File]
|
|
11660
|
+
def get_purchase_order_attachment_by_id(xero_tenant_id, purchase_order_id, attachment_id, content_type, opts = {})
|
|
11661
|
+
data, _status_code, _headers = get_purchase_order_attachment_by_id_with_http_info(xero_tenant_id, purchase_order_id, attachment_id, content_type, opts)
|
|
11662
|
+
data
|
|
11663
|
+
end
|
|
11664
|
+
|
|
11665
|
+
# Allows you to retrieve specific Attachment on purchase order
|
|
11666
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11667
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
11668
|
+
# @param attachment_id [String] Unique identifier for Attachment object
|
|
11669
|
+
# @param content_type [String] The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
|
|
11670
|
+
# @param [Hash] opts the optional parameters
|
|
11671
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
11672
|
+
def get_purchase_order_attachment_by_id_with_http_info(xero_tenant_id, purchase_order_id, attachment_id, content_type, opts = {})
|
|
11673
|
+
if @api_client.config.debugging
|
|
11674
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_attachment_by_id ...'
|
|
11675
|
+
end
|
|
11676
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
11677
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
11678
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_purchase_order_attachment_by_id"
|
|
11679
|
+
end
|
|
11680
|
+
# verify the required parameter 'purchase_order_id' is set
|
|
11681
|
+
if @api_client.config.client_side_validation && purchase_order_id.nil?
|
|
11682
|
+
fail ArgumentError, "Missing the required parameter 'purchase_order_id' when calling AccountingApi.get_purchase_order_attachment_by_id"
|
|
11683
|
+
end
|
|
11684
|
+
# verify the required parameter 'attachment_id' is set
|
|
11685
|
+
if @api_client.config.client_side_validation && attachment_id.nil?
|
|
11686
|
+
fail ArgumentError, "Missing the required parameter 'attachment_id' when calling AccountingApi.get_purchase_order_attachment_by_id"
|
|
11687
|
+
end
|
|
11688
|
+
# verify the required parameter 'content_type' is set
|
|
11689
|
+
if @api_client.config.client_side_validation && content_type.nil?
|
|
11690
|
+
fail ArgumentError, "Missing the required parameter 'content_type' when calling AccountingApi.get_purchase_order_attachment_by_id"
|
|
11691
|
+
end
|
|
11692
|
+
# resource path
|
|
11693
|
+
local_var_path = '/PurchaseOrders/{PurchaseOrderID}/Attachments/{AttachmentID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
|
11694
|
+
|
|
11695
|
+
# camelize keys of incoming `where` opts
|
|
11696
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
11697
|
+
|
|
11698
|
+
# query parameters
|
|
11699
|
+
query_params = opts[:query_params] || {}
|
|
11700
|
+
|
|
11701
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
11702
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
11703
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
11704
|
+
|
|
11705
|
+
# header parameters
|
|
11706
|
+
header_params = opts[:header_params] || {}
|
|
11707
|
+
# HTTP header 'Accept' (if needed)
|
|
11708
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
|
11709
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
11710
|
+
header_params[:'contentType'] = content_type
|
|
11711
|
+
|
|
11712
|
+
# form parameters
|
|
11713
|
+
form_params = opts[:form_params] || {}
|
|
11714
|
+
|
|
11715
|
+
# http body (model)
|
|
11716
|
+
post_body = opts[:body]
|
|
11717
|
+
|
|
11718
|
+
# return_type
|
|
11719
|
+
return_type = opts[:return_type] || 'File'
|
|
11720
|
+
|
|
11721
|
+
# auth_names
|
|
11722
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
11723
|
+
|
|
11724
|
+
new_options = opts.merge(
|
|
11725
|
+
:header_params => header_params,
|
|
11726
|
+
:query_params => query_params,
|
|
11727
|
+
:form_params => form_params,
|
|
11728
|
+
:body => post_body,
|
|
11729
|
+
:auth_names => auth_names,
|
|
11730
|
+
:return_type => return_type
|
|
11731
|
+
)
|
|
11732
|
+
|
|
11733
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11734
|
+
if @api_client.config.debugging
|
|
11735
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_order_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11736
|
+
end
|
|
11737
|
+
return data, status_code, headers
|
|
11738
|
+
end
|
|
11739
|
+
|
|
11740
|
+
# Allows you to retrieve attachments for purchase orders
|
|
11741
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11742
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Orders object
|
|
11743
|
+
# @param [Hash] opts the optional parameters
|
|
11744
|
+
# @return [Attachments]
|
|
11745
|
+
def get_purchase_order_attachments(xero_tenant_id, purchase_order_id, opts = {})
|
|
11746
|
+
data, _status_code, _headers = get_purchase_order_attachments_with_http_info(xero_tenant_id, purchase_order_id, opts)
|
|
11747
|
+
data
|
|
11748
|
+
end
|
|
11749
|
+
|
|
11750
|
+
# Allows you to retrieve attachments for purchase orders
|
|
11751
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11752
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Orders object
|
|
11753
|
+
# @param [Hash] opts the optional parameters
|
|
11754
|
+
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
11755
|
+
def get_purchase_order_attachments_with_http_info(xero_tenant_id, purchase_order_id, opts = {})
|
|
11756
|
+
if @api_client.config.debugging
|
|
11757
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_purchase_order_attachments ...'
|
|
11758
|
+
end
|
|
11759
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
11760
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
11761
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_purchase_order_attachments"
|
|
11762
|
+
end
|
|
11763
|
+
# verify the required parameter 'purchase_order_id' is set
|
|
11764
|
+
if @api_client.config.client_side_validation && purchase_order_id.nil?
|
|
11765
|
+
fail ArgumentError, "Missing the required parameter 'purchase_order_id' when calling AccountingApi.get_purchase_order_attachments"
|
|
11766
|
+
end
|
|
11767
|
+
# resource path
|
|
11768
|
+
local_var_path = '/PurchaseOrders/{PurchaseOrderID}/Attachments'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
|
|
11769
|
+
|
|
11770
|
+
# camelize keys of incoming `where` opts
|
|
11771
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
11772
|
+
|
|
11773
|
+
# query parameters
|
|
11774
|
+
query_params = opts[:query_params] || {}
|
|
11775
|
+
|
|
11776
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
11777
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
11778
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
11779
|
+
|
|
11780
|
+
# header parameters
|
|
11781
|
+
header_params = opts[:header_params] || {}
|
|
11782
|
+
# HTTP header 'Accept' (if needed)
|
|
11783
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
11784
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
11785
|
+
|
|
11786
|
+
# form parameters
|
|
11787
|
+
form_params = opts[:form_params] || {}
|
|
11788
|
+
|
|
11789
|
+
# http body (model)
|
|
11790
|
+
post_body = opts[:body]
|
|
11791
|
+
|
|
11792
|
+
# return_type
|
|
11793
|
+
return_type = opts[:return_type] || 'Attachments'
|
|
11794
|
+
|
|
11795
|
+
# auth_names
|
|
11796
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
11797
|
+
|
|
11798
|
+
new_options = opts.merge(
|
|
11799
|
+
:header_params => header_params,
|
|
11800
|
+
:query_params => query_params,
|
|
11801
|
+
:form_params => form_params,
|
|
11802
|
+
:body => post_body,
|
|
11803
|
+
:auth_names => auth_names,
|
|
11804
|
+
:return_type => return_type
|
|
11805
|
+
)
|
|
11806
|
+
|
|
11807
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11808
|
+
if @api_client.config.debugging
|
|
11809
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_order_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11810
|
+
end
|
|
11811
|
+
return data, status_code, headers
|
|
11812
|
+
end
|
|
11813
|
+
|
|
11256
11814
|
# Allows you to retrieve a specified purchase orders
|
|
11257
11815
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
11258
11816
|
# @param purchase_order_number [String] Unique identifier for a PurchaseOrder
|
|
@@ -11320,7 +11878,7 @@ module XeroRuby
|
|
|
11320
11878
|
:return_type => return_type
|
|
11321
11879
|
)
|
|
11322
11880
|
|
|
11323
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11881
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11324
11882
|
if @api_client.config.debugging
|
|
11325
11883
|
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_order_by_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11326
11884
|
end
|
|
@@ -11394,7 +11952,7 @@ module XeroRuby
|
|
|
11394
11952
|
:return_type => return_type
|
|
11395
11953
|
)
|
|
11396
11954
|
|
|
11397
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
11955
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11398
11956
|
if @api_client.config.debugging
|
|
11399
11957
|
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_order_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11400
11958
|
end
|
|
@@ -11484,7 +12042,7 @@ module XeroRuby
|
|
|
11484
12042
|
:return_type => return_type
|
|
11485
12043
|
)
|
|
11486
12044
|
|
|
11487
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12045
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11488
12046
|
if @api_client.config.debugging
|
|
11489
12047
|
@api_client.config.logger.debug "API called: AccountingApi#get_purchase_orders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11490
12048
|
end
|
|
@@ -11558,7 +12116,7 @@ module XeroRuby
|
|
|
11558
12116
|
:return_type => return_type
|
|
11559
12117
|
)
|
|
11560
12118
|
|
|
11561
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12119
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11562
12120
|
if @api_client.config.debugging
|
|
11563
12121
|
@api_client.config.logger.debug "API called: AccountingApi#get_quote\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11564
12122
|
end
|
|
@@ -11632,7 +12190,7 @@ module XeroRuby
|
|
|
11632
12190
|
:return_type => return_type
|
|
11633
12191
|
)
|
|
11634
12192
|
|
|
11635
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12193
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11636
12194
|
if @api_client.config.debugging
|
|
11637
12195
|
@api_client.config.logger.debug "API called: AccountingApi#get_quote_as_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11638
12196
|
end
|
|
@@ -11719,7 +12277,7 @@ module XeroRuby
|
|
|
11719
12277
|
:return_type => return_type
|
|
11720
12278
|
)
|
|
11721
12279
|
|
|
11722
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12280
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11723
12281
|
if @api_client.config.debugging
|
|
11724
12282
|
@api_client.config.logger.debug "API called: AccountingApi#get_quote_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11725
12283
|
end
|
|
@@ -11806,7 +12364,7 @@ module XeroRuby
|
|
|
11806
12364
|
:return_type => return_type
|
|
11807
12365
|
)
|
|
11808
12366
|
|
|
11809
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12367
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11810
12368
|
if @api_client.config.debugging
|
|
11811
12369
|
@api_client.config.logger.debug "API called: AccountingApi#get_quote_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11812
12370
|
end
|
|
@@ -11880,7 +12438,7 @@ module XeroRuby
|
|
|
11880
12438
|
:return_type => return_type
|
|
11881
12439
|
)
|
|
11882
12440
|
|
|
11883
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12441
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11884
12442
|
if @api_client.config.debugging
|
|
11885
12443
|
@api_client.config.logger.debug "API called: AccountingApi#get_quote_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11886
12444
|
end
|
|
@@ -11954,7 +12512,7 @@ module XeroRuby
|
|
|
11954
12512
|
:return_type => return_type
|
|
11955
12513
|
)
|
|
11956
12514
|
|
|
11957
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12515
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
11958
12516
|
if @api_client.config.debugging
|
|
11959
12517
|
@api_client.config.logger.debug "API called: AccountingApi#get_quote_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11960
12518
|
end
|
|
@@ -12052,7 +12610,7 @@ module XeroRuby
|
|
|
12052
12610
|
:return_type => return_type
|
|
12053
12611
|
)
|
|
12054
12612
|
|
|
12055
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12613
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12056
12614
|
if @api_client.config.debugging
|
|
12057
12615
|
@api_client.config.logger.debug "API called: AccountingApi#get_quotes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12058
12616
|
end
|
|
@@ -12129,7 +12687,7 @@ module XeroRuby
|
|
|
12129
12687
|
:return_type => return_type
|
|
12130
12688
|
)
|
|
12131
12689
|
|
|
12132
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12690
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12133
12691
|
if @api_client.config.debugging
|
|
12134
12692
|
@api_client.config.logger.debug "API called: AccountingApi#get_receipt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12135
12693
|
end
|
|
@@ -12216,7 +12774,7 @@ module XeroRuby
|
|
|
12216
12774
|
:return_type => return_type
|
|
12217
12775
|
)
|
|
12218
12776
|
|
|
12219
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12777
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12220
12778
|
if @api_client.config.debugging
|
|
12221
12779
|
@api_client.config.logger.debug "API called: AccountingApi#get_receipt_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12222
12780
|
end
|
|
@@ -12303,7 +12861,7 @@ module XeroRuby
|
|
|
12303
12861
|
:return_type => return_type
|
|
12304
12862
|
)
|
|
12305
12863
|
|
|
12306
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12864
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12307
12865
|
if @api_client.config.debugging
|
|
12308
12866
|
@api_client.config.logger.debug "API called: AccountingApi#get_receipt_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12309
12867
|
end
|
|
@@ -12377,7 +12935,7 @@ module XeroRuby
|
|
|
12377
12935
|
:return_type => return_type
|
|
12378
12936
|
)
|
|
12379
12937
|
|
|
12380
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
12938
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12381
12939
|
if @api_client.config.debugging
|
|
12382
12940
|
@api_client.config.logger.debug "API called: AccountingApi#get_receipt_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12383
12941
|
end
|
|
@@ -12451,7 +13009,7 @@ module XeroRuby
|
|
|
12451
13009
|
:return_type => return_type
|
|
12452
13010
|
)
|
|
12453
13011
|
|
|
12454
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13012
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12455
13013
|
if @api_client.config.debugging
|
|
12456
13014
|
@api_client.config.logger.debug "API called: AccountingApi#get_receipt_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12457
13015
|
end
|
|
@@ -12531,7 +13089,7 @@ module XeroRuby
|
|
|
12531
13089
|
:return_type => return_type
|
|
12532
13090
|
)
|
|
12533
13091
|
|
|
12534
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13092
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12535
13093
|
if @api_client.config.debugging
|
|
12536
13094
|
@api_client.config.logger.debug "API called: AccountingApi#get_receipts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12537
13095
|
end
|
|
@@ -12605,7 +13163,7 @@ module XeroRuby
|
|
|
12605
13163
|
:return_type => return_type
|
|
12606
13164
|
)
|
|
12607
13165
|
|
|
12608
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13166
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12609
13167
|
if @api_client.config.debugging
|
|
12610
13168
|
@api_client.config.logger.debug "API called: AccountingApi#get_repeating_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12611
13169
|
end
|
|
@@ -12692,7 +13250,7 @@ module XeroRuby
|
|
|
12692
13250
|
:return_type => return_type
|
|
12693
13251
|
)
|
|
12694
13252
|
|
|
12695
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13253
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12696
13254
|
if @api_client.config.debugging
|
|
12697
13255
|
@api_client.config.logger.debug "API called: AccountingApi#get_repeating_invoice_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12698
13256
|
end
|
|
@@ -12779,7 +13337,7 @@ module XeroRuby
|
|
|
12779
13337
|
:return_type => return_type
|
|
12780
13338
|
)
|
|
12781
13339
|
|
|
12782
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13340
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12783
13341
|
if @api_client.config.debugging
|
|
12784
13342
|
@api_client.config.logger.debug "API called: AccountingApi#get_repeating_invoice_attachment_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12785
13343
|
end
|
|
@@ -12853,7 +13411,7 @@ module XeroRuby
|
|
|
12853
13411
|
:return_type => return_type
|
|
12854
13412
|
)
|
|
12855
13413
|
|
|
12856
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13414
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12857
13415
|
if @api_client.config.debugging
|
|
12858
13416
|
@api_client.config.logger.debug "API called: AccountingApi#get_repeating_invoice_attachments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12859
13417
|
end
|
|
@@ -12927,7 +13485,7 @@ module XeroRuby
|
|
|
12927
13485
|
:return_type => return_type
|
|
12928
13486
|
)
|
|
12929
13487
|
|
|
12930
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13488
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
12931
13489
|
if @api_client.config.debugging
|
|
12932
13490
|
@api_client.config.logger.debug "API called: AccountingApi#get_repeating_invoice_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12933
13491
|
end
|
|
@@ -13001,7 +13559,7 @@ module XeroRuby
|
|
|
13001
13559
|
:return_type => return_type
|
|
13002
13560
|
)
|
|
13003
13561
|
|
|
13004
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13562
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13005
13563
|
if @api_client.config.debugging
|
|
13006
13564
|
@api_client.config.logger.debug "API called: AccountingApi#get_repeating_invoices\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13007
13565
|
end
|
|
@@ -13085,7 +13643,7 @@ module XeroRuby
|
|
|
13085
13643
|
:return_type => return_type
|
|
13086
13644
|
)
|
|
13087
13645
|
|
|
13088
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13646
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13089
13647
|
if @api_client.config.debugging
|
|
13090
13648
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_aged_payables_by_contact\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13091
13649
|
end
|
|
@@ -13169,7 +13727,7 @@ module XeroRuby
|
|
|
13169
13727
|
:return_type => return_type
|
|
13170
13728
|
)
|
|
13171
13729
|
|
|
13172
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13730
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13173
13731
|
if @api_client.config.debugging
|
|
13174
13732
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_aged_receivables_by_contact\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13175
13733
|
end
|
|
@@ -13243,7 +13801,7 @@ module XeroRuby
|
|
|
13243
13801
|
:return_type => return_type
|
|
13244
13802
|
)
|
|
13245
13803
|
|
|
13246
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13804
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13247
13805
|
if @api_client.config.debugging
|
|
13248
13806
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_ba_sor_gst\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13249
13807
|
end
|
|
@@ -13311,7 +13869,7 @@ module XeroRuby
|
|
|
13311
13869
|
:return_type => return_type
|
|
13312
13870
|
)
|
|
13313
13871
|
|
|
13314
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13872
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13315
13873
|
if @api_client.config.debugging
|
|
13316
13874
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_ba_sor_gst_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13317
13875
|
end
|
|
@@ -13404,7 +13962,7 @@ module XeroRuby
|
|
|
13404
13962
|
:return_type => return_type
|
|
13405
13963
|
)
|
|
13406
13964
|
|
|
13407
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13965
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13408
13966
|
if @api_client.config.debugging
|
|
13409
13967
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_balance_sheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13410
13968
|
end
|
|
@@ -13478,7 +14036,7 @@ module XeroRuby
|
|
|
13478
14036
|
:return_type => return_type
|
|
13479
14037
|
)
|
|
13480
14038
|
|
|
13481
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14039
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13482
14040
|
if @api_client.config.debugging
|
|
13483
14041
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_bank_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13484
14042
|
end
|
|
@@ -13555,7 +14113,7 @@ module XeroRuby
|
|
|
13555
14113
|
:return_type => return_type
|
|
13556
14114
|
)
|
|
13557
14115
|
|
|
13558
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14116
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13559
14117
|
if @api_client.config.debugging
|
|
13560
14118
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_budget_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13561
14119
|
end
|
|
@@ -13626,7 +14184,7 @@ module XeroRuby
|
|
|
13626
14184
|
:return_type => return_type
|
|
13627
14185
|
)
|
|
13628
14186
|
|
|
13629
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14187
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13630
14188
|
if @api_client.config.debugging
|
|
13631
14189
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_executive_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13632
14190
|
end
|
|
@@ -13728,7 +14286,7 @@ module XeroRuby
|
|
|
13728
14286
|
:return_type => return_type
|
|
13729
14287
|
)
|
|
13730
14288
|
|
|
13731
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14289
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13732
14290
|
if @api_client.config.debugging
|
|
13733
14291
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_profit_and_loss\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13734
14292
|
end
|
|
@@ -13799,7 +14357,7 @@ module XeroRuby
|
|
|
13799
14357
|
:return_type => return_type
|
|
13800
14358
|
)
|
|
13801
14359
|
|
|
13802
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14360
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13803
14361
|
if @api_client.config.debugging
|
|
13804
14362
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_ten_ninety_nine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13805
14363
|
end
|
|
@@ -13873,7 +14431,7 @@ module XeroRuby
|
|
|
13873
14431
|
:return_type => return_type
|
|
13874
14432
|
)
|
|
13875
14433
|
|
|
13876
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14434
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13877
14435
|
if @api_client.config.debugging
|
|
13878
14436
|
@api_client.config.logger.debug "API called: AccountingApi#get_report_trial_balance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13879
14437
|
end
|
|
@@ -13950,7 +14508,7 @@ module XeroRuby
|
|
|
13950
14508
|
:return_type => return_type
|
|
13951
14509
|
)
|
|
13952
14510
|
|
|
13953
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14511
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
13954
14512
|
if @api_client.config.debugging
|
|
13955
14513
|
@api_client.config.logger.debug "API called: AccountingApi#get_tax_rates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13956
14514
|
end
|
|
@@ -14027,7 +14585,7 @@ module XeroRuby
|
|
|
14027
14585
|
:return_type => return_type
|
|
14028
14586
|
)
|
|
14029
14587
|
|
|
14030
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14588
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
14031
14589
|
if @api_client.config.debugging
|
|
14032
14590
|
@api_client.config.logger.debug "API called: AccountingApi#get_tracking_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14033
14591
|
end
|
|
@@ -14101,7 +14659,7 @@ module XeroRuby
|
|
|
14101
14659
|
:return_type => return_type
|
|
14102
14660
|
)
|
|
14103
14661
|
|
|
14104
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14662
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
14105
14663
|
if @api_client.config.debugging
|
|
14106
14664
|
@api_client.config.logger.debug "API called: AccountingApi#get_tracking_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14107
14665
|
end
|
|
@@ -14175,7 +14733,7 @@ module XeroRuby
|
|
|
14175
14733
|
:return_type => return_type
|
|
14176
14734
|
)
|
|
14177
14735
|
|
|
14178
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14736
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
14179
14737
|
if @api_client.config.debugging
|
|
14180
14738
|
@api_client.config.logger.debug "API called: AccountingApi#get_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14181
14739
|
end
|
|
@@ -14252,7 +14810,7 @@ module XeroRuby
|
|
|
14252
14810
|
:return_type => return_type
|
|
14253
14811
|
)
|
|
14254
14812
|
|
|
14255
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14813
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
|
14256
14814
|
if @api_client.config.debugging
|
|
14257
14815
|
@api_client.config.logger.debug "API called: AccountingApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14258
14816
|
end
|
|
@@ -14334,7 +14892,7 @@ module XeroRuby
|
|
|
14334
14892
|
:return_type => return_type
|
|
14335
14893
|
)
|
|
14336
14894
|
|
|
14337
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14895
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14338
14896
|
if @api_client.config.debugging
|
|
14339
14897
|
@api_client.config.logger.debug "API called: AccountingApi#update_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14340
14898
|
end
|
|
@@ -14422,7 +14980,7 @@ module XeroRuby
|
|
|
14422
14980
|
:return_type => return_type
|
|
14423
14981
|
)
|
|
14424
14982
|
|
|
14425
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14983
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14426
14984
|
if @api_client.config.debugging
|
|
14427
14985
|
@api_client.config.logger.debug "API called: AccountingApi#update_account_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14428
14986
|
end
|
|
@@ -14507,7 +15065,7 @@ module XeroRuby
|
|
|
14507
15065
|
:return_type => return_type
|
|
14508
15066
|
)
|
|
14509
15067
|
|
|
14510
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15068
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14511
15069
|
if @api_client.config.debugging
|
|
14512
15070
|
@api_client.config.logger.debug "API called: AccountingApi#update_bank_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14513
15071
|
end
|
|
@@ -14595,7 +15153,7 @@ module XeroRuby
|
|
|
14595
15153
|
:return_type => return_type
|
|
14596
15154
|
)
|
|
14597
15155
|
|
|
14598
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15156
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14599
15157
|
if @api_client.config.debugging
|
|
14600
15158
|
@api_client.config.logger.debug "API called: AccountingApi#update_bank_transaction_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14601
15159
|
end
|
|
@@ -14681,7 +15239,7 @@ module XeroRuby
|
|
|
14681
15239
|
:return_type => return_type
|
|
14682
15240
|
)
|
|
14683
15241
|
|
|
14684
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15242
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14685
15243
|
if @api_client.config.debugging
|
|
14686
15244
|
@api_client.config.logger.debug "API called: AccountingApi#update_bank_transfer_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14687
15245
|
end
|
|
@@ -14761,7 +15319,7 @@ module XeroRuby
|
|
|
14761
15319
|
:return_type => return_type
|
|
14762
15320
|
)
|
|
14763
15321
|
|
|
14764
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15322
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14765
15323
|
if @api_client.config.debugging
|
|
14766
15324
|
@api_client.config.logger.debug "API called: AccountingApi#update_contact\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14767
15325
|
end
|
|
@@ -14847,7 +15405,7 @@ module XeroRuby
|
|
|
14847
15405
|
:return_type => return_type
|
|
14848
15406
|
)
|
|
14849
15407
|
|
|
14850
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15408
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14851
15409
|
if @api_client.config.debugging
|
|
14852
15410
|
@api_client.config.logger.debug "API called: AccountingApi#update_contact_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14853
15411
|
end
|
|
@@ -14929,7 +15487,7 @@ module XeroRuby
|
|
|
14929
15487
|
:return_type => return_type
|
|
14930
15488
|
)
|
|
14931
15489
|
|
|
14932
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15490
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
14933
15491
|
if @api_client.config.debugging
|
|
14934
15492
|
@api_client.config.logger.debug "API called: AccountingApi#update_contact_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14935
15493
|
end
|
|
@@ -15014,7 +15572,7 @@ module XeroRuby
|
|
|
15014
15572
|
:return_type => return_type
|
|
15015
15573
|
)
|
|
15016
15574
|
|
|
15017
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15575
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15018
15576
|
if @api_client.config.debugging
|
|
15019
15577
|
@api_client.config.logger.debug "API called: AccountingApi#update_credit_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15020
15578
|
end
|
|
@@ -15102,7 +15660,7 @@ module XeroRuby
|
|
|
15102
15660
|
:return_type => return_type
|
|
15103
15661
|
)
|
|
15104
15662
|
|
|
15105
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15663
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15106
15664
|
if @api_client.config.debugging
|
|
15107
15665
|
@api_client.config.logger.debug "API called: AccountingApi#update_credit_note_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15108
15666
|
end
|
|
@@ -15184,7 +15742,7 @@ module XeroRuby
|
|
|
15184
15742
|
:return_type => return_type
|
|
15185
15743
|
)
|
|
15186
15744
|
|
|
15187
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15745
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15188
15746
|
if @api_client.config.debugging
|
|
15189
15747
|
@api_client.config.logger.debug "API called: AccountingApi#update_expense_claim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15190
15748
|
end
|
|
@@ -15269,7 +15827,7 @@ module XeroRuby
|
|
|
15269
15827
|
:return_type => return_type
|
|
15270
15828
|
)
|
|
15271
15829
|
|
|
15272
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15830
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15273
15831
|
if @api_client.config.debugging
|
|
15274
15832
|
@api_client.config.logger.debug "API called: AccountingApi#update_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15275
15833
|
end
|
|
@@ -15357,7 +15915,7 @@ module XeroRuby
|
|
|
15357
15915
|
:return_type => return_type
|
|
15358
15916
|
)
|
|
15359
15917
|
|
|
15360
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15918
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15361
15919
|
if @api_client.config.debugging
|
|
15362
15920
|
@api_client.config.logger.debug "API called: AccountingApi#update_invoice_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15363
15921
|
end
|
|
@@ -15442,7 +16000,7 @@ module XeroRuby
|
|
|
15442
16000
|
:return_type => return_type
|
|
15443
16001
|
)
|
|
15444
16002
|
|
|
15445
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16003
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15446
16004
|
if @api_client.config.debugging
|
|
15447
16005
|
@api_client.config.logger.debug "API called: AccountingApi#update_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15448
16006
|
end
|
|
@@ -15524,7 +16082,7 @@ module XeroRuby
|
|
|
15524
16082
|
:return_type => return_type
|
|
15525
16083
|
)
|
|
15526
16084
|
|
|
15527
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16085
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15528
16086
|
if @api_client.config.debugging
|
|
15529
16087
|
@api_client.config.logger.debug "API called: AccountingApi#update_linked_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15530
16088
|
end
|
|
@@ -15606,7 +16164,7 @@ module XeroRuby
|
|
|
15606
16164
|
:return_type => return_type
|
|
15607
16165
|
)
|
|
15608
16166
|
|
|
15609
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16167
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15610
16168
|
if @api_client.config.debugging
|
|
15611
16169
|
@api_client.config.logger.debug "API called: AccountingApi#update_manual_journal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15612
16170
|
end
|
|
@@ -15694,7 +16252,7 @@ module XeroRuby
|
|
|
15694
16252
|
:return_type => return_type
|
|
15695
16253
|
)
|
|
15696
16254
|
|
|
15697
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16255
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15698
16256
|
if @api_client.config.debugging
|
|
15699
16257
|
@api_client.config.logger.debug "API called: AccountingApi#update_manual_journal_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15700
16258
|
end
|
|
@@ -15705,7 +16263,7 @@ module XeroRuby
|
|
|
15705
16263
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15706
16264
|
# @param bank_transactions [BankTransactions]
|
|
15707
16265
|
# @param [Hash] opts the optional parameters
|
|
15708
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16266
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
15709
16267
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
15710
16268
|
# @return [BankTransactions]
|
|
15711
16269
|
def update_or_create_bank_transactions(xero_tenant_id, bank_transactions, opts = {})
|
|
@@ -15717,7 +16275,7 @@ module XeroRuby
|
|
|
15717
16275
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15718
16276
|
# @param bank_transactions [BankTransactions]
|
|
15719
16277
|
# @param [Hash] opts the optional parameters
|
|
15720
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16278
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
15721
16279
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
15722
16280
|
# @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
|
|
15723
16281
|
def update_or_create_bank_transactions_with_http_info(xero_tenant_id, bank_transactions, opts = {})
|
|
@@ -15776,7 +16334,7 @@ module XeroRuby
|
|
|
15776
16334
|
:return_type => return_type
|
|
15777
16335
|
)
|
|
15778
16336
|
|
|
15779
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16337
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15780
16338
|
if @api_client.config.debugging
|
|
15781
16339
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_bank_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15782
16340
|
end
|
|
@@ -15787,7 +16345,7 @@ module XeroRuby
|
|
|
15787
16345
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15788
16346
|
# @param contacts [Contacts]
|
|
15789
16347
|
# @param [Hash] opts the optional parameters
|
|
15790
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16348
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
15791
16349
|
# @return [Contacts]
|
|
15792
16350
|
def update_or_create_contacts(xero_tenant_id, contacts, opts = {})
|
|
15793
16351
|
data, _status_code, _headers = update_or_create_contacts_with_http_info(xero_tenant_id, contacts, opts)
|
|
@@ -15798,7 +16356,7 @@ module XeroRuby
|
|
|
15798
16356
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15799
16357
|
# @param contacts [Contacts]
|
|
15800
16358
|
# @param [Hash] opts the optional parameters
|
|
15801
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16359
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
15802
16360
|
# @return [Array<(Contacts, Integer, Hash)>] Contacts data, response status code and response headers
|
|
15803
16361
|
def update_or_create_contacts_with_http_info(xero_tenant_id, contacts, opts = {})
|
|
15804
16362
|
if @api_client.config.debugging
|
|
@@ -15855,7 +16413,7 @@ module XeroRuby
|
|
|
15855
16413
|
:return_type => return_type
|
|
15856
16414
|
)
|
|
15857
16415
|
|
|
15858
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16416
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15859
16417
|
if @api_client.config.debugging
|
|
15860
16418
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15861
16419
|
end
|
|
@@ -15866,7 +16424,7 @@ module XeroRuby
|
|
|
15866
16424
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15867
16425
|
# @param credit_notes [CreditNotes] an array of Credit Notes with a single CreditNote object.
|
|
15868
16426
|
# @param [Hash] opts the optional parameters
|
|
15869
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16427
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
15870
16428
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
15871
16429
|
# @return [CreditNotes]
|
|
15872
16430
|
def update_or_create_credit_notes(xero_tenant_id, credit_notes, opts = {})
|
|
@@ -15878,7 +16436,7 @@ module XeroRuby
|
|
|
15878
16436
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15879
16437
|
# @param credit_notes [CreditNotes] an array of Credit Notes with a single CreditNote object.
|
|
15880
16438
|
# @param [Hash] opts the optional parameters
|
|
15881
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16439
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
15882
16440
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
15883
16441
|
# @return [Array<(CreditNotes, Integer, Hash)>] CreditNotes data, response status code and response headers
|
|
15884
16442
|
def update_or_create_credit_notes_with_http_info(xero_tenant_id, credit_notes, opts = {})
|
|
@@ -15937,7 +16495,7 @@ module XeroRuby
|
|
|
15937
16495
|
:return_type => return_type
|
|
15938
16496
|
)
|
|
15939
16497
|
|
|
15940
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16498
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
15941
16499
|
if @api_client.config.debugging
|
|
15942
16500
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_credit_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15943
16501
|
end
|
|
@@ -15948,7 +16506,7 @@ module XeroRuby
|
|
|
15948
16506
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15949
16507
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
15950
16508
|
# @param [Hash] opts the optional parameters
|
|
15951
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16509
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
15952
16510
|
# @return [Employees]
|
|
15953
16511
|
def update_or_create_employees(xero_tenant_id, employees, opts = {})
|
|
15954
16512
|
data, _status_code, _headers = update_or_create_employees_with_http_info(xero_tenant_id, employees, opts)
|
|
@@ -15959,7 +16517,7 @@ module XeroRuby
|
|
|
15959
16517
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
15960
16518
|
# @param employees [Employees] Employees with array of Employee object in body of request
|
|
15961
16519
|
# @param [Hash] opts the optional parameters
|
|
15962
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16520
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
15963
16521
|
# @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
|
|
15964
16522
|
def update_or_create_employees_with_http_info(xero_tenant_id, employees, opts = {})
|
|
15965
16523
|
if @api_client.config.debugging
|
|
@@ -16016,7 +16574,7 @@ module XeroRuby
|
|
|
16016
16574
|
:return_type => return_type
|
|
16017
16575
|
)
|
|
16018
16576
|
|
|
16019
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16577
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16020
16578
|
if @api_client.config.debugging
|
|
16021
16579
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_employees\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16022
16580
|
end
|
|
@@ -16027,7 +16585,7 @@ module XeroRuby
|
|
|
16027
16585
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16028
16586
|
# @param invoices [Invoices]
|
|
16029
16587
|
# @param [Hash] opts the optional parameters
|
|
16030
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16588
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
16031
16589
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
16032
16590
|
# @return [Invoices]
|
|
16033
16591
|
def update_or_create_invoices(xero_tenant_id, invoices, opts = {})
|
|
@@ -16039,7 +16597,7 @@ module XeroRuby
|
|
|
16039
16597
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16040
16598
|
# @param invoices [Invoices]
|
|
16041
16599
|
# @param [Hash] opts the optional parameters
|
|
16042
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16600
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
16043
16601
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
16044
16602
|
# @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
|
|
16045
16603
|
def update_or_create_invoices_with_http_info(xero_tenant_id, invoices, opts = {})
|
|
@@ -16098,7 +16656,7 @@ module XeroRuby
|
|
|
16098
16656
|
:return_type => return_type
|
|
16099
16657
|
)
|
|
16100
16658
|
|
|
16101
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16659
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16102
16660
|
if @api_client.config.debugging
|
|
16103
16661
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_invoices\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16104
16662
|
end
|
|
@@ -16109,7 +16667,7 @@ module XeroRuby
|
|
|
16109
16667
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16110
16668
|
# @param items [Items]
|
|
16111
16669
|
# @param [Hash] opts the optional parameters
|
|
16112
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16670
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
16113
16671
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
16114
16672
|
# @return [Items]
|
|
16115
16673
|
def update_or_create_items(xero_tenant_id, items, opts = {})
|
|
@@ -16121,7 +16679,7 @@ module XeroRuby
|
|
|
16121
16679
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16122
16680
|
# @param items [Items]
|
|
16123
16681
|
# @param [Hash] opts the optional parameters
|
|
16124
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16682
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
16125
16683
|
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
16126
16684
|
# @return [Array<(Items, Integer, Hash)>] Items data, response status code and response headers
|
|
16127
16685
|
def update_or_create_items_with_http_info(xero_tenant_id, items, opts = {})
|
|
@@ -16180,7 +16738,7 @@ module XeroRuby
|
|
|
16180
16738
|
:return_type => return_type
|
|
16181
16739
|
)
|
|
16182
16740
|
|
|
16183
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16741
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16184
16742
|
if @api_client.config.debugging
|
|
16185
16743
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16186
16744
|
end
|
|
@@ -16191,7 +16749,7 @@ module XeroRuby
|
|
|
16191
16749
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16192
16750
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
16193
16751
|
# @param [Hash] opts the optional parameters
|
|
16194
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16752
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
16195
16753
|
# @return [ManualJournals]
|
|
16196
16754
|
def update_or_create_manual_journals(xero_tenant_id, manual_journals, opts = {})
|
|
16197
16755
|
data, _status_code, _headers = update_or_create_manual_journals_with_http_info(xero_tenant_id, manual_journals, opts)
|
|
@@ -16202,7 +16760,7 @@ module XeroRuby
|
|
|
16202
16760
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16203
16761
|
# @param manual_journals [ManualJournals] ManualJournals array with ManualJournal object in body of request
|
|
16204
16762
|
# @param [Hash] opts the optional parameters
|
|
16205
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16763
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
16206
16764
|
# @return [Array<(ManualJournals, Integer, Hash)>] ManualJournals data, response status code and response headers
|
|
16207
16765
|
def update_or_create_manual_journals_with_http_info(xero_tenant_id, manual_journals, opts = {})
|
|
16208
16766
|
if @api_client.config.debugging
|
|
@@ -16259,7 +16817,7 @@ module XeroRuby
|
|
|
16259
16817
|
:return_type => return_type
|
|
16260
16818
|
)
|
|
16261
16819
|
|
|
16262
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16820
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16263
16821
|
if @api_client.config.debugging
|
|
16264
16822
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_manual_journals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16265
16823
|
end
|
|
@@ -16270,7 +16828,7 @@ module XeroRuby
|
|
|
16270
16828
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16271
16829
|
# @param purchase_orders [PurchaseOrders]
|
|
16272
16830
|
# @param [Hash] opts the optional parameters
|
|
16273
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16831
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
16274
16832
|
# @return [PurchaseOrders]
|
|
16275
16833
|
def update_or_create_purchase_orders(xero_tenant_id, purchase_orders, opts = {})
|
|
16276
16834
|
data, _status_code, _headers = update_or_create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, opts)
|
|
@@ -16281,7 +16839,7 @@ module XeroRuby
|
|
|
16281
16839
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16282
16840
|
# @param purchase_orders [PurchaseOrders]
|
|
16283
16841
|
# @param [Hash] opts the optional parameters
|
|
16284
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16842
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
16285
16843
|
# @return [Array<(PurchaseOrders, Integer, Hash)>] PurchaseOrders data, response status code and response headers
|
|
16286
16844
|
def update_or_create_purchase_orders_with_http_info(xero_tenant_id, purchase_orders, opts = {})
|
|
16287
16845
|
if @api_client.config.debugging
|
|
@@ -16338,7 +16896,7 @@ module XeroRuby
|
|
|
16338
16896
|
:return_type => return_type
|
|
16339
16897
|
)
|
|
16340
16898
|
|
|
16341
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16899
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16342
16900
|
if @api_client.config.debugging
|
|
16343
16901
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_purchase_orders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16344
16902
|
end
|
|
@@ -16349,7 +16907,7 @@ module XeroRuby
|
|
|
16349
16907
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16350
16908
|
# @param quotes [Quotes]
|
|
16351
16909
|
# @param [Hash] opts the optional parameters
|
|
16352
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16910
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
|
16353
16911
|
# @return [Quotes]
|
|
16354
16912
|
def update_or_create_quotes(xero_tenant_id, quotes, opts = {})
|
|
16355
16913
|
data, _status_code, _headers = update_or_create_quotes_with_http_info(xero_tenant_id, quotes, opts)
|
|
@@ -16360,7 +16918,7 @@ module XeroRuby
|
|
|
16360
16918
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16361
16919
|
# @param quotes [Quotes]
|
|
16362
16920
|
# @param [Hash] opts the optional parameters
|
|
16363
|
-
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created
|
|
16921
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
16364
16922
|
# @return [Array<(Quotes, Integer, Hash)>] Quotes data, response status code and response headers
|
|
16365
16923
|
def update_or_create_quotes_with_http_info(xero_tenant_id, quotes, opts = {})
|
|
16366
16924
|
if @api_client.config.debugging
|
|
@@ -16417,7 +16975,7 @@ module XeroRuby
|
|
|
16417
16975
|
:return_type => return_type
|
|
16418
16976
|
)
|
|
16419
16977
|
|
|
16420
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
16978
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16421
16979
|
if @api_client.config.debugging
|
|
16422
16980
|
@api_client.config.logger.debug "API called: AccountingApi#update_or_create_quotes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16423
16981
|
end
|
|
@@ -16499,13 +17057,101 @@ module XeroRuby
|
|
|
16499
17057
|
:return_type => return_type
|
|
16500
17058
|
)
|
|
16501
17059
|
|
|
16502
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17060
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16503
17061
|
if @api_client.config.debugging
|
|
16504
17062
|
@api_client.config.logger.debug "API called: AccountingApi#update_purchase_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16505
17063
|
end
|
|
16506
17064
|
return data, status_code, headers
|
|
16507
17065
|
end
|
|
16508
17066
|
|
|
17067
|
+
# Allows you to update Attachment on Purchase Order by Filename
|
|
17068
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17069
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
17070
|
+
# @param file_name [String] Name of the attachment
|
|
17071
|
+
# @param body [String] Byte array of file in body of request
|
|
17072
|
+
# @param [Hash] opts the optional parameters
|
|
17073
|
+
# @return [Attachments]
|
|
17074
|
+
def update_purchase_order_attachment_by_file_name(xero_tenant_id, purchase_order_id, file_name, body, opts = {})
|
|
17075
|
+
data, _status_code, _headers = update_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, opts)
|
|
17076
|
+
data
|
|
17077
|
+
end
|
|
17078
|
+
|
|
17079
|
+
# Allows you to update Attachment on Purchase Order by Filename
|
|
17080
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
17081
|
+
# @param purchase_order_id [String] Unique identifier for Purchase Order object
|
|
17082
|
+
# @param file_name [String] Name of the attachment
|
|
17083
|
+
# @param body [String] Byte array of file in body of request
|
|
17084
|
+
# @param [Hash] opts the optional parameters
|
|
17085
|
+
# @return [Array<(Attachments, Integer, Hash)>] Attachments data, response status code and response headers
|
|
17086
|
+
def update_purchase_order_attachment_by_file_name_with_http_info(xero_tenant_id, purchase_order_id, file_name, body, opts = {})
|
|
17087
|
+
if @api_client.config.debugging
|
|
17088
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.update_purchase_order_attachment_by_file_name ...'
|
|
17089
|
+
end
|
|
17090
|
+
# verify the required parameter 'xero_tenant_id' is set
|
|
17091
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
|
17092
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.update_purchase_order_attachment_by_file_name"
|
|
17093
|
+
end
|
|
17094
|
+
# verify the required parameter 'purchase_order_id' is set
|
|
17095
|
+
if @api_client.config.client_side_validation && purchase_order_id.nil?
|
|
17096
|
+
fail ArgumentError, "Missing the required parameter 'purchase_order_id' when calling AccountingApi.update_purchase_order_attachment_by_file_name"
|
|
17097
|
+
end
|
|
17098
|
+
# verify the required parameter 'file_name' is set
|
|
17099
|
+
if @api_client.config.client_side_validation && file_name.nil?
|
|
17100
|
+
fail ArgumentError, "Missing the required parameter 'file_name' when calling AccountingApi.update_purchase_order_attachment_by_file_name"
|
|
17101
|
+
end
|
|
17102
|
+
# verify the required parameter 'body' is set
|
|
17103
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
17104
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AccountingApi.update_purchase_order_attachment_by_file_name"
|
|
17105
|
+
end
|
|
17106
|
+
# resource path
|
|
17107
|
+
local_var_path = '/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
|
17108
|
+
|
|
17109
|
+
# camelize keys of incoming `where` opts
|
|
17110
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
|
17111
|
+
|
|
17112
|
+
# query parameters
|
|
17113
|
+
query_params = opts[:query_params] || {}
|
|
17114
|
+
|
|
17115
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
|
17116
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
|
17117
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
|
17118
|
+
|
|
17119
|
+
# header parameters
|
|
17120
|
+
header_params = opts[:header_params] || {}
|
|
17121
|
+
# HTTP header 'Accept' (if needed)
|
|
17122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
17123
|
+
# HTTP header 'Content-Type'
|
|
17124
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
|
|
17125
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
|
17126
|
+
|
|
17127
|
+
# form parameters
|
|
17128
|
+
form_params = opts[:form_params] || {}
|
|
17129
|
+
|
|
17130
|
+
# http body (model)
|
|
17131
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
17132
|
+
|
|
17133
|
+
# return_type
|
|
17134
|
+
return_type = opts[:return_type] || 'Attachments'
|
|
17135
|
+
|
|
17136
|
+
# auth_names
|
|
17137
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
|
17138
|
+
|
|
17139
|
+
new_options = opts.merge(
|
|
17140
|
+
:header_params => header_params,
|
|
17141
|
+
:query_params => query_params,
|
|
17142
|
+
:form_params => form_params,
|
|
17143
|
+
:body => post_body,
|
|
17144
|
+
:auth_names => auth_names,
|
|
17145
|
+
:return_type => return_type
|
|
17146
|
+
)
|
|
17147
|
+
|
|
17148
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
17149
|
+
if @api_client.config.debugging
|
|
17150
|
+
@api_client.config.logger.debug "API called: AccountingApi#update_purchase_order_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
17151
|
+
end
|
|
17152
|
+
return data, status_code, headers
|
|
17153
|
+
end
|
|
17154
|
+
|
|
16509
17155
|
# Allows you to update a specified quote
|
|
16510
17156
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
|
16511
17157
|
# @param quote_id [String] Unique identifier for an Quote
|
|
@@ -16581,7 +17227,7 @@ module XeroRuby
|
|
|
16581
17227
|
:return_type => return_type
|
|
16582
17228
|
)
|
|
16583
17229
|
|
|
16584
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17230
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16585
17231
|
if @api_client.config.debugging
|
|
16586
17232
|
@api_client.config.logger.debug "API called: AccountingApi#update_quote\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16587
17233
|
end
|
|
@@ -16669,7 +17315,7 @@ module XeroRuby
|
|
|
16669
17315
|
:return_type => return_type
|
|
16670
17316
|
)
|
|
16671
17317
|
|
|
16672
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17318
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16673
17319
|
if @api_client.config.debugging
|
|
16674
17320
|
@api_client.config.logger.debug "API called: AccountingApi#update_quote_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16675
17321
|
end
|
|
@@ -16754,7 +17400,7 @@ module XeroRuby
|
|
|
16754
17400
|
:return_type => return_type
|
|
16755
17401
|
)
|
|
16756
17402
|
|
|
16757
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17403
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16758
17404
|
if @api_client.config.debugging
|
|
16759
17405
|
@api_client.config.logger.debug "API called: AccountingApi#update_receipt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16760
17406
|
end
|
|
@@ -16842,7 +17488,7 @@ module XeroRuby
|
|
|
16842
17488
|
:return_type => return_type
|
|
16843
17489
|
)
|
|
16844
17490
|
|
|
16845
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17491
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16846
17492
|
if @api_client.config.debugging
|
|
16847
17493
|
@api_client.config.logger.debug "API called: AccountingApi#update_receipt_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16848
17494
|
end
|
|
@@ -16930,7 +17576,7 @@ module XeroRuby
|
|
|
16930
17576
|
:return_type => return_type
|
|
16931
17577
|
)
|
|
16932
17578
|
|
|
16933
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17579
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
16934
17580
|
if @api_client.config.debugging
|
|
16935
17581
|
@api_client.config.logger.debug "API called: AccountingApi#update_repeating_invoice_attachment_by_file_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16936
17582
|
end
|
|
@@ -17006,7 +17652,7 @@ module XeroRuby
|
|
|
17006
17652
|
:return_type => return_type
|
|
17007
17653
|
)
|
|
17008
17654
|
|
|
17009
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17655
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
17010
17656
|
if @api_client.config.debugging
|
|
17011
17657
|
@api_client.config.logger.debug "API called: AccountingApi#update_tax_rate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
17012
17658
|
end
|
|
@@ -17088,7 +17734,7 @@ module XeroRuby
|
|
|
17088
17734
|
:return_type => return_type
|
|
17089
17735
|
)
|
|
17090
17736
|
|
|
17091
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17737
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
17092
17738
|
if @api_client.config.debugging
|
|
17093
17739
|
@api_client.config.logger.debug "API called: AccountingApi#update_tracking_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
17094
17740
|
end
|
|
@@ -17176,7 +17822,7 @@ module XeroRuby
|
|
|
17176
17822
|
:return_type => return_type
|
|
17177
17823
|
)
|
|
17178
17824
|
|
|
17179
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
17825
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AccountingApi", new_options)
|
|
17180
17826
|
if @api_client.config.debugging
|
|
17181
17827
|
@api_client.config.logger.debug "API called: AccountingApi#update_tracking_options\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
17182
17828
|
end
|