increase 1.341.0 → 1.342.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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_prenotification.rb +1 -1
  4. data/lib/increase/models/ach_transfer.rb +21 -2
  5. data/lib/increase/models/beneficial_owner_create_params.rb +12 -9
  6. data/lib/increase/models/beneficial_owner_update_params.rb +12 -9
  7. data/lib/increase/models/check_transfer.rb +4 -2
  8. data/lib/increase/models/entity_create_params.rb +72 -54
  9. data/lib/increase/models/entity_update_params.rb +24 -18
  10. data/lib/increase/models/event.rb +8 -0
  11. data/lib/increase/models/event_list_params.rb +8 -0
  12. data/lib/increase/models/event_subscription.rb +8 -0
  13. data/lib/increase/models/event_subscription_create_params.rb +8 -0
  14. data/lib/increase/models/inbound_wire_transfer.rb +18 -1
  15. data/lib/increase/models/simulations/ach_transfer_return_params.rb +15 -2
  16. data/lib/increase/models/simulations/card_settlement_create_params.rb +16 -14
  17. data/lib/increase/models/simulations/program_create_params.rb +0 -3
  18. data/lib/increase/models/swift_transfer.rb +12 -1
  19. data/lib/increase/models/swift_transfer_create_params.rb +12 -1
  20. data/lib/increase/models/transaction.rb +21 -2
  21. data/lib/increase/models/unwrap_webhook_event.rb +8 -0
  22. data/lib/increase/resources/simulations/ach_transfers.rb +6 -1
  23. data/lib/increase/resources/simulations/card_settlements.rb +7 -6
  24. data/lib/increase/resources/swift_transfers.rb +5 -1
  25. data/lib/increase/version.rb +1 -1
  26. data/rbi/increase/models/ach_prenotification.rbi +1 -1
  27. data/rbi/increase/models/ach_transfer.rbi +19 -1
  28. data/rbi/increase/models/beneficial_owner_create_params.rbi +13 -8
  29. data/rbi/increase/models/beneficial_owner_update_params.rbi +13 -8
  30. data/rbi/increase/models/check_transfer.rbi +4 -2
  31. data/rbi/increase/models/entity_create_params.rbi +78 -48
  32. data/rbi/increase/models/entity_update_params.rbi +26 -16
  33. data/rbi/increase/models/event.rbi +14 -0
  34. data/rbi/increase/models/event_list_params.rbi +14 -0
  35. data/rbi/increase/models/event_subscription.rbi +14 -0
  36. data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
  37. data/rbi/increase/models/inbound_wire_transfer.rbi +16 -0
  38. data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +16 -1
  39. data/rbi/increase/models/simulations/card_settlement_create_params.rbi +17 -12
  40. data/rbi/increase/models/simulations/program_create_params.rbi +0 -7
  41. data/rbi/increase/models/swift_transfer.rbi +10 -0
  42. data/rbi/increase/models/swift_transfer_create_params.rbi +13 -0
  43. data/rbi/increase/models/transaction.rbi +19 -1
  44. data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
  45. data/rbi/increase/resources/simulations/ach_transfers.rbi +5 -0
  46. data/rbi/increase/resources/simulations/card_settlements.rbi +6 -5
  47. data/rbi/increase/resources/swift_transfers.rbi +4 -0
  48. data/sig/increase/models/ach_prenotification.rbs +1 -1
  49. data/sig/increase/models/ach_transfer.rbs +6 -1
  50. data/sig/increase/models/beneficial_owner_create_params.rbs +7 -5
  51. data/sig/increase/models/beneficial_owner_update_params.rbs +7 -5
  52. data/sig/increase/models/entity_create_params.rbs +42 -30
  53. data/sig/increase/models/entity_update_params.rbs +14 -10
  54. data/sig/increase/models/event.rbs +8 -0
  55. data/sig/increase/models/event_list_params.rbs +8 -0
  56. data/sig/increase/models/event_subscription.rbs +8 -0
  57. data/sig/increase/models/event_subscription_create_params.rbs +8 -0
  58. data/sig/increase/models/inbound_wire_transfer.rbs +10 -0
  59. data/sig/increase/models/simulations/ach_transfer_return_params.rbs +8 -1
  60. data/sig/increase/models/simulations/card_settlement_create_params.rbs +7 -5
  61. data/sig/increase/models/simulations/program_create_params.rbs +1 -8
  62. data/sig/increase/models/swift_transfer.rbs +5 -0
  63. data/sig/increase/models/swift_transfer_create_params.rbs +7 -0
  64. data/sig/increase/models/transaction.rbs +6 -1
  65. data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
  66. data/sig/increase/resources/simulations/ach_transfers.rbs +1 -0
  67. data/sig/increase/resources/simulations/card_settlements.rbs +1 -1
  68. data/sig/increase/resources/swift_transfers.rbs +1 -0
  69. metadata +2 -2
@@ -477,14 +477,18 @@ module Increase
477
477
  sig { returns(String) }
478
478
  attr_accessor :city
479
479
 
480
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
481
- sig { returns(String) }
482
- attr_accessor :country
483
-
484
480
  # The first line of the address. This is usually the street number and street.
485
481
  sig { returns(String) }
486
482
  attr_accessor :line1
487
483
 
484
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
485
+ # to `US`.
486
+ sig { returns(T.nilable(String)) }
487
+ attr_reader :country
488
+
489
+ sig { params(country: String).void }
490
+ attr_writer :country
491
+
488
492
  # The second line of the address. This might be the floor or room number.
489
493
  sig { returns(T.nilable(String)) }
490
494
  attr_reader :line2
@@ -512,8 +516,8 @@ module Increase
512
516
  sig do
513
517
  params(
514
518
  city: String,
515
- country: String,
516
519
  line1: String,
520
+ country: String,
517
521
  line2: String,
518
522
  state: String,
519
523
  zip: String
@@ -522,10 +526,11 @@ module Increase
522
526
  def self.new(
523
527
  # The city, district, town, or village of the address.
524
528
  city:,
525
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
526
- country:,
527
529
  # The first line of the address. This is usually the street number and street.
528
530
  line1:,
531
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
532
+ # to `US`.
533
+ country: nil,
529
534
  # The second line of the address. This might be the floor or room number.
530
535
  line2: nil,
531
536
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -540,8 +545,8 @@ module Increase
540
545
  override.returns(
541
546
  {
542
547
  city: String,
543
- country: String,
544
548
  line1: String,
549
+ country: String,
545
550
  line2: String,
546
551
  state: String,
547
552
  zip: String
@@ -754,14 +759,18 @@ module Increase
754
759
  sig { returns(String) }
755
760
  attr_accessor :city
756
761
 
757
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
758
- sig { returns(String) }
759
- attr_accessor :country
760
-
761
762
  # The first line of the address. This is usually the street number and street.
762
763
  sig { returns(String) }
763
764
  attr_accessor :line1
764
765
 
766
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
767
+ # to `US`.
768
+ sig { returns(T.nilable(String)) }
769
+ attr_reader :country
770
+
771
+ sig { params(country: String).void }
772
+ attr_writer :country
773
+
765
774
  # The second line of the address. This might be the floor or room number.
766
775
  sig { returns(T.nilable(String)) }
767
776
  attr_reader :line2
@@ -789,8 +798,8 @@ module Increase
789
798
  sig do
790
799
  params(
791
800
  city: String,
792
- country: String,
793
801
  line1: String,
802
+ country: String,
794
803
  line2: String,
795
804
  state: String,
796
805
  zip: String
@@ -799,10 +808,11 @@ module Increase
799
808
  def self.new(
800
809
  # The city, district, town, or village of the address.
801
810
  city:,
802
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
803
- country:,
804
811
  # The first line of the address. This is usually the street number and street.
805
812
  line1:,
813
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
814
+ # to `US`.
815
+ country: nil,
806
816
  # The second line of the address. This might be the floor or room number.
807
817
  line2: nil,
808
818
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -817,8 +827,8 @@ module Increase
817
827
  override.returns(
818
828
  {
819
829
  city: String,
820
- country: String,
821
830
  line1: String,
831
+ country: String,
822
832
  line2: String,
823
833
  state: String,
824
834
  zip: String
@@ -1844,14 +1854,18 @@ module Increase
1844
1854
  sig { returns(String) }
1845
1855
  attr_accessor :city
1846
1856
 
1847
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1848
- sig { returns(String) }
1849
- attr_accessor :country
1850
-
1851
1857
  # The first line of the address. This is usually the street number and street.
1852
1858
  sig { returns(String) }
1853
1859
  attr_accessor :line1
1854
1860
 
1861
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1862
+ # to `US`.
1863
+ sig { returns(T.nilable(String)) }
1864
+ attr_reader :country
1865
+
1866
+ sig { params(country: String).void }
1867
+ attr_writer :country
1868
+
1855
1869
  # The second line of the address. This might be the floor or room number.
1856
1870
  sig { returns(T.nilable(String)) }
1857
1871
  attr_reader :line2
@@ -1879,8 +1893,8 @@ module Increase
1879
1893
  sig do
1880
1894
  params(
1881
1895
  city: String,
1882
- country: String,
1883
1896
  line1: String,
1897
+ country: String,
1884
1898
  line2: String,
1885
1899
  state: String,
1886
1900
  zip: String
@@ -1889,10 +1903,11 @@ module Increase
1889
1903
  def self.new(
1890
1904
  # The city, district, town, or village of the address.
1891
1905
  city:,
1892
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1893
- country:,
1894
1906
  # The first line of the address. This is usually the street number and street.
1895
1907
  line1:,
1908
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1909
+ # to `US`.
1910
+ country: nil,
1896
1911
  # The second line of the address. This might be the floor or room number.
1897
1912
  line2: nil,
1898
1913
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -1907,8 +1922,8 @@ module Increase
1907
1922
  override.returns(
1908
1923
  {
1909
1924
  city: String,
1910
- country: String,
1911
1925
  line1: String,
1926
+ country: String,
1912
1927
  line2: String,
1913
1928
  state: String,
1914
1929
  zip: String
@@ -2425,14 +2440,18 @@ module Increase
2425
2440
  sig { returns(String) }
2426
2441
  attr_accessor :city
2427
2442
 
2428
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2429
- sig { returns(String) }
2430
- attr_accessor :country
2431
-
2432
2443
  # The first line of the address. This is usually the street number and street.
2433
2444
  sig { returns(String) }
2434
2445
  attr_accessor :line1
2435
2446
 
2447
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2448
+ # to `US`.
2449
+ sig { returns(T.nilable(String)) }
2450
+ attr_reader :country
2451
+
2452
+ sig { params(country: String).void }
2453
+ attr_writer :country
2454
+
2436
2455
  # The second line of the address. This might be the floor or room number.
2437
2456
  sig { returns(T.nilable(String)) }
2438
2457
  attr_reader :line2
@@ -2460,8 +2479,8 @@ module Increase
2460
2479
  sig do
2461
2480
  params(
2462
2481
  city: String,
2463
- country: String,
2464
2482
  line1: String,
2483
+ country: String,
2465
2484
  line2: String,
2466
2485
  state: String,
2467
2486
  zip: String
@@ -2470,10 +2489,11 @@ module Increase
2470
2489
  def self.new(
2471
2490
  # The city, district, town, or village of the address.
2472
2491
  city:,
2473
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2474
- country:,
2475
2492
  # The first line of the address. This is usually the street number and street.
2476
2493
  line1:,
2494
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2495
+ # to `US`.
2496
+ country: nil,
2477
2497
  # The second line of the address. This might be the floor or room number.
2478
2498
  line2: nil,
2479
2499
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -2488,8 +2508,8 @@ module Increase
2488
2508
  override.returns(
2489
2509
  {
2490
2510
  city: String,
2491
- country: String,
2492
2511
  line1: String,
2512
+ country: String,
2493
2513
  line2: String,
2494
2514
  state: String,
2495
2515
  zip: String
@@ -3618,14 +3638,18 @@ module Increase
3618
3638
  sig { returns(String) }
3619
3639
  attr_accessor :city
3620
3640
 
3621
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
3622
- sig { returns(String) }
3623
- attr_accessor :country
3624
-
3625
3641
  # The first line of the address. This is usually the street number and street.
3626
3642
  sig { returns(String) }
3627
3643
  attr_accessor :line1
3628
3644
 
3645
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
3646
+ # to `US`.
3647
+ sig { returns(T.nilable(String)) }
3648
+ attr_reader :country
3649
+
3650
+ sig { params(country: String).void }
3651
+ attr_writer :country
3652
+
3629
3653
  # The second line of the address. This might be the floor or room number.
3630
3654
  sig { returns(T.nilable(String)) }
3631
3655
  attr_reader :line2
@@ -3653,8 +3677,8 @@ module Increase
3653
3677
  sig do
3654
3678
  params(
3655
3679
  city: String,
3656
- country: String,
3657
3680
  line1: String,
3681
+ country: String,
3658
3682
  line2: String,
3659
3683
  state: String,
3660
3684
  zip: String
@@ -3663,10 +3687,11 @@ module Increase
3663
3687
  def self.new(
3664
3688
  # The city, district, town, or village of the address.
3665
3689
  city:,
3666
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
3667
- country:,
3668
3690
  # The first line of the address. This is usually the street number and street.
3669
3691
  line1:,
3692
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
3693
+ # to `US`.
3694
+ country: nil,
3670
3695
  # The second line of the address. This might be the floor or room number.
3671
3696
  line2: nil,
3672
3697
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -3681,8 +3706,8 @@ module Increase
3681
3706
  override.returns(
3682
3707
  {
3683
3708
  city: String,
3684
- country: String,
3685
3709
  line1: String,
3710
+ country: String,
3686
3711
  line2: String,
3687
3712
  state: String,
3688
3713
  zip: String
@@ -4198,14 +4223,18 @@ module Increase
4198
4223
  sig { returns(String) }
4199
4224
  attr_accessor :city
4200
4225
 
4201
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
4202
- sig { returns(String) }
4203
- attr_accessor :country
4204
-
4205
4226
  # The first line of the address. This is usually the street number and street.
4206
4227
  sig { returns(String) }
4207
4228
  attr_accessor :line1
4208
4229
 
4230
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
4231
+ # to `US`.
4232
+ sig { returns(T.nilable(String)) }
4233
+ attr_reader :country
4234
+
4235
+ sig { params(country: String).void }
4236
+ attr_writer :country
4237
+
4209
4238
  # The second line of the address. This might be the floor or room number.
4210
4239
  sig { returns(T.nilable(String)) }
4211
4240
  attr_reader :line2
@@ -4233,8 +4262,8 @@ module Increase
4233
4262
  sig do
4234
4263
  params(
4235
4264
  city: String,
4236
- country: String,
4237
4265
  line1: String,
4266
+ country: String,
4238
4267
  line2: String,
4239
4268
  state: String,
4240
4269
  zip: String
@@ -4243,10 +4272,11 @@ module Increase
4243
4272
  def self.new(
4244
4273
  # The city, district, town, or village of the address.
4245
4274
  city:,
4246
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
4247
- country:,
4248
4275
  # The first line of the address. This is usually the street number and street.
4249
4276
  line1:,
4277
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
4278
+ # to `US`.
4279
+ country: nil,
4250
4280
  # The second line of the address. This might be the floor or room number.
4251
4281
  line2: nil,
4252
4282
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -4261,8 +4291,8 @@ module Increase
4261
4291
  override.returns(
4262
4292
  {
4263
4293
  city: String,
4264
- country: String,
4265
4294
  line1: String,
4295
+ country: String,
4266
4296
  line2: String,
4267
4297
  state: String,
4268
4298
  zip: String
@@ -341,14 +341,18 @@ module Increase
341
341
  sig { returns(String) }
342
342
  attr_accessor :city
343
343
 
344
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
345
- sig { returns(String) }
346
- attr_accessor :country
347
-
348
344
  # The first line of the address. This is usually the street number and street.
349
345
  sig { returns(String) }
350
346
  attr_accessor :line1
351
347
 
348
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
349
+ # to `US`.
350
+ sig { returns(T.nilable(String)) }
351
+ attr_reader :country
352
+
353
+ sig { params(country: String).void }
354
+ attr_writer :country
355
+
352
356
  # The second line of the address. This might be the floor or room number.
353
357
  sig { returns(T.nilable(String)) }
354
358
  attr_reader :line2
@@ -376,8 +380,8 @@ module Increase
376
380
  sig do
377
381
  params(
378
382
  city: String,
379
- country: String,
380
383
  line1: String,
384
+ country: String,
381
385
  line2: String,
382
386
  state: String,
383
387
  zip: String
@@ -386,10 +390,11 @@ module Increase
386
390
  def self.new(
387
391
  # The city, district, town, or village of the address.
388
392
  city:,
389
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
390
- country:,
391
393
  # The first line of the address. This is usually the street number and street.
392
394
  line1:,
395
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
396
+ # to `US`.
397
+ country: nil,
393
398
  # The second line of the address. This might be the floor or room number.
394
399
  line2: nil,
395
400
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -404,8 +409,8 @@ module Increase
404
409
  override.returns(
405
410
  {
406
411
  city: String,
407
- country: String,
408
412
  line1: String,
413
+ country: String,
409
414
  line2: String,
410
415
  state: String,
411
416
  zip: String
@@ -774,14 +779,18 @@ module Increase
774
779
  sig { returns(String) }
775
780
  attr_accessor :city
776
781
 
777
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
778
- sig { returns(String) }
779
- attr_accessor :country
780
-
781
782
  # The first line of the address. This is usually the street number and street.
782
783
  sig { returns(String) }
783
784
  attr_accessor :line1
784
785
 
786
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
787
+ # to `US`.
788
+ sig { returns(T.nilable(String)) }
789
+ attr_reader :country
790
+
791
+ sig { params(country: String).void }
792
+ attr_writer :country
793
+
785
794
  # The second line of the address. This might be the floor or room number.
786
795
  sig { returns(T.nilable(String)) }
787
796
  attr_reader :line2
@@ -809,8 +818,8 @@ module Increase
809
818
  sig do
810
819
  params(
811
820
  city: String,
812
- country: String,
813
821
  line1: String,
822
+ country: String,
814
823
  line2: String,
815
824
  state: String,
816
825
  zip: String
@@ -819,10 +828,11 @@ module Increase
819
828
  def self.new(
820
829
  # The city, district, town, or village of the address.
821
830
  city:,
822
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
823
- country:,
824
831
  # The first line of the address. This is usually the street number and street.
825
832
  line1:,
833
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
834
+ # to `US`.
835
+ country: nil,
826
836
  # The second line of the address. This might be the floor or room number.
827
837
  line2: nil,
828
838
  # The two-letter United States Postal Service (USPS) abbreviation for the US
@@ -837,8 +847,8 @@ module Increase
837
847
  override.returns(
838
848
  {
839
849
  city: String,
840
- country: String,
841
850
  line1: String,
851
+ country: String,
842
852
  line2: String,
843
853
  state: String,
844
854
  zip: String
@@ -481,6 +481,20 @@ module Increase
481
481
  Increase::Event::Category::TaggedSymbol
482
482
  )
483
483
 
484
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
485
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
486
+ T.let(
487
+ :"inbound_real_time_payments_request_for_payment.created",
488
+ Increase::Event::Category::TaggedSymbol
489
+ )
490
+
491
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
492
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
493
+ T.let(
494
+ :"inbound_real_time_payments_request_for_payment.updated",
495
+ Increase::Event::Category::TaggedSymbol
496
+ )
497
+
484
498
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
485
499
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
486
500
  T.let(
@@ -580,6 +580,20 @@ module Increase
580
580
  Increase::EventListParams::Category::In::TaggedSymbol
581
581
  )
582
582
 
583
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
584
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
585
+ T.let(
586
+ :"inbound_real_time_payments_request_for_payment.created",
587
+ Increase::EventListParams::Category::In::TaggedSymbol
588
+ )
589
+
590
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
591
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
592
+ T.let(
593
+ :"inbound_real_time_payments_request_for_payment.updated",
594
+ Increase::EventListParams::Category::In::TaggedSymbol
595
+ )
596
+
583
597
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
584
598
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
585
599
  T.let(
@@ -605,6 +605,20 @@ module Increase
605
605
  Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
606
606
  )
607
607
 
608
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
609
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
610
+ T.let(
611
+ :"inbound_real_time_payments_request_for_payment.created",
612
+ Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
613
+ )
614
+
615
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
616
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
617
+ T.let(
618
+ :"inbound_real_time_payments_request_for_payment.updated",
619
+ Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
620
+ )
621
+
608
622
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
609
623
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
610
624
  T.let(
@@ -603,6 +603,20 @@ module Increase
603
603
  Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
604
604
  )
605
605
 
606
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
607
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
608
+ T.let(
609
+ :"inbound_real_time_payments_request_for_payment.created",
610
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
611
+ )
612
+
613
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
614
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
615
+ T.let(
616
+ :"inbound_real_time_payments_request_for_payment.updated",
617
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
618
+ )
619
+
606
620
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
607
621
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
608
622
  T.let(
@@ -57,6 +57,10 @@ module Increase
57
57
  sig { returns(T.nilable(String)) }
58
58
  attr_accessor :creditor_name
59
59
 
60
+ # The account number of the sender.
61
+ sig { returns(T.nilable(String)) }
62
+ attr_accessor :debtor_account_number
63
+
60
64
  # A free-form address field set by the sender.
61
65
  sig { returns(T.nilable(String)) }
62
66
  attr_accessor :debtor_address_line1
@@ -73,6 +77,10 @@ module Increase
73
77
  sig { returns(T.nilable(String)) }
74
78
  attr_accessor :debtor_name
75
79
 
80
+ # The American Banking Association (ABA) routing number of the sender.
81
+ sig { returns(T.nilable(String)) }
82
+ attr_accessor :debtor_routing_number
83
+
76
84
  # An Increase-constructed description of the transfer.
77
85
  sig { returns(String) }
78
86
  attr_accessor :description
@@ -149,10 +157,12 @@ module Increase
149
157
  creditor_address_line2: T.nilable(String),
150
158
  creditor_address_line3: T.nilable(String),
151
159
  creditor_name: T.nilable(String),
160
+ debtor_account_number: T.nilable(String),
152
161
  debtor_address_line1: T.nilable(String),
153
162
  debtor_address_line2: T.nilable(String),
154
163
  debtor_address_line3: T.nilable(String),
155
164
  debtor_name: T.nilable(String),
165
+ debtor_routing_number: T.nilable(String),
156
166
  description: String,
157
167
  end_to_end_identification: T.nilable(String),
158
168
  input_message_accountability_data: T.nilable(String),
@@ -189,6 +199,8 @@ module Increase
189
199
  creditor_address_line3:,
190
200
  # A name set by the sender.
191
201
  creditor_name:,
202
+ # The account number of the sender.
203
+ debtor_account_number:,
192
204
  # A free-form address field set by the sender.
193
205
  debtor_address_line1:,
194
206
  # A free-form address field set by the sender.
@@ -197,6 +209,8 @@ module Increase
197
209
  debtor_address_line3:,
198
210
  # A name set by the sender.
199
211
  debtor_name:,
212
+ # The American Banking Association (ABA) routing number of the sender.
213
+ debtor_routing_number:,
200
214
  # An Increase-constructed description of the transfer.
201
215
  description:,
202
216
  # A free-form reference string set by the sender, to help identify the transfer.
@@ -243,10 +257,12 @@ module Increase
243
257
  creditor_address_line2: T.nilable(String),
244
258
  creditor_address_line3: T.nilable(String),
245
259
  creditor_name: T.nilable(String),
260
+ debtor_account_number: T.nilable(String),
246
261
  debtor_address_line1: T.nilable(String),
247
262
  debtor_address_line2: T.nilable(String),
248
263
  debtor_address_line3: T.nilable(String),
249
264
  debtor_name: T.nilable(String),
265
+ debtor_routing_number: T.nilable(String),
250
266
  description: String,
251
267
  end_to_end_identification: T.nilable(String),
252
268
  input_message_accountability_data: T.nilable(String),
@@ -19,6 +19,15 @@ module Increase
19
19
  sig { returns(String) }
20
20
  attr_accessor :ach_transfer_id
21
21
 
22
+ # Free-form information the returning bank includes in the return addenda. For a
23
+ # `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
24
+ # a return the bank believes was initiated under questionable circumstances.
25
+ sig { returns(T.nilable(String)) }
26
+ attr_reader :addenda_information
27
+
28
+ sig { params(addenda_information: String).void }
29
+ attr_writer :addenda_information
30
+
22
31
  # The reason why the Federal Reserve or destination bank returned this transfer.
23
32
  # Defaults to `no_account`.
24
33
  sig do
@@ -41,6 +50,7 @@ module Increase
41
50
  sig do
42
51
  params(
43
52
  ach_transfer_id: String,
53
+ addenda_information: String,
44
54
  reason:
45
55
  Increase::Simulations::ACHTransferReturnParams::Reason::OrSymbol,
46
56
  request_options: Increase::RequestOptions::OrHash
@@ -49,6 +59,10 @@ module Increase
49
59
  def self.new(
50
60
  # The identifier of the ACH Transfer you wish to return.
51
61
  ach_transfer_id:,
62
+ # Free-form information the returning bank includes in the return addenda. For a
63
+ # `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
64
+ # a return the bank believes was initiated under questionable circumstances.
65
+ addenda_information: nil,
52
66
  # The reason why the Federal Reserve or destination bank returned this transfer.
53
67
  # Defaults to `no_account`.
54
68
  reason: nil,
@@ -60,6 +74,7 @@ module Increase
60
74
  override.returns(
61
75
  {
62
76
  ach_transfer_id: String,
77
+ addenda_information: String,
63
78
  reason:
64
79
  Increase::Simulations::ACHTransferReturnParams::Reason::OrSymbol,
65
80
  request_options: Increase::RequestOptions
@@ -195,7 +210,7 @@ module Increase
195
210
  Increase::Simulations::ACHTransferReturnParams::Reason::TaggedSymbol
196
211
  )
197
212
 
198
- # Code R17. The receiving bank is unable to process a field in the transfer.
213
+ # Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
199
214
  FILE_RECORD_EDIT_CRITERIA =
200
215
  T.let(
201
216
  :file_record_edit_criteria,