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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/README.md +1 -1
  4. data/lib/finch_api/models/account_update_event.rb +328 -8
  5. data/lib/finch_api/models/hris/employment_data.rb +11 -1
  6. data/lib/finch_api/models/provider.rb +1371 -4
  7. data/lib/finch_api/models/provider_list_response.rb +1387 -4
  8. data/lib/finch_api/models/sandbox/directory_create_params.rb +11 -1
  9. data/lib/finch_api/models/sandbox/employment_update_params.rb +11 -1
  10. data/lib/finch_api/models/sandbox/employment_update_response.rb +11 -1
  11. data/lib/finch_api/resources/sandbox/employment.rb +3 -1
  12. data/lib/finch_api/version.rb +1 -1
  13. data/rbi/finch_api/models/account_update_event.rbi +738 -15
  14. data/rbi/finch_api/models/hris/employment_data.rbi +12 -0
  15. data/rbi/finch_api/models/provider.rbi +3137 -6
  16. data/rbi/finch_api/models/provider_list_response.rbi +3139 -6
  17. data/rbi/finch_api/models/sandbox/directory_create_params.rbi +12 -0
  18. data/rbi/finch_api/models/sandbox/employment_update_params.rbi +12 -0
  19. data/rbi/finch_api/models/sandbox/employment_update_response.rbi +12 -0
  20. data/rbi/finch_api/resources/sandbox/employment.rbi +5 -0
  21. data/sig/finch_api/models/account_update_event.rbs +405 -17
  22. data/sig/finch_api/models/hris/employment_data.rbs +5 -0
  23. data/sig/finch_api/models/provider.rbs +1722 -6
  24. data/sig/finch_api/models/provider_list_response.rbs +1722 -6
  25. data/sig/finch_api/models/sandbox/directory_create_params.rbs +5 -0
  26. data/sig/finch_api/models/sandbox/employment_update_params.rbs +5 -0
  27. data/sig/finch_api/models/sandbox/employment_update_response.rbs +5 -0
  28. data/sig/finch_api/resources/sandbox/employment.rbs +1 -0
  29. metadata +2 -2
@@ -180,12 +180,23 @@ module FinchAPI
180
180
  end
181
181
  attr_writer :benefits_support
182
182
 
183
- # The supported fields for each Finch product
184
- sig { returns(T.nilable(T::Hash[Symbol, T.nilable(T.anything)])) }
183
+ # The supported data fields returned by our HR, payroll, and benefits endpoints
184
+ sig do
185
+ returns(
186
+ T.nilable(
187
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields
188
+ )
189
+ )
190
+ end
185
191
  attr_reader :supported_fields
186
192
 
187
193
  sig do
188
- params(supported_fields: T::Hash[Symbol, T.nilable(T.anything)]).void
194
+ params(
195
+ supported_fields:
196
+ T.nilable(
197
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::OrHash
198
+ )
199
+ ).void
189
200
  end
190
201
  attr_writer :supported_fields
191
202
 
@@ -194,7 +205,10 @@ module FinchAPI
194
205
  type:
195
206
  FinchAPI::Models::ProviderListResponse::AuthenticationMethod::Type::OrSymbol,
196
207
  benefits_support: T::Hash[Symbol, T.nilable(T.anything)],
197
- supported_fields: T::Hash[Symbol, T.nilable(T.anything)]
208
+ supported_fields:
209
+ T.nilable(
210
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::OrHash
211
+ )
198
212
  ).returns(T.attached_class)
199
213
  end
200
214
  def self.new(
@@ -202,7 +216,7 @@ module FinchAPI
202
216
  type:,
203
217
  # The supported benefit types and their configurations
204
218
  benefits_support: nil,
205
- # The supported fields for each Finch product
219
+ # The supported data fields returned by our HR, payroll, and benefits endpoints
206
220
  supported_fields: nil
207
221
  )
208
222
  end
@@ -213,7 +227,10 @@ module FinchAPI
213
227
  type:
214
228
  FinchAPI::Models::ProviderListResponse::AuthenticationMethod::Type::TaggedSymbol,
215
229
  benefits_support: T::Hash[Symbol, T.nilable(T.anything)],
216
- supported_fields: T::Hash[Symbol, T.nilable(T.anything)]
230
+ supported_fields:
231
+ T.nilable(
232
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields
233
+ )
217
234
  }
218
235
  )
219
236
  end
@@ -274,6 +291,3122 @@ module FinchAPI
274
291
  def self.values
275
292
  end
276
293
  end
294
+
295
+ class SupportedFields < FinchAPI::Internal::Type::BaseModel
296
+ OrHash =
297
+ T.type_alias do
298
+ T.any(
299
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields,
300
+ FinchAPI::Internal::AnyHash
301
+ )
302
+ end
303
+
304
+ sig do
305
+ returns(
306
+ T.nilable(
307
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company
308
+ )
309
+ )
310
+ end
311
+ attr_reader :company
312
+
313
+ sig do
314
+ params(
315
+ company:
316
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::OrHash
317
+ ).void
318
+ end
319
+ attr_writer :company
320
+
321
+ sig do
322
+ returns(
323
+ T.nilable(
324
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory
325
+ )
326
+ )
327
+ end
328
+ attr_reader :directory
329
+
330
+ sig do
331
+ params(
332
+ directory:
333
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::OrHash
334
+ ).void
335
+ end
336
+ attr_writer :directory
337
+
338
+ sig do
339
+ returns(
340
+ T.nilable(
341
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment
342
+ )
343
+ )
344
+ end
345
+ attr_reader :employment
346
+
347
+ sig do
348
+ params(
349
+ employment:
350
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::OrHash
351
+ ).void
352
+ end
353
+ attr_writer :employment
354
+
355
+ sig do
356
+ returns(
357
+ T.nilable(
358
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual
359
+ )
360
+ )
361
+ end
362
+ attr_reader :individual
363
+
364
+ sig do
365
+ params(
366
+ individual:
367
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::OrHash
368
+ ).void
369
+ end
370
+ attr_writer :individual
371
+
372
+ sig do
373
+ returns(
374
+ T.nilable(
375
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayGroup
376
+ )
377
+ )
378
+ end
379
+ attr_reader :pay_group
380
+
381
+ sig do
382
+ params(
383
+ pay_group:
384
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayGroup::OrHash
385
+ ).void
386
+ end
387
+ attr_writer :pay_group
388
+
389
+ sig do
390
+ returns(
391
+ T.nilable(
392
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement
393
+ )
394
+ )
395
+ end
396
+ attr_reader :pay_statement
397
+
398
+ sig do
399
+ params(
400
+ pay_statement:
401
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::OrHash
402
+ ).void
403
+ end
404
+ attr_writer :pay_statement
405
+
406
+ sig do
407
+ returns(
408
+ T.nilable(
409
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment
410
+ )
411
+ )
412
+ end
413
+ attr_reader :payment
414
+
415
+ sig do
416
+ params(
417
+ payment:
418
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment::OrHash
419
+ ).void
420
+ end
421
+ attr_writer :payment
422
+
423
+ sig do
424
+ returns(
425
+ T.nilable(
426
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents
427
+ )
428
+ )
429
+ end
430
+ attr_reader :plan_dependents
431
+
432
+ sig do
433
+ params(
434
+ plan_dependents:
435
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::OrHash
436
+ ).void
437
+ end
438
+ attr_writer :plan_dependents
439
+
440
+ sig do
441
+ returns(
442
+ T.nilable(
443
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments
444
+ )
445
+ )
446
+ end
447
+ attr_reader :plan_enrollments
448
+
449
+ sig do
450
+ params(
451
+ plan_enrollments:
452
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::OrHash
453
+ ).void
454
+ end
455
+ attr_writer :plan_enrollments
456
+
457
+ sig do
458
+ returns(
459
+ T.nilable(
460
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans
461
+ )
462
+ )
463
+ end
464
+ attr_reader :plans
465
+
466
+ sig do
467
+ params(
468
+ plans:
469
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans::OrHash
470
+ ).void
471
+ end
472
+ attr_writer :plans
473
+
474
+ # The supported data fields returned by our HR, payroll, and benefits endpoints
475
+ sig do
476
+ params(
477
+ company:
478
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::OrHash,
479
+ directory:
480
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::OrHash,
481
+ employment:
482
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::OrHash,
483
+ individual:
484
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::OrHash,
485
+ pay_group:
486
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayGroup::OrHash,
487
+ pay_statement:
488
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::OrHash,
489
+ payment:
490
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment::OrHash,
491
+ plan_dependents:
492
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::OrHash,
493
+ plan_enrollments:
494
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::OrHash,
495
+ plans:
496
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans::OrHash
497
+ ).returns(T.attached_class)
498
+ end
499
+ def self.new(
500
+ company: nil,
501
+ directory: nil,
502
+ employment: nil,
503
+ individual: nil,
504
+ pay_group: nil,
505
+ pay_statement: nil,
506
+ payment: nil,
507
+ plan_dependents: nil,
508
+ plan_enrollments: nil,
509
+ plans: nil
510
+ )
511
+ end
512
+
513
+ sig do
514
+ override.returns(
515
+ {
516
+ company:
517
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company,
518
+ directory:
519
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory,
520
+ employment:
521
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment,
522
+ individual:
523
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual,
524
+ pay_group:
525
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayGroup,
526
+ pay_statement:
527
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement,
528
+ payment:
529
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment,
530
+ plan_dependents:
531
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents,
532
+ plan_enrollments:
533
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments,
534
+ plans:
535
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans
536
+ }
537
+ )
538
+ end
539
+ def to_hash
540
+ end
541
+
542
+ class Company < FinchAPI::Internal::Type::BaseModel
543
+ OrHash =
544
+ T.type_alias do
545
+ T.any(
546
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company,
547
+ FinchAPI::Internal::AnyHash
548
+ )
549
+ end
550
+
551
+ sig { returns(T.nilable(T::Boolean)) }
552
+ attr_reader :id
553
+
554
+ sig { params(id: T::Boolean).void }
555
+ attr_writer :id
556
+
557
+ sig do
558
+ returns(
559
+ T.nilable(
560
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Accounts
561
+ )
562
+ )
563
+ end
564
+ attr_reader :accounts
565
+
566
+ sig do
567
+ params(
568
+ accounts:
569
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Accounts::OrHash
570
+ ).void
571
+ end
572
+ attr_writer :accounts
573
+
574
+ sig do
575
+ returns(
576
+ T.nilable(
577
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments
578
+ )
579
+ )
580
+ end
581
+ attr_reader :departments
582
+
583
+ sig do
584
+ params(
585
+ departments:
586
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments::OrHash
587
+ ).void
588
+ end
589
+ attr_writer :departments
590
+
591
+ sig { returns(T.nilable(T::Boolean)) }
592
+ attr_reader :ein
593
+
594
+ sig { params(ein: T::Boolean).void }
595
+ attr_writer :ein
596
+
597
+ sig do
598
+ returns(
599
+ T.nilable(
600
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Entity
601
+ )
602
+ )
603
+ end
604
+ attr_reader :entity
605
+
606
+ sig do
607
+ params(
608
+ entity:
609
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Entity::OrHash
610
+ ).void
611
+ end
612
+ attr_writer :entity
613
+
614
+ sig { returns(T.nilable(T::Boolean)) }
615
+ attr_reader :legal_name
616
+
617
+ sig { params(legal_name: T::Boolean).void }
618
+ attr_writer :legal_name
619
+
620
+ sig do
621
+ returns(
622
+ T.nilable(
623
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Locations
624
+ )
625
+ )
626
+ end
627
+ attr_reader :locations
628
+
629
+ sig do
630
+ params(
631
+ locations:
632
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Locations::OrHash
633
+ ).void
634
+ end
635
+ attr_writer :locations
636
+
637
+ sig { returns(T.nilable(T::Boolean)) }
638
+ attr_reader :primary_email
639
+
640
+ sig { params(primary_email: T::Boolean).void }
641
+ attr_writer :primary_email
642
+
643
+ sig { returns(T.nilable(T::Boolean)) }
644
+ attr_reader :primary_phone_number
645
+
646
+ sig { params(primary_phone_number: T::Boolean).void }
647
+ attr_writer :primary_phone_number
648
+
649
+ sig do
650
+ params(
651
+ id: T::Boolean,
652
+ accounts:
653
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Accounts::OrHash,
654
+ departments:
655
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments::OrHash,
656
+ ein: T::Boolean,
657
+ entity:
658
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Entity::OrHash,
659
+ legal_name: T::Boolean,
660
+ locations:
661
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Locations::OrHash,
662
+ primary_email: T::Boolean,
663
+ primary_phone_number: T::Boolean
664
+ ).returns(T.attached_class)
665
+ end
666
+ def self.new(
667
+ id: nil,
668
+ accounts: nil,
669
+ departments: nil,
670
+ ein: nil,
671
+ entity: nil,
672
+ legal_name: nil,
673
+ locations: nil,
674
+ primary_email: nil,
675
+ primary_phone_number: nil
676
+ )
677
+ end
678
+
679
+ sig do
680
+ override.returns(
681
+ {
682
+ id: T::Boolean,
683
+ accounts:
684
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Accounts,
685
+ departments:
686
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments,
687
+ ein: T::Boolean,
688
+ entity:
689
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Entity,
690
+ legal_name: T::Boolean,
691
+ locations:
692
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Locations,
693
+ primary_email: T::Boolean,
694
+ primary_phone_number: T::Boolean
695
+ }
696
+ )
697
+ end
698
+ def to_hash
699
+ end
700
+
701
+ class Accounts < FinchAPI::Internal::Type::BaseModel
702
+ OrHash =
703
+ T.type_alias do
704
+ T.any(
705
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Accounts,
706
+ FinchAPI::Internal::AnyHash
707
+ )
708
+ end
709
+
710
+ sig { returns(T.nilable(T::Boolean)) }
711
+ attr_reader :account_name
712
+
713
+ sig { params(account_name: T::Boolean).void }
714
+ attr_writer :account_name
715
+
716
+ sig { returns(T.nilable(T::Boolean)) }
717
+ attr_reader :account_number
718
+
719
+ sig { params(account_number: T::Boolean).void }
720
+ attr_writer :account_number
721
+
722
+ sig { returns(T.nilable(T::Boolean)) }
723
+ attr_reader :account_type
724
+
725
+ sig { params(account_type: T::Boolean).void }
726
+ attr_writer :account_type
727
+
728
+ sig { returns(T.nilable(T::Boolean)) }
729
+ attr_reader :institution_name
730
+
731
+ sig { params(institution_name: T::Boolean).void }
732
+ attr_writer :institution_name
733
+
734
+ sig { returns(T.nilable(T::Boolean)) }
735
+ attr_reader :routing_number
736
+
737
+ sig { params(routing_number: T::Boolean).void }
738
+ attr_writer :routing_number
739
+
740
+ sig do
741
+ params(
742
+ account_name: T::Boolean,
743
+ account_number: T::Boolean,
744
+ account_type: T::Boolean,
745
+ institution_name: T::Boolean,
746
+ routing_number: T::Boolean
747
+ ).returns(T.attached_class)
748
+ end
749
+ def self.new(
750
+ account_name: nil,
751
+ account_number: nil,
752
+ account_type: nil,
753
+ institution_name: nil,
754
+ routing_number: nil
755
+ )
756
+ end
757
+
758
+ sig do
759
+ override.returns(
760
+ {
761
+ account_name: T::Boolean,
762
+ account_number: T::Boolean,
763
+ account_type: T::Boolean,
764
+ institution_name: T::Boolean,
765
+ routing_number: T::Boolean
766
+ }
767
+ )
768
+ end
769
+ def to_hash
770
+ end
771
+ end
772
+
773
+ class Departments < FinchAPI::Internal::Type::BaseModel
774
+ OrHash =
775
+ T.type_alias do
776
+ T.any(
777
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments,
778
+ FinchAPI::Internal::AnyHash
779
+ )
780
+ end
781
+
782
+ sig { returns(T.nilable(T::Boolean)) }
783
+ attr_reader :name
784
+
785
+ sig { params(name: T::Boolean).void }
786
+ attr_writer :name
787
+
788
+ sig do
789
+ returns(
790
+ T.nilable(
791
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments::Parent
792
+ )
793
+ )
794
+ end
795
+ attr_reader :parent
796
+
797
+ sig do
798
+ params(
799
+ parent:
800
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments::Parent::OrHash
801
+ ).void
802
+ end
803
+ attr_writer :parent
804
+
805
+ sig do
806
+ params(
807
+ name: T::Boolean,
808
+ parent:
809
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments::Parent::OrHash
810
+ ).returns(T.attached_class)
811
+ end
812
+ def self.new(name: nil, parent: nil)
813
+ end
814
+
815
+ sig do
816
+ override.returns(
817
+ {
818
+ name: T::Boolean,
819
+ parent:
820
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments::Parent
821
+ }
822
+ )
823
+ end
824
+ def to_hash
825
+ end
826
+
827
+ class Parent < FinchAPI::Internal::Type::BaseModel
828
+ OrHash =
829
+ T.type_alias do
830
+ T.any(
831
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Departments::Parent,
832
+ FinchAPI::Internal::AnyHash
833
+ )
834
+ end
835
+
836
+ sig { returns(T.nilable(T::Boolean)) }
837
+ attr_reader :name
838
+
839
+ sig { params(name: T::Boolean).void }
840
+ attr_writer :name
841
+
842
+ sig { params(name: T::Boolean).returns(T.attached_class) }
843
+ def self.new(name: nil)
844
+ end
845
+
846
+ sig { override.returns({ name: T::Boolean }) }
847
+ def to_hash
848
+ end
849
+ end
850
+ end
851
+
852
+ class Entity < FinchAPI::Internal::Type::BaseModel
853
+ OrHash =
854
+ T.type_alias do
855
+ T.any(
856
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Entity,
857
+ FinchAPI::Internal::AnyHash
858
+ )
859
+ end
860
+
861
+ sig { returns(T.nilable(T::Boolean)) }
862
+ attr_reader :subtype
863
+
864
+ sig { params(subtype: T::Boolean).void }
865
+ attr_writer :subtype
866
+
867
+ sig { returns(T.nilable(T::Boolean)) }
868
+ attr_reader :type
869
+
870
+ sig { params(type: T::Boolean).void }
871
+ attr_writer :type
872
+
873
+ sig do
874
+ params(subtype: T::Boolean, type: T::Boolean).returns(
875
+ T.attached_class
876
+ )
877
+ end
878
+ def self.new(subtype: nil, type: nil)
879
+ end
880
+
881
+ sig do
882
+ override.returns({ subtype: T::Boolean, type: T::Boolean })
883
+ end
884
+ def to_hash
885
+ end
886
+ end
887
+
888
+ class Locations < FinchAPI::Internal::Type::BaseModel
889
+ OrHash =
890
+ T.type_alias do
891
+ T.any(
892
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Company::Locations,
893
+ FinchAPI::Internal::AnyHash
894
+ )
895
+ end
896
+
897
+ sig { returns(T.nilable(T::Boolean)) }
898
+ attr_reader :city
899
+
900
+ sig { params(city: T::Boolean).void }
901
+ attr_writer :city
902
+
903
+ sig { returns(T.nilable(T::Boolean)) }
904
+ attr_reader :country
905
+
906
+ sig { params(country: T::Boolean).void }
907
+ attr_writer :country
908
+
909
+ sig { returns(T.nilable(T::Boolean)) }
910
+ attr_reader :line1
911
+
912
+ sig { params(line1: T::Boolean).void }
913
+ attr_writer :line1
914
+
915
+ sig { returns(T.nilable(T::Boolean)) }
916
+ attr_reader :line2
917
+
918
+ sig { params(line2: T::Boolean).void }
919
+ attr_writer :line2
920
+
921
+ sig { returns(T.nilable(T::Boolean)) }
922
+ attr_reader :postal_code
923
+
924
+ sig { params(postal_code: T::Boolean).void }
925
+ attr_writer :postal_code
926
+
927
+ sig { returns(T.nilable(T::Boolean)) }
928
+ attr_reader :state
929
+
930
+ sig { params(state: T::Boolean).void }
931
+ attr_writer :state
932
+
933
+ sig do
934
+ params(
935
+ city: T::Boolean,
936
+ country: T::Boolean,
937
+ line1: T::Boolean,
938
+ line2: T::Boolean,
939
+ postal_code: T::Boolean,
940
+ state: T::Boolean
941
+ ).returns(T.attached_class)
942
+ end
943
+ def self.new(
944
+ city: nil,
945
+ country: nil,
946
+ line1: nil,
947
+ line2: nil,
948
+ postal_code: nil,
949
+ state: nil
950
+ )
951
+ end
952
+
953
+ sig do
954
+ override.returns(
955
+ {
956
+ city: T::Boolean,
957
+ country: T::Boolean,
958
+ line1: T::Boolean,
959
+ line2: T::Boolean,
960
+ postal_code: T::Boolean,
961
+ state: T::Boolean
962
+ }
963
+ )
964
+ end
965
+ def to_hash
966
+ end
967
+ end
968
+ end
969
+
970
+ class Directory < FinchAPI::Internal::Type::BaseModel
971
+ OrHash =
972
+ T.type_alias do
973
+ T.any(
974
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory,
975
+ FinchAPI::Internal::AnyHash
976
+ )
977
+ end
978
+
979
+ sig do
980
+ returns(
981
+ T.nilable(
982
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals
983
+ )
984
+ )
985
+ end
986
+ attr_reader :individuals
987
+
988
+ sig do
989
+ params(
990
+ individuals:
991
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals::OrHash
992
+ ).void
993
+ end
994
+ attr_writer :individuals
995
+
996
+ sig do
997
+ returns(
998
+ T.nilable(
999
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Paging
1000
+ )
1001
+ )
1002
+ end
1003
+ attr_reader :paging
1004
+
1005
+ sig do
1006
+ params(
1007
+ paging:
1008
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Paging::OrHash
1009
+ ).void
1010
+ end
1011
+ attr_writer :paging
1012
+
1013
+ sig do
1014
+ params(
1015
+ individuals:
1016
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals::OrHash,
1017
+ paging:
1018
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Paging::OrHash
1019
+ ).returns(T.attached_class)
1020
+ end
1021
+ def self.new(individuals: nil, paging: nil)
1022
+ end
1023
+
1024
+ sig do
1025
+ override.returns(
1026
+ {
1027
+ individuals:
1028
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals,
1029
+ paging:
1030
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Paging
1031
+ }
1032
+ )
1033
+ end
1034
+ def to_hash
1035
+ end
1036
+
1037
+ class Individuals < FinchAPI::Internal::Type::BaseModel
1038
+ OrHash =
1039
+ T.type_alias do
1040
+ T.any(
1041
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals,
1042
+ FinchAPI::Internal::AnyHash
1043
+ )
1044
+ end
1045
+
1046
+ sig { returns(T.nilable(T::Boolean)) }
1047
+ attr_reader :id
1048
+
1049
+ sig { params(id: T::Boolean).void }
1050
+ attr_writer :id
1051
+
1052
+ sig { returns(T.nilable(T::Boolean)) }
1053
+ attr_accessor :department
1054
+
1055
+ sig { returns(T.nilable(T::Boolean)) }
1056
+ attr_reader :first_name
1057
+
1058
+ sig { params(first_name: T::Boolean).void }
1059
+ attr_writer :first_name
1060
+
1061
+ sig { returns(T.nilable(T::Boolean)) }
1062
+ attr_reader :is_active
1063
+
1064
+ sig { params(is_active: T::Boolean).void }
1065
+ attr_writer :is_active
1066
+
1067
+ sig { returns(T.nilable(T::Boolean)) }
1068
+ attr_reader :last_name
1069
+
1070
+ sig { params(last_name: T::Boolean).void }
1071
+ attr_writer :last_name
1072
+
1073
+ sig do
1074
+ returns(
1075
+ T.nilable(
1076
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager
1077
+ )
1078
+ )
1079
+ end
1080
+ attr_reader :manager
1081
+
1082
+ sig do
1083
+ params(
1084
+ manager:
1085
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager::OrHash
1086
+ ).void
1087
+ end
1088
+ attr_writer :manager
1089
+
1090
+ sig { returns(T.nilable(T::Boolean)) }
1091
+ attr_reader :middle_name
1092
+
1093
+ sig { params(middle_name: T::Boolean).void }
1094
+ attr_writer :middle_name
1095
+
1096
+ sig do
1097
+ params(
1098
+ id: T::Boolean,
1099
+ department: T.nilable(T::Boolean),
1100
+ first_name: T::Boolean,
1101
+ is_active: T::Boolean,
1102
+ last_name: T::Boolean,
1103
+ manager:
1104
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager::OrHash,
1105
+ middle_name: T::Boolean
1106
+ ).returns(T.attached_class)
1107
+ end
1108
+ def self.new(
1109
+ id: nil,
1110
+ department: nil,
1111
+ first_name: nil,
1112
+ is_active: nil,
1113
+ last_name: nil,
1114
+ manager: nil,
1115
+ middle_name: nil
1116
+ )
1117
+ end
1118
+
1119
+ sig do
1120
+ override.returns(
1121
+ {
1122
+ id: T::Boolean,
1123
+ department: T.nilable(T::Boolean),
1124
+ first_name: T::Boolean,
1125
+ is_active: T::Boolean,
1126
+ last_name: T::Boolean,
1127
+ manager:
1128
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
1129
+ middle_name: T::Boolean
1130
+ }
1131
+ )
1132
+ end
1133
+ def to_hash
1134
+ end
1135
+
1136
+ class Manager < FinchAPI::Internal::Type::BaseModel
1137
+ OrHash =
1138
+ T.type_alias do
1139
+ T.any(
1140
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
1141
+ FinchAPI::Internal::AnyHash
1142
+ )
1143
+ end
1144
+
1145
+ sig { returns(T.nilable(T::Boolean)) }
1146
+ attr_reader :id
1147
+
1148
+ sig { params(id: T::Boolean).void }
1149
+ attr_writer :id
1150
+
1151
+ sig { params(id: T::Boolean).returns(T.attached_class) }
1152
+ def self.new(id: nil)
1153
+ end
1154
+
1155
+ sig { override.returns({ id: T::Boolean }) }
1156
+ def to_hash
1157
+ end
1158
+ end
1159
+ end
1160
+
1161
+ class Paging < FinchAPI::Internal::Type::BaseModel
1162
+ OrHash =
1163
+ T.type_alias do
1164
+ T.any(
1165
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Directory::Paging,
1166
+ FinchAPI::Internal::AnyHash
1167
+ )
1168
+ end
1169
+
1170
+ sig { returns(T.nilable(T::Boolean)) }
1171
+ attr_reader :count
1172
+
1173
+ sig { params(count: T::Boolean).void }
1174
+ attr_writer :count
1175
+
1176
+ sig { returns(T.nilable(T::Boolean)) }
1177
+ attr_reader :offset
1178
+
1179
+ sig { params(offset: T::Boolean).void }
1180
+ attr_writer :offset
1181
+
1182
+ sig do
1183
+ params(count: T::Boolean, offset: T::Boolean).returns(
1184
+ T.attached_class
1185
+ )
1186
+ end
1187
+ def self.new(count: nil, offset: nil)
1188
+ end
1189
+
1190
+ sig do
1191
+ override.returns({ count: T::Boolean, offset: T::Boolean })
1192
+ end
1193
+ def to_hash
1194
+ end
1195
+ end
1196
+ end
1197
+
1198
+ class Employment < FinchAPI::Internal::Type::BaseModel
1199
+ OrHash =
1200
+ T.type_alias do
1201
+ T.any(
1202
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment,
1203
+ FinchAPI::Internal::AnyHash
1204
+ )
1205
+ end
1206
+
1207
+ sig { returns(T.nilable(T::Boolean)) }
1208
+ attr_reader :id
1209
+
1210
+ sig { params(id: T::Boolean).void }
1211
+ attr_writer :id
1212
+
1213
+ sig { returns(T.nilable(T::Boolean)) }
1214
+ attr_reader :class_code
1215
+
1216
+ sig { params(class_code: T::Boolean).void }
1217
+ attr_writer :class_code
1218
+
1219
+ sig { returns(T.nilable(T::Boolean)) }
1220
+ attr_reader :custom_fields
1221
+
1222
+ sig { params(custom_fields: T::Boolean).void }
1223
+ attr_writer :custom_fields
1224
+
1225
+ sig do
1226
+ returns(
1227
+ T.nilable(
1228
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Department
1229
+ )
1230
+ )
1231
+ end
1232
+ attr_reader :department
1233
+
1234
+ sig do
1235
+ params(
1236
+ department:
1237
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Department::OrHash
1238
+ ).void
1239
+ end
1240
+ attr_writer :department
1241
+
1242
+ sig do
1243
+ returns(
1244
+ T.nilable(
1245
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Employment
1246
+ )
1247
+ )
1248
+ end
1249
+ attr_reader :employment
1250
+
1251
+ sig do
1252
+ params(
1253
+ employment:
1254
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Employment::OrHash
1255
+ ).void
1256
+ end
1257
+ attr_writer :employment
1258
+
1259
+ sig { returns(T.nilable(T::Boolean)) }
1260
+ attr_reader :employment_status
1261
+
1262
+ sig { params(employment_status: T::Boolean).void }
1263
+ attr_writer :employment_status
1264
+
1265
+ sig { returns(T.nilable(T::Boolean)) }
1266
+ attr_reader :end_date
1267
+
1268
+ sig { params(end_date: T::Boolean).void }
1269
+ attr_writer :end_date
1270
+
1271
+ sig { returns(T.nilable(T::Boolean)) }
1272
+ attr_reader :first_name
1273
+
1274
+ sig { params(first_name: T::Boolean).void }
1275
+ attr_writer :first_name
1276
+
1277
+ sig do
1278
+ returns(
1279
+ T.nilable(
1280
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Income
1281
+ )
1282
+ )
1283
+ end
1284
+ attr_reader :income
1285
+
1286
+ sig do
1287
+ params(
1288
+ income:
1289
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Income::OrHash
1290
+ ).void
1291
+ end
1292
+ attr_writer :income
1293
+
1294
+ sig { returns(T.nilable(T::Boolean)) }
1295
+ attr_reader :income_history
1296
+
1297
+ sig { params(income_history: T::Boolean).void }
1298
+ attr_writer :income_history
1299
+
1300
+ sig { returns(T.nilable(T::Boolean)) }
1301
+ attr_reader :is_active
1302
+
1303
+ sig { params(is_active: T::Boolean).void }
1304
+ attr_writer :is_active
1305
+
1306
+ sig { returns(T.nilable(T::Boolean)) }
1307
+ attr_reader :last_name
1308
+
1309
+ sig { params(last_name: T::Boolean).void }
1310
+ attr_writer :last_name
1311
+
1312
+ sig do
1313
+ returns(
1314
+ T.nilable(
1315
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Location
1316
+ )
1317
+ )
1318
+ end
1319
+ attr_reader :location
1320
+
1321
+ sig do
1322
+ params(
1323
+ location:
1324
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Location::OrHash
1325
+ ).void
1326
+ end
1327
+ attr_writer :location
1328
+
1329
+ sig do
1330
+ returns(
1331
+ T.nilable(
1332
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Manager
1333
+ )
1334
+ )
1335
+ end
1336
+ attr_reader :manager
1337
+
1338
+ sig do
1339
+ params(
1340
+ manager:
1341
+ T.nilable(
1342
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Manager::OrHash
1343
+ )
1344
+ ).void
1345
+ end
1346
+ attr_writer :manager
1347
+
1348
+ sig { returns(T.nilable(T::Boolean)) }
1349
+ attr_reader :middle_name
1350
+
1351
+ sig { params(middle_name: T::Boolean).void }
1352
+ attr_writer :middle_name
1353
+
1354
+ sig { returns(T.nilable(T::Boolean)) }
1355
+ attr_reader :start_date
1356
+
1357
+ sig { params(start_date: T::Boolean).void }
1358
+ attr_writer :start_date
1359
+
1360
+ sig { returns(T.nilable(T::Boolean)) }
1361
+ attr_reader :title
1362
+
1363
+ sig { params(title: T::Boolean).void }
1364
+ attr_writer :title
1365
+
1366
+ sig do
1367
+ params(
1368
+ id: T::Boolean,
1369
+ class_code: T::Boolean,
1370
+ custom_fields: T::Boolean,
1371
+ department:
1372
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Department::OrHash,
1373
+ employment:
1374
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Employment::OrHash,
1375
+ employment_status: T::Boolean,
1376
+ end_date: T::Boolean,
1377
+ first_name: T::Boolean,
1378
+ income:
1379
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Income::OrHash,
1380
+ income_history: T::Boolean,
1381
+ is_active: T::Boolean,
1382
+ last_name: T::Boolean,
1383
+ location:
1384
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Location::OrHash,
1385
+ manager:
1386
+ T.nilable(
1387
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Manager::OrHash
1388
+ ),
1389
+ middle_name: T::Boolean,
1390
+ start_date: T::Boolean,
1391
+ title: T::Boolean
1392
+ ).returns(T.attached_class)
1393
+ end
1394
+ def self.new(
1395
+ id: nil,
1396
+ class_code: nil,
1397
+ custom_fields: nil,
1398
+ department: nil,
1399
+ employment: nil,
1400
+ employment_status: nil,
1401
+ end_date: nil,
1402
+ first_name: nil,
1403
+ income: nil,
1404
+ income_history: nil,
1405
+ is_active: nil,
1406
+ last_name: nil,
1407
+ location: nil,
1408
+ manager: nil,
1409
+ middle_name: nil,
1410
+ start_date: nil,
1411
+ title: nil
1412
+ )
1413
+ end
1414
+
1415
+ sig do
1416
+ override.returns(
1417
+ {
1418
+ id: T::Boolean,
1419
+ class_code: T::Boolean,
1420
+ custom_fields: T::Boolean,
1421
+ department:
1422
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Department,
1423
+ employment:
1424
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Employment,
1425
+ employment_status: T::Boolean,
1426
+ end_date: T::Boolean,
1427
+ first_name: T::Boolean,
1428
+ income:
1429
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Income,
1430
+ income_history: T::Boolean,
1431
+ is_active: T::Boolean,
1432
+ last_name: T::Boolean,
1433
+ location:
1434
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Location,
1435
+ manager:
1436
+ T.nilable(
1437
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Manager
1438
+ ),
1439
+ middle_name: T::Boolean,
1440
+ start_date: T::Boolean,
1441
+ title: T::Boolean
1442
+ }
1443
+ )
1444
+ end
1445
+ def to_hash
1446
+ end
1447
+
1448
+ class Department < FinchAPI::Internal::Type::BaseModel
1449
+ OrHash =
1450
+ T.type_alias do
1451
+ T.any(
1452
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Department,
1453
+ FinchAPI::Internal::AnyHash
1454
+ )
1455
+ end
1456
+
1457
+ sig { returns(T.nilable(T::Boolean)) }
1458
+ attr_reader :name
1459
+
1460
+ sig { params(name: T::Boolean).void }
1461
+ attr_writer :name
1462
+
1463
+ sig { params(name: T::Boolean).returns(T.attached_class) }
1464
+ def self.new(name: nil)
1465
+ end
1466
+
1467
+ sig { override.returns({ name: T::Boolean }) }
1468
+ def to_hash
1469
+ end
1470
+ end
1471
+
1472
+ class Employment < FinchAPI::Internal::Type::BaseModel
1473
+ OrHash =
1474
+ T.type_alias do
1475
+ T.any(
1476
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Employment,
1477
+ FinchAPI::Internal::AnyHash
1478
+ )
1479
+ end
1480
+
1481
+ sig { returns(T.nilable(T::Boolean)) }
1482
+ attr_reader :subtype
1483
+
1484
+ sig { params(subtype: T::Boolean).void }
1485
+ attr_writer :subtype
1486
+
1487
+ sig { returns(T.nilable(T::Boolean)) }
1488
+ attr_reader :type
1489
+
1490
+ sig { params(type: T::Boolean).void }
1491
+ attr_writer :type
1492
+
1493
+ sig do
1494
+ params(subtype: T::Boolean, type: T::Boolean).returns(
1495
+ T.attached_class
1496
+ )
1497
+ end
1498
+ def self.new(subtype: nil, type: nil)
1499
+ end
1500
+
1501
+ sig do
1502
+ override.returns({ subtype: T::Boolean, type: T::Boolean })
1503
+ end
1504
+ def to_hash
1505
+ end
1506
+ end
1507
+
1508
+ class Income < FinchAPI::Internal::Type::BaseModel
1509
+ OrHash =
1510
+ T.type_alias do
1511
+ T.any(
1512
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Income,
1513
+ FinchAPI::Internal::AnyHash
1514
+ )
1515
+ end
1516
+
1517
+ sig { returns(T.nilable(T::Boolean)) }
1518
+ attr_reader :amount
1519
+
1520
+ sig { params(amount: T::Boolean).void }
1521
+ attr_writer :amount
1522
+
1523
+ sig { returns(T.nilable(T::Boolean)) }
1524
+ attr_reader :currency
1525
+
1526
+ sig { params(currency: T::Boolean).void }
1527
+ attr_writer :currency
1528
+
1529
+ sig { returns(T.nilable(T::Boolean)) }
1530
+ attr_reader :unit
1531
+
1532
+ sig { params(unit: T::Boolean).void }
1533
+ attr_writer :unit
1534
+
1535
+ sig do
1536
+ params(
1537
+ amount: T::Boolean,
1538
+ currency: T::Boolean,
1539
+ unit: T::Boolean
1540
+ ).returns(T.attached_class)
1541
+ end
1542
+ def self.new(amount: nil, currency: nil, unit: nil)
1543
+ end
1544
+
1545
+ sig do
1546
+ override.returns(
1547
+ { amount: T::Boolean, currency: T::Boolean, unit: T::Boolean }
1548
+ )
1549
+ end
1550
+ def to_hash
1551
+ end
1552
+ end
1553
+
1554
+ class Location < FinchAPI::Internal::Type::BaseModel
1555
+ OrHash =
1556
+ T.type_alias do
1557
+ T.any(
1558
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Location,
1559
+ FinchAPI::Internal::AnyHash
1560
+ )
1561
+ end
1562
+
1563
+ sig { returns(T.nilable(T::Boolean)) }
1564
+ attr_reader :city
1565
+
1566
+ sig { params(city: T::Boolean).void }
1567
+ attr_writer :city
1568
+
1569
+ sig { returns(T.nilable(T::Boolean)) }
1570
+ attr_reader :country
1571
+
1572
+ sig { params(country: T::Boolean).void }
1573
+ attr_writer :country
1574
+
1575
+ sig { returns(T.nilable(T::Boolean)) }
1576
+ attr_reader :line1
1577
+
1578
+ sig { params(line1: T::Boolean).void }
1579
+ attr_writer :line1
1580
+
1581
+ sig { returns(T.nilable(T::Boolean)) }
1582
+ attr_reader :line2
1583
+
1584
+ sig { params(line2: T::Boolean).void }
1585
+ attr_writer :line2
1586
+
1587
+ sig { returns(T.nilable(T::Boolean)) }
1588
+ attr_reader :postal_code
1589
+
1590
+ sig { params(postal_code: T::Boolean).void }
1591
+ attr_writer :postal_code
1592
+
1593
+ sig { returns(T.nilable(T::Boolean)) }
1594
+ attr_reader :state
1595
+
1596
+ sig { params(state: T::Boolean).void }
1597
+ attr_writer :state
1598
+
1599
+ sig do
1600
+ params(
1601
+ city: T::Boolean,
1602
+ country: T::Boolean,
1603
+ line1: T::Boolean,
1604
+ line2: T::Boolean,
1605
+ postal_code: T::Boolean,
1606
+ state: T::Boolean
1607
+ ).returns(T.attached_class)
1608
+ end
1609
+ def self.new(
1610
+ city: nil,
1611
+ country: nil,
1612
+ line1: nil,
1613
+ line2: nil,
1614
+ postal_code: nil,
1615
+ state: nil
1616
+ )
1617
+ end
1618
+
1619
+ sig do
1620
+ override.returns(
1621
+ {
1622
+ city: T::Boolean,
1623
+ country: T::Boolean,
1624
+ line1: T::Boolean,
1625
+ line2: T::Boolean,
1626
+ postal_code: T::Boolean,
1627
+ state: T::Boolean
1628
+ }
1629
+ )
1630
+ end
1631
+ def to_hash
1632
+ end
1633
+ end
1634
+
1635
+ class Manager < FinchAPI::Internal::Type::BaseModel
1636
+ OrHash =
1637
+ T.type_alias do
1638
+ T.any(
1639
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Employment::Manager,
1640
+ FinchAPI::Internal::AnyHash
1641
+ )
1642
+ end
1643
+
1644
+ sig { returns(T.nilable(T::Boolean)) }
1645
+ attr_reader :id
1646
+
1647
+ sig { params(id: T::Boolean).void }
1648
+ attr_writer :id
1649
+
1650
+ sig { params(id: T::Boolean).returns(T.attached_class) }
1651
+ def self.new(id: nil)
1652
+ end
1653
+
1654
+ sig { override.returns({ id: T::Boolean }) }
1655
+ def to_hash
1656
+ end
1657
+ end
1658
+ end
1659
+
1660
+ class Individual < FinchAPI::Internal::Type::BaseModel
1661
+ OrHash =
1662
+ T.type_alias do
1663
+ T.any(
1664
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual,
1665
+ FinchAPI::Internal::AnyHash
1666
+ )
1667
+ end
1668
+
1669
+ sig { returns(T.nilable(T::Boolean)) }
1670
+ attr_reader :id
1671
+
1672
+ sig { params(id: T::Boolean).void }
1673
+ attr_writer :id
1674
+
1675
+ sig { returns(T.nilable(T::Boolean)) }
1676
+ attr_reader :dob
1677
+
1678
+ sig { params(dob: T::Boolean).void }
1679
+ attr_writer :dob
1680
+
1681
+ sig do
1682
+ returns(
1683
+ T.nilable(
1684
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Emails
1685
+ )
1686
+ )
1687
+ end
1688
+ attr_reader :emails
1689
+
1690
+ sig do
1691
+ params(
1692
+ emails:
1693
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Emails::OrHash
1694
+ ).void
1695
+ end
1696
+ attr_writer :emails
1697
+
1698
+ sig { returns(T.nilable(T::Boolean)) }
1699
+ attr_reader :encrypted_ssn
1700
+
1701
+ sig { params(encrypted_ssn: T::Boolean).void }
1702
+ attr_writer :encrypted_ssn
1703
+
1704
+ sig { returns(T.nilable(T::Boolean)) }
1705
+ attr_reader :ethnicity
1706
+
1707
+ sig { params(ethnicity: T::Boolean).void }
1708
+ attr_writer :ethnicity
1709
+
1710
+ sig { returns(T.nilable(T::Boolean)) }
1711
+ attr_reader :first_name
1712
+
1713
+ sig { params(first_name: T::Boolean).void }
1714
+ attr_writer :first_name
1715
+
1716
+ sig { returns(T.nilable(T::Boolean)) }
1717
+ attr_reader :gender
1718
+
1719
+ sig { params(gender: T::Boolean).void }
1720
+ attr_writer :gender
1721
+
1722
+ sig { returns(T.nilable(T::Boolean)) }
1723
+ attr_reader :last_name
1724
+
1725
+ sig { params(last_name: T::Boolean).void }
1726
+ attr_writer :last_name
1727
+
1728
+ sig { returns(T.nilable(T::Boolean)) }
1729
+ attr_reader :middle_name
1730
+
1731
+ sig { params(middle_name: T::Boolean).void }
1732
+ attr_writer :middle_name
1733
+
1734
+ sig do
1735
+ returns(
1736
+ T.nilable(
1737
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers
1738
+ )
1739
+ )
1740
+ end
1741
+ attr_reader :phone_numbers
1742
+
1743
+ sig do
1744
+ params(
1745
+ phone_numbers:
1746
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers::OrHash
1747
+ ).void
1748
+ end
1749
+ attr_writer :phone_numbers
1750
+
1751
+ sig { returns(T.nilable(T::Boolean)) }
1752
+ attr_reader :preferred_name
1753
+
1754
+ sig { params(preferred_name: T::Boolean).void }
1755
+ attr_writer :preferred_name
1756
+
1757
+ sig do
1758
+ returns(
1759
+ T.nilable(
1760
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Residence
1761
+ )
1762
+ )
1763
+ end
1764
+ attr_reader :residence
1765
+
1766
+ sig do
1767
+ params(
1768
+ residence:
1769
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Residence::OrHash
1770
+ ).void
1771
+ end
1772
+ attr_writer :residence
1773
+
1774
+ sig { returns(T.nilable(T::Boolean)) }
1775
+ attr_reader :ssn
1776
+
1777
+ sig { params(ssn: T::Boolean).void }
1778
+ attr_writer :ssn
1779
+
1780
+ sig do
1781
+ params(
1782
+ id: T::Boolean,
1783
+ dob: T::Boolean,
1784
+ emails:
1785
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Emails::OrHash,
1786
+ encrypted_ssn: T::Boolean,
1787
+ ethnicity: T::Boolean,
1788
+ first_name: T::Boolean,
1789
+ gender: T::Boolean,
1790
+ last_name: T::Boolean,
1791
+ middle_name: T::Boolean,
1792
+ phone_numbers:
1793
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers::OrHash,
1794
+ preferred_name: T::Boolean,
1795
+ residence:
1796
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Residence::OrHash,
1797
+ ssn: T::Boolean
1798
+ ).returns(T.attached_class)
1799
+ end
1800
+ def self.new(
1801
+ id: nil,
1802
+ dob: nil,
1803
+ emails: nil,
1804
+ encrypted_ssn: nil,
1805
+ ethnicity: nil,
1806
+ first_name: nil,
1807
+ gender: nil,
1808
+ last_name: nil,
1809
+ middle_name: nil,
1810
+ phone_numbers: nil,
1811
+ preferred_name: nil,
1812
+ residence: nil,
1813
+ ssn: nil
1814
+ )
1815
+ end
1816
+
1817
+ sig do
1818
+ override.returns(
1819
+ {
1820
+ id: T::Boolean,
1821
+ dob: T::Boolean,
1822
+ emails:
1823
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Emails,
1824
+ encrypted_ssn: T::Boolean,
1825
+ ethnicity: T::Boolean,
1826
+ first_name: T::Boolean,
1827
+ gender: T::Boolean,
1828
+ last_name: T::Boolean,
1829
+ middle_name: T::Boolean,
1830
+ phone_numbers:
1831
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
1832
+ preferred_name: T::Boolean,
1833
+ residence:
1834
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Residence,
1835
+ ssn: T::Boolean
1836
+ }
1837
+ )
1838
+ end
1839
+ def to_hash
1840
+ end
1841
+
1842
+ class Emails < FinchAPI::Internal::Type::BaseModel
1843
+ OrHash =
1844
+ T.type_alias do
1845
+ T.any(
1846
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Emails,
1847
+ FinchAPI::Internal::AnyHash
1848
+ )
1849
+ end
1850
+
1851
+ sig { returns(T.nilable(T::Boolean)) }
1852
+ attr_reader :data
1853
+
1854
+ sig { params(data: T::Boolean).void }
1855
+ attr_writer :data
1856
+
1857
+ sig { returns(T.nilable(T::Boolean)) }
1858
+ attr_reader :type
1859
+
1860
+ sig { params(type: T::Boolean).void }
1861
+ attr_writer :type
1862
+
1863
+ sig do
1864
+ params(data: T::Boolean, type: T::Boolean).returns(
1865
+ T.attached_class
1866
+ )
1867
+ end
1868
+ def self.new(data: nil, type: nil)
1869
+ end
1870
+
1871
+ sig { override.returns({ data: T::Boolean, type: T::Boolean }) }
1872
+ def to_hash
1873
+ end
1874
+ end
1875
+
1876
+ class PhoneNumbers < FinchAPI::Internal::Type::BaseModel
1877
+ OrHash =
1878
+ T.type_alias do
1879
+ T.any(
1880
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
1881
+ FinchAPI::Internal::AnyHash
1882
+ )
1883
+ end
1884
+
1885
+ sig { returns(T.nilable(T::Boolean)) }
1886
+ attr_reader :data
1887
+
1888
+ sig { params(data: T::Boolean).void }
1889
+ attr_writer :data
1890
+
1891
+ sig { returns(T.nilable(T::Boolean)) }
1892
+ attr_reader :type
1893
+
1894
+ sig { params(type: T::Boolean).void }
1895
+ attr_writer :type
1896
+
1897
+ sig do
1898
+ params(data: T::Boolean, type: T::Boolean).returns(
1899
+ T.attached_class
1900
+ )
1901
+ end
1902
+ def self.new(data: nil, type: nil)
1903
+ end
1904
+
1905
+ sig { override.returns({ data: T::Boolean, type: T::Boolean }) }
1906
+ def to_hash
1907
+ end
1908
+ end
1909
+
1910
+ class Residence < FinchAPI::Internal::Type::BaseModel
1911
+ OrHash =
1912
+ T.type_alias do
1913
+ T.any(
1914
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Individual::Residence,
1915
+ FinchAPI::Internal::AnyHash
1916
+ )
1917
+ end
1918
+
1919
+ sig { returns(T.nilable(T::Boolean)) }
1920
+ attr_reader :city
1921
+
1922
+ sig { params(city: T::Boolean).void }
1923
+ attr_writer :city
1924
+
1925
+ sig { returns(T.nilable(T::Boolean)) }
1926
+ attr_reader :country
1927
+
1928
+ sig { params(country: T::Boolean).void }
1929
+ attr_writer :country
1930
+
1931
+ sig { returns(T.nilable(T::Boolean)) }
1932
+ attr_reader :line1
1933
+
1934
+ sig { params(line1: T::Boolean).void }
1935
+ attr_writer :line1
1936
+
1937
+ sig { returns(T.nilable(T::Boolean)) }
1938
+ attr_reader :line2
1939
+
1940
+ sig { params(line2: T::Boolean).void }
1941
+ attr_writer :line2
1942
+
1943
+ sig { returns(T.nilable(T::Boolean)) }
1944
+ attr_reader :postal_code
1945
+
1946
+ sig { params(postal_code: T::Boolean).void }
1947
+ attr_writer :postal_code
1948
+
1949
+ sig { returns(T.nilable(T::Boolean)) }
1950
+ attr_reader :state
1951
+
1952
+ sig { params(state: T::Boolean).void }
1953
+ attr_writer :state
1954
+
1955
+ sig do
1956
+ params(
1957
+ city: T::Boolean,
1958
+ country: T::Boolean,
1959
+ line1: T::Boolean,
1960
+ line2: T::Boolean,
1961
+ postal_code: T::Boolean,
1962
+ state: T::Boolean
1963
+ ).returns(T.attached_class)
1964
+ end
1965
+ def self.new(
1966
+ city: nil,
1967
+ country: nil,
1968
+ line1: nil,
1969
+ line2: nil,
1970
+ postal_code: nil,
1971
+ state: nil
1972
+ )
1973
+ end
1974
+
1975
+ sig do
1976
+ override.returns(
1977
+ {
1978
+ city: T::Boolean,
1979
+ country: T::Boolean,
1980
+ line1: T::Boolean,
1981
+ line2: T::Boolean,
1982
+ postal_code: T::Boolean,
1983
+ state: T::Boolean
1984
+ }
1985
+ )
1986
+ end
1987
+ def to_hash
1988
+ end
1989
+ end
1990
+ end
1991
+
1992
+ class PayGroup < FinchAPI::Internal::Type::BaseModel
1993
+ OrHash =
1994
+ T.type_alias do
1995
+ T.any(
1996
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayGroup,
1997
+ FinchAPI::Internal::AnyHash
1998
+ )
1999
+ end
2000
+
2001
+ sig { returns(T.nilable(T::Boolean)) }
2002
+ attr_reader :id
2003
+
2004
+ sig { params(id: T::Boolean).void }
2005
+ attr_writer :id
2006
+
2007
+ sig { returns(T.nilable(T::Boolean)) }
2008
+ attr_reader :individual_ids
2009
+
2010
+ sig { params(individual_ids: T::Boolean).void }
2011
+ attr_writer :individual_ids
2012
+
2013
+ sig { returns(T.nilable(T::Boolean)) }
2014
+ attr_reader :name
2015
+
2016
+ sig { params(name: T::Boolean).void }
2017
+ attr_writer :name
2018
+
2019
+ sig { returns(T.nilable(T::Boolean)) }
2020
+ attr_reader :pay_frequencies
2021
+
2022
+ sig { params(pay_frequencies: T::Boolean).void }
2023
+ attr_writer :pay_frequencies
2024
+
2025
+ sig do
2026
+ params(
2027
+ id: T::Boolean,
2028
+ individual_ids: T::Boolean,
2029
+ name: T::Boolean,
2030
+ pay_frequencies: T::Boolean
2031
+ ).returns(T.attached_class)
2032
+ end
2033
+ def self.new(
2034
+ id: nil,
2035
+ individual_ids: nil,
2036
+ name: nil,
2037
+ pay_frequencies: nil
2038
+ )
2039
+ end
2040
+
2041
+ sig do
2042
+ override.returns(
2043
+ {
2044
+ id: T::Boolean,
2045
+ individual_ids: T::Boolean,
2046
+ name: T::Boolean,
2047
+ pay_frequencies: T::Boolean
2048
+ }
2049
+ )
2050
+ end
2051
+ def to_hash
2052
+ end
2053
+ end
2054
+
2055
+ class PayStatement < FinchAPI::Internal::Type::BaseModel
2056
+ OrHash =
2057
+ T.type_alias do
2058
+ T.any(
2059
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement,
2060
+ FinchAPI::Internal::AnyHash
2061
+ )
2062
+ end
2063
+
2064
+ sig do
2065
+ returns(
2066
+ T.nilable(
2067
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::Paging
2068
+ )
2069
+ )
2070
+ end
2071
+ attr_reader :paging
2072
+
2073
+ sig do
2074
+ params(
2075
+ paging:
2076
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::Paging::OrHash
2077
+ ).void
2078
+ end
2079
+ attr_writer :paging
2080
+
2081
+ sig do
2082
+ returns(
2083
+ T.nilable(
2084
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
2085
+ )
2086
+ )
2087
+ end
2088
+ attr_reader :pay_statements
2089
+
2090
+ sig do
2091
+ params(
2092
+ pay_statements:
2093
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::OrHash
2094
+ ).void
2095
+ end
2096
+ attr_writer :pay_statements
2097
+
2098
+ sig do
2099
+ params(
2100
+ paging:
2101
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::Paging::OrHash,
2102
+ pay_statements:
2103
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::OrHash
2104
+ ).returns(T.attached_class)
2105
+ end
2106
+ def self.new(paging: nil, pay_statements: nil)
2107
+ end
2108
+
2109
+ sig do
2110
+ override.returns(
2111
+ {
2112
+ paging:
2113
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::Paging,
2114
+ pay_statements:
2115
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
2116
+ }
2117
+ )
2118
+ end
2119
+ def to_hash
2120
+ end
2121
+
2122
+ class Paging < FinchAPI::Internal::Type::BaseModel
2123
+ OrHash =
2124
+ T.type_alias do
2125
+ T.any(
2126
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::Paging,
2127
+ FinchAPI::Internal::AnyHash
2128
+ )
2129
+ end
2130
+
2131
+ sig { returns(T::Boolean) }
2132
+ attr_accessor :count
2133
+
2134
+ sig { returns(T::Boolean) }
2135
+ attr_accessor :offset
2136
+
2137
+ sig do
2138
+ params(count: T::Boolean, offset: T::Boolean).returns(
2139
+ T.attached_class
2140
+ )
2141
+ end
2142
+ def self.new(count:, offset:)
2143
+ end
2144
+
2145
+ sig do
2146
+ override.returns({ count: T::Boolean, offset: T::Boolean })
2147
+ end
2148
+ def to_hash
2149
+ end
2150
+ end
2151
+
2152
+ class PayStatements < FinchAPI::Internal::Type::BaseModel
2153
+ OrHash =
2154
+ T.type_alias do
2155
+ T.any(
2156
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements,
2157
+ FinchAPI::Internal::AnyHash
2158
+ )
2159
+ end
2160
+
2161
+ sig do
2162
+ returns(
2163
+ T.nilable(
2164
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings
2165
+ )
2166
+ )
2167
+ end
2168
+ attr_reader :earnings
2169
+
2170
+ sig do
2171
+ params(
2172
+ earnings:
2173
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings::OrHash
2174
+ ).void
2175
+ end
2176
+ attr_writer :earnings
2177
+
2178
+ sig do
2179
+ returns(
2180
+ T.nilable(
2181
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions
2182
+ )
2183
+ )
2184
+ end
2185
+ attr_reader :employee_deductions
2186
+
2187
+ sig do
2188
+ params(
2189
+ employee_deductions:
2190
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions::OrHash
2191
+ ).void
2192
+ end
2193
+ attr_writer :employee_deductions
2194
+
2195
+ sig do
2196
+ returns(
2197
+ T.nilable(
2198
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions
2199
+ )
2200
+ )
2201
+ end
2202
+ attr_reader :employer_contributions
2203
+
2204
+ sig do
2205
+ params(
2206
+ employer_contributions:
2207
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions::OrHash
2208
+ ).void
2209
+ end
2210
+ attr_writer :employer_contributions
2211
+
2212
+ sig { returns(T.nilable(T::Boolean)) }
2213
+ attr_reader :gross_pay
2214
+
2215
+ sig { params(gross_pay: T::Boolean).void }
2216
+ attr_writer :gross_pay
2217
+
2218
+ sig { returns(T.nilable(T::Boolean)) }
2219
+ attr_reader :individual_id
2220
+
2221
+ sig { params(individual_id: T::Boolean).void }
2222
+ attr_writer :individual_id
2223
+
2224
+ sig { returns(T.nilable(T::Boolean)) }
2225
+ attr_reader :net_pay
2226
+
2227
+ sig { params(net_pay: T::Boolean).void }
2228
+ attr_writer :net_pay
2229
+
2230
+ sig { returns(T.nilable(T::Boolean)) }
2231
+ attr_reader :payment_method
2232
+
2233
+ sig { params(payment_method: T::Boolean).void }
2234
+ attr_writer :payment_method
2235
+
2236
+ sig do
2237
+ returns(
2238
+ T.nilable(
2239
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes
2240
+ )
2241
+ )
2242
+ end
2243
+ attr_reader :taxes
2244
+
2245
+ sig do
2246
+ params(
2247
+ taxes:
2248
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes::OrHash
2249
+ ).void
2250
+ end
2251
+ attr_writer :taxes
2252
+
2253
+ sig { returns(T.nilable(T::Boolean)) }
2254
+ attr_reader :total_hours
2255
+
2256
+ sig { params(total_hours: T::Boolean).void }
2257
+ attr_writer :total_hours
2258
+
2259
+ sig { returns(T.nilable(T::Boolean)) }
2260
+ attr_reader :type
2261
+
2262
+ sig { params(type: T::Boolean).void }
2263
+ attr_writer :type
2264
+
2265
+ sig do
2266
+ params(
2267
+ earnings:
2268
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings::OrHash,
2269
+ employee_deductions:
2270
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions::OrHash,
2271
+ employer_contributions:
2272
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions::OrHash,
2273
+ gross_pay: T::Boolean,
2274
+ individual_id: T::Boolean,
2275
+ net_pay: T::Boolean,
2276
+ payment_method: T::Boolean,
2277
+ taxes:
2278
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes::OrHash,
2279
+ total_hours: T::Boolean,
2280
+ type: T::Boolean
2281
+ ).returns(T.attached_class)
2282
+ end
2283
+ def self.new(
2284
+ earnings: nil,
2285
+ employee_deductions: nil,
2286
+ employer_contributions: nil,
2287
+ gross_pay: nil,
2288
+ individual_id: nil,
2289
+ net_pay: nil,
2290
+ payment_method: nil,
2291
+ taxes: nil,
2292
+ total_hours: nil,
2293
+ type: nil
2294
+ )
2295
+ end
2296
+
2297
+ sig do
2298
+ override.returns(
2299
+ {
2300
+ earnings:
2301
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
2302
+ employee_deductions:
2303
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
2304
+ employer_contributions:
2305
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
2306
+ gross_pay: T::Boolean,
2307
+ individual_id: T::Boolean,
2308
+ net_pay: T::Boolean,
2309
+ payment_method: T::Boolean,
2310
+ taxes:
2311
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
2312
+ total_hours: T::Boolean,
2313
+ type: T::Boolean
2314
+ }
2315
+ )
2316
+ end
2317
+ def to_hash
2318
+ end
2319
+
2320
+ class Earnings < FinchAPI::Internal::Type::BaseModel
2321
+ OrHash =
2322
+ T.type_alias do
2323
+ T.any(
2324
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
2325
+ FinchAPI::Internal::AnyHash
2326
+ )
2327
+ end
2328
+
2329
+ sig { returns(T.nilable(T::Boolean)) }
2330
+ attr_reader :amount
2331
+
2332
+ sig { params(amount: T::Boolean).void }
2333
+ attr_writer :amount
2334
+
2335
+ sig { returns(T.nilable(T::Boolean)) }
2336
+ attr_reader :currency
2337
+
2338
+ sig { params(currency: T::Boolean).void }
2339
+ attr_writer :currency
2340
+
2341
+ sig { returns(T.nilable(T::Boolean)) }
2342
+ attr_reader :name
2343
+
2344
+ sig { params(name: T::Boolean).void }
2345
+ attr_writer :name
2346
+
2347
+ sig { returns(T.nilable(T::Boolean)) }
2348
+ attr_reader :type
2349
+
2350
+ sig { params(type: T::Boolean).void }
2351
+ attr_writer :type
2352
+
2353
+ sig do
2354
+ params(
2355
+ amount: T::Boolean,
2356
+ currency: T::Boolean,
2357
+ name: T::Boolean,
2358
+ type: T::Boolean
2359
+ ).returns(T.attached_class)
2360
+ end
2361
+ def self.new(amount: nil, currency: nil, name: nil, type: nil)
2362
+ end
2363
+
2364
+ sig do
2365
+ override.returns(
2366
+ {
2367
+ amount: T::Boolean,
2368
+ currency: T::Boolean,
2369
+ name: T::Boolean,
2370
+ type: T::Boolean
2371
+ }
2372
+ )
2373
+ end
2374
+ def to_hash
2375
+ end
2376
+ end
2377
+
2378
+ class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel
2379
+ OrHash =
2380
+ T.type_alias do
2381
+ T.any(
2382
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
2383
+ FinchAPI::Internal::AnyHash
2384
+ )
2385
+ end
2386
+
2387
+ sig { returns(T.nilable(T::Boolean)) }
2388
+ attr_reader :amount
2389
+
2390
+ sig { params(amount: T::Boolean).void }
2391
+ attr_writer :amount
2392
+
2393
+ sig { returns(T.nilable(T::Boolean)) }
2394
+ attr_reader :currency
2395
+
2396
+ sig { params(currency: T::Boolean).void }
2397
+ attr_writer :currency
2398
+
2399
+ sig { returns(T.nilable(T::Boolean)) }
2400
+ attr_reader :name
2401
+
2402
+ sig { params(name: T::Boolean).void }
2403
+ attr_writer :name
2404
+
2405
+ sig { returns(T.nilable(T::Boolean)) }
2406
+ attr_reader :pre_tax
2407
+
2408
+ sig { params(pre_tax: T::Boolean).void }
2409
+ attr_writer :pre_tax
2410
+
2411
+ sig { returns(T.nilable(T::Boolean)) }
2412
+ attr_reader :type
2413
+
2414
+ sig { params(type: T::Boolean).void }
2415
+ attr_writer :type
2416
+
2417
+ sig do
2418
+ params(
2419
+ amount: T::Boolean,
2420
+ currency: T::Boolean,
2421
+ name: T::Boolean,
2422
+ pre_tax: T::Boolean,
2423
+ type: T::Boolean
2424
+ ).returns(T.attached_class)
2425
+ end
2426
+ def self.new(
2427
+ amount: nil,
2428
+ currency: nil,
2429
+ name: nil,
2430
+ pre_tax: nil,
2431
+ type: nil
2432
+ )
2433
+ end
2434
+
2435
+ sig do
2436
+ override.returns(
2437
+ {
2438
+ amount: T::Boolean,
2439
+ currency: T::Boolean,
2440
+ name: T::Boolean,
2441
+ pre_tax: T::Boolean,
2442
+ type: T::Boolean
2443
+ }
2444
+ )
2445
+ end
2446
+ def to_hash
2447
+ end
2448
+ end
2449
+
2450
+ class EmployerContributions < FinchAPI::Internal::Type::BaseModel
2451
+ OrHash =
2452
+ T.type_alias do
2453
+ T.any(
2454
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
2455
+ FinchAPI::Internal::AnyHash
2456
+ )
2457
+ end
2458
+
2459
+ sig { returns(T.nilable(T::Boolean)) }
2460
+ attr_reader :amount
2461
+
2462
+ sig { params(amount: T::Boolean).void }
2463
+ attr_writer :amount
2464
+
2465
+ sig { returns(T.nilable(T::Boolean)) }
2466
+ attr_reader :currency
2467
+
2468
+ sig { params(currency: T::Boolean).void }
2469
+ attr_writer :currency
2470
+
2471
+ sig { returns(T.nilable(T::Boolean)) }
2472
+ attr_reader :name
2473
+
2474
+ sig { params(name: T::Boolean).void }
2475
+ attr_writer :name
2476
+
2477
+ sig do
2478
+ params(
2479
+ amount: T::Boolean,
2480
+ currency: T::Boolean,
2481
+ name: T::Boolean
2482
+ ).returns(T.attached_class)
2483
+ end
2484
+ def self.new(amount: nil, currency: nil, name: nil)
2485
+ end
2486
+
2487
+ sig do
2488
+ override.returns(
2489
+ {
2490
+ amount: T::Boolean,
2491
+ currency: T::Boolean,
2492
+ name: T::Boolean
2493
+ }
2494
+ )
2495
+ end
2496
+ def to_hash
2497
+ end
2498
+ end
2499
+
2500
+ class Taxes < FinchAPI::Internal::Type::BaseModel
2501
+ OrHash =
2502
+ T.type_alias do
2503
+ T.any(
2504
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
2505
+ FinchAPI::Internal::AnyHash
2506
+ )
2507
+ end
2508
+
2509
+ sig { returns(T.nilable(T::Boolean)) }
2510
+ attr_reader :amount
2511
+
2512
+ sig { params(amount: T::Boolean).void }
2513
+ attr_writer :amount
2514
+
2515
+ sig { returns(T.nilable(T::Boolean)) }
2516
+ attr_reader :currency
2517
+
2518
+ sig { params(currency: T::Boolean).void }
2519
+ attr_writer :currency
2520
+
2521
+ sig { returns(T.nilable(T::Boolean)) }
2522
+ attr_reader :employer
2523
+
2524
+ sig { params(employer: T::Boolean).void }
2525
+ attr_writer :employer
2526
+
2527
+ sig { returns(T.nilable(T::Boolean)) }
2528
+ attr_reader :name
2529
+
2530
+ sig { params(name: T::Boolean).void }
2531
+ attr_writer :name
2532
+
2533
+ sig { returns(T.nilable(T::Boolean)) }
2534
+ attr_reader :type
2535
+
2536
+ sig { params(type: T::Boolean).void }
2537
+ attr_writer :type
2538
+
2539
+ sig do
2540
+ params(
2541
+ amount: T::Boolean,
2542
+ currency: T::Boolean,
2543
+ employer: T::Boolean,
2544
+ name: T::Boolean,
2545
+ type: T::Boolean
2546
+ ).returns(T.attached_class)
2547
+ end
2548
+ def self.new(
2549
+ amount: nil,
2550
+ currency: nil,
2551
+ employer: nil,
2552
+ name: nil,
2553
+ type: nil
2554
+ )
2555
+ end
2556
+
2557
+ sig do
2558
+ override.returns(
2559
+ {
2560
+ amount: T::Boolean,
2561
+ currency: T::Boolean,
2562
+ employer: T::Boolean,
2563
+ name: T::Boolean,
2564
+ type: T::Boolean
2565
+ }
2566
+ )
2567
+ end
2568
+ def to_hash
2569
+ end
2570
+ end
2571
+ end
2572
+ end
2573
+
2574
+ class Payment < FinchAPI::Internal::Type::BaseModel
2575
+ OrHash =
2576
+ T.type_alias do
2577
+ T.any(
2578
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment,
2579
+ FinchAPI::Internal::AnyHash
2580
+ )
2581
+ end
2582
+
2583
+ sig { returns(T.nilable(T::Boolean)) }
2584
+ attr_reader :id
2585
+
2586
+ sig { params(id: T::Boolean).void }
2587
+ attr_writer :id
2588
+
2589
+ sig { returns(T.nilable(T::Boolean)) }
2590
+ attr_reader :company_debit
2591
+
2592
+ sig { params(company_debit: T::Boolean).void }
2593
+ attr_writer :company_debit
2594
+
2595
+ sig { returns(T.nilable(T::Boolean)) }
2596
+ attr_reader :debit_date
2597
+
2598
+ sig { params(debit_date: T::Boolean).void }
2599
+ attr_writer :debit_date
2600
+
2601
+ sig { returns(T.nilable(T::Boolean)) }
2602
+ attr_reader :employee_taxes
2603
+
2604
+ sig { params(employee_taxes: T::Boolean).void }
2605
+ attr_writer :employee_taxes
2606
+
2607
+ sig { returns(T.nilable(T::Boolean)) }
2608
+ attr_reader :employer_taxes
2609
+
2610
+ sig { params(employer_taxes: T::Boolean).void }
2611
+ attr_writer :employer_taxes
2612
+
2613
+ sig { returns(T.nilable(T::Boolean)) }
2614
+ attr_reader :gross_pay
2615
+
2616
+ sig { params(gross_pay: T::Boolean).void }
2617
+ attr_writer :gross_pay
2618
+
2619
+ sig { returns(T.nilable(T::Boolean)) }
2620
+ attr_reader :individual_ids
2621
+
2622
+ sig { params(individual_ids: T::Boolean).void }
2623
+ attr_writer :individual_ids
2624
+
2625
+ sig { returns(T.nilable(T::Boolean)) }
2626
+ attr_reader :net_pay
2627
+
2628
+ sig { params(net_pay: T::Boolean).void }
2629
+ attr_writer :net_pay
2630
+
2631
+ sig { returns(T.nilable(T::Boolean)) }
2632
+ attr_reader :pay_date
2633
+
2634
+ sig { params(pay_date: T::Boolean).void }
2635
+ attr_writer :pay_date
2636
+
2637
+ sig { returns(T.nilable(T::Boolean)) }
2638
+ attr_reader :pay_frequencies
2639
+
2640
+ sig { params(pay_frequencies: T::Boolean).void }
2641
+ attr_writer :pay_frequencies
2642
+
2643
+ sig { returns(T.nilable(T::Boolean)) }
2644
+ attr_reader :pay_group_ids
2645
+
2646
+ sig { params(pay_group_ids: T::Boolean).void }
2647
+ attr_writer :pay_group_ids
2648
+
2649
+ sig do
2650
+ returns(
2651
+ T.nilable(
2652
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment::PayPeriod
2653
+ )
2654
+ )
2655
+ end
2656
+ attr_reader :pay_period
2657
+
2658
+ sig do
2659
+ params(
2660
+ pay_period:
2661
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment::PayPeriod::OrHash
2662
+ ).void
2663
+ end
2664
+ attr_writer :pay_period
2665
+
2666
+ sig do
2667
+ params(
2668
+ id: T::Boolean,
2669
+ company_debit: T::Boolean,
2670
+ debit_date: T::Boolean,
2671
+ employee_taxes: T::Boolean,
2672
+ employer_taxes: T::Boolean,
2673
+ gross_pay: T::Boolean,
2674
+ individual_ids: T::Boolean,
2675
+ net_pay: T::Boolean,
2676
+ pay_date: T::Boolean,
2677
+ pay_frequencies: T::Boolean,
2678
+ pay_group_ids: T::Boolean,
2679
+ pay_period:
2680
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment::PayPeriod::OrHash
2681
+ ).returns(T.attached_class)
2682
+ end
2683
+ def self.new(
2684
+ id: nil,
2685
+ company_debit: nil,
2686
+ debit_date: nil,
2687
+ employee_taxes: nil,
2688
+ employer_taxes: nil,
2689
+ gross_pay: nil,
2690
+ individual_ids: nil,
2691
+ net_pay: nil,
2692
+ pay_date: nil,
2693
+ pay_frequencies: nil,
2694
+ pay_group_ids: nil,
2695
+ pay_period: nil
2696
+ )
2697
+ end
2698
+
2699
+ sig do
2700
+ override.returns(
2701
+ {
2702
+ id: T::Boolean,
2703
+ company_debit: T::Boolean,
2704
+ debit_date: T::Boolean,
2705
+ employee_taxes: T::Boolean,
2706
+ employer_taxes: T::Boolean,
2707
+ gross_pay: T::Boolean,
2708
+ individual_ids: T::Boolean,
2709
+ net_pay: T::Boolean,
2710
+ pay_date: T::Boolean,
2711
+ pay_frequencies: T::Boolean,
2712
+ pay_group_ids: T::Boolean,
2713
+ pay_period:
2714
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment::PayPeriod
2715
+ }
2716
+ )
2717
+ end
2718
+ def to_hash
2719
+ end
2720
+
2721
+ class PayPeriod < FinchAPI::Internal::Type::BaseModel
2722
+ OrHash =
2723
+ T.type_alias do
2724
+ T.any(
2725
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Payment::PayPeriod,
2726
+ FinchAPI::Internal::AnyHash
2727
+ )
2728
+ end
2729
+
2730
+ sig { returns(T.nilable(T::Boolean)) }
2731
+ attr_reader :end_date
2732
+
2733
+ sig { params(end_date: T::Boolean).void }
2734
+ attr_writer :end_date
2735
+
2736
+ sig { returns(T.nilable(T::Boolean)) }
2737
+ attr_reader :start_date
2738
+
2739
+ sig { params(start_date: T::Boolean).void }
2740
+ attr_writer :start_date
2741
+
2742
+ sig do
2743
+ params(end_date: T::Boolean, start_date: T::Boolean).returns(
2744
+ T.attached_class
2745
+ )
2746
+ end
2747
+ def self.new(end_date: nil, start_date: nil)
2748
+ end
2749
+
2750
+ sig do
2751
+ override.returns(
2752
+ { end_date: T::Boolean, start_date: T::Boolean }
2753
+ )
2754
+ end
2755
+ def to_hash
2756
+ end
2757
+ end
2758
+ end
2759
+
2760
+ class PlanDependents < FinchAPI::Internal::Type::BaseModel
2761
+ OrHash =
2762
+ T.type_alias do
2763
+ T.any(
2764
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents,
2765
+ FinchAPI::Internal::AnyHash
2766
+ )
2767
+ end
2768
+
2769
+ sig do
2770
+ returns(
2771
+ T.nilable(
2772
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage
2773
+ )
2774
+ )
2775
+ end
2776
+ attr_reader :coverage
2777
+
2778
+ sig do
2779
+ params(
2780
+ coverage:
2781
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::OrHash
2782
+ ).void
2783
+ end
2784
+ attr_writer :coverage
2785
+
2786
+ sig { returns(T.nilable(T::Boolean)) }
2787
+ attr_reader :date_of_birth
2788
+
2789
+ sig { params(date_of_birth: T::Boolean).void }
2790
+ attr_writer :date_of_birth
2791
+
2792
+ sig { returns(T.nilable(T::Boolean)) }
2793
+ attr_reader :dependent_id
2794
+
2795
+ sig { params(dependent_id: T::Boolean).void }
2796
+ attr_writer :dependent_id
2797
+
2798
+ sig { returns(T.nilable(T::Boolean)) }
2799
+ attr_reader :first_name
2800
+
2801
+ sig { params(first_name: T::Boolean).void }
2802
+ attr_writer :first_name
2803
+
2804
+ sig { returns(T.nilable(T::Boolean)) }
2805
+ attr_reader :gender
2806
+
2807
+ sig { params(gender: T::Boolean).void }
2808
+ attr_writer :gender
2809
+
2810
+ sig { returns(T.nilable(T::Boolean)) }
2811
+ attr_reader :last_name
2812
+
2813
+ sig { params(last_name: T::Boolean).void }
2814
+ attr_writer :last_name
2815
+
2816
+ sig { returns(T.nilable(T::Boolean)) }
2817
+ attr_reader :middle_name
2818
+
2819
+ sig { params(middle_name: T::Boolean).void }
2820
+ attr_writer :middle_name
2821
+
2822
+ sig { returns(T.nilable(T::Boolean)) }
2823
+ attr_reader :ssn
2824
+
2825
+ sig { params(ssn: T::Boolean).void }
2826
+ attr_writer :ssn
2827
+
2828
+ sig do
2829
+ params(
2830
+ coverage:
2831
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::OrHash,
2832
+ date_of_birth: T::Boolean,
2833
+ dependent_id: T::Boolean,
2834
+ first_name: T::Boolean,
2835
+ gender: T::Boolean,
2836
+ last_name: T::Boolean,
2837
+ middle_name: T::Boolean,
2838
+ ssn: T::Boolean
2839
+ ).returns(T.attached_class)
2840
+ end
2841
+ def self.new(
2842
+ coverage: nil,
2843
+ date_of_birth: nil,
2844
+ dependent_id: nil,
2845
+ first_name: nil,
2846
+ gender: nil,
2847
+ last_name: nil,
2848
+ middle_name: nil,
2849
+ ssn: nil
2850
+ )
2851
+ end
2852
+
2853
+ sig do
2854
+ override.returns(
2855
+ {
2856
+ coverage:
2857
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage,
2858
+ date_of_birth: T::Boolean,
2859
+ dependent_id: T::Boolean,
2860
+ first_name: T::Boolean,
2861
+ gender: T::Boolean,
2862
+ last_name: T::Boolean,
2863
+ middle_name: T::Boolean,
2864
+ ssn: T::Boolean
2865
+ }
2866
+ )
2867
+ end
2868
+ def to_hash
2869
+ end
2870
+
2871
+ class Coverage < FinchAPI::Internal::Type::BaseModel
2872
+ OrHash =
2873
+ T.type_alias do
2874
+ T.any(
2875
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage,
2876
+ FinchAPI::Internal::AnyHash
2877
+ )
2878
+ end
2879
+
2880
+ sig do
2881
+ returns(
2882
+ T.nilable(
2883
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments
2884
+ )
2885
+ )
2886
+ end
2887
+ attr_reader :enrollments
2888
+
2889
+ sig do
2890
+ params(
2891
+ enrollments:
2892
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments::OrHash
2893
+ ).void
2894
+ end
2895
+ attr_writer :enrollments
2896
+
2897
+ sig { returns(T.nilable(T::Boolean)) }
2898
+ attr_reader :individual_id
2899
+
2900
+ sig { params(individual_id: T::Boolean).void }
2901
+ attr_writer :individual_id
2902
+
2903
+ sig { returns(T.nilable(T::Boolean)) }
2904
+ attr_reader :relationship_to_individual
2905
+
2906
+ sig { params(relationship_to_individual: T::Boolean).void }
2907
+ attr_writer :relationship_to_individual
2908
+
2909
+ sig do
2910
+ params(
2911
+ enrollments:
2912
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments::OrHash,
2913
+ individual_id: T::Boolean,
2914
+ relationship_to_individual: T::Boolean
2915
+ ).returns(T.attached_class)
2916
+ end
2917
+ def self.new(
2918
+ enrollments: nil,
2919
+ individual_id: nil,
2920
+ relationship_to_individual: nil
2921
+ )
2922
+ end
2923
+
2924
+ sig do
2925
+ override.returns(
2926
+ {
2927
+ enrollments:
2928
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments,
2929
+ individual_id: T::Boolean,
2930
+ relationship_to_individual: T::Boolean
2931
+ }
2932
+ )
2933
+ end
2934
+ def to_hash
2935
+ end
2936
+
2937
+ class Enrollments < FinchAPI::Internal::Type::BaseModel
2938
+ OrHash =
2939
+ T.type_alias do
2940
+ T.any(
2941
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanDependents::Coverage::Enrollments,
2942
+ FinchAPI::Internal::AnyHash
2943
+ )
2944
+ end
2945
+
2946
+ sig { returns(T.nilable(T::Boolean)) }
2947
+ attr_reader :id
2948
+
2949
+ sig { params(id: T::Boolean).void }
2950
+ attr_writer :id
2951
+
2952
+ sig { returns(T.nilable(T::Boolean)) }
2953
+ attr_reader :type
2954
+
2955
+ sig { params(type: T::Boolean).void }
2956
+ attr_writer :type
2957
+
2958
+ sig do
2959
+ params(id: T::Boolean, type: T::Boolean).returns(
2960
+ T.attached_class
2961
+ )
2962
+ end
2963
+ def self.new(id: nil, type: nil)
2964
+ end
2965
+
2966
+ sig { override.returns({ id: T::Boolean, type: T::Boolean }) }
2967
+ def to_hash
2968
+ end
2969
+ end
2970
+ end
2971
+ end
2972
+
2973
+ class PlanEnrollments < FinchAPI::Internal::Type::BaseModel
2974
+ OrHash =
2975
+ T.type_alias do
2976
+ T.any(
2977
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments,
2978
+ FinchAPI::Internal::AnyHash
2979
+ )
2980
+ end
2981
+
2982
+ sig { returns(T.nilable(T::Boolean)) }
2983
+ attr_reader :id
2984
+
2985
+ sig { params(id: T::Boolean).void }
2986
+ attr_writer :id
2987
+
2988
+ sig do
2989
+ returns(
2990
+ T.nilable(
2991
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions
2992
+ )
2993
+ )
2994
+ end
2995
+ attr_reader :contributions
2996
+
2997
+ sig do
2998
+ params(
2999
+ contributions:
3000
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::OrHash
3001
+ ).void
3002
+ end
3003
+ attr_writer :contributions
3004
+
3005
+ sig { returns(T.nilable(T::Boolean)) }
3006
+ attr_reader :coverage_end_date
3007
+
3008
+ sig { params(coverage_end_date: T::Boolean).void }
3009
+ attr_writer :coverage_end_date
3010
+
3011
+ sig { returns(T.nilable(T::Boolean)) }
3012
+ attr_reader :coverage_start_date
3013
+
3014
+ sig { params(coverage_start_date: T::Boolean).void }
3015
+ attr_writer :coverage_start_date
3016
+
3017
+ sig { returns(T.nilable(T::Boolean)) }
3018
+ attr_reader :coverage_tier
3019
+
3020
+ sig { params(coverage_tier: T::Boolean).void }
3021
+ attr_writer :coverage_tier
3022
+
3023
+ sig { returns(T.nilable(T::Boolean)) }
3024
+ attr_reader :dependent_ids
3025
+
3026
+ sig { params(dependent_ids: T::Boolean).void }
3027
+ attr_writer :dependent_ids
3028
+
3029
+ sig { returns(T.nilable(T::Boolean)) }
3030
+ attr_reader :individual_id
3031
+
3032
+ sig { params(individual_id: T::Boolean).void }
3033
+ attr_writer :individual_id
3034
+
3035
+ sig { returns(T.nilable(T::Boolean)) }
3036
+ attr_reader :plan_id
3037
+
3038
+ sig { params(plan_id: T::Boolean).void }
3039
+ attr_writer :plan_id
3040
+
3041
+ sig { returns(T.nilable(T::Boolean)) }
3042
+ attr_reader :status
3043
+
3044
+ sig { params(status: T::Boolean).void }
3045
+ attr_writer :status
3046
+
3047
+ sig do
3048
+ params(
3049
+ id: T::Boolean,
3050
+ contributions:
3051
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::OrHash,
3052
+ coverage_end_date: T::Boolean,
3053
+ coverage_start_date: T::Boolean,
3054
+ coverage_tier: T::Boolean,
3055
+ dependent_ids: T::Boolean,
3056
+ individual_id: T::Boolean,
3057
+ plan_id: T::Boolean,
3058
+ status: T::Boolean
3059
+ ).returns(T.attached_class)
3060
+ end
3061
+ def self.new(
3062
+ id: nil,
3063
+ contributions: nil,
3064
+ coverage_end_date: nil,
3065
+ coverage_start_date: nil,
3066
+ coverage_tier: nil,
3067
+ dependent_ids: nil,
3068
+ individual_id: nil,
3069
+ plan_id: nil,
3070
+ status: nil
3071
+ )
3072
+ end
3073
+
3074
+ sig do
3075
+ override.returns(
3076
+ {
3077
+ id: T::Boolean,
3078
+ contributions:
3079
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions,
3080
+ coverage_end_date: T::Boolean,
3081
+ coverage_start_date: T::Boolean,
3082
+ coverage_tier: T::Boolean,
3083
+ dependent_ids: T::Boolean,
3084
+ individual_id: T::Boolean,
3085
+ plan_id: T::Boolean,
3086
+ status: T::Boolean
3087
+ }
3088
+ )
3089
+ end
3090
+ def to_hash
3091
+ end
3092
+
3093
+ class Contributions < FinchAPI::Internal::Type::BaseModel
3094
+ OrHash =
3095
+ T.type_alias do
3096
+ T.any(
3097
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions,
3098
+ FinchAPI::Internal::AnyHash
3099
+ )
3100
+ end
3101
+
3102
+ sig do
3103
+ returns(
3104
+ T.nilable(
3105
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution
3106
+ )
3107
+ )
3108
+ end
3109
+ attr_reader :employee_contribution
3110
+
3111
+ sig do
3112
+ params(
3113
+ employee_contribution:
3114
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution::OrHash
3115
+ ).void
3116
+ end
3117
+ attr_writer :employee_contribution
3118
+
3119
+ sig do
3120
+ returns(
3121
+ T.nilable(
3122
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution
3123
+ )
3124
+ )
3125
+ end
3126
+ attr_reader :employer_contribution
3127
+
3128
+ sig do
3129
+ params(
3130
+ employer_contribution:
3131
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution::OrHash
3132
+ ).void
3133
+ end
3134
+ attr_writer :employer_contribution
3135
+
3136
+ sig { returns(T.nilable(T::Boolean)) }
3137
+ attr_reader :frequency
3138
+
3139
+ sig { params(frequency: T::Boolean).void }
3140
+ attr_writer :frequency
3141
+
3142
+ sig do
3143
+ params(
3144
+ employee_contribution:
3145
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution::OrHash,
3146
+ employer_contribution:
3147
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution::OrHash,
3148
+ frequency: T::Boolean
3149
+ ).returns(T.attached_class)
3150
+ end
3151
+ def self.new(
3152
+ employee_contribution: nil,
3153
+ employer_contribution: nil,
3154
+ frequency: nil
3155
+ )
3156
+ end
3157
+
3158
+ sig do
3159
+ override.returns(
3160
+ {
3161
+ employee_contribution:
3162
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution,
3163
+ employer_contribution:
3164
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution,
3165
+ frequency: T::Boolean
3166
+ }
3167
+ )
3168
+ end
3169
+ def to_hash
3170
+ end
3171
+
3172
+ class EmployeeContribution < FinchAPI::Internal::Type::BaseModel
3173
+ OrHash =
3174
+ T.type_alias do
3175
+ T.any(
3176
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployeeContribution,
3177
+ FinchAPI::Internal::AnyHash
3178
+ )
3179
+ end
3180
+
3181
+ sig { returns(T.nilable(T::Boolean)) }
3182
+ attr_reader :amount
3183
+
3184
+ sig { params(amount: T::Boolean).void }
3185
+ attr_writer :amount
3186
+
3187
+ sig { returns(T.nilable(T::Boolean)) }
3188
+ attr_reader :currency
3189
+
3190
+ sig { params(currency: T::Boolean).void }
3191
+ attr_writer :currency
3192
+
3193
+ sig do
3194
+ params(amount: T::Boolean, currency: T::Boolean).returns(
3195
+ T.attached_class
3196
+ )
3197
+ end
3198
+ def self.new(amount: nil, currency: nil)
3199
+ end
3200
+
3201
+ sig do
3202
+ override.returns({ amount: T::Boolean, currency: T::Boolean })
3203
+ end
3204
+ def to_hash
3205
+ end
3206
+ end
3207
+
3208
+ class EmployerContribution < FinchAPI::Internal::Type::BaseModel
3209
+ OrHash =
3210
+ T.type_alias do
3211
+ T.any(
3212
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::PlanEnrollments::Contributions::EmployerContribution,
3213
+ FinchAPI::Internal::AnyHash
3214
+ )
3215
+ end
3216
+
3217
+ sig { returns(T.nilable(T::Boolean)) }
3218
+ attr_reader :amount
3219
+
3220
+ sig { params(amount: T::Boolean).void }
3221
+ attr_writer :amount
3222
+
3223
+ sig { returns(T.nilable(T::Boolean)) }
3224
+ attr_reader :currency
3225
+
3226
+ sig { params(currency: T::Boolean).void }
3227
+ attr_writer :currency
3228
+
3229
+ sig do
3230
+ params(amount: T::Boolean, currency: T::Boolean).returns(
3231
+ T.attached_class
3232
+ )
3233
+ end
3234
+ def self.new(amount: nil, currency: nil)
3235
+ end
3236
+
3237
+ sig do
3238
+ override.returns({ amount: T::Boolean, currency: T::Boolean })
3239
+ end
3240
+ def to_hash
3241
+ end
3242
+ end
3243
+ end
3244
+ end
3245
+
3246
+ class Plans < FinchAPI::Internal::Type::BaseModel
3247
+ OrHash =
3248
+ T.type_alias do
3249
+ T.any(
3250
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans,
3251
+ FinchAPI::Internal::AnyHash
3252
+ )
3253
+ end
3254
+
3255
+ sig { returns(T.nilable(T::Boolean)) }
3256
+ attr_reader :id
3257
+
3258
+ sig { params(id: T::Boolean).void }
3259
+ attr_writer :id
3260
+
3261
+ sig do
3262
+ returns(
3263
+ T.nilable(
3264
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans::Carrier
3265
+ )
3266
+ )
3267
+ end
3268
+ attr_reader :carrier
3269
+
3270
+ sig do
3271
+ params(
3272
+ carrier:
3273
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans::Carrier::OrHash
3274
+ ).void
3275
+ end
3276
+ attr_writer :carrier
3277
+
3278
+ sig { returns(T.nilable(T::Boolean)) }
3279
+ attr_reader :coverage_tiers
3280
+
3281
+ sig { params(coverage_tiers: T::Boolean).void }
3282
+ attr_writer :coverage_tiers
3283
+
3284
+ sig { returns(T.nilable(T::Boolean)) }
3285
+ attr_reader :deduction_codes
3286
+
3287
+ sig { params(deduction_codes: T::Boolean).void }
3288
+ attr_writer :deduction_codes
3289
+
3290
+ sig { returns(T.nilable(T::Boolean)) }
3291
+ attr_reader :description
3292
+
3293
+ sig { params(description: T::Boolean).void }
3294
+ attr_writer :description
3295
+
3296
+ sig { returns(T.nilable(T::Boolean)) }
3297
+ attr_reader :end_date
3298
+
3299
+ sig { params(end_date: T::Boolean).void }
3300
+ attr_writer :end_date
3301
+
3302
+ sig { returns(T.nilable(T::Boolean)) }
3303
+ attr_reader :name
3304
+
3305
+ sig { params(name: T::Boolean).void }
3306
+ attr_writer :name
3307
+
3308
+ sig { returns(T.nilable(T::Boolean)) }
3309
+ attr_reader :network_type
3310
+
3311
+ sig { params(network_type: T::Boolean).void }
3312
+ attr_writer :network_type
3313
+
3314
+ sig { returns(T.nilable(T::Boolean)) }
3315
+ attr_reader :start_date
3316
+
3317
+ sig { params(start_date: T::Boolean).void }
3318
+ attr_writer :start_date
3319
+
3320
+ sig { returns(T.nilable(T::Boolean)) }
3321
+ attr_reader :type
3322
+
3323
+ sig { params(type: T::Boolean).void }
3324
+ attr_writer :type
3325
+
3326
+ sig do
3327
+ params(
3328
+ id: T::Boolean,
3329
+ carrier:
3330
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans::Carrier::OrHash,
3331
+ coverage_tiers: T::Boolean,
3332
+ deduction_codes: T::Boolean,
3333
+ description: T::Boolean,
3334
+ end_date: T::Boolean,
3335
+ name: T::Boolean,
3336
+ network_type: T::Boolean,
3337
+ start_date: T::Boolean,
3338
+ type: T::Boolean
3339
+ ).returns(T.attached_class)
3340
+ end
3341
+ def self.new(
3342
+ id: nil,
3343
+ carrier: nil,
3344
+ coverage_tiers: nil,
3345
+ deduction_codes: nil,
3346
+ description: nil,
3347
+ end_date: nil,
3348
+ name: nil,
3349
+ network_type: nil,
3350
+ start_date: nil,
3351
+ type: nil
3352
+ )
3353
+ end
3354
+
3355
+ sig do
3356
+ override.returns(
3357
+ {
3358
+ id: T::Boolean,
3359
+ carrier:
3360
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans::Carrier,
3361
+ coverage_tiers: T::Boolean,
3362
+ deduction_codes: T::Boolean,
3363
+ description: T::Boolean,
3364
+ end_date: T::Boolean,
3365
+ name: T::Boolean,
3366
+ network_type: T::Boolean,
3367
+ start_date: T::Boolean,
3368
+ type: T::Boolean
3369
+ }
3370
+ )
3371
+ end
3372
+ def to_hash
3373
+ end
3374
+
3375
+ class Carrier < FinchAPI::Internal::Type::BaseModel
3376
+ OrHash =
3377
+ T.type_alias do
3378
+ T.any(
3379
+ FinchAPI::Models::ProviderListResponse::AuthenticationMethod::SupportedFields::Plans::Carrier,
3380
+ FinchAPI::Internal::AnyHash
3381
+ )
3382
+ end
3383
+
3384
+ sig { returns(T.nilable(T::Boolean)) }
3385
+ attr_reader :id
3386
+
3387
+ sig { params(id: T::Boolean).void }
3388
+ attr_writer :id
3389
+
3390
+ sig { returns(T.nilable(T::Boolean)) }
3391
+ attr_reader :name
3392
+
3393
+ sig { params(name: T::Boolean).void }
3394
+ attr_writer :name
3395
+
3396
+ sig do
3397
+ params(id: T::Boolean, name: T::Boolean).returns(
3398
+ T.attached_class
3399
+ )
3400
+ end
3401
+ def self.new(id: nil, name: nil)
3402
+ end
3403
+
3404
+ sig { override.returns({ id: T::Boolean, name: T::Boolean }) }
3405
+ def to_hash
3406
+ end
3407
+ end
3408
+ end
3409
+ end
277
3410
  end
278
3411
  end
279
3412
  end