stackone_hris_client 1.3.2 → 1.5.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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +14 -5
  4. data/docs/AccountsApi.md +4 -7
  5. data/docs/CompaniesApi.md +3 -5
  6. data/docs/ConnectSessionsApi.md +3 -5
  7. data/docs/CountryCodeEnum.md +20 -0
  8. data/docs/Employee.md +5 -9
  9. data/docs/EmployeesApi.md +5 -7
  10. data/docs/Employment.md +3 -3
  11. data/docs/EmploymentStatusEnum.md +20 -0
  12. data/docs/EmploymentTypeEnum.md +20 -0
  13. data/docs/EmploymentsApi.md +3 -5
  14. data/docs/EthnicityEnum.md +20 -0
  15. data/docs/GenderEnum.md +20 -0
  16. data/docs/Location.md +2 -2
  17. data/docs/LocationTypeEnum.md +20 -0
  18. data/docs/LocationsApi.md +3 -5
  19. data/docs/MaritalStatusEnum.md +20 -0
  20. data/docs/PayFrequencyEnum.md +20 -0
  21. data/docs/PayPeriodEnum.md +20 -0
  22. data/gem-config.yml +1 -1
  23. data/lib/stackone_hris_client/models/country_code_enum.rb +270 -0
  24. data/lib/stackone_hris_client/models/employee.rb +6 -106
  25. data/lib/stackone_hris_client/models/employment.rb +3 -61
  26. data/lib/stackone_hris_client/models/employment_status_enum.rb +270 -0
  27. data/lib/stackone_hris_client/models/employment_type_enum.rb +270 -0
  28. data/lib/stackone_hris_client/models/ethnicity_enum.rb +270 -0
  29. data/lib/stackone_hris_client/models/gender_enum.rb +270 -0
  30. data/lib/stackone_hris_client/models/location.rb +2 -36
  31. data/lib/stackone_hris_client/models/location_type_enum.rb +270 -0
  32. data/lib/stackone_hris_client/models/marital_status_enum.rb +270 -0
  33. data/lib/stackone_hris_client/models/pay_frequency_enum.rb +270 -0
  34. data/lib/stackone_hris_client/models/pay_period_enum.rb +270 -0
  35. data/lib/stackone_hris_client/version.rb +1 -1
  36. data/lib/stackone_hris_client.rb +9 -0
  37. data/spec/configuration_spec.rb +3 -3
  38. data/spec/models/country_code_enum_spec.rb +44 -0
  39. data/spec/models/employment_status_enum_spec.rb +44 -0
  40. data/spec/models/employment_type_enum_spec.rb +44 -0
  41. data/spec/models/ethnicity_enum_spec.rb +44 -0
  42. data/spec/models/gender_enum_spec.rb +44 -0
  43. data/spec/models/location_type_enum_spec.rb +44 -0
  44. data/spec/models/marital_status_enum_spec.rb +44 -0
  45. data/spec/models/pay_frequency_enum_spec.rb +44 -0
  46. data/spec/models/pay_period_enum_spec.rb +44 -0
  47. metadata +38 -2
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::EmploymentTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EmploymentTypeEnum do
21
+ let(:instance) { StackOneHRIS::EmploymentTypeEnum.new }
22
+
23
+ describe 'test an instance of EmploymentTypeEnum' do
24
+ it 'should create an instance of EmploymentTypeEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EmploymentTypeEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "unmapped_value", "temporary", "seasonal", "volunteer"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::EthnicityEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::EthnicityEnum do
21
+ let(:instance) { StackOneHRIS::EthnicityEnum.new }
22
+
23
+ describe 'test an instance of EthnicityEnum' do
24
+ it 'should create an instance of EthnicityEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::EthnicityEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["white", "black_or_african_american", "asian", "hispanic_or_latino", "american_indian_or_alaska_native", "native_hawaiian_or_pacific_islander", "two_or_more_races", "not_disclosed", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::GenderEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::GenderEnum do
21
+ let(:instance) { StackOneHRIS::GenderEnum.new }
22
+
23
+ describe 'test an instance of GenderEnum' do
24
+ it 'should create an instance of GenderEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::GenderEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female", "non_binary", "other", "not_disclosed", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::LocationTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::LocationTypeEnum do
21
+ let(:instance) { StackOneHRIS::LocationTypeEnum.new }
22
+
23
+ describe 'test an instance of LocationTypeEnum' do
24
+ it 'should create an instance of LocationTypeEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::LocationTypeEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["home", "work", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::MaritalStatusEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::MaritalStatusEnum do
21
+ let(:instance) { StackOneHRIS::MaritalStatusEnum.new }
22
+
23
+ describe 'test an instance of MaritalStatusEnum' do
24
+ it 'should create an instance of MaritalStatusEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::MaritalStatusEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "divorced", "widowed", "domestic_partnership", "separated", "other", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::PayFrequencyEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::PayFrequencyEnum do
21
+ let(:instance) { StackOneHRIS::PayFrequencyEnum.new }
22
+
23
+ describe 'test an instance of PayFrequencyEnum' do
24
+ it 'should create an instance of PayFrequencyEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::PayFrequencyEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["hourly", "weekly", "bi_weekly", "four_weekly", "semi_monthly", "monthly", "quarterly", "semi_annually", "yearly", "thirteen_monthly", "pro_rata", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ end
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #StackOne Unified API - HRIS
3
+
4
+ #The documentation for the StackOne Unified API - HRIS
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for StackOneHRIS::PayPeriodEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe StackOneHRIS::PayPeriodEnum do
21
+ let(:instance) { StackOneHRIS::PayPeriodEnum.new }
22
+
23
+ describe 'test an instance of PayPeriodEnum' do
24
+ it 'should create an instance of PayPeriodEnum' do
25
+ expect(instance).to be_instance_of(StackOneHRIS::PayPeriodEnum)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["hour", "day", "week", "every_two_weeks", "month", "quarter", "every_six_months", "year", "unmapped_value"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.value = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "source_value"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackone_hris_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-03 00:00:00.000000000 Z
11
+ date: 2023-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -72,18 +72,27 @@ files:
72
72
  - docs/ConnectSessionCreate.md
73
73
  - docs/ConnectSessionToken.md
74
74
  - docs/ConnectSessionsApi.md
75
+ - docs/CountryCodeEnum.md
75
76
  - docs/Employee.md
76
77
  - docs/EmployeeResult.md
77
78
  - docs/EmployeesApi.md
78
79
  - docs/EmployeesPaginated.md
79
80
  - docs/Employment.md
80
81
  - docs/EmploymentResult.md
82
+ - docs/EmploymentStatusEnum.md
83
+ - docs/EmploymentTypeEnum.md
81
84
  - docs/EmploymentsApi.md
82
85
  - docs/EmploymentsPaginated.md
86
+ - docs/EthnicityEnum.md
87
+ - docs/GenderEnum.md
83
88
  - docs/Location.md
84
89
  - docs/LocationResult.md
90
+ - docs/LocationTypeEnum.md
85
91
  - docs/LocationsApi.md
86
92
  - docs/LocationsPaginated.md
93
+ - docs/MaritalStatusEnum.md
94
+ - docs/PayFrequencyEnum.md
95
+ - docs/PayPeriodEnum.md
87
96
  - gem-config.yml
88
97
  - generate_gem.sh
89
98
  - git_push.sh
@@ -105,15 +114,24 @@ files:
105
114
  - lib/stackone_hris_client/models/connect_session_authenticate.rb
106
115
  - lib/stackone_hris_client/models/connect_session_create.rb
107
116
  - lib/stackone_hris_client/models/connect_session_token.rb
117
+ - lib/stackone_hris_client/models/country_code_enum.rb
108
118
  - lib/stackone_hris_client/models/employee.rb
109
119
  - lib/stackone_hris_client/models/employee_result.rb
110
120
  - lib/stackone_hris_client/models/employees_paginated.rb
111
121
  - lib/stackone_hris_client/models/employment.rb
112
122
  - lib/stackone_hris_client/models/employment_result.rb
123
+ - lib/stackone_hris_client/models/employment_status_enum.rb
124
+ - lib/stackone_hris_client/models/employment_type_enum.rb
113
125
  - lib/stackone_hris_client/models/employments_paginated.rb
126
+ - lib/stackone_hris_client/models/ethnicity_enum.rb
127
+ - lib/stackone_hris_client/models/gender_enum.rb
114
128
  - lib/stackone_hris_client/models/location.rb
115
129
  - lib/stackone_hris_client/models/location_result.rb
130
+ - lib/stackone_hris_client/models/location_type_enum.rb
116
131
  - lib/stackone_hris_client/models/locations_paginated.rb
132
+ - lib/stackone_hris_client/models/marital_status_enum.rb
133
+ - lib/stackone_hris_client/models/pay_frequency_enum.rb
134
+ - lib/stackone_hris_client/models/pay_period_enum.rb
117
135
  - lib/stackone_hris_client/version.rb
118
136
  - spec/api/accounts_api_spec.rb
119
137
  - spec/api/companies_api_spec.rb
@@ -131,15 +149,24 @@ files:
131
149
  - spec/models/connect_session_create_spec.rb
132
150
  - spec/models/connect_session_spec.rb
133
151
  - spec/models/connect_session_token_spec.rb
152
+ - spec/models/country_code_enum_spec.rb
134
153
  - spec/models/employee_result_spec.rb
135
154
  - spec/models/employee_spec.rb
136
155
  - spec/models/employees_paginated_spec.rb
137
156
  - spec/models/employment_result_spec.rb
138
157
  - spec/models/employment_spec.rb
158
+ - spec/models/employment_status_enum_spec.rb
159
+ - spec/models/employment_type_enum_spec.rb
139
160
  - spec/models/employments_paginated_spec.rb
161
+ - spec/models/ethnicity_enum_spec.rb
162
+ - spec/models/gender_enum_spec.rb
140
163
  - spec/models/location_result_spec.rb
141
164
  - spec/models/location_spec.rb
165
+ - spec/models/location_type_enum_spec.rb
142
166
  - spec/models/locations_paginated_spec.rb
167
+ - spec/models/marital_status_enum_spec.rb
168
+ - spec/models/pay_frequency_enum_spec.rb
169
+ - spec/models/pay_period_enum_spec.rb
143
170
  - spec/spec_helper.rb
144
171
  - stackone_hris_client.gemspec
145
172
  homepage: https://stackone.com
@@ -175,19 +202,28 @@ test_files:
175
202
  - spec/api_client_spec.rb
176
203
  - spec/configuration_spec.rb
177
204
  - spec/models/companies_paginated_spec.rb
205
+ - spec/models/employment_type_enum_spec.rb
206
+ - spec/models/marital_status_enum_spec.rb
207
+ - spec/models/employment_status_enum_spec.rb
178
208
  - spec/models/employee_spec.rb
179
209
  - spec/models/account_spec.rb
180
210
  - spec/models/employee_result_spec.rb
181
211
  - spec/models/connect_session_token_spec.rb
182
212
  - spec/models/employments_paginated_spec.rb
213
+ - spec/models/location_type_enum_spec.rb
183
214
  - spec/models/employees_paginated_spec.rb
184
215
  - spec/models/employment_spec.rb
185
216
  - spec/models/company_spec.rb
217
+ - spec/models/ethnicity_enum_spec.rb
218
+ - spec/models/pay_frequency_enum_spec.rb
186
219
  - spec/models/connect_session_authenticate_spec.rb
187
220
  - spec/models/location_spec.rb
188
221
  - spec/models/location_result_spec.rb
189
222
  - spec/models/connect_session_create_spec.rb
223
+ - spec/models/country_code_enum_spec.rb
224
+ - spec/models/gender_enum_spec.rb
190
225
  - spec/models/locations_paginated_spec.rb
226
+ - spec/models/pay_period_enum_spec.rb
191
227
  - spec/models/connect_session_spec.rb
192
228
  - spec/models/company_result_spec.rb
193
229
  - spec/models/employment_result_spec.rb