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
@@ -7,36 +7,36 @@ module FinchAPI
7
7
  # @!attribute id
8
8
  # A stable Finch id for the document.
9
9
  #
10
- # @return [String, nil]
11
- optional :id, String
10
+ # @return [String]
11
+ required :id, String
12
12
 
13
13
  # @!attribute individual_id
14
14
  # The ID of the individual associated with the document. This will be null for
15
15
  # employer-level documents.
16
16
  #
17
17
  # @return [String, nil]
18
- optional :individual_id, String, nil?: true
18
+ required :individual_id, String, nil?: true
19
19
 
20
20
  # @!attribute type
21
21
  # The type of document.
22
22
  #
23
- # @return [Symbol, FinchAPI::Models::HRIS::DocumentResponse::Type, nil]
24
- optional :type, enum: -> { FinchAPI::HRIS::DocumentResponse::Type }
23
+ # @return [Symbol, FinchAPI::Models::HRIS::DocumentResponse::Type]
24
+ required :type, enum: -> { FinchAPI::HRIS::DocumentResponse::Type }
25
25
 
26
26
  # @!attribute url
27
27
  # A URL to access the document. Format:
28
28
  # `https://api.tryfinch.com/employer/documents/:document_id`.
29
29
  #
30
- # @return [String, nil]
31
- optional :url, String
30
+ # @return [String]
31
+ required :url, String
32
32
 
33
33
  # @!attribute year
34
34
  # The year the document applies to, if available.
35
35
  #
36
- # @return [Float, nil]
37
- optional :year, Float, nil?: true
36
+ # @return [Float]
37
+ required :year, Float
38
38
 
39
- # @!method initialize(id: nil, individual_id: nil, type: nil, url: nil, year: nil)
39
+ # @!method initialize(id:, individual_id:, type:, url:, year:)
40
40
  # Some parameter documentations has been truncated, see
41
41
  # {FinchAPI::Models::HRIS::DocumentResponse} for more details.
42
42
  #
@@ -48,7 +48,7 @@ module FinchAPI
48
48
  #
49
49
  # @param url [String] A URL to access the document. Format: `https://api.tryfinch.com/employer/documen
50
50
  #
51
- # @param year [Float, nil] The year the document applies to, if available.
51
+ # @param year [Float] The year the document applies to, if available.
52
52
 
53
53
  # The type of document.
54
54
  #
@@ -8,7 +8,15 @@ module FinchAPI
8
8
  extend FinchAPI::Internal::Type::RequestParameters::Converter
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
- # @!method initialize(request_options: {})
11
+ # @!attribute entity_ids
12
+ # The entity IDs to specify which entities' data to access.
13
+ #
14
+ # @return [Array<String>, nil]
15
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
16
+
17
+ # @!method initialize(entity_ids: nil, request_options: {})
18
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
19
+ #
12
20
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
13
21
  end
14
22
  end
@@ -15,9 +15,17 @@ module FinchAPI
15
15
  required :requests,
16
16
  -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request] }
17
17
 
18
- # @!method initialize(requests:, request_options: {})
18
+ # @!attribute entity_ids
19
+ # The entity IDs to specify which entities' data to access.
20
+ #
21
+ # @return [Array<String>, nil]
22
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
23
+
24
+ # @!method initialize(requests:, entity_ids: nil, request_options: {})
19
25
  # @param requests [Array<FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request>] The array of batch requests.
20
26
  #
27
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
28
+ #
21
29
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
22
30
 
23
31
  class Request < FinchAPI::Internal::Type::BaseModel
@@ -8,6 +8,12 @@ module FinchAPI
8
8
  extend FinchAPI::Internal::Type::RequestParameters::Converter
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
+ # @!attribute entity_ids
12
+ # The entity IDs to specify which entities' data to access.
13
+ #
14
+ # @return [Array<String>, nil]
15
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
16
+
11
17
  # @!attribute options
12
18
  #
13
19
  # @return [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
@@ -19,9 +25,13 @@ module FinchAPI
19
25
  optional :requests,
20
26
  -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::IndividualRetrieveManyParams::Request] }
21
27
 
22
- # @!method initialize(options: nil, requests: nil, request_options: {})
28
+ # @!method initialize(entity_ids: nil, options: nil, requests: nil, request_options: {})
29
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
30
+ #
23
31
  # @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
32
+ #
24
33
  # @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>]
34
+ #
25
35
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
26
36
 
27
37
  class Options < FinchAPI::Internal::Type::BaseModel
@@ -15,22 +15,16 @@ module FinchAPI
15
15
  # @!attribute employee_deductions
16
16
  # The array of deductions objects associated with this pay statement.
17
17
  #
18
- # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction, nil>, nil]
18
+ # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction>, nil]
19
19
  required :employee_deductions,
20
- -> {
21
- FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployeeDeduction,
22
- nil?: true]
23
- },
20
+ -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployeeDeduction] },
24
21
  nil?: true
25
22
 
26
23
  # @!attribute employer_contributions
27
24
  #
28
- # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution, nil>, nil]
25
+ # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution>, nil]
29
26
  required :employer_contributions,
30
- -> {
31
- FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployerContribution,
32
- nil?: true]
33
- },
27
+ -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployerContribution] },
34
28
  nil?: true
35
29
 
36
30
  # @!attribute gross_pay
@@ -58,9 +52,11 @@ module FinchAPI
58
52
  # @!attribute taxes
59
53
  # The array of taxes objects associated with this pay statement.
60
54
  #
61
- # @return [Array<FinchAPI::Models::HRIS::PayStatement::Tax, nil>, nil]
55
+ # @return [Array<FinchAPI::Models::HRIS::PayStatement::Tax>, nil]
62
56
  required :taxes,
63
- -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::Tax, nil?: true] },
57
+ -> {
58
+ FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::Tax]
59
+ },
64
60
  nil?: true
65
61
 
66
62
  # @!attribute total_hours
@@ -78,9 +74,9 @@ module FinchAPI
78
74
  # @!method initialize(earnings:, employee_deductions:, employer_contributions:, gross_pay:, individual_id:, net_pay:, payment_method:, taxes:, total_hours:, type:)
79
75
  # @param earnings [Array<FinchAPI::Models::HRIS::PayStatement::Earning, nil>, nil] The array of earnings objects associated with this pay statement
80
76
  #
81
- # @param employee_deductions [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction, nil>, nil] The array of deductions objects associated with this pay statement.
77
+ # @param employee_deductions [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction>, nil] The array of deductions objects associated with this pay statement.
82
78
  #
83
- # @param employer_contributions [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution, nil>, nil]
79
+ # @param employer_contributions [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution>, nil]
84
80
  #
85
81
  # @param gross_pay [FinchAPI::Models::Money, nil]
86
82
  #
@@ -90,7 +86,7 @@ module FinchAPI
90
86
  #
91
87
  # @param payment_method [Symbol, FinchAPI::Models::HRIS::PayStatement::PaymentMethod, nil] The payment method.
92
88
  #
93
- # @param taxes [Array<FinchAPI::Models::HRIS::PayStatement::Tax, nil>, nil] The array of taxes objects associated with this pay statement.
89
+ # @param taxes [Array<FinchAPI::Models::HRIS::PayStatement::Tax>, nil] The array of taxes objects associated with this pay statement.
94
90
  #
95
91
  # @param total_hours [Float, nil] The number of hours worked for this pay period
96
92
  #
@@ -15,9 +15,17 @@ module FinchAPI
15
15
  required :requests,
16
16
  -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request] }
17
17
 
18
- # @!method initialize(requests:, request_options: {})
18
+ # @!attribute entity_ids
19
+ # The entity IDs to specify which entities' data to access.
20
+ #
21
+ # @return [Array<String>, nil]
22
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
23
+
24
+ # @!method initialize(requests:, entity_ids: nil, request_options: {})
19
25
  # @param requests [Array<FinchAPI::Models::HRIS::PayStatementRetrieveManyParams::Request>] The array of batch requests.
20
26
  #
27
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
28
+ #
21
29
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
22
30
 
23
31
  class Request < FinchAPI::Internal::Type::BaseModel
@@ -22,7 +22,13 @@ module FinchAPI
22
22
  # @return [Date]
23
23
  required :start_date, Date
24
24
 
25
- # @!method initialize(end_date:, start_date:, request_options: {})
25
+ # @!attribute entity_ids
26
+ # The entity IDs to specify which entities' data to access.
27
+ #
28
+ # @return [Array<String>, nil]
29
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
30
+
31
+ # @!method initialize(end_date:, start_date:, entity_ids: nil, request_options: {})
26
32
  # Some parameter documentations has been truncated, see
27
33
  # {FinchAPI::Models::HRIS::PaymentListParams} for more details.
28
34
  #
@@ -30,6 +36,8 @@ module FinchAPI
30
36
  #
31
37
  # @param start_date [Date] The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` for
32
38
  #
39
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
40
+ #
33
41
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
34
42
  end
35
43
  end
@@ -89,6 +89,7 @@ module FinchAPI
89
89
 
90
90
  FIXED = :fixed
91
91
  PERCENT = :percent
92
+ TIERED = :tiered
92
93
 
93
94
  # @!method self.values
94
95
  # @return [Array<Symbol>]
@@ -7,22 +7,22 @@ module FinchAPI
7
7
  # @!attribute data
8
8
  # Detailed information specific to the 2005 W4 form.
9
9
  #
10
- # @return [FinchAPI::Models::HRIS::W42005::Data, nil]
11
- optional :data, -> { FinchAPI::HRIS::W42005::Data }
10
+ # @return [FinchAPI::Models::HRIS::W42005::Data]
11
+ required :data, -> { FinchAPI::HRIS::W42005::Data }
12
12
 
13
13
  # @!attribute type
14
14
  # Specifies the form type, indicating that this document is a 2005 W4 form.
15
15
  #
16
- # @return [Symbol, FinchAPI::Models::HRIS::W42005::Type, nil]
17
- optional :type, enum: -> { FinchAPI::HRIS::W42005::Type }
16
+ # @return [Symbol, FinchAPI::Models::HRIS::W42005::Type]
17
+ required :type, enum: -> { FinchAPI::HRIS::W42005::Type }
18
18
 
19
19
  # @!attribute year
20
20
  # The tax year this W4 document applies to.
21
21
  #
22
- # @return [Float, nil]
23
- optional :year, Float, nil?: true
22
+ # @return [Float]
23
+ required :year, Float
24
24
 
25
- # @!method initialize(data: nil, type: nil, year: nil)
25
+ # @!method initialize(data:, type:, year:)
26
26
  # A 2005 version of the W-4 tax form containing information on an individual's
27
27
  # filing status, dependents, and withholding details.
28
28
  #
@@ -30,52 +30,52 @@ module FinchAPI
30
30
  #
31
31
  # @param type [Symbol, FinchAPI::Models::HRIS::W42005::Type] Specifies the form type, indicating that this document is a 2005 W4 form.
32
32
  #
33
- # @param year [Float, nil] The tax year this W4 document applies to.
33
+ # @param year [Float] The tax year this W4 document applies to.
34
34
 
35
35
  # @see FinchAPI::Models::HRIS::W42005#data
36
36
  class Data < FinchAPI::Internal::Type::BaseModel
37
37
  # @!attribute additional_withholding
38
38
  # Additional withholding amount (in cents).
39
39
  #
40
- # @return [Integer, nil]
41
- optional :additional_withholding, Integer, nil?: true
40
+ # @return [Integer]
41
+ required :additional_withholding, Integer
42
42
 
43
43
  # @!attribute exemption
44
44
  # Indicates exemption status from federal tax withholding.
45
45
  #
46
46
  # @return [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption, nil]
47
- optional :exemption, enum: -> { FinchAPI::HRIS::W42005::Data::Exemption }
47
+ required :exemption, enum: -> { FinchAPI::HRIS::W42005::Data::Exemption }, nil?: true
48
48
 
49
49
  # @!attribute filing_status
50
50
  # The individual's filing status for tax purposes.
51
51
  #
52
52
  # @return [Symbol, FinchAPI::Models::HRIS::W42005::Data::FilingStatus, nil]
53
- optional :filing_status, enum: -> { FinchAPI::HRIS::W42005::Data::FilingStatus }, nil?: true
53
+ required :filing_status, enum: -> { FinchAPI::HRIS::W42005::Data::FilingStatus }, nil?: true
54
54
 
55
55
  # @!attribute individual_id
56
56
  # The unique identifier for the individual associated with this 2005 W4 form.
57
57
  #
58
- # @return [String, nil]
59
- optional :individual_id, String
58
+ # @return [String]
59
+ required :individual_id, String
60
60
 
61
61
  # @!attribute total_number_of_allowances
62
62
  # Total number of allowances claimed (in cents).
63
63
  #
64
- # @return [Integer, nil]
65
- optional :total_number_of_allowances, Integer, nil?: true
64
+ # @return [Integer]
65
+ required :total_number_of_allowances, Integer
66
66
 
67
- # @!method initialize(additional_withholding: nil, exemption: nil, filing_status: nil, individual_id: nil, total_number_of_allowances: nil)
67
+ # @!method initialize(additional_withholding:, exemption:, filing_status:, individual_id:, total_number_of_allowances:)
68
68
  # Detailed information specific to the 2005 W4 form.
69
69
  #
70
- # @param additional_withholding [Integer, nil] Additional withholding amount (in cents).
70
+ # @param additional_withholding [Integer] Additional withholding amount (in cents).
71
71
  #
72
- # @param exemption [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption] Indicates exemption status from federal tax withholding.
72
+ # @param exemption [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption, nil] Indicates exemption status from federal tax withholding.
73
73
  #
74
74
  # @param filing_status [Symbol, FinchAPI::Models::HRIS::W42005::Data::FilingStatus, nil] The individual's filing status for tax purposes.
75
75
  #
76
76
  # @param individual_id [String] The unique identifier for the individual associated with this 2005 W4 form.
77
77
  #
78
- # @param total_number_of_allowances [Integer, nil] Total number of allowances claimed (in cents).
78
+ # @param total_number_of_allowances [Integer] Total number of allowances claimed (in cents).
79
79
 
80
80
  # Indicates exemption status from federal tax withholding.
81
81
  #
@@ -7,22 +7,22 @@ module FinchAPI
7
7
  # @!attribute data
8
8
  # Detailed information specific to the 2020 W4 form.
9
9
  #
10
- # @return [FinchAPI::Models::HRIS::W42020::Data, nil]
11
- optional :data, -> { FinchAPI::HRIS::W42020::Data }
10
+ # @return [FinchAPI::Models::HRIS::W42020::Data]
11
+ required :data, -> { FinchAPI::HRIS::W42020::Data }
12
12
 
13
13
  # @!attribute type
14
14
  # Specifies the form type, indicating that this document is a 2020 W4 form.
15
15
  #
16
- # @return [Symbol, FinchAPI::Models::HRIS::W42020::Type, nil]
17
- optional :type, enum: -> { FinchAPI::HRIS::W42020::Type }
16
+ # @return [Symbol, FinchAPI::Models::HRIS::W42020::Type]
17
+ required :type, enum: -> { FinchAPI::HRIS::W42020::Type }
18
18
 
19
19
  # @!attribute year
20
20
  # The tax year this W4 document applies to.
21
21
  #
22
- # @return [Float, nil]
23
- optional :year, Float, nil?: true
22
+ # @return [Float]
23
+ required :year, Float
24
24
 
25
- # @!method initialize(data: nil, type: nil, year: nil)
25
+ # @!method initialize(data:, type:, year:)
26
26
  # A 2020 version of the W-4 tax form containing information on an individual's
27
27
  # filing status, dependents, and withholding details.
28
28
  #
@@ -30,7 +30,7 @@ module FinchAPI
30
30
  #
31
31
  # @param type [Symbol, FinchAPI::Models::HRIS::W42020::Type] Specifies the form type, indicating that this document is a 2020 W4 form.
32
32
  #
33
- # @param year [Float, nil] The tax year this W4 document applies to.
33
+ # @param year [Float] The tax year this W4 document applies to.
34
34
 
35
35
  # @see FinchAPI::Models::HRIS::W42020#data
36
36
  class Data < FinchAPI::Internal::Type::BaseModel
@@ -38,72 +38,72 @@ module FinchAPI
38
38
  # Amount claimed for dependents other than qualifying children under 17 (in
39
39
  # cents).
40
40
  #
41
- # @return [Integer, nil]
42
- optional :amount_for_other_dependents, Integer, nil?: true
41
+ # @return [Integer]
42
+ required :amount_for_other_dependents, Integer
43
43
 
44
44
  # @!attribute amount_for_qualifying_children_under_17
45
45
  # Amount claimed for dependents under 17 years old (in cents).
46
46
  #
47
- # @return [Integer, nil]
48
- optional :amount_for_qualifying_children_under_17, Integer, nil?: true
47
+ # @return [Integer]
48
+ required :amount_for_qualifying_children_under_17, Integer
49
49
 
50
50
  # @!attribute deductions
51
51
  # Deductible expenses (in cents).
52
52
  #
53
- # @return [Integer, nil]
54
- optional :deductions, Integer, nil?: true
53
+ # @return [Integer]
54
+ required :deductions, Integer
55
55
 
56
56
  # @!attribute extra_withholding
57
57
  # Additional withholding amount (in cents).
58
58
  #
59
- # @return [Integer, nil]
60
- optional :extra_withholding, Integer, nil?: true
59
+ # @return [Integer]
60
+ required :extra_withholding, Integer
61
61
 
62
62
  # @!attribute filing_status
63
63
  # The individual's filing status for tax purposes.
64
64
  #
65
65
  # @return [Symbol, FinchAPI::Models::HRIS::W42020::Data::FilingStatus, nil]
66
- optional :filing_status, enum: -> { FinchAPI::HRIS::W42020::Data::FilingStatus }, nil?: true
66
+ required :filing_status, enum: -> { FinchAPI::HRIS::W42020::Data::FilingStatus }, nil?: true
67
67
 
68
68
  # @!attribute individual_id
69
69
  # The unique identifier for the individual associated with this document.
70
70
  #
71
- # @return [String, nil]
72
- optional :individual_id, String
71
+ # @return [String]
72
+ required :individual_id, String
73
73
 
74
74
  # @!attribute other_income
75
75
  # Additional income from sources outside of primary employment (in cents).
76
76
  #
77
- # @return [Integer, nil]
78
- optional :other_income, Integer, nil?: true
77
+ # @return [Integer]
78
+ required :other_income, Integer
79
79
 
80
80
  # @!attribute total_claim_dependent_and_other_credits
81
81
  # Total amount claimed for dependents and other credits (in cents).
82
82
  #
83
- # @return [Integer, nil]
84
- optional :total_claim_dependent_and_other_credits, Integer, nil?: true
83
+ # @return [Integer]
84
+ required :total_claim_dependent_and_other_credits, Integer
85
85
 
86
- # @!method initialize(amount_for_other_dependents: nil, amount_for_qualifying_children_under_17: nil, deductions: nil, extra_withholding: nil, filing_status: nil, individual_id: nil, other_income: nil, total_claim_dependent_and_other_credits: nil)
86
+ # @!method initialize(amount_for_other_dependents:, amount_for_qualifying_children_under_17:, deductions:, extra_withholding:, filing_status:, individual_id:, other_income:, total_claim_dependent_and_other_credits:)
87
87
  # Some parameter documentations has been truncated, see
88
88
  # {FinchAPI::Models::HRIS::W42020::Data} for more details.
89
89
  #
90
90
  # Detailed information specific to the 2020 W4 form.
91
91
  #
92
- # @param amount_for_other_dependents [Integer, nil] Amount claimed for dependents other than qualifying children under 17 (in cents)
92
+ # @param amount_for_other_dependents [Integer] Amount claimed for dependents other than qualifying children under 17 (in cents)
93
93
  #
94
- # @param amount_for_qualifying_children_under_17 [Integer, nil] Amount claimed for dependents under 17 years old (in cents).
94
+ # @param amount_for_qualifying_children_under_17 [Integer] Amount claimed for dependents under 17 years old (in cents).
95
95
  #
96
- # @param deductions [Integer, nil] Deductible expenses (in cents).
96
+ # @param deductions [Integer] Deductible expenses (in cents).
97
97
  #
98
- # @param extra_withholding [Integer, nil] Additional withholding amount (in cents).
98
+ # @param extra_withholding [Integer] Additional withholding amount (in cents).
99
99
  #
100
100
  # @param filing_status [Symbol, FinchAPI::Models::HRIS::W42020::Data::FilingStatus, nil] The individual's filing status for tax purposes.
101
101
  #
102
102
  # @param individual_id [String] The unique identifier for the individual associated with this document.
103
103
  #
104
- # @param other_income [Integer, nil] Additional income from sources outside of primary employment (in cents).
104
+ # @param other_income [Integer] Additional income from sources outside of primary employment (in cents).
105
105
  #
106
- # @param total_claim_dependent_and_other_credits [Integer, nil] Total amount claimed for dependents and other credits (in cents).
106
+ # @param total_claim_dependent_and_other_credits [Integer] Total amount claimed for dependents and other credits (in cents).
107
107
 
108
108
  # The individual's filing status for tax purposes.
109
109
  #
@@ -99,17 +99,12 @@ module FinchAPI
99
99
  # @return [String, nil]
100
100
  optional :customer_name, String, nil?: true
101
101
 
102
- # @!attribute entity_ids
103
- # Array of entity IDs associated with this connection.
102
+ # @!attribute entities
103
+ # Array of detailed entity information for each connected account in multi-account
104
+ # mode
104
105
  #
105
- # @return [Array<String>, nil]
106
- optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
107
-
108
- # @!attribute entity_mode
109
- # Indicates whether this connection manages a single entity or multiple entities.
110
- #
111
- # @return [Symbol, FinchAPI::Models::Introspection::EntityMode, nil]
112
- optional :entity_mode, enum: -> { FinchAPI::Introspection::EntityMode }
106
+ # @return [Array<FinchAPI::Models::Introspection::Entity>, nil]
107
+ optional :entities, -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::Introspection::Entity] }
113
108
 
114
109
  # @!attribute manual
115
110
  # Whether the connection associated with the `access_token` uses the Assisted
@@ -134,7 +129,7 @@ module FinchAPI
134
129
  # @return [String, nil]
135
130
  optional :username, String, nil?: true
136
131
 
137
- # @!method initialize(id:, client_id:, client_type:, connection_id:, connection_status:, connection_type:, products:, provider_id:, account_id: nil, authentication_methods: nil, company_id: nil, customer_email: nil, customer_id: nil, customer_name: nil, entity_ids: nil, entity_mode: nil, manual: nil, payroll_provider_id: nil, username: nil)
132
+ # @!method initialize(id:, client_id:, client_type:, connection_id:, connection_status:, connection_type:, products:, provider_id:, account_id: nil, authentication_methods: nil, company_id: nil, customer_email: nil, customer_id: nil, customer_name: nil, entities: nil, manual: nil, payroll_provider_id: nil, username: nil)
138
133
  # Some parameter documentations has been truncated, see
139
134
  # {FinchAPI::Models::Introspection} for more details.
140
135
  #
@@ -166,9 +161,7 @@ module FinchAPI
166
161
  #
167
162
  # @param customer_name [String, nil] The name of your customer you provided to Finch when a connect session was creat
168
163
  #
169
- # @param entity_ids [Array<String>] Array of entity IDs associated with this connection.
170
- #
171
- # @param entity_mode [Symbol, FinchAPI::Models::Introspection::EntityMode] Indicates whether this connection manages a single entity or multiple entities.
164
+ # @param entities [Array<FinchAPI::Models::Introspection::Entity>] Array of detailed entity information for each connected account in multi-account
172
165
  #
173
166
  # @param manual [Boolean] Whether the connection associated with the `access_token` uses the Assisted Conn
174
167
  #
@@ -334,17 +327,39 @@ module FinchAPI
334
327
  end
335
328
  end
336
329
 
337
- # Indicates whether this connection manages a single entity or multiple entities.
338
- #
339
- # @see FinchAPI::Models::Introspection#entity_mode
340
- module EntityMode
341
- extend FinchAPI::Internal::Type::Enum
330
+ class Entity < FinchAPI::Internal::Type::BaseModel
331
+ # @!attribute id
332
+ # The connection account ID for this entity
333
+ #
334
+ # @return [String]
335
+ required :id, String
342
336
 
343
- SINGLE = :single
344
- MULTI = :multi
337
+ # @!attribute name
338
+ # The name of the entity (payroll provider company name)
339
+ #
340
+ # @return [String, nil]
341
+ required :name, String, nil?: true
345
342
 
346
- # @!method self.values
347
- # @return [Array<Symbol>]
343
+ # @!attribute source_id
344
+ # The source ID of the entity
345
+ #
346
+ # @return [String, nil]
347
+ required :source_id, String, nil?: true
348
+
349
+ # @!attribute type
350
+ # The type of entity
351
+ #
352
+ # @return [String, nil]
353
+ required :type, String, nil?: true
354
+
355
+ # @!method initialize(id:, name:, source_id:, type:)
356
+ # @param id [String] The connection account ID for this entity
357
+ #
358
+ # @param name [String, nil] The name of the entity (payroll provider company name)
359
+ #
360
+ # @param source_id [String, nil] The source ID of the entity
361
+ #
362
+ # @param type [String, nil] The type of entity
348
363
  end
349
364
  end
350
365
  end
@@ -8,14 +8,6 @@ module FinchAPI
8
8
  extend FinchAPI::Internal::Type::RequestParameters::Converter
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
- # @!attribute entity_id
12
- # The entity ID to use when authenticating with a multi-account token. Required
13
- # when using a multi-account token to specify which entity's data to access.
14
- # Example: `123e4567-e89b-12d3-a456-426614174000`
15
- #
16
- # @return [String, nil]
17
- optional :entity_id, String
18
-
19
11
  # @!attribute limit
20
12
  # Number of items to return
21
13
  #
@@ -28,12 +20,7 @@ module FinchAPI
28
20
  # @return [Integer, nil]
29
21
  optional :offset, Integer
30
22
 
31
- # @!method initialize(entity_id: nil, limit: nil, offset: nil, request_options: {})
32
- # Some parameter documentations has been truncated, see
33
- # {FinchAPI::Models::Jobs::AutomatedListParams} for more details.
34
- #
35
- # @param entity_id [String] The entity ID to use when authenticating with a multi-account token. Required wh
36
- #
23
+ # @!method initialize(limit: nil, offset: nil, request_options: {})
37
24
  # @param limit [Integer] Number of items to return
38
25
  #
39
26
  # @param offset [Integer] Index to start from (defaults to 0)
@@ -8,20 +8,7 @@ module FinchAPI
8
8
  extend FinchAPI::Internal::Type::RequestParameters::Converter
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
- # @!attribute entity_id
12
- # The entity ID to use when authenticating with a multi-account token. Required
13
- # when using a multi-account token to specify which entity's data to access.
14
- # Example: `123e4567-e89b-12d3-a456-426614174000`
15
- #
16
- # @return [String, nil]
17
- optional :entity_id, String
18
-
19
- # @!method initialize(entity_id: nil, request_options: {})
20
- # Some parameter documentations has been truncated, see
21
- # {FinchAPI::Models::Jobs::AutomatedRetrieveParams} for more details.
22
- #
23
- # @param entity_id [String] The entity ID to use when authenticating with a multi-account token. Required wh
24
- #
11
+ # @!method initialize(request_options: {})
25
12
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
26
13
  end
27
14
  end
@@ -8,20 +8,7 @@ module FinchAPI
8
8
  extend FinchAPI::Internal::Type::RequestParameters::Converter
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
- # @!attribute entity_id
12
- # The entity ID to use when authenticating with a multi-account token. Required
13
- # when using a multi-account token to specify which entity's data to access.
14
- # Example: `123e4567-e89b-12d3-a456-426614174000`
15
- #
16
- # @return [String, nil]
17
- optional :entity_id, String
18
-
19
- # @!method initialize(entity_id: nil, request_options: {})
20
- # Some parameter documentations has been truncated, see
21
- # {FinchAPI::Models::Jobs::ManualRetrieveParams} for more details.
22
- #
23
- # @param entity_id [String] The entity ID to use when authenticating with a multi-account token. Required wh
24
- #
11
+ # @!method initialize(request_options: {})
25
12
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
26
13
  end
27
14
  end