finch-api 0.1.0.pre.alpha.59 → 0.1.0.pre.alpha.61
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 +25 -0
- data/README.md +1 -1
- data/lib/finch_api/models/access_token_create_params.rb +8 -2
- data/lib/finch_api/models/account_update_event.rb +328 -8
- data/lib/finch_api/models/connect/session_new_params.rb +4 -2
- data/lib/finch_api/models/connect/session_reauthenticate_params.rb +4 -2
- data/lib/finch_api/models/hris/benefit_create_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_list_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_register_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_retrieve_params.rb +3 -1
- data/lib/finch_api/models/hris/benefit_update_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +3 -1
- data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +3 -1
- data/lib/finch_api/models/hris/company_retrieve_params.rb +3 -1
- data/lib/finch_api/models/hris/directory_list_individuals_params.rb +3 -1
- data/lib/finch_api/models/hris/directory_list_params.rb +3 -1
- data/lib/finch_api/models/hris/document_list_params.rb +3 -1
- data/lib/finch_api/models/hris/document_retreive_params.rb +3 -1
- data/lib/finch_api/models/hris/employment_data.rb +11 -1
- data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_create_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_delete_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_list_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item/rule_update_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_item_list_params.rb +3 -1
- data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +3 -1
- data/lib/finch_api/models/hris/payment_list_params.rb +3 -1
- data/lib/finch_api/models/payroll/pay_group_list_params.rb +3 -1
- data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +3 -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/access_tokens.rb +4 -1
- data/lib/finch_api/resources/connect/sessions.rb +2 -2
- data/lib/finch_api/resources/sandbox/employment.rb +3 -1
- data/lib/finch_api/version.rb +1 -1
- data/rbi/finch_api/models/access_token_create_params.rbi +8 -2
- data/rbi/finch_api/models/account_update_event.rbi +738 -15
- data/rbi/finch_api/models/connect/session_new_params.rbi +6 -2
- data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_create_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_register_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefit_update_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +6 -2
- data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/company_retrieve_params.rbi +6 -2
- data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +6 -2
- data/rbi/finch_api/models/hris/directory_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/document_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/document_retreive_params.rbi +6 -2
- data/rbi/finch_api/models/hris/employment_data.rbi +12 -0
- data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_create_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_delete_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item/rule_update_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_item_list_params.rbi +6 -2
- data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +6 -2
- data/rbi/finch_api/models/hris/payment_list_params.rbi +6 -2
- data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +6 -2
- data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +6 -2
- 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/access_tokens.rbi +4 -1
- data/rbi/finch_api/resources/connect/sessions.rbi +6 -2
- data/rbi/finch_api/resources/hris/benefits/individuals.rbi +12 -4
- data/rbi/finch_api/resources/hris/benefits.rbi +18 -6
- data/rbi/finch_api/resources/hris/company.rbi +3 -1
- data/rbi/finch_api/resources/hris/directory.rbi +3 -1
- data/rbi/finch_api/resources/hris/documents.rbi +6 -2
- data/rbi/finch_api/resources/hris/employments.rbi +3 -1
- data/rbi/finch_api/resources/hris/individuals.rbi +3 -1
- data/rbi/finch_api/resources/hris/pay_statement_item/rules.rbi +12 -4
- data/rbi/finch_api/resources/hris/pay_statement_item.rbi +3 -1
- data/rbi/finch_api/resources/hris/pay_statements.rbi +3 -1
- data/rbi/finch_api/resources/hris/payments.rbi +3 -1
- data/rbi/finch_api/resources/payroll/pay_groups.rbi +6 -2
- 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
|
@@ -117,7 +117,7 @@ module FinchAPI
|
|
|
117
117
|
end
|
|
118
118
|
attr_writer :benefits_support
|
|
119
119
|
|
|
120
|
-
# The supported data fields returned by our HR and
|
|
120
|
+
# The supported data fields returned by our HR, payroll, and benefits endpoints
|
|
121
121
|
sig do
|
|
122
122
|
returns(
|
|
123
123
|
T.nilable(
|
|
@@ -171,7 +171,7 @@ module FinchAPI
|
|
|
171
171
|
# Each benefit type and their supported features. If the benefit type is not
|
|
172
172
|
# supported, the property will be null
|
|
173
173
|
benefits_support: nil,
|
|
174
|
-
# The supported data fields returned by our HR and
|
|
174
|
+
# The supported data fields returned by our HR, payroll, and benefits endpoints
|
|
175
175
|
supported_fields: nil,
|
|
176
176
|
# The type of authentication method.
|
|
177
177
|
type: nil
|
|
@@ -322,7 +322,58 @@ module FinchAPI
|
|
|
322
322
|
end
|
|
323
323
|
attr_writer :payment
|
|
324
324
|
|
|
325
|
-
|
|
325
|
+
sig do
|
|
326
|
+
returns(
|
|
327
|
+
T.nilable(
|
|
328
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents
|
|
329
|
+
)
|
|
330
|
+
)
|
|
331
|
+
end
|
|
332
|
+
attr_reader :plan_dependents
|
|
333
|
+
|
|
334
|
+
sig do
|
|
335
|
+
params(
|
|
336
|
+
plan_dependents:
|
|
337
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::OrHash
|
|
338
|
+
).void
|
|
339
|
+
end
|
|
340
|
+
attr_writer :plan_dependents
|
|
341
|
+
|
|
342
|
+
sig do
|
|
343
|
+
returns(
|
|
344
|
+
T.nilable(
|
|
345
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments
|
|
346
|
+
)
|
|
347
|
+
)
|
|
348
|
+
end
|
|
349
|
+
attr_reader :plan_enrollments
|
|
350
|
+
|
|
351
|
+
sig do
|
|
352
|
+
params(
|
|
353
|
+
plan_enrollments:
|
|
354
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::OrHash
|
|
355
|
+
).void
|
|
356
|
+
end
|
|
357
|
+
attr_writer :plan_enrollments
|
|
358
|
+
|
|
359
|
+
sig do
|
|
360
|
+
returns(
|
|
361
|
+
T.nilable(
|
|
362
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans
|
|
363
|
+
)
|
|
364
|
+
)
|
|
365
|
+
end
|
|
366
|
+
attr_reader :plans
|
|
367
|
+
|
|
368
|
+
sig do
|
|
369
|
+
params(
|
|
370
|
+
plans:
|
|
371
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::OrHash
|
|
372
|
+
).void
|
|
373
|
+
end
|
|
374
|
+
attr_writer :plans
|
|
375
|
+
|
|
376
|
+
# The supported data fields returned by our HR, payroll, and benefits endpoints
|
|
326
377
|
sig do
|
|
327
378
|
params(
|
|
328
379
|
company:
|
|
@@ -338,7 +389,13 @@ module FinchAPI
|
|
|
338
389
|
pay_statement:
|
|
339
390
|
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::OrHash,
|
|
340
391
|
payment:
|
|
341
|
-
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::OrHash
|
|
392
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::OrHash,
|
|
393
|
+
plan_dependents:
|
|
394
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::OrHash,
|
|
395
|
+
plan_enrollments:
|
|
396
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::OrHash,
|
|
397
|
+
plans:
|
|
398
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::OrHash
|
|
342
399
|
).returns(T.attached_class)
|
|
343
400
|
end
|
|
344
401
|
def self.new(
|
|
@@ -348,7 +405,10 @@ module FinchAPI
|
|
|
348
405
|
individual: nil,
|
|
349
406
|
pay_group: nil,
|
|
350
407
|
pay_statement: nil,
|
|
351
|
-
payment: nil
|
|
408
|
+
payment: nil,
|
|
409
|
+
plan_dependents: nil,
|
|
410
|
+
plan_enrollments: nil,
|
|
411
|
+
plans: nil
|
|
352
412
|
)
|
|
353
413
|
end
|
|
354
414
|
|
|
@@ -368,7 +428,13 @@ module FinchAPI
|
|
|
368
428
|
pay_statement:
|
|
369
429
|
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
|
|
370
430
|
payment:
|
|
371
|
-
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
|
|
431
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment,
|
|
432
|
+
plan_dependents:
|
|
433
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents,
|
|
434
|
+
plan_enrollments:
|
|
435
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments,
|
|
436
|
+
plans:
|
|
437
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans
|
|
372
438
|
}
|
|
373
439
|
)
|
|
374
440
|
end
|
|
@@ -886,10 +952,7 @@ module FinchAPI
|
|
|
886
952
|
attr_writer :id
|
|
887
953
|
|
|
888
954
|
sig { returns(T.nilable(T::Boolean)) }
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
sig { params(department: T::Boolean).void }
|
|
892
|
-
attr_writer :department
|
|
955
|
+
attr_accessor :department
|
|
893
956
|
|
|
894
957
|
sig { returns(T.nilable(T::Boolean)) }
|
|
895
958
|
attr_reader :first_name
|
|
@@ -935,7 +998,7 @@ module FinchAPI
|
|
|
935
998
|
sig do
|
|
936
999
|
params(
|
|
937
1000
|
id: T::Boolean,
|
|
938
|
-
department: T::Boolean,
|
|
1001
|
+
department: T.nilable(T::Boolean),
|
|
939
1002
|
first_name: T::Boolean,
|
|
940
1003
|
is_active: T::Boolean,
|
|
941
1004
|
last_name: T::Boolean,
|
|
@@ -959,7 +1022,7 @@ module FinchAPI
|
|
|
959
1022
|
override.returns(
|
|
960
1023
|
{
|
|
961
1024
|
id: T::Boolean,
|
|
962
|
-
department: T::Boolean,
|
|
1025
|
+
department: T.nilable(T::Boolean),
|
|
963
1026
|
first_name: T::Boolean,
|
|
964
1027
|
is_active: T::Boolean,
|
|
965
1028
|
last_name: T::Boolean,
|
|
@@ -1177,7 +1240,9 @@ module FinchAPI
|
|
|
1177
1240
|
sig do
|
|
1178
1241
|
params(
|
|
1179
1242
|
manager:
|
|
1180
|
-
|
|
1243
|
+
T.nilable(
|
|
1244
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager::OrHash
|
|
1245
|
+
)
|
|
1181
1246
|
).void
|
|
1182
1247
|
end
|
|
1183
1248
|
attr_writer :manager
|
|
@@ -1220,7 +1285,9 @@ module FinchAPI
|
|
|
1220
1285
|
location:
|
|
1221
1286
|
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location::OrHash,
|
|
1222
1287
|
manager:
|
|
1223
|
-
|
|
1288
|
+
T.nilable(
|
|
1289
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager::OrHash
|
|
1290
|
+
),
|
|
1224
1291
|
middle_name: T::Boolean,
|
|
1225
1292
|
start_date: T::Boolean,
|
|
1226
1293
|
title: T::Boolean
|
|
@@ -1268,7 +1335,9 @@ module FinchAPI
|
|
|
1268
1335
|
location:
|
|
1269
1336
|
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location,
|
|
1270
1337
|
manager:
|
|
1271
|
-
|
|
1338
|
+
T.nilable(
|
|
1339
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager
|
|
1340
|
+
),
|
|
1272
1341
|
middle_name: T::Boolean,
|
|
1273
1342
|
start_date: T::Boolean,
|
|
1274
1343
|
title: T::Boolean
|
|
@@ -2593,6 +2662,660 @@ module FinchAPI
|
|
|
2593
2662
|
end
|
|
2594
2663
|
end
|
|
2595
2664
|
end
|
|
2665
|
+
|
|
2666
|
+
class PlanDependents < FinchAPI::Internal::Type::BaseModel
|
|
2667
|
+
OrHash =
|
|
2668
|
+
T.type_alias do
|
|
2669
|
+
T.any(
|
|
2670
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents,
|
|
2671
|
+
FinchAPI::Internal::AnyHash
|
|
2672
|
+
)
|
|
2673
|
+
end
|
|
2674
|
+
|
|
2675
|
+
sig do
|
|
2676
|
+
returns(
|
|
2677
|
+
T.nilable(
|
|
2678
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage
|
|
2679
|
+
)
|
|
2680
|
+
)
|
|
2681
|
+
end
|
|
2682
|
+
attr_reader :coverage
|
|
2683
|
+
|
|
2684
|
+
sig do
|
|
2685
|
+
params(
|
|
2686
|
+
coverage:
|
|
2687
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::OrHash
|
|
2688
|
+
).void
|
|
2689
|
+
end
|
|
2690
|
+
attr_writer :coverage
|
|
2691
|
+
|
|
2692
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2693
|
+
attr_reader :date_of_birth
|
|
2694
|
+
|
|
2695
|
+
sig { params(date_of_birth: T::Boolean).void }
|
|
2696
|
+
attr_writer :date_of_birth
|
|
2697
|
+
|
|
2698
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2699
|
+
attr_reader :dependent_id
|
|
2700
|
+
|
|
2701
|
+
sig { params(dependent_id: T::Boolean).void }
|
|
2702
|
+
attr_writer :dependent_id
|
|
2703
|
+
|
|
2704
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2705
|
+
attr_reader :first_name
|
|
2706
|
+
|
|
2707
|
+
sig { params(first_name: T::Boolean).void }
|
|
2708
|
+
attr_writer :first_name
|
|
2709
|
+
|
|
2710
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2711
|
+
attr_reader :gender
|
|
2712
|
+
|
|
2713
|
+
sig { params(gender: T::Boolean).void }
|
|
2714
|
+
attr_writer :gender
|
|
2715
|
+
|
|
2716
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2717
|
+
attr_reader :last_name
|
|
2718
|
+
|
|
2719
|
+
sig { params(last_name: T::Boolean).void }
|
|
2720
|
+
attr_writer :last_name
|
|
2721
|
+
|
|
2722
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2723
|
+
attr_reader :middle_name
|
|
2724
|
+
|
|
2725
|
+
sig { params(middle_name: T::Boolean).void }
|
|
2726
|
+
attr_writer :middle_name
|
|
2727
|
+
|
|
2728
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2729
|
+
attr_reader :ssn
|
|
2730
|
+
|
|
2731
|
+
sig { params(ssn: T::Boolean).void }
|
|
2732
|
+
attr_writer :ssn
|
|
2733
|
+
|
|
2734
|
+
sig do
|
|
2735
|
+
params(
|
|
2736
|
+
coverage:
|
|
2737
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::OrHash,
|
|
2738
|
+
date_of_birth: T::Boolean,
|
|
2739
|
+
dependent_id: T::Boolean,
|
|
2740
|
+
first_name: T::Boolean,
|
|
2741
|
+
gender: T::Boolean,
|
|
2742
|
+
last_name: T::Boolean,
|
|
2743
|
+
middle_name: T::Boolean,
|
|
2744
|
+
ssn: T::Boolean
|
|
2745
|
+
).returns(T.attached_class)
|
|
2746
|
+
end
|
|
2747
|
+
def self.new(
|
|
2748
|
+
coverage: nil,
|
|
2749
|
+
date_of_birth: nil,
|
|
2750
|
+
dependent_id: nil,
|
|
2751
|
+
first_name: nil,
|
|
2752
|
+
gender: nil,
|
|
2753
|
+
last_name: nil,
|
|
2754
|
+
middle_name: nil,
|
|
2755
|
+
ssn: nil
|
|
2756
|
+
)
|
|
2757
|
+
end
|
|
2758
|
+
|
|
2759
|
+
sig do
|
|
2760
|
+
override.returns(
|
|
2761
|
+
{
|
|
2762
|
+
coverage:
|
|
2763
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage,
|
|
2764
|
+
date_of_birth: T::Boolean,
|
|
2765
|
+
dependent_id: T::Boolean,
|
|
2766
|
+
first_name: T::Boolean,
|
|
2767
|
+
gender: T::Boolean,
|
|
2768
|
+
last_name: T::Boolean,
|
|
2769
|
+
middle_name: T::Boolean,
|
|
2770
|
+
ssn: T::Boolean
|
|
2771
|
+
}
|
|
2772
|
+
)
|
|
2773
|
+
end
|
|
2774
|
+
def to_hash
|
|
2775
|
+
end
|
|
2776
|
+
|
|
2777
|
+
class Coverage < FinchAPI::Internal::Type::BaseModel
|
|
2778
|
+
OrHash =
|
|
2779
|
+
T.type_alias do
|
|
2780
|
+
T.any(
|
|
2781
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage,
|
|
2782
|
+
FinchAPI::Internal::AnyHash
|
|
2783
|
+
)
|
|
2784
|
+
end
|
|
2785
|
+
|
|
2786
|
+
sig do
|
|
2787
|
+
returns(
|
|
2788
|
+
T.nilable(
|
|
2789
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments
|
|
2790
|
+
)
|
|
2791
|
+
)
|
|
2792
|
+
end
|
|
2793
|
+
attr_reader :enrollments
|
|
2794
|
+
|
|
2795
|
+
sig do
|
|
2796
|
+
params(
|
|
2797
|
+
enrollments:
|
|
2798
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments::OrHash
|
|
2799
|
+
).void
|
|
2800
|
+
end
|
|
2801
|
+
attr_writer :enrollments
|
|
2802
|
+
|
|
2803
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2804
|
+
attr_reader :individual_id
|
|
2805
|
+
|
|
2806
|
+
sig { params(individual_id: T::Boolean).void }
|
|
2807
|
+
attr_writer :individual_id
|
|
2808
|
+
|
|
2809
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2810
|
+
attr_reader :relationship_to_individual
|
|
2811
|
+
|
|
2812
|
+
sig { params(relationship_to_individual: T::Boolean).void }
|
|
2813
|
+
attr_writer :relationship_to_individual
|
|
2814
|
+
|
|
2815
|
+
sig do
|
|
2816
|
+
params(
|
|
2817
|
+
enrollments:
|
|
2818
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments::OrHash,
|
|
2819
|
+
individual_id: T::Boolean,
|
|
2820
|
+
relationship_to_individual: T::Boolean
|
|
2821
|
+
).returns(T.attached_class)
|
|
2822
|
+
end
|
|
2823
|
+
def self.new(
|
|
2824
|
+
enrollments: nil,
|
|
2825
|
+
individual_id: nil,
|
|
2826
|
+
relationship_to_individual: nil
|
|
2827
|
+
)
|
|
2828
|
+
end
|
|
2829
|
+
|
|
2830
|
+
sig do
|
|
2831
|
+
override.returns(
|
|
2832
|
+
{
|
|
2833
|
+
enrollments:
|
|
2834
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments,
|
|
2835
|
+
individual_id: T::Boolean,
|
|
2836
|
+
relationship_to_individual: T::Boolean
|
|
2837
|
+
}
|
|
2838
|
+
)
|
|
2839
|
+
end
|
|
2840
|
+
def to_hash
|
|
2841
|
+
end
|
|
2842
|
+
|
|
2843
|
+
class Enrollments < FinchAPI::Internal::Type::BaseModel
|
|
2844
|
+
OrHash =
|
|
2845
|
+
T.type_alias do
|
|
2846
|
+
T.any(
|
|
2847
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments,
|
|
2848
|
+
FinchAPI::Internal::AnyHash
|
|
2849
|
+
)
|
|
2850
|
+
end
|
|
2851
|
+
|
|
2852
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2853
|
+
attr_reader :id
|
|
2854
|
+
|
|
2855
|
+
sig { params(id: T::Boolean).void }
|
|
2856
|
+
attr_writer :id
|
|
2857
|
+
|
|
2858
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2859
|
+
attr_reader :type
|
|
2860
|
+
|
|
2861
|
+
sig { params(type: T::Boolean).void }
|
|
2862
|
+
attr_writer :type
|
|
2863
|
+
|
|
2864
|
+
sig do
|
|
2865
|
+
params(id: T::Boolean, type: T::Boolean).returns(
|
|
2866
|
+
T.attached_class
|
|
2867
|
+
)
|
|
2868
|
+
end
|
|
2869
|
+
def self.new(id: nil, type: nil)
|
|
2870
|
+
end
|
|
2871
|
+
|
|
2872
|
+
sig { override.returns({ id: T::Boolean, type: T::Boolean }) }
|
|
2873
|
+
def to_hash
|
|
2874
|
+
end
|
|
2875
|
+
end
|
|
2876
|
+
end
|
|
2877
|
+
end
|
|
2878
|
+
|
|
2879
|
+
class PlanEnrollments < FinchAPI::Internal::Type::BaseModel
|
|
2880
|
+
OrHash =
|
|
2881
|
+
T.type_alias do
|
|
2882
|
+
T.any(
|
|
2883
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments,
|
|
2884
|
+
FinchAPI::Internal::AnyHash
|
|
2885
|
+
)
|
|
2886
|
+
end
|
|
2887
|
+
|
|
2888
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2889
|
+
attr_reader :id
|
|
2890
|
+
|
|
2891
|
+
sig { params(id: T::Boolean).void }
|
|
2892
|
+
attr_writer :id
|
|
2893
|
+
|
|
2894
|
+
sig do
|
|
2895
|
+
returns(
|
|
2896
|
+
T.nilable(
|
|
2897
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions
|
|
2898
|
+
)
|
|
2899
|
+
)
|
|
2900
|
+
end
|
|
2901
|
+
attr_reader :contributions
|
|
2902
|
+
|
|
2903
|
+
sig do
|
|
2904
|
+
params(
|
|
2905
|
+
contributions:
|
|
2906
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::OrHash
|
|
2907
|
+
).void
|
|
2908
|
+
end
|
|
2909
|
+
attr_writer :contributions
|
|
2910
|
+
|
|
2911
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2912
|
+
attr_reader :coverage_end_date
|
|
2913
|
+
|
|
2914
|
+
sig { params(coverage_end_date: T::Boolean).void }
|
|
2915
|
+
attr_writer :coverage_end_date
|
|
2916
|
+
|
|
2917
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2918
|
+
attr_reader :coverage_start_date
|
|
2919
|
+
|
|
2920
|
+
sig { params(coverage_start_date: T::Boolean).void }
|
|
2921
|
+
attr_writer :coverage_start_date
|
|
2922
|
+
|
|
2923
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2924
|
+
attr_reader :coverage_tier
|
|
2925
|
+
|
|
2926
|
+
sig { params(coverage_tier: T::Boolean).void }
|
|
2927
|
+
attr_writer :coverage_tier
|
|
2928
|
+
|
|
2929
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2930
|
+
attr_reader :dependent_ids
|
|
2931
|
+
|
|
2932
|
+
sig { params(dependent_ids: T::Boolean).void }
|
|
2933
|
+
attr_writer :dependent_ids
|
|
2934
|
+
|
|
2935
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2936
|
+
attr_reader :individual_id
|
|
2937
|
+
|
|
2938
|
+
sig { params(individual_id: T::Boolean).void }
|
|
2939
|
+
attr_writer :individual_id
|
|
2940
|
+
|
|
2941
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2942
|
+
attr_reader :plan_id
|
|
2943
|
+
|
|
2944
|
+
sig { params(plan_id: T::Boolean).void }
|
|
2945
|
+
attr_writer :plan_id
|
|
2946
|
+
|
|
2947
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
2948
|
+
attr_reader :status
|
|
2949
|
+
|
|
2950
|
+
sig { params(status: T::Boolean).void }
|
|
2951
|
+
attr_writer :status
|
|
2952
|
+
|
|
2953
|
+
sig do
|
|
2954
|
+
params(
|
|
2955
|
+
id: T::Boolean,
|
|
2956
|
+
contributions:
|
|
2957
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::OrHash,
|
|
2958
|
+
coverage_end_date: T::Boolean,
|
|
2959
|
+
coverage_start_date: T::Boolean,
|
|
2960
|
+
coverage_tier: T::Boolean,
|
|
2961
|
+
dependent_ids: T::Boolean,
|
|
2962
|
+
individual_id: T::Boolean,
|
|
2963
|
+
plan_id: T::Boolean,
|
|
2964
|
+
status: T::Boolean
|
|
2965
|
+
).returns(T.attached_class)
|
|
2966
|
+
end
|
|
2967
|
+
def self.new(
|
|
2968
|
+
id: nil,
|
|
2969
|
+
contributions: nil,
|
|
2970
|
+
coverage_end_date: nil,
|
|
2971
|
+
coverage_start_date: nil,
|
|
2972
|
+
coverage_tier: nil,
|
|
2973
|
+
dependent_ids: nil,
|
|
2974
|
+
individual_id: nil,
|
|
2975
|
+
plan_id: nil,
|
|
2976
|
+
status: nil
|
|
2977
|
+
)
|
|
2978
|
+
end
|
|
2979
|
+
|
|
2980
|
+
sig do
|
|
2981
|
+
override.returns(
|
|
2982
|
+
{
|
|
2983
|
+
id: T::Boolean,
|
|
2984
|
+
contributions:
|
|
2985
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions,
|
|
2986
|
+
coverage_end_date: T::Boolean,
|
|
2987
|
+
coverage_start_date: T::Boolean,
|
|
2988
|
+
coverage_tier: T::Boolean,
|
|
2989
|
+
dependent_ids: T::Boolean,
|
|
2990
|
+
individual_id: T::Boolean,
|
|
2991
|
+
plan_id: T::Boolean,
|
|
2992
|
+
status: T::Boolean
|
|
2993
|
+
}
|
|
2994
|
+
)
|
|
2995
|
+
end
|
|
2996
|
+
def to_hash
|
|
2997
|
+
end
|
|
2998
|
+
|
|
2999
|
+
class Contributions < FinchAPI::Internal::Type::BaseModel
|
|
3000
|
+
OrHash =
|
|
3001
|
+
T.type_alias do
|
|
3002
|
+
T.any(
|
|
3003
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions,
|
|
3004
|
+
FinchAPI::Internal::AnyHash
|
|
3005
|
+
)
|
|
3006
|
+
end
|
|
3007
|
+
|
|
3008
|
+
sig do
|
|
3009
|
+
returns(
|
|
3010
|
+
T.nilable(
|
|
3011
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution
|
|
3012
|
+
)
|
|
3013
|
+
)
|
|
3014
|
+
end
|
|
3015
|
+
attr_reader :employee_contribution
|
|
3016
|
+
|
|
3017
|
+
sig do
|
|
3018
|
+
params(
|
|
3019
|
+
employee_contribution:
|
|
3020
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution::OrHash
|
|
3021
|
+
).void
|
|
3022
|
+
end
|
|
3023
|
+
attr_writer :employee_contribution
|
|
3024
|
+
|
|
3025
|
+
sig do
|
|
3026
|
+
returns(
|
|
3027
|
+
T.nilable(
|
|
3028
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution
|
|
3029
|
+
)
|
|
3030
|
+
)
|
|
3031
|
+
end
|
|
3032
|
+
attr_reader :employer_contribution
|
|
3033
|
+
|
|
3034
|
+
sig do
|
|
3035
|
+
params(
|
|
3036
|
+
employer_contribution:
|
|
3037
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution::OrHash
|
|
3038
|
+
).void
|
|
3039
|
+
end
|
|
3040
|
+
attr_writer :employer_contribution
|
|
3041
|
+
|
|
3042
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3043
|
+
attr_reader :frequency
|
|
3044
|
+
|
|
3045
|
+
sig { params(frequency: T::Boolean).void }
|
|
3046
|
+
attr_writer :frequency
|
|
3047
|
+
|
|
3048
|
+
sig do
|
|
3049
|
+
params(
|
|
3050
|
+
employee_contribution:
|
|
3051
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution::OrHash,
|
|
3052
|
+
employer_contribution:
|
|
3053
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution::OrHash,
|
|
3054
|
+
frequency: T::Boolean
|
|
3055
|
+
).returns(T.attached_class)
|
|
3056
|
+
end
|
|
3057
|
+
def self.new(
|
|
3058
|
+
employee_contribution: nil,
|
|
3059
|
+
employer_contribution: nil,
|
|
3060
|
+
frequency: nil
|
|
3061
|
+
)
|
|
3062
|
+
end
|
|
3063
|
+
|
|
3064
|
+
sig do
|
|
3065
|
+
override.returns(
|
|
3066
|
+
{
|
|
3067
|
+
employee_contribution:
|
|
3068
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution,
|
|
3069
|
+
employer_contribution:
|
|
3070
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution,
|
|
3071
|
+
frequency: T::Boolean
|
|
3072
|
+
}
|
|
3073
|
+
)
|
|
3074
|
+
end
|
|
3075
|
+
def to_hash
|
|
3076
|
+
end
|
|
3077
|
+
|
|
3078
|
+
class EmployeeContribution < FinchAPI::Internal::Type::BaseModel
|
|
3079
|
+
OrHash =
|
|
3080
|
+
T.type_alias do
|
|
3081
|
+
T.any(
|
|
3082
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution,
|
|
3083
|
+
FinchAPI::Internal::AnyHash
|
|
3084
|
+
)
|
|
3085
|
+
end
|
|
3086
|
+
|
|
3087
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3088
|
+
attr_reader :amount
|
|
3089
|
+
|
|
3090
|
+
sig { params(amount: T::Boolean).void }
|
|
3091
|
+
attr_writer :amount
|
|
3092
|
+
|
|
3093
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3094
|
+
attr_reader :currency
|
|
3095
|
+
|
|
3096
|
+
sig { params(currency: T::Boolean).void }
|
|
3097
|
+
attr_writer :currency
|
|
3098
|
+
|
|
3099
|
+
sig do
|
|
3100
|
+
params(amount: T::Boolean, currency: T::Boolean).returns(
|
|
3101
|
+
T.attached_class
|
|
3102
|
+
)
|
|
3103
|
+
end
|
|
3104
|
+
def self.new(amount: nil, currency: nil)
|
|
3105
|
+
end
|
|
3106
|
+
|
|
3107
|
+
sig do
|
|
3108
|
+
override.returns(
|
|
3109
|
+
{ amount: T::Boolean, currency: T::Boolean }
|
|
3110
|
+
)
|
|
3111
|
+
end
|
|
3112
|
+
def to_hash
|
|
3113
|
+
end
|
|
3114
|
+
end
|
|
3115
|
+
|
|
3116
|
+
class EmployerContribution < FinchAPI::Internal::Type::BaseModel
|
|
3117
|
+
OrHash =
|
|
3118
|
+
T.type_alias do
|
|
3119
|
+
T.any(
|
|
3120
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution,
|
|
3121
|
+
FinchAPI::Internal::AnyHash
|
|
3122
|
+
)
|
|
3123
|
+
end
|
|
3124
|
+
|
|
3125
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3126
|
+
attr_reader :amount
|
|
3127
|
+
|
|
3128
|
+
sig { params(amount: T::Boolean).void }
|
|
3129
|
+
attr_writer :amount
|
|
3130
|
+
|
|
3131
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3132
|
+
attr_reader :currency
|
|
3133
|
+
|
|
3134
|
+
sig { params(currency: T::Boolean).void }
|
|
3135
|
+
attr_writer :currency
|
|
3136
|
+
|
|
3137
|
+
sig do
|
|
3138
|
+
params(amount: T::Boolean, currency: T::Boolean).returns(
|
|
3139
|
+
T.attached_class
|
|
3140
|
+
)
|
|
3141
|
+
end
|
|
3142
|
+
def self.new(amount: nil, currency: nil)
|
|
3143
|
+
end
|
|
3144
|
+
|
|
3145
|
+
sig do
|
|
3146
|
+
override.returns(
|
|
3147
|
+
{ amount: T::Boolean, currency: T::Boolean }
|
|
3148
|
+
)
|
|
3149
|
+
end
|
|
3150
|
+
def to_hash
|
|
3151
|
+
end
|
|
3152
|
+
end
|
|
3153
|
+
end
|
|
3154
|
+
end
|
|
3155
|
+
|
|
3156
|
+
class Plans < FinchAPI::Internal::Type::BaseModel
|
|
3157
|
+
OrHash =
|
|
3158
|
+
T.type_alias do
|
|
3159
|
+
T.any(
|
|
3160
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans,
|
|
3161
|
+
FinchAPI::Internal::AnyHash
|
|
3162
|
+
)
|
|
3163
|
+
end
|
|
3164
|
+
|
|
3165
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3166
|
+
attr_reader :id
|
|
3167
|
+
|
|
3168
|
+
sig { params(id: T::Boolean).void }
|
|
3169
|
+
attr_writer :id
|
|
3170
|
+
|
|
3171
|
+
sig do
|
|
3172
|
+
returns(
|
|
3173
|
+
T.nilable(
|
|
3174
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier
|
|
3175
|
+
)
|
|
3176
|
+
)
|
|
3177
|
+
end
|
|
3178
|
+
attr_reader :carrier
|
|
3179
|
+
|
|
3180
|
+
sig do
|
|
3181
|
+
params(
|
|
3182
|
+
carrier:
|
|
3183
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier::OrHash
|
|
3184
|
+
).void
|
|
3185
|
+
end
|
|
3186
|
+
attr_writer :carrier
|
|
3187
|
+
|
|
3188
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3189
|
+
attr_reader :coverage_tiers
|
|
3190
|
+
|
|
3191
|
+
sig { params(coverage_tiers: T::Boolean).void }
|
|
3192
|
+
attr_writer :coverage_tiers
|
|
3193
|
+
|
|
3194
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3195
|
+
attr_reader :deduction_codes
|
|
3196
|
+
|
|
3197
|
+
sig { params(deduction_codes: T::Boolean).void }
|
|
3198
|
+
attr_writer :deduction_codes
|
|
3199
|
+
|
|
3200
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3201
|
+
attr_reader :description
|
|
3202
|
+
|
|
3203
|
+
sig { params(description: T::Boolean).void }
|
|
3204
|
+
attr_writer :description
|
|
3205
|
+
|
|
3206
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3207
|
+
attr_reader :end_date
|
|
3208
|
+
|
|
3209
|
+
sig { params(end_date: T::Boolean).void }
|
|
3210
|
+
attr_writer :end_date
|
|
3211
|
+
|
|
3212
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3213
|
+
attr_reader :name
|
|
3214
|
+
|
|
3215
|
+
sig { params(name: T::Boolean).void }
|
|
3216
|
+
attr_writer :name
|
|
3217
|
+
|
|
3218
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3219
|
+
attr_reader :network_type
|
|
3220
|
+
|
|
3221
|
+
sig { params(network_type: T::Boolean).void }
|
|
3222
|
+
attr_writer :network_type
|
|
3223
|
+
|
|
3224
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3225
|
+
attr_reader :start_date
|
|
3226
|
+
|
|
3227
|
+
sig { params(start_date: T::Boolean).void }
|
|
3228
|
+
attr_writer :start_date
|
|
3229
|
+
|
|
3230
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3231
|
+
attr_reader :type
|
|
3232
|
+
|
|
3233
|
+
sig { params(type: T::Boolean).void }
|
|
3234
|
+
attr_writer :type
|
|
3235
|
+
|
|
3236
|
+
sig do
|
|
3237
|
+
params(
|
|
3238
|
+
id: T::Boolean,
|
|
3239
|
+
carrier:
|
|
3240
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier::OrHash,
|
|
3241
|
+
coverage_tiers: T::Boolean,
|
|
3242
|
+
deduction_codes: T::Boolean,
|
|
3243
|
+
description: T::Boolean,
|
|
3244
|
+
end_date: T::Boolean,
|
|
3245
|
+
name: T::Boolean,
|
|
3246
|
+
network_type: T::Boolean,
|
|
3247
|
+
start_date: T::Boolean,
|
|
3248
|
+
type: T::Boolean
|
|
3249
|
+
).returns(T.attached_class)
|
|
3250
|
+
end
|
|
3251
|
+
def self.new(
|
|
3252
|
+
id: nil,
|
|
3253
|
+
carrier: nil,
|
|
3254
|
+
coverage_tiers: nil,
|
|
3255
|
+
deduction_codes: nil,
|
|
3256
|
+
description: nil,
|
|
3257
|
+
end_date: nil,
|
|
3258
|
+
name: nil,
|
|
3259
|
+
network_type: nil,
|
|
3260
|
+
start_date: nil,
|
|
3261
|
+
type: nil
|
|
3262
|
+
)
|
|
3263
|
+
end
|
|
3264
|
+
|
|
3265
|
+
sig do
|
|
3266
|
+
override.returns(
|
|
3267
|
+
{
|
|
3268
|
+
id: T::Boolean,
|
|
3269
|
+
carrier:
|
|
3270
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier,
|
|
3271
|
+
coverage_tiers: T::Boolean,
|
|
3272
|
+
deduction_codes: T::Boolean,
|
|
3273
|
+
description: T::Boolean,
|
|
3274
|
+
end_date: T::Boolean,
|
|
3275
|
+
name: T::Boolean,
|
|
3276
|
+
network_type: T::Boolean,
|
|
3277
|
+
start_date: T::Boolean,
|
|
3278
|
+
type: T::Boolean
|
|
3279
|
+
}
|
|
3280
|
+
)
|
|
3281
|
+
end
|
|
3282
|
+
def to_hash
|
|
3283
|
+
end
|
|
3284
|
+
|
|
3285
|
+
class Carrier < FinchAPI::Internal::Type::BaseModel
|
|
3286
|
+
OrHash =
|
|
3287
|
+
T.type_alias do
|
|
3288
|
+
T.any(
|
|
3289
|
+
FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Plans::Carrier,
|
|
3290
|
+
FinchAPI::Internal::AnyHash
|
|
3291
|
+
)
|
|
3292
|
+
end
|
|
3293
|
+
|
|
3294
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3295
|
+
attr_reader :id
|
|
3296
|
+
|
|
3297
|
+
sig { params(id: T::Boolean).void }
|
|
3298
|
+
attr_writer :id
|
|
3299
|
+
|
|
3300
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
3301
|
+
attr_reader :name
|
|
3302
|
+
|
|
3303
|
+
sig { params(name: T::Boolean).void }
|
|
3304
|
+
attr_writer :name
|
|
3305
|
+
|
|
3306
|
+
sig do
|
|
3307
|
+
params(id: T::Boolean, name: T::Boolean).returns(
|
|
3308
|
+
T.attached_class
|
|
3309
|
+
)
|
|
3310
|
+
end
|
|
3311
|
+
def self.new(id: nil, name: nil)
|
|
3312
|
+
end
|
|
3313
|
+
|
|
3314
|
+
sig { override.returns({ id: T::Boolean, name: T::Boolean }) }
|
|
3315
|
+
def to_hash
|
|
3316
|
+
end
|
|
3317
|
+
end
|
|
3318
|
+
end
|
|
2596
3319
|
end
|
|
2597
3320
|
|
|
2598
3321
|
# The type of authentication method.
|