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
@@ -205,8 +205,8 @@ module Increase
205
205
  type address =
206
206
  {
207
207
  city: String,
208
- country: String,
209
208
  :line1 => String,
209
+ country: String,
210
210
  :line2 => String,
211
211
  state: String,
212
212
  zip: String
@@ -215,10 +215,12 @@ module Increase
215
215
  class Address < Increase::Internal::Type::BaseModel
216
216
  attr_accessor city: String
217
217
 
218
- attr_accessor country: String
219
-
220
218
  attr_accessor line1: String
221
219
 
220
+ attr_reader country: String?
221
+
222
+ def country=: (String) -> String
223
+
222
224
  attr_reader line2: String?
223
225
 
224
226
  def line2=: (String) -> String
@@ -233,8 +235,8 @@ module Increase
233
235
 
234
236
  def initialize: (
235
237
  city: String,
236
- country: String,
237
238
  line1: String,
239
+ ?country: String,
238
240
  ?line2: String,
239
241
  ?state: String,
240
242
  ?zip: String
@@ -242,8 +244,8 @@ module Increase
242
244
 
243
245
  def to_hash: -> {
244
246
  city: String,
245
- country: String,
246
247
  :line1 => String,
248
+ country: String,
247
249
  :line2 => String,
248
250
  state: String,
249
251
  zip: String
@@ -319,8 +321,8 @@ module Increase
319
321
  type address =
320
322
  {
321
323
  city: String,
322
- country: String,
323
324
  :line1 => String,
325
+ country: String,
324
326
  :line2 => String,
325
327
  state: String,
326
328
  zip: String
@@ -329,10 +331,12 @@ module Increase
329
331
  class Address < Increase::Internal::Type::BaseModel
330
332
  attr_accessor city: String
331
333
 
332
- attr_accessor country: String
333
-
334
334
  attr_accessor line1: String
335
335
 
336
+ attr_reader country: String?
337
+
338
+ def country=: (String) -> String
339
+
336
340
  attr_reader line2: String?
337
341
 
338
342
  def line2=: (String) -> String
@@ -347,8 +351,8 @@ module Increase
347
351
 
348
352
  def initialize: (
349
353
  city: String,
350
- country: String,
351
354
  line1: String,
355
+ ?country: String,
352
356
  ?line2: String,
353
357
  ?state: String,
354
358
  ?zip: String
@@ -356,8 +360,8 @@ module Increase
356
360
 
357
361
  def to_hash: -> {
358
362
  city: String,
359
- country: String,
360
363
  :line1 => String,
364
+ country: String,
361
365
  :line2 => String,
362
366
  state: String,
363
367
  zip: String
@@ -791,8 +795,8 @@ module Increase
791
795
  type address =
792
796
  {
793
797
  city: String,
794
- country: String,
795
798
  :line1 => String,
799
+ country: String,
796
800
  :line2 => String,
797
801
  state: String,
798
802
  zip: String
@@ -801,10 +805,12 @@ module Increase
801
805
  class Address < Increase::Internal::Type::BaseModel
802
806
  attr_accessor city: String
803
807
 
804
- attr_accessor country: String
805
-
806
808
  attr_accessor line1: String
807
809
 
810
+ attr_reader country: String?
811
+
812
+ def country=: (String) -> String
813
+
808
814
  attr_reader line2: String?
809
815
 
810
816
  def line2=: (String) -> String
@@ -819,8 +825,8 @@ module Increase
819
825
 
820
826
  def initialize: (
821
827
  city: String,
822
- country: String,
823
828
  line1: String,
829
+ ?country: String,
824
830
  ?line2: String,
825
831
  ?state: String,
826
832
  ?zip: String
@@ -828,8 +834,8 @@ module Increase
828
834
 
829
835
  def to_hash: -> {
830
836
  city: String,
831
- country: String,
832
837
  :line1 => String,
838
+ country: String,
833
839
  :line2 => String,
834
840
  state: String,
835
841
  zip: String
@@ -1054,8 +1060,8 @@ module Increase
1054
1060
  type address =
1055
1061
  {
1056
1062
  city: String,
1057
- country: String,
1058
1063
  :line1 => String,
1064
+ country: String,
1059
1065
  :line2 => String,
1060
1066
  state: String,
1061
1067
  zip: String
@@ -1064,10 +1070,12 @@ module Increase
1064
1070
  class Address < Increase::Internal::Type::BaseModel
1065
1071
  attr_accessor city: String
1066
1072
 
1067
- attr_accessor country: String
1068
-
1069
1073
  attr_accessor line1: String
1070
1074
 
1075
+ attr_reader country: String?
1076
+
1077
+ def country=: (String) -> String
1078
+
1071
1079
  attr_reader line2: String?
1072
1080
 
1073
1081
  def line2=: (String) -> String
@@ -1082,8 +1090,8 @@ module Increase
1082
1090
 
1083
1091
  def initialize: (
1084
1092
  city: String,
1085
- country: String,
1086
1093
  line1: String,
1094
+ ?country: String,
1087
1095
  ?line2: String,
1088
1096
  ?state: String,
1089
1097
  ?zip: String
@@ -1091,8 +1099,8 @@ module Increase
1091
1099
 
1092
1100
  def to_hash: -> {
1093
1101
  city: String,
1094
- country: String,
1095
1102
  :line1 => String,
1103
+ country: String,
1096
1104
  :line2 => String,
1097
1105
  state: String,
1098
1106
  zip: String
@@ -1583,8 +1591,8 @@ module Increase
1583
1591
  type address =
1584
1592
  {
1585
1593
  city: String,
1586
- country: String,
1587
1594
  :line1 => String,
1595
+ country: String,
1588
1596
  :line2 => String,
1589
1597
  state: String,
1590
1598
  zip: String
@@ -1593,10 +1601,12 @@ module Increase
1593
1601
  class Address < Increase::Internal::Type::BaseModel
1594
1602
  attr_accessor city: String
1595
1603
 
1596
- attr_accessor country: String
1597
-
1598
1604
  attr_accessor line1: String
1599
1605
 
1606
+ attr_reader country: String?
1607
+
1608
+ def country=: (String) -> String
1609
+
1600
1610
  attr_reader line2: String?
1601
1611
 
1602
1612
  def line2=: (String) -> String
@@ -1611,8 +1621,8 @@ module Increase
1611
1621
 
1612
1622
  def initialize: (
1613
1623
  city: String,
1614
- country: String,
1615
1624
  line1: String,
1625
+ ?country: String,
1616
1626
  ?line2: String,
1617
1627
  ?state: String,
1618
1628
  ?zip: String
@@ -1620,8 +1630,8 @@ module Increase
1620
1630
 
1621
1631
  def to_hash: -> {
1622
1632
  city: String,
1623
- country: String,
1624
1633
  :line1 => String,
1634
+ country: String,
1625
1635
  :line2 => String,
1626
1636
  state: String,
1627
1637
  zip: String
@@ -1846,8 +1856,8 @@ module Increase
1846
1856
  type address =
1847
1857
  {
1848
1858
  city: String,
1849
- country: String,
1850
1859
  :line1 => String,
1860
+ country: String,
1851
1861
  :line2 => String,
1852
1862
  state: String,
1853
1863
  zip: String
@@ -1856,10 +1866,12 @@ module Increase
1856
1866
  class Address < Increase::Internal::Type::BaseModel
1857
1867
  attr_accessor city: String
1858
1868
 
1859
- attr_accessor country: String
1860
-
1861
1869
  attr_accessor line1: String
1862
1870
 
1871
+ attr_reader country: String?
1872
+
1873
+ def country=: (String) -> String
1874
+
1863
1875
  attr_reader line2: String?
1864
1876
 
1865
1877
  def line2=: (String) -> String
@@ -1874,8 +1886,8 @@ module Increase
1874
1886
 
1875
1887
  def initialize: (
1876
1888
  city: String,
1877
- country: String,
1878
1889
  line1: String,
1890
+ ?country: String,
1879
1891
  ?line2: String,
1880
1892
  ?state: String,
1881
1893
  ?zip: String
@@ -1883,8 +1895,8 @@ module Increase
1883
1895
 
1884
1896
  def to_hash: -> {
1885
1897
  city: String,
1886
- country: String,
1887
1898
  :line1 => String,
1899
+ country: String,
1888
1900
  :line2 => String,
1889
1901
  state: String,
1890
1902
  zip: String
@@ -159,8 +159,8 @@ module Increase
159
159
  type address =
160
160
  {
161
161
  city: String,
162
- country: String,
163
162
  :line1 => String,
163
+ country: String,
164
164
  :line2 => String,
165
165
  state: String,
166
166
  zip: String
@@ -169,10 +169,12 @@ module Increase
169
169
  class Address < Increase::Internal::Type::BaseModel
170
170
  attr_accessor city: String
171
171
 
172
- attr_accessor country: String
173
-
174
172
  attr_accessor line1: String
175
173
 
174
+ attr_reader country: String?
175
+
176
+ def country=: (String) -> String
177
+
176
178
  attr_reader line2: String?
177
179
 
178
180
  def line2=: (String) -> String
@@ -187,8 +189,8 @@ module Increase
187
189
 
188
190
  def initialize: (
189
191
  city: String,
190
- country: String,
191
192
  line1: String,
193
+ ?country: String,
192
194
  ?line2: String,
193
195
  ?state: String,
194
196
  ?zip: String
@@ -196,8 +198,8 @@ module Increase
196
198
 
197
199
  def to_hash: -> {
198
200
  city: String,
199
- country: String,
200
201
  :line1 => String,
202
+ country: String,
201
203
  :line2 => String,
202
204
  state: String,
203
205
  zip: String
@@ -358,8 +360,8 @@ module Increase
358
360
  type address =
359
361
  {
360
362
  city: String,
361
- country: String,
362
363
  :line1 => String,
364
+ country: String,
363
365
  :line2 => String,
364
366
  state: String,
365
367
  zip: String
@@ -368,10 +370,12 @@ module Increase
368
370
  class Address < Increase::Internal::Type::BaseModel
369
371
  attr_accessor city: String
370
372
 
371
- attr_accessor country: String
372
-
373
373
  attr_accessor line1: String
374
374
 
375
+ attr_reader country: String?
376
+
377
+ def country=: (String) -> String
378
+
375
379
  attr_reader line2: String?
376
380
 
377
381
  def line2=: (String) -> String
@@ -386,8 +390,8 @@ module Increase
386
390
 
387
391
  def initialize: (
388
392
  city: String,
389
- country: String,
390
393
  line1: String,
394
+ ?country: String,
391
395
  ?line2: String,
392
396
  ?state: String,
393
397
  ?zip: String
@@ -395,8 +399,8 @@ module Increase
395
399
 
396
400
  def to_hash: -> {
397
401
  city: String,
398
- country: String,
399
402
  :line1 => String,
403
+ country: String,
400
404
  :line2 => String,
401
405
  state: String,
402
406
  zip: String
@@ -103,6 +103,8 @@ module Increase
103
103
  | :"inbound_fednow_transfer.updated"
104
104
  | :"inbound_mail_item.created"
105
105
  | :"inbound_mail_item.updated"
106
+ | :"inbound_real_time_payments_request_for_payment.created"
107
+ | :"inbound_real_time_payments_request_for_payment.updated"
106
108
  | :"inbound_real_time_payments_transfer.created"
107
109
  | :"inbound_real_time_payments_transfer.updated"
108
110
  | :"inbound_wire_drawdown_request.created"
@@ -342,6 +344,12 @@ module Increase
342
344
  # Occurs whenever an Inbound Mail Item is updated.
343
345
  INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
344
346
 
347
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
348
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
349
+
350
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
351
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
352
+
345
353
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
346
354
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
347
355
 
@@ -145,6 +145,8 @@ module Increase
145
145
  | :"inbound_fednow_transfer.updated"
146
146
  | :"inbound_mail_item.created"
147
147
  | :"inbound_mail_item.updated"
148
+ | :"inbound_real_time_payments_request_for_payment.created"
149
+ | :"inbound_real_time_payments_request_for_payment.updated"
148
150
  | :"inbound_real_time_payments_transfer.created"
149
151
  | :"inbound_real_time_payments_transfer.updated"
150
152
  | :"inbound_wire_drawdown_request.created"
@@ -384,6 +386,12 @@ module Increase
384
386
  # Occurs whenever an Inbound Mail Item is updated.
385
387
  INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
386
388
 
389
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
390
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
391
+
392
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
393
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
394
+
387
395
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
388
396
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
389
397
 
@@ -129,6 +129,8 @@ module Increase
129
129
  | :"inbound_fednow_transfer.updated"
130
130
  | :"inbound_mail_item.created"
131
131
  | :"inbound_mail_item.updated"
132
+ | :"inbound_real_time_payments_request_for_payment.created"
133
+ | :"inbound_real_time_payments_request_for_payment.updated"
132
134
  | :"inbound_real_time_payments_transfer.created"
133
135
  | :"inbound_real_time_payments_transfer.updated"
134
136
  | :"inbound_wire_drawdown_request.created"
@@ -368,6 +370,12 @@ module Increase
368
370
  # Occurs whenever an Inbound Mail Item is updated.
369
371
  INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
370
372
 
373
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
374
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
375
+
376
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
377
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
378
+
371
379
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
372
380
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
373
381
 
@@ -132,6 +132,8 @@ module Increase
132
132
  | :"inbound_fednow_transfer.updated"
133
133
  | :"inbound_mail_item.created"
134
134
  | :"inbound_mail_item.updated"
135
+ | :"inbound_real_time_payments_request_for_payment.created"
136
+ | :"inbound_real_time_payments_request_for_payment.updated"
135
137
  | :"inbound_real_time_payments_transfer.created"
136
138
  | :"inbound_real_time_payments_transfer.updated"
137
139
  | :"inbound_wire_drawdown_request.created"
@@ -371,6 +373,12 @@ module Increase
371
373
  # Occurs whenever an Inbound Mail Item is updated.
372
374
  INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
373
375
 
376
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
377
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
378
+
379
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
380
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
381
+
374
382
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
375
383
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
376
384
 
@@ -12,10 +12,12 @@ module Increase
12
12
  :creditor_address_line2 => String?,
13
13
  :creditor_address_line3 => String?,
14
14
  creditor_name: String?,
15
+ debtor_account_number: String?,
15
16
  :debtor_address_line1 => String?,
16
17
  :debtor_address_line2 => String?,
17
18
  :debtor_address_line3 => String?,
18
19
  debtor_name: String?,
20
+ debtor_routing_number: String?,
19
21
  description: String,
20
22
  end_to_end_identification: String?,
21
23
  input_message_accountability_data: String?,
@@ -51,6 +53,8 @@ module Increase
51
53
 
52
54
  attr_accessor creditor_name: String?
53
55
 
56
+ attr_accessor debtor_account_number: String?
57
+
54
58
  attr_accessor debtor_address_line1: String?
55
59
 
56
60
  attr_accessor debtor_address_line2: String?
@@ -59,6 +63,8 @@ module Increase
59
63
 
60
64
  attr_accessor debtor_name: String?
61
65
 
66
+ attr_accessor debtor_routing_number: String?
67
+
62
68
  attr_accessor description: String
63
69
 
64
70
  attr_accessor end_to_end_identification: String?
@@ -94,10 +100,12 @@ module Increase
94
100
  creditor_address_line2: String?,
95
101
  creditor_address_line3: String?,
96
102
  creditor_name: String?,
103
+ debtor_account_number: String?,
97
104
  debtor_address_line1: String?,
98
105
  debtor_address_line2: String?,
99
106
  debtor_address_line3: String?,
100
107
  debtor_name: String?,
108
+ debtor_routing_number: String?,
101
109
  description: String,
102
110
  end_to_end_identification: String?,
103
111
  input_message_accountability_data: String?,
@@ -123,10 +131,12 @@ module Increase
123
131
  :creditor_address_line2 => String?,
124
132
  :creditor_address_line3 => String?,
125
133
  creditor_name: String?,
134
+ debtor_account_number: String?,
126
135
  :debtor_address_line1 => String?,
127
136
  :debtor_address_line2 => String?,
128
137
  :debtor_address_line3 => String?,
129
138
  debtor_name: String?,
139
+ debtor_routing_number: String?,
130
140
  description: String,
131
141
  end_to_end_identification: String?,
132
142
  input_message_accountability_data: String?,
@@ -4,6 +4,7 @@ module Increase
4
4
  type ach_transfer_return_params =
5
5
  {
6
6
  ach_transfer_id: String,
7
+ addenda_information: String,
7
8
  reason: Increase::Models::Simulations::ACHTransferReturnParams::reason
8
9
  }
9
10
  & Increase::Internal::Type::request_parameters
@@ -14,6 +15,10 @@ module Increase
14
15
 
15
16
  attr_accessor ach_transfer_id: String
16
17
 
18
+ attr_reader addenda_information: String?
19
+
20
+ def addenda_information=: (String) -> String
21
+
17
22
  attr_reader reason: Increase::Models::Simulations::ACHTransferReturnParams::reason?
18
23
 
19
24
  def reason=: (
@@ -22,12 +27,14 @@ module Increase
22
27
 
23
28
  def initialize: (
24
29
  ach_transfer_id: String,
30
+ ?addenda_information: String,
25
31
  ?reason: Increase::Models::Simulations::ACHTransferReturnParams::reason,
26
32
  ?request_options: Increase::request_opts
27
33
  ) -> void
28
34
 
29
35
  def to_hash: -> {
30
36
  ach_transfer_id: String,
37
+ addenda_information: String,
31
38
  reason: Increase::Models::Simulations::ACHTransferReturnParams::reason,
32
39
  request_options: Increase::RequestOptions
33
40
  }
@@ -155,7 +162,7 @@ module Increase
155
162
  # Code R13. The routing number is invalid.
156
163
  INVALID_ACH_ROUTING_NUMBER: :invalid_ach_routing_number
157
164
 
158
- # Code R17. The receiving bank is unable to process a field in the transfer.
165
+ # 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.
159
166
  FILE_RECORD_EDIT_CRITERIA: :file_record_edit_criteria
160
167
 
161
168
  # Code R45. A rare return reason. The individual name field was invalid.
@@ -2,7 +2,7 @@ module Increase
2
2
  module Models
3
3
  module Simulations
4
4
  type card_settlement_create_params =
5
- { card_id: String, pending_transaction_id: String, amount: Integer }
5
+ { card_id: String, amount: Integer, pending_transaction_id: String }
6
6
  & Increase::Internal::Type::request_parameters
7
7
 
8
8
  class CardSettlementCreateParams < Increase::Internal::Type::BaseModel
@@ -11,23 +11,25 @@ module Increase
11
11
 
12
12
  attr_accessor card_id: String
13
13
 
14
- attr_accessor pending_transaction_id: String
15
-
16
14
  attr_reader amount: Integer?
17
15
 
18
16
  def amount=: (Integer) -> Integer
19
17
 
18
+ attr_reader pending_transaction_id: String?
19
+
20
+ def pending_transaction_id=: (String) -> String
21
+
20
22
  def initialize: (
21
23
  card_id: String,
22
- pending_transaction_id: String,
23
24
  ?amount: Integer,
25
+ ?pending_transaction_id: String,
24
26
  ?request_options: Increase::request_opts
25
27
  ) -> void
26
28
 
27
29
  def to_hash: -> {
28
30
  card_id: String,
29
- pending_transaction_id: String,
30
31
  amount: Integer,
32
+ pending_transaction_id: String,
31
33
  request_options: Increase::RequestOptions
32
34
  }
33
35
  end
@@ -46,11 +46,7 @@ module Increase
46
46
  request_options: Increase::RequestOptions
47
47
  }
48
48
 
49
- type bank =
50
- :core_bank
51
- | :first_internet_bank
52
- | :grasshopper_bank
53
- | :twin_city_bank
49
+ type bank = :core_bank | :first_internet_bank | :grasshopper_bank
54
50
 
55
51
  module Bank
56
52
  extend Increase::Internal::Type::Enum
@@ -64,9 +60,6 @@ module Increase
64
60
  # Grasshopper Bank
65
61
  GRASSHOPPER_BANK: :grasshopper_bank
66
62
 
67
- # Twin City Bank
68
- TWIN_CITY_BANK: :twin_city_bank
69
-
70
63
  def self?.values: -> ::Array[Increase::Models::Simulations::ProgramCreateParams::bank]
71
64
  end
72
65
  end
@@ -16,6 +16,7 @@ module Increase
16
16
  idempotency_key: String?,
17
17
  instructed_amount: Integer,
18
18
  instructed_currency: Increase::Models::SwiftTransfer::instructed_currency,
19
+ intermediary_bank_identification_code: String?,
19
20
  pending_transaction_id: String?,
20
21
  routing_number: String?,
21
22
  source_account_number_id: String,
@@ -55,6 +56,8 @@ module Increase
55
56
 
56
57
  attr_accessor instructed_currency: Increase::Models::SwiftTransfer::instructed_currency
57
58
 
59
+ attr_accessor intermediary_bank_identification_code: String?
60
+
58
61
  attr_accessor pending_transaction_id: String?
59
62
 
60
63
  attr_accessor routing_number: String?
@@ -86,6 +89,7 @@ module Increase
86
89
  idempotency_key: String?,
87
90
  instructed_amount: Integer,
88
91
  instructed_currency: Increase::Models::SwiftTransfer::instructed_currency,
92
+ intermediary_bank_identification_code: String?,
89
93
  pending_transaction_id: String?,
90
94
  routing_number: String?,
91
95
  source_account_number_id: String,
@@ -111,6 +115,7 @@ module Increase
111
115
  idempotency_key: String?,
112
116
  instructed_amount: Integer,
113
117
  instructed_currency: Increase::Models::SwiftTransfer::instructed_currency,
118
+ intermediary_bank_identification_code: String?,
114
119
  pending_transaction_id: String?,
115
120
  routing_number: String?,
116
121
  source_account_number_id: String,
@@ -13,6 +13,7 @@ module Increase
13
13
  instructed_currency: Increase::Models::SwiftTransferCreateParams::instructed_currency,
14
14
  source_account_number_id: String,
15
15
  unstructured_remittance_information: String,
16
+ intermediary_bank_identification_code: String,
16
17
  require_approval: bool,
17
18
  routing_number: String
18
19
  }
@@ -44,6 +45,10 @@ module Increase
44
45
 
45
46
  attr_accessor unstructured_remittance_information: String
46
47
 
48
+ attr_reader intermediary_bank_identification_code: String?
49
+
50
+ def intermediary_bank_identification_code=: (String) -> String
51
+
47
52
  attr_reader require_approval: bool?
48
53
 
49
54
  def require_approval=: (bool) -> bool
@@ -64,6 +69,7 @@ module Increase
64
69
  instructed_currency: Increase::Models::SwiftTransferCreateParams::instructed_currency,
65
70
  source_account_number_id: String,
66
71
  unstructured_remittance_information: String,
72
+ ?intermediary_bank_identification_code: String,
67
73
  ?require_approval: bool,
68
74
  ?routing_number: String,
69
75
  ?request_options: Increase::request_opts
@@ -81,6 +87,7 @@ module Increase
81
87
  instructed_currency: Increase::Models::SwiftTransferCreateParams::instructed_currency,
82
88
  source_account_number_id: String,
83
89
  unstructured_remittance_information: String,
90
+ intermediary_bank_identification_code: String,
84
91
  require_approval: bool,
85
92
  routing_number: String,
86
93
  request_options: Increase::RequestOptions