finch-api 0.1.0.pre.alpha.59 → 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 +12 -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/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 +11 -1
- 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/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/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 +12 -0
- 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/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
|
@@ -67,6 +67,12 @@ module FinchAPI
|
|
|
67
67
|
)
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
71
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
72
|
+
# configured.
|
|
73
|
+
sig { returns(T.nilable(String)) }
|
|
74
|
+
attr_accessor :benefit_eligibility_class
|
|
75
|
+
|
|
70
76
|
# Worker's compensation classification code for this employee
|
|
71
77
|
sig { returns(T.nilable(String)) }
|
|
72
78
|
attr_accessor :class_code
|
|
@@ -316,6 +322,7 @@ module FinchAPI
|
|
|
316
322
|
|
|
317
323
|
sig do
|
|
318
324
|
params(
|
|
325
|
+
benefit_eligibility_class: T.nilable(String),
|
|
319
326
|
class_code: T.nilable(String),
|
|
320
327
|
custom_fields:
|
|
321
328
|
T.nilable(
|
|
@@ -394,6 +401,10 @@ module FinchAPI
|
|
|
394
401
|
).returns(T.attached_class)
|
|
395
402
|
end
|
|
396
403
|
def self.new(
|
|
404
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
405
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
406
|
+
# configured.
|
|
407
|
+
benefit_eligibility_class: nil,
|
|
397
408
|
# Worker's compensation classification code for this employee
|
|
398
409
|
class_code: nil,
|
|
399
410
|
# Custom fields for the individual. These are fields which are defined by the
|
|
@@ -472,6 +483,7 @@ module FinchAPI
|
|
|
472
483
|
sig do
|
|
473
484
|
override.returns(
|
|
474
485
|
{
|
|
486
|
+
benefit_eligibility_class: T.nilable(String),
|
|
475
487
|
class_code: T.nilable(String),
|
|
476
488
|
custom_fields:
|
|
477
489
|
T.nilable(
|
|
@@ -18,6 +18,12 @@ module FinchAPI
|
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :individual_id
|
|
20
20
|
|
|
21
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
22
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
23
|
+
# configured.
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
attr_accessor :benefit_eligibility_class
|
|
26
|
+
|
|
21
27
|
# Worker's compensation classification code for this employee
|
|
22
28
|
sig { returns(T.nilable(String)) }
|
|
23
29
|
attr_accessor :class_code
|
|
@@ -181,6 +187,7 @@ module FinchAPI
|
|
|
181
187
|
sig do
|
|
182
188
|
params(
|
|
183
189
|
individual_id: String,
|
|
190
|
+
benefit_eligibility_class: T.nilable(String),
|
|
184
191
|
class_code: T.nilable(String),
|
|
185
192
|
custom_fields:
|
|
186
193
|
T.nilable(
|
|
@@ -230,6 +237,10 @@ module FinchAPI
|
|
|
230
237
|
end
|
|
231
238
|
def self.new(
|
|
232
239
|
individual_id:,
|
|
240
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
241
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
242
|
+
# configured.
|
|
243
|
+
benefit_eligibility_class: nil,
|
|
233
244
|
# Worker's compensation classification code for this employee
|
|
234
245
|
class_code: nil,
|
|
235
246
|
# Custom fields for the individual. These are fields which are defined by the
|
|
@@ -288,6 +299,7 @@ module FinchAPI
|
|
|
288
299
|
override.returns(
|
|
289
300
|
{
|
|
290
301
|
individual_id: String,
|
|
302
|
+
benefit_eligibility_class: T.nilable(String),
|
|
291
303
|
class_code: T.nilable(String),
|
|
292
304
|
custom_fields:
|
|
293
305
|
T.nilable(
|
|
@@ -19,6 +19,12 @@ module FinchAPI
|
|
|
19
19
|
sig { params(id: String).void }
|
|
20
20
|
attr_writer :id
|
|
21
21
|
|
|
22
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
23
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
24
|
+
# configured.
|
|
25
|
+
sig { returns(T.nilable(String)) }
|
|
26
|
+
attr_accessor :benefit_eligibility_class
|
|
27
|
+
|
|
22
28
|
# Worker's compensation classification code for this employee
|
|
23
29
|
sig { returns(T.nilable(String)) }
|
|
24
30
|
attr_accessor :class_code
|
|
@@ -192,6 +198,7 @@ module FinchAPI
|
|
|
192
198
|
sig do
|
|
193
199
|
params(
|
|
194
200
|
id: String,
|
|
201
|
+
benefit_eligibility_class: T.nilable(String),
|
|
195
202
|
class_code: T.nilable(String),
|
|
196
203
|
custom_fields:
|
|
197
204
|
T.nilable(
|
|
@@ -241,6 +248,10 @@ module FinchAPI
|
|
|
241
248
|
def self.new(
|
|
242
249
|
# A stable Finch `id` (UUID v4) for an individual in the company.
|
|
243
250
|
id: nil,
|
|
251
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
252
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
253
|
+
# configured.
|
|
254
|
+
benefit_eligibility_class: nil,
|
|
244
255
|
# Worker's compensation classification code for this employee
|
|
245
256
|
class_code: nil,
|
|
246
257
|
# Custom fields for the individual. These are fields which are defined by the
|
|
@@ -298,6 +309,7 @@ module FinchAPI
|
|
|
298
309
|
override.returns(
|
|
299
310
|
{
|
|
300
311
|
id: String,
|
|
312
|
+
benefit_eligibility_class: T.nilable(String),
|
|
301
313
|
class_code: T.nilable(String),
|
|
302
314
|
custom_fields:
|
|
303
315
|
T.nilable(
|
|
@@ -8,6 +8,7 @@ module FinchAPI
|
|
|
8
8
|
sig do
|
|
9
9
|
params(
|
|
10
10
|
individual_id: String,
|
|
11
|
+
benefit_eligibility_class: T.nilable(String),
|
|
11
12
|
class_code: T.nilable(String),
|
|
12
13
|
custom_fields:
|
|
13
14
|
T.nilable(
|
|
@@ -57,6 +58,10 @@ module FinchAPI
|
|
|
57
58
|
end
|
|
58
59
|
def update(
|
|
59
60
|
individual_id,
|
|
61
|
+
# The employer defined benefit eligibility class that groups an employee into a
|
|
62
|
+
# set of eligible benefit plans, as stored by the provider. Null when not
|
|
63
|
+
# configured.
|
|
64
|
+
benefit_eligibility_class: nil,
|
|
60
65
|
# Worker's compensation classification code for this employee
|
|
61
66
|
class_code: nil,
|
|
62
67
|
# Custom fields for the individual. These are fields which are defined by the
|
|
@@ -88,7 +88,10 @@ module FinchAPI
|
|
|
88
88
|
individual: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual,
|
|
89
89
|
pay_group: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup,
|
|
90
90
|
pay_statement: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
|
|
91
|
-
payment: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
|
91
|
+
payment: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment,
|
|
92
|
+
plan_dependents: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents,
|
|
93
|
+
plan_enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments,
|
|
94
|
+
plans: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
class SupportedFields < FinchAPI::Internal::Type::BaseModel
|
|
@@ -134,6 +137,24 @@ module FinchAPI
|
|
|
134
137
|
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
|
135
138
|
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
|
136
139
|
|
|
140
|
+
attr_reader plan_dependents: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents?
|
|
141
|
+
|
|
142
|
+
def plan_dependents=: (
|
|
143
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents
|
|
144
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents
|
|
145
|
+
|
|
146
|
+
attr_reader plan_enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments?
|
|
147
|
+
|
|
148
|
+
def plan_enrollments=: (
|
|
149
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments
|
|
150
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments
|
|
151
|
+
|
|
152
|
+
attr_reader plans: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans?
|
|
153
|
+
|
|
154
|
+
def plans=: (
|
|
155
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans
|
|
156
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans
|
|
157
|
+
|
|
137
158
|
def initialize: (
|
|
138
159
|
?company: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company,
|
|
139
160
|
?directory: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory,
|
|
@@ -141,7 +162,10 @@ module FinchAPI
|
|
|
141
162
|
?individual: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual,
|
|
142
163
|
?pay_group: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup,
|
|
143
164
|
?pay_statement: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
|
|
144
|
-
?payment: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
|
165
|
+
?payment: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment,
|
|
166
|
+
?plan_dependents: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents,
|
|
167
|
+
?plan_enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments,
|
|
168
|
+
?plans: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans
|
|
145
169
|
) -> void
|
|
146
170
|
|
|
147
171
|
def to_hash: -> {
|
|
@@ -151,7 +175,10 @@ module FinchAPI
|
|
|
151
175
|
individual: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual,
|
|
152
176
|
pay_group: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup,
|
|
153
177
|
pay_statement: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
|
|
154
|
-
payment: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
|
178
|
+
payment: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment,
|
|
179
|
+
plan_dependents: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents,
|
|
180
|
+
plan_enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments,
|
|
181
|
+
plans: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans
|
|
155
182
|
}
|
|
156
183
|
|
|
157
184
|
type company =
|
|
@@ -426,7 +453,7 @@ module FinchAPI
|
|
|
426
453
|
type individuals =
|
|
427
454
|
{
|
|
428
455
|
id: bool,
|
|
429
|
-
department: bool
|
|
456
|
+
department: bool?,
|
|
430
457
|
first_name: bool,
|
|
431
458
|
is_active: bool,
|
|
432
459
|
last_name: bool,
|
|
@@ -439,9 +466,7 @@ module FinchAPI
|
|
|
439
466
|
|
|
440
467
|
def id=: (bool) -> bool
|
|
441
468
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
def department=: (bool) -> bool
|
|
469
|
+
attr_accessor department: bool?
|
|
445
470
|
|
|
446
471
|
attr_reader first_name: bool?
|
|
447
472
|
|
|
@@ -467,7 +492,7 @@ module FinchAPI
|
|
|
467
492
|
|
|
468
493
|
def initialize: (
|
|
469
494
|
?id: bool,
|
|
470
|
-
?department: bool
|
|
495
|
+
?department: bool?,
|
|
471
496
|
?first_name: bool,
|
|
472
497
|
?is_active: bool,
|
|
473
498
|
?last_name: bool,
|
|
@@ -477,7 +502,7 @@ module FinchAPI
|
|
|
477
502
|
|
|
478
503
|
def to_hash: -> {
|
|
479
504
|
id: bool,
|
|
480
|
-
department: bool
|
|
505
|
+
department: bool?,
|
|
481
506
|
first_name: bool,
|
|
482
507
|
is_active: bool,
|
|
483
508
|
last_name: bool,
|
|
@@ -530,7 +555,7 @@ module FinchAPI
|
|
|
530
555
|
is_active: bool,
|
|
531
556
|
last_name: bool,
|
|
532
557
|
location: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location,
|
|
533
|
-
manager: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager
|
|
558
|
+
manager: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager?,
|
|
534
559
|
middle_name: bool,
|
|
535
560
|
start_date: bool,
|
|
536
561
|
title: bool
|
|
@@ -597,11 +622,7 @@ module FinchAPI
|
|
|
597
622
|
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location
|
|
598
623
|
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location
|
|
599
624
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
def manager=: (
|
|
603
|
-
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager
|
|
604
|
-
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager
|
|
625
|
+
attr_accessor manager: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager?
|
|
605
626
|
|
|
606
627
|
attr_reader middle_name: bool?
|
|
607
628
|
|
|
@@ -629,7 +650,7 @@ module FinchAPI
|
|
|
629
650
|
?is_active: bool,
|
|
630
651
|
?last_name: bool,
|
|
631
652
|
?location: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location,
|
|
632
|
-
?manager: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager
|
|
653
|
+
?manager: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager?,
|
|
633
654
|
?middle_name: bool,
|
|
634
655
|
?start_date: bool,
|
|
635
656
|
?title: bool
|
|
@@ -649,7 +670,7 @@ module FinchAPI
|
|
|
649
670
|
is_active: bool,
|
|
650
671
|
last_name: bool,
|
|
651
672
|
location: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location,
|
|
652
|
-
manager: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager
|
|
673
|
+
manager: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager?,
|
|
653
674
|
middle_name: bool,
|
|
654
675
|
start_date: bool,
|
|
655
676
|
title: bool
|
|
@@ -1408,6 +1429,373 @@ module FinchAPI
|
|
|
1408
1429
|
def to_hash: -> { end_date: bool, start_date: bool }
|
|
1409
1430
|
end
|
|
1410
1431
|
end
|
|
1432
|
+
|
|
1433
|
+
type plan_dependents =
|
|
1434
|
+
{
|
|
1435
|
+
coverage: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage,
|
|
1436
|
+
date_of_birth: bool,
|
|
1437
|
+
dependent_id: bool,
|
|
1438
|
+
first_name: bool,
|
|
1439
|
+
gender: bool,
|
|
1440
|
+
last_name: bool,
|
|
1441
|
+
middle_name: bool,
|
|
1442
|
+
ssn: bool
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
class PlanDependents < FinchAPI::Internal::Type::BaseModel
|
|
1446
|
+
attr_reader coverage: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage?
|
|
1447
|
+
|
|
1448
|
+
def coverage=: (
|
|
1449
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage
|
|
1450
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage
|
|
1451
|
+
|
|
1452
|
+
attr_reader date_of_birth: bool?
|
|
1453
|
+
|
|
1454
|
+
def date_of_birth=: (bool) -> bool
|
|
1455
|
+
|
|
1456
|
+
attr_reader dependent_id: bool?
|
|
1457
|
+
|
|
1458
|
+
def dependent_id=: (bool) -> bool
|
|
1459
|
+
|
|
1460
|
+
attr_reader first_name: bool?
|
|
1461
|
+
|
|
1462
|
+
def first_name=: (bool) -> bool
|
|
1463
|
+
|
|
1464
|
+
attr_reader gender: bool?
|
|
1465
|
+
|
|
1466
|
+
def gender=: (bool) -> bool
|
|
1467
|
+
|
|
1468
|
+
attr_reader last_name: bool?
|
|
1469
|
+
|
|
1470
|
+
def last_name=: (bool) -> bool
|
|
1471
|
+
|
|
1472
|
+
attr_reader middle_name: bool?
|
|
1473
|
+
|
|
1474
|
+
def middle_name=: (bool) -> bool
|
|
1475
|
+
|
|
1476
|
+
attr_reader ssn: bool?
|
|
1477
|
+
|
|
1478
|
+
def ssn=: (bool) -> bool
|
|
1479
|
+
|
|
1480
|
+
def initialize: (
|
|
1481
|
+
?coverage: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage,
|
|
1482
|
+
?date_of_birth: bool,
|
|
1483
|
+
?dependent_id: bool,
|
|
1484
|
+
?first_name: bool,
|
|
1485
|
+
?gender: bool,
|
|
1486
|
+
?last_name: bool,
|
|
1487
|
+
?middle_name: bool,
|
|
1488
|
+
?ssn: bool
|
|
1489
|
+
) -> void
|
|
1490
|
+
|
|
1491
|
+
def to_hash: -> {
|
|
1492
|
+
coverage: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage,
|
|
1493
|
+
date_of_birth: bool,
|
|
1494
|
+
dependent_id: bool,
|
|
1495
|
+
first_name: bool,
|
|
1496
|
+
gender: bool,
|
|
1497
|
+
last_name: bool,
|
|
1498
|
+
middle_name: bool,
|
|
1499
|
+
ssn: bool
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
type coverage =
|
|
1503
|
+
{
|
|
1504
|
+
enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments,
|
|
1505
|
+
individual_id: bool,
|
|
1506
|
+
relationship_to_individual: bool
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
class Coverage < FinchAPI::Internal::Type::BaseModel
|
|
1510
|
+
attr_reader enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments?
|
|
1511
|
+
|
|
1512
|
+
def enrollments=: (
|
|
1513
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments
|
|
1514
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments
|
|
1515
|
+
|
|
1516
|
+
attr_reader individual_id: bool?
|
|
1517
|
+
|
|
1518
|
+
def individual_id=: (bool) -> bool
|
|
1519
|
+
|
|
1520
|
+
attr_reader relationship_to_individual: bool?
|
|
1521
|
+
|
|
1522
|
+
def relationship_to_individual=: (bool) -> bool
|
|
1523
|
+
|
|
1524
|
+
def initialize: (
|
|
1525
|
+
?enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments,
|
|
1526
|
+
?individual_id: bool,
|
|
1527
|
+
?relationship_to_individual: bool
|
|
1528
|
+
) -> void
|
|
1529
|
+
|
|
1530
|
+
def to_hash: -> {
|
|
1531
|
+
enrollments: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments,
|
|
1532
|
+
individual_id: bool,
|
|
1533
|
+
relationship_to_individual: bool
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
type enrollments = { id: bool, type: bool }
|
|
1537
|
+
|
|
1538
|
+
class Enrollments < FinchAPI::Internal::Type::BaseModel
|
|
1539
|
+
attr_reader id: bool?
|
|
1540
|
+
|
|
1541
|
+
def id=: (bool) -> bool
|
|
1542
|
+
|
|
1543
|
+
attr_reader type: bool?
|
|
1544
|
+
|
|
1545
|
+
def type=: (bool) -> bool
|
|
1546
|
+
|
|
1547
|
+
def initialize: (?id: bool, ?type: bool) -> void
|
|
1548
|
+
|
|
1549
|
+
def to_hash: -> { id: bool, type: bool }
|
|
1550
|
+
end
|
|
1551
|
+
end
|
|
1552
|
+
end
|
|
1553
|
+
|
|
1554
|
+
type plan_enrollments =
|
|
1555
|
+
{
|
|
1556
|
+
id: bool,
|
|
1557
|
+
contributions: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions,
|
|
1558
|
+
coverage_end_date: bool,
|
|
1559
|
+
coverage_start_date: bool,
|
|
1560
|
+
coverage_tier: bool,
|
|
1561
|
+
dependent_ids: bool,
|
|
1562
|
+
individual_id: bool,
|
|
1563
|
+
plan_id: bool,
|
|
1564
|
+
status: bool
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
class PlanEnrollments < FinchAPI::Internal::Type::BaseModel
|
|
1568
|
+
attr_reader id: bool?
|
|
1569
|
+
|
|
1570
|
+
def id=: (bool) -> bool
|
|
1571
|
+
|
|
1572
|
+
attr_reader contributions: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions?
|
|
1573
|
+
|
|
1574
|
+
def contributions=: (
|
|
1575
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions
|
|
1576
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions
|
|
1577
|
+
|
|
1578
|
+
attr_reader coverage_end_date: bool?
|
|
1579
|
+
|
|
1580
|
+
def coverage_end_date=: (bool) -> bool
|
|
1581
|
+
|
|
1582
|
+
attr_reader coverage_start_date: bool?
|
|
1583
|
+
|
|
1584
|
+
def coverage_start_date=: (bool) -> bool
|
|
1585
|
+
|
|
1586
|
+
attr_reader coverage_tier: bool?
|
|
1587
|
+
|
|
1588
|
+
def coverage_tier=: (bool) -> bool
|
|
1589
|
+
|
|
1590
|
+
attr_reader dependent_ids: bool?
|
|
1591
|
+
|
|
1592
|
+
def dependent_ids=: (bool) -> bool
|
|
1593
|
+
|
|
1594
|
+
attr_reader individual_id: bool?
|
|
1595
|
+
|
|
1596
|
+
def individual_id=: (bool) -> bool
|
|
1597
|
+
|
|
1598
|
+
attr_reader plan_id: bool?
|
|
1599
|
+
|
|
1600
|
+
def plan_id=: (bool) -> bool
|
|
1601
|
+
|
|
1602
|
+
attr_reader status: bool?
|
|
1603
|
+
|
|
1604
|
+
def status=: (bool) -> bool
|
|
1605
|
+
|
|
1606
|
+
def initialize: (
|
|
1607
|
+
?id: bool,
|
|
1608
|
+
?contributions: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions,
|
|
1609
|
+
?coverage_end_date: bool,
|
|
1610
|
+
?coverage_start_date: bool,
|
|
1611
|
+
?coverage_tier: bool,
|
|
1612
|
+
?dependent_ids: bool,
|
|
1613
|
+
?individual_id: bool,
|
|
1614
|
+
?plan_id: bool,
|
|
1615
|
+
?status: bool
|
|
1616
|
+
) -> void
|
|
1617
|
+
|
|
1618
|
+
def to_hash: -> {
|
|
1619
|
+
id: bool,
|
|
1620
|
+
contributions: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions,
|
|
1621
|
+
coverage_end_date: bool,
|
|
1622
|
+
coverage_start_date: bool,
|
|
1623
|
+
coverage_tier: bool,
|
|
1624
|
+
dependent_ids: bool,
|
|
1625
|
+
individual_id: bool,
|
|
1626
|
+
plan_id: bool,
|
|
1627
|
+
status: bool
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
type contributions =
|
|
1631
|
+
{
|
|
1632
|
+
employee_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution,
|
|
1633
|
+
employer_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution,
|
|
1634
|
+
frequency: bool
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
class Contributions < FinchAPI::Internal::Type::BaseModel
|
|
1638
|
+
attr_reader employee_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution?
|
|
1639
|
+
|
|
1640
|
+
def employee_contribution=: (
|
|
1641
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution
|
|
1642
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution
|
|
1643
|
+
|
|
1644
|
+
attr_reader employer_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution?
|
|
1645
|
+
|
|
1646
|
+
def employer_contribution=: (
|
|
1647
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution
|
|
1648
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution
|
|
1649
|
+
|
|
1650
|
+
attr_reader frequency: bool?
|
|
1651
|
+
|
|
1652
|
+
def frequency=: (bool) -> bool
|
|
1653
|
+
|
|
1654
|
+
def initialize: (
|
|
1655
|
+
?employee_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution,
|
|
1656
|
+
?employer_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution,
|
|
1657
|
+
?frequency: bool
|
|
1658
|
+
) -> void
|
|
1659
|
+
|
|
1660
|
+
def to_hash: -> {
|
|
1661
|
+
employee_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution,
|
|
1662
|
+
employer_contribution: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution,
|
|
1663
|
+
frequency: bool
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
type employee_contribution = { amount: bool, currency: bool }
|
|
1667
|
+
|
|
1668
|
+
class EmployeeContribution < FinchAPI::Internal::Type::BaseModel
|
|
1669
|
+
attr_reader amount: bool?
|
|
1670
|
+
|
|
1671
|
+
def amount=: (bool) -> bool
|
|
1672
|
+
|
|
1673
|
+
attr_reader currency: bool?
|
|
1674
|
+
|
|
1675
|
+
def currency=: (bool) -> bool
|
|
1676
|
+
|
|
1677
|
+
def initialize: (?amount: bool, ?currency: bool) -> void
|
|
1678
|
+
|
|
1679
|
+
def to_hash: -> { amount: bool, currency: bool }
|
|
1680
|
+
end
|
|
1681
|
+
|
|
1682
|
+
type employer_contribution = { amount: bool, currency: bool }
|
|
1683
|
+
|
|
1684
|
+
class EmployerContribution < FinchAPI::Internal::Type::BaseModel
|
|
1685
|
+
attr_reader amount: bool?
|
|
1686
|
+
|
|
1687
|
+
def amount=: (bool) -> bool
|
|
1688
|
+
|
|
1689
|
+
attr_reader currency: bool?
|
|
1690
|
+
|
|
1691
|
+
def currency=: (bool) -> bool
|
|
1692
|
+
|
|
1693
|
+
def initialize: (?amount: bool, ?currency: bool) -> void
|
|
1694
|
+
|
|
1695
|
+
def to_hash: -> { amount: bool, currency: bool }
|
|
1696
|
+
end
|
|
1697
|
+
end
|
|
1698
|
+
end
|
|
1699
|
+
|
|
1700
|
+
type plans =
|
|
1701
|
+
{
|
|
1702
|
+
id: bool,
|
|
1703
|
+
carrier: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier,
|
|
1704
|
+
coverage_tiers: bool,
|
|
1705
|
+
deduction_codes: bool,
|
|
1706
|
+
description: bool,
|
|
1707
|
+
end_date: bool,
|
|
1708
|
+
name: bool,
|
|
1709
|
+
network_type: bool,
|
|
1710
|
+
start_date: bool,
|
|
1711
|
+
type: bool
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
class Plans < FinchAPI::Internal::Type::BaseModel
|
|
1715
|
+
attr_reader id: bool?
|
|
1716
|
+
|
|
1717
|
+
def id=: (bool) -> bool
|
|
1718
|
+
|
|
1719
|
+
attr_reader carrier: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier?
|
|
1720
|
+
|
|
1721
|
+
def carrier=: (
|
|
1722
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier
|
|
1723
|
+
) -> FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier
|
|
1724
|
+
|
|
1725
|
+
attr_reader coverage_tiers: bool?
|
|
1726
|
+
|
|
1727
|
+
def coverage_tiers=: (bool) -> bool
|
|
1728
|
+
|
|
1729
|
+
attr_reader deduction_codes: bool?
|
|
1730
|
+
|
|
1731
|
+
def deduction_codes=: (bool) -> bool
|
|
1732
|
+
|
|
1733
|
+
attr_reader description: bool?
|
|
1734
|
+
|
|
1735
|
+
def description=: (bool) -> bool
|
|
1736
|
+
|
|
1737
|
+
attr_reader end_date: bool?
|
|
1738
|
+
|
|
1739
|
+
def end_date=: (bool) -> bool
|
|
1740
|
+
|
|
1741
|
+
attr_reader name: bool?
|
|
1742
|
+
|
|
1743
|
+
def name=: (bool) -> bool
|
|
1744
|
+
|
|
1745
|
+
attr_reader network_type: bool?
|
|
1746
|
+
|
|
1747
|
+
def network_type=: (bool) -> bool
|
|
1748
|
+
|
|
1749
|
+
attr_reader start_date: bool?
|
|
1750
|
+
|
|
1751
|
+
def start_date=: (bool) -> bool
|
|
1752
|
+
|
|
1753
|
+
attr_reader type: bool?
|
|
1754
|
+
|
|
1755
|
+
def type=: (bool) -> bool
|
|
1756
|
+
|
|
1757
|
+
def initialize: (
|
|
1758
|
+
?id: bool,
|
|
1759
|
+
?carrier: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier,
|
|
1760
|
+
?coverage_tiers: bool,
|
|
1761
|
+
?deduction_codes: bool,
|
|
1762
|
+
?description: bool,
|
|
1763
|
+
?end_date: bool,
|
|
1764
|
+
?name: bool,
|
|
1765
|
+
?network_type: bool,
|
|
1766
|
+
?start_date: bool,
|
|
1767
|
+
?type: bool
|
|
1768
|
+
) -> void
|
|
1769
|
+
|
|
1770
|
+
def to_hash: -> {
|
|
1771
|
+
id: bool,
|
|
1772
|
+
carrier: FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier,
|
|
1773
|
+
coverage_tiers: bool,
|
|
1774
|
+
deduction_codes: bool,
|
|
1775
|
+
description: bool,
|
|
1776
|
+
end_date: bool,
|
|
1777
|
+
name: bool,
|
|
1778
|
+
network_type: bool,
|
|
1779
|
+
start_date: bool,
|
|
1780
|
+
type: bool
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
type carrier = { id: bool, name: bool }
|
|
1784
|
+
|
|
1785
|
+
class Carrier < FinchAPI::Internal::Type::BaseModel
|
|
1786
|
+
attr_reader id: bool?
|
|
1787
|
+
|
|
1788
|
+
def id=: (bool) -> bool
|
|
1789
|
+
|
|
1790
|
+
attr_reader name: bool?
|
|
1791
|
+
|
|
1792
|
+
def name=: (bool) -> bool
|
|
1793
|
+
|
|
1794
|
+
def initialize: (?id: bool, ?name: bool) -> void
|
|
1795
|
+
|
|
1796
|
+
def to_hash: -> { id: bool, name: bool }
|
|
1797
|
+
end
|
|
1798
|
+
end
|
|
1411
1799
|
end
|
|
1412
1800
|
|
|
1413
1801
|
type type_ =
|
|
@@ -11,6 +11,7 @@ module FinchAPI
|
|
|
11
11
|
type employment_data_response_body =
|
|
12
12
|
{
|
|
13
13
|
id: String,
|
|
14
|
+
benefit_eligibility_class: String?,
|
|
14
15
|
class_code: String?,
|
|
15
16
|
department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?,
|
|
16
17
|
employment: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment?,
|
|
@@ -40,6 +41,8 @@ module FinchAPI
|
|
|
40
41
|
class EmploymentDataResponseBody < FinchAPI::Internal::Type::BaseModel
|
|
41
42
|
attr_accessor id: String
|
|
42
43
|
|
|
44
|
+
attr_accessor benefit_eligibility_class: String?
|
|
45
|
+
|
|
43
46
|
attr_accessor class_code: String?
|
|
44
47
|
|
|
45
48
|
attr_accessor department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?
|
|
@@ -90,6 +93,7 @@ module FinchAPI
|
|
|
90
93
|
|
|
91
94
|
def initialize: (
|
|
92
95
|
id: String,
|
|
96
|
+
benefit_eligibility_class: String?,
|
|
93
97
|
class_code: String?,
|
|
94
98
|
department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?,
|
|
95
99
|
employment: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment?,
|
|
@@ -118,6 +122,7 @@ module FinchAPI
|
|
|
118
122
|
|
|
119
123
|
def to_hash: -> {
|
|
120
124
|
id: String,
|
|
125
|
+
benefit_eligibility_class: String?,
|
|
121
126
|
class_code: String?,
|
|
122
127
|
department: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Department?,
|
|
123
128
|
employment: FinchAPI::HRIS::EmploymentData::EmploymentDataResponseBody::Employment?,
|