increase 1.351.0 → 1.353.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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_statement.rb +12 -4
  4. data/lib/increase/models/balance_lookup.rb +1 -59
  5. data/lib/increase/models/beneficial_owner_create_params.rb +3 -0
  6. data/lib/increase/models/beneficial_owner_update_params.rb +3 -0
  7. data/lib/increase/models/card_payment.rb +1174 -2
  8. data/lib/increase/models/check_transfer.rb +15 -9
  9. data/lib/increase/models/entity.rb +18 -0
  10. data/lib/increase/models/entity_beneficial_owner.rb +3 -0
  11. data/lib/increase/models/entity_create_params.rb +36 -20
  12. data/lib/increase/models/entity_update_params.rb +33 -20
  13. data/lib/increase/models/event.rb +12 -0
  14. data/lib/increase/models/event_list_params.rb +12 -0
  15. data/lib/increase/models/event_subscription.rb +12 -0
  16. data/lib/increase/models/event_subscription_create_params.rb +12 -0
  17. data/lib/increase/models/inbound_ach_transfer.rb +9 -1
  18. data/lib/increase/models/pending_transaction.rb +121 -1
  19. data/lib/increase/models/pending_transaction_list_params.rb +6 -0
  20. data/lib/increase/models/simulations/physical_card_create_params.rb +9 -6
  21. data/lib/increase/models/transaction.rb +1277 -3
  22. data/lib/increase/models/transaction_list_params.rb +6 -0
  23. data/lib/increase/models/unwrap_webhook_event.rb +12 -0
  24. data/lib/increase/models/wire_drawdown_request.rb +3 -3
  25. data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
  26. data/lib/increase/resources/simulations/account_statements.rb +2 -1
  27. data/lib/increase/resources/simulations/physical_cards.rb +5 -3
  28. data/lib/increase/version.rb +1 -1
  29. data/rbi/increase/models/account_statement.rbi +12 -4
  30. data/rbi/increase/models/balance_lookup.rbi +3 -87
  31. data/rbi/increase/models/beneficial_owner_create_params.rbi +7 -0
  32. data/rbi/increase/models/beneficial_owner_update_params.rbi +7 -0
  33. data/rbi/increase/models/card_payment.rbi +5276 -2964
  34. data/rbi/increase/models/check_transfer.rbi +15 -9
  35. data/rbi/increase/models/entity.rbi +42 -0
  36. data/rbi/increase/models/entity_beneficial_owner.rbi +7 -0
  37. data/rbi/increase/models/entity_create_params.rbi +46 -21
  38. data/rbi/increase/models/entity_update_params.rbi +39 -21
  39. data/rbi/increase/models/event.rbi +28 -0
  40. data/rbi/increase/models/event_list_params.rbi +28 -0
  41. data/rbi/increase/models/event_subscription.rbi +28 -0
  42. data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
  43. data/rbi/increase/models/inbound_ach_transfer.rbi +8 -0
  44. data/rbi/increase/models/pending_transaction.rbi +254 -0
  45. data/rbi/increase/models/pending_transaction_list_params.rbi +14 -0
  46. data/rbi/increase/models/simulations/physical_card_create_params.rbi +8 -6
  47. data/rbi/increase/models/transaction.rbi +4848 -2358
  48. data/rbi/increase/models/transaction_list_params.rbi +14 -0
  49. data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
  50. data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
  51. data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
  52. data/rbi/increase/resources/simulations/account_statements.rbi +2 -1
  53. data/rbi/increase/resources/simulations/physical_cards.rbi +4 -3
  54. data/sig/increase/models/balance_lookup.rbs +3 -42
  55. data/sig/increase/models/beneficial_owner_create_params.rbs +4 -0
  56. data/sig/increase/models/beneficial_owner_update_params.rbs +4 -0
  57. data/sig/increase/models/card_payment.rbs +1186 -0
  58. data/sig/increase/models/entity.rbs +24 -0
  59. data/sig/increase/models/entity_beneficial_owner.rbs +4 -0
  60. data/sig/increase/models/entity_create_params.rbs +24 -11
  61. data/sig/increase/models/entity_update_params.rbs +20 -11
  62. data/sig/increase/models/event.rbs +16 -0
  63. data/sig/increase/models/event_list_params.rbs +16 -0
  64. data/sig/increase/models/event_subscription.rbs +16 -0
  65. data/sig/increase/models/event_subscription_create_params.rbs +16 -0
  66. data/sig/increase/models/inbound_ach_transfer.rbs +5 -0
  67. data/sig/increase/models/pending_transaction.rbs +84 -0
  68. data/sig/increase/models/pending_transaction_list_params.rbs +8 -0
  69. data/sig/increase/models/transaction.rbs +1236 -0
  70. data/sig/increase/models/transaction_list_params.rbs +8 -0
  71. data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
  72. data/sig/increase/models/wire_drawdown_request.rbs +4 -4
  73. data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
  74. metadata +2 -2
@@ -336,6 +336,7 @@ module Increase
336
336
 
337
337
  type method_ =
338
338
  :social_security_number
339
+ | :social_security_number_last4
339
340
  | :individual_taxpayer_identification_number
340
341
  | :passport
341
342
  | :drivers_license
@@ -347,6 +348,9 @@ module Increase
347
348
  # A social security number.
348
349
  SOCIAL_SECURITY_NUMBER: :social_security_number
349
350
 
351
+ # The last four digits of a social security number.
352
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
353
+
350
354
  # An individual taxpayer identification number (ITIN).
351
355
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
352
356
 
@@ -674,6 +678,7 @@ module Increase
674
678
 
675
679
  type method_ =
676
680
  :social_security_number
681
+ | :social_security_number_last4
677
682
  | :individual_taxpayer_identification_number
678
683
  | :passport
679
684
  | :drivers_license
@@ -685,6 +690,9 @@ module Increase
685
690
  # A social security number.
686
691
  SOCIAL_SECURITY_NUMBER: :social_security_number
687
692
 
693
+ # The last four digits of a social security number.
694
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
695
+
688
696
  # An individual taxpayer identification number (ITIN).
689
697
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
690
698
 
@@ -799,6 +807,7 @@ module Increase
799
807
 
800
808
  type method_ =
801
809
  :social_security_number
810
+ | :social_security_number_last4
802
811
  | :individual_taxpayer_identification_number
803
812
  | :passport
804
813
  | :drivers_license
@@ -810,6 +819,9 @@ module Increase
810
819
  # A social security number.
811
820
  SOCIAL_SECURITY_NUMBER: :social_security_number
812
821
 
822
+ # The last four digits of a social security number.
823
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
824
+
813
825
  # An individual taxpayer identification number (ITIN).
814
826
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
815
827
 
@@ -1047,6 +1059,7 @@ module Increase
1047
1059
 
1048
1060
  type method_ =
1049
1061
  :social_security_number
1062
+ | :social_security_number_last4
1050
1063
  | :individual_taxpayer_identification_number
1051
1064
  | :passport
1052
1065
  | :drivers_license
@@ -1058,6 +1071,9 @@ module Increase
1058
1071
  # A social security number.
1059
1072
  SOCIAL_SECURITY_NUMBER: :social_security_number
1060
1073
 
1074
+ # The last four digits of a social security number.
1075
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
1076
+
1061
1077
  # An individual taxpayer identification number (ITIN).
1062
1078
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1063
1079
 
@@ -1396,6 +1412,7 @@ module Increase
1396
1412
 
1397
1413
  type method_ =
1398
1414
  :social_security_number
1415
+ | :social_security_number_last4
1399
1416
  | :individual_taxpayer_identification_number
1400
1417
  | :passport
1401
1418
  | :drivers_license
@@ -1407,6 +1424,9 @@ module Increase
1407
1424
  # A social security number.
1408
1425
  SOCIAL_SECURITY_NUMBER: :social_security_number
1409
1426
 
1427
+ # The last four digits of a social security number.
1428
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
1429
+
1410
1430
  # An individual taxpayer identification number (ITIN).
1411
1431
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1412
1432
 
@@ -1541,6 +1561,7 @@ module Increase
1541
1561
 
1542
1562
  type method_ =
1543
1563
  :social_security_number
1564
+ | :social_security_number_last4
1544
1565
  | :individual_taxpayer_identification_number
1545
1566
  | :passport
1546
1567
  | :drivers_license
@@ -1552,6 +1573,9 @@ module Increase
1552
1573
  # A social security number.
1553
1574
  SOCIAL_SECURITY_NUMBER: :social_security_number
1554
1575
 
1576
+ # The last four digits of a social security number.
1577
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
1578
+
1555
1579
  # An individual taxpayer identification number (ITIN).
1556
1580
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1557
1581
 
@@ -147,6 +147,7 @@ module Increase
147
147
 
148
148
  type method_ =
149
149
  :social_security_number
150
+ | :social_security_number_last4
150
151
  | :individual_taxpayer_identification_number
151
152
  | :passport
152
153
  | :drivers_license
@@ -158,6 +159,9 @@ module Increase
158
159
  # A social security number.
159
160
  SOCIAL_SECURITY_NUMBER: :social_security_number
160
161
 
162
+ # The last four digits of a social security number.
163
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
164
+
161
165
  # An individual taxpayer identification number (ITIN).
162
166
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
163
167
 
@@ -431,6 +431,7 @@ module Increase
431
431
 
432
432
  type method_ =
433
433
  :social_security_number
434
+ | :social_security_number_last4
434
435
  | :individual_taxpayer_identification_number
435
436
  | :passport
436
437
  | :drivers_license
@@ -442,6 +443,9 @@ module Increase
442
443
  # A social security number.
443
444
  SOCIAL_SECURITY_NUMBER: :social_security_number
444
445
 
446
+ # The last four digits of a social security number.
447
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
448
+
445
449
  # An individual taxpayer identification number (ITIN).
446
450
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
447
451
 
@@ -1687,39 +1691,48 @@ module Increase
1687
1691
  type address =
1688
1692
  {
1689
1693
  city: String,
1694
+ country: String,
1690
1695
  :line1 => String,
1696
+ :line2 => String,
1691
1697
  state: String,
1692
- zip: String,
1693
- :line2 => String
1698
+ zip: String
1694
1699
  }
1695
1700
 
1696
1701
  class Address < Increase::Internal::Type::BaseModel
1697
1702
  attr_accessor city: String
1698
1703
 
1699
- attr_accessor line1: String
1700
-
1701
- attr_accessor state: String
1704
+ attr_accessor country: String
1702
1705
 
1703
- attr_accessor zip: String
1706
+ attr_accessor line1: String
1704
1707
 
1705
1708
  attr_reader line2: String?
1706
1709
 
1707
1710
  def line2=: (String) -> String
1708
1711
 
1712
+ attr_reader state: String?
1713
+
1714
+ def state=: (String) -> String
1715
+
1716
+ attr_reader zip: String?
1717
+
1718
+ def zip=: (String) -> String
1719
+
1709
1720
  def initialize: (
1710
1721
  city: String,
1722
+ country: String,
1711
1723
  line1: String,
1712
- state: String,
1713
- zip: String,
1714
- ?line2: String
1724
+ ?line2: String,
1725
+ ?state: String,
1726
+ ?zip: String
1715
1727
  ) -> void
1716
1728
 
1717
1729
  def to_hash: -> {
1718
1730
  city: String,
1731
+ country: String,
1719
1732
  :line1 => String,
1733
+ :line2 => String,
1720
1734
  state: String,
1721
- zip: String,
1722
- :line2 => String
1735
+ zip: String
1723
1736
  }
1724
1737
  end
1725
1738
 
@@ -1100,39 +1100,48 @@ module Increase
1100
1100
  type address =
1101
1101
  {
1102
1102
  city: String,
1103
+ country: String,
1103
1104
  :line1 => String,
1105
+ :line2 => String,
1104
1106
  state: String,
1105
- zip: String,
1106
- :line2 => String
1107
+ zip: String
1107
1108
  }
1108
1109
 
1109
1110
  class Address < Increase::Internal::Type::BaseModel
1110
1111
  attr_accessor city: String
1111
1112
 
1112
- attr_accessor line1: String
1113
-
1114
- attr_accessor state: String
1113
+ attr_accessor country: String
1115
1114
 
1116
- attr_accessor zip: String
1115
+ attr_accessor line1: String
1117
1116
 
1118
1117
  attr_reader line2: String?
1119
1118
 
1120
1119
  def line2=: (String) -> String
1121
1120
 
1121
+ attr_reader state: String?
1122
+
1123
+ def state=: (String) -> String
1124
+
1125
+ attr_reader zip: String?
1126
+
1127
+ def zip=: (String) -> String
1128
+
1122
1129
  def initialize: (
1123
1130
  city: String,
1131
+ country: String,
1124
1132
  line1: String,
1125
- state: String,
1126
- zip: String,
1127
- ?line2: String
1133
+ ?line2: String,
1134
+ ?state: String,
1135
+ ?zip: String
1128
1136
  ) -> void
1129
1137
 
1130
1138
  def to_hash: -> {
1131
1139
  city: String,
1140
+ country: String,
1132
1141
  :line1 => String,
1142
+ :line2 => String,
1133
1143
  state: String,
1134
- zip: String,
1135
- :line2 => String
1144
+ zip: String
1136
1145
  }
1137
1146
  end
1138
1147
 
@@ -158,9 +158,13 @@ module Increase
158
158
  | :"real_time_payments_transfer.updated"
159
159
  | :"real_time_payments_request_for_payment.created"
160
160
  | :"real_time_payments_request_for_payment.updated"
161
+ | :"sepa_instant_transfer.created"
162
+ | :"sepa_instant_transfer.updated"
161
163
  | :"swift_transfer.created"
162
164
  | :"swift_transfer.updated"
163
165
  | :"transaction.created"
166
+ | :"uk_faster_payment_system_transfer.created"
167
+ | :"uk_faster_payment_system_transfer.updated"
164
168
  | :"wire_drawdown_request.created"
165
169
  | :"wire_drawdown_request.updated"
166
170
  | :"wire_transfer.created"
@@ -517,6 +521,12 @@ module Increase
517
521
  # Occurs whenever a Real-Time Payments Request for Payment is updated.
518
522
  REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
519
523
 
524
+ # Occurs whenever a SEPA Instant Transfer is created.
525
+ SEPA_INSTANT_TRANSFER_CREATED: :"sepa_instant_transfer.created"
526
+
527
+ # Occurs whenever a SEPA Instant Transfer is updated.
528
+ SEPA_INSTANT_TRANSFER_UPDATED: :"sepa_instant_transfer.updated"
529
+
520
530
  # Occurs whenever a Swift Transfer is created.
521
531
  SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
522
532
 
@@ -526,6 +536,12 @@ module Increase
526
536
  # Occurs whenever a Transaction is created.
527
537
  TRANSACTION_CREATED: :"transaction.created"
528
538
 
539
+ # Occurs whenever a UK Faster Payment System Transfer is created.
540
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED: :"uk_faster_payment_system_transfer.created"
541
+
542
+ # Occurs whenever a UK Faster Payment System Transfer is updated.
543
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED: :"uk_faster_payment_system_transfer.updated"
544
+
529
545
  # Occurs whenever a Wire Drawdown Request is created.
530
546
  WIRE_DRAWDOWN_REQUEST_CREATED: :"wire_drawdown_request.created"
531
547
 
@@ -200,9 +200,13 @@ module Increase
200
200
  | :"real_time_payments_transfer.updated"
201
201
  | :"real_time_payments_request_for_payment.created"
202
202
  | :"real_time_payments_request_for_payment.updated"
203
+ | :"sepa_instant_transfer.created"
204
+ | :"sepa_instant_transfer.updated"
203
205
  | :"swift_transfer.created"
204
206
  | :"swift_transfer.updated"
205
207
  | :"transaction.created"
208
+ | :"uk_faster_payment_system_transfer.created"
209
+ | :"uk_faster_payment_system_transfer.updated"
206
210
  | :"wire_drawdown_request.created"
207
211
  | :"wire_drawdown_request.updated"
208
212
  | :"wire_transfer.created"
@@ -559,6 +563,12 @@ module Increase
559
563
  # Occurs whenever a Real-Time Payments Request for Payment is updated.
560
564
  REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
561
565
 
566
+ # Occurs whenever a SEPA Instant Transfer is created.
567
+ SEPA_INSTANT_TRANSFER_CREATED: :"sepa_instant_transfer.created"
568
+
569
+ # Occurs whenever a SEPA Instant Transfer is updated.
570
+ SEPA_INSTANT_TRANSFER_UPDATED: :"sepa_instant_transfer.updated"
571
+
562
572
  # Occurs whenever a Swift Transfer is created.
563
573
  SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
564
574
 
@@ -568,6 +578,12 @@ module Increase
568
578
  # Occurs whenever a Transaction is created.
569
579
  TRANSACTION_CREATED: :"transaction.created"
570
580
 
581
+ # Occurs whenever a UK Faster Payment System Transfer is created.
582
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED: :"uk_faster_payment_system_transfer.created"
583
+
584
+ # Occurs whenever a UK Faster Payment System Transfer is updated.
585
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED: :"uk_faster_payment_system_transfer.updated"
586
+
571
587
  # Occurs whenever a Wire Drawdown Request is created.
572
588
  WIRE_DRAWDOWN_REQUEST_CREATED: :"wire_drawdown_request.created"
573
589
 
@@ -184,9 +184,13 @@ module Increase
184
184
  | :"real_time_payments_transfer.updated"
185
185
  | :"real_time_payments_request_for_payment.created"
186
186
  | :"real_time_payments_request_for_payment.updated"
187
+ | :"sepa_instant_transfer.created"
188
+ | :"sepa_instant_transfer.updated"
187
189
  | :"swift_transfer.created"
188
190
  | :"swift_transfer.updated"
189
191
  | :"transaction.created"
192
+ | :"uk_faster_payment_system_transfer.created"
193
+ | :"uk_faster_payment_system_transfer.updated"
190
194
  | :"wire_drawdown_request.created"
191
195
  | :"wire_drawdown_request.updated"
192
196
  | :"wire_transfer.created"
@@ -543,6 +547,12 @@ module Increase
543
547
  # Occurs whenever a Real-Time Payments Request for Payment is updated.
544
548
  REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
545
549
 
550
+ # Occurs whenever a SEPA Instant Transfer is created.
551
+ SEPA_INSTANT_TRANSFER_CREATED: :"sepa_instant_transfer.created"
552
+
553
+ # Occurs whenever a SEPA Instant Transfer is updated.
554
+ SEPA_INSTANT_TRANSFER_UPDATED: :"sepa_instant_transfer.updated"
555
+
546
556
  # Occurs whenever a Swift Transfer is created.
547
557
  SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
548
558
 
@@ -552,6 +562,12 @@ module Increase
552
562
  # Occurs whenever a Transaction is created.
553
563
  TRANSACTION_CREATED: :"transaction.created"
554
564
 
565
+ # Occurs whenever a UK Faster Payment System Transfer is created.
566
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED: :"uk_faster_payment_system_transfer.created"
567
+
568
+ # Occurs whenever a UK Faster Payment System Transfer is updated.
569
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED: :"uk_faster_payment_system_transfer.updated"
570
+
555
571
  # Occurs whenever a Wire Drawdown Request is created.
556
572
  WIRE_DRAWDOWN_REQUEST_CREATED: :"wire_drawdown_request.created"
557
573
 
@@ -187,9 +187,13 @@ module Increase
187
187
  | :"real_time_payments_transfer.updated"
188
188
  | :"real_time_payments_request_for_payment.created"
189
189
  | :"real_time_payments_request_for_payment.updated"
190
+ | :"sepa_instant_transfer.created"
191
+ | :"sepa_instant_transfer.updated"
190
192
  | :"swift_transfer.created"
191
193
  | :"swift_transfer.updated"
192
194
  | :"transaction.created"
195
+ | :"uk_faster_payment_system_transfer.created"
196
+ | :"uk_faster_payment_system_transfer.updated"
193
197
  | :"wire_drawdown_request.created"
194
198
  | :"wire_drawdown_request.updated"
195
199
  | :"wire_transfer.created"
@@ -546,6 +550,12 @@ module Increase
546
550
  # Occurs whenever a Real-Time Payments Request for Payment is updated.
547
551
  REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
548
552
 
553
+ # Occurs whenever a SEPA Instant Transfer is created.
554
+ SEPA_INSTANT_TRANSFER_CREATED: :"sepa_instant_transfer.created"
555
+
556
+ # Occurs whenever a SEPA Instant Transfer is updated.
557
+ SEPA_INSTANT_TRANSFER_UPDATED: :"sepa_instant_transfer.updated"
558
+
549
559
  # Occurs whenever a Swift Transfer is created.
550
560
  SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
551
561
 
@@ -555,6 +565,12 @@ module Increase
555
565
  # Occurs whenever a Transaction is created.
556
566
  TRANSACTION_CREATED: :"transaction.created"
557
567
 
568
+ # Occurs whenever a UK Faster Payment System Transfer is created.
569
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED: :"uk_faster_payment_system_transfer.created"
570
+
571
+ # Occurs whenever a UK Faster Payment System Transfer is updated.
572
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED: :"uk_faster_payment_system_transfer.updated"
573
+
558
574
  # Occurs whenever a Wire Drawdown Request is created.
559
575
  WIRE_DRAWDOWN_REQUEST_CREATED: :"wire_drawdown_request.created"
560
576
 
@@ -821,12 +821,15 @@ module Increase
821
821
 
822
822
  type transfer_return =
823
823
  {
824
+ raw_reason_code: String,
824
825
  reason: Increase::Models::InboundACHTransfer::TransferReturn::reason,
825
826
  returned_at: Time,
826
827
  transaction_id: String
827
828
  }
828
829
 
829
830
  class TransferReturn < Increase::Internal::Type::BaseModel
831
+ attr_accessor raw_reason_code: String
832
+
830
833
  attr_accessor reason: Increase::Models::InboundACHTransfer::TransferReturn::reason
831
834
 
832
835
  attr_accessor returned_at: Time
@@ -834,12 +837,14 @@ module Increase
834
837
  attr_accessor transaction_id: String
835
838
 
836
839
  def initialize: (
840
+ raw_reason_code: String,
837
841
  reason: Increase::Models::InboundACHTransfer::TransferReturn::reason,
838
842
  returned_at: Time,
839
843
  transaction_id: String
840
844
  ) -> void
841
845
 
842
846
  def to_hash: -> {
847
+ raw_reason_code: String,
843
848
  reason: Increase::Models::InboundACHTransfer::TransferReturn::reason,
844
849
  returned_at: Time,
845
850
  transaction_id: String
@@ -120,7 +120,9 @@ module Increase
120
120
  inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
121
121
  other: Increase::PendingTransaction::Source::Other?,
122
122
  real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?,
123
+ sepa_instant_transfer_instruction: Increase::PendingTransaction::Source::SepaInstantTransferInstruction?,
123
124
  swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?,
125
+ uk_faster_payment_system_transfer_instruction: Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction?,
124
126
  user_initiated_hold: ::Hash[Symbol, top]?,
125
127
  wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction?
126
128
  }
@@ -154,8 +156,12 @@ module Increase
154
156
 
155
157
  attr_accessor real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?
156
158
 
159
+ attr_accessor sepa_instant_transfer_instruction: Increase::PendingTransaction::Source::SepaInstantTransferInstruction?
160
+
157
161
  attr_accessor swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?
158
162
 
163
+ attr_accessor uk_faster_payment_system_transfer_instruction: Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction?
164
+
159
165
  attr_accessor user_initiated_hold: ::Hash[Symbol, top]?
160
166
 
161
167
  attr_accessor wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction?
@@ -175,7 +181,9 @@ module Increase
175
181
  ?inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
176
182
  ?other: Increase::PendingTransaction::Source::Other?,
177
183
  ?real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?,
184
+ ?sepa_instant_transfer_instruction: Increase::PendingTransaction::Source::SepaInstantTransferInstruction?,
178
185
  ?swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?,
186
+ ?uk_faster_payment_system_transfer_instruction: Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction?,
179
187
  ?user_initiated_hold: ::Hash[Symbol, top]?,
180
188
  ?wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction?
181
189
  ) -> void
@@ -195,7 +203,9 @@ module Increase
195
203
  inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
196
204
  other: Increase::PendingTransaction::Source::Other?,
197
205
  real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?,
206
+ sepa_instant_transfer_instruction: Increase::PendingTransaction::Source::SepaInstantTransferInstruction?,
198
207
  swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?,
208
+ uk_faster_payment_system_transfer_instruction: Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction?,
199
209
  user_initiated_hold: ::Hash[Symbol, top]?,
200
210
  wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction?
201
211
  }
@@ -216,6 +226,8 @@ module Increase
216
226
  | :card_push_transfer_instruction
217
227
  | :blockchain_onramp_transfer_instruction
218
228
  | :blockchain_offramp_transfer
229
+ | :uk_faster_payment_system_transfer_instruction
230
+ | :sepa_instant_transfer_instruction
219
231
  | :other
220
232
 
221
233
  module Category
@@ -266,6 +278,12 @@ module Increase
266
278
  # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
267
279
  BLOCKCHAIN_OFFRAMP_TRANSFER: :blockchain_offramp_transfer
268
280
 
281
+ # UK Faster Payment System Transfer Instruction: details will be under the `uk_faster_payment_system_transfer_instruction` object.
282
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_INSTRUCTION: :uk_faster_payment_system_transfer_instruction
283
+
284
+ # SEPA Instant Transfer Instruction: details will be under the `sepa_instant_transfer_instruction` object.
285
+ SEPA_INSTANT_TRANSFER_INSTRUCTION: :sepa_instant_transfer_instruction
286
+
269
287
  # The Pending Transaction was made for an undocumented or deprecated reason.
270
288
  OTHER: :other
271
289
 
@@ -1778,6 +1796,39 @@ module Increase
1778
1796
  def to_hash: -> { amount: Integer, transfer_id: String }
1779
1797
  end
1780
1798
 
1799
+ type sepa_instant_transfer_instruction =
1800
+ {
1801
+ amount: Integer,
1802
+ currency: Increase::Models::PendingTransaction::Source::SepaInstantTransferInstruction::currency
1803
+ }
1804
+
1805
+ class SepaInstantTransferInstruction < Increase::Internal::Type::BaseModel
1806
+ attr_accessor amount: Integer
1807
+
1808
+ attr_accessor currency: Increase::Models::PendingTransaction::Source::SepaInstantTransferInstruction::currency
1809
+
1810
+ def initialize: (
1811
+ amount: Integer,
1812
+ currency: Increase::Models::PendingTransaction::Source::SepaInstantTransferInstruction::currency
1813
+ ) -> void
1814
+
1815
+ def to_hash: -> {
1816
+ amount: Integer,
1817
+ currency: Increase::Models::PendingTransaction::Source::SepaInstantTransferInstruction::currency
1818
+ }
1819
+
1820
+ type currency = :EUR
1821
+
1822
+ module Currency
1823
+ extend Increase::Internal::Type::Enum
1824
+
1825
+ # EUR
1826
+ EUR: :EUR
1827
+
1828
+ def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::SepaInstantTransferInstruction::currency]
1829
+ end
1830
+ end
1831
+
1781
1832
  type swift_transfer_instruction = { transfer_id: String }
1782
1833
 
1783
1834
  class SwiftTransferInstruction < Increase::Internal::Type::BaseModel
@@ -1788,6 +1839,39 @@ module Increase
1788
1839
  def to_hash: -> { transfer_id: String }
1789
1840
  end
1790
1841
 
1842
+ type uk_faster_payment_system_transfer_instruction =
1843
+ {
1844
+ amount: Integer,
1845
+ currency: Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::currency
1846
+ }
1847
+
1848
+ class UkFasterPaymentSystemTransferInstruction < Increase::Internal::Type::BaseModel
1849
+ attr_accessor amount: Integer
1850
+
1851
+ attr_accessor currency: Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::currency
1852
+
1853
+ def initialize: (
1854
+ amount: Integer,
1855
+ currency: Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::currency
1856
+ ) -> void
1857
+
1858
+ def to_hash: -> {
1859
+ amount: Integer,
1860
+ currency: Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::currency
1861
+ }
1862
+
1863
+ type currency = :GBP
1864
+
1865
+ module Currency
1866
+ extend Increase::Internal::Type::Enum
1867
+
1868
+ # GBP
1869
+ GBP: :GBP
1870
+
1871
+ def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::currency]
1872
+ end
1873
+ end
1874
+
1791
1875
  type wire_transfer_instruction =
1792
1876
  {
1793
1877
  account_number: String,
@@ -108,6 +108,8 @@ module Increase
108
108
  | :card_push_transfer_instruction
109
109
  | :blockchain_onramp_transfer_instruction
110
110
  | :blockchain_offramp_transfer
111
+ | :uk_faster_payment_system_transfer_instruction
112
+ | :sepa_instant_transfer_instruction
111
113
  | :other
112
114
 
113
115
  module In
@@ -158,6 +160,12 @@ module Increase
158
160
  # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
159
161
  BLOCKCHAIN_OFFRAMP_TRANSFER: :blockchain_offramp_transfer
160
162
 
163
+ # UK Faster Payment System Transfer Instruction: details will be under the `uk_faster_payment_system_transfer_instruction` object.
164
+ UK_FASTER_PAYMENT_SYSTEM_TRANSFER_INSTRUCTION: :uk_faster_payment_system_transfer_instruction
165
+
166
+ # SEPA Instant Transfer Instruction: details will be under the `sepa_instant_transfer_instruction` object.
167
+ SEPA_INSTANT_TRANSFER_INSTRUCTION: :sepa_instant_transfer_instruction
168
+
161
169
  # The Pending Transaction was made for an undocumented or deprecated reason.
162
170
  OTHER: :other
163
171