increase 1.214.0 → 1.216.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 (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +174 -0
  3. data/README.md +1 -1
  4. data/lib/increase/internal/util.rb +31 -0
  5. data/lib/increase/models/event_subscription.rb +246 -234
  6. data/lib/increase/models/fednow_transfer.rb +47 -1
  7. data/lib/increase/models/real_time_decision_action_params.rb +38 -1
  8. data/lib/increase/resources/account_numbers.rb +2 -1
  9. data/lib/increase/resources/account_statements.rb +2 -1
  10. data/lib/increase/resources/account_transfers.rb +2 -1
  11. data/lib/increase/resources/accounts.rb +4 -2
  12. data/lib/increase/resources/ach_prenotifications.rb +2 -1
  13. data/lib/increase/resources/ach_transfers.rb +2 -1
  14. data/lib/increase/resources/bookkeeping_accounts.rb +4 -2
  15. data/lib/increase/resources/bookkeeping_entries.rb +2 -1
  16. data/lib/increase/resources/bookkeeping_entry_sets.rb +2 -1
  17. data/lib/increase/resources/card_disputes.rb +2 -1
  18. data/lib/increase/resources/card_payments.rb +2 -1
  19. data/lib/increase/resources/card_purchase_supplements.rb +2 -1
  20. data/lib/increase/resources/card_push_transfers.rb +2 -1
  21. data/lib/increase/resources/card_tokens.rb +2 -1
  22. data/lib/increase/resources/card_validations.rb +2 -1
  23. data/lib/increase/resources/cards.rb +2 -1
  24. data/lib/increase/resources/check_deposits.rb +2 -1
  25. data/lib/increase/resources/check_transfers.rb +2 -1
  26. data/lib/increase/resources/declined_transactions.rb +2 -1
  27. data/lib/increase/resources/digital_card_profiles.rb +2 -1
  28. data/lib/increase/resources/digital_wallet_tokens.rb +2 -1
  29. data/lib/increase/resources/entities.rb +2 -1
  30. data/lib/increase/resources/event_subscriptions.rb +2 -1
  31. data/lib/increase/resources/events.rb +2 -1
  32. data/lib/increase/resources/exports.rb +2 -1
  33. data/lib/increase/resources/external_accounts.rb +2 -1
  34. data/lib/increase/resources/fednow_transfers.rb +2 -1
  35. data/lib/increase/resources/files.rb +2 -1
  36. data/lib/increase/resources/inbound_ach_transfers.rb +2 -1
  37. data/lib/increase/resources/inbound_check_deposits.rb +2 -1
  38. data/lib/increase/resources/inbound_fednow_transfers.rb +2 -1
  39. data/lib/increase/resources/inbound_mail_items.rb +2 -1
  40. data/lib/increase/resources/inbound_real_time_payments_transfers.rb +2 -1
  41. data/lib/increase/resources/inbound_wire_drawdown_requests.rb +2 -1
  42. data/lib/increase/resources/inbound_wire_transfers.rb +2 -1
  43. data/lib/increase/resources/intrafi_account_enrollments.rb +2 -1
  44. data/lib/increase/resources/intrafi_exclusions.rb +2 -1
  45. data/lib/increase/resources/lockboxes.rb +2 -1
  46. data/lib/increase/resources/oauth_applications.rb +2 -1
  47. data/lib/increase/resources/oauth_connections.rb +2 -1
  48. data/lib/increase/resources/pending_transactions.rb +2 -1
  49. data/lib/increase/resources/physical_card_profiles.rb +2 -1
  50. data/lib/increase/resources/physical_cards.rb +2 -1
  51. data/lib/increase/resources/programs.rb +2 -1
  52. data/lib/increase/resources/real_time_payments_transfers.rb +2 -1
  53. data/lib/increase/resources/routing_numbers.rb +2 -1
  54. data/lib/increase/resources/supplemental_documents.rb +2 -1
  55. data/lib/increase/resources/swift_transfers.rb +2 -1
  56. data/lib/increase/resources/transactions.rb +2 -1
  57. data/lib/increase/resources/wire_drawdown_requests.rb +2 -1
  58. data/lib/increase/resources/wire_transfers.rb +2 -1
  59. data/lib/increase/version.rb +1 -1
  60. data/rbi/increase/internal/util.rbi +20 -0
  61. data/rbi/increase/models/event_subscription.rbi +830 -779
  62. data/rbi/increase/models/fednow_transfer.rbi +78 -0
  63. data/rbi/increase/models/real_time_decision_action_params.rbi +70 -3
  64. data/sig/increase/internal/util.rbs +10 -0
  65. data/sig/increase/models/event_subscription.rbs +367 -350
  66. data/sig/increase/models/fednow_transfer.rbs +37 -0
  67. data/sig/increase/models/real_time_decision_action_params.rbs +28 -3
  68. metadata +2 -2
@@ -9,6 +9,7 @@ module Increase
9
9
  amount: Integer,
10
10
  created_at: Time,
11
11
  created_by: Increase::FednowTransfer::CreatedBy?,
12
+ creditor_address: Increase::FednowTransfer::CreditorAddress?,
12
13
  creditor_name: String,
13
14
  currency: Increase::Models::FednowTransfer::currency,
14
15
  debtor_name: String,
@@ -41,6 +42,8 @@ module Increase
41
42
 
42
43
  attr_accessor created_by: Increase::FednowTransfer::CreatedBy?
43
44
 
45
+ attr_accessor creditor_address: Increase::FednowTransfer::CreditorAddress?
46
+
44
47
  attr_accessor creditor_name: String
45
48
 
46
49
  attr_accessor currency: Increase::Models::FednowTransfer::currency
@@ -79,6 +82,7 @@ module Increase
79
82
  amount: Integer,
80
83
  created_at: Time,
81
84
  created_by: Increase::FednowTransfer::CreatedBy?,
85
+ creditor_address: Increase::FednowTransfer::CreditorAddress?,
82
86
  creditor_name: String,
83
87
  currency: Increase::Models::FednowTransfer::currency,
84
88
  debtor_name: String,
@@ -104,6 +108,7 @@ module Increase
104
108
  amount: Integer,
105
109
  created_at: Time,
106
110
  created_by: Increase::FednowTransfer::CreatedBy?,
111
+ creditor_address: Increase::FednowTransfer::CreditorAddress?,
107
112
  creditor_name: String,
108
113
  currency: Increase::Models::FednowTransfer::currency,
109
114
  debtor_name: String,
@@ -210,6 +215,38 @@ module Increase
210
215
  end
211
216
  end
212
217
 
218
+ type creditor_address =
219
+ {
220
+ city: String?,
221
+ :line1 => String?,
222
+ postal_code: String?,
223
+ state: String?
224
+ }
225
+
226
+ class CreditorAddress < Increase::Internal::Type::BaseModel
227
+ attr_accessor city: String?
228
+
229
+ attr_accessor line1: String?
230
+
231
+ attr_accessor postal_code: String?
232
+
233
+ attr_accessor state: String?
234
+
235
+ def initialize: (
236
+ city: String?,
237
+ line1: String?,
238
+ postal_code: String?,
239
+ state: String?
240
+ ) -> void
241
+
242
+ def to_hash: -> {
243
+ city: String?,
244
+ :line1 => String?,
245
+ postal_code: String?,
246
+ state: String?
247
+ }
248
+ end
249
+
213
250
  type currency = :USD
214
251
 
215
252
  module Currency
@@ -107,18 +107,27 @@ module Increase
107
107
 
108
108
  type card_authentication_challenge =
109
109
  {
110
- result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
110
+ result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result,
111
+ success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
111
112
  }
112
113
 
113
114
  class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel
114
115
  attr_accessor result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
115
116
 
117
+ attr_reader success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success?
118
+
119
+ def success=: (
120
+ Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
121
+ ) -> Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
122
+
116
123
  def initialize: (
117
- result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
124
+ result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result,
125
+ ?success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
118
126
  ) -> void
119
127
 
120
128
  def to_hash: -> {
121
- result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
129
+ result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result,
130
+ success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
122
131
  }
123
132
 
124
133
  type result = :success | :failure
@@ -134,6 +143,22 @@ module Increase
134
143
 
135
144
  def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result]
136
145
  end
146
+
147
+ type success = { email: String, phone: String }
148
+
149
+ class Success < Increase::Internal::Type::BaseModel
150
+ attr_reader email: String?
151
+
152
+ def email=: (String) -> String
153
+
154
+ attr_reader phone: String?
155
+
156
+ def phone=: (String) -> String
157
+
158
+ def initialize: (?email: String, ?phone: String) -> void
159
+
160
+ def to_hash: -> { email: String, phone: String }
161
+ end
137
162
  end
138
163
 
139
164
  type card_authorization =
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.214.0
4
+ version: 1.216.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-24 00:00:00.000000000 Z
11
+ date: 2026-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi