increase 1.357.0 → 1.359.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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_statement.rb +12 -8
  4. data/lib/increase/models/card.rb +112 -4
  5. data/lib/increase/models/card_create_params.rb +67 -3
  6. data/lib/increase/models/card_dispute.rb +3 -1
  7. data/lib/increase/models/card_payment.rb +3 -1
  8. data/lib/increase/models/card_push_transfer.rb +18 -3
  9. data/lib/increase/models/card_push_transfer_create_params.rb +18 -3
  10. data/lib/increase/models/card_renew_params.rb +22 -0
  11. data/lib/increase/models/card_update_params.rb +4 -2
  12. data/lib/increase/models/entity_create_params.rb +8 -4
  13. data/lib/increase/models/entity_update_params.rb +8 -4
  14. data/lib/increase/models/export.rb +18 -18
  15. data/lib/increase/models/export_create_params.rb +19 -18
  16. data/lib/increase/models/inbound_fednow_transfer.rb +12 -3
  17. data/lib/increase/models/physical_card.rb +25 -2
  18. data/lib/increase/models/transaction.rb +6 -0
  19. data/lib/increase/models.rb +2 -0
  20. data/lib/increase/resources/cards.rb +29 -1
  21. data/lib/increase/resources/digital_card_profiles.rb +2 -2
  22. data/lib/increase/resources/files.rb +3 -1
  23. data/lib/increase/resources/intrafi_account_enrollments.rb +2 -2
  24. data/lib/increase/resources/physical_card_profiles.rb +1 -1
  25. data/lib/increase/resources/supplemental_documents.rb +2 -2
  26. data/lib/increase/version.rb +1 -1
  27. data/lib/increase.rb +1 -0
  28. data/rbi/increase/models/account_statement.rbi +12 -8
  29. data/rbi/increase/models/card.rbi +168 -3
  30. data/rbi/increase/models/card_create_params.rbi +124 -2
  31. data/rbi/increase/models/card_dispute.rbi +3 -1
  32. data/rbi/increase/models/card_payment.rbi +3 -1
  33. data/rbi/increase/models/card_push_transfer.rbi +42 -7
  34. data/rbi/increase/models/card_push_transfer_create_params.rbi +42 -7
  35. data/rbi/increase/models/card_renew_params.rbi +40 -0
  36. data/rbi/increase/models/card_update_params.rbi +4 -2
  37. data/rbi/increase/models/entity_create_params.rbi +8 -4
  38. data/rbi/increase/models/entity_update_params.rbi +8 -4
  39. data/rbi/increase/models/export.rbi +18 -18
  40. data/rbi/increase/models/export_create_params.rbi +18 -18
  41. data/rbi/increase/models/inbound_fednow_transfer.rbi +10 -2
  42. data/rbi/increase/models/physical_card.rbi +22 -1
  43. data/rbi/increase/models/transaction.rbi +14 -0
  44. data/rbi/increase/models.rbi +2 -0
  45. data/rbi/increase/resources/cards.rbi +22 -0
  46. data/rbi/increase/resources/digital_card_profiles.rbi +2 -2
  47. data/rbi/increase/resources/files.rbi +3 -1
  48. data/rbi/increase/resources/intrafi_account_enrollments.rbi +2 -2
  49. data/rbi/increase/resources/physical_card_profiles.rbi +1 -1
  50. data/rbi/increase/resources/supplemental_documents.rbi +2 -2
  51. data/sig/increase/models/card.rbs +79 -0
  52. data/sig/increase/models/card_create_params.rbs +52 -1
  53. data/sig/increase/models/card_push_transfer.rbs +24 -4
  54. data/sig/increase/models/card_push_transfer_create_params.rbs +24 -4
  55. data/sig/increase/models/card_renew_params.rbs +23 -0
  56. data/sig/increase/models/inbound_fednow_transfer.rbs +5 -0
  57. data/sig/increase/models/physical_card.rbs +10 -0
  58. data/sig/increase/models/transaction.rbs +8 -0
  59. data/sig/increase/models.rbs +2 -0
  60. data/sig/increase/resources/cards.rbs +6 -0
  61. metadata +5 -2
@@ -396,7 +396,8 @@ module Increase
396
396
 
397
397
  # The North American Industry Classification System (NAICS) code for the
398
398
  # corporation's primary line of business. This is a number, like `5132` for
399
- # `Software Publishers`. A full list of classification codes is available
399
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
400
+ # classification codes is available
400
401
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
401
402
  sig { returns(T.nilable(String)) }
402
403
  attr_reader :industry_code
@@ -461,7 +462,8 @@ module Increase
461
462
  incorporation_state: nil,
462
463
  # The North American Industry Classification System (NAICS) code for the
463
464
  # corporation's primary line of business. This is a number, like `5132` for
464
- # `Software Publishers`. A full list of classification codes is available
465
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
466
+ # classification codes is available
465
467
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
466
468
  industry_code: nil,
467
469
  # A website for the business. Not every program requires a website for submitted
@@ -3102,7 +3104,8 @@ module Increase
3102
3104
 
3103
3105
  # The North American Industry Classification System (NAICS) code for the sole
3104
3106
  # proprietorship's primary line of business. This is a number, like `5132` for
3105
- # `Software Publishers`. A full list of classification codes is available
3107
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
3108
+ # classification codes is available
3106
3109
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
3107
3110
  sig { returns(T.nilable(String)) }
3108
3111
  attr_reader :industry_code
@@ -3156,7 +3159,8 @@ module Increase
3156
3159
  email: nil,
3157
3160
  # The North American Industry Classification System (NAICS) code for the sole
3158
3161
  # proprietorship's primary line of business. This is a number, like `5132` for
3159
- # `Software Publishers`. A full list of classification codes is available
3162
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
3163
+ # classification codes is available
3160
3164
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
3161
3165
  industry_code: nil,
3162
3166
  # The United States Employer Identification Number (EIN) for the sole
@@ -251,7 +251,8 @@ module Increase
251
251
 
252
252
  # The North American Industry Classification System (NAICS) code for the
253
253
  # corporation's primary line of business. This is a number, like `5132` for
254
- # `Software Publishers`. A full list of classification codes is available
254
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
255
+ # classification codes is available
255
256
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
256
257
  sig { returns(T.nilable(String)) }
257
258
  attr_reader :industry_code
@@ -319,7 +320,8 @@ module Increase
319
320
  incorporation_state: nil,
320
321
  # The North American Industry Classification System (NAICS) code for the
321
322
  # corporation's primary line of business. This is a number, like `5132` for
322
- # `Software Publishers`. A full list of classification codes is available
323
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
324
+ # classification codes is available
323
325
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
324
326
  industry_code: nil,
325
327
  # The legal identifier of the corporation. This is usually the Employer
@@ -1406,7 +1408,8 @@ module Increase
1406
1408
 
1407
1409
  # The North American Industry Classification System (NAICS) code for the sole
1408
1410
  # proprietorship's primary line of business. This is a number, like `5132` for
1409
- # `Software Publishers`. A full list of classification codes is available
1411
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
1412
+ # classification codes is available
1410
1413
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
1411
1414
  sig { returns(T.nilable(String)) }
1412
1415
  attr_reader :industry_code
@@ -1471,7 +1474,8 @@ module Increase
1471
1474
  email: nil,
1472
1475
  # The North American Industry Classification System (NAICS) code for the sole
1473
1476
  # proprietorship's primary line of business. This is a number, like `5132` for
1474
- # `Software Publishers`. A full list of classification codes is available
1477
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
1478
+ # classification codes is available
1475
1479
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
1476
1480
  industry_code: nil,
1477
1481
  # Details of the individual who operates the sole proprietorship.
@@ -377,7 +377,7 @@ module Increase
377
377
  sig { returns(T.nilable(String)) }
378
378
  attr_accessor :account_id
379
379
 
380
- # The date for which to retrieve the balance.
380
+ # The UTC date for which to retrieve the balance.
381
381
  sig { returns(T.nilable(Date)) }
382
382
  attr_accessor :effective_date
383
383
 
@@ -397,7 +397,7 @@ module Increase
397
397
  def self.new(
398
398
  # Filter results by Account.
399
399
  account_id:,
400
- # The date for which to retrieve the balance.
400
+ # The UTC date for which to retrieve the balance.
401
401
  effective_date:,
402
402
  # Filter results by Program.
403
403
  program_id:
@@ -532,7 +532,7 @@ module Increase
532
532
  sig { returns(String) }
533
533
  attr_accessor :account_number_id
534
534
 
535
- # The date of the balance to include in the letter.
535
+ # The UTC date of the balance to include in the letter.
536
536
  sig { returns(T.nilable(Date)) }
537
537
  attr_accessor :balance_date
538
538
 
@@ -547,7 +547,7 @@ module Increase
547
547
  def self.new(
548
548
  # The Account Number to create a letter for.
549
549
  account_number_id:,
550
- # The date of the balance to include in the letter.
550
+ # The UTC date of the balance to include in the letter.
551
551
  balance_date:
552
552
  )
553
553
  end
@@ -665,11 +665,11 @@ module Increase
665
665
  sig { returns(T.nilable(String)) }
666
666
  attr_accessor :bookkeeping_account_id
667
667
 
668
- # Filter balances to those on or after this date.
668
+ # Filter balances to those on or after this UTC date.
669
669
  sig { returns(T.nilable(Date)) }
670
670
  attr_accessor :on_or_after_date
671
671
 
672
- # Filter balances to those on or before this date.
672
+ # Filter balances to those on or before this UTC date.
673
673
  sig { returns(T.nilable(Date)) }
674
674
  attr_accessor :on_or_before_date
675
675
 
@@ -685,9 +685,9 @@ module Increase
685
685
  def self.new(
686
686
  # Filter results by Bookkeeping Account.
687
687
  bookkeeping_account_id:,
688
- # Filter balances to those on or after this date.
688
+ # Filter balances to those on or after this UTC date.
689
689
  on_or_after_date:,
690
- # Filter balances to those on or before this date.
690
+ # Filter balances to those on or before this UTC date.
691
691
  on_or_before_date:
692
692
  )
693
693
  end
@@ -808,11 +808,11 @@ module Increase
808
808
  sig { returns(T.nilable(String)) }
809
809
  attr_accessor :account_id
810
810
 
811
- # Filter balances on or after this date.
811
+ # Filter balances on or after this UTC date.
812
812
  sig { returns(T.nilable(Date)) }
813
813
  attr_accessor :on_or_after_date
814
814
 
815
- # Filter balances on or before this date.
815
+ # Filter balances on or before this UTC date.
816
816
  sig { returns(T.nilable(Date)) }
817
817
  attr_accessor :on_or_before_date
818
818
 
@@ -828,9 +828,9 @@ module Increase
828
828
  def self.new(
829
829
  # Filter results by Account.
830
830
  account_id:,
831
- # Filter balances on or after this date.
831
+ # Filter balances on or after this UTC date.
832
832
  on_or_after_date:,
833
- # Filter balances on or before this date.
833
+ # Filter balances on or before this UTC date.
834
834
  on_or_before_date:
835
835
  )
836
836
  end
@@ -891,8 +891,8 @@ module Increase
891
891
  T.any(Increase::Export::FeeCsv, Increase::Internal::AnyHash)
892
892
  end
893
893
 
894
- # Filter fees by their created date. The time range must not include any fees that
895
- # are part of an open fee statement.
894
+ # Filter fees by their created date. The time range must not include any fees on
895
+ # an open fee statement.
896
896
  sig { returns(T.nilable(Increase::Export::FeeCsv::CreatedAt)) }
897
897
  attr_reader :created_at
898
898
 
@@ -911,8 +911,8 @@ module Increase
911
911
  ).returns(T.attached_class)
912
912
  end
913
913
  def self.new(
914
- # Filter fees by their created date. The time range must not include any fees that
915
- # are part of an open fee statement.
914
+ # Filter fees by their created date. The time range must not include any fees on
915
+ # an open fee statement.
916
916
  created_at:
917
917
  )
918
918
  end
@@ -950,8 +950,8 @@ module Increase
950
950
  sig { returns(T.nilable(Time)) }
951
951
  attr_accessor :on_or_before
952
952
 
953
- # Filter fees by their created date. The time range must not include any fees that
954
- # are part of an open fee statement.
953
+ # Filter fees by their created date. The time range must not include any fees on
954
+ # an open fee statement.
955
955
  sig do
956
956
  params(
957
957
  after: T.nilable(Time),
@@ -361,10 +361,9 @@ module Increase
361
361
  sig { params(account_id: String).void }
362
362
  attr_writer :account_id
363
363
 
364
- # The date to create a BAI2 report for. If not provided, the current date will be
365
- # used. The timezone is UTC. If the current date is used, the report will include
366
- # intraday balances, otherwise it will include end-of-day balances for the
367
- # provided date.
364
+ # The UTC date to create a BAI2 report for. If not provided, the current date will
365
+ # be used. If the current date is used, the report will include intraday balances,
366
+ # otherwise it will include end-of-day balances for the provided date.
368
367
  sig { returns(T.nilable(Date)) }
369
368
  attr_reader :effective_date
370
369
 
@@ -392,10 +391,9 @@ module Increase
392
391
  # The Account to create a BAI2 report for. If not provided, all open accounts will
393
392
  # be included.
394
393
  account_id: nil,
395
- # The date to create a BAI2 report for. If not provided, the current date will be
396
- # used. The timezone is UTC. If the current date is used, the report will include
397
- # intraday balances, otherwise it will include end-of-day balances for the
398
- # provided date.
394
+ # The UTC date to create a BAI2 report for. If not provided, the current date will
395
+ # be used. If the current date is used, the report will include intraday balances,
396
+ # otherwise it will include end-of-day balances for the provided date.
399
397
  effective_date: nil,
400
398
  # The Program to create a BAI2 report for. If not provided, all open accounts will
401
399
  # be included.
@@ -526,7 +524,8 @@ module Increase
526
524
  sig { returns(String) }
527
525
  attr_accessor :account_number_id
528
526
 
529
- # The date of the balance to include in the letter. Defaults to the current date.
527
+ # The UTC date of the balance to include in the letter. Defaults to the current
528
+ # date.
530
529
  sig { returns(T.nilable(Date)) }
531
530
  attr_reader :balance_date
532
531
 
@@ -543,7 +542,8 @@ module Increase
543
542
  def self.new(
544
543
  # The Account Number to create a letter for.
545
544
  account_number_id:,
546
- # The date of the balance to include in the letter. Defaults to the current date.
545
+ # The UTC date of the balance to include in the letter. Defaults to the current
546
+ # date.
547
547
  balance_date: nil
548
548
  )
549
549
  end
@@ -572,14 +572,14 @@ module Increase
572
572
  sig { params(bookkeeping_account_id: String).void }
573
573
  attr_writer :bookkeeping_account_id
574
574
 
575
- # Filter exported Balances to those on or after this date.
575
+ # Filter exported Balances to those on or after this UTC date.
576
576
  sig { returns(T.nilable(Date)) }
577
577
  attr_reader :on_or_after_date
578
578
 
579
579
  sig { params(on_or_after_date: Date).void }
580
580
  attr_writer :on_or_after_date
581
581
 
582
- # Filter exported Balances to those on or before this date.
582
+ # Filter exported Balances to those on or before this UTC date.
583
583
  sig { returns(T.nilable(Date)) }
584
584
  attr_reader :on_or_before_date
585
585
 
@@ -599,9 +599,9 @@ module Increase
599
599
  # Filter exported Bookkeeping Account Balances to the specified Bookkeeping
600
600
  # Account.
601
601
  bookkeeping_account_id: nil,
602
- # Filter exported Balances to those on or after this date.
602
+ # Filter exported Balances to those on or after this UTC date.
603
603
  on_or_after_date: nil,
604
- # Filter exported Balances to those on or before this date.
604
+ # Filter exported Balances to those on or before this UTC date.
605
605
  on_or_before_date: nil
606
606
  )
607
607
  end
@@ -635,14 +635,14 @@ module Increase
635
635
  sig { params(account_id: String).void }
636
636
  attr_writer :account_id
637
637
 
638
- # Filter exported Balances to those on or after this date.
638
+ # Filter exported Balances to those on or after this UTC date.
639
639
  sig { returns(T.nilable(Date)) }
640
640
  attr_reader :on_or_after_date
641
641
 
642
642
  sig { params(on_or_after_date: Date).void }
643
643
  attr_writer :on_or_after_date
644
644
 
645
- # Filter exported Balances to those on or before this date.
645
+ # Filter exported Balances to those on or before this UTC date.
646
646
  sig { returns(T.nilable(Date)) }
647
647
  attr_reader :on_or_before_date
648
648
 
@@ -661,9 +661,9 @@ module Increase
661
661
  def self.new(
662
662
  # Filter exported Balances to the specified Account.
663
663
  account_id: nil,
664
- # Filter exported Balances to those on or after this date.
664
+ # Filter exported Balances to those on or after this UTC date.
665
665
  on_or_after_date: nil,
666
- # Filter exported Balances to those on or before this date.
666
+ # Filter exported Balances to those on or before this UTC date.
667
667
  on_or_before_date: nil
668
668
  )
669
669
  end
@@ -77,6 +77,10 @@ module Increase
77
77
  sig { returns(T.nilable(String)) }
78
78
  attr_accessor :end_to_end_identification
79
79
 
80
+ # The FedNow network identification of the transfer.
81
+ sig { returns(String) }
82
+ attr_accessor :message_identification
83
+
80
84
  # The lifecycle status of the transfer.
81
85
  sig { returns(Increase::InboundFednowTransfer::Status::TaggedSymbol) }
82
86
  attr_accessor :status
@@ -86,7 +90,7 @@ module Increase
86
90
  sig { returns(T.nilable(String)) }
87
91
  attr_accessor :transaction_id
88
92
 
89
- # The FedNow network identification of the transfer.
93
+ # An optional identifier for the transfer set by the sending bank.
90
94
  sig { returns(T.nilable(String)) }
91
95
  attr_accessor :transaction_identification
92
96
 
@@ -123,6 +127,7 @@ module Increase
123
127
  debtor_routing_number: String,
124
128
  decline: T.nilable(Increase::InboundFednowTransfer::Decline::OrHash),
125
129
  end_to_end_identification: T.nilable(String),
130
+ message_identification: String,
126
131
  status: Increase::InboundFednowTransfer::Status::OrSymbol,
127
132
  transaction_id: T.nilable(String),
128
133
  transaction_identification: T.nilable(String),
@@ -160,12 +165,14 @@ module Increase
160
165
  decline:,
161
166
  # A free-form reference string set by the sender, to help identify the transfer.
162
167
  end_to_end_identification:,
168
+ # The FedNow network identification of the transfer.
169
+ message_identification:,
163
170
  # The lifecycle status of the transfer.
164
171
  status:,
165
172
  # The identifier of the Transaction object created when the transfer was
166
173
  # confirmed.
167
174
  transaction_id:,
168
- # The FedNow network identification of the transfer.
175
+ # An optional identifier for the transfer set by the sending bank.
169
176
  transaction_identification:,
170
177
  # A constant representing the object's type. For this resource it will always be
171
178
  # `inbound_fednow_transfer`.
@@ -196,6 +203,7 @@ module Increase
196
203
  debtor_routing_number: String,
197
204
  decline: T.nilable(Increase::InboundFednowTransfer::Decline),
198
205
  end_to_end_identification: T.nilable(String),
206
+ message_identification: String,
199
207
  status: Increase::InboundFednowTransfer::Status::TaggedSymbol,
200
208
  transaction_id: T.nilable(String),
201
209
  transaction_identification: T.nilable(String),
@@ -34,6 +34,16 @@ module Increase
34
34
  sig { returns(Time) }
35
35
  attr_accessor :created_at
36
36
 
37
+ # The month printed on the Physical Card as its expiration, in M format (e.g.,
38
+ # August is 8). This stays the same when the Card is renewed.
39
+ sig { returns(Integer) }
40
+ attr_accessor :expiration_month
41
+
42
+ # The year printed on the Physical Card as its expiration, in YYYY format (e.g.,
43
+ # 2025). This stays the same when the Card is renewed.
44
+ sig { returns(Integer) }
45
+ attr_accessor :expiration_year
46
+
37
47
  # The idempotency key you chose for this object. This value is unique across
38
48
  # Increase and is used to ensure that a request is only processed once. Learn more
39
49
  # about [idempotency](https://increase.com/documentation/idempotency-keys).
@@ -64,7 +74,8 @@ module Increase
64
74
  # configurable by a connected [Card Profile](/documentation/api#card-profiles).
65
75
  # The same Card can be used for multiple Physical Cards. Printing cards incurs a
66
76
  # fee. Please contact [support@increase.com](mailto:support@increase.com) for
67
- # pricing!
77
+ # pricing! For more information, see our guide on
78
+ # [physical card artwork](https://increase.com/documentation/card-art-physical-cards#carrier-image).
68
79
  sig do
69
80
  params(
70
81
  id: String,
@@ -72,6 +83,8 @@ module Increase
72
83
  card_id: String,
73
84
  cardholder: Increase::PhysicalCard::Cardholder::OrHash,
74
85
  created_at: Time,
86
+ expiration_month: Integer,
87
+ expiration_year: Integer,
75
88
  idempotency_key: T.nilable(String),
76
89
  physical_card_profile_id: T.nilable(String),
77
90
  shipment: Increase::PhysicalCard::Shipment::OrHash,
@@ -91,6 +104,12 @@ module Increase
91
104
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
92
105
  # the Physical Card was created.
93
106
  created_at:,
107
+ # The month printed on the Physical Card as its expiration, in M format (e.g.,
108
+ # August is 8). This stays the same when the Card is renewed.
109
+ expiration_month:,
110
+ # The year printed on the Physical Card as its expiration, in YYYY format (e.g.,
111
+ # 2025). This stays the same when the Card is renewed.
112
+ expiration_year:,
94
113
  # The idempotency key you chose for this object. This value is unique across
95
114
  # Increase and is used to ensure that a request is only processed once. Learn more
96
115
  # about [idempotency](https://increase.com/documentation/idempotency-keys).
@@ -115,6 +134,8 @@ module Increase
115
134
  card_id: String,
116
135
  cardholder: Increase::PhysicalCard::Cardholder,
117
136
  created_at: Time,
137
+ expiration_month: Integer,
138
+ expiration_year: Integer,
118
139
  idempotency_key: T.nilable(String),
119
140
  physical_card_profile_id: T.nilable(String),
120
141
  shipment: Increase::PhysicalCard::Shipment,
@@ -3049,6 +3049,13 @@ module Increase
3049
3049
  Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
3050
3050
  )
3051
3051
 
3052
+ # The merchant's pre-arbitration submission was accepted by the user or not responded to in time.
3053
+ MERCHANT_PREARBITRATION_ACCEPTED =
3054
+ T.let(
3055
+ :merchant_prearbitration_accepted,
3056
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
3057
+ )
3058
+
3052
3059
  # The user declined the merchant's pre-arbitration submission.
3053
3060
  MERCHANT_PREARBITRATION_DECLINE_SUBMITTED =
3054
3061
  T.let(
@@ -3070,6 +3077,13 @@ module Increase
3070
3077
  Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
3071
3078
  )
3072
3079
 
3080
+ # The user's pre-arbitration was accepted by the merchant or not responded to in time.
3081
+ USER_PREARBITRATION_ACCEPTED =
3082
+ T.let(
3083
+ :user_prearbitration_accepted,
3084
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
3085
+ )
3086
+
3073
3087
  # The user's pre-arbitration was declined by the merchant.
3074
3088
  USER_PREARBITRATION_DECLINE_RECEIVED =
3075
3089
  T.let(
@@ -140,6 +140,8 @@ module Increase
140
140
  CardPushTransferRetrieveParams =
141
141
  Increase::Models::CardPushTransferRetrieveParams
142
142
 
143
+ CardRenewParams = Increase::Models::CardRenewParams
144
+
143
145
  CardRetrieveParams = Increase::Models::CardRetrieveParams
144
146
 
145
147
  CardToken = Increase::Models::CardToken
@@ -14,6 +14,7 @@ module Increase
14
14
  description: String,
15
15
  digital_wallet: Increase::CardCreateParams::DigitalWallet::OrHash,
16
16
  entity_id: String,
17
+ replacement_for: Increase::CardCreateParams::ReplacementFor::OrHash,
17
18
  request_options: Increase::RequestOptions::OrHash
18
19
  ).returns(Increase::Card)
19
20
  end
@@ -38,6 +39,9 @@ module Increase
38
39
  # The Entity the card belongs to. You only need to supply this in rare situations
39
40
  # when the card is not for the Account holder.
40
41
  entity_id: nil,
42
+ # Details about the Card this Card replaces. Supply this when issuing a new Card
43
+ # to take over from an existing one. The replaced Card is not canceled.
44
+ replacement_for: nil,
41
45
  request_options: {}
42
46
  )
43
47
  end
@@ -177,6 +181,24 @@ module Increase
177
181
  )
178
182
  end
179
183
 
184
+ # Renew a Card in place. The Card keeps its identifier, card number, PIN, and
185
+ # Physical Cards, and receives a new expiration date in the current month four
186
+ # years from now along with a new verification code, which the Card's details will
187
+ # return afterwards. Physical Cards that have already shipped keep working until
188
+ # they are canceled.
189
+ sig do
190
+ params(
191
+ card_id: String,
192
+ request_options: Increase::RequestOptions::OrHash
193
+ ).returns(Increase::Card)
194
+ end
195
+ def renew(
196
+ # The identifier of the Card to renew.
197
+ card_id,
198
+ request_options: {}
199
+ )
200
+ end
201
+
180
202
  # Update a Card's PIN
181
203
  sig do
182
204
  params(
@@ -57,7 +57,7 @@ module Increase
57
57
  )
58
58
  end
59
59
 
60
- # List Card Profiles
60
+ # List Digital Card Profiles
61
61
  sig do
62
62
  params(
63
63
  cursor: String,
@@ -99,7 +99,7 @@ module Increase
99
99
  )
100
100
  end
101
101
 
102
- # Clones a Digital Card Profile
102
+ # Clone a Digital Card Profile
103
103
  sig do
104
104
  params(
105
105
  digital_card_profile_id: String,
@@ -29,7 +29,9 @@ module Increase
29
29
  )
30
30
  end
31
31
 
32
- # Retrieve a File
32
+ # Fetch metadata about a File, like its `purpose` and MIME type. To access the
33
+ # content, use the [Get File contents](/documentation/api/files#get-file-contents)
34
+ # API.
33
35
  sig do
34
36
  params(
35
37
  file_id: String,
@@ -3,7 +3,7 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class IntrafiAccountEnrollments
6
- # Enroll an account in the IntraFi deposit sweep network
6
+ # Enroll an Account in the IntraFi deposit sweep network
7
7
  sig do
8
8
  params(
9
9
  account_id: String,
@@ -65,7 +65,7 @@ module Increase
65
65
  )
66
66
  end
67
67
 
68
- # Unenroll an account from IntraFi
68
+ # Unenroll an Account from IntraFi
69
69
  sig do
70
70
  params(
71
71
  intrafi_account_enrollment_id: String,
@@ -38,7 +38,7 @@ module Increase
38
38
  )
39
39
  end
40
40
 
41
- # Retrieve a Card Profile
41
+ # Retrieve a Physical Card Profile
42
42
  sig do
43
43
  params(
44
44
  physical_card_profile_id: String,
@@ -3,7 +3,7 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class SupplementalDocuments
6
- # Create a supplemental document for an Entity
6
+ # Create a Supplemental Document
7
7
  sig do
8
8
  params(
9
9
  entity_id: String,
@@ -20,7 +20,7 @@ module Increase
20
20
  )
21
21
  end
22
22
 
23
- # List Entity Supplemental Document Submissions
23
+ # List Supplemental Documents
24
24
  sig do
25
25
  params(
26
26
  entity_id: String,