xero-ruby 12.4.0 → 14.0.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/lib/xero-ruby/api/accounting_api.rb +3 -0
- data/lib/xero-ruby/api/finance_api.rb +0 -299
- data/lib/xero-ruby/api/payroll_au_v2_api.rb +751 -0
- data/lib/xero-ruby/models/accounting/prepayment.rb +11 -1
- data/lib/xero-ruby/models/payroll_au/earnings_rate.rb +11 -1
- data/lib/xero-ruby/models/payroll_au/employee.rb +1 -13
- data/lib/xero-ruby/models/payroll_au/leave_line.rb +11 -1
- data/lib/xero-ruby/models/payroll_au/leave_type.rb +14 -4
- data/lib/xero-ruby/models/payroll_au/opening_balance_leave_line.rb +232 -0
- data/lib/xero-ruby/models/payroll_au/opening_balances.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +14 -4
- data/lib/xero-ruby/models/payroll_au_v2/invalid_field.rb +232 -0
- data/lib/xero-ruby/models/payroll_au_v2/pagination.rb +252 -0
- data/lib/xero-ruby/models/payroll_au_v2/problem.rb +275 -0
- data/lib/xero-ruby/models/payroll_au_v2/timesheet.rb +361 -0
- data/lib/xero-ruby/models/payroll_au_v2/timesheet_line.rb +277 -0
- data/lib/xero-ruby/models/payroll_au_v2/timesheet_line_object.rb +242 -0
- data/lib/xero-ruby/models/payroll_au_v2/timesheet_object.rb +242 -0
- data/lib/xero-ruby/models/payroll_au_v2/timesheets.rb +244 -0
- data/lib/xero-ruby/models/payroll_uk/earnings_rate.rb +3 -2
- data/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb +3 -2
- data/lib/xero-ruby/version.rb +2 -2
- data/lib/xero-ruby.rb +10 -10
- data/spec/finance/api/finance_api_spec.rb +0 -53
- metadata +386 -396
- data/spec/finance/models/account_usage_response_spec.rb +0 -58
- data/spec/finance/models/account_usage_spec.rb +0 -112
- data/spec/finance/models/history_record_response_spec.rb +0 -64
- data/spec/finance/models/lock_history_model_spec.rb +0 -52
- data/spec/finance/models/lock_history_response_spec.rb +0 -52
- data/spec/finance/models/practice_response_spec.rb +0 -64
- data/spec/finance/models/report_history_model_spec.rb +0 -52
- data/spec/finance/models/report_history_response_spec.rb +0 -52
- data/spec/finance/models/user_activities_response_spec.rb +0 -52
- data/spec/finance/models/user_response_spec.rb +0 -106
|
@@ -31,59 +31,6 @@ describe 'FinanceApi' do
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
# unit tests for get_accounting_activity_account_usage
|
|
35
|
-
# Get account usage
|
|
36
|
-
# A summary of how each account is being transacted on exposing the level of detail and amounts attributable to manual adjustments.
|
|
37
|
-
# @param xero_tenant_id Xero identifier for Tenant
|
|
38
|
-
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [String] :start_month date, yyyy-MM If no parameter is provided, the month 12 months prior to the end month will be used. Account usage for up to 12 months from this date will be returned.
|
|
40
|
-
# @option opts [String] :end_month date, yyyy-MM If no parameter is provided, the current month will be used. Account usage for up to 12 months prior to this date will be returned.
|
|
41
|
-
# @return [AccountUsageResponse]
|
|
42
|
-
describe 'get_accounting_activity_account_usage test' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
# unit tests for get_accounting_activity_lock_history
|
|
49
|
-
# Get lock history
|
|
50
|
-
# Provides a history of locking of accounting books. Locking may be an indicator of good accounting practices that could reduce the risk of changes to accounting records in prior periods.
|
|
51
|
-
# @param xero_tenant_id Xero identifier for Tenant
|
|
52
|
-
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [String] :end_date date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any changes to hard or soft lock dates that were made within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a change is visible from this API.
|
|
54
|
-
# @return [LockHistoryResponse]
|
|
55
|
-
describe 'get_accounting_activity_lock_history test' do
|
|
56
|
-
it 'should work' do
|
|
57
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
# unit tests for get_accounting_activity_report_history
|
|
62
|
-
# Get report history
|
|
63
|
-
# For a specified organisation, provides a summary of all the reports published within a given period, which may be an indicator for good business management and oversight.
|
|
64
|
-
# @param xero_tenant_id Xero identifier for Tenant
|
|
65
|
-
# @param [Hash] opts the optional parameters
|
|
66
|
-
# @option opts [String] :end_date date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any reports that were published within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a published report is visible from this API.
|
|
67
|
-
# @return [ReportHistoryResponse]
|
|
68
|
-
describe 'get_accounting_activity_report_history test' do
|
|
69
|
-
it 'should work' do
|
|
70
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
|
|
74
|
-
# unit tests for get_accounting_activity_user_activities
|
|
75
|
-
# Get user activities
|
|
76
|
-
# For a specified organisation, provides a list of all the users registered, and a history of their accounting transactions. Also identifies the existence of an external accounting advisor and the level of interaction.
|
|
77
|
-
# @param xero_tenant_id Xero identifier for Tenant
|
|
78
|
-
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [String] :data_month date, yyyy-MM The specified month must be complete (in the past); The current month cannot be specified since it is not complete. If no parameter is provided, the month immediately previous to the current month will be used. Any user activities occurring within the specified month will be returned. Please be aware that there may be a delay of up to 3 days before a user activity is visible from this API.
|
|
80
|
-
# @return [UserActivitiesResponse]
|
|
81
|
-
describe 'get_accounting_activity_user_activities test' do
|
|
82
|
-
it 'should work' do
|
|
83
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
84
|
-
end
|
|
85
|
-
end
|
|
86
|
-
|
|
87
34
|
# unit tests for get_cash_validation
|
|
88
35
|
# Get cash validation
|
|
89
36
|
# Summarizes the total cash position for each account for an org
|