increase 1.333.1 → 1.335.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 (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +26 -5
  4. data/lib/increase/models/ach_prenotification.rb +5 -2
  5. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  6. data/lib/increase/models/ach_transfer.rb +9 -3
  7. data/lib/increase/models/ach_transfer_create_params.rb +3 -0
  8. data/lib/increase/models/card.rb +9 -1
  9. data/lib/increase/models/card_dispute.rb +40 -1
  10. data/lib/increase/models/card_dispute_list_params.rb +3 -0
  11. data/lib/increase/models/card_payment.rb +74 -6
  12. data/lib/increase/models/card_push_transfer.rb +53 -1
  13. data/lib/increase/models/check_transfer.rb +4 -8
  14. data/lib/increase/models/declined_transaction.rb +4 -1
  15. data/lib/increase/models/digital_wallet_token.rb +59 -1
  16. data/lib/increase/models/entity.rb +1 -1
  17. data/lib/increase/models/event.rb +12 -0
  18. data/lib/increase/models/event_list_params.rb +12 -0
  19. data/lib/increase/models/event_subscription.rb +12 -0
  20. data/lib/increase/models/event_subscription_create_params.rb +12 -0
  21. data/lib/increase/models/export.rb +17 -1
  22. data/lib/increase/models/export_create_params.rb +78 -1
  23. data/lib/increase/models/fednow_transfer.rb +47 -1
  24. data/lib/increase/models/inbound_wire_transfer.rb +9 -1
  25. data/lib/increase/models/pending_transaction.rb +57 -1
  26. data/lib/increase/models/physical_card.rb +1 -1
  27. data/lib/increase/models/physical_card_profile.rb +38 -1
  28. data/lib/increase/models/real_time_decision.rb +55 -1
  29. data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +3 -0
  30. data/lib/increase/models/simulations/card_authorization_create_params.rb +4 -1
  31. data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +1 -1
  32. data/lib/increase/models/simulations/check_deposit_submit_params.rb +21 -2
  33. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +6 -0
  34. data/lib/increase/models/simulations/entity_update_validation_params.rb +1 -1
  35. data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
  36. data/lib/increase/models/simulations/physical_card_create_params.rb +1 -1
  37. data/lib/increase/models/transaction.rb +23 -8
  38. data/lib/increase/models/unwrap_webhook_event.rb +12 -0
  39. data/lib/increase/models/wire_drawdown_request.rb +20 -1
  40. data/lib/increase/resources/events.rb +4 -1
  41. data/lib/increase/resources/exports.rb +3 -1
  42. data/lib/increase/resources/simulations/check_deposits.rb +3 -0
  43. data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
  44. data/lib/increase/version.rb +1 -1
  45. data/rbi/increase/models/ach_prenotification.rbi +9 -2
  46. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  47. data/rbi/increase/models/ach_transfer.rbi +14 -4
  48. data/rbi/increase/models/ach_transfer_create_params.rbi +4 -0
  49. data/rbi/increase/models/card.rbi +8 -0
  50. data/rbi/increase/models/card_dispute.rbi +56 -0
  51. data/rbi/increase/models/card_dispute_list_params.rbi +7 -0
  52. data/rbi/increase/models/card_payment.rbi +156 -7
  53. data/rbi/increase/models/card_push_transfer.rbi +56 -0
  54. data/rbi/increase/models/check_transfer.rbi +4 -10
  55. data/rbi/increase/models/declined_transaction.rbi +8 -1
  56. data/rbi/increase/models/digital_wallet_token.rbi +131 -0
  57. data/rbi/increase/models/entity.rbi +1 -1
  58. data/rbi/increase/models/event.rbi +22 -0
  59. data/rbi/increase/models/event_list_params.rbi +28 -0
  60. data/rbi/increase/models/event_subscription.rbi +28 -0
  61. data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
  62. data/rbi/increase/models/export.rbi +25 -5
  63. data/rbi/increase/models/export_create_params.rbi +151 -0
  64. data/rbi/increase/models/fednow_transfer.rbi +77 -0
  65. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  66. data/rbi/increase/models/pending_transaction.rbi +129 -0
  67. data/rbi/increase/models/physical_card.rbi +1 -1
  68. data/rbi/increase/models/physical_card_profile.rbi +60 -0
  69. data/rbi/increase/models/real_time_decision.rbi +127 -0
  70. data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +7 -0
  71. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +8 -1
  72. data/rbi/increase/models/simulations/card_balance_inquiry_create_params.rbi +1 -1
  73. data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +21 -3
  74. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +14 -0
  75. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +1 -1
  76. data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
  77. data/rbi/increase/models/simulations/physical_card_create_params.rbi +1 -1
  78. data/rbi/increase/models/transaction.rbi +31 -10
  79. data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
  80. data/rbi/increase/models/wire_drawdown_request.rbi +22 -0
  81. data/rbi/increase/resources/events.rbi +4 -1
  82. data/rbi/increase/resources/exports.rbi +3 -0
  83. data/rbi/increase/resources/simulations/check_deposits.rbi +1 -0
  84. data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
  85. data/sig/increase/models/ach_prenotification.rbs +7 -3
  86. data/sig/increase/models/ach_prenotification_create_params.rbs +2 -2
  87. data/sig/increase/models/ach_transfer.rbs +9 -2
  88. data/sig/increase/models/ach_transfer_create_params.rbs +4 -1
  89. data/sig/increase/models/card.rbs +5 -0
  90. data/sig/increase/models/card_dispute.rbs +21 -0
  91. data/sig/increase/models/card_dispute_list_params.rbs +4 -0
  92. data/sig/increase/models/card_payment.rbs +49 -1
  93. data/sig/increase/models/card_push_transfer.rbs +30 -0
  94. data/sig/increase/models/check_transfer.rbs +5 -5
  95. data/sig/increase/models/declined_transaction.rbs +5 -1
  96. data/sig/increase/models/digital_wallet_token.rbs +61 -2
  97. data/sig/increase/models/entity.rbs +1 -1
  98. data/sig/increase/models/event.rbs +16 -0
  99. data/sig/increase/models/event_list_params.rbs +16 -0
  100. data/sig/increase/models/event_subscription.rbs +16 -0
  101. data/sig/increase/models/event_subscription_create_params.rbs +16 -0
  102. data/sig/increase/models/export.rbs +23 -3
  103. data/sig/increase/models/export_create_params.rbs +76 -0
  104. data/sig/increase/models/fednow_transfer.rbs +37 -0
  105. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  106. data/sig/increase/models/pending_transaction.rbs +40 -0
  107. data/sig/increase/models/physical_card.rbs +1 -1
  108. data/sig/increase/models/physical_card_profile.rbs +17 -0
  109. data/sig/increase/models/real_time_decision.rbs +40 -0
  110. data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +5 -1
  111. data/sig/increase/models/simulations/card_authorization_create_params.rbs +5 -1
  112. data/sig/increase/models/simulations/card_balance_inquiry_create_params.rbs +1 -1
  113. data/sig/increase/models/simulations/check_deposit_submit_params.rbs +10 -3
  114. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +8 -0
  115. data/sig/increase/models/simulations/entity_update_validation_params.rbs +1 -1
  116. data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +7 -0
  117. data/sig/increase/models/simulations/physical_card_create_params.rbs +1 -1
  118. data/sig/increase/models/transaction.rbs +9 -0
  119. data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
  120. data/sig/increase/models/wire_drawdown_request.rbs +10 -0
  121. data/sig/increase/resources/exports.rbs +1 -0
  122. data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
  123. metadata +4 -4
@@ -15,11 +15,17 @@ module Increase
15
15
  idempotency_key: String?,
16
16
  merchant_category_code: String,
17
17
  merchant_city_name: String,
18
+ merchant_legal_business_name: String?,
18
19
  merchant_name: String,
19
20
  merchant_name_prefix: String,
20
21
  merchant_postal_code: String,
21
22
  merchant_state: String,
23
+ merchant_street_address: String?,
22
24
  presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
25
+ recipient_address_city: String?,
26
+ :recipient_address_line1 => String?,
27
+ recipient_address_postal_code: String?,
28
+ recipient_address_state: String?,
23
29
  recipient_name: String,
24
30
  route: Increase::Models::CardPushTransfer::route,
25
31
  sender_address_city: String,
@@ -60,6 +66,8 @@ module Increase
60
66
 
61
67
  attr_accessor merchant_city_name: String
62
68
 
69
+ attr_accessor merchant_legal_business_name: String?
70
+
63
71
  attr_accessor merchant_name: String
64
72
 
65
73
  attr_accessor merchant_name_prefix: String
@@ -68,8 +76,18 @@ module Increase
68
76
 
69
77
  attr_accessor merchant_state: String
70
78
 
79
+ attr_accessor merchant_street_address: String?
80
+
71
81
  attr_accessor presentment_amount: Increase::CardPushTransfer::PresentmentAmount
72
82
 
83
+ attr_accessor recipient_address_city: String?
84
+
85
+ attr_accessor recipient_address_line1: String?
86
+
87
+ attr_accessor recipient_address_postal_code: String?
88
+
89
+ attr_accessor recipient_address_state: String?
90
+
73
91
  attr_accessor recipient_name: String
74
92
 
75
93
  attr_accessor route: Increase::Models::CardPushTransfer::route
@@ -106,11 +124,17 @@ module Increase
106
124
  idempotency_key: String?,
107
125
  merchant_category_code: String,
108
126
  merchant_city_name: String,
127
+ merchant_legal_business_name: String?,
109
128
  merchant_name: String,
110
129
  merchant_name_prefix: String,
111
130
  merchant_postal_code: String,
112
131
  merchant_state: String,
132
+ merchant_street_address: String?,
113
133
  presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
134
+ recipient_address_city: String?,
135
+ recipient_address_line1: String?,
136
+ recipient_address_postal_code: String?,
137
+ recipient_address_state: String?,
114
138
  recipient_name: String,
115
139
  route: Increase::Models::CardPushTransfer::route,
116
140
  sender_address_city: String,
@@ -138,11 +162,17 @@ module Increase
138
162
  idempotency_key: String?,
139
163
  merchant_category_code: String,
140
164
  merchant_city_name: String,
165
+ merchant_legal_business_name: String?,
141
166
  merchant_name: String,
142
167
  merchant_name_prefix: String,
143
168
  merchant_postal_code: String,
144
169
  merchant_state: String,
170
+ merchant_street_address: String?,
145
171
  presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
172
+ recipient_address_city: String?,
173
+ :recipient_address_line1 => String?,
174
+ recipient_address_postal_code: String?,
175
+ recipient_address_state: String?,
146
176
  recipient_name: String,
147
177
  route: Increase::Models::CardPushTransfer::route,
148
178
  sender_address_city: String,
@@ -298,7 +298,7 @@ module Increase
298
298
  payer: ::Array[Increase::CheckTransfer::PhysicalCheck::Payer],
299
299
  recipient_name: String,
300
300
  return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?,
301
- shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?,
301
+ shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method,
302
302
  signature: Increase::CheckTransfer::PhysicalCheck::Signature,
303
303
  tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
304
304
  }
@@ -320,7 +320,7 @@ module Increase
320
320
 
321
321
  attr_accessor return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?
322
322
 
323
- attr_accessor shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?
323
+ attr_accessor shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method
324
324
 
325
325
  attr_accessor signature: Increase::CheckTransfer::PhysicalCheck::Signature
326
326
 
@@ -335,7 +335,7 @@ module Increase
335
335
  payer: ::Array[Increase::CheckTransfer::PhysicalCheck::Payer],
336
336
  recipient_name: String,
337
337
  return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?,
338
- shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?,
338
+ shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method,
339
339
  signature: Increase::CheckTransfer::PhysicalCheck::Signature,
340
340
  tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
341
341
  ) -> void
@@ -349,7 +349,7 @@ module Increase
349
349
  payer: ::Array[Increase::CheckTransfer::PhysicalCheck::Payer],
350
350
  recipient_name: String,
351
351
  return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?,
352
- shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?,
352
+ shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method,
353
353
  signature: Increase::CheckTransfer::PhysicalCheck::Signature,
354
354
  tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
355
355
  }
@@ -531,7 +531,7 @@ module Increase
531
531
  # The check has been processed for delivery.
532
532
  PROCESSED_FOR_DELIVERY: :processed_for_delivery
533
533
 
534
- # The check has been delivered.
534
+ # The check has been delivered. Note that some couriers track delivery status based on driver location data rather than an explicit scan. While uncommon, a single check may have more than one delivered event.
535
535
  DELIVERED: :delivered
536
536
 
537
537
  # There is an issue preventing delivery. The delivery will be attempted again if possible. If the issue cannot be resolved, the check will be returned to sender.
@@ -1018,6 +1018,7 @@ module Increase
1018
1018
  | :quasi_cash
1019
1019
  | :refund
1020
1020
  | :cash_disbursement
1021
+ | :cash_deposit
1021
1022
  | :balance_inquiry
1022
1023
  | :unknown
1023
1024
 
@@ -1048,6 +1049,9 @@ module Increase
1048
1049
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1049
1050
  CASH_DISBURSEMENT: :cash_disbursement
1050
1051
 
1052
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1053
+ CASH_DEPOSIT: :cash_deposit
1054
+
1051
1055
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1052
1056
  BALANCE_INQUIRY: :balance_inquiry
1053
1057
 
@@ -1148,7 +1152,7 @@ module Increase
1148
1152
  # The attempted card transaction is not allowed per Increase's terms.
1149
1153
  TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
1150
1154
 
1151
- # The transaction was blocked by a Limit.
1155
+ # The transaction was blocked by a limit or an authorization control.
1152
1156
  BREACHES_LIMIT: :breaches_limit
1153
1157
 
1154
1158
  # Your application declined the transaction via webhook.
@@ -6,6 +6,7 @@ module Increase
6
6
  card_id: String,
7
7
  cardholder: Increase::DigitalWalletToken::Cardholder,
8
8
  created_at: Time,
9
+ decline: Increase::DigitalWalletToken::Decline?,
9
10
  device: Increase::DigitalWalletToken::Device,
10
11
  dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
11
12
  status: Increase::Models::DigitalWalletToken::status,
@@ -23,6 +24,8 @@ module Increase
23
24
 
24
25
  attr_accessor created_at: Time
25
26
 
27
+ attr_accessor decline: Increase::DigitalWalletToken::Decline?
28
+
26
29
  attr_accessor device: Increase::DigitalWalletToken::Device
27
30
 
28
31
  attr_accessor dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?
@@ -40,6 +43,7 @@ module Increase
40
43
  card_id: String,
41
44
  cardholder: Increase::DigitalWalletToken::Cardholder,
42
45
  created_at: Time,
46
+ decline: Increase::DigitalWalletToken::Decline?,
43
47
  device: Increase::DigitalWalletToken::Device,
44
48
  dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
45
49
  status: Increase::Models::DigitalWalletToken::status,
@@ -53,6 +57,7 @@ module Increase
53
57
  card_id: String,
54
58
  cardholder: Increase::DigitalWalletToken::Cardholder,
55
59
  created_at: Time,
60
+ decline: Increase::DigitalWalletToken::Decline?,
56
61
  device: Increase::DigitalWalletToken::Device,
57
62
  dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
58
63
  status: Increase::Models::DigitalWalletToken::status,
@@ -71,6 +76,53 @@ module Increase
71
76
  def to_hash: -> { name: String? }
72
77
  end
73
78
 
79
+ type decline =
80
+ { reason: Increase::Models::DigitalWalletToken::Decline::reason }
81
+
82
+ class Decline < Increase::Internal::Type::BaseModel
83
+ attr_accessor reason: Increase::Models::DigitalWalletToken::Decline::reason
84
+
85
+ def initialize: (
86
+ reason: Increase::Models::DigitalWalletToken::Decline::reason
87
+ ) -> void
88
+
89
+ def to_hash: -> {
90
+ reason: Increase::Models::DigitalWalletToken::Decline::reason
91
+ }
92
+
93
+ type reason =
94
+ :card_not_active
95
+ | :no_verification_method
96
+ | :webhook_timed_out
97
+ | :webhook_declined
98
+ | :incorrect_card_verification_code
99
+ | :declined_by_token_requestor
100
+
101
+ module Reason
102
+ extend Increase::Internal::Type::Enum
103
+
104
+ # The card is not active.
105
+ CARD_NOT_ACTIVE: :card_not_active
106
+
107
+ # The card does not have a two-factor authentication method.
108
+ NO_VERIFICATION_METHOD: :no_verification_method
109
+
110
+ # Your webhook timed out when evaluating the token provisioning attempt.
111
+ WEBHOOK_TIMED_OUT: :webhook_timed_out
112
+
113
+ # Your webhook declined the token provisioning attempt.
114
+ WEBHOOK_DECLINED: :webhook_declined
115
+
116
+ # The tokenization attempt failed because the Card Verification Code (CVC) was incorrect.
117
+ INCORRECT_CARD_VERIFICATION_CODE: :incorrect_card_verification_code
118
+
119
+ # The tokenization attempt was declined by the token requestor.
120
+ DECLINED_BY_TOKEN_REQUESTOR: :declined_by_token_requestor
121
+
122
+ def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Decline::reason]
123
+ end
124
+ end
125
+
74
126
  type device =
75
127
  {
76
128
  device_type: Increase::Models::DigitalWalletToken::Device::device_type?,
@@ -160,7 +212,7 @@ module Increase
160
212
  def to_hash: -> { :first6 => String, :last4 => String }
161
213
  end
162
214
 
163
- type status = :active | :inactive | :suspended | :deactivated
215
+ type status = :active | :inactive | :suspended | :deactivated | :declined
164
216
 
165
217
  module Status
166
218
  extend Increase::Internal::Type::Enum
@@ -177,6 +229,9 @@ module Increase
177
229
  # The digital wallet token has been permanently canceled.
178
230
  DEACTIVATED: :deactivated
179
231
 
232
+ # The digital wallet token was declined during provisioning.
233
+ DECLINED: :declined
234
+
180
235
  def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::status]
181
236
  end
182
237
 
@@ -231,7 +286,8 @@ module Increase
231
286
  timestamp: Time
232
287
  }
233
288
 
234
- type status = :active | :inactive | :suspended | :deactivated
289
+ type status =
290
+ :active | :inactive | :suspended | :deactivated | :declined
235
291
 
236
292
  module Status
237
293
  extend Increase::Internal::Type::Enum
@@ -248,6 +304,9 @@ module Increase
248
304
  # The digital wallet token has been permanently canceled.
249
305
  DEACTIVATED: :deactivated
250
306
 
307
+ # The digital wallet token was declined during provisioning.
308
+ DECLINED: :declined
309
+
251
310
  def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Update::status]
252
311
  end
253
312
  end
@@ -1475,7 +1475,7 @@ module Increase
1475
1475
  module Category
1476
1476
  extend Increase::Internal::Type::Enum
1477
1477
 
1478
- # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
1478
+ # The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
1479
1479
  ENTITY_TAX_IDENTIFIER: :entity_tax_identifier
1480
1480
 
1481
1481
  # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
@@ -112,6 +112,10 @@ module Increase
112
112
  | :"intrafi_account_enrollment.updated"
113
113
  | :"intrafi_exclusion.created"
114
114
  | :"intrafi_exclusion.updated"
115
+ | :"loan_application.created"
116
+ | :"loan_application.updated"
117
+ | :"loan_offer.created"
118
+ | :"loan_offer.updated"
115
119
  | :"lockbox.created"
116
120
  | :"lockbox.updated"
117
121
  | :"oauth_connection.created"
@@ -363,6 +367,18 @@ module Increase
363
367
  # Occurs whenever an IntraFi Exclusion is updated.
364
368
  INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
365
369
 
370
+ # Occurs whenever a Loan Application is created.
371
+ LOAN_APPLICATION_CREATED: :"loan_application.created"
372
+
373
+ # Occurs whenever a Loan Application is updated.
374
+ LOAN_APPLICATION_UPDATED: :"loan_application.updated"
375
+
376
+ # Occurs whenever a Loan Offer is created.
377
+ LOAN_OFFER_CREATED: :"loan_offer.created"
378
+
379
+ # Occurs whenever a Loan Offer is updated.
380
+ LOAN_OFFER_UPDATED: :"loan_offer.updated"
381
+
366
382
  # Occurs whenever a Lockbox is created.
367
383
  LOCKBOX_CREATED: :"lockbox.created"
368
384
 
@@ -154,6 +154,10 @@ module Increase
154
154
  | :"intrafi_account_enrollment.updated"
155
155
  | :"intrafi_exclusion.created"
156
156
  | :"intrafi_exclusion.updated"
157
+ | :"loan_application.created"
158
+ | :"loan_application.updated"
159
+ | :"loan_offer.created"
160
+ | :"loan_offer.updated"
157
161
  | :"lockbox.created"
158
162
  | :"lockbox.updated"
159
163
  | :"oauth_connection.created"
@@ -405,6 +409,18 @@ module Increase
405
409
  # Occurs whenever an IntraFi Exclusion is updated.
406
410
  INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
407
411
 
412
+ # Occurs whenever a Loan Application is created.
413
+ LOAN_APPLICATION_CREATED: :"loan_application.created"
414
+
415
+ # Occurs whenever a Loan Application is updated.
416
+ LOAN_APPLICATION_UPDATED: :"loan_application.updated"
417
+
418
+ # Occurs whenever a Loan Offer is created.
419
+ LOAN_OFFER_CREATED: :"loan_offer.created"
420
+
421
+ # Occurs whenever a Loan Offer is updated.
422
+ LOAN_OFFER_UPDATED: :"loan_offer.updated"
423
+
408
424
  # Occurs whenever a Lockbox is created.
409
425
  LOCKBOX_CREATED: :"lockbox.created"
410
426
 
@@ -138,6 +138,10 @@ module Increase
138
138
  | :"intrafi_account_enrollment.updated"
139
139
  | :"intrafi_exclusion.created"
140
140
  | :"intrafi_exclusion.updated"
141
+ | :"loan_application.created"
142
+ | :"loan_application.updated"
143
+ | :"loan_offer.created"
144
+ | :"loan_offer.updated"
141
145
  | :"lockbox.created"
142
146
  | :"lockbox.updated"
143
147
  | :"oauth_connection.created"
@@ -389,6 +393,18 @@ module Increase
389
393
  # Occurs whenever an IntraFi Exclusion is updated.
390
394
  INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
391
395
 
396
+ # Occurs whenever a Loan Application is created.
397
+ LOAN_APPLICATION_CREATED: :"loan_application.created"
398
+
399
+ # Occurs whenever a Loan Application is updated.
400
+ LOAN_APPLICATION_UPDATED: :"loan_application.updated"
401
+
402
+ # Occurs whenever a Loan Offer is created.
403
+ LOAN_OFFER_CREATED: :"loan_offer.created"
404
+
405
+ # Occurs whenever a Loan Offer is updated.
406
+ LOAN_OFFER_UPDATED: :"loan_offer.updated"
407
+
392
408
  # Occurs whenever a Lockbox is created.
393
409
  LOCKBOX_CREATED: :"lockbox.created"
394
410
 
@@ -141,6 +141,10 @@ module Increase
141
141
  | :"intrafi_account_enrollment.updated"
142
142
  | :"intrafi_exclusion.created"
143
143
  | :"intrafi_exclusion.updated"
144
+ | :"loan_application.created"
145
+ | :"loan_application.updated"
146
+ | :"loan_offer.created"
147
+ | :"loan_offer.updated"
144
148
  | :"lockbox.created"
145
149
  | :"lockbox.updated"
146
150
  | :"oauth_connection.created"
@@ -392,6 +396,18 @@ module Increase
392
396
  # Occurs whenever an IntraFi Exclusion is updated.
393
397
  INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
394
398
 
399
+ # Occurs whenever a Loan Application is created.
400
+ LOAN_APPLICATION_CREATED: :"loan_application.created"
401
+
402
+ # Occurs whenever a Loan Application is updated.
403
+ LOAN_APPLICATION_UPDATED: :"loan_application.updated"
404
+
405
+ # Occurs whenever a Loan Offer is created.
406
+ LOAN_OFFER_CREATED: :"loan_offer.created"
407
+
408
+ # Occurs whenever a Loan Offer is updated.
409
+ LOAN_OFFER_UPDATED: :"loan_offer.updated"
410
+
395
411
  # Occurs whenever a Lockbox is created.
396
412
  LOCKBOX_CREATED: :"lockbox.created"
397
413
 
@@ -374,16 +374,36 @@ module Increase
374
374
 
375
375
  def to_hash: -> { created_at: Increase::Export::FeeCsv::CreatedAt? }
376
376
 
377
- type created_at = { after: Time?, before: Time? }
377
+ type created_at =
378
+ {
379
+ after: Time?,
380
+ before: Time?,
381
+ on_or_after: Time?,
382
+ on_or_before: Time?
383
+ }
378
384
 
379
385
  class CreatedAt < Increase::Internal::Type::BaseModel
380
386
  attr_accessor after: Time?
381
387
 
382
388
  attr_accessor before: Time?
383
389
 
384
- def initialize: (after: Time?, before: Time?) -> void
390
+ attr_accessor on_or_after: Time?
385
391
 
386
- def to_hash: -> { after: Time?, before: Time? }
392
+ attr_accessor on_or_before: Time?
393
+
394
+ def initialize: (
395
+ after: Time?,
396
+ before: Time?,
397
+ on_or_after: Time?,
398
+ on_or_before: Time?
399
+ ) -> void
400
+
401
+ def to_hash: -> {
402
+ after: Time?,
403
+ before: Time?,
404
+ on_or_after: Time?,
405
+ on_or_before: Time?
406
+ }
387
407
  end
388
408
  end
389
409
 
@@ -9,6 +9,7 @@ module Increase
9
9
  bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
10
10
  daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
11
11
  entity_csv: Increase::ExportCreateParams::EntityCsv,
12
+ fee_csv: Increase::ExportCreateParams::FeeCsv,
12
13
  funding_instructions: Increase::ExportCreateParams::FundingInstructions,
13
14
  transaction_csv: Increase::ExportCreateParams::TransactionCsv,
14
15
  vendor_csv: Increase::ExportCreateParams::VendorCsv,
@@ -58,6 +59,12 @@ module Increase
58
59
  Increase::ExportCreateParams::EntityCsv
59
60
  ) -> Increase::ExportCreateParams::EntityCsv
60
61
 
62
+ attr_reader fee_csv: Increase::ExportCreateParams::FeeCsv?
63
+
64
+ def fee_csv=: (
65
+ Increase::ExportCreateParams::FeeCsv
66
+ ) -> Increase::ExportCreateParams::FeeCsv
67
+
61
68
  attr_reader funding_instructions: Increase::ExportCreateParams::FundingInstructions?
62
69
 
63
70
  def funding_instructions=: (
@@ -90,6 +97,7 @@ module Increase
90
97
  ?bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
91
98
  ?daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
92
99
  ?entity_csv: Increase::ExportCreateParams::EntityCsv,
100
+ ?fee_csv: Increase::ExportCreateParams::FeeCsv,
93
101
  ?funding_instructions: Increase::ExportCreateParams::FundingInstructions,
94
102
  ?transaction_csv: Increase::ExportCreateParams::TransactionCsv,
95
103
  ?vendor_csv: Increase::ExportCreateParams::VendorCsv,
@@ -105,6 +113,7 @@ module Increase
105
113
  bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
106
114
  daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
107
115
  entity_csv: Increase::ExportCreateParams::EntityCsv,
116
+ fee_csv: Increase::ExportCreateParams::FeeCsv,
108
117
  funding_instructions: Increase::ExportCreateParams::FundingInstructions,
109
118
  transaction_csv: Increase::ExportCreateParams::TransactionCsv,
110
119
  vendor_csv: Increase::ExportCreateParams::VendorCsv,
@@ -122,6 +131,7 @@ module Increase
122
131
  | :vendor_csv
123
132
  | :account_verification_letter
124
133
  | :funding_instructions
134
+ | :fee_csv
125
135
  | :voided_check
126
136
  | :daily_account_balance_csv
127
137
 
@@ -155,6 +165,9 @@ module Increase
155
165
  # A PDF of funding instructions.
156
166
  FUNDING_INSTRUCTIONS: :funding_instructions
157
167
 
168
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
169
+ FEE_CSV: :fee_csv
170
+
158
171
  # A PDF of a voided check.
159
172
  VOIDED_CHECK: :voided_check
160
173
 
@@ -320,6 +333,69 @@ module Increase
320
333
  def to_hash: -> { }
321
334
  end
322
335
 
336
+ type fee_csv =
337
+ {
338
+ created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
339
+ program_id: String
340
+ }
341
+
342
+ class FeeCsv < Increase::Internal::Type::BaseModel
343
+ attr_reader created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt?
344
+
345
+ def created_at=: (
346
+ Increase::ExportCreateParams::FeeCsv::CreatedAt
347
+ ) -> Increase::ExportCreateParams::FeeCsv::CreatedAt
348
+
349
+ attr_reader program_id: String?
350
+
351
+ def program_id=: (String) -> String
352
+
353
+ def initialize: (
354
+ ?created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
355
+ ?program_id: String
356
+ ) -> void
357
+
358
+ def to_hash: -> {
359
+ created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
360
+ program_id: String
361
+ }
362
+
363
+ type created_at =
364
+ { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
365
+
366
+ class CreatedAt < Increase::Internal::Type::BaseModel
367
+ attr_reader after: Time?
368
+
369
+ def after=: (Time) -> Time
370
+
371
+ attr_reader before: Time?
372
+
373
+ def before=: (Time) -> Time
374
+
375
+ attr_reader on_or_after: Time?
376
+
377
+ def on_or_after=: (Time) -> Time
378
+
379
+ attr_reader on_or_before: Time?
380
+
381
+ def on_or_before=: (Time) -> Time
382
+
383
+ def initialize: (
384
+ ?after: Time,
385
+ ?before: Time,
386
+ ?on_or_after: Time,
387
+ ?on_or_before: Time
388
+ ) -> void
389
+
390
+ def to_hash: -> {
391
+ after: Time,
392
+ before: Time,
393
+ on_or_after: Time,
394
+ on_or_before: Time
395
+ }
396
+ end
397
+ end
398
+
323
399
  type funding_instructions = { account_number_id: String }
324
400
 
325
401
  class FundingInstructions < Increase::Internal::Type::BaseModel
@@ -12,6 +12,7 @@ module Increase
12
12
  creditor_address: Increase::FednowTransfer::CreditorAddress?,
13
13
  creditor_name: String,
14
14
  currency: Increase::Models::FednowTransfer::currency,
15
+ debtor_address: Increase::FednowTransfer::DebtorAddress?,
15
16
  debtor_name: String,
16
17
  external_account_id: String?,
17
18
  idempotency_key: String?,
@@ -48,6 +49,8 @@ module Increase
48
49
 
49
50
  attr_accessor currency: Increase::Models::FednowTransfer::currency
50
51
 
52
+ attr_accessor debtor_address: Increase::FednowTransfer::DebtorAddress?
53
+
51
54
  attr_accessor debtor_name: String
52
55
 
53
56
  attr_accessor external_account_id: String?
@@ -85,6 +88,7 @@ module Increase
85
88
  creditor_address: Increase::FednowTransfer::CreditorAddress?,
86
89
  creditor_name: String,
87
90
  currency: Increase::Models::FednowTransfer::currency,
91
+ debtor_address: Increase::FednowTransfer::DebtorAddress?,
88
92
  debtor_name: String,
89
93
  external_account_id: String?,
90
94
  idempotency_key: String?,
@@ -111,6 +115,7 @@ module Increase
111
115
  creditor_address: Increase::FednowTransfer::CreditorAddress?,
112
116
  creditor_name: String,
113
117
  currency: Increase::Models::FednowTransfer::currency,
118
+ debtor_address: Increase::FednowTransfer::DebtorAddress?,
114
119
  debtor_name: String,
115
120
  external_account_id: String?,
116
121
  idempotency_key: String?,
@@ -258,6 +263,38 @@ module Increase
258
263
  def self?.values: -> ::Array[Increase::Models::FednowTransfer::currency]
259
264
  end
260
265
 
266
+ type debtor_address =
267
+ {
268
+ city: String?,
269
+ :line1 => String?,
270
+ postal_code: String?,
271
+ state: String?
272
+ }
273
+
274
+ class DebtorAddress < Increase::Internal::Type::BaseModel
275
+ attr_accessor city: String?
276
+
277
+ attr_accessor line1: String?
278
+
279
+ attr_accessor postal_code: String?
280
+
281
+ attr_accessor state: String?
282
+
283
+ def initialize: (
284
+ city: String?,
285
+ line1: String?,
286
+ postal_code: String?,
287
+ state: String?
288
+ ) -> void
289
+
290
+ def to_hash: -> {
291
+ city: String?,
292
+ :line1 => String?,
293
+ postal_code: String?,
294
+ state: String?
295
+ }
296
+ end
297
+
261
298
  type rejection =
262
299
  {
263
300
  reject_reason_additional_information: String?,
@@ -21,6 +21,7 @@ module Increase
21
21
  input_message_accountability_data: String?,
22
22
  instructing_agent_routing_number: String?,
23
23
  instruction_identification: String?,
24
+ purpose: String?,
24
25
  reversal: Increase::InboundWireTransfer::Reversal?,
25
26
  status: Increase::Models::InboundWireTransfer::status,
26
27
  type: Increase::Models::InboundWireTransfer::type_,
@@ -68,6 +69,8 @@ module Increase
68
69
 
69
70
  attr_accessor instruction_identification: String?
70
71
 
72
+ attr_accessor purpose: String?
73
+
71
74
  attr_accessor reversal: Increase::InboundWireTransfer::Reversal?
72
75
 
73
76
  attr_accessor status: Increase::Models::InboundWireTransfer::status
@@ -100,6 +103,7 @@ module Increase
100
103
  input_message_accountability_data: String?,
101
104
  instructing_agent_routing_number: String?,
102
105
  instruction_identification: String?,
106
+ purpose: String?,
103
107
  reversal: Increase::InboundWireTransfer::Reversal?,
104
108
  status: Increase::Models::InboundWireTransfer::status,
105
109
  type: Increase::Models::InboundWireTransfer::type_,
@@ -128,6 +132,7 @@ module Increase
128
132
  input_message_accountability_data: String?,
129
133
  instructing_agent_routing_number: String?,
130
134
  instruction_identification: String?,
135
+ purpose: String?,
131
136
  reversal: Increase::InboundWireTransfer::Reversal?,
132
137
  status: Increase::Models::InboundWireTransfer::status,
133
138
  type: Increase::Models::InboundWireTransfer::type_,