finch-api 0.1.0.pre.alpha.30 → 0.1.0.pre.alpha.31

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 (205) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +40 -0
  3. data/README.md +1 -1
  4. data/lib/finch_api/errors.rb +25 -11
  5. data/lib/finch_api/file_part.rb +10 -7
  6. data/lib/finch_api/internal/individuals_page.rb +1 -1
  7. data/lib/finch_api/internal/page.rb +1 -1
  8. data/lib/finch_api/internal/responses_page.rb +1 -1
  9. data/lib/finch_api/internal/single_page.rb +1 -1
  10. data/lib/finch_api/internal/transport/base_client.rb +11 -7
  11. data/lib/finch_api/internal/transport/pooled_net_requester.rb +34 -31
  12. data/lib/finch_api/internal/type/base_page.rb +1 -1
  13. data/lib/finch_api/internal/type/file_input.rb +7 -4
  14. data/lib/finch_api/internal/util.rb +8 -7
  15. data/lib/finch_api/models/connect/session_new_params.rb +66 -50
  16. data/lib/finch_api/models/connect/session_reauthenticate_params.rb +10 -10
  17. data/lib/finch_api/models/create_access_token_response.rb +9 -1
  18. data/lib/finch_api/models/hris/benefit_contribution.rb +124 -29
  19. data/lib/finch_api/models/hris/benefit_create_params.rb +9 -1
  20. data/lib/finch_api/models/hris/benefit_list_params.rb +9 -1
  21. data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +9 -1
  22. data/lib/finch_api/models/hris/benefit_retrieve_params.rb +9 -1
  23. data/lib/finch_api/models/hris/benefit_update_params.rb +9 -1
  24. data/lib/finch_api/models/hris/benefits/individual_benefit.rb +222 -6
  25. data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +40 -2
  26. data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +9 -1
  27. data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +9 -1
  28. data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +9 -1
  29. data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +9 -1
  30. data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +9 -1
  31. data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb +9 -1
  32. data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +10 -1
  33. data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +9 -1
  34. data/lib/finch_api/models/hris/company_retrieve_params.rb +9 -1
  35. data/lib/finch_api/models/hris/directory_list_individuals_params.rb +9 -1
  36. data/lib/finch_api/models/hris/directory_list_params.rb +9 -1
  37. data/lib/finch_api/models/hris/document_list_params.rb +9 -1
  38. data/lib/finch_api/models/hris/document_response.rb +11 -11
  39. data/lib/finch_api/models/hris/document_retreive_params.rb +9 -1
  40. data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +9 -1
  41. data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +11 -1
  42. data/lib/finch_api/models/hris/pay_statement.rb +11 -15
  43. data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +9 -1
  44. data/lib/finch_api/models/hris/payment_list_params.rb +9 -1
  45. data/lib/finch_api/models/hris/supported_benefit.rb +1 -0
  46. data/lib/finch_api/models/hris/w42005.rb +20 -20
  47. data/lib/finch_api/models/hris/w42020.rb +30 -30
  48. data/lib/finch_api/models/introspection.rb +38 -23
  49. data/lib/finch_api/models/jobs/automated_list_params.rb +1 -14
  50. data/lib/finch_api/models/jobs/automated_retrieve_params.rb +1 -14
  51. data/lib/finch_api/models/jobs/manual_retrieve_params.rb +1 -14
  52. data/lib/finch_api/models/payroll/pay_group_list_params.rb +11 -1
  53. data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +9 -1
  54. data/lib/finch_api/models/provider.rb +42 -1092
  55. data/lib/finch_api/models/provider_list_response.rb +143 -0
  56. data/lib/finch_api/models/request_forwarding_forward_params.rb +10 -6
  57. data/lib/finch_api/models/request_forwarding_forward_response.rb +69 -48
  58. data/lib/finch_api/resources/connect/sessions.rb +12 -12
  59. data/lib/finch_api/resources/hris/benefits/individuals.rb +24 -10
  60. data/lib/finch_api/resources/hris/benefits.rb +37 -16
  61. data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +38 -15
  62. data/lib/finch_api/resources/hris/company/pay_statement_item.rb +3 -1
  63. data/lib/finch_api/resources/hris/company.rb +6 -2
  64. data/lib/finch_api/resources/hris/directory.rb +3 -1
  65. data/lib/finch_api/resources/hris/documents.rb +9 -3
  66. data/lib/finch_api/resources/hris/employments.rb +7 -3
  67. data/lib/finch_api/resources/hris/individuals.rb +10 -4
  68. data/lib/finch_api/resources/hris/pay_statements.rb +7 -3
  69. data/lib/finch_api/resources/hris/payments.rb +3 -1
  70. data/lib/finch_api/resources/jobs/automated.rb +3 -16
  71. data/lib/finch_api/resources/jobs/manual.rb +2 -10
  72. data/lib/finch_api/resources/payroll/pay_groups.rb +12 -3
  73. data/lib/finch_api/resources/providers.rb +2 -2
  74. data/lib/finch_api/resources/request_forwarding.rb +2 -2
  75. data/lib/finch_api/version.rb +1 -1
  76. data/lib/finch_api.rb +1 -0
  77. data/rbi/finch_api/errors.rbi +29 -2
  78. data/rbi/finch_api/file_part.rbi +1 -1
  79. data/rbi/finch_api/internal/transport/base_client.rbi +4 -5
  80. data/rbi/finch_api/internal/type/base_page.rbi +1 -1
  81. data/rbi/finch_api/internal/util.rbi +1 -1
  82. data/rbi/finch_api/models/connect/session_new_params.rbi +124 -98
  83. data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +23 -23
  84. data/rbi/finch_api/models/create_access_token_response.rbi +8 -0
  85. data/rbi/finch_api/models/hris/benefit_contribution.rbi +270 -52
  86. data/rbi/finch_api/models/hris/benefit_create_params.rbi +11 -0
  87. data/rbi/finch_api/models/hris/benefit_list_params.rbi +24 -5
  88. data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +24 -5
  89. data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +24 -5
  90. data/rbi/finch_api/models/hris/benefit_update_params.rbi +15 -1
  91. data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +515 -20
  92. data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +87 -0
  93. data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +22 -5
  94. data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +11 -0
  95. data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +11 -0
  96. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +11 -0
  97. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +22 -5
  98. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +22 -5
  99. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +15 -1
  100. data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +11 -0
  101. data/rbi/finch_api/models/hris/company_retrieve_params.rbi +24 -5
  102. data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +11 -0
  103. data/rbi/finch_api/models/hris/directory_list_params.rbi +11 -0
  104. data/rbi/finch_api/models/hris/document_list_params.rbi +11 -0
  105. data/rbi/finch_api/models/hris/document_response.rbi +14 -29
  106. data/rbi/finch_api/models/hris/document_retreive_params.rbi +24 -5
  107. data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +11 -0
  108. data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +16 -1
  109. data/rbi/finch_api/models/hris/pay_statement.rbi +9 -34
  110. data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +11 -0
  111. data/rbi/finch_api/models/hris/payment_list_params.rbi +11 -0
  112. data/rbi/finch_api/models/hris/supported_benefit.rbi +5 -0
  113. data/rbi/finch_api/models/hris/w42005.rbi +28 -38
  114. data/rbi/finch_api/models/hris/w42020.rbi +37 -43
  115. data/rbi/finch_api/models/introspection.rbi +57 -33
  116. data/rbi/finch_api/models/jobs/automated_list_params.rbi +0 -15
  117. data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +5 -25
  118. data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +5 -25
  119. data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +11 -0
  120. data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +24 -5
  121. data/rbi/finch_api/models/provider.rbi +75 -2507
  122. data/rbi/finch_api/models/provider_list_response.rbi +280 -0
  123. data/rbi/finch_api/models/request_forwarding_forward_params.rbi +6 -6
  124. data/rbi/finch_api/models/request_forwarding_forward_response.rbi +93 -60
  125. data/rbi/finch_api/resources/connect/sessions.rbi +22 -14
  126. data/rbi/finch_api/resources/hris/benefits/individuals.rbi +20 -3
  127. data/rbi/finch_api/resources/hris/benefits.rbi +39 -12
  128. data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +35 -8
  129. data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +3 -0
  130. data/rbi/finch_api/resources/hris/company.rbi +9 -4
  131. data/rbi/finch_api/resources/hris/directory.rbi +3 -0
  132. data/rbi/finch_api/resources/hris/documents.rbi +6 -0
  133. data/rbi/finch_api/resources/hris/employments.rbi +4 -1
  134. data/rbi/finch_api/resources/hris/individuals.rbi +10 -1
  135. data/rbi/finch_api/resources/hris/pay_statements.rbi +4 -1
  136. data/rbi/finch_api/resources/hris/payments.rbi +3 -0
  137. data/rbi/finch_api/resources/jobs/automated.rbi +1 -14
  138. data/rbi/finch_api/resources/jobs/manual.rbi +1 -9
  139. data/rbi/finch_api/resources/payroll/pay_groups.rbi +15 -2
  140. data/rbi/finch_api/resources/providers.rbi +1 -1
  141. data/rbi/finch_api/resources/request_forwarding.rbi +2 -2
  142. data/sig/finch_api/errors.rbs +7 -0
  143. data/sig/finch_api/file_part.rbs +1 -1
  144. data/sig/finch_api/models/connect/session_new_params.rbs +45 -45
  145. data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +15 -15
  146. data/sig/finch_api/models/create_access_token_response.rbs +5 -0
  147. data/sig/finch_api/models/hris/benefit_contribution.rbs +107 -21
  148. data/sig/finch_api/models/hris/benefit_create_params.rbs +7 -0
  149. data/sig/finch_api/models/hris/benefit_list_params.rbs +14 -3
  150. data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +14 -3
  151. data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +14 -3
  152. data/sig/finch_api/models/hris/benefit_update_params.rbs +8 -1
  153. data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +201 -8
  154. data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +30 -1
  155. data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +14 -3
  156. data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +7 -1
  157. data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +7 -1
  158. data/sig/finch_api/models/hris/benfit_contribution.rbs +1 -1
  159. data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +7 -0
  160. data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +14 -3
  161. data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +14 -3
  162. data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +7 -1
  163. data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +7 -0
  164. data/sig/finch_api/models/hris/company_retrieve_params.rbs +14 -3
  165. data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +7 -1
  166. data/sig/finch_api/models/hris/directory_list_params.rbs +7 -1
  167. data/sig/finch_api/models/hris/document_list_params.rbs +7 -0
  168. data/sig/finch_api/models/hris/document_response.rbs +11 -19
  169. data/sig/finch_api/models/hris/document_retreive_params.rbs +14 -3
  170. data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +8 -1
  171. data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +7 -0
  172. data/sig/finch_api/models/hris/pay_statement.rbs +12 -12
  173. data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +8 -1
  174. data/sig/finch_api/models/hris/payment_list_params.rbs +7 -1
  175. data/sig/finch_api/models/hris/supported_benefit.rbs +2 -1
  176. data/sig/finch_api/models/hris/w42005.rbs +23 -37
  177. data/sig/finch_api/models/hris/w42020.rbs +35 -45
  178. data/sig/finch_api/models/introspection.rbs +29 -20
  179. data/sig/finch_api/models/jobs/automated_list_params.rbs +1 -7
  180. data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +3 -13
  181. data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +3 -13
  182. data/sig/finch_api/models/payroll/pay_group_list_params.rbs +11 -1
  183. data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +14 -3
  184. data/sig/finch_api/models/provider.rbs +31 -1366
  185. data/sig/finch_api/models/provider_list_response.rbs +128 -0
  186. data/sig/finch_api/models/request_forwarding_forward_params.rbs +8 -8
  187. data/sig/finch_api/models/request_forwarding_forward_response.rbs +40 -30
  188. data/sig/finch_api/resources/connect/sessions.rbs +9 -9
  189. data/sig/finch_api/resources/hris/benefits/individuals.rbs +4 -0
  190. data/sig/finch_api/resources/hris/benefits.rbs +5 -0
  191. data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +4 -0
  192. data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +1 -0
  193. data/sig/finch_api/resources/hris/company.rbs +1 -0
  194. data/sig/finch_api/resources/hris/directory.rbs +1 -0
  195. data/sig/finch_api/resources/hris/documents.rbs +2 -0
  196. data/sig/finch_api/resources/hris/employments.rbs +1 -0
  197. data/sig/finch_api/resources/hris/individuals.rbs +1 -0
  198. data/sig/finch_api/resources/hris/pay_statements.rbs +1 -0
  199. data/sig/finch_api/resources/hris/payments.rbs +1 -0
  200. data/sig/finch_api/resources/jobs/automated.rbs +0 -2
  201. data/sig/finch_api/resources/jobs/manual.rbs +0 -1
  202. data/sig/finch_api/resources/payroll/pay_groups.rbs +2 -0
  203. data/sig/finch_api/resources/providers.rbs +1 -1
  204. data/sig/finch_api/resources/request_forwarding.rbs +2 -2
  205. metadata +5 -2
@@ -3,21 +3,23 @@ module FinchAPI
3
3
  type provider =
4
4
  {
5
5
  id: String,
6
+ display_name: String,
7
+ products: ::Array[String],
6
8
  authentication_methods: ::Array[FinchAPI::Provider::AuthenticationMethod],
7
9
  beta: bool,
8
- display_name: String,
9
10
  icon: String,
10
11
  logo: String,
11
12
  manual: bool,
12
13
  mfa_required: bool,
13
- primary_color: String,
14
- products: ::Array[String]
14
+ primary_color: String
15
15
  }
16
16
 
17
17
  class Provider < FinchAPI::Internal::Type::BaseModel
18
- attr_reader id: String?
18
+ attr_accessor id: String
19
19
 
20
- def id=: (String) -> String
20
+ attr_accessor display_name: String
21
+
22
+ attr_accessor products: ::Array[String]
21
23
 
22
24
  attr_reader authentication_methods: ::Array[FinchAPI::Provider::AuthenticationMethod]?
23
25
 
@@ -29,10 +31,6 @@ module FinchAPI
29
31
 
30
32
  def beta=: (bool) -> bool
31
33
 
32
- attr_reader display_name: String?
33
-
34
- def display_name=: (String) -> String
35
-
36
34
  attr_reader icon: String?
37
35
 
38
36
  def icon=: (String) -> String
@@ -53,1398 +51,64 @@ module FinchAPI
53
51
 
54
52
  def primary_color=: (String) -> String
55
53
 
56
- attr_reader products: ::Array[String]?
57
-
58
- def products=: (::Array[String]) -> ::Array[String]
59
-
60
54
  def initialize: (
61
- ?id: String,
55
+ id: String,
56
+ display_name: String,
57
+ products: ::Array[String],
62
58
  ?authentication_methods: ::Array[FinchAPI::Provider::AuthenticationMethod],
63
59
  ?beta: bool,
64
- ?display_name: String,
65
60
  ?icon: String,
66
61
  ?logo: String,
67
62
  ?manual: bool,
68
63
  ?mfa_required: bool,
69
- ?primary_color: String,
70
- ?products: ::Array[String]
64
+ ?primary_color: String
71
65
  ) -> void
72
66
 
73
67
  def to_hash: -> {
74
68
  id: String,
69
+ display_name: String,
70
+ products: ::Array[String],
75
71
  authentication_methods: ::Array[FinchAPI::Provider::AuthenticationMethod],
76
72
  beta: bool,
77
- display_name: String,
78
73
  icon: String,
79
74
  logo: String,
80
75
  manual: bool,
81
76
  mfa_required: bool,
82
- primary_color: String,
83
- products: ::Array[String]
77
+ primary_color: String
84
78
  }
85
79
 
86
80
  type authentication_method =
87
81
  {
88
- benefits_support: FinchAPI::HRIS::BenefitsSupport?,
89
- supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?,
90
- type: FinchAPI::Models::Provider::AuthenticationMethod::type_
82
+ type: FinchAPI::Models::Provider::AuthenticationMethod::type_,
83
+ benefits_support: ::Hash[Symbol, top?],
84
+ supported_fields: ::Hash[Symbol, top?]
91
85
  }
92
86
 
93
87
  class AuthenticationMethod < FinchAPI::Internal::Type::BaseModel
94
- attr_accessor benefits_support: FinchAPI::HRIS::BenefitsSupport?
88
+ attr_accessor type: FinchAPI::Models::Provider::AuthenticationMethod::type_
89
+
90
+ attr_reader benefits_support: ::Hash[Symbol, top?]?
95
91
 
96
- attr_accessor supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?
92
+ def benefits_support=: (::Hash[Symbol, top?]) -> ::Hash[Symbol, top?]
97
93
 
98
- attr_reader type: FinchAPI::Models::Provider::AuthenticationMethod::type_?
94
+ attr_reader supported_fields: ::Hash[Symbol, top?]?
99
95
 
100
- def type=: (
101
- FinchAPI::Models::Provider::AuthenticationMethod::type_
102
- ) -> FinchAPI::Models::Provider::AuthenticationMethod::type_
96
+ def supported_fields=: (::Hash[Symbol, top?]) -> ::Hash[Symbol, top?]
103
97
 
104
98
  def initialize: (
105
- ?benefits_support: FinchAPI::HRIS::BenefitsSupport?,
106
- ?supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?,
107
- ?type: FinchAPI::Models::Provider::AuthenticationMethod::type_
99
+ type: FinchAPI::Models::Provider::AuthenticationMethod::type_,
100
+ ?benefits_support: ::Hash[Symbol, top?],
101
+ ?supported_fields: ::Hash[Symbol, top?]
108
102
  ) -> void
109
103
 
110
104
  def to_hash: -> {
111
- benefits_support: FinchAPI::HRIS::BenefitsSupport?,
112
- supported_fields: FinchAPI::Provider::AuthenticationMethod::SupportedFields?,
113
- type: FinchAPI::Models::Provider::AuthenticationMethod::type_
105
+ type: FinchAPI::Models::Provider::AuthenticationMethod::type_,
106
+ benefits_support: ::Hash[Symbol, top?],
107
+ supported_fields: ::Hash[Symbol, top?]
114
108
  }
115
109
 
116
- type supported_fields =
117
- {
118
- company: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company,
119
- directory: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory,
120
- employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment,
121
- individual: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual,
122
- pay_group: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayGroup,
123
- pay_statement: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement,
124
- payment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment
125
- }
126
-
127
- class SupportedFields < FinchAPI::Internal::Type::BaseModel
128
- attr_reader company: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company?
129
-
130
- def company=: (
131
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company
132
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company
133
-
134
- attr_reader directory: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory?
135
-
136
- def directory=: (
137
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory
138
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory
139
-
140
- attr_reader employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment?
141
-
142
- def employment=: (
143
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment
144
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment
145
-
146
- attr_reader individual: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual?
147
-
148
- def individual=: (
149
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual
150
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual
151
-
152
- attr_reader pay_group: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayGroup?
153
-
154
- def pay_group=: (
155
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayGroup
156
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayGroup
157
-
158
- attr_reader pay_statement: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement?
159
-
160
- def pay_statement=: (
161
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement
162
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement
163
-
164
- attr_reader payment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment?
165
-
166
- def payment=: (
167
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment
168
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment
169
-
170
- def initialize: (
171
- ?company: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company,
172
- ?directory: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory,
173
- ?employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment,
174
- ?individual: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual,
175
- ?pay_group: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayGroup,
176
- ?pay_statement: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement,
177
- ?payment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment
178
- ) -> void
179
-
180
- def to_hash: -> {
181
- company: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company,
182
- directory: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory,
183
- employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment,
184
- individual: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual,
185
- pay_group: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayGroup,
186
- pay_statement: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement,
187
- payment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment
188
- }
189
-
190
- type company =
191
- {
192
- id: bool,
193
- accounts: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Accounts,
194
- departments: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments,
195
- ein: bool,
196
- entity: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Entity,
197
- legal_name: bool,
198
- locations: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Locations,
199
- primary_email: bool,
200
- primary_phone_number: bool
201
- }
202
-
203
- class Company < FinchAPI::Internal::Type::BaseModel
204
- attr_reader id: bool?
205
-
206
- def id=: (bool) -> bool
207
-
208
- attr_reader accounts: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Accounts?
209
-
210
- def accounts=: (
211
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Accounts
212
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Accounts
213
-
214
- attr_reader departments: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments?
215
-
216
- def departments=: (
217
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments
218
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments
219
-
220
- attr_reader ein: bool?
221
-
222
- def ein=: (bool) -> bool
223
-
224
- attr_reader entity: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Entity?
225
-
226
- def entity=: (
227
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Entity
228
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Entity
229
-
230
- attr_reader legal_name: bool?
231
-
232
- def legal_name=: (bool) -> bool
233
-
234
- attr_reader locations: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Locations?
235
-
236
- def locations=: (
237
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Locations
238
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Locations
239
-
240
- attr_reader primary_email: bool?
241
-
242
- def primary_email=: (bool) -> bool
243
-
244
- attr_reader primary_phone_number: bool?
245
-
246
- def primary_phone_number=: (bool) -> bool
247
-
248
- def initialize: (
249
- ?id: bool,
250
- ?accounts: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Accounts,
251
- ?departments: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments,
252
- ?ein: bool,
253
- ?entity: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Entity,
254
- ?legal_name: bool,
255
- ?locations: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Locations,
256
- ?primary_email: bool,
257
- ?primary_phone_number: bool
258
- ) -> void
259
-
260
- def to_hash: -> {
261
- id: bool,
262
- accounts: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Accounts,
263
- departments: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments,
264
- ein: bool,
265
- entity: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Entity,
266
- legal_name: bool,
267
- locations: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Locations,
268
- primary_email: bool,
269
- primary_phone_number: bool
270
- }
271
-
272
- type accounts =
273
- {
274
- account_name: bool,
275
- account_number: bool,
276
- account_type: bool,
277
- institution_name: bool,
278
- routing_number: bool
279
- }
280
-
281
- class Accounts < FinchAPI::Internal::Type::BaseModel
282
- attr_reader account_name: bool?
283
-
284
- def account_name=: (bool) -> bool
285
-
286
- attr_reader account_number: bool?
287
-
288
- def account_number=: (bool) -> bool
289
-
290
- attr_reader account_type: bool?
291
-
292
- def account_type=: (bool) -> bool
293
-
294
- attr_reader institution_name: bool?
295
-
296
- def institution_name=: (bool) -> bool
297
-
298
- attr_reader routing_number: bool?
299
-
300
- def routing_number=: (bool) -> bool
301
-
302
- def initialize: (
303
- ?account_name: bool,
304
- ?account_number: bool,
305
- ?account_type: bool,
306
- ?institution_name: bool,
307
- ?routing_number: bool
308
- ) -> void
309
-
310
- def to_hash: -> {
311
- account_name: bool,
312
- account_number: bool,
313
- account_type: bool,
314
- institution_name: bool,
315
- routing_number: bool
316
- }
317
- end
318
-
319
- type departments =
320
- {
321
- name: bool,
322
- parent: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent
323
- }
324
-
325
- class Departments < FinchAPI::Internal::Type::BaseModel
326
- attr_reader name: bool?
327
-
328
- def name=: (bool) -> bool
329
-
330
- attr_reader parent: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent?
331
-
332
- def parent=: (
333
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent
334
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent
335
-
336
- def initialize: (
337
- ?name: bool,
338
- ?parent: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent
339
- ) -> void
340
-
341
- def to_hash: -> {
342
- name: bool,
343
- parent: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Company::Departments::Parent
344
- }
345
-
346
- type parent = { name: bool }
347
-
348
- class Parent < FinchAPI::Internal::Type::BaseModel
349
- attr_reader name: bool?
350
-
351
- def name=: (bool) -> bool
352
-
353
- def initialize: (?name: bool) -> void
354
-
355
- def to_hash: -> { name: bool }
356
- end
357
- end
358
-
359
- type entity = { subtype: bool, type: bool }
360
-
361
- class Entity < FinchAPI::Internal::Type::BaseModel
362
- attr_reader subtype: bool?
363
-
364
- def subtype=: (bool) -> bool
365
-
366
- attr_reader type: bool?
367
-
368
- def type=: (bool) -> bool
369
-
370
- def initialize: (?subtype: bool, ?type: bool) -> void
371
-
372
- def to_hash: -> { subtype: bool, type: bool }
373
- end
374
-
375
- type locations =
376
- {
377
- city: bool,
378
- country: bool,
379
- :line1 => bool,
380
- :line2 => bool,
381
- postal_code: bool,
382
- state: bool
383
- }
384
-
385
- class Locations < FinchAPI::Internal::Type::BaseModel
386
- attr_reader city: bool?
387
-
388
- def city=: (bool) -> bool
389
-
390
- attr_reader country: bool?
391
-
392
- def country=: (bool) -> bool
393
-
394
- attr_reader line1: bool?
395
-
396
- def line1=: (bool) -> bool
397
-
398
- attr_reader line2: bool?
399
-
400
- def line2=: (bool) -> bool
401
-
402
- attr_reader postal_code: bool?
403
-
404
- def postal_code=: (bool) -> bool
405
-
406
- attr_reader state: bool?
407
-
408
- def state=: (bool) -> bool
409
-
410
- def initialize: (
411
- ?city: bool,
412
- ?country: bool,
413
- ?line1: bool,
414
- ?line2: bool,
415
- ?postal_code: bool,
416
- ?state: bool
417
- ) -> void
418
-
419
- def to_hash: -> {
420
- city: bool,
421
- country: bool,
422
- :line1 => bool,
423
- :line2 => bool,
424
- postal_code: bool,
425
- state: bool
426
- }
427
- end
428
- end
429
-
430
- type directory =
431
- {
432
- individuals: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals,
433
- paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging
434
- }
435
-
436
- class Directory < FinchAPI::Internal::Type::BaseModel
437
- attr_reader individuals: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals?
438
-
439
- def individuals=: (
440
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals
441
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals
442
-
443
- attr_reader paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging?
444
-
445
- def paging=: (
446
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging
447
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging
448
-
449
- def initialize: (
450
- ?individuals: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals,
451
- ?paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging
452
- ) -> void
453
-
454
- def to_hash: -> {
455
- individuals: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals,
456
- paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Paging
457
- }
458
-
459
- type individuals =
460
- {
461
- id: bool,
462
- department: bool,
463
- first_name: bool,
464
- is_active: bool,
465
- last_name: bool,
466
- manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
467
- middle_name: bool
468
- }
469
-
470
- class Individuals < FinchAPI::Internal::Type::BaseModel
471
- attr_reader id: bool?
472
-
473
- def id=: (bool) -> bool
474
-
475
- attr_reader department: bool?
476
-
477
- def department=: (bool) -> bool
478
-
479
- attr_reader first_name: bool?
480
-
481
- def first_name=: (bool) -> bool
482
-
483
- attr_reader is_active: bool?
484
-
485
- def is_active=: (bool) -> bool
486
-
487
- attr_reader last_name: bool?
488
-
489
- def last_name=: (bool) -> bool
490
-
491
- attr_reader manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager?
492
-
493
- def manager=: (
494
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager
495
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager
496
-
497
- attr_reader middle_name: bool?
498
-
499
- def middle_name=: (bool) -> bool
500
-
501
- def initialize: (
502
- ?id: bool,
503
- ?department: bool,
504
- ?first_name: bool,
505
- ?is_active: bool,
506
- ?last_name: bool,
507
- ?manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
508
- ?middle_name: bool
509
- ) -> void
510
-
511
- def to_hash: -> {
512
- id: bool,
513
- department: bool,
514
- first_name: bool,
515
- is_active: bool,
516
- last_name: bool,
517
- manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
518
- middle_name: bool
519
- }
520
-
521
- type manager = { id: bool }
522
-
523
- class Manager < FinchAPI::Internal::Type::BaseModel
524
- attr_reader id: bool?
525
-
526
- def id=: (bool) -> bool
527
-
528
- def initialize: (?id: bool) -> void
529
-
530
- def to_hash: -> { id: bool }
531
- end
532
- end
533
-
534
- type paging = { count: bool, offset: bool }
535
-
536
- class Paging < FinchAPI::Internal::Type::BaseModel
537
- attr_reader count: bool?
538
-
539
- def count=: (bool) -> bool
540
-
541
- attr_reader offset: bool?
542
-
543
- def offset=: (bool) -> bool
544
-
545
- def initialize: (?count: bool, ?offset: bool) -> void
546
-
547
- def to_hash: -> { count: bool, offset: bool }
548
- end
549
- end
550
-
551
- type employment =
552
- {
553
- id: bool,
554
- class_code: bool,
555
- custom_fields: bool,
556
- department: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Department,
557
- employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Employment,
558
- employment_status: bool,
559
- end_date: bool,
560
- first_name: bool,
561
- income: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Income,
562
- income_history: bool,
563
- is_active: bool,
564
- last_name: bool,
565
- location: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Location,
566
- manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Manager,
567
- middle_name: bool,
568
- start_date: bool,
569
- title: bool
570
- }
571
-
572
- class Employment < FinchAPI::Internal::Type::BaseModel
573
- attr_reader id: bool?
574
-
575
- def id=: (bool) -> bool
576
-
577
- attr_reader class_code: bool?
578
-
579
- def class_code=: (bool) -> bool
580
-
581
- attr_reader custom_fields: bool?
582
-
583
- def custom_fields=: (bool) -> bool
584
-
585
- attr_reader department: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Department?
586
-
587
- def department=: (
588
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Department
589
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Department
590
-
591
- attr_reader employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Employment?
592
-
593
- def employment=: (
594
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Employment
595
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Employment
596
-
597
- attr_reader employment_status: bool?
598
-
599
- def employment_status=: (bool) -> bool
600
-
601
- attr_reader end_date: bool?
602
-
603
- def end_date=: (bool) -> bool
604
-
605
- attr_reader first_name: bool?
606
-
607
- def first_name=: (bool) -> bool
608
-
609
- attr_reader income: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Income?
610
-
611
- def income=: (
612
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Income
613
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Income
614
-
615
- attr_reader income_history: bool?
616
-
617
- def income_history=: (bool) -> bool
618
-
619
- attr_reader is_active: bool?
620
-
621
- def is_active=: (bool) -> bool
622
-
623
- attr_reader last_name: bool?
624
-
625
- def last_name=: (bool) -> bool
626
-
627
- attr_reader location: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Location?
628
-
629
- def location=: (
630
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Location
631
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Location
632
-
633
- attr_reader manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Manager?
634
-
635
- def manager=: (
636
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Manager
637
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Manager
638
-
639
- attr_reader middle_name: bool?
640
-
641
- def middle_name=: (bool) -> bool
642
-
643
- attr_reader start_date: bool?
644
-
645
- def start_date=: (bool) -> bool
646
-
647
- attr_reader title: bool?
648
-
649
- def title=: (bool) -> bool
650
-
651
- def initialize: (
652
- ?id: bool,
653
- ?class_code: bool,
654
- ?custom_fields: bool,
655
- ?department: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Department,
656
- ?employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Employment,
657
- ?employment_status: bool,
658
- ?end_date: bool,
659
- ?first_name: bool,
660
- ?income: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Income,
661
- ?income_history: bool,
662
- ?is_active: bool,
663
- ?last_name: bool,
664
- ?location: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Location,
665
- ?manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Manager,
666
- ?middle_name: bool,
667
- ?start_date: bool,
668
- ?title: bool
669
- ) -> void
670
-
671
- def to_hash: -> {
672
- id: bool,
673
- class_code: bool,
674
- custom_fields: bool,
675
- department: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Department,
676
- employment: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Employment,
677
- employment_status: bool,
678
- end_date: bool,
679
- first_name: bool,
680
- income: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Income,
681
- income_history: bool,
682
- is_active: bool,
683
- last_name: bool,
684
- location: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Location,
685
- manager: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Employment::Manager,
686
- middle_name: bool,
687
- start_date: bool,
688
- title: bool
689
- }
690
-
691
- type department = { name: bool }
692
-
693
- class Department < FinchAPI::Internal::Type::BaseModel
694
- attr_reader name: bool?
695
-
696
- def name=: (bool) -> bool
697
-
698
- def initialize: (?name: bool) -> void
699
-
700
- def to_hash: -> { name: bool }
701
- end
702
-
703
- type employment = { subtype: bool, type: bool }
704
-
705
- class Employment < FinchAPI::Internal::Type::BaseModel
706
- attr_reader subtype: bool?
707
-
708
- def subtype=: (bool) -> bool
709
-
710
- attr_reader type: bool?
711
-
712
- def type=: (bool) -> bool
713
-
714
- def initialize: (?subtype: bool, ?type: bool) -> void
715
-
716
- def to_hash: -> { subtype: bool, type: bool }
717
- end
718
-
719
- type income = { amount: bool, currency: bool, unit: bool }
720
-
721
- class Income < FinchAPI::Internal::Type::BaseModel
722
- attr_reader amount: bool?
723
-
724
- def amount=: (bool) -> bool
725
-
726
- attr_reader currency: bool?
727
-
728
- def currency=: (bool) -> bool
729
-
730
- attr_reader unit: bool?
731
-
732
- def unit=: (bool) -> bool
733
-
734
- def initialize: (
735
- ?amount: bool,
736
- ?currency: bool,
737
- ?unit: bool
738
- ) -> void
739
-
740
- def to_hash: -> { amount: bool, currency: bool, unit: bool }
741
- end
742
-
743
- type location =
744
- {
745
- city: bool,
746
- country: bool,
747
- :line1 => bool,
748
- :line2 => bool,
749
- postal_code: bool,
750
- state: bool
751
- }
752
-
753
- class Location < FinchAPI::Internal::Type::BaseModel
754
- attr_reader city: bool?
755
-
756
- def city=: (bool) -> bool
757
-
758
- attr_reader country: bool?
759
-
760
- def country=: (bool) -> bool
761
-
762
- attr_reader line1: bool?
763
-
764
- def line1=: (bool) -> bool
765
-
766
- attr_reader line2: bool?
767
-
768
- def line2=: (bool) -> bool
769
-
770
- attr_reader postal_code: bool?
771
-
772
- def postal_code=: (bool) -> bool
773
-
774
- attr_reader state: bool?
775
-
776
- def state=: (bool) -> bool
777
-
778
- def initialize: (
779
- ?city: bool,
780
- ?country: bool,
781
- ?line1: bool,
782
- ?line2: bool,
783
- ?postal_code: bool,
784
- ?state: bool
785
- ) -> void
786
-
787
- def to_hash: -> {
788
- city: bool,
789
- country: bool,
790
- :line1 => bool,
791
- :line2 => bool,
792
- postal_code: bool,
793
- state: bool
794
- }
795
- end
796
-
797
- type manager = { id: bool }
798
-
799
- class Manager < FinchAPI::Internal::Type::BaseModel
800
- attr_reader id: bool?
801
-
802
- def id=: (bool) -> bool
803
-
804
- def initialize: (?id: bool) -> void
805
-
806
- def to_hash: -> { id: bool }
807
- end
808
- end
809
-
810
- type individual =
811
- {
812
- id: bool,
813
- dob: bool,
814
- emails: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Emails,
815
- encrypted_ssn: bool,
816
- ethnicity: bool,
817
- first_name: bool,
818
- gender: bool,
819
- last_name: bool,
820
- middle_name: bool,
821
- phone_numbers: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
822
- preferred_name: bool,
823
- residence: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Residence,
824
- ssn: bool
825
- }
826
-
827
- class Individual < FinchAPI::Internal::Type::BaseModel
828
- attr_reader id: bool?
829
-
830
- def id=: (bool) -> bool
831
-
832
- attr_reader dob: bool?
833
-
834
- def dob=: (bool) -> bool
835
-
836
- attr_reader emails: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Emails?
837
-
838
- def emails=: (
839
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Emails
840
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Emails
841
-
842
- attr_reader encrypted_ssn: bool?
843
-
844
- def encrypted_ssn=: (bool) -> bool
845
-
846
- attr_reader ethnicity: bool?
847
-
848
- def ethnicity=: (bool) -> bool
849
-
850
- attr_reader first_name: bool?
851
-
852
- def first_name=: (bool) -> bool
853
-
854
- attr_reader gender: bool?
855
-
856
- def gender=: (bool) -> bool
857
-
858
- attr_reader last_name: bool?
859
-
860
- def last_name=: (bool) -> bool
861
-
862
- attr_reader middle_name: bool?
863
-
864
- def middle_name=: (bool) -> bool
865
-
866
- attr_reader phone_numbers: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers?
867
-
868
- def phone_numbers=: (
869
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers
870
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers
871
-
872
- attr_reader preferred_name: bool?
873
-
874
- def preferred_name=: (bool) -> bool
875
-
876
- attr_reader residence: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Residence?
877
-
878
- def residence=: (
879
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Residence
880
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Residence
881
-
882
- attr_reader ssn: bool?
883
-
884
- def ssn=: (bool) -> bool
885
-
886
- def initialize: (
887
- ?id: bool,
888
- ?dob: bool,
889
- ?emails: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Emails,
890
- ?encrypted_ssn: bool,
891
- ?ethnicity: bool,
892
- ?first_name: bool,
893
- ?gender: bool,
894
- ?last_name: bool,
895
- ?middle_name: bool,
896
- ?phone_numbers: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
897
- ?preferred_name: bool,
898
- ?residence: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Residence,
899
- ?ssn: bool
900
- ) -> void
901
-
902
- def to_hash: -> {
903
- id: bool,
904
- dob: bool,
905
- emails: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Emails,
906
- encrypted_ssn: bool,
907
- ethnicity: bool,
908
- first_name: bool,
909
- gender: bool,
910
- last_name: bool,
911
- middle_name: bool,
912
- phone_numbers: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
913
- preferred_name: bool,
914
- residence: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Individual::Residence,
915
- ssn: bool
916
- }
917
-
918
- type emails = { data: bool, type: bool }
919
-
920
- class Emails < FinchAPI::Internal::Type::BaseModel
921
- attr_reader data: bool?
922
-
923
- def data=: (bool) -> bool
924
-
925
- attr_reader type: bool?
926
-
927
- def type=: (bool) -> bool
928
-
929
- def initialize: (?data: bool, ?type: bool) -> void
930
-
931
- def to_hash: -> { data: bool, type: bool }
932
- end
933
-
934
- type phone_numbers = { data: bool, type: bool }
935
-
936
- class PhoneNumbers < FinchAPI::Internal::Type::BaseModel
937
- attr_reader data: bool?
938
-
939
- def data=: (bool) -> bool
940
-
941
- attr_reader type: bool?
942
-
943
- def type=: (bool) -> bool
944
-
945
- def initialize: (?data: bool, ?type: bool) -> void
946
-
947
- def to_hash: -> { data: bool, type: bool }
948
- end
949
-
950
- type residence =
951
- {
952
- city: bool,
953
- country: bool,
954
- :line1 => bool,
955
- :line2 => bool,
956
- postal_code: bool,
957
- state: bool
958
- }
959
-
960
- class Residence < FinchAPI::Internal::Type::BaseModel
961
- attr_reader city: bool?
962
-
963
- def city=: (bool) -> bool
964
-
965
- attr_reader country: bool?
966
-
967
- def country=: (bool) -> bool
968
-
969
- attr_reader line1: bool?
970
-
971
- def line1=: (bool) -> bool
972
-
973
- attr_reader line2: bool?
974
-
975
- def line2=: (bool) -> bool
976
-
977
- attr_reader postal_code: bool?
978
-
979
- def postal_code=: (bool) -> bool
980
-
981
- attr_reader state: bool?
982
-
983
- def state=: (bool) -> bool
984
-
985
- def initialize: (
986
- ?city: bool,
987
- ?country: bool,
988
- ?line1: bool,
989
- ?line2: bool,
990
- ?postal_code: bool,
991
- ?state: bool
992
- ) -> void
993
-
994
- def to_hash: -> {
995
- city: bool,
996
- country: bool,
997
- :line1 => bool,
998
- :line2 => bool,
999
- postal_code: bool,
1000
- state: bool
1001
- }
1002
- end
1003
- end
1004
-
1005
- type pay_group =
1006
- {
1007
- id: bool,
1008
- individual_ids: bool,
1009
- name: bool,
1010
- pay_frequencies: bool
1011
- }
1012
-
1013
- class PayGroup < FinchAPI::Internal::Type::BaseModel
1014
- attr_reader id: bool?
1015
-
1016
- def id=: (bool) -> bool
1017
-
1018
- attr_reader individual_ids: bool?
1019
-
1020
- def individual_ids=: (bool) -> bool
1021
-
1022
- attr_reader name: bool?
1023
-
1024
- def name=: (bool) -> bool
1025
-
1026
- attr_reader pay_frequencies: bool?
1027
-
1028
- def pay_frequencies=: (bool) -> bool
1029
-
1030
- def initialize: (
1031
- ?id: bool,
1032
- ?individual_ids: bool,
1033
- ?name: bool,
1034
- ?pay_frequencies: bool
1035
- ) -> void
1036
-
1037
- def to_hash: -> {
1038
- id: bool,
1039
- individual_ids: bool,
1040
- name: bool,
1041
- pay_frequencies: bool
1042
- }
1043
- end
1044
-
1045
- type pay_statement =
1046
- {
1047
- paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::Paging,
1048
- pay_statements: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1049
- }
1050
-
1051
- class PayStatement < FinchAPI::Internal::Type::BaseModel
1052
- attr_reader paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::Paging?
1053
-
1054
- def paging=: (
1055
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::Paging
1056
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::Paging
1057
-
1058
- attr_reader pay_statements: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements?
1059
-
1060
- def pay_statements=: (
1061
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1062
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1063
-
1064
- def initialize: (
1065
- ?paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::Paging,
1066
- ?pay_statements: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1067
- ) -> void
1068
-
1069
- def to_hash: -> {
1070
- paging: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::Paging,
1071
- pay_statements: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1072
- }
1073
-
1074
- type paging = { count: bool, offset: bool }
1075
-
1076
- class Paging < FinchAPI::Internal::Type::BaseModel
1077
- attr_accessor count: bool
1078
-
1079
- attr_accessor offset: bool
1080
-
1081
- def initialize: (count: bool, offset: bool) -> void
1082
-
1083
- def to_hash: -> { count: bool, offset: bool }
1084
- end
1085
-
1086
- type pay_statements =
1087
- {
1088
- earnings: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
1089
- employee_deductions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
1090
- employer_contributions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
1091
- gross_pay: bool,
1092
- individual_id: bool,
1093
- net_pay: bool,
1094
- payment_method: bool,
1095
- taxes: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
1096
- total_hours: bool,
1097
- type: bool
1098
- }
1099
-
1100
- class PayStatements < FinchAPI::Internal::Type::BaseModel
1101
- attr_reader earnings: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings?
1102
-
1103
- def earnings=: (
1104
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings
1105
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings
1106
-
1107
- attr_reader employee_deductions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions?
1108
-
1109
- def employee_deductions=: (
1110
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions
1111
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions
1112
-
1113
- attr_reader employer_contributions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions?
1114
-
1115
- def employer_contributions=: (
1116
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions
1117
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions
1118
-
1119
- attr_reader gross_pay: bool?
1120
-
1121
- def gross_pay=: (bool) -> bool
1122
-
1123
- attr_reader individual_id: bool?
1124
-
1125
- def individual_id=: (bool) -> bool
1126
-
1127
- attr_reader net_pay: bool?
1128
-
1129
- def net_pay=: (bool) -> bool
1130
-
1131
- attr_reader payment_method: bool?
1132
-
1133
- def payment_method=: (bool) -> bool
1134
-
1135
- attr_reader taxes: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes?
1136
-
1137
- def taxes=: (
1138
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes
1139
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes
1140
-
1141
- attr_reader total_hours: bool?
1142
-
1143
- def total_hours=: (bool) -> bool
1144
-
1145
- attr_reader type: bool?
1146
-
1147
- def type=: (bool) -> bool
1148
-
1149
- def initialize: (
1150
- ?earnings: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
1151
- ?employee_deductions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
1152
- ?employer_contributions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
1153
- ?gross_pay: bool,
1154
- ?individual_id: bool,
1155
- ?net_pay: bool,
1156
- ?payment_method: bool,
1157
- ?taxes: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
1158
- ?total_hours: bool,
1159
- ?type: bool
1160
- ) -> void
1161
-
1162
- def to_hash: -> {
1163
- earnings: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
1164
- employee_deductions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
1165
- employer_contributions: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
1166
- gross_pay: bool,
1167
- individual_id: bool,
1168
- net_pay: bool,
1169
- payment_method: bool,
1170
- taxes: FinchAPI::Provider::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
1171
- total_hours: bool,
1172
- type: bool
1173
- }
1174
-
1175
- type earnings =
1176
- { amount: bool, currency: bool, name: bool, type: bool }
1177
-
1178
- class Earnings < FinchAPI::Internal::Type::BaseModel
1179
- attr_reader amount: bool?
1180
-
1181
- def amount=: (bool) -> bool
1182
-
1183
- attr_reader currency: bool?
1184
-
1185
- def currency=: (bool) -> bool
1186
-
1187
- attr_reader name: bool?
1188
-
1189
- def name=: (bool) -> bool
1190
-
1191
- attr_reader type: bool?
1192
-
1193
- def type=: (bool) -> bool
1194
-
1195
- def initialize: (
1196
- ?amount: bool,
1197
- ?currency: bool,
1198
- ?name: bool,
1199
- ?type: bool
1200
- ) -> void
1201
-
1202
- def to_hash: -> {
1203
- amount: bool,
1204
- currency: bool,
1205
- name: bool,
1206
- type: bool
1207
- }
1208
- end
1209
-
1210
- type employee_deductions =
1211
- {
1212
- amount: bool,
1213
- currency: bool,
1214
- name: bool,
1215
- pre_tax: bool,
1216
- type: bool
1217
- }
1218
-
1219
- class EmployeeDeductions < FinchAPI::Internal::Type::BaseModel
1220
- attr_reader amount: bool?
1221
-
1222
- def amount=: (bool) -> bool
1223
-
1224
- attr_reader currency: bool?
1225
-
1226
- def currency=: (bool) -> bool
1227
-
1228
- attr_reader name: bool?
1229
-
1230
- def name=: (bool) -> bool
1231
-
1232
- attr_reader pre_tax: bool?
1233
-
1234
- def pre_tax=: (bool) -> bool
1235
-
1236
- attr_reader type: bool?
1237
-
1238
- def type=: (bool) -> bool
1239
-
1240
- def initialize: (
1241
- ?amount: bool,
1242
- ?currency: bool,
1243
- ?name: bool,
1244
- ?pre_tax: bool,
1245
- ?type: bool
1246
- ) -> void
1247
-
1248
- def to_hash: -> {
1249
- amount: bool,
1250
- currency: bool,
1251
- name: bool,
1252
- pre_tax: bool,
1253
- type: bool
1254
- }
1255
- end
1256
-
1257
- type employer_contributions =
1258
- { amount: bool, currency: bool, name: bool }
1259
-
1260
- class EmployerContributions < FinchAPI::Internal::Type::BaseModel
1261
- attr_reader amount: bool?
1262
-
1263
- def amount=: (bool) -> bool
1264
-
1265
- attr_reader currency: bool?
1266
-
1267
- def currency=: (bool) -> bool
1268
-
1269
- attr_reader name: bool?
1270
-
1271
- def name=: (bool) -> bool
1272
-
1273
- def initialize: (
1274
- ?amount: bool,
1275
- ?currency: bool,
1276
- ?name: bool
1277
- ) -> void
1278
-
1279
- def to_hash: -> { amount: bool, currency: bool, name: bool }
1280
- end
1281
-
1282
- type taxes =
1283
- {
1284
- amount: bool,
1285
- currency: bool,
1286
- employer: bool,
1287
- name: bool,
1288
- type: bool
1289
- }
1290
-
1291
- class Taxes < FinchAPI::Internal::Type::BaseModel
1292
- attr_reader amount: bool?
1293
-
1294
- def amount=: (bool) -> bool
1295
-
1296
- attr_reader currency: bool?
1297
-
1298
- def currency=: (bool) -> bool
1299
-
1300
- attr_reader employer: bool?
1301
-
1302
- def employer=: (bool) -> bool
1303
-
1304
- attr_reader name: bool?
1305
-
1306
- def name=: (bool) -> bool
1307
-
1308
- attr_reader type: bool?
1309
-
1310
- def type=: (bool) -> bool
1311
-
1312
- def initialize: (
1313
- ?amount: bool,
1314
- ?currency: bool,
1315
- ?employer: bool,
1316
- ?name: bool,
1317
- ?type: bool
1318
- ) -> void
1319
-
1320
- def to_hash: -> {
1321
- amount: bool,
1322
- currency: bool,
1323
- employer: bool,
1324
- name: bool,
1325
- type: bool
1326
- }
1327
- end
1328
- end
1329
- end
1330
-
1331
- type payment =
1332
- {
1333
- id: bool,
1334
- company_debit: bool,
1335
- debit_date: bool,
1336
- employee_taxes: bool,
1337
- employer_taxes: bool,
1338
- gross_pay: bool,
1339
- individual_ids: bool,
1340
- net_pay: bool,
1341
- pay_date: bool,
1342
- pay_frequencies: bool,
1343
- pay_group_ids: bool,
1344
- pay_period: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1345
- }
1346
-
1347
- class Payment < FinchAPI::Internal::Type::BaseModel
1348
- attr_reader id: bool?
1349
-
1350
- def id=: (bool) -> bool
1351
-
1352
- attr_reader company_debit: bool?
1353
-
1354
- def company_debit=: (bool) -> bool
1355
-
1356
- attr_reader debit_date: bool?
1357
-
1358
- def debit_date=: (bool) -> bool
1359
-
1360
- attr_reader employee_taxes: bool?
1361
-
1362
- def employee_taxes=: (bool) -> bool
1363
-
1364
- attr_reader employer_taxes: bool?
1365
-
1366
- def employer_taxes=: (bool) -> bool
1367
-
1368
- attr_reader gross_pay: bool?
1369
-
1370
- def gross_pay=: (bool) -> bool
1371
-
1372
- attr_reader individual_ids: bool?
1373
-
1374
- def individual_ids=: (bool) -> bool
1375
-
1376
- attr_reader net_pay: bool?
1377
-
1378
- def net_pay=: (bool) -> bool
1379
-
1380
- attr_reader pay_date: bool?
1381
-
1382
- def pay_date=: (bool) -> bool
1383
-
1384
- attr_reader pay_frequencies: bool?
1385
-
1386
- def pay_frequencies=: (bool) -> bool
1387
-
1388
- attr_reader pay_group_ids: bool?
1389
-
1390
- def pay_group_ids=: (bool) -> bool
1391
-
1392
- attr_reader pay_period: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod?
1393
-
1394
- def pay_period=: (
1395
- FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1396
- ) -> FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1397
-
1398
- def initialize: (
1399
- ?id: bool,
1400
- ?company_debit: bool,
1401
- ?debit_date: bool,
1402
- ?employee_taxes: bool,
1403
- ?employer_taxes: bool,
1404
- ?gross_pay: bool,
1405
- ?individual_ids: bool,
1406
- ?net_pay: bool,
1407
- ?pay_date: bool,
1408
- ?pay_frequencies: bool,
1409
- ?pay_group_ids: bool,
1410
- ?pay_period: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1411
- ) -> void
1412
-
1413
- def to_hash: -> {
1414
- id: bool,
1415
- company_debit: bool,
1416
- debit_date: bool,
1417
- employee_taxes: bool,
1418
- employer_taxes: bool,
1419
- gross_pay: bool,
1420
- individual_ids: bool,
1421
- net_pay: bool,
1422
- pay_date: bool,
1423
- pay_frequencies: bool,
1424
- pay_group_ids: bool,
1425
- pay_period: FinchAPI::Provider::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1426
- }
1427
-
1428
- type pay_period = { end_date: bool, start_date: bool }
1429
-
1430
- class PayPeriod < FinchAPI::Internal::Type::BaseModel
1431
- attr_reader end_date: bool?
1432
-
1433
- def end_date=: (bool) -> bool
1434
-
1435
- attr_reader start_date: bool?
1436
-
1437
- def start_date=: (bool) -> bool
1438
-
1439
- def initialize: (?end_date: bool, ?start_date: bool) -> void
1440
-
1441
- def to_hash: -> { end_date: bool, start_date: bool }
1442
- end
1443
- end
1444
- end
1445
-
1446
110
  type type_ =
1447
- :assisted | :credential | :api_token | :api_credential | :oauth
111
+ :assisted | :credential | :api_token | :api_credential | :oauth | :api
1448
112
 
1449
113
  module Type
1450
114
  extend FinchAPI::Internal::Type::Enum
@@ -1454,6 +118,7 @@ module FinchAPI
1454
118
  API_TOKEN: :api_token
1455
119
  API_CREDENTIAL: :api_credential
1456
120
  OAUTH: :oauth
121
+ API: :api
1457
122
 
1458
123
  def self?.values: -> ::Array[FinchAPI::Models::Provider::AuthenticationMethod::type_]
1459
124
  end