stackone_hris_client 1.5.2 → 1.6.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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +22 -29
  4. data/docs/Account.md +2 -0
  5. data/docs/AccountsApi.md +12 -12
  6. data/docs/CompaniesApi.md +24 -24
  7. data/docs/ConnectSession.md +1 -1
  8. data/docs/ConnectSessionCreate.md +1 -1
  9. data/docs/ConnectSessionToken.md +1 -1
  10. data/docs/ConnectSessionsApi.md +8 -8
  11. data/docs/Employee.md +2 -0
  12. data/docs/EmployeesApi.md +26 -26
  13. data/docs/EmploymentsApi.md +24 -24
  14. data/docs/LocationsApi.md +8 -8
  15. data/gem-config.yml +2 -2
  16. data/lib/stackone_hris_client/api/accounts_api.rb +7 -7
  17. data/lib/stackone_hris_client/api/companies_api.rb +20 -20
  18. data/lib/stackone_hris_client/api/connect_sessions_api.rb +5 -5
  19. data/lib/stackone_hris_client/api/employees_api.rb +20 -20
  20. data/lib/stackone_hris_client/api/employments_api.rb +20 -20
  21. data/lib/stackone_hris_client/api/locations_api.rb +5 -5
  22. data/lib/stackone_hris_client/api_client.rb +1 -1
  23. data/lib/stackone_hris_client/api_error.rb +1 -1
  24. data/lib/stackone_hris_client/configuration.rb +2 -2
  25. data/lib/stackone_hris_client/models/account.rb +16 -2
  26. data/lib/stackone_hris_client/models/companies_paginated.rb +1 -1
  27. data/lib/stackone_hris_client/models/company.rb +1 -1
  28. data/lib/stackone_hris_client/models/company_result.rb +1 -1
  29. data/lib/stackone_hris_client/models/connect_session.rb +1 -1
  30. data/lib/stackone_hris_client/models/connect_session_authenticate.rb +1 -1
  31. data/lib/stackone_hris_client/models/connect_session_create.rb +1 -1
  32. data/lib/stackone_hris_client/models/connect_session_token.rb +1 -1
  33. data/lib/stackone_hris_client/models/country_code_enum.rb +1 -1
  34. data/lib/stackone_hris_client/models/employee.rb +11 -2
  35. data/lib/stackone_hris_client/models/employee_result.rb +1 -1
  36. data/lib/stackone_hris_client/models/employees_paginated.rb +1 -1
  37. data/lib/stackone_hris_client/models/employment.rb +1 -1
  38. data/lib/stackone_hris_client/models/employment_result.rb +1 -1
  39. data/lib/stackone_hris_client/models/employment_status_enum.rb +3 -3
  40. data/lib/stackone_hris_client/models/employment_type_enum.rb +3 -3
  41. data/lib/stackone_hris_client/models/employments_paginated.rb +1 -1
  42. data/lib/stackone_hris_client/models/ethnicity_enum.rb +3 -3
  43. data/lib/stackone_hris_client/models/gender_enum.rb +3 -3
  44. data/lib/stackone_hris_client/models/image.rb +1 -1
  45. data/lib/stackone_hris_client/models/location.rb +1 -1
  46. data/lib/stackone_hris_client/models/location_result.rb +1 -1
  47. data/lib/stackone_hris_client/models/location_type_enum.rb +1 -1
  48. data/lib/stackone_hris_client/models/locations_paginated.rb +1 -1
  49. data/lib/stackone_hris_client/models/marital_status_enum.rb +3 -3
  50. data/lib/stackone_hris_client/models/pay_frequency_enum.rb +3 -3
  51. data/lib/stackone_hris_client/models/pay_period_enum.rb +1 -1
  52. data/lib/stackone_hris_client/version.rb +2 -2
  53. data/lib/stackone_hris_client.rb +1 -1
  54. data/spec/api_client_spec.rb +1 -1
  55. data/spec/configuration_spec.rb +1 -1
  56. data/spec/spec_helper.rb +1 -1
  57. data/stackone_hris_client.gemspec +1 -1
  58. metadata +2 -2
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -19,7 +19,7 @@ module StackOneHRIS
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- #
22
+ # Get Employment
23
23
  # @param id [String]
24
24
  # @param x_account_id [String] The account identifier
25
25
  # @param [Hash] opts the optional parameters
@@ -30,12 +30,12 @@ module StackOneHRIS
30
30
  # @option opts [String] :sync_token The sync token to select the only updated results
31
31
  # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
32
32
  # @return [EmploymentResult]
33
- def employments_get(id, x_account_id, opts = {})
34
- data, _status_code, _headers = employments_get_with_http_info(id, x_account_id, opts)
33
+ def hris_employments_get(id, x_account_id, opts = {})
34
+ data, _status_code, _headers = hris_employments_get_with_http_info(id, x_account_id, opts)
35
35
  data
36
36
  end
37
37
 
38
- #
38
+ # Get Employment
39
39
  # @param id [String]
40
40
  # @param x_account_id [String] The account identifier
41
41
  # @param [Hash] opts the optional parameters
@@ -46,17 +46,17 @@ module StackOneHRIS
46
46
  # @option opts [String] :sync_token The sync token to select the only updated results
47
47
  # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
48
48
  # @return [Array<(EmploymentResult, Integer, Hash)>] EmploymentResult data, response status code and response headers
49
- def employments_get_with_http_info(id, x_account_id, opts = {})
49
+ def hris_employments_get_with_http_info(id, x_account_id, opts = {})
50
50
  if @api_client.config.debugging
51
- @api_client.config.logger.debug 'Calling API: EmploymentsApi.employments_get ...'
51
+ @api_client.config.logger.debug 'Calling API: EmploymentsApi.hris_employments_get ...'
52
52
  end
53
53
  # verify the required parameter 'id' is set
54
54
  if @api_client.config.client_side_validation && id.nil?
55
- fail ArgumentError, "Missing the required parameter 'id' when calling EmploymentsApi.employments_get"
55
+ fail ArgumentError, "Missing the required parameter 'id' when calling EmploymentsApi.hris_employments_get"
56
56
  end
57
57
  # verify the required parameter 'x_account_id' is set
58
58
  if @api_client.config.client_side_validation && x_account_id.nil?
59
- fail ArgumentError, "Missing the required parameter 'x_account_id' when calling EmploymentsApi.employments_get"
59
+ fail ArgumentError, "Missing the required parameter 'x_account_id' when calling EmploymentsApi.hris_employments_get"
60
60
  end
61
61
  # resource path
62
62
  local_var_path = '/unified/hris/employments/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
@@ -89,7 +89,7 @@ module StackOneHRIS
89
89
  auth_names = opts[:debug_auth_names] || ['basic']
90
90
 
91
91
  new_options = opts.merge(
92
- :operation => :"EmploymentsApi.employments_get",
92
+ :operation => :"EmploymentsApi.hris_employments_get",
93
93
  :header_params => header_params,
94
94
  :query_params => query_params,
95
95
  :form_params => form_params,
@@ -100,12 +100,12 @@ module StackOneHRIS
100
100
 
101
101
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug "API called: EmploymentsApi#employments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
103
+ @api_client.config.logger.debug "API called: EmploymentsApi#hris_employments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
104
104
  end
105
105
  return data, status_code, headers
106
106
  end
107
107
 
108
- #
108
+ # List Employments
109
109
  # @param x_account_id [String] The account identifier
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [String] :page The page number of the results to fetch
@@ -115,12 +115,12 @@ module StackOneHRIS
115
115
  # @option opts [String] :sync_token The sync token to select the only updated results
116
116
  # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
117
117
  # @return [EmploymentsPaginated]
118
- def employments_list(x_account_id, opts = {})
119
- data, _status_code, _headers = employments_list_with_http_info(x_account_id, opts)
118
+ def hris_employments_list(x_account_id, opts = {})
119
+ data, _status_code, _headers = hris_employments_list_with_http_info(x_account_id, opts)
120
120
  data
121
121
  end
122
122
 
123
- #
123
+ # List Employments
124
124
  # @param x_account_id [String] The account identifier
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @option opts [String] :page The page number of the results to fetch
@@ -130,13 +130,13 @@ module StackOneHRIS
130
130
  # @option opts [String] :sync_token The sync token to select the only updated results
131
131
  # @option opts [String] :updated_after Use a string with a date to only select results updated after that given date
132
132
  # @return [Array<(EmploymentsPaginated, Integer, Hash)>] EmploymentsPaginated data, response status code and response headers
133
- def employments_list_with_http_info(x_account_id, opts = {})
133
+ def hris_employments_list_with_http_info(x_account_id, opts = {})
134
134
  if @api_client.config.debugging
135
- @api_client.config.logger.debug 'Calling API: EmploymentsApi.employments_list ...'
135
+ @api_client.config.logger.debug 'Calling API: EmploymentsApi.hris_employments_list ...'
136
136
  end
137
137
  # verify the required parameter 'x_account_id' is set
138
138
  if @api_client.config.client_side_validation && x_account_id.nil?
139
- fail ArgumentError, "Missing the required parameter 'x_account_id' when calling EmploymentsApi.employments_list"
139
+ fail ArgumentError, "Missing the required parameter 'x_account_id' when calling EmploymentsApi.hris_employments_list"
140
140
  end
141
141
  # resource path
142
142
  local_var_path = '/unified/hris/employments'
@@ -169,7 +169,7 @@ module StackOneHRIS
169
169
  auth_names = opts[:debug_auth_names] || ['basic']
170
170
 
171
171
  new_options = opts.merge(
172
- :operation => :"EmploymentsApi.employments_list",
172
+ :operation => :"EmploymentsApi.hris_employments_list",
173
173
  :header_params => header_params,
174
174
  :query_params => query_params,
175
175
  :form_params => form_params,
@@ -180,7 +180,7 @@ module StackOneHRIS
180
180
 
181
181
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
182
182
  if @api_client.config.debugging
183
- @api_client.config.logger.debug "API called: EmploymentsApi#employments_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
183
+ @api_client.config.logger.debug "API called: EmploymentsApi#hris_employments_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
184
184
  end
185
185
  return data, status_code, headers
186
186
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -19,7 +19,7 @@ module StackOneHRIS
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- #
22
+ # Get location
23
23
  # @param id [String]
24
24
  # @param x_account_id [String] The account identifier
25
25
  # @param [Hash] opts the optional parameters
@@ -35,7 +35,7 @@ module StackOneHRIS
35
35
  data
36
36
  end
37
37
 
38
- #
38
+ # Get location
39
39
  # @param id [String]
40
40
  # @param x_account_id [String] The account identifier
41
41
  # @param [Hash] opts the optional parameters
@@ -105,7 +105,7 @@ module StackOneHRIS
105
105
  return data, status_code, headers
106
106
  end
107
107
 
108
- #
108
+ # List locations
109
109
  # @param x_account_id [String] The account identifier
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [String] :page The page number of the results to fetch
@@ -120,7 +120,7 @@ module StackOneHRIS
120
120
  data
121
121
  end
122
122
 
123
- #
123
+ # List locations
124
124
  # @param x_account_id [String] The account identifier
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @option opts [String] :page The page number of the results to fetch
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -232,7 +232,7 @@ module StackOneHRIS
232
232
 
233
233
  return '' if region_slug.nil? || region_slug.empty? || region_slug == 'dev'
234
234
 
235
- "api.#{region_slug}."
235
+ "api."
236
236
  end
237
237
 
238
238
  # Returns base URL for specified operation based on server settings
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -19,6 +19,8 @@ module StackOneHRIS
19
19
 
20
20
  attr_accessor :provider
21
21
 
22
+ attr_accessor :active
23
+
22
24
  attr_accessor :origin_owner_id
23
25
 
24
26
  attr_accessor :origin_owner_name
@@ -36,6 +38,7 @@ module StackOneHRIS
36
38
  {
37
39
  :'id' => :'id',
38
40
  :'provider' => :'provider',
41
+ :'active' => :'active',
39
42
  :'origin_owner_id' => :'origin_owner_id',
40
43
  :'origin_owner_name' => :'origin_owner_name',
41
44
  :'origin_username' => :'origin_username',
@@ -55,6 +58,7 @@ module StackOneHRIS
55
58
  {
56
59
  :'id' => :'String',
57
60
  :'provider' => :'String',
61
+ :'active' => :'Boolean',
58
62
  :'origin_owner_id' => :'String',
59
63
  :'origin_owner_name' => :'String',
60
64
  :'origin_username' => :'String',
@@ -93,6 +97,10 @@ module StackOneHRIS
93
97
  self.provider = attributes[:'provider']
94
98
  end
95
99
 
100
+ if attributes.key?(:'active')
101
+ self.active = attributes[:'active']
102
+ end
103
+
96
104
  if attributes.key?(:'origin_owner_id')
97
105
  self.origin_owner_id = attributes[:'origin_owner_id']
98
106
  end
@@ -130,6 +138,10 @@ module StackOneHRIS
130
138
  invalid_properties.push('invalid value for "provider", provider cannot be nil.')
131
139
  end
132
140
 
141
+ if @active.nil?
142
+ invalid_properties.push('invalid value for "active", active cannot be nil.')
143
+ end
144
+
133
145
  if @origin_owner_id.nil?
134
146
  invalid_properties.push('invalid value for "origin_owner_id", origin_owner_id cannot be nil.')
135
147
  end
@@ -162,6 +174,7 @@ module StackOneHRIS
162
174
  def valid?
163
175
  return false if @id.nil?
164
176
  return false if @provider.nil?
177
+ return false if @active.nil?
165
178
  return false if @origin_owner_id.nil?
166
179
  return false if @origin_owner_name.nil?
167
180
  return false if @origin_username.nil?
@@ -178,6 +191,7 @@ module StackOneHRIS
178
191
  self.class == o.class &&
179
192
  id == o.id &&
180
193
  provider == o.provider &&
194
+ active == o.active &&
181
195
  origin_owner_id == o.origin_owner_id &&
182
196
  origin_owner_name == o.origin_owner_name &&
183
197
  origin_username == o.origin_username &&
@@ -195,7 +209,7 @@ module StackOneHRIS
195
209
  # Calculates hash code according to all attributes.
196
210
  # @return [Integer] Hash code
197
211
  def hash
198
- [id, provider, origin_owner_id, origin_owner_name, origin_username, credentials, created_at, updated_at].hash
212
+ [id, provider, active, origin_owner_id, origin_owner_name, origin_username, credentials, created_at, updated_at].hash
199
213
  end
200
214
 
201
215
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -37,6 +37,8 @@ module StackOneHRIS
37
37
 
38
38
  attr_accessor :avatar
39
39
 
40
+ attr_accessor :avatar_url
41
+
40
42
  attr_accessor :personal_email
41
43
 
42
44
  attr_accessor :personal_phone_number
@@ -89,6 +91,7 @@ module StackOneHRIS
89
91
  :'birthday' => :'birthday',
90
92
  :'marital_status' => :'marital_status',
91
93
  :'avatar' => :'avatar',
94
+ :'avatar_url' => :'avatar_url',
92
95
  :'personal_email' => :'personal_email',
93
96
  :'personal_phone_number' => :'personal_phone_number',
94
97
  :'work_email' => :'work_email',
@@ -130,6 +133,7 @@ module StackOneHRIS
130
133
  :'birthday' => :'Time',
131
134
  :'marital_status' => :'MaritalStatusEnum',
132
135
  :'avatar' => :'Image',
136
+ :'avatar_url' => :'String',
133
137
  :'personal_email' => :'String',
134
138
  :'personal_phone_number' => :'String',
135
139
  :'work_email' => :'String',
@@ -217,6 +221,10 @@ module StackOneHRIS
217
221
  self.avatar = attributes[:'avatar']
218
222
  end
219
223
 
224
+ if attributes.key?(:'avatar_url')
225
+ self.avatar_url = attributes[:'avatar_url']
226
+ end
227
+
220
228
  if attributes.key?(:'personal_email')
221
229
  self.personal_email = attributes[:'personal_email']
222
230
  end
@@ -375,6 +383,7 @@ module StackOneHRIS
375
383
  birthday == o.birthday &&
376
384
  marital_status == o.marital_status &&
377
385
  avatar == o.avatar &&
386
+ avatar_url == o.avatar_url &&
378
387
  personal_email == o.personal_email &&
379
388
  personal_phone_number == o.personal_phone_number &&
380
389
  work_email == o.work_email &&
@@ -405,7 +414,7 @@ module StackOneHRIS
405
414
  # Calculates hash code according to all attributes.
406
415
  # @return [Integer] Hash code
407
416
  def hash
408
- [id, first_name, last_name, name, display_name, gender, ethnicity, date_of_birth, birthday, marital_status, avatar, personal_email, personal_phone_number, work_email, work_phone_number, job_title, department, manager_id, hire_date, start_date, tenure, work_anniversary, employment_type, employment_status, termination_date, company_name, home_location, work_location, company, employments].hash
417
+ [id, first_name, last_name, name, display_name, gender, ethnicity, date_of_birth, birthday, marital_status, avatar, avatar_url, personal_email, personal_phone_number, work_email, work_phone_number, job_title, department, manager_id, hire_date, start_date, tenure, work_anniversary, employment_type, employment_status, termination_date, company_name, home_location, work_location, company, employments].hash
409
418
  end
410
419
 
411
420
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -111,7 +111,7 @@ module StackOneHRIS
111
111
  # @return true if the model is valid
112
112
  def valid?
113
113
  return false if @value.nil?
114
- value_validator = EnumAttributeValidator.new('String', ["active", "pending", "terminated", "unmapped_value"])
114
+ value_validator = EnumAttributeValidator.new('String', ["active", "pending", "terminated", "leave", "unmapped_value"])
115
115
  return false unless value_validator.valid?(@value)
116
116
  return false if @source_value.nil?
117
117
  true
@@ -120,7 +120,7 @@ module StackOneHRIS
120
120
  # Custom attribute writer method checking allowed values (enum).
121
121
  # @param [Object] value Object to be assigned
122
122
  def value=(value)
123
- validator = EnumAttributeValidator.new('String', ["active", "pending", "terminated", "unmapped_value"])
123
+ validator = EnumAttributeValidator.new('String', ["active", "pending", "terminated", "leave", "unmapped_value"])
124
124
  unless validator.valid?(value)
125
125
  fail ArgumentError, "invalid value for \"value\", must be one of #{validator.allowable_values}."
126
126
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -111,7 +111,7 @@ module StackOneHRIS
111
111
  # @return true if the model is valid
112
112
  def valid?
113
113
  return false if @value.nil?
114
- value_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "temporary", "seasonal", "volunteer", "unmapped_value"])
114
+ value_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "temporary", "seasonal", "volunteer", "probation", "internal", "external", "unmapped_value"])
115
115
  return false unless value_validator.valid?(@value)
116
116
  return false if @source_value.nil?
117
117
  true
@@ -120,7 +120,7 @@ module StackOneHRIS
120
120
  # Custom attribute writer method checking allowed values (enum).
121
121
  # @param [Object] value Object to be assigned
122
122
  def value=(value)
123
- validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "temporary", "seasonal", "volunteer", "unmapped_value"])
123
+ validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "intern", "freelance", "terminated", "temporary", "seasonal", "volunteer", "probation", "internal", "external", "unmapped_value"])
124
124
  unless validator.valid?(value)
125
125
  fail ArgumentError, "invalid value for \"value\", must be one of #{validator.allowable_values}."
126
126
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -111,7 +111,7 @@ module StackOneHRIS
111
111
  # @return true if the model is valid
112
112
  def valid?
113
113
  return false if @value.nil?
114
- value_validator = 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"])
114
+ value_validator = 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", "other", "unmapped_value"])
115
115
  return false unless value_validator.valid?(@value)
116
116
  return false if @source_value.nil?
117
117
  true
@@ -120,7 +120,7 @@ module StackOneHRIS
120
120
  # Custom attribute writer method checking allowed values (enum).
121
121
  # @param [Object] value Object to be assigned
122
122
  def value=(value)
123
- validator = 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"])
123
+ validator = 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", "other", "unmapped_value"])
124
124
  unless validator.valid?(value)
125
125
  fail ArgumentError, "invalid value for \"value\", must be one of #{validator.allowable_values}."
126
126
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -111,7 +111,7 @@ module StackOneHRIS
111
111
  # @return true if the model is valid
112
112
  def valid?
113
113
  return false if @value.nil?
114
- value_validator = EnumAttributeValidator.new('String', ["male", "female", "non_binary", "other", "not_disclosed", "unmapped_value"])
114
+ value_validator = EnumAttributeValidator.new('String', ["male", "female", "non_binary", "other", "not_disclosed", "diverse", "unmapped_value"])
115
115
  return false unless value_validator.valid?(@value)
116
116
  return false if @source_value.nil?
117
117
  true
@@ -120,7 +120,7 @@ module StackOneHRIS
120
120
  # Custom attribute writer method checking allowed values (enum).
121
121
  # @param [Object] value Object to be assigned
122
122
  def value=(value)
123
- validator = EnumAttributeValidator.new('String', ["male", "female", "non_binary", "other", "not_disclosed", "unmapped_value"])
123
+ validator = EnumAttributeValidator.new('String', ["male", "female", "non_binary", "other", "not_disclosed", "diverse", "unmapped_value"])
124
124
  unless validator.valid?(value)
125
125
  fail ArgumentError, "invalid value for \"value\", must be one of #{validator.allowable_values}."
126
126
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12