stackone_hris_client 1.3.2 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +13 -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/Employee.md +5 -5
  8. data/docs/EmployeesApi.md +3 -5
  9. data/docs/Employment.md +3 -3
  10. data/docs/EmploymentStatusEnum.md +20 -0
  11. data/docs/EmploymentTypeEnum.md +20 -0
  12. data/docs/EmploymentsApi.md +3 -5
  13. data/docs/EthnicityEnum.md +20 -0
  14. data/docs/GenderEnum.md +20 -0
  15. data/docs/Location.md +1 -1
  16. data/docs/LocationTypeEnum.md +20 -0
  17. data/docs/LocationsApi.md +3 -5
  18. data/docs/MaritalStatusEnum.md +20 -0
  19. data/docs/PayFrequencyEnum.md +20 -0
  20. data/docs/PayPeriodEnum.md +20 -0
  21. data/gem-config.yml +1 -1
  22. data/lib/stackone_hris_client/models/employee.rb +5 -87
  23. data/lib/stackone_hris_client/models/employment.rb +3 -61
  24. data/lib/stackone_hris_client/models/employment_status_enum.rb +270 -0
  25. data/lib/stackone_hris_client/models/employment_type_enum.rb +270 -0
  26. data/lib/stackone_hris_client/models/ethnicity_enum.rb +270 -0
  27. data/lib/stackone_hris_client/models/gender_enum.rb +270 -0
  28. data/lib/stackone_hris_client/models/location.rb +1 -35
  29. data/lib/stackone_hris_client/models/location_type_enum.rb +270 -0
  30. data/lib/stackone_hris_client/models/marital_status_enum.rb +270 -0
  31. data/lib/stackone_hris_client/models/pay_frequency_enum.rb +270 -0
  32. data/lib/stackone_hris_client/models/pay_period_enum.rb +270 -0
  33. data/lib/stackone_hris_client/version.rb +1 -1
  34. data/lib/stackone_hris_client.rb +8 -0
  35. data/spec/configuration_spec.rb +3 -3
  36. data/spec/models/employment_status_enum_spec.rb +44 -0
  37. data/spec/models/employment_type_enum_spec.rb +44 -0
  38. data/spec/models/ethnicity_enum_spec.rb +44 -0
  39. data/spec/models/gender_enum_spec.rb +44 -0
  40. data/spec/models/location_type_enum_spec.rb +44 -0
  41. data/spec/models/marital_status_enum_spec.rb +44 -0
  42. data/spec/models/pay_frequency_enum_spec.rb +44 -0
  43. data/spec/models/pay_period_enum_spec.rb +44 -0
  44. metadata +34 -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::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.4.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-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -78,12 +78,20 @@ files:
78
78
  - docs/EmployeesPaginated.md
79
79
  - docs/Employment.md
80
80
  - docs/EmploymentResult.md
81
+ - docs/EmploymentStatusEnum.md
82
+ - docs/EmploymentTypeEnum.md
81
83
  - docs/EmploymentsApi.md
82
84
  - docs/EmploymentsPaginated.md
85
+ - docs/EthnicityEnum.md
86
+ - docs/GenderEnum.md
83
87
  - docs/Location.md
84
88
  - docs/LocationResult.md
89
+ - docs/LocationTypeEnum.md
85
90
  - docs/LocationsApi.md
86
91
  - docs/LocationsPaginated.md
92
+ - docs/MaritalStatusEnum.md
93
+ - docs/PayFrequencyEnum.md
94
+ - docs/PayPeriodEnum.md
87
95
  - gem-config.yml
88
96
  - generate_gem.sh
89
97
  - git_push.sh
@@ -110,10 +118,18 @@ files:
110
118
  - lib/stackone_hris_client/models/employees_paginated.rb
111
119
  - lib/stackone_hris_client/models/employment.rb
112
120
  - lib/stackone_hris_client/models/employment_result.rb
121
+ - lib/stackone_hris_client/models/employment_status_enum.rb
122
+ - lib/stackone_hris_client/models/employment_type_enum.rb
113
123
  - lib/stackone_hris_client/models/employments_paginated.rb
124
+ - lib/stackone_hris_client/models/ethnicity_enum.rb
125
+ - lib/stackone_hris_client/models/gender_enum.rb
114
126
  - lib/stackone_hris_client/models/location.rb
115
127
  - lib/stackone_hris_client/models/location_result.rb
128
+ - lib/stackone_hris_client/models/location_type_enum.rb
116
129
  - lib/stackone_hris_client/models/locations_paginated.rb
130
+ - lib/stackone_hris_client/models/marital_status_enum.rb
131
+ - lib/stackone_hris_client/models/pay_frequency_enum.rb
132
+ - lib/stackone_hris_client/models/pay_period_enum.rb
117
133
  - lib/stackone_hris_client/version.rb
118
134
  - spec/api/accounts_api_spec.rb
119
135
  - spec/api/companies_api_spec.rb
@@ -136,10 +152,18 @@ files:
136
152
  - spec/models/employees_paginated_spec.rb
137
153
  - spec/models/employment_result_spec.rb
138
154
  - spec/models/employment_spec.rb
155
+ - spec/models/employment_status_enum_spec.rb
156
+ - spec/models/employment_type_enum_spec.rb
139
157
  - spec/models/employments_paginated_spec.rb
158
+ - spec/models/ethnicity_enum_spec.rb
159
+ - spec/models/gender_enum_spec.rb
140
160
  - spec/models/location_result_spec.rb
141
161
  - spec/models/location_spec.rb
162
+ - spec/models/location_type_enum_spec.rb
142
163
  - spec/models/locations_paginated_spec.rb
164
+ - spec/models/marital_status_enum_spec.rb
165
+ - spec/models/pay_frequency_enum_spec.rb
166
+ - spec/models/pay_period_enum_spec.rb
143
167
  - spec/spec_helper.rb
144
168
  - stackone_hris_client.gemspec
145
169
  homepage: https://stackone.com
@@ -175,19 +199,27 @@ test_files:
175
199
  - spec/api_client_spec.rb
176
200
  - spec/configuration_spec.rb
177
201
  - spec/models/companies_paginated_spec.rb
202
+ - spec/models/employment_type_enum_spec.rb
203
+ - spec/models/marital_status_enum_spec.rb
204
+ - spec/models/employment_status_enum_spec.rb
178
205
  - spec/models/employee_spec.rb
179
206
  - spec/models/account_spec.rb
180
207
  - spec/models/employee_result_spec.rb
181
208
  - spec/models/connect_session_token_spec.rb
182
209
  - spec/models/employments_paginated_spec.rb
210
+ - spec/models/location_type_enum_spec.rb
183
211
  - spec/models/employees_paginated_spec.rb
184
212
  - spec/models/employment_spec.rb
185
213
  - spec/models/company_spec.rb
214
+ - spec/models/ethnicity_enum_spec.rb
215
+ - spec/models/pay_frequency_enum_spec.rb
186
216
  - spec/models/connect_session_authenticate_spec.rb
187
217
  - spec/models/location_spec.rb
188
218
  - spec/models/location_result_spec.rb
189
219
  - spec/models/connect_session_create_spec.rb
220
+ - spec/models/gender_enum_spec.rb
190
221
  - spec/models/locations_paginated_spec.rb
222
+ - spec/models/pay_period_enum_spec.rb
191
223
  - spec/models/connect_session_spec.rb
192
224
  - spec/models/company_result_spec.rb
193
225
  - spec/models/employment_result_spec.rb