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
@@ -252,6 +252,12 @@ module Increase
252
252
  )
253
253
  end
254
254
 
255
+ # The type of object that created this transfer.
256
+ sig do
257
+ returns(Increase::SwiftTransfer::CreatedBy::Category::TaggedSymbol)
258
+ end
259
+ attr_accessor :category
260
+
255
261
  # If present, details about the API key that created the transfer.
256
262
  sig { returns(T.nilable(Increase::SwiftTransfer::CreatedBy::APIKey)) }
257
263
  attr_reader :api_key
@@ -264,12 +270,6 @@ module Increase
264
270
  end
265
271
  attr_writer :api_key
266
272
 
267
- # The type of object that created this transfer.
268
- sig do
269
- returns(Increase::SwiftTransfer::CreatedBy::Category::TaggedSymbol)
270
- end
271
- attr_accessor :category
272
-
273
273
  # If present, details about the OAuth Application that created the transfer.
274
274
  sig do
275
275
  returns(
@@ -302,9 +302,9 @@ module Increase
302
302
  # What object created the transfer, either via the API or the dashboard.
303
303
  sig do
304
304
  params(
305
+ category: Increase::SwiftTransfer::CreatedBy::Category::OrSymbol,
305
306
  api_key:
306
307
  T.nilable(Increase::SwiftTransfer::CreatedBy::APIKey::OrHash),
307
- category: Increase::SwiftTransfer::CreatedBy::Category::OrSymbol,
308
308
  oauth_application:
309
309
  T.nilable(
310
310
  Increase::SwiftTransfer::CreatedBy::OAuthApplication::OrHash
@@ -313,23 +313,23 @@ module Increase
313
313
  ).returns(T.attached_class)
314
314
  end
315
315
  def self.new(
316
- # If present, details about the API key that created the transfer.
317
- api_key:,
318
316
  # The type of object that created this transfer.
319
317
  category:,
318
+ # If present, details about the API key that created the transfer.
319
+ api_key: nil,
320
320
  # If present, details about the OAuth Application that created the transfer.
321
- oauth_application:,
321
+ oauth_application: nil,
322
322
  # If present, details about the User that created the transfer.
323
- user:
323
+ user: nil
324
324
  )
325
325
  end
326
326
 
327
327
  sig do
328
328
  override.returns(
329
329
  {
330
- api_key: T.nilable(Increase::SwiftTransfer::CreatedBy::APIKey),
331
330
  category:
332
331
  Increase::SwiftTransfer::CreatedBy::Category::TaggedSymbol,
332
+ api_key: T.nilable(Increase::SwiftTransfer::CreatedBy::APIKey),
333
333
  oauth_application:
334
334
  T.nilable(Increase::SwiftTransfer::CreatedBy::OAuthApplication),
335
335
  user: T.nilable(Increase::SwiftTransfer::CreatedBy::User)
@@ -339,34 +339,6 @@ module Increase
339
339
  def to_hash
340
340
  end
341
341
 
342
- class APIKey < Increase::Internal::Type::BaseModel
343
- OrHash =
344
- T.type_alias do
345
- T.any(
346
- Increase::SwiftTransfer::CreatedBy::APIKey,
347
- Increase::Internal::AnyHash
348
- )
349
- end
350
-
351
- # The description set for the API key when it was created.
352
- sig { returns(T.nilable(String)) }
353
- attr_accessor :description
354
-
355
- # If present, details about the API key that created the transfer.
356
- sig do
357
- params(description: T.nilable(String)).returns(T.attached_class)
358
- end
359
- def self.new(
360
- # The description set for the API key when it was created.
361
- description:
362
- )
363
- end
364
-
365
- sig { override.returns({ description: T.nilable(String) }) }
366
- def to_hash
367
- end
368
- end
369
-
370
342
  # The type of object that created this transfer.
371
343
  module Category
372
344
  extend Increase::Internal::Type::Enum
@@ -409,6 +381,34 @@ module Increase
409
381
  end
410
382
  end
411
383
 
384
+ class APIKey < Increase::Internal::Type::BaseModel
385
+ OrHash =
386
+ T.type_alias do
387
+ T.any(
388
+ Increase::SwiftTransfer::CreatedBy::APIKey,
389
+ Increase::Internal::AnyHash
390
+ )
391
+ end
392
+
393
+ # The description set for the API key when it was created.
394
+ sig { returns(T.nilable(String)) }
395
+ attr_accessor :description
396
+
397
+ # If present, details about the API key that created the transfer.
398
+ sig do
399
+ params(description: T.nilable(String)).returns(T.attached_class)
400
+ end
401
+ def self.new(
402
+ # The description set for the API key when it was created.
403
+ description:
404
+ )
405
+ end
406
+
407
+ sig { override.returns({ description: T.nilable(String) }) }
408
+ def to_hash
409
+ end
410
+ end
411
+
412
412
  class OAuthApplication < Increase::Internal::Type::BaseModel
413
413
  OrHash =
414
414
  T.type_alias do