increase 1.203.0 → 1.204.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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/account_transfer.rb +25 -25
  5. data/lib/increase/models/ach_transfer.rb +28 -28
  6. data/lib/increase/models/card_dispute.rb +79 -79
  7. data/lib/increase/models/card_payment.rb +82 -82
  8. data/lib/increase/models/card_push_transfer.rb +25 -25
  9. data/lib/increase/models/card_validation.rb +25 -25
  10. data/lib/increase/models/check_transfer.rb +25 -25
  11. data/lib/increase/models/declined_transaction.rb +53 -53
  12. data/lib/increase/models/fednow_transfer.rb +25 -25
  13. data/lib/increase/models/pending_transaction.rb +85 -85
  14. data/lib/increase/models/real_time_payments_transfer.rb +25 -25
  15. data/lib/increase/models/swift_transfer.rb +25 -25
  16. data/lib/increase/models/transaction.rb +173 -173
  17. data/lib/increase/models/wire_transfer.rb +28 -28
  18. data/lib/increase/version.rb +1 -1
  19. data/rbi/increase/models/account_transfer.rbi +40 -40
  20. data/rbi/increase/models/ach_transfer.rbi +42 -42
  21. data/rbi/increase/models/card_dispute.rbi +141 -141
  22. data/rbi/increase/models/card_payment.rbi +144 -144
  23. data/rbi/increase/models/card_push_transfer.rbi +40 -40
  24. data/rbi/increase/models/card_validation.rbi +40 -40
  25. data/rbi/increase/models/check_transfer.rbi +40 -40
  26. data/rbi/increase/models/declined_transaction.rbi +99 -99
  27. data/rbi/increase/models/fednow_transfer.rbi +40 -40
  28. data/rbi/increase/models/pending_transaction.rbi +163 -163
  29. data/rbi/increase/models/real_time_payments_transfer.rbi +44 -44
  30. data/rbi/increase/models/swift_transfer.rbi +40 -40
  31. data/rbi/increase/models/transaction.rbi +534 -534
  32. data/rbi/increase/models/wire_transfer.rbi +42 -42
  33. data/sig/increase/models/account_transfer.rbs +17 -17
  34. data/sig/increase/models/ach_transfer.rbs +19 -19
  35. data/sig/increase/models/card_dispute.rbs +56 -56
  36. data/sig/increase/models/card_payment.rbs +81 -81
  37. data/sig/increase/models/card_push_transfer.rbs +17 -17
  38. data/sig/increase/models/card_validation.rbs +17 -17
  39. data/sig/increase/models/check_transfer.rbs +17 -17
  40. data/sig/increase/models/declined_transaction.rbs +52 -52
  41. data/sig/increase/models/fednow_transfer.rbs +17 -17
  42. data/sig/increase/models/pending_transaction.rbs +92 -92
  43. data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
  44. data/sig/increase/models/swift_transfer.rbs +17 -17
  45. data/sig/increase/models/transaction.rbs +202 -202
  46. data/sig/increase/models/wire_transfer.rbs +19 -19
  47. metadata +2 -2
@@ -58,6 +58,8 @@ module Increase
58
58
 
59
59
  type element =
60
60
  {
61
+ category: Increase::Models::CardPayment::Element::category,
62
+ created_at: Time,
61
63
  card_authentication: Increase::CardPayment::Element::CardAuthentication?,
62
64
  card_authorization: Increase::CardPayment::Element::CardAuthorization?,
63
65
  card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
@@ -70,12 +72,14 @@ module Increase
70
72
  card_reversal: Increase::CardPayment::Element::CardReversal?,
71
73
  card_settlement: Increase::CardPayment::Element::CardSettlement?,
72
74
  card_validation: Increase::CardPayment::Element::CardValidation?,
73
- category: Increase::Models::CardPayment::Element::category,
74
- created_at: Time,
75
75
  other: Increase::CardPayment::Element::Other?
76
76
  }
77
77
 
78
78
  class Element < Increase::Internal::Type::BaseModel
79
+ attr_accessor category: Increase::Models::CardPayment::Element::category
80
+
81
+ attr_accessor created_at: Time
82
+
79
83
  attr_accessor card_authentication: Increase::CardPayment::Element::CardAuthentication?
80
84
 
81
85
  attr_accessor card_authorization: Increase::CardPayment::Element::CardAuthorization?
@@ -100,31 +104,29 @@ module Increase
100
104
 
101
105
  attr_accessor card_validation: Increase::CardPayment::Element::CardValidation?
102
106
 
103
- attr_accessor category: Increase::Models::CardPayment::Element::category
104
-
105
- attr_accessor created_at: Time
106
-
107
107
  attr_accessor other: Increase::CardPayment::Element::Other?
108
108
 
109
109
  def initialize: (
110
- card_authentication: Increase::CardPayment::Element::CardAuthentication?,
111
- card_authorization: Increase::CardPayment::Element::CardAuthorization?,
112
- card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
113
- card_balance_inquiry: Increase::CardPayment::Element::CardBalanceInquiry?,
114
- card_decline: Increase::CardPayment::Element::CardDecline?,
115
- card_financial: Increase::CardPayment::Element::CardFinancial?,
116
- card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
117
- card_increment: Increase::CardPayment::Element::CardIncrement?,
118
- card_refund: Increase::CardPayment::Element::CardRefund?,
119
- card_reversal: Increase::CardPayment::Element::CardReversal?,
120
- card_settlement: Increase::CardPayment::Element::CardSettlement?,
121
- card_validation: Increase::CardPayment::Element::CardValidation?,
122
110
  category: Increase::Models::CardPayment::Element::category,
123
111
  created_at: Time,
124
- other: Increase::CardPayment::Element::Other?
112
+ ?card_authentication: Increase::CardPayment::Element::CardAuthentication?,
113
+ ?card_authorization: Increase::CardPayment::Element::CardAuthorization?,
114
+ ?card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
115
+ ?card_balance_inquiry: Increase::CardPayment::Element::CardBalanceInquiry?,
116
+ ?card_decline: Increase::CardPayment::Element::CardDecline?,
117
+ ?card_financial: Increase::CardPayment::Element::CardFinancial?,
118
+ ?card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
119
+ ?card_increment: Increase::CardPayment::Element::CardIncrement?,
120
+ ?card_refund: Increase::CardPayment::Element::CardRefund?,
121
+ ?card_reversal: Increase::CardPayment::Element::CardReversal?,
122
+ ?card_settlement: Increase::CardPayment::Element::CardSettlement?,
123
+ ?card_validation: Increase::CardPayment::Element::CardValidation?,
124
+ ?other: Increase::CardPayment::Element::Other?
125
125
  ) -> void
126
126
 
127
127
  def to_hash: -> {
128
+ category: Increase::Models::CardPayment::Element::category,
129
+ created_at: Time,
128
130
  card_authentication: Increase::CardPayment::Element::CardAuthentication?,
129
131
  card_authorization: Increase::CardPayment::Element::CardAuthorization?,
130
132
  card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
@@ -137,11 +139,69 @@ module Increase
137
139
  card_reversal: Increase::CardPayment::Element::CardReversal?,
138
140
  card_settlement: Increase::CardPayment::Element::CardSettlement?,
139
141
  card_validation: Increase::CardPayment::Element::CardValidation?,
140
- category: Increase::Models::CardPayment::Element::category,
141
- created_at: Time,
142
142
  other: Increase::CardPayment::Element::Other?
143
143
  }
144
144
 
145
+ type category =
146
+ :card_authorization
147
+ | :card_authentication
148
+ | :card_balance_inquiry
149
+ | :card_validation
150
+ | :card_decline
151
+ | :card_reversal
152
+ | :card_authorization_expiration
153
+ | :card_increment
154
+ | :card_settlement
155
+ | :card_refund
156
+ | :card_fuel_confirmation
157
+ | :card_financial
158
+ | :other
159
+
160
+ module Category
161
+ extend Increase::Internal::Type::Enum
162
+
163
+ # Card Authorization: details will be under the `card_authorization` object.
164
+ CARD_AUTHORIZATION: :card_authorization
165
+
166
+ # Card Authentication: details will be under the `card_authentication` object.
167
+ CARD_AUTHENTICATION: :card_authentication
168
+
169
+ # Card Balance Inquiry: details will be under the `card_balance_inquiry` object.
170
+ CARD_BALANCE_INQUIRY: :card_balance_inquiry
171
+
172
+ # Inbound Card Validation: details will be under the `card_validation` object.
173
+ CARD_VALIDATION: :card_validation
174
+
175
+ # Card Decline: details will be under the `card_decline` object.
176
+ CARD_DECLINE: :card_decline
177
+
178
+ # Card Reversal: details will be under the `card_reversal` object.
179
+ CARD_REVERSAL: :card_reversal
180
+
181
+ # Card Authorization Expiration: details will be under the `card_authorization_expiration` object.
182
+ CARD_AUTHORIZATION_EXPIRATION: :card_authorization_expiration
183
+
184
+ # Card Increment: details will be under the `card_increment` object.
185
+ CARD_INCREMENT: :card_increment
186
+
187
+ # Card Settlement: details will be under the `card_settlement` object.
188
+ CARD_SETTLEMENT: :card_settlement
189
+
190
+ # Card Refund: details will be under the `card_refund` object.
191
+ CARD_REFUND: :card_refund
192
+
193
+ # Card Fuel Confirmation: details will be under the `card_fuel_confirmation` object.
194
+ CARD_FUEL_CONFIRMATION: :card_fuel_confirmation
195
+
196
+ # Card Financial: details will be under the `card_financial` object.
197
+ CARD_FINANCIAL: :card_financial
198
+
199
+ # Unknown card payment element.
200
+ OTHER: :other
201
+
202
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::category]
203
+ end
204
+
145
205
  type card_authentication =
146
206
  {
147
207
  id: String,
@@ -7238,66 +7298,6 @@ module Increase
7238
7298
  end
7239
7299
  end
7240
7300
 
7241
- type category =
7242
- :card_authorization
7243
- | :card_authentication
7244
- | :card_balance_inquiry
7245
- | :card_validation
7246
- | :card_decline
7247
- | :card_reversal
7248
- | :card_authorization_expiration
7249
- | :card_increment
7250
- | :card_settlement
7251
- | :card_refund
7252
- | :card_fuel_confirmation
7253
- | :card_financial
7254
- | :other
7255
-
7256
- module Category
7257
- extend Increase::Internal::Type::Enum
7258
-
7259
- # Card Authorization: details will be under the `card_authorization` object.
7260
- CARD_AUTHORIZATION: :card_authorization
7261
-
7262
- # Card Authentication: details will be under the `card_authentication` object.
7263
- CARD_AUTHENTICATION: :card_authentication
7264
-
7265
- # Card Balance Inquiry: details will be under the `card_balance_inquiry` object.
7266
- CARD_BALANCE_INQUIRY: :card_balance_inquiry
7267
-
7268
- # Inbound Card Validation: details will be under the `card_validation` object.
7269
- CARD_VALIDATION: :card_validation
7270
-
7271
- # Card Decline: details will be under the `card_decline` object.
7272
- CARD_DECLINE: :card_decline
7273
-
7274
- # Card Reversal: details will be under the `card_reversal` object.
7275
- CARD_REVERSAL: :card_reversal
7276
-
7277
- # Card Authorization Expiration: details will be under the `card_authorization_expiration` object.
7278
- CARD_AUTHORIZATION_EXPIRATION: :card_authorization_expiration
7279
-
7280
- # Card Increment: details will be under the `card_increment` object.
7281
- CARD_INCREMENT: :card_increment
7282
-
7283
- # Card Settlement: details will be under the `card_settlement` object.
7284
- CARD_SETTLEMENT: :card_settlement
7285
-
7286
- # Card Refund: details will be under the `card_refund` object.
7287
- CARD_REFUND: :card_refund
7288
-
7289
- # Card Fuel Confirmation: details will be under the `card_fuel_confirmation` object.
7290
- CARD_FUEL_CONFIRMATION: :card_fuel_confirmation
7291
-
7292
- # Card Financial: details will be under the `card_financial` object.
7293
- CARD_FINANCIAL: :card_financial
7294
-
7295
- # Unknown card payment element.
7296
- OTHER: :other
7297
-
7298
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::category]
7299
- end
7300
-
7301
7301
  type other = { }
7302
7302
 
7303
7303
  class Other < Increase::Internal::Type::BaseModel
@@ -287,45 +287,35 @@ module Increase
287
287
 
288
288
  type created_by =
289
289
  {
290
- api_key: Increase::CardPushTransfer::CreatedBy::APIKey?,
291
290
  category: Increase::Models::CardPushTransfer::CreatedBy::category,
291
+ api_key: Increase::CardPushTransfer::CreatedBy::APIKey?,
292
292
  oauth_application: Increase::CardPushTransfer::CreatedBy::OAuthApplication?,
293
293
  user: Increase::CardPushTransfer::CreatedBy::User?
294
294
  }
295
295
 
296
296
  class CreatedBy < Increase::Internal::Type::BaseModel
297
- attr_accessor api_key: Increase::CardPushTransfer::CreatedBy::APIKey?
298
-
299
297
  attr_accessor category: Increase::Models::CardPushTransfer::CreatedBy::category
300
298
 
299
+ attr_accessor api_key: Increase::CardPushTransfer::CreatedBy::APIKey?
300
+
301
301
  attr_accessor oauth_application: Increase::CardPushTransfer::CreatedBy::OAuthApplication?
302
302
 
303
303
  attr_accessor user: Increase::CardPushTransfer::CreatedBy::User?
304
304
 
305
305
  def initialize: (
306
- api_key: Increase::CardPushTransfer::CreatedBy::APIKey?,
307
306
  category: Increase::Models::CardPushTransfer::CreatedBy::category,
308
- oauth_application: Increase::CardPushTransfer::CreatedBy::OAuthApplication?,
309
- user: Increase::CardPushTransfer::CreatedBy::User?
307
+ ?api_key: Increase::CardPushTransfer::CreatedBy::APIKey?,
308
+ ?oauth_application: Increase::CardPushTransfer::CreatedBy::OAuthApplication?,
309
+ ?user: Increase::CardPushTransfer::CreatedBy::User?
310
310
  ) -> void
311
311
 
312
312
  def to_hash: -> {
313
- api_key: Increase::CardPushTransfer::CreatedBy::APIKey?,
314
313
  category: Increase::Models::CardPushTransfer::CreatedBy::category,
314
+ api_key: Increase::CardPushTransfer::CreatedBy::APIKey?,
315
315
  oauth_application: Increase::CardPushTransfer::CreatedBy::OAuthApplication?,
316
316
  user: Increase::CardPushTransfer::CreatedBy::User?
317
317
  }
318
318
 
319
- type api_key = { description: String? }
320
-
321
- class APIKey < Increase::Internal::Type::BaseModel
322
- attr_accessor description: String?
323
-
324
- def initialize: (description: String?) -> void
325
-
326
- def to_hash: -> { description: String? }
327
- end
328
-
329
319
  type category = :api_key | :oauth_application | :user
330
320
 
331
321
  module Category
@@ -343,6 +333,16 @@ module Increase
343
333
  def self?.values: -> ::Array[Increase::Models::CardPushTransfer::CreatedBy::category]
344
334
  end
345
335
 
336
+ type api_key = { description: String? }
337
+
338
+ class APIKey < Increase::Internal::Type::BaseModel
339
+ attr_accessor description: String?
340
+
341
+ def initialize: (description: String?) -> void
342
+
343
+ def to_hash: -> { description: String? }
344
+ end
345
+
346
346
  type oauth_application = { name: String }
347
347
 
348
348
  class OAuthApplication < Increase::Internal::Type::BaseModel
@@ -290,45 +290,35 @@ module Increase
290
290
 
291
291
  type created_by =
292
292
  {
293
- api_key: Increase::CardValidation::CreatedBy::APIKey?,
294
293
  category: Increase::Models::CardValidation::CreatedBy::category,
294
+ api_key: Increase::CardValidation::CreatedBy::APIKey?,
295
295
  oauth_application: Increase::CardValidation::CreatedBy::OAuthApplication?,
296
296
  user: Increase::CardValidation::CreatedBy::User?
297
297
  }
298
298
 
299
299
  class CreatedBy < Increase::Internal::Type::BaseModel
300
- attr_accessor api_key: Increase::CardValidation::CreatedBy::APIKey?
301
-
302
300
  attr_accessor category: Increase::Models::CardValidation::CreatedBy::category
303
301
 
302
+ attr_accessor api_key: Increase::CardValidation::CreatedBy::APIKey?
303
+
304
304
  attr_accessor oauth_application: Increase::CardValidation::CreatedBy::OAuthApplication?
305
305
 
306
306
  attr_accessor user: Increase::CardValidation::CreatedBy::User?
307
307
 
308
308
  def initialize: (
309
- api_key: Increase::CardValidation::CreatedBy::APIKey?,
310
309
  category: Increase::Models::CardValidation::CreatedBy::category,
311
- oauth_application: Increase::CardValidation::CreatedBy::OAuthApplication?,
312
- user: Increase::CardValidation::CreatedBy::User?
310
+ ?api_key: Increase::CardValidation::CreatedBy::APIKey?,
311
+ ?oauth_application: Increase::CardValidation::CreatedBy::OAuthApplication?,
312
+ ?user: Increase::CardValidation::CreatedBy::User?
313
313
  ) -> void
314
314
 
315
315
  def to_hash: -> {
316
- api_key: Increase::CardValidation::CreatedBy::APIKey?,
317
316
  category: Increase::Models::CardValidation::CreatedBy::category,
317
+ api_key: Increase::CardValidation::CreatedBy::APIKey?,
318
318
  oauth_application: Increase::CardValidation::CreatedBy::OAuthApplication?,
319
319
  user: Increase::CardValidation::CreatedBy::User?
320
320
  }
321
321
 
322
- type api_key = { description: String? }
323
-
324
- class APIKey < Increase::Internal::Type::BaseModel
325
- attr_accessor description: String?
326
-
327
- def initialize: (description: String?) -> void
328
-
329
- def to_hash: -> { description: String? }
330
- end
331
-
332
322
  type category = :api_key | :oauth_application | :user
333
323
 
334
324
  module Category
@@ -346,6 +336,16 @@ module Increase
346
336
  def self?.values: -> ::Array[Increase::Models::CardValidation::CreatedBy::category]
347
337
  end
348
338
 
339
+ type api_key = { description: String? }
340
+
341
+ class APIKey < Increase::Internal::Type::BaseModel
342
+ attr_accessor description: String?
343
+
344
+ def initialize: (description: String?) -> void
345
+
346
+ def to_hash: -> { description: String? }
347
+ end
348
+
349
349
  type oauth_application = { name: String }
350
350
 
351
351
  class OAuthApplication < Increase::Internal::Type::BaseModel
@@ -176,45 +176,35 @@ module Increase
176
176
 
177
177
  type created_by =
178
178
  {
179
- api_key: Increase::CheckTransfer::CreatedBy::APIKey?,
180
179
  category: Increase::Models::CheckTransfer::CreatedBy::category,
180
+ api_key: Increase::CheckTransfer::CreatedBy::APIKey?,
181
181
  oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?,
182
182
  user: Increase::CheckTransfer::CreatedBy::User?
183
183
  }
184
184
 
185
185
  class CreatedBy < Increase::Internal::Type::BaseModel
186
- attr_accessor api_key: Increase::CheckTransfer::CreatedBy::APIKey?
187
-
188
186
  attr_accessor category: Increase::Models::CheckTransfer::CreatedBy::category
189
187
 
188
+ attr_accessor api_key: Increase::CheckTransfer::CreatedBy::APIKey?
189
+
190
190
  attr_accessor oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?
191
191
 
192
192
  attr_accessor user: Increase::CheckTransfer::CreatedBy::User?
193
193
 
194
194
  def initialize: (
195
- api_key: Increase::CheckTransfer::CreatedBy::APIKey?,
196
195
  category: Increase::Models::CheckTransfer::CreatedBy::category,
197
- oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?,
198
- user: Increase::CheckTransfer::CreatedBy::User?
196
+ ?api_key: Increase::CheckTransfer::CreatedBy::APIKey?,
197
+ ?oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?,
198
+ ?user: Increase::CheckTransfer::CreatedBy::User?
199
199
  ) -> void
200
200
 
201
201
  def to_hash: -> {
202
- api_key: Increase::CheckTransfer::CreatedBy::APIKey?,
203
202
  category: Increase::Models::CheckTransfer::CreatedBy::category,
203
+ api_key: Increase::CheckTransfer::CreatedBy::APIKey?,
204
204
  oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?,
205
205
  user: Increase::CheckTransfer::CreatedBy::User?
206
206
  }
207
207
 
208
- type api_key = { description: String? }
209
-
210
- class APIKey < Increase::Internal::Type::BaseModel
211
- attr_accessor description: String?
212
-
213
- def initialize: (description: String?) -> void
214
-
215
- def to_hash: -> { description: String? }
216
- end
217
-
218
208
  type category = :api_key | :oauth_application | :user
219
209
 
220
210
  module Category
@@ -232,6 +222,16 @@ module Increase
232
222
  def self?.values: -> ::Array[Increase::Models::CheckTransfer::CreatedBy::category]
233
223
  end
234
224
 
225
+ type api_key = { description: String? }
226
+
227
+ class APIKey < Increase::Internal::Type::BaseModel
228
+ attr_accessor description: String?
229
+
230
+ def initialize: (description: String?) -> void
231
+
232
+ def to_hash: -> { description: String? }
233
+ end
234
+
235
235
  type oauth_application = { name: String }
236
236
 
237
237
  class OAuthApplication < Increase::Internal::Type::BaseModel
@@ -91,9 +91,9 @@ module Increase
91
91
 
92
92
  type source =
93
93
  {
94
+ category: Increase::Models::DeclinedTransaction::Source::category,
94
95
  ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?,
95
96
  card_decline: Increase::DeclinedTransaction::Source::CardDecline?,
96
- category: Increase::Models::DeclinedTransaction::Source::category,
97
97
  check_decline: Increase::DeclinedTransaction::Source::CheckDecline?,
98
98
  check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?,
99
99
  inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?,
@@ -103,12 +103,12 @@ module Increase
103
103
  }
104
104
 
105
105
  class Source < Increase::Internal::Type::BaseModel
106
+ attr_accessor category: Increase::Models::DeclinedTransaction::Source::category
107
+
106
108
  attr_accessor ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?
107
109
 
108
110
  attr_accessor card_decline: Increase::DeclinedTransaction::Source::CardDecline?
109
111
 
110
- attr_accessor category: Increase::Models::DeclinedTransaction::Source::category
111
-
112
112
  attr_accessor check_decline: Increase::DeclinedTransaction::Source::CheckDecline?
113
113
 
114
114
  attr_accessor check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?
@@ -122,21 +122,21 @@ module Increase
122
122
  attr_accessor wire_decline: Increase::DeclinedTransaction::Source::WireDecline?
123
123
 
124
124
  def initialize: (
125
- ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?,
126
- card_decline: Increase::DeclinedTransaction::Source::CardDecline?,
127
125
  category: Increase::Models::DeclinedTransaction::Source::category,
128
- check_decline: Increase::DeclinedTransaction::Source::CheckDecline?,
129
- check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?,
130
- inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?,
131
- inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?,
132
- other: Increase::DeclinedTransaction::Source::Other?,
133
- wire_decline: Increase::DeclinedTransaction::Source::WireDecline?
126
+ ?ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?,
127
+ ?card_decline: Increase::DeclinedTransaction::Source::CardDecline?,
128
+ ?check_decline: Increase::DeclinedTransaction::Source::CheckDecline?,
129
+ ?check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?,
130
+ ?inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?,
131
+ ?inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?,
132
+ ?other: Increase::DeclinedTransaction::Source::Other?,
133
+ ?wire_decline: Increase::DeclinedTransaction::Source::WireDecline?
134
134
  ) -> void
135
135
 
136
136
  def to_hash: -> {
137
+ category: Increase::Models::DeclinedTransaction::Source::category,
137
138
  ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?,
138
139
  card_decline: Increase::DeclinedTransaction::Source::CardDecline?,
139
- category: Increase::Models::DeclinedTransaction::Source::category,
140
140
  check_decline: Increase::DeclinedTransaction::Source::CheckDecline?,
141
141
  check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?,
142
142
  inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?,
@@ -145,6 +145,46 @@ module Increase
145
145
  wire_decline: Increase::DeclinedTransaction::Source::WireDecline?
146
146
  }
147
147
 
148
+ type category =
149
+ :ach_decline
150
+ | :card_decline
151
+ | :check_decline
152
+ | :inbound_real_time_payments_transfer_decline
153
+ | :inbound_fednow_transfer_decline
154
+ | :wire_decline
155
+ | :check_deposit_rejection
156
+ | :other
157
+
158
+ module Category
159
+ extend Increase::Internal::Type::Enum
160
+
161
+ # ACH Decline: details will be under the `ach_decline` object.
162
+ ACH_DECLINE: :ach_decline
163
+
164
+ # Card Decline: details will be under the `card_decline` object.
165
+ CARD_DECLINE: :card_decline
166
+
167
+ # Check Decline: details will be under the `check_decline` object.
168
+ CHECK_DECLINE: :check_decline
169
+
170
+ # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
171
+ INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE: :inbound_real_time_payments_transfer_decline
172
+
173
+ # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object.
174
+ INBOUND_FEDNOW_TRANSFER_DECLINE: :inbound_fednow_transfer_decline
175
+
176
+ # Wire Decline: details will be under the `wire_decline` object.
177
+ WIRE_DECLINE: :wire_decline
178
+
179
+ # Check Deposit Rejection: details will be under the `check_deposit_rejection` object.
180
+ CHECK_DEPOSIT_REJECTION: :check_deposit_rejection
181
+
182
+ # The Declined Transaction was made for an undocumented or deprecated reason.
183
+ OTHER: :other
184
+
185
+ def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::category]
186
+ end
187
+
148
188
  type ach_decline =
149
189
  {
150
190
  id: String,
@@ -1241,46 +1281,6 @@ module Increase
1241
1281
  end
1242
1282
  end
1243
1283
 
1244
- type category =
1245
- :ach_decline
1246
- | :card_decline
1247
- | :check_decline
1248
- | :inbound_real_time_payments_transfer_decline
1249
- | :inbound_fednow_transfer_decline
1250
- | :wire_decline
1251
- | :check_deposit_rejection
1252
- | :other
1253
-
1254
- module Category
1255
- extend Increase::Internal::Type::Enum
1256
-
1257
- # ACH Decline: details will be under the `ach_decline` object.
1258
- ACH_DECLINE: :ach_decline
1259
-
1260
- # Card Decline: details will be under the `card_decline` object.
1261
- CARD_DECLINE: :card_decline
1262
-
1263
- # Check Decline: details will be under the `check_decline` object.
1264
- CHECK_DECLINE: :check_decline
1265
-
1266
- # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
1267
- INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE: :inbound_real_time_payments_transfer_decline
1268
-
1269
- # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object.
1270
- INBOUND_FEDNOW_TRANSFER_DECLINE: :inbound_fednow_transfer_decline
1271
-
1272
- # Wire Decline: details will be under the `wire_decline` object.
1273
- WIRE_DECLINE: :wire_decline
1274
-
1275
- # Check Deposit Rejection: details will be under the `check_deposit_rejection` object.
1276
- CHECK_DEPOSIT_REJECTION: :check_deposit_rejection
1277
-
1278
- # The Declined Transaction was made for an undocumented or deprecated reason.
1279
- OTHER: :other
1280
-
1281
- def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::category]
1282
- end
1283
-
1284
1284
  type check_decline =
1285
1285
  {
1286
1286
  amount: Integer,
@@ -133,45 +133,35 @@ module Increase
133
133
 
134
134
  type created_by =
135
135
  {
136
- api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
137
136
  category: Increase::Models::FednowTransfer::CreatedBy::category,
137
+ api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
138
138
  oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?,
139
139
  user: Increase::FednowTransfer::CreatedBy::User?
140
140
  }
141
141
 
142
142
  class CreatedBy < Increase::Internal::Type::BaseModel
143
- attr_accessor api_key: Increase::FednowTransfer::CreatedBy::APIKey?
144
-
145
143
  attr_accessor category: Increase::Models::FednowTransfer::CreatedBy::category
146
144
 
145
+ attr_accessor api_key: Increase::FednowTransfer::CreatedBy::APIKey?
146
+
147
147
  attr_accessor oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?
148
148
 
149
149
  attr_accessor user: Increase::FednowTransfer::CreatedBy::User?
150
150
 
151
151
  def initialize: (
152
- api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
153
152
  category: Increase::Models::FednowTransfer::CreatedBy::category,
154
- oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?,
155
- user: Increase::FednowTransfer::CreatedBy::User?
153
+ ?api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
154
+ ?oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?,
155
+ ?user: Increase::FednowTransfer::CreatedBy::User?
156
156
  ) -> void
157
157
 
158
158
  def to_hash: -> {
159
- api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
160
159
  category: Increase::Models::FednowTransfer::CreatedBy::category,
160
+ api_key: Increase::FednowTransfer::CreatedBy::APIKey?,
161
161
  oauth_application: Increase::FednowTransfer::CreatedBy::OAuthApplication?,
162
162
  user: Increase::FednowTransfer::CreatedBy::User?
163
163
  }
164
164
 
165
- type api_key = { description: String? }
166
-
167
- class APIKey < Increase::Internal::Type::BaseModel
168
- attr_accessor description: String?
169
-
170
- def initialize: (description: String?) -> void
171
-
172
- def to_hash: -> { description: String? }
173
- end
174
-
175
165
  type category = :api_key | :oauth_application | :user
176
166
 
177
167
  module Category
@@ -189,6 +179,16 @@ module Increase
189
179
  def self?.values: -> ::Array[Increase::Models::FednowTransfer::CreatedBy::category]
190
180
  end
191
181
 
182
+ type api_key = { description: String? }
183
+
184
+ class APIKey < Increase::Internal::Type::BaseModel
185
+ attr_accessor description: String?
186
+
187
+ def initialize: (description: String?) -> void
188
+
189
+ def to_hash: -> { description: String? }
190
+ end
191
+
192
192
  type oauth_application = { name: String }
193
193
 
194
194
  class OAuthApplication < Increase::Internal::Type::BaseModel