increase 1.356.0 → 1.357.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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/increase/internal/transport/base_client.rb +1 -2
  4. data/lib/increase/models/card_payment.rb +37 -1
  5. data/lib/increase/models/check_deposit.rb +3 -0
  6. data/lib/increase/models/declined_transaction.rb +3 -0
  7. data/lib/increase/models/digital_card_profile.rb +12 -9
  8. data/lib/increase/models/digital_card_profile_clone_params.rb +12 -9
  9. data/lib/increase/models/digital_card_profile_create_params.rb +12 -9
  10. data/lib/increase/models/event.rb +3 -0
  11. data/lib/increase/models/event_list_params.rb +7 -4
  12. data/lib/increase/models/event_subscription.rb +3 -0
  13. data/lib/increase/models/event_subscription_create_params.rb +3 -0
  14. data/lib/increase/models/file.rb +1 -1
  15. data/lib/increase/models/file_create_params.rb +1 -1
  16. data/lib/increase/models/file_list_params.rb +1 -1
  17. data/lib/increase/models/inbound_check_deposit.rb +9 -7
  18. data/lib/increase/models/pending_transaction.rb +9 -6
  19. data/lib/increase/models/physical_card.rb +9 -1
  20. data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +3 -0
  21. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +3 -0
  22. data/lib/increase/models/transaction.rb +18 -0
  23. data/lib/increase/models/unwrap_webhook_event.rb +3 -0
  24. data/lib/increase/resources/digital_card_profiles.rb +10 -6
  25. data/lib/increase/resources/events.rb +2 -2
  26. data/lib/increase/version.rb +1 -1
  27. data/rbi/increase/models/card_payment.rbi +85 -1
  28. data/rbi/increase/models/check_deposit.rbi +7 -0
  29. data/rbi/increase/models/declined_transaction.rbi +7 -0
  30. data/rbi/increase/models/digital_card_profile.rbi +10 -8
  31. data/rbi/increase/models/digital_card_profile_clone_params.rbi +13 -11
  32. data/rbi/increase/models/digital_card_profile_create_params.rbi +13 -8
  33. data/rbi/increase/models/event.rbi +7 -0
  34. data/rbi/increase/models/event_list_params.rbi +11 -4
  35. data/rbi/increase/models/event_subscription.rbi +7 -0
  36. data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
  37. data/rbi/increase/models/file.rbi +1 -1
  38. data/rbi/increase/models/file_create_params.rbi +1 -1
  39. data/rbi/increase/models/file_list_params.rbi +1 -1
  40. data/rbi/increase/models/inbound_check_deposit.rbi +13 -6
  41. data/rbi/increase/models/pending_transaction.rbi +13 -6
  42. data/rbi/increase/models/physical_card.rbi +8 -0
  43. data/rbi/increase/models/simulations/check_deposit_adjustment_params.rbi +7 -0
  44. data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +7 -0
  45. data/rbi/increase/models/transaction.rbi +42 -0
  46. data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
  47. data/rbi/increase/resources/digital_card_profiles.rbi +8 -6
  48. data/rbi/increase/resources/events.rbi +2 -2
  49. data/sig/increase/models/card_payment.rbs +49 -1
  50. data/sig/increase/models/check_deposit.rbs +8 -1
  51. data/sig/increase/models/declined_transaction.rbs +4 -0
  52. data/sig/increase/models/digital_card_profile.rbs +5 -5
  53. data/sig/increase/models/digital_card_profile_clone_params.rbs +7 -7
  54. data/sig/increase/models/digital_card_profile_create_params.rbs +7 -5
  55. data/sig/increase/models/event.rbs +4 -0
  56. data/sig/increase/models/event_list_params.rbs +4 -0
  57. data/sig/increase/models/event_subscription.rbs +4 -0
  58. data/sig/increase/models/event_subscription_create_params.rbs +4 -0
  59. data/sig/increase/models/file.rbs +1 -1
  60. data/sig/increase/models/file_create_params.rbs +1 -1
  61. data/sig/increase/models/file_list_params.rbs +1 -1
  62. data/sig/increase/models/inbound_check_deposit.rbs +12 -9
  63. data/sig/increase/models/pending_transaction.rbs +4 -0
  64. data/sig/increase/models/physical_card.rbs +5 -0
  65. data/sig/increase/models/simulations/check_deposit_adjustment_params.rbs +4 -0
  66. data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +4 -1
  67. data/sig/increase/models/transaction.rbs +24 -0
  68. data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
  69. data/sig/increase/resources/digital_card_profiles.rbs +2 -2
  70. metadata +2 -2
@@ -184,6 +184,9 @@ module Increase
184
184
  # Occurs whenever a Digital Wallet Token is updated.
185
185
  DIGITAL_WALLET_TOKEN_UPDATED = :"digital_wallet_token.updated"
186
186
 
187
+ # Occurs whenever a Digital Wallet Token Request is created.
188
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED = :"digital_wallet_token_request.created"
189
+
187
190
  # Occurs whenever an Entity is created.
188
191
  ENTITY_CREATED = :"entity.created"
189
192
 
@@ -5,7 +5,7 @@ module Increase
5
5
  class DigitalCardProfiles
6
6
  # Create a Digital Card Profile
7
7
  #
8
- # @overload create(app_icon_file_id:, background_image_file_id:, card_description:, description:, issuer_name:, contact_email: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
8
+ # @overload create(app_icon_file_id:, background_image_file_id:, card_description:, description:, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
9
9
  #
10
10
  # @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
11
11
  #
@@ -15,10 +15,12 @@ module Increase
15
15
  #
16
16
  # @param description [String] A description you can use to identify the Card Profile.
17
17
  #
18
- # @param issuer_name [String] A user-facing description for whoever is issuing the card.
19
- #
20
18
  # @param contact_email [String] An email address the user can contact to receive support for their card.
21
19
  #
20
+ # @param contact_name [String]
21
+ # The name of your company or card program, shown to the user as who to contact
22
+ # for support with their card.
23
+ #
22
24
  # @param contact_phone [String] A phone number the user can contact to receive support for their card.
23
25
  #
24
26
  # @param contact_website [String] A website the user can visit to view and receive support for their card.
@@ -122,7 +124,7 @@ module Increase
122
124
 
123
125
  # Clones a Digital Card Profile
124
126
  #
125
- # @overload clone_(digital_card_profile_id, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_phone: nil, contact_website: nil, description: nil, issuer_name: nil, text_color: nil, request_options: {})
127
+ # @overload clone_(digital_card_profile_id, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, description: nil, text_color: nil, request_options: {})
126
128
  #
127
129
  # @param digital_card_profile_id [String] The identifier of the Digital Card Profile to clone.
128
130
  #
@@ -134,14 +136,16 @@ module Increase
134
136
  #
135
137
  # @param contact_email [String] An email address the user can contact to receive support for their card.
136
138
  #
139
+ # @param contact_name [String]
140
+ # The name of your company or card program, shown to the user as who to contact
141
+ # for support with their card.
142
+ #
137
143
  # @param contact_phone [String] A phone number the user can contact to receive support for their card.
138
144
  #
139
145
  # @param contact_website [String] A website the user can visit to view and receive support for their card.
140
146
  #
141
147
  # @param description [String] A description you can use to identify the Card Profile.
142
148
  #
143
- # @param issuer_name [String] A user-facing description for whoever is issuing the card.
144
- #
145
149
  # @param text_color [Increase::Models::DigitalCardProfileCloneParams::TextColor]
146
150
  # The Card's text color, specified as an RGB triple. The default is white.
147
151
  #
@@ -37,8 +37,8 @@ module Increase
37
37
  # @param cursor [String] Return the page of entries after this one.
38
38
  #
39
39
  # @param limit [Integer]
40
- # Limit the size of the list that is returned. The default (and maximum) is 100
41
- # objects.
40
+ # Limit the size of the list that is returned. The default is 100 objects and the
41
+ # maximum is 1,000.
42
42
  #
43
43
  # Defaults to `100`.
44
44
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.356.0"
4
+ VERSION = "1.357.0"
5
5
  end
@@ -1295,7 +1295,7 @@ module Increase
1295
1295
  Increase::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod::TaggedSymbol
1296
1296
  )
1297
1297
 
1298
- # The one-time code was not successfully delivered.
1298
+ # The one-time code could not be delivered because the card has no phone number or email on file.
1299
1299
  NONE_AVAILABLE =
1300
1300
  T.let(
1301
1301
  :none_available,
@@ -4960,6 +4960,13 @@ module Increase
4960
4960
  Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
4961
4961
  )
4962
4962
 
4963
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
4964
+ PULSE_TOKENIZATION_FEE =
4965
+ T.let(
4966
+ :pulse_tokenization_fee,
4967
+ Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
4968
+ )
4969
+
4963
4970
  sig do
4964
4971
  override.returns(
4965
4972
  T::Array[
@@ -7731,6 +7738,13 @@ module Increase
7731
7738
  Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
7732
7739
  )
7733
7740
 
7741
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
7742
+ PULSE_TOKENIZATION_FEE =
7743
+ T.let(
7744
+ :pulse_tokenization_fee,
7745
+ Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
7746
+ )
7747
+
7734
7748
  sig do
7735
7749
  override.returns(
7736
7750
  T::Array[
@@ -10825,6 +10839,13 @@ module Increase
10825
10839
  Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
10826
10840
  )
10827
10841
 
10842
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
10843
+ PULSE_TOKENIZATION_FEE =
10844
+ T.let(
10845
+ :pulse_tokenization_fee,
10846
+ Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
10847
+ )
10848
+
10828
10849
  sig do
10829
10850
  override.returns(
10830
10851
  T::Array[
@@ -13618,6 +13639,13 @@ module Increase
13618
13639
  Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
13619
13640
  )
13620
13641
 
13642
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
13643
+ PULSE_TOKENIZATION_FEE =
13644
+ T.let(
13645
+ :pulse_tokenization_fee,
13646
+ Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
13647
+ )
13648
+
13621
13649
  sig do
13622
13650
  override.returns(
13623
13651
  T::Array[
@@ -14687,6 +14715,13 @@ module Increase
14687
14715
  Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
14688
14716
  )
14689
14717
 
14718
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
14719
+ PULSE_TOKENIZATION_FEE =
14720
+ T.let(
14721
+ :pulse_tokenization_fee,
14722
+ Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
14723
+ )
14724
+
14690
14725
  sig do
14691
14726
  override.returns(
14692
14727
  T::Array[
@@ -16250,6 +16285,13 @@ module Increase
16250
16285
  Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
16251
16286
  )
16252
16287
 
16288
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
16289
+ PULSE_TOKENIZATION_FEE =
16290
+ T.let(
16291
+ :pulse_tokenization_fee,
16292
+ Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
16293
+ )
16294
+
16253
16295
  sig do
16254
16296
  override.returns(
16255
16297
  T::Array[
@@ -18931,6 +18973,13 @@ module Increase
18931
18973
  Increase::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
18932
18974
  )
18933
18975
 
18976
+ # Visa Recurrent reference identifier
18977
+ VISA_RECURRENT_REFERENCE_IDENTIFIER =
18978
+ T.let(
18979
+ :visa_recurrent_reference_identifier,
18980
+ Increase::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
18981
+ )
18982
+
18934
18983
  sig do
18935
18984
  override.returns(
18936
18985
  T::Array[
@@ -20161,6 +20210,13 @@ module Increase
20161
20210
  Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
20162
20211
  )
20163
20212
 
20213
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
20214
+ PULSE_TOKENIZATION_FEE =
20215
+ T.let(
20216
+ :pulse_tokenization_fee,
20217
+ Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
20218
+ )
20219
+
20164
20220
  sig do
20165
20221
  override.returns(
20166
20222
  T::Array[
@@ -21017,6 +21073,13 @@ module Increase
21017
21073
  Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
21018
21074
  )
21019
21075
 
21076
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
21077
+ PULSE_TOKENIZATION_FEE =
21078
+ T.let(
21079
+ :pulse_tokenization_fee,
21080
+ Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
21081
+ )
21082
+
21020
21083
  sig do
21021
21084
  override.returns(
21022
21085
  T::Array[
@@ -23757,6 +23820,13 @@ module Increase
23757
23820
  Increase::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
23758
23821
  )
23759
23822
 
23823
+ # Visa Recurrent reference identifier
23824
+ VISA_RECURRENT_REFERENCE_IDENTIFIER =
23825
+ T.let(
23826
+ :visa_recurrent_reference_identifier,
23827
+ Increase::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat::TaggedSymbol
23828
+ )
23829
+
23760
23830
  sig do
23761
23831
  override.returns(
23762
23832
  T::Array[
@@ -24987,6 +25057,13 @@ module Increase
24987
25057
  Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
24988
25058
  )
24989
25059
 
25060
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
25061
+ PULSE_TOKENIZATION_FEE =
25062
+ T.let(
25063
+ :pulse_tokenization_fee,
25064
+ Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
25065
+ )
25066
+
24990
25067
  sig do
24991
25068
  override.returns(
24992
25069
  T::Array[
@@ -27258,6 +27335,13 @@ module Increase
27258
27335
  Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
27259
27336
  )
27260
27337
 
27338
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
27339
+ PULSE_TOKENIZATION_FEE =
27340
+ T.let(
27341
+ :pulse_tokenization_fee,
27342
+ Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
27343
+ )
27344
+
27261
27345
  sig do
27262
27346
  override.returns(
27263
27347
  T::Array[
@@ -488,6 +488,13 @@ module Increase
488
488
  Increase::CheckDeposit::DepositAdjustment::Reason::TaggedSymbol
489
489
  )
490
490
 
491
+ # A previous adjustment for the check was applied twice and the duplicate has been reversed.
492
+ DUPLICATE_ENTRY =
493
+ T.let(
494
+ :duplicate_entry,
495
+ Increase::CheckDeposit::DepositAdjustment::Reason::TaggedSymbol
496
+ )
497
+
491
498
  sig do
492
499
  override.returns(
493
500
  T::Array[
@@ -3525,6 +3525,13 @@ module Increase
3525
3525
  Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3526
3526
  )
3527
3527
 
3528
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
3529
+ PULSE_TOKENIZATION_FEE =
3530
+ T.let(
3531
+ :pulse_tokenization_fee,
3532
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3533
+ )
3534
+
3528
3535
  sig do
3529
3536
  override.returns(
3530
3537
  T::Array[
@@ -28,6 +28,11 @@ module Increase
28
28
  sig { returns(T.nilable(String)) }
29
29
  attr_accessor :contact_email
30
30
 
31
+ # The name of your company or card program, shown to the user as who to contact
32
+ # for support with their card.
33
+ sig { returns(String) }
34
+ attr_accessor :contact_name
35
+
31
36
  # A phone number the user can contact to receive support for their card.
32
37
  sig { returns(T.nilable(String)) }
33
38
  attr_accessor :contact_phone
@@ -51,10 +56,6 @@ module Increase
51
56
  sig { returns(T.nilable(String)) }
52
57
  attr_accessor :idempotency_key
53
58
 
54
- # A user-facing description for whoever is issuing the card.
55
- sig { returns(String) }
56
- attr_accessor :issuer_name
57
-
58
59
  # The status of the Card Profile.
59
60
  sig { returns(Increase::DigitalCardProfile::Status::TaggedSymbol) }
60
61
  attr_accessor :status
@@ -83,12 +84,12 @@ module Increase
83
84
  background_image_file_id: String,
84
85
  card_description: String,
85
86
  contact_email: T.nilable(String),
87
+ contact_name: String,
86
88
  contact_phone: T.nilable(String),
87
89
  contact_website: T.nilable(String),
88
90
  created_at: Time,
89
91
  description: String,
90
92
  idempotency_key: T.nilable(String),
91
- issuer_name: String,
92
93
  status: Increase::DigitalCardProfile::Status::OrSymbol,
93
94
  text_color: Increase::DigitalCardProfile::TextColor::OrHash,
94
95
  type: Increase::DigitalCardProfile::Type::OrSymbol
@@ -105,6 +106,9 @@ module Increase
105
106
  card_description:,
106
107
  # An email address the user can contact to receive support for their card.
107
108
  contact_email:,
109
+ # The name of your company or card program, shown to the user as who to contact
110
+ # for support with their card.
111
+ contact_name:,
108
112
  # A phone number the user can contact to receive support for their card.
109
113
  contact_phone:,
110
114
  # A website the user can visit to view and receive support for their card.
@@ -118,8 +122,6 @@ module Increase
118
122
  # Increase and is used to ensure that a request is only processed once. Learn more
119
123
  # about [idempotency](https://increase.com/documentation/idempotency-keys).
120
124
  idempotency_key:,
121
- # A user-facing description for whoever is issuing the card.
122
- issuer_name:,
123
125
  # The status of the Card Profile.
124
126
  status:,
125
127
  # The Card's text color, specified as an RGB triple.
@@ -138,12 +140,12 @@ module Increase
138
140
  background_image_file_id: String,
139
141
  card_description: String,
140
142
  contact_email: T.nilable(String),
143
+ contact_name: String,
141
144
  contact_phone: T.nilable(String),
142
145
  contact_website: T.nilable(String),
143
146
  created_at: Time,
144
147
  description: String,
145
148
  idempotency_key: T.nilable(String),
146
- issuer_name: String,
147
149
  status: Increase::DigitalCardProfile::Status::TaggedSymbol,
148
150
  text_color: Increase::DigitalCardProfile::TextColor,
149
151
  type: Increase::DigitalCardProfile::Type::TaggedSymbol
@@ -46,6 +46,14 @@ module Increase
46
46
  sig { params(contact_email: String).void }
47
47
  attr_writer :contact_email
48
48
 
49
+ # The name of your company or card program, shown to the user as who to contact
50
+ # for support with their card.
51
+ sig { returns(T.nilable(String)) }
52
+ attr_reader :contact_name
53
+
54
+ sig { params(contact_name: String).void }
55
+ attr_writer :contact_name
56
+
49
57
  # A phone number the user can contact to receive support for their card.
50
58
  sig { returns(T.nilable(String)) }
51
59
  attr_reader :contact_phone
@@ -67,13 +75,6 @@ module Increase
67
75
  sig { params(description: String).void }
68
76
  attr_writer :description
69
77
 
70
- # A user-facing description for whoever is issuing the card.
71
- sig { returns(T.nilable(String)) }
72
- attr_reader :issuer_name
73
-
74
- sig { params(issuer_name: String).void }
75
- attr_writer :issuer_name
76
-
77
78
  # The Card's text color, specified as an RGB triple. The default is white.
78
79
  sig do
79
80
  returns(T.nilable(Increase::DigitalCardProfileCloneParams::TextColor))
@@ -94,10 +95,10 @@ module Increase
94
95
  background_image_file_id: String,
95
96
  card_description: String,
96
97
  contact_email: String,
98
+ contact_name: String,
97
99
  contact_phone: String,
98
100
  contact_website: String,
99
101
  description: String,
100
- issuer_name: String,
101
102
  text_color:
102
103
  Increase::DigitalCardProfileCloneParams::TextColor::OrHash,
103
104
  request_options: Increase::RequestOptions::OrHash
@@ -114,14 +115,15 @@ module Increase
114
115
  card_description: nil,
115
116
  # An email address the user can contact to receive support for their card.
116
117
  contact_email: nil,
118
+ # The name of your company or card program, shown to the user as who to contact
119
+ # for support with their card.
120
+ contact_name: nil,
117
121
  # A phone number the user can contact to receive support for their card.
118
122
  contact_phone: nil,
119
123
  # A website the user can visit to view and receive support for their card.
120
124
  contact_website: nil,
121
125
  # A description you can use to identify the Card Profile.
122
126
  description: nil,
123
- # A user-facing description for whoever is issuing the card.
124
- issuer_name: nil,
125
127
  # The Card's text color, specified as an RGB triple. The default is white.
126
128
  text_color: nil,
127
129
  request_options: {}
@@ -136,10 +138,10 @@ module Increase
136
138
  background_image_file_id: String,
137
139
  card_description: String,
138
140
  contact_email: String,
141
+ contact_name: String,
139
142
  contact_phone: String,
140
143
  contact_website: String,
141
144
  description: String,
142
- issuer_name: String,
143
145
  text_color: Increase::DigitalCardProfileCloneParams::TextColor,
144
146
  request_options: Increase::RequestOptions
145
147
  }
@@ -30,10 +30,6 @@ module Increase
30
30
  sig { returns(String) }
31
31
  attr_accessor :description
32
32
 
33
- # A user-facing description for whoever is issuing the card.
34
- sig { returns(String) }
35
- attr_accessor :issuer_name
36
-
37
33
  # An email address the user can contact to receive support for their card.
38
34
  sig { returns(T.nilable(String)) }
39
35
  attr_reader :contact_email
@@ -41,6 +37,14 @@ module Increase
41
37
  sig { params(contact_email: String).void }
42
38
  attr_writer :contact_email
43
39
 
40
+ # The name of your company or card program, shown to the user as who to contact
41
+ # for support with their card.
42
+ sig { returns(T.nilable(String)) }
43
+ attr_reader :contact_name
44
+
45
+ sig { params(contact_name: String).void }
46
+ attr_writer :contact_name
47
+
44
48
  # A phone number the user can contact to receive support for their card.
45
49
  sig { returns(T.nilable(String)) }
46
50
  attr_reader :contact_phone
@@ -75,8 +79,8 @@ module Increase
75
79
  background_image_file_id: String,
76
80
  card_description: String,
77
81
  description: String,
78
- issuer_name: String,
79
82
  contact_email: String,
83
+ contact_name: String,
80
84
  contact_phone: String,
81
85
  contact_website: String,
82
86
  text_color:
@@ -93,10 +97,11 @@ module Increase
93
97
  card_description:,
94
98
  # A description you can use to identify the Card Profile.
95
99
  description:,
96
- # A user-facing description for whoever is issuing the card.
97
- issuer_name:,
98
100
  # An email address the user can contact to receive support for their card.
99
101
  contact_email: nil,
102
+ # The name of your company or card program, shown to the user as who to contact
103
+ # for support with their card.
104
+ contact_name: nil,
100
105
  # A phone number the user can contact to receive support for their card.
101
106
  contact_phone: nil,
102
107
  # A website the user can visit to view and receive support for their card.
@@ -114,8 +119,8 @@ module Increase
114
119
  background_image_file_id: String,
115
120
  card_description: String,
116
121
  description: String,
117
- issuer_name: String,
118
122
  contact_email: String,
123
+ contact_name: String,
119
124
  contact_phone: String,
120
125
  contact_website: String,
121
126
  text_color: Increase::DigitalCardProfileCreateParams::TextColor,
@@ -341,6 +341,13 @@ module Increase
341
341
  Increase::Event::Category::TaggedSymbol
342
342
  )
343
343
 
344
+ # Occurs whenever a Digital Wallet Token Request is created.
345
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED =
346
+ T.let(
347
+ :"digital_wallet_token_request.created",
348
+ Increase::Event::Category::TaggedSymbol
349
+ )
350
+
344
351
  # Occurs whenever an Entity is created.
345
352
  ENTITY_CREATED =
346
353
  T.let(:"entity.created", Increase::Event::Category::TaggedSymbol)
@@ -39,8 +39,8 @@ module Increase
39
39
  sig { params(cursor: String).void }
40
40
  attr_writer :cursor
41
41
 
42
- # Limit the size of the list that is returned. The default (and maximum) is 100
43
- # objects.
42
+ # Limit the size of the list that is returned. The default is 100 objects and the
43
+ # maximum is 1,000.
44
44
  #
45
45
  # Defaults to `100`.
46
46
  sig { returns(T.nilable(Integer)) }
@@ -73,8 +73,8 @@ module Increase
73
73
  created_at: nil,
74
74
  # Return the page of entries after this one.
75
75
  cursor: nil,
76
- # Limit the size of the list that is returned. The default (and maximum) is 100
77
- # objects.
76
+ # Limit the size of the list that is returned. The default is 100 objects and the
77
+ # maximum is 1,000.
78
78
  #
79
79
  # Defaults to `100`.
80
80
  limit: nil,
@@ -423,6 +423,13 @@ module Increase
423
423
  Increase::EventListParams::Category::In::TaggedSymbol
424
424
  )
425
425
 
426
+ # Occurs whenever a Digital Wallet Token Request is created.
427
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED =
428
+ T.let(
429
+ :"digital_wallet_token_request.created",
430
+ Increase::EventListParams::Category::In::TaggedSymbol
431
+ )
432
+
426
433
  # Occurs whenever an Entity is created.
427
434
  ENTITY_CREATED =
428
435
  T.let(
@@ -444,6 +444,13 @@ module Increase
444
444
  Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
445
445
  )
446
446
 
447
+ # Occurs whenever a Digital Wallet Token Request is created.
448
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED =
449
+ T.let(
450
+ :"digital_wallet_token_request.created",
451
+ Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
452
+ )
453
+
447
454
  # Occurs whenever an Entity is created.
448
455
  ENTITY_CREATED =
449
456
  T.let(
@@ -442,6 +442,13 @@ module Increase
442
442
  Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
443
443
  )
444
444
 
445
+ # Occurs whenever a Digital Wallet Token Request is created.
446
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED =
447
+ T.let(
448
+ :"digital_wallet_token_request.created",
449
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
450
+ )
451
+
445
452
  # Occurs whenever an Entity is created.
446
453
  ENTITY_CREATED =
447
454
  T.let(
@@ -225,7 +225,7 @@ module Increase
225
225
  Increase::File::Purpose::TaggedSymbol
226
226
  )
227
227
 
228
- # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG.
228
+ # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG with the Visa Brand Mark sized and placed as in the digital card template.
229
229
  DIGITAL_WALLET_ARTWORK =
230
230
  T.let(:digital_wallet_artwork, Increase::File::Purpose::TaggedSymbol)
231
231
 
@@ -153,7 +153,7 @@ module Increase
153
153
  Increase::FileCreateParams::Purpose::TaggedSymbol
154
154
  )
155
155
 
156
- # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG.
156
+ # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG with the Visa Brand Mark sized and placed as in the digital card template.
157
157
  DIGITAL_WALLET_ARTWORK =
158
158
  T.let(
159
159
  :digital_wallet_artwork,
@@ -347,7 +347,7 @@ module Increase
347
347
  Increase::FileListParams::Purpose::In::TaggedSymbol
348
348
  )
349
349
 
350
- # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG.
350
+ # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG with the Visa Brand Mark sized and placed as in the digital card template.
351
351
  DIGITAL_WALLET_ARTWORK =
352
352
  T.let(
353
353
  :digital_wallet_artwork,
@@ -42,7 +42,7 @@ module Increase
42
42
  attr_accessor :automatically_resolves_at
43
43
 
44
44
  # The ID for the File containing the image of the back of the check.
45
- sig { returns(T.nilable(String)) }
45
+ sig { returns(String) }
46
46
  attr_accessor :back_image_file_id
47
47
 
48
48
  # The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
@@ -94,7 +94,7 @@ module Increase
94
94
  attr_writer :deposit_return
95
95
 
96
96
  # The ID for the File containing the image of the front of the check.
97
- sig { returns(T.nilable(String)) }
97
+ sig { returns(String) }
98
98
  attr_accessor :front_image_file_id
99
99
 
100
100
  # Whether the details on the check match the recipient name of the check transfer.
@@ -130,7 +130,7 @@ module Increase
130
130
  T::Array[Increase::InboundCheckDeposit::Adjustment::OrHash],
131
131
  amount: Integer,
132
132
  automatically_resolves_at: Time,
133
- back_image_file_id: T.nilable(String),
133
+ back_image_file_id: String,
134
134
  bank_of_first_deposit_routing_number: T.nilable(String),
135
135
  check_number: T.nilable(String),
136
136
  check_transfer_id: T.nilable(String),
@@ -140,7 +140,7 @@ module Increase
140
140
  declined_transaction_id: T.nilable(String),
141
141
  deposit_return:
142
142
  T.nilable(Increase::InboundCheckDeposit::DepositReturn::OrHash),
143
- front_image_file_id: T.nilable(String),
143
+ front_image_file_id: String,
144
144
  payee_name_analysis:
145
145
  Increase::InboundCheckDeposit::PayeeNameAnalysis::OrSymbol,
146
146
  status: Increase::InboundCheckDeposit::Status::OrSymbol,
@@ -220,7 +220,7 @@ module Increase
220
220
  adjustments: T::Array[Increase::InboundCheckDeposit::Adjustment],
221
221
  amount: Integer,
222
222
  automatically_resolves_at: Time,
223
- back_image_file_id: T.nilable(String),
223
+ back_image_file_id: String,
224
224
  bank_of_first_deposit_routing_number: T.nilable(String),
225
225
  check_number: T.nilable(String),
226
226
  check_transfer_id: T.nilable(String),
@@ -230,7 +230,7 @@ module Increase
230
230
  declined_transaction_id: T.nilable(String),
231
231
  deposit_return:
232
232
  T.nilable(Increase::InboundCheckDeposit::DepositReturn),
233
- front_image_file_id: T.nilable(String),
233
+ front_image_file_id: String,
234
234
  payee_name_analysis:
235
235
  Increase::InboundCheckDeposit::PayeeNameAnalysis::TaggedSymbol,
236
236
  status: Increase::InboundCheckDeposit::Status::TaggedSymbol,
@@ -331,6 +331,13 @@ module Increase
331
331
  Increase::InboundCheckDeposit::Adjustment::Reason::TaggedSymbol
332
332
  )
333
333
 
334
+ # A previous adjustment for the check was applied twice and the duplicate has been reversed.
335
+ DUPLICATE_ENTRY =
336
+ T.let(
337
+ :duplicate_entry,
338
+ Increase::InboundCheckDeposit::Adjustment::Reason::TaggedSymbol
339
+ )
340
+
334
341
  sig do
335
342
  override.returns(
336
343
  T::Array[