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
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::AccountUsageResponse
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'AccountUsageResponse' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::AccountUsageResponse.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of AccountUsageResponse' do
|
|
30
|
-
it 'should create an instance of AccountUsageResponse' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::AccountUsageResponse)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "organisation_id"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "start_month"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "end_month"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
describe 'test attribute "account_usage"' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
end
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::AccountUsage
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'AccountUsage' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::AccountUsage.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of AccountUsage' do
|
|
30
|
-
it 'should create an instance of AccountUsage' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::AccountUsage)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "month"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "account_id"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "currency_code"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
describe 'test attribute "total_received"' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
describe 'test attribute "count_received"' do
|
|
59
|
-
it 'should work' do
|
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
describe 'test attribute "total_paid"' do
|
|
65
|
-
it 'should work' do
|
|
66
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
describe 'test attribute "count_paid"' do
|
|
71
|
-
it 'should work' do
|
|
72
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
describe 'test attribute "total_manual_journal"' do
|
|
77
|
-
it 'should work' do
|
|
78
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
describe 'test attribute "count_manual_journal"' do
|
|
83
|
-
it 'should work' do
|
|
84
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
-
end
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
describe 'test attribute "account_name"' do
|
|
89
|
-
it 'should work' do
|
|
90
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
|
-
end
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
describe 'test attribute "reporting_code"' do
|
|
95
|
-
it 'should work' do
|
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
|
|
100
|
-
describe 'test attribute "reporting_code_name"' do
|
|
101
|
-
it 'should work' do
|
|
102
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
|
-
end
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
describe 'test attribute "report_code_updated_date_utc"' do
|
|
107
|
-
it 'should work' do
|
|
108
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
109
|
-
end
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
end
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::HistoryRecordResponse
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'HistoryRecordResponse' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::HistoryRecordResponse.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of HistoryRecordResponse' do
|
|
30
|
-
it 'should create an instance of HistoryRecordResponse' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::HistoryRecordResponse)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "changes"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "date_utc_string"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "date_utc"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
describe 'test attribute "user"' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
describe 'test attribute "details"' do
|
|
59
|
-
it 'should work' do
|
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::LockHistoryModel
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'LockHistoryModel' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::LockHistoryModel.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of LockHistoryModel' do
|
|
30
|
-
it 'should create an instance of LockHistoryModel' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::LockHistoryModel)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "hard_lock_date"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "soft_lock_date"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "updated_date_utc"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::LockHistoryResponse
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'LockHistoryResponse' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::LockHistoryResponse.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of LockHistoryResponse' do
|
|
30
|
-
it 'should create an instance of LockHistoryResponse' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::LockHistoryResponse)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "organisation_id"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "end_date"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "lock_dates"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
end
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::PracticeResponse
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'PracticeResponse' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::PracticeResponse.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of PracticeResponse' do
|
|
30
|
-
it 'should create an instance of PracticeResponse' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::PracticeResponse)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "xero_partner_since"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "tier"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "location"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
describe 'test attribute "organisation_count"' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
describe 'test attribute "staff_certified"' do
|
|
59
|
-
it 'should work' do
|
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::ReportHistoryModel
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'ReportHistoryModel' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::ReportHistoryModel.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of ReportHistoryModel' do
|
|
30
|
-
it 'should create an instance of ReportHistoryModel' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::ReportHistoryModel)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "report_name"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "report_date_text"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "published_date_utc"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::ReportHistoryResponse
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'ReportHistoryResponse' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::ReportHistoryResponse.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of ReportHistoryResponse' do
|
|
30
|
-
it 'should create an instance of ReportHistoryResponse' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::ReportHistoryResponse)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "organisation_id"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "end_date"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "reports"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::UserActivitiesResponse
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'UserActivitiesResponse' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::UserActivitiesResponse.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of UserActivitiesResponse' do
|
|
30
|
-
it 'should create an instance of UserActivitiesResponse' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::UserActivitiesResponse)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "organisation_id"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "data_month"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "users"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
end
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Xero Finance API
|
|
3
|
-
|
|
4
|
-
#The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
5
|
-
|
|
6
|
-
Contact: api@xero.com
|
|
7
|
-
Generated by: https://openapi-generator.tech
|
|
8
|
-
OpenAPI Generator version: 4.3.1
|
|
9
|
-
|
|
10
|
-
=end
|
|
11
|
-
|
|
12
|
-
require 'spec_helper'
|
|
13
|
-
require 'json'
|
|
14
|
-
require 'date'
|
|
15
|
-
|
|
16
|
-
# Unit tests for XeroRuby::Finance::UserResponse
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'UserResponse' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@instance = XeroRuby::Finance::UserResponse.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of UserResponse' do
|
|
30
|
-
it 'should create an instance of UserResponse' do
|
|
31
|
-
expect(@instance).to be_instance_of(XeroRuby::Finance::UserResponse)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
describe 'test attribute "user_id"' do
|
|
35
|
-
it 'should work' do
|
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test attribute "user_created_date_utc"' do
|
|
41
|
-
it 'should work' do
|
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
describe 'test attribute "last_login_date_utc"' do
|
|
47
|
-
it 'should work' do
|
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
describe 'test attribute "is_external_partner"' do
|
|
53
|
-
it 'should work' do
|
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
describe 'test attribute "has_accountant_role"' do
|
|
59
|
-
it 'should work' do
|
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
describe 'test attribute "month_period"' do
|
|
65
|
-
it 'should work' do
|
|
66
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
describe 'test attribute "number_of_logins"' do
|
|
71
|
-
it 'should work' do
|
|
72
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
describe 'test attribute "number_of_documents_created"' do
|
|
77
|
-
it 'should work' do
|
|
78
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
describe 'test attribute "net_value_documents_created"' do
|
|
83
|
-
it 'should work' do
|
|
84
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
-
end
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
describe 'test attribute "absolute_value_documents_created"' do
|
|
89
|
-
it 'should work' do
|
|
90
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
|
-
end
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
describe 'test attribute "attached_practices"' do
|
|
95
|
-
it 'should work' do
|
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
|
|
100
|
-
describe 'test attribute "history_records"' do
|
|
101
|
-
it 'should work' do
|
|
102
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
|
-
end
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
end
|