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
@@ -302,23 +302,23 @@ module Increase
302
302
 
303
303
  # @see Increase::Models::RealTimePaymentsTransfer#created_by
304
304
  class CreatedBy < Increase::Internal::Type::BaseModel
305
- # @!attribute api_key
306
- # If present, details about the API key that created the transfer.
307
- #
308
- # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy::APIKey, nil]
309
- required :api_key, -> { Increase::RealTimePaymentsTransfer::CreatedBy::APIKey }, nil?: true
310
-
311
305
  # @!attribute category
312
306
  # The type of object that created this transfer.
313
307
  #
314
308
  # @return [Symbol, Increase::Models::RealTimePaymentsTransfer::CreatedBy::Category]
315
309
  required :category, enum: -> { Increase::RealTimePaymentsTransfer::CreatedBy::Category }
316
310
 
311
+ # @!attribute api_key
312
+ # If present, details about the API key that created the transfer.
313
+ #
314
+ # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy::APIKey, nil]
315
+ optional :api_key, -> { Increase::RealTimePaymentsTransfer::CreatedBy::APIKey }, nil?: true
316
+
317
317
  # @!attribute oauth_application
318
318
  # If present, details about the OAuth Application that created the transfer.
319
319
  #
320
320
  # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy::OAuthApplication, nil]
321
- required :oauth_application,
321
+ optional :oauth_application,
322
322
  -> { Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication },
323
323
  nil?: true
324
324
 
@@ -326,33 +326,19 @@ module Increase
326
326
  # If present, details about the User that created the transfer.
327
327
  #
328
328
  # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy::User, nil]
329
- required :user, -> { Increase::RealTimePaymentsTransfer::CreatedBy::User }, nil?: true
329
+ optional :user, -> { Increase::RealTimePaymentsTransfer::CreatedBy::User }, nil?: true
330
330
 
331
- # @!method initialize(api_key:, category:, oauth_application:, user:)
331
+ # @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
332
332
  # What object created the transfer, either via the API or the dashboard.
333
333
  #
334
- # @param api_key [Increase::Models::RealTimePaymentsTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
335
- #
336
334
  # @param category [Symbol, Increase::Models::RealTimePaymentsTransfer::CreatedBy::Category] The type of object that created this transfer.
337
335
  #
336
+ # @param api_key [Increase::Models::RealTimePaymentsTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
337
+ #
338
338
  # @param oauth_application [Increase::Models::RealTimePaymentsTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
339
339
  #
340
340
  # @param user [Increase::Models::RealTimePaymentsTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
341
341
 
342
- # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#api_key
343
- class APIKey < Increase::Internal::Type::BaseModel
344
- # @!attribute description
345
- # The description set for the API key when it was created.
346
- #
347
- # @return [String, nil]
348
- required :description, String, nil?: true
349
-
350
- # @!method initialize(description:)
351
- # If present, details about the API key that created the transfer.
352
- #
353
- # @param description [String, nil] The description set for the API key when it was created.
354
- end
355
-
356
342
  # The type of object that created this transfer.
357
343
  #
358
344
  # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#category
@@ -372,6 +358,20 @@ module Increase
372
358
  # @return [Array<Symbol>]
373
359
  end
374
360
 
361
+ # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#api_key
362
+ class APIKey < Increase::Internal::Type::BaseModel
363
+ # @!attribute description
364
+ # The description set for the API key when it was created.
365
+ #
366
+ # @return [String, nil]
367
+ required :description, String, nil?: true
368
+
369
+ # @!method initialize(description:)
370
+ # If present, details about the API key that created the transfer.
371
+ #
372
+ # @param description [String, nil] The description set for the API key when it was created.
373
+ end
374
+
375
375
  # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#oauth_application
376
376
  class OAuthApplication < Increase::Internal::Type::BaseModel
377
377
  # @!attribute name
@@ -198,55 +198,41 @@ module Increase
198
198
 
199
199
  # @see Increase::Models::SwiftTransfer#created_by
200
200
  class CreatedBy < Increase::Internal::Type::BaseModel
201
- # @!attribute api_key
202
- # If present, details about the API key that created the transfer.
203
- #
204
- # @return [Increase::Models::SwiftTransfer::CreatedBy::APIKey, nil]
205
- required :api_key, -> { Increase::SwiftTransfer::CreatedBy::APIKey }, nil?: true
206
-
207
201
  # @!attribute category
208
202
  # The type of object that created this transfer.
209
203
  #
210
204
  # @return [Symbol, Increase::Models::SwiftTransfer::CreatedBy::Category]
211
205
  required :category, enum: -> { Increase::SwiftTransfer::CreatedBy::Category }
212
206
 
207
+ # @!attribute api_key
208
+ # If present, details about the API key that created the transfer.
209
+ #
210
+ # @return [Increase::Models::SwiftTransfer::CreatedBy::APIKey, nil]
211
+ optional :api_key, -> { Increase::SwiftTransfer::CreatedBy::APIKey }, nil?: true
212
+
213
213
  # @!attribute oauth_application
214
214
  # If present, details about the OAuth Application that created the transfer.
215
215
  #
216
216
  # @return [Increase::Models::SwiftTransfer::CreatedBy::OAuthApplication, nil]
217
- required :oauth_application, -> { Increase::SwiftTransfer::CreatedBy::OAuthApplication }, nil?: true
217
+ optional :oauth_application, -> { Increase::SwiftTransfer::CreatedBy::OAuthApplication }, nil?: true
218
218
 
219
219
  # @!attribute user
220
220
  # If present, details about the User that created the transfer.
221
221
  #
222
222
  # @return [Increase::Models::SwiftTransfer::CreatedBy::User, nil]
223
- required :user, -> { Increase::SwiftTransfer::CreatedBy::User }, nil?: true
223
+ optional :user, -> { Increase::SwiftTransfer::CreatedBy::User }, nil?: true
224
224
 
225
- # @!method initialize(api_key:, category:, oauth_application:, user:)
225
+ # @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
226
226
  # What object created the transfer, either via the API or the dashboard.
227
227
  #
228
- # @param api_key [Increase::Models::SwiftTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
229
- #
230
228
  # @param category [Symbol, Increase::Models::SwiftTransfer::CreatedBy::Category] The type of object that created this transfer.
231
229
  #
230
+ # @param api_key [Increase::Models::SwiftTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
231
+ #
232
232
  # @param oauth_application [Increase::Models::SwiftTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
233
233
  #
234
234
  # @param user [Increase::Models::SwiftTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
235
235
 
236
- # @see Increase::Models::SwiftTransfer::CreatedBy#api_key
237
- class APIKey < Increase::Internal::Type::BaseModel
238
- # @!attribute description
239
- # The description set for the API key when it was created.
240
- #
241
- # @return [String, nil]
242
- required :description, String, nil?: true
243
-
244
- # @!method initialize(description:)
245
- # If present, details about the API key that created the transfer.
246
- #
247
- # @param description [String, nil] The description set for the API key when it was created.
248
- end
249
-
250
236
  # The type of object that created this transfer.
251
237
  #
252
238
  # @see Increase::Models::SwiftTransfer::CreatedBy#category
@@ -266,6 +252,20 @@ module Increase
266
252
  # @return [Array<Symbol>]
267
253
  end
268
254
 
255
+ # @see Increase::Models::SwiftTransfer::CreatedBy#api_key
256
+ class APIKey < Increase::Internal::Type::BaseModel
257
+ # @!attribute description
258
+ # The description set for the API key when it was created.
259
+ #
260
+ # @return [String, nil]
261
+ required :description, String, nil?: true
262
+
263
+ # @!method initialize(description:)
264
+ # If present, details about the API key that created the transfer.
265
+ #
266
+ # @param description [String, nil] The description set for the API key when it was created.
267
+ end
268
+
269
269
  # @see Increase::Models::SwiftTransfer::CreatedBy#oauth_application
270
270
  class OAuthApplication < Increase::Internal::Type::BaseModel
271
271
  # @!attribute name