increase 1.352.0 → 1.354.0

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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer.rb +3 -3
  4. data/lib/increase/models/beneficial_owner_create_params.rb +3 -0
  5. data/lib/increase/models/beneficial_owner_update_params.rb +3 -0
  6. data/lib/increase/models/card_payment.rb +1177 -2
  7. data/lib/increase/models/check_transfer.rb +15 -9
  8. data/lib/increase/models/declined_transaction.rb +3 -0
  9. data/lib/increase/models/digital_wallet_token.rb +15 -0
  10. data/lib/increase/models/entity.rb +47 -1
  11. data/lib/increase/models/entity_beneficial_owner.rb +3 -0
  12. data/lib/increase/models/entity_create_params.rb +3 -0
  13. data/lib/increase/models/export.rb +19 -19
  14. data/lib/increase/models/export_create_params.rb +15 -15
  15. data/lib/increase/models/export_list_params.rb +19 -19
  16. data/lib/increase/models/inbound_wire_transfer.rb +10 -1
  17. data/lib/increase/models/real_time_decision.rb +3 -0
  18. data/lib/increase/models/real_time_decision_action_params.rb +3 -0
  19. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
  20. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  21. data/lib/increase/models/transaction.rb +1184 -3
  22. data/lib/increase/models/wire_drawdown_request.rb +3 -3
  23. data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
  24. data/lib/increase/version.rb +1 -1
  25. data/rbi/increase/models/ach_transfer.rbi +3 -3
  26. data/rbi/increase/models/beneficial_owner_create_params.rbi +7 -0
  27. data/rbi/increase/models/beneficial_owner_update_params.rbi +7 -0
  28. data/rbi/increase/models/card_payment.rbi +5281 -2962
  29. data/rbi/increase/models/check_transfer.rbi +15 -9
  30. data/rbi/increase/models/declined_transaction.rbi +7 -0
  31. data/rbi/increase/models/digital_wallet_token.rbi +35 -0
  32. data/rbi/increase/models/entity.rbi +107 -0
  33. data/rbi/increase/models/entity_beneficial_owner.rbi +7 -0
  34. data/rbi/increase/models/entity_create_params.rbi +7 -0
  35. data/rbi/increase/models/export.rbi +32 -32
  36. data/rbi/increase/models/export_create_params.rbi +29 -29
  37. data/rbi/increase/models/export_list_params.rbi +37 -37
  38. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  39. data/rbi/increase/models/real_time_decision.rbi +7 -0
  40. data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
  41. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
  42. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  43. data/rbi/increase/models/transaction.rbi +4656 -2336
  44. data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
  45. data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
  46. data/sig/increase/models/ach_transfer.rbs +4 -4
  47. data/sig/increase/models/beneficial_owner_create_params.rbs +4 -0
  48. data/sig/increase/models/beneficial_owner_update_params.rbs +4 -0
  49. data/sig/increase/models/card_payment.rbs +1190 -0
  50. data/sig/increase/models/declined_transaction.rbs +4 -0
  51. data/sig/increase/models/digital_wallet_token.rbs +31 -2
  52. data/sig/increase/models/entity.rbs +43 -0
  53. data/sig/increase/models/entity_beneficial_owner.rbs +4 -0
  54. data/sig/increase/models/entity_create_params.rbs +4 -0
  55. data/sig/increase/models/export.rbs +28 -28
  56. data/sig/increase/models/export_create_params.rbs +22 -22
  57. data/sig/increase/models/export_list_params.rbs +28 -28
  58. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  59. data/sig/increase/models/real_time_decision.rbs +4 -0
  60. data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
  61. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
  62. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  63. data/sig/increase/models/transaction.rbs +1191 -0
  64. data/sig/increase/models/wire_drawdown_request.rbs +4 -4
  65. data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
  66. metadata +2 -2
@@ -143,24 +143,24 @@ module Increase
143
143
  T.type_alias { T.all(Symbol, Increase::ExportListParams::Category) }
144
144
  OrSymbol = T.type_alias { T.any(Symbol, String) }
145
145
 
146
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
147
- ACCOUNT_STATEMENT_OFX =
146
+ # Export a BAI2 file of transactions and balances for a given date and optional Account.
147
+ ACCOUNT_STATEMENT_BAI2 =
148
148
  T.let(
149
- :account_statement_ofx,
149
+ :account_statement_bai2,
150
150
  Increase::ExportListParams::Category::TaggedSymbol
151
151
  )
152
152
 
153
- # Export a BAI2 file of transactions and balances for a given date and optional Account.
154
- ACCOUNT_STATEMENT_BAI2 =
153
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
154
+ ACCOUNT_STATEMENT_OFX =
155
155
  T.let(
156
- :account_statement_bai2,
156
+ :account_statement_ofx,
157
157
  Increase::ExportListParams::Category::TaggedSymbol
158
158
  )
159
159
 
160
- # Export a CSV of all transactions for a given time range.
161
- TRANSACTION_CSV =
160
+ # A PDF of an account verification letter.
161
+ ACCOUNT_VERIFICATION_LETTER =
162
162
  T.let(
163
- :transaction_csv,
163
+ :account_verification_letter,
164
164
  Increase::ExportListParams::Category::TaggedSymbol
165
165
  )
166
166
 
@@ -178,13 +178,12 @@ module Increase
178
178
  Increase::ExportListParams::Category::TaggedSymbol
179
179
  )
180
180
 
181
- # Export a CSV of entities with a given status.
182
- ENTITY_CSV =
183
- T.let(:entity_csv, Increase::ExportListParams::Category::TaggedSymbol)
184
-
185
- # Export a CSV of vendors added to the third-party risk management dashboard.
186
- VENDOR_CSV =
187
- T.let(:vendor_csv, Increase::ExportListParams::Category::TaggedSymbol)
181
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
182
+ DAILY_ACCOUNT_BALANCE_CSV =
183
+ T.let(
184
+ :daily_account_balance_csv,
185
+ Increase::ExportListParams::Category::TaggedSymbol
186
+ )
188
187
 
189
188
  # Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
190
189
  DASHBOARD_TABLE_CSV =
@@ -193,19 +192,13 @@ module Increase
193
192
  Increase::ExportListParams::Category::TaggedSymbol
194
193
  )
195
194
 
196
- # A PDF of an account verification letter.
197
- ACCOUNT_VERIFICATION_LETTER =
198
- T.let(
199
- :account_verification_letter,
200
- Increase::ExportListParams::Category::TaggedSymbol
201
- )
195
+ # Export a CSV of entities with a given status.
196
+ ENTITY_CSV =
197
+ T.let(:entity_csv, Increase::ExportListParams::Category::TaggedSymbol)
202
198
 
203
- # A PDF of funding instructions.
204
- FUNDING_INSTRUCTIONS =
205
- T.let(
206
- :funding_instructions,
207
- Increase::ExportListParams::Category::TaggedSymbol
208
- )
199
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
200
+ FEE_CSV =
201
+ T.let(:fee_csv, Increase::ExportListParams::Category::TaggedSymbol)
209
202
 
210
203
  # A PDF of an Internal Revenue Service Form 1099-INT.
211
204
  FORM_1099_INT =
@@ -221,21 +214,28 @@ module Increase
221
214
  Increase::ExportListParams::Category::TaggedSymbol
222
215
  )
223
216
 
224
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
225
- FEE_CSV =
226
- T.let(:fee_csv, Increase::ExportListParams::Category::TaggedSymbol)
217
+ # A PDF of funding instructions.
218
+ FUNDING_INSTRUCTIONS =
219
+ T.let(
220
+ :funding_instructions,
221
+ Increase::ExportListParams::Category::TaggedSymbol
222
+ )
227
223
 
228
- # A PDF of a voided check.
229
- VOIDED_CHECK =
224
+ # Export a CSV of all transactions for a given time range.
225
+ TRANSACTION_CSV =
230
226
  T.let(
231
- :voided_check,
227
+ :transaction_csv,
232
228
  Increase::ExportListParams::Category::TaggedSymbol
233
229
  )
234
230
 
235
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
236
- DAILY_ACCOUNT_BALANCE_CSV =
231
+ # Export a CSV of vendors added to the third-party risk management dashboard.
232
+ VENDOR_CSV =
233
+ T.let(:vendor_csv, Increase::ExportListParams::Category::TaggedSymbol)
234
+
235
+ # A PDF of a voided check.
236
+ VOIDED_CHECK =
237
237
  T.let(
238
- :daily_account_balance_csv,
238
+ :voided_check,
239
239
  Increase::ExportListParams::Category::TaggedSymbol
240
240
  )
241
241
 
@@ -100,6 +100,10 @@ module Increase
100
100
  sig { returns(T.nilable(String)) }
101
101
  attr_accessor :instructing_agent_routing_number
102
102
 
103
+ # A free-form instruction for the receiving bank set by the sender.
104
+ sig { returns(T.nilable(String)) }
105
+ attr_accessor :instruction_for_creditor_agent
106
+
103
107
  # The sending bank's identifier for the wire transfer.
104
108
  sig { returns(T.nilable(String)) }
105
109
  attr_accessor :instruction_identification
@@ -167,6 +171,7 @@ module Increase
167
171
  end_to_end_identification: T.nilable(String),
168
172
  input_message_accountability_data: T.nilable(String),
169
173
  instructing_agent_routing_number: T.nilable(String),
174
+ instruction_for_creditor_agent: T.nilable(String),
170
175
  instruction_identification: T.nilable(String),
171
176
  purpose: T.nilable(String),
172
177
  reversal: T.nilable(Increase::InboundWireTransfer::Reversal::OrHash),
@@ -222,6 +227,8 @@ module Increase
222
227
  # The American Bankers' Association (ABA) routing number of the bank that sent the
223
228
  # wire.
224
229
  instructing_agent_routing_number:,
230
+ # A free-form instruction for the receiving bank set by the sender.
231
+ instruction_for_creditor_agent:,
225
232
  # The sending bank's identifier for the wire transfer.
226
233
  instruction_identification:,
227
234
  # The reason for the wire transfer, as set by the sender.
@@ -267,6 +274,7 @@ module Increase
267
274
  end_to_end_identification: T.nilable(String),
268
275
  input_message_accountability_data: T.nilable(String),
269
276
  instructing_agent_routing_number: T.nilable(String),
277
+ instruction_for_creditor_agent: T.nilable(String),
270
278
  instruction_identification: T.nilable(String),
271
279
  purpose: T.nilable(String),
272
280
  reversal: T.nilable(Increase::InboundWireTransfer::Reversal),
@@ -3075,6 +3075,13 @@ module Increase
3075
3075
  Increase::RealTimeDecision::CardAuthorization::Decline::Reason::TaggedSymbol
3076
3076
  )
3077
3077
 
3078
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
3079
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
3080
+ T.let(
3081
+ :additional_customer_authentication_required,
3082
+ Increase::RealTimeDecision::CardAuthorization::Decline::Reason::TaggedSymbol
3083
+ )
3084
+
3078
3085
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
3079
3086
  OTHER =
3080
3087
  T.let(
@@ -877,6 +877,13 @@ module Increase
877
877
  Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
878
878
  )
879
879
 
880
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
881
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
882
+ T.let(
883
+ :additional_customer_authentication_required,
884
+ Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
885
+ )
886
+
880
887
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
881
888
  OTHER =
882
889
  T.let(
@@ -134,6 +134,27 @@ module Increase
134
134
  Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::DeclineReason::TaggedSymbol
135
135
  )
136
136
 
137
+ # The group was locked.
138
+ GROUP_LOCKED =
139
+ T.let(
140
+ :group_locked,
141
+ Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::DeclineReason::TaggedSymbol
142
+ )
143
+
144
+ # The account has been closed.
145
+ ACCOUNT_CLOSED =
146
+ T.let(
147
+ :account_closed,
148
+ Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::DeclineReason::TaggedSymbol
149
+ )
150
+
151
+ # The account's entity was not active.
152
+ ENTITY_NOT_ACTIVE =
153
+ T.let(
154
+ :entity_not_active,
155
+ Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::DeclineReason::TaggedSymbol
156
+ )
157
+
137
158
  sig do
138
159
  override.returns(
139
160
  T::Array[
@@ -151,6 +151,13 @@ module Increase
151
151
  Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
152
152
  )
153
153
 
154
+ # A beneficial owner's full tax identifier is required. A non-US person can submit a passport or driver's license. Make changes via the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
155
+ BENEFICIAL_OWNER_TAX_IDENTIFIER =
156
+ T.let(
157
+ :beneficial_owner_tax_identifier,
158
+ Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
159
+ )
160
+
154
161
  sig do
155
162
  override.returns(
156
163
  T::Array[