increase 1.129.1 → 1.131.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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/account.rb +0 -15
  5. data/lib/increase/models/account_transfer.rb +0 -15
  6. data/lib/increase/models/ach_transfer.rb +0 -30
  7. data/lib/increase/models/card_payment.rb +0 -210
  8. data/lib/increase/models/card_push_transfer.rb +0 -15
  9. data/lib/increase/models/check_deposit.rb +0 -60
  10. data/lib/increase/models/check_transfer.rb +0 -15
  11. data/lib/increase/models/declined_transaction.rb +0 -60
  12. data/lib/increase/models/fednow_transfer.rb +0 -15
  13. data/lib/increase/models/inbound_check_deposit.rb +0 -15
  14. data/lib/increase/models/inbound_fednow_transfer.rb +0 -15
  15. data/lib/increase/models/inbound_real_time_payments_transfer.rb +0 -15
  16. data/lib/increase/models/intrafi_balance.rb +0 -15
  17. data/lib/increase/models/lockbox.rb +16 -16
  18. data/lib/increase/models/lockbox_update_params.rb +14 -14
  19. data/lib/increase/models/pending_transaction.rb +0 -90
  20. data/lib/increase/models/real_time_payments_transfer.rb +0 -15
  21. data/lib/increase/models/transaction.rb +0 -255
  22. data/lib/increase/models/wire_transfer.rb +0 -15
  23. data/lib/increase/resources/lockboxes.rb +3 -3
  24. data/lib/increase/version.rb +1 -1
  25. data/rbi/increase/models/account.rbi +0 -15
  26. data/rbi/increase/models/account_transfer.rbi +0 -15
  27. data/rbi/increase/models/ach_transfer.rbi +0 -50
  28. data/rbi/increase/models/card_payment.rbi +0 -490
  29. data/rbi/increase/models/card_push_transfer.rbi +0 -15
  30. data/rbi/increase/models/check_deposit.rbi +0 -140
  31. data/rbi/increase/models/check_transfer.rbi +0 -15
  32. data/rbi/increase/models/declined_transaction.rbi +0 -120
  33. data/rbi/increase/models/fednow_transfer.rbi +0 -15
  34. data/rbi/increase/models/inbound_check_deposit.rbi +0 -15
  35. data/rbi/increase/models/inbound_fednow_transfer.rbi +0 -20
  36. data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +0 -35
  37. data/rbi/increase/models/intrafi_balance.rbi +0 -15
  38. data/rbi/increase/models/lockbox.rbi +28 -16
  39. data/rbi/increase/models/lockbox_update_params.rbi +44 -25
  40. data/rbi/increase/models/pending_transaction.rbi +0 -190
  41. data/rbi/increase/models/real_time_payments_transfer.rbi +0 -35
  42. data/rbi/increase/models/transaction.rbi +0 -575
  43. data/rbi/increase/models/wire_transfer.rbi +0 -15
  44. data/rbi/increase/resources/lockboxes.rbi +4 -3
  45. data/sig/increase/models/account.rbs +1 -16
  46. data/sig/increase/models/account_transfer.rbs +1 -16
  47. data/sig/increase/models/ach_transfer.rbs +2 -32
  48. data/sig/increase/models/card_payment.rbs +14 -224
  49. data/sig/increase/models/card_push_transfer.rbs +1 -16
  50. data/sig/increase/models/check_deposit.rbs +4 -64
  51. data/sig/increase/models/check_transfer.rbs +1 -16
  52. data/sig/increase/models/declined_transaction.rbs +4 -64
  53. data/sig/increase/models/fednow_transfer.rbs +1 -16
  54. data/sig/increase/models/inbound_check_deposit.rbs +1 -16
  55. data/sig/increase/models/inbound_fednow_transfer.rbs +1 -16
  56. data/sig/increase/models/inbound_real_time_payments_transfer.rbs +1 -16
  57. data/sig/increase/models/intrafi_balance.rbs +1 -16
  58. data/sig/increase/models/lockbox.rbs +12 -12
  59. data/sig/increase/models/lockbox_update_params.rbs +17 -17
  60. data/sig/increase/models/pending_transaction.rbs +6 -96
  61. data/sig/increase/models/real_time_payments_transfer.rbs +1 -16
  62. data/sig/increase/models/transaction.rbs +17 -272
  63. data/sig/increase/models/wire_transfer.rbs +1 -16
  64. data/sig/increase/resources/lockboxes.rbs +1 -1
  65. metadata +2 -2
@@ -354,41 +354,6 @@ module Increase
354
354
  end
355
355
  OrSymbol = T.type_alias { T.any(Symbol, String) }
356
356
 
357
- # Canadian Dollar (CAD)
358
- CAD =
359
- T.let(
360
- :CAD,
361
- Increase::CheckDeposit::DepositAcceptance::Currency::TaggedSymbol
362
- )
363
-
364
- # Swiss Franc (CHF)
365
- CHF =
366
- T.let(
367
- :CHF,
368
- Increase::CheckDeposit::DepositAcceptance::Currency::TaggedSymbol
369
- )
370
-
371
- # Euro (EUR)
372
- EUR =
373
- T.let(
374
- :EUR,
375
- Increase::CheckDeposit::DepositAcceptance::Currency::TaggedSymbol
376
- )
377
-
378
- # British Pound (GBP)
379
- GBP =
380
- T.let(
381
- :GBP,
382
- Increase::CheckDeposit::DepositAcceptance::Currency::TaggedSymbol
383
- )
384
-
385
- # Japanese Yen (JPY)
386
- JPY =
387
- T.let(
388
- :JPY,
389
- Increase::CheckDeposit::DepositAcceptance::Currency::TaggedSymbol
390
- )
391
-
392
357
  # US Dollar (USD)
393
358
  USD =
394
359
  T.let(
@@ -512,41 +477,6 @@ module Increase
512
477
  end
513
478
  OrSymbol = T.type_alias { T.any(Symbol, String) }
514
479
 
515
- # Canadian Dollar (CAD)
516
- CAD =
517
- T.let(
518
- :CAD,
519
- Increase::CheckDeposit::DepositRejection::Currency::TaggedSymbol
520
- )
521
-
522
- # Swiss Franc (CHF)
523
- CHF =
524
- T.let(
525
- :CHF,
526
- Increase::CheckDeposit::DepositRejection::Currency::TaggedSymbol
527
- )
528
-
529
- # Euro (EUR)
530
- EUR =
531
- T.let(
532
- :EUR,
533
- Increase::CheckDeposit::DepositRejection::Currency::TaggedSymbol
534
- )
535
-
536
- # British Pound (GBP)
537
- GBP =
538
- T.let(
539
- :GBP,
540
- Increase::CheckDeposit::DepositRejection::Currency::TaggedSymbol
541
- )
542
-
543
- # Japanese Yen (JPY)
544
- JPY =
545
- T.let(
546
- :JPY,
547
- Increase::CheckDeposit::DepositRejection::Currency::TaggedSymbol
548
- )
549
-
550
480
  # US Dollar (USD)
551
481
  USD =
552
482
  T.let(
@@ -768,41 +698,6 @@ module Increase
768
698
  end
769
699
  OrSymbol = T.type_alias { T.any(Symbol, String) }
770
700
 
771
- # Canadian Dollar (CAD)
772
- CAD =
773
- T.let(
774
- :CAD,
775
- Increase::CheckDeposit::DepositReturn::Currency::TaggedSymbol
776
- )
777
-
778
- # Swiss Franc (CHF)
779
- CHF =
780
- T.let(
781
- :CHF,
782
- Increase::CheckDeposit::DepositReturn::Currency::TaggedSymbol
783
- )
784
-
785
- # Euro (EUR)
786
- EUR =
787
- T.let(
788
- :EUR,
789
- Increase::CheckDeposit::DepositReturn::Currency::TaggedSymbol
790
- )
791
-
792
- # British Pound (GBP)
793
- GBP =
794
- T.let(
795
- :GBP,
796
- Increase::CheckDeposit::DepositReturn::Currency::TaggedSymbol
797
- )
798
-
799
- # Japanese Yen (JPY)
800
- JPY =
801
- T.let(
802
- :JPY,
803
- Increase::CheckDeposit::DepositReturn::Currency::TaggedSymbol
804
- )
805
-
806
701
  # US Dollar (USD)
807
702
  USD =
808
703
  T.let(
@@ -1217,41 +1112,6 @@ module Increase
1217
1112
  end
1218
1113
  OrSymbol = T.type_alias { T.any(Symbol, String) }
1219
1114
 
1220
- # Canadian Dollar (CAD)
1221
- CAD =
1222
- T.let(
1223
- :CAD,
1224
- Increase::CheckDeposit::InboundFundsHold::Currency::TaggedSymbol
1225
- )
1226
-
1227
- # Swiss Franc (CHF)
1228
- CHF =
1229
- T.let(
1230
- :CHF,
1231
- Increase::CheckDeposit::InboundFundsHold::Currency::TaggedSymbol
1232
- )
1233
-
1234
- # Euro (EUR)
1235
- EUR =
1236
- T.let(
1237
- :EUR,
1238
- Increase::CheckDeposit::InboundFundsHold::Currency::TaggedSymbol
1239
- )
1240
-
1241
- # British Pound (GBP)
1242
- GBP =
1243
- T.let(
1244
- :GBP,
1245
- Increase::CheckDeposit::InboundFundsHold::Currency::TaggedSymbol
1246
- )
1247
-
1248
- # Japanese Yen (JPY)
1249
- JPY =
1250
- T.let(
1251
- :JPY,
1252
- Increase::CheckDeposit::InboundFundsHold::Currency::TaggedSymbol
1253
- )
1254
-
1255
1115
  # US Dollar (USD)
1256
1116
  USD =
1257
1117
  T.let(
@@ -660,21 +660,6 @@ module Increase
660
660
  T.type_alias { T.all(Symbol, Increase::CheckTransfer::Currency) }
661
661
  OrSymbol = T.type_alias { T.any(Symbol, String) }
662
662
 
663
- # Canadian Dollar (CAD)
664
- CAD = T.let(:CAD, Increase::CheckTransfer::Currency::TaggedSymbol)
665
-
666
- # Swiss Franc (CHF)
667
- CHF = T.let(:CHF, Increase::CheckTransfer::Currency::TaggedSymbol)
668
-
669
- # Euro (EUR)
670
- EUR = T.let(:EUR, Increase::CheckTransfer::Currency::TaggedSymbol)
671
-
672
- # British Pound (GBP)
673
- GBP = T.let(:GBP, Increase::CheckTransfer::Currency::TaggedSymbol)
674
-
675
- # Japanese Yen (JPY)
676
- JPY = T.let(:JPY, Increase::CheckTransfer::Currency::TaggedSymbol)
677
-
678
663
  # US Dollar (USD)
679
664
  USD = T.let(:USD, Increase::CheckTransfer::Currency::TaggedSymbol)
680
665
 
@@ -149,21 +149,6 @@ module Increase
149
149
  end
150
150
  OrSymbol = T.type_alias { T.any(Symbol, String) }
151
151
 
152
- # Canadian Dollar (CAD)
153
- CAD = T.let(:CAD, Increase::DeclinedTransaction::Currency::TaggedSymbol)
154
-
155
- # Swiss Franc (CHF)
156
- CHF = T.let(:CHF, Increase::DeclinedTransaction::Currency::TaggedSymbol)
157
-
158
- # Euro (EUR)
159
- EUR = T.let(:EUR, Increase::DeclinedTransaction::Currency::TaggedSymbol)
160
-
161
- # British Pound (GBP)
162
- GBP = T.let(:GBP, Increase::DeclinedTransaction::Currency::TaggedSymbol)
163
-
164
- # Japanese Yen (JPY)
165
- JPY = T.let(:JPY, Increase::DeclinedTransaction::Currency::TaggedSymbol)
166
-
167
152
  # US Dollar (USD)
168
153
  USD = T.let(:USD, Increase::DeclinedTransaction::Currency::TaggedSymbol)
169
154
 
@@ -2001,41 +1986,6 @@ module Increase
2001
1986
  end
2002
1987
  OrSymbol = T.type_alias { T.any(Symbol, String) }
2003
1988
 
2004
- # Canadian Dollar (CAD)
2005
- CAD =
2006
- T.let(
2007
- :CAD,
2008
- Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
2009
- )
2010
-
2011
- # Swiss Franc (CHF)
2012
- CHF =
2013
- T.let(
2014
- :CHF,
2015
- Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
2016
- )
2017
-
2018
- # Euro (EUR)
2019
- EUR =
2020
- T.let(
2021
- :EUR,
2022
- Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
2023
- )
2024
-
2025
- # British Pound (GBP)
2026
- GBP =
2027
- T.let(
2028
- :GBP,
2029
- Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
2030
- )
2031
-
2032
- # Japanese Yen (JPY)
2033
- JPY =
2034
- T.let(
2035
- :JPY,
2036
- Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
2037
- )
2038
-
2039
1989
  # US Dollar (USD)
2040
1990
  USD =
2041
1991
  T.let(
@@ -3731,41 +3681,6 @@ module Increase
3731
3681
  end
3732
3682
  OrSymbol = T.type_alias { T.any(Symbol, String) }
3733
3683
 
3734
- # Canadian Dollar (CAD)
3735
- CAD =
3736
- T.let(
3737
- :CAD,
3738
- Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
3739
- )
3740
-
3741
- # Swiss Franc (CHF)
3742
- CHF =
3743
- T.let(
3744
- :CHF,
3745
- Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
3746
- )
3747
-
3748
- # Euro (EUR)
3749
- EUR =
3750
- T.let(
3751
- :EUR,
3752
- Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
3753
- )
3754
-
3755
- # British Pound (GBP)
3756
- GBP =
3757
- T.let(
3758
- :GBP,
3759
- Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
3760
- )
3761
-
3762
- # Japanese Yen (JPY)
3763
- JPY =
3764
- T.let(
3765
- :JPY,
3766
- Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
3767
- )
3768
-
3769
3684
  # US Dollar (USD)
3770
3685
  USD =
3771
3686
  T.let(
@@ -4146,41 +4061,6 @@ module Increase
4146
4061
  end
4147
4062
  OrSymbol = T.type_alias { T.any(Symbol, String) }
4148
4063
 
4149
- # Canadian Dollar (CAD)
4150
- CAD =
4151
- T.let(
4152
- :CAD,
4153
- Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
4154
- )
4155
-
4156
- # Swiss Franc (CHF)
4157
- CHF =
4158
- T.let(
4159
- :CHF,
4160
- Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
4161
- )
4162
-
4163
- # Euro (EUR)
4164
- EUR =
4165
- T.let(
4166
- :EUR,
4167
- Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
4168
- )
4169
-
4170
- # British Pound (GBP)
4171
- GBP =
4172
- T.let(
4173
- :GBP,
4174
- Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
4175
- )
4176
-
4177
- # Japanese Yen (JPY)
4178
- JPY =
4179
- T.let(
4180
- :JPY,
4181
- Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
4182
- )
4183
-
4184
4064
  # US Dollar (USD)
4185
4065
  USD =
4186
4066
  T.let(
@@ -517,21 +517,6 @@ module Increase
517
517
  T.type_alias { T.all(Symbol, Increase::FednowTransfer::Currency) }
518
518
  OrSymbol = T.type_alias { T.any(Symbol, String) }
519
519
 
520
- # Canadian Dollar (CAD)
521
- CAD = T.let(:CAD, Increase::FednowTransfer::Currency::TaggedSymbol)
522
-
523
- # Swiss Franc (CHF)
524
- CHF = T.let(:CHF, Increase::FednowTransfer::Currency::TaggedSymbol)
525
-
526
- # Euro (EUR)
527
- EUR = T.let(:EUR, Increase::FednowTransfer::Currency::TaggedSymbol)
528
-
529
- # British Pound (GBP)
530
- GBP = T.let(:GBP, Increase::FednowTransfer::Currency::TaggedSymbol)
531
-
532
- # Japanese Yen (JPY)
533
- JPY = T.let(:JPY, Increase::FednowTransfer::Currency::TaggedSymbol)
534
-
535
520
  # US Dollar (USD)
536
521
  USD = T.let(:USD, Increase::FednowTransfer::Currency::TaggedSymbol)
537
522
 
@@ -353,21 +353,6 @@ module Increase
353
353
  end
354
354
  OrSymbol = T.type_alias { T.any(Symbol, String) }
355
355
 
356
- # Canadian Dollar (CAD)
357
- CAD = T.let(:CAD, Increase::InboundCheckDeposit::Currency::TaggedSymbol)
358
-
359
- # Swiss Franc (CHF)
360
- CHF = T.let(:CHF, Increase::InboundCheckDeposit::Currency::TaggedSymbol)
361
-
362
- # Euro (EUR)
363
- EUR = T.let(:EUR, Increase::InboundCheckDeposit::Currency::TaggedSymbol)
364
-
365
- # British Pound (GBP)
366
- GBP = T.let(:GBP, Increase::InboundCheckDeposit::Currency::TaggedSymbol)
367
-
368
- # Japanese Yen (JPY)
369
- JPY = T.let(:JPY, Increase::InboundCheckDeposit::Currency::TaggedSymbol)
370
-
371
356
  # US Dollar (USD)
372
357
  USD = T.let(:USD, Increase::InboundCheckDeposit::Currency::TaggedSymbol)
373
358
 
@@ -217,26 +217,6 @@ module Increase
217
217
  end
218
218
  OrSymbol = T.type_alias { T.any(Symbol, String) }
219
219
 
220
- # Canadian Dollar (CAD)
221
- CAD =
222
- T.let(:CAD, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
223
-
224
- # Swiss Franc (CHF)
225
- CHF =
226
- T.let(:CHF, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
227
-
228
- # Euro (EUR)
229
- EUR =
230
- T.let(:EUR, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
231
-
232
- # British Pound (GBP)
233
- GBP =
234
- T.let(:GBP, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
235
-
236
- # Japanese Yen (JPY)
237
- JPY =
238
- T.let(:JPY, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
239
-
240
220
  # US Dollar (USD)
241
221
  USD =
242
222
  T.let(:USD, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
@@ -258,41 +258,6 @@ module Increase
258
258
  end
259
259
  OrSymbol = T.type_alias { T.any(Symbol, String) }
260
260
 
261
- # Canadian Dollar (CAD)
262
- CAD =
263
- T.let(
264
- :CAD,
265
- Increase::InboundRealTimePaymentsTransfer::Currency::TaggedSymbol
266
- )
267
-
268
- # Swiss Franc (CHF)
269
- CHF =
270
- T.let(
271
- :CHF,
272
- Increase::InboundRealTimePaymentsTransfer::Currency::TaggedSymbol
273
- )
274
-
275
- # Euro (EUR)
276
- EUR =
277
- T.let(
278
- :EUR,
279
- Increase::InboundRealTimePaymentsTransfer::Currency::TaggedSymbol
280
- )
281
-
282
- # British Pound (GBP)
283
- GBP =
284
- T.let(
285
- :GBP,
286
- Increase::InboundRealTimePaymentsTransfer::Currency::TaggedSymbol
287
- )
288
-
289
- # Japanese Yen (JPY)
290
- JPY =
291
- T.let(
292
- :JPY,
293
- Increase::InboundRealTimePaymentsTransfer::Currency::TaggedSymbol
294
- )
295
-
296
261
  # US Dollar (USD)
297
262
  USD =
298
263
  T.let(
@@ -210,21 +210,6 @@ module Increase
210
210
  T.type_alias { T.all(Symbol, Increase::IntrafiBalance::Currency) }
211
211
  OrSymbol = T.type_alias { T.any(Symbol, String) }
212
212
 
213
- # Canadian Dollar (CAD)
214
- CAD = T.let(:CAD, Increase::IntrafiBalance::Currency::TaggedSymbol)
215
-
216
- # Swiss Franc (CHF)
217
- CHF = T.let(:CHF, Increase::IntrafiBalance::Currency::TaggedSymbol)
218
-
219
- # Euro (EUR)
220
- EUR = T.let(:EUR, Increase::IntrafiBalance::Currency::TaggedSymbol)
221
-
222
- # British Pound (GBP)
223
- GBP = T.let(:GBP, Increase::IntrafiBalance::Currency::TaggedSymbol)
224
-
225
- # Japanese Yen (JPY)
226
- JPY = T.let(:JPY, Increase::IntrafiBalance::Currency::TaggedSymbol)
227
-
228
213
  # US Dollar (USD)
229
214
  USD = T.let(:USD, Increase::IntrafiBalance::Currency::TaggedSymbol)
230
215
 
@@ -22,6 +22,10 @@ module Increase
22
22
  sig { params(address: Increase::Lockbox::Address::OrHash).void }
23
23
  attr_writer :address
24
24
 
25
+ # Indicates if checks mailed to this lockbox will be deposited.
26
+ sig { returns(Increase::Lockbox::CheckDepositBehavior::TaggedSymbol) }
27
+ attr_accessor :check_deposit_behavior
28
+
25
29
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
26
30
  # was created.
27
31
  sig { returns(Time) }
@@ -41,10 +45,6 @@ module Increase
41
45
  sig { returns(T.nilable(String)) }
42
46
  attr_accessor :recipient_name
43
47
 
44
- # This indicates if mail can be sent to this address.
45
- sig { returns(Increase::Lockbox::Status::TaggedSymbol) }
46
- attr_accessor :status
47
-
48
48
  # A constant representing the object's type. For this resource it will always be
49
49
  # `lockbox`.
50
50
  sig { returns(Increase::Lockbox::Type::TaggedSymbol) }
@@ -57,11 +57,12 @@ module Increase
57
57
  id: String,
58
58
  account_id: String,
59
59
  address: Increase::Lockbox::Address::OrHash,
60
+ check_deposit_behavior:
61
+ Increase::Lockbox::CheckDepositBehavior::OrSymbol,
60
62
  created_at: Time,
61
63
  description: T.nilable(String),
62
64
  idempotency_key: T.nilable(String),
63
65
  recipient_name: T.nilable(String),
64
- status: Increase::Lockbox::Status::OrSymbol,
65
66
  type: Increase::Lockbox::Type::OrSymbol
66
67
  ).returns(T.attached_class)
67
68
  end
@@ -73,6 +74,8 @@ module Increase
73
74
  account_id:,
74
75
  # The mailing address for the Lockbox.
75
76
  address:,
77
+ # Indicates if checks mailed to this lockbox will be deposited.
78
+ check_deposit_behavior:,
76
79
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
77
80
  # was created.
78
81
  created_at:,
@@ -84,8 +87,6 @@ module Increase
84
87
  idempotency_key:,
85
88
  # The recipient name you choose for the Lockbox.
86
89
  recipient_name:,
87
- # This indicates if mail can be sent to this address.
88
- status:,
89
90
  # A constant representing the object's type. For this resource it will always be
90
91
  # `lockbox`.
91
92
  type:
@@ -98,11 +99,12 @@ module Increase
98
99
  id: String,
99
100
  account_id: String,
100
101
  address: Increase::Lockbox::Address,
102
+ check_deposit_behavior:
103
+ Increase::Lockbox::CheckDepositBehavior::TaggedSymbol,
101
104
  created_at: Time,
102
105
  description: T.nilable(String),
103
106
  idempotency_key: T.nilable(String),
104
107
  recipient_name: T.nilable(String),
105
- status: Increase::Lockbox::Status::TaggedSymbol,
106
108
  type: Increase::Lockbox::Type::TaggedSymbol
107
109
  }
108
110
  )
@@ -191,21 +193,31 @@ module Increase
191
193
  end
192
194
  end
193
195
 
194
- # This indicates if mail can be sent to this address.
195
- module Status
196
+ # Indicates if checks mailed to this lockbox will be deposited.
197
+ module CheckDepositBehavior
196
198
  extend Increase::Internal::Type::Enum
197
199
 
198
- TaggedSymbol = T.type_alias { T.all(Symbol, Increase::Lockbox::Status) }
200
+ TaggedSymbol =
201
+ T.type_alias do
202
+ T.all(Symbol, Increase::Lockbox::CheckDepositBehavior)
203
+ end
199
204
  OrSymbol = T.type_alias { T.any(Symbol, String) }
200
205
 
201
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
202
- ACTIVE = T.let(:active, Increase::Lockbox::Status::TaggedSymbol)
206
+ # Checks mailed to this Lockbox will be deposited.
207
+ ENABLED =
208
+ T.let(:enabled, Increase::Lockbox::CheckDepositBehavior::TaggedSymbol)
203
209
 
204
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
205
- INACTIVE = T.let(:inactive, Increase::Lockbox::Status::TaggedSymbol)
210
+ # Checks mailed to this Lockbox will not be deposited.
211
+ DISABLED =
212
+ T.let(
213
+ :disabled,
214
+ Increase::Lockbox::CheckDepositBehavior::TaggedSymbol
215
+ )
206
216
 
207
217
  sig do
208
- override.returns(T::Array[Increase::Lockbox::Status::TaggedSymbol])
218
+ override.returns(
219
+ T::Array[Increase::Lockbox::CheckDepositBehavior::TaggedSymbol]
220
+ )
209
221
  end
210
222
  def self.values
211
223
  end
@@ -11,6 +11,24 @@ module Increase
11
11
  T.any(Increase::LockboxUpdateParams, Increase::Internal::AnyHash)
12
12
  end
13
13
 
14
+ # This indicates if checks mailed to this lockbox will be deposited.
15
+ sig do
16
+ returns(
17
+ T.nilable(
18
+ Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol
19
+ )
20
+ )
21
+ end
22
+ attr_reader :check_deposit_behavior
23
+
24
+ sig do
25
+ params(
26
+ check_deposit_behavior:
27
+ Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol
28
+ ).void
29
+ end
30
+ attr_writer :check_deposit_behavior
31
+
14
32
  # The description you choose for the Lockbox.
15
33
  sig { returns(T.nilable(String)) }
16
34
  attr_reader :description
@@ -25,32 +43,22 @@ module Increase
25
43
  sig { params(recipient_name: String).void }
26
44
  attr_writer :recipient_name
27
45
 
28
- # This indicates if checks can be sent to the Lockbox.
29
- sig do
30
- returns(T.nilable(Increase::LockboxUpdateParams::Status::OrSymbol))
31
- end
32
- attr_reader :status
33
-
34
- sig do
35
- params(status: Increase::LockboxUpdateParams::Status::OrSymbol).void
36
- end
37
- attr_writer :status
38
-
39
46
  sig do
40
47
  params(
48
+ check_deposit_behavior:
49
+ Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
41
50
  description: String,
42
51
  recipient_name: String,
43
- status: Increase::LockboxUpdateParams::Status::OrSymbol,
44
52
  request_options: Increase::RequestOptions::OrHash
45
53
  ).returns(T.attached_class)
46
54
  end
47
55
  def self.new(
56
+ # This indicates if checks mailed to this lockbox will be deposited.
57
+ check_deposit_behavior: nil,
48
58
  # The description you choose for the Lockbox.
49
59
  description: nil,
50
60
  # The recipient name you choose for the Lockbox.
51
61
  recipient_name: nil,
52
- # This indicates if checks can be sent to the Lockbox.
53
- status: nil,
54
62
  request_options: {}
55
63
  )
56
64
  end
@@ -58,9 +66,10 @@ module Increase
58
66
  sig do
59
67
  override.returns(
60
68
  {
69
+ check_deposit_behavior:
70
+ Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
61
71
  description: String,
62
72
  recipient_name: String,
63
- status: Increase::LockboxUpdateParams::Status::OrSymbol,
64
73
  request_options: Increase::RequestOptions
65
74
  }
66
75
  )
@@ -68,25 +77,35 @@ module Increase
68
77
  def to_hash
69
78
  end
70
79
 
71
- # This indicates if checks can be sent to the Lockbox.
72
- module Status
80
+ # This indicates if checks mailed to this lockbox will be deposited.
81
+ module CheckDepositBehavior
73
82
  extend Increase::Internal::Type::Enum
74
83
 
75
84
  TaggedSymbol =
76
- T.type_alias { T.all(Symbol, Increase::LockboxUpdateParams::Status) }
85
+ T.type_alias do
86
+ T.all(Symbol, Increase::LockboxUpdateParams::CheckDepositBehavior)
87
+ end
77
88
  OrSymbol = T.type_alias { T.any(Symbol, String) }
78
89
 
79
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
80
- ACTIVE =
81
- T.let(:active, Increase::LockboxUpdateParams::Status::TaggedSymbol)
90
+ # Checks mailed to this Lockbox will be deposited.
91
+ ENABLED =
92
+ T.let(
93
+ :enabled,
94
+ Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
95
+ )
82
96
 
83
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
84
- INACTIVE =
85
- T.let(:inactive, Increase::LockboxUpdateParams::Status::TaggedSymbol)
97
+ # Checks mailed to this Lockbox will not be deposited.
98
+ DISABLED =
99
+ T.let(
100
+ :disabled,
101
+ Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
102
+ )
86
103
 
87
104
  sig do
88
105
  override.returns(
89
- T::Array[Increase::LockboxUpdateParams::Status::TaggedSymbol]
106
+ T::Array[
107
+ Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
108
+ ]
90
109
  )
91
110
  end
92
111
  def self.values