finch-api 0.1.0.pre.alpha.58 → 0.1.0.pre.alpha.60
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/CHANGELOG.md +24 -0
- data/README.md +1 -1
- data/lib/finch_api/models/account_update_event.rb +328 -8
- data/lib/finch_api/models/hris/employment_data.rb +11 -1
- data/lib/finch_api/models/hris/individual.rb +9 -1
- data/lib/finch_api/models/provider.rb +1371 -4
- data/lib/finch_api/models/provider_list_response.rb +1387 -4
- data/lib/finch_api/models/sandbox/directory_create_params.rb +20 -2
- data/lib/finch_api/models/sandbox/employment_update_params.rb +11 -1
- data/lib/finch_api/models/sandbox/employment_update_response.rb +11 -1
- data/lib/finch_api/models/sandbox/individual_update_params.rb +9 -1
- data/lib/finch_api/models/sandbox/individual_update_response.rb +9 -1
- data/lib/finch_api/resources/sandbox/employment.rb +3 -1
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/account_update_event.rbi +738 -15
- data/rbi/finch_api/models/hris/employment_data.rbi +12 -0
- data/rbi/finch_api/models/hris/individual.rbi +10 -1
- data/rbi/finch_api/models/provider.rbi +3137 -6
- data/rbi/finch_api/models/provider_list_response.rbi +3139 -6
- data/rbi/finch_api/models/sandbox/directory_create_params.rbi +22 -1
- data/rbi/finch_api/models/sandbox/employment_update_params.rbi +12 -0
- data/rbi/finch_api/models/sandbox/employment_update_response.rbi +12 -0
- data/rbi/finch_api/models/sandbox/individual_update_params.rbi +10 -1
- data/rbi/finch_api/models/sandbox/individual_update_response.rbi +10 -1
- data/rbi/finch_api/resources/sandbox/employment.rbi +5 -0
- data/sig/finch_api/models/account_update_event.rbs +405 -17
- data/sig/finch_api/models/hris/employment_data.rbs +5 -0
- data/sig/finch_api/models/provider.rbs +1722 -6
- data/sig/finch_api/models/provider_list_response.rbs +1722 -6
- data/sig/finch_api/models/sandbox/directory_create_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/employment_update_params.rbs +5 -0
- data/sig/finch_api/models/sandbox/employment_update_response.rbs +5 -0
- data/sig/finch_api/resources/sandbox/employment.rbs +1 -0
- metadata +2 -2
|
@@ -27,6 +27,12 @@ module FinchAPI
|
|
|
27
27
|
sig { returns(String) }
|
|
28
28
|
attr_accessor :id
|
|
29
29
|
|
|
30
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
31
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
32
|
+
# configured.
|
|
33
|
+
sig { returns(T.nilable(String)) }
|
|
34
|
+
attr_accessor :benefit_eligibility_class
|
|
35
|
+
|
|
30
36
|
# Worker's compensation classification code for this employee
|
|
31
37
|
sig { returns(T.nilable(String)) }
|
|
32
38
|
attr_accessor :class_code
|
|
@@ -204,6 +210,7 @@ module FinchAPI
|
|
|
204
210
|
sig do
|
|
205
211
|
params(
|
|
206
212
|
id: String,
|
|
213
|
+
benefit_eligibility_class: T.nilable(String),
|
|
207
214
|
class_code: T.nilable(String),
|
|
208
215
|
department:
|
|
209
216
|
T.nilable(
|
|
@@ -254,6 +261,10 @@ module FinchAPI
|
|
|
254
261
|
def self.new(
|
|
255
262
|
# A stable Finch `id` (UUID v4) for an individual in the company.
|
|
256
263
|
id:,
|
|
264
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
265
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
266
|
+
# configured.
|
|
267
|
+
benefit_eligibility_class:,
|
|
257
268
|
# Worker's compensation classification code for this employee
|
|
258
269
|
class_code:,
|
|
259
270
|
# The department object.
|
|
@@ -313,6 +324,7 @@ module FinchAPI
|
|
|
313
324
|
override.returns(
|
|
314
325
|
{
|
|
315
326
|
id: String,
|
|
327
|
+
benefit_eligibility_class: T.nilable(String),
|
|
316
328
|
class_code: T.nilable(String),
|
|
317
329
|
department:
|
|
318
330
|
T.nilable(
|
|
@@ -412,6 +412,9 @@ module FinchAPI
|
|
|
412
412
|
)
|
|
413
413
|
end
|
|
414
414
|
|
|
415
|
+
# The phone number. Format: E.164, with extension where applicable, e.g.
|
|
416
|
+
# `+NNNNNNNNNNN xExtension`. If the number cannot be parsed, the raw value from
|
|
417
|
+
# the provider is returned.
|
|
415
418
|
sig { returns(T.nilable(String)) }
|
|
416
419
|
attr_accessor :data
|
|
417
420
|
|
|
@@ -433,7 +436,13 @@ module FinchAPI
|
|
|
433
436
|
)
|
|
434
437
|
).returns(T.attached_class)
|
|
435
438
|
end
|
|
436
|
-
def self.new(
|
|
439
|
+
def self.new(
|
|
440
|
+
# The phone number. Format: E.164, with extension where applicable, e.g.
|
|
441
|
+
# `+NNNNNNNNNNN xExtension`. If the number cannot be parsed, the raw value from
|
|
442
|
+
# the provider is returned.
|
|
443
|
+
data:,
|
|
444
|
+
type:
|
|
445
|
+
)
|
|
437
446
|
end
|
|
438
447
|
|
|
439
448
|
sig do
|