increase 1.66.0 → 1.68.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3279bfab4dd6ff3032815df6317752e7136e79b2c9b2b06646151f8cb312713f
4
- data.tar.gz: 598ae9bba9db28a1225d09b669e1036d774e51aa35bfd6bfd39a5da380b96807
3
+ metadata.gz: fc8aab93315d0203954e1f0c7129520670091d1e171a4ad6fc68de313ec3cb95
4
+ data.tar.gz: 8c11bd8734bf60cc0c4e7474d523a4593f13df0e5d7b93720ef4691c342bdcc4
5
5
  SHA512:
6
- metadata.gz: 05bb5ee8eed7ef086378a628ef0304e6da44d207912b80f6e92b423a195c1ad30d54793f3d1c5dedd79fac8b349a1193e6ae35cbe0537bc1390431da1c6b319a
7
- data.tar.gz: 66fbc098bf7de179f2d7da5e589dc00cdef14c3521a751edf296d78d3b450a439f8f72aaaefc9aec73e5a28a96bf568e794a3e964afdde99c146fc168f0f5f91
6
+ metadata.gz: 261a5d3eb5a9847637b3ce6e44e2328a1e380998b767efc38cf6f5d3b1bc55ea3d786ecddd0c579a5e6f45f89c3964670aa91d4b462b5976752d6c3edbcfd09e
7
+ data.tar.gz: 7f17cf52ef82f0793b85d0c66214e135d04da5c355101f304a973198afd5de88922b253e73753b943d2fc22f98018523f458424a1be7e4dded3c118beb294edd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.68.0 (2025-09-07)
4
+
5
+ Full Changelog: [v1.67.0...v1.68.0](https://github.com/Increase/increase-ruby/compare/v1.67.0...v1.68.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([89e4d03](https://github.com/Increase/increase-ruby/commit/89e4d038f966f4d797cd83249df91a6fb6ee992c))
10
+
11
+ ## 1.67.0 (2025-09-05)
12
+
13
+ Full Changelog: [v1.66.0...v1.67.0](https://github.com/Increase/increase-ruby/compare/v1.66.0...v1.67.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([d2435db](https://github.com/Increase/increase-ruby/commit/d2435dbe228b43ad2a5169303898d45f09005908))
18
+
3
19
  ## 1.66.0 (2025-09-05)
4
20
 
5
21
  Full Changelog: [v1.65.0...v1.66.0](https://github.com/Increase/increase-ruby/compare/v1.65.0...v1.66.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.66.0"
18
+ gem "increase", "~> 1.68.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -8,19 +8,22 @@ module Increase
8
8
  include Increase::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute corporation
11
- # Details of the corporation entity to update.
11
+ # Details of the corporation entity to update. If you specify this parameter and
12
+ # the entity is not a corporation, the request will fail.
12
13
  #
13
14
  # @return [Increase::Models::EntityUpdateParams::Corporation, nil]
14
15
  optional :corporation, -> { Increase::EntityUpdateParams::Corporation }
15
16
 
16
17
  # @!attribute government_authority
17
- # Details of the government authority entity to update.
18
+ # Details of the government authority entity to update. If you specify this
19
+ # parameter and the entity is not a government authority, the request will fail.
18
20
  #
19
21
  # @return [Increase::Models::EntityUpdateParams::GovernmentAuthority, nil]
20
22
  optional :government_authority, -> { Increase::EntityUpdateParams::GovernmentAuthority }
21
23
 
22
24
  # @!attribute natural_person
23
- # Details of the natural person entity to update.
25
+ # Details of the natural person entity to update. If you specify this parameter
26
+ # and the entity is not a natural person, the request will fail.
24
27
  #
25
28
  # @return [Increase::Models::EntityUpdateParams::NaturalPerson, nil]
26
29
  optional :natural_person, -> { Increase::EntityUpdateParams::NaturalPerson }
@@ -40,7 +43,8 @@ module Increase
40
43
  optional :third_party_verification, -> { Increase::EntityUpdateParams::ThirdPartyVerification }
41
44
 
42
45
  # @!attribute trust
43
- # Details of the trust entity to update.
46
+ # Details of the trust entity to update. If you specify this parameter and the
47
+ # entity is not a trust, the request will fail.
44
48
  #
45
49
  # @return [Increase::Models::EntityUpdateParams::Trust, nil]
46
50
  optional :trust, -> { Increase::EntityUpdateParams::Trust }
@@ -49,17 +53,17 @@ module Increase
49
53
  # Some parameter documentations has been truncated, see
50
54
  # {Increase::Models::EntityUpdateParams} for more details.
51
55
  #
52
- # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update.
56
+ # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
53
57
  #
54
- # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
58
+ # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
55
59
  #
56
- # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
60
+ # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
57
61
  #
58
62
  # @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
59
63
  #
60
64
  # @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati
61
65
  #
62
- # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update.
66
+ # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent
63
67
  #
64
68
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
65
69
 
@@ -71,7 +75,8 @@ module Increase
71
75
  optional :name, String
72
76
 
73
77
  # @!method initialize(name: nil)
74
- # Details of the corporation entity to update.
78
+ # Details of the corporation entity to update. If you specify this parameter and
79
+ # the entity is not a corporation, the request will fail.
75
80
  #
76
81
  # @param name [String] The legal name of the corporation.
77
82
  end
@@ -84,7 +89,8 @@ module Increase
84
89
  optional :name, String
85
90
 
86
91
  # @!method initialize(name: nil)
87
- # Details of the government authority entity to update.
92
+ # Details of the government authority entity to update. If you specify this
93
+ # parameter and the entity is not a government authority, the request will fail.
88
94
  #
89
95
  # @param name [String] The legal name of the government authority.
90
96
  end
@@ -97,7 +103,8 @@ module Increase
97
103
  optional :name, String
98
104
 
99
105
  # @!method initialize(name: nil)
100
- # Details of the natural person entity to update.
106
+ # Details of the natural person entity to update. If you specify this parameter
107
+ # and the entity is not a natural person, the request will fail.
101
108
  #
102
109
  # @param name [String] The legal name of the natural person.
103
110
  end
@@ -196,7 +203,8 @@ module Increase
196
203
  optional :name, String
197
204
 
198
205
  # @!method initialize(name: nil)
199
- # Details of the trust entity to update.
206
+ # Details of the trust entity to update. If you specify this parameter and the
207
+ # entity is not a trust, the request will fail.
200
208
  #
201
209
  # @param name [String] The legal name of the trust.
202
210
  end
@@ -37,6 +37,12 @@ module Increase
37
37
  # @return [String]
38
38
  required :program_id, String
39
39
 
40
+ # @!attribute back_color
41
+ # The color of the text on the back of the card. Defaults to "black".
42
+ #
43
+ # @return [Symbol, Increase::Models::PhysicalCardProfileCreateParams::BackColor, nil]
44
+ optional :back_color, enum: -> { Increase::PhysicalCardProfileCreateParams::BackColor }
45
+
40
46
  # @!attribute card_stock_reference
41
47
  # A reference ID provided by the fulfillment provider for the card stock used.
42
48
  # Only used if you've ordered card stock separately.
@@ -51,6 +57,12 @@ module Increase
51
57
  # @return [String, nil]
52
58
  optional :carrier_stock_reference, String
53
59
 
60
+ # @!attribute front_color
61
+ # The color of the design on the front of the card. Defaults to "black".
62
+ #
63
+ # @return [Symbol, Increase::Models::PhysicalCardProfileCreateParams::FrontColor, nil]
64
+ optional :front_color, enum: -> { Increase::PhysicalCardProfileCreateParams::FrontColor }
65
+
54
66
  # @!attribute front_text
55
67
  # Text printed on the front of the card. Reach out to
56
68
  # [support@increase.com](mailto:support@increase.com) for more information.
@@ -58,7 +70,7 @@ module Increase
58
70
  # @return [Increase::Models::PhysicalCardProfileCreateParams::FrontText, nil]
59
71
  optional :front_text, -> { Increase::PhysicalCardProfileCreateParams::FrontText }
60
72
 
61
- # @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, card_stock_reference: nil, carrier_stock_reference: nil, front_text: nil, request_options: {})
73
+ # @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, back_color: nil, card_stock_reference: nil, carrier_stock_reference: nil, front_color: nil, front_text: nil, request_options: {})
62
74
  # Some parameter documentations has been truncated, see
63
75
  # {Increase::Models::PhysicalCardProfileCreateParams} for more details.
64
76
  #
@@ -72,14 +84,46 @@ module Increase
72
84
  #
73
85
  # @param program_id [String] The identifier for the Program that this Physical Card Profile falls under.
74
86
  #
87
+ # @param back_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::BackColor] The color of the text on the back of the card. Defaults to "black".
88
+ #
75
89
  # @param card_stock_reference [String] A reference ID provided by the fulfillment provider for the card stock used. Onl
76
90
  #
77
91
  # @param carrier_stock_reference [String] A reference ID provided by the fulfillment provider for the carrier stock used.
78
92
  #
93
+ # @param front_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::FrontColor] The color of the design on the front of the card. Defaults to "black".
94
+ #
79
95
  # @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt
80
96
  #
81
97
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
82
98
 
99
+ # The color of the text on the back of the card. Defaults to "black".
100
+ module BackColor
101
+ extend Increase::Internal::Type::Enum
102
+
103
+ # Black personalization color.
104
+ BLACK = :black
105
+
106
+ # White personalization color.
107
+ WHITE = :white
108
+
109
+ # @!method self.values
110
+ # @return [Array<Symbol>]
111
+ end
112
+
113
+ # The color of the design on the front of the card. Defaults to "black".
114
+ module FrontColor
115
+ extend Increase::Internal::Type::Enum
116
+
117
+ # Black personalization color.
118
+ BLACK = :black
119
+
120
+ # White personalization color.
121
+ WHITE = :white
122
+
123
+ # @!method self.values
124
+ # @return [Array<Symbol>]
125
+ end
126
+
83
127
  class FrontText < Increase::Internal::Type::BaseModel
84
128
  # @!attribute line1
85
129
  # The first line of text on the front of the card.
@@ -75,17 +75,17 @@ module Increase
75
75
  #
76
76
  # @param entity_id [String] The entity identifier.
77
77
  #
78
- # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update.
78
+ # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
79
79
  #
80
- # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
80
+ # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
81
81
  #
82
- # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
82
+ # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
83
83
  #
84
84
  # @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
85
85
  #
86
86
  # @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati
87
87
  #
88
- # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update.
88
+ # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent
89
89
  #
90
90
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
91
91
  #
@@ -8,7 +8,7 @@ module Increase
8
8
  #
9
9
  # Create a Physical Card Profile
10
10
  #
11
- # @overload create(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, card_stock_reference: nil, carrier_stock_reference: nil, front_text: nil, request_options: {})
11
+ # @overload create(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, back_color: nil, card_stock_reference: nil, carrier_stock_reference: nil, front_color: nil, front_text: nil, request_options: {})
12
12
  #
13
13
  # @param carrier_image_file_id [String] The identifier of the File containing the physical card's carrier image.
14
14
  #
@@ -20,10 +20,14 @@ module Increase
20
20
  #
21
21
  # @param program_id [String] The identifier for the Program that this Physical Card Profile falls under.
22
22
  #
23
+ # @param back_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::BackColor] The color of the text on the back of the card. Defaults to "black".
24
+ #
23
25
  # @param card_stock_reference [String] A reference ID provided by the fulfillment provider for the card stock used. Onl
24
26
  #
25
27
  # @param carrier_stock_reference [String] A reference ID provided by the fulfillment provider for the carrier stock used.
26
28
  #
29
+ # @param front_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::FrontColor] The color of the design on the front of the card. Defaults to "black".
30
+ #
27
31
  # @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt
28
32
  #
29
33
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.66.0"
4
+ VERSION = "1.68.0"
5
5
  end
@@ -11,7 +11,8 @@ module Increase
11
11
  T.any(Increase::EntityUpdateParams, Increase::Internal::AnyHash)
12
12
  end
13
13
 
14
- # Details of the corporation entity to update.
14
+ # Details of the corporation entity to update. If you specify this parameter and
15
+ # the entity is not a corporation, the request will fail.
15
16
  sig { returns(T.nilable(Increase::EntityUpdateParams::Corporation)) }
16
17
  attr_reader :corporation
17
18
 
@@ -22,7 +23,8 @@ module Increase
22
23
  end
23
24
  attr_writer :corporation
24
25
 
25
- # Details of the government authority entity to update.
26
+ # Details of the government authority entity to update. If you specify this
27
+ # parameter and the entity is not a government authority, the request will fail.
26
28
  sig do
27
29
  returns(T.nilable(Increase::EntityUpdateParams::GovernmentAuthority))
28
30
  end
@@ -36,7 +38,8 @@ module Increase
36
38
  end
37
39
  attr_writer :government_authority
38
40
 
39
- # Details of the natural person entity to update.
41
+ # Details of the natural person entity to update. If you specify this parameter
42
+ # and the entity is not a natural person, the request will fail.
40
43
  sig { returns(T.nilable(Increase::EntityUpdateParams::NaturalPerson)) }
41
44
  attr_reader :natural_person
42
45
 
@@ -74,7 +77,8 @@ module Increase
74
77
  end
75
78
  attr_writer :third_party_verification
76
79
 
77
- # Details of the trust entity to update.
80
+ # Details of the trust entity to update. If you specify this parameter and the
81
+ # entity is not a trust, the request will fail.
78
82
  sig { returns(T.nilable(Increase::EntityUpdateParams::Trust)) }
79
83
  attr_reader :trust
80
84
 
@@ -95,11 +99,14 @@ module Increase
95
99
  ).returns(T.attached_class)
96
100
  end
97
101
  def self.new(
98
- # Details of the corporation entity to update.
102
+ # Details of the corporation entity to update. If you specify this parameter and
103
+ # the entity is not a corporation, the request will fail.
99
104
  corporation: nil,
100
- # Details of the government authority entity to update.
105
+ # Details of the government authority entity to update. If you specify this
106
+ # parameter and the entity is not a government authority, the request will fail.
101
107
  government_authority: nil,
102
- # Details of the natural person entity to update.
108
+ # Details of the natural person entity to update. If you specify this parameter
109
+ # and the entity is not a natural person, the request will fail.
103
110
  natural_person: nil,
104
111
  # An assessment of the entity’s potential risk of involvement in financial crimes,
105
112
  # such as money laundering.
@@ -107,7 +114,8 @@ module Increase
107
114
  # A reference to data stored in a third-party verification service. Your
108
115
  # integration may or may not use this field.
109
116
  third_party_verification: nil,
110
- # Details of the trust entity to update.
117
+ # Details of the trust entity to update. If you specify this parameter and the
118
+ # entity is not a trust, the request will fail.
111
119
  trust: nil,
112
120
  request_options: {}
113
121
  )
@@ -147,7 +155,8 @@ module Increase
147
155
  sig { params(name: String).void }
148
156
  attr_writer :name
149
157
 
150
- # Details of the corporation entity to update.
158
+ # Details of the corporation entity to update. If you specify this parameter and
159
+ # the entity is not a corporation, the request will fail.
151
160
  sig { params(name: String).returns(T.attached_class) }
152
161
  def self.new(
153
162
  # The legal name of the corporation.
@@ -176,7 +185,8 @@ module Increase
176
185
  sig { params(name: String).void }
177
186
  attr_writer :name
178
187
 
179
- # Details of the government authority entity to update.
188
+ # Details of the government authority entity to update. If you specify this
189
+ # parameter and the entity is not a government authority, the request will fail.
180
190
  sig { params(name: String).returns(T.attached_class) }
181
191
  def self.new(
182
192
  # The legal name of the government authority.
@@ -205,7 +215,8 @@ module Increase
205
215
  sig { params(name: String).void }
206
216
  attr_writer :name
207
217
 
208
- # Details of the natural person entity to update.
218
+ # Details of the natural person entity to update. If you specify this parameter
219
+ # and the entity is not a natural person, the request will fail.
209
220
  sig { params(name: String).returns(T.attached_class) }
210
221
  def self.new(
211
222
  # The legal name of the natural person.
@@ -421,7 +432,8 @@ module Increase
421
432
  sig { params(name: String).void }
422
433
  attr_writer :name
423
434
 
424
- # Details of the trust entity to update.
435
+ # Details of the trust entity to update. If you specify this parameter and the
436
+ # entity is not a trust, the request will fail.
425
437
  sig { params(name: String).returns(T.attached_class) }
426
438
  def self.new(
427
439
  # The legal name of the trust.
@@ -34,6 +34,24 @@ module Increase
34
34
  sig { returns(String) }
35
35
  attr_accessor :program_id
36
36
 
37
+ # The color of the text on the back of the card. Defaults to "black".
38
+ sig do
39
+ returns(
40
+ T.nilable(
41
+ Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol
42
+ )
43
+ )
44
+ end
45
+ attr_reader :back_color
46
+
47
+ sig do
48
+ params(
49
+ back_color:
50
+ Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol
51
+ ).void
52
+ end
53
+ attr_writer :back_color
54
+
37
55
  # A reference ID provided by the fulfillment provider for the card stock used.
38
56
  # Only used if you've ordered card stock separately.
39
57
  sig { returns(T.nilable(String)) }
@@ -50,6 +68,24 @@ module Increase
50
68
  sig { params(carrier_stock_reference: String).void }
51
69
  attr_writer :carrier_stock_reference
52
70
 
71
+ # The color of the design on the front of the card. Defaults to "black".
72
+ sig do
73
+ returns(
74
+ T.nilable(
75
+ Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol
76
+ )
77
+ )
78
+ end
79
+ attr_reader :front_color
80
+
81
+ sig do
82
+ params(
83
+ front_color:
84
+ Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol
85
+ ).void
86
+ end
87
+ attr_writer :front_color
88
+
53
89
  # Text printed on the front of the card. Reach out to
54
90
  # [support@increase.com](mailto:support@increase.com) for more information.
55
91
  sig do
@@ -72,8 +108,12 @@ module Increase
72
108
  description: String,
73
109
  front_image_file_id: String,
74
110
  program_id: String,
111
+ back_color:
112
+ Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
75
113
  card_stock_reference: String,
76
114
  carrier_stock_reference: String,
115
+ front_color:
116
+ Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
77
117
  front_text:
78
118
  Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
79
119
  request_options: Increase::RequestOptions::OrHash
@@ -90,12 +130,16 @@ module Increase
90
130
  front_image_file_id:,
91
131
  # The identifier for the Program that this Physical Card Profile falls under.
92
132
  program_id:,
133
+ # The color of the text on the back of the card. Defaults to "black".
134
+ back_color: nil,
93
135
  # A reference ID provided by the fulfillment provider for the card stock used.
94
136
  # Only used if you've ordered card stock separately.
95
137
  card_stock_reference: nil,
96
138
  # A reference ID provided by the fulfillment provider for the carrier stock used.
97
139
  # Only used if you've ordered carrier stock separately.
98
140
  carrier_stock_reference: nil,
141
+ # The color of the design on the front of the card. Defaults to "black".
142
+ front_color: nil,
99
143
  # Text printed on the front of the card. Reach out to
100
144
  # [support@increase.com](mailto:support@increase.com) for more information.
101
145
  front_text: nil,
@@ -111,8 +155,12 @@ module Increase
111
155
  description: String,
112
156
  front_image_file_id: String,
113
157
  program_id: String,
158
+ back_color:
159
+ Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
114
160
  card_stock_reference: String,
115
161
  carrier_stock_reference: String,
162
+ front_color:
163
+ Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
116
164
  front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
117
165
  request_options: Increase::RequestOptions
118
166
  }
@@ -121,6 +169,76 @@ module Increase
121
169
  def to_hash
122
170
  end
123
171
 
172
+ # The color of the text on the back of the card. Defaults to "black".
173
+ module BackColor
174
+ extend Increase::Internal::Type::Enum
175
+
176
+ TaggedSymbol =
177
+ T.type_alias do
178
+ T.all(Symbol, Increase::PhysicalCardProfileCreateParams::BackColor)
179
+ end
180
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
181
+
182
+ # Black personalization color.
183
+ BLACK =
184
+ T.let(
185
+ :black,
186
+ Increase::PhysicalCardProfileCreateParams::BackColor::TaggedSymbol
187
+ )
188
+
189
+ # White personalization color.
190
+ WHITE =
191
+ T.let(
192
+ :white,
193
+ Increase::PhysicalCardProfileCreateParams::BackColor::TaggedSymbol
194
+ )
195
+
196
+ sig do
197
+ override.returns(
198
+ T::Array[
199
+ Increase::PhysicalCardProfileCreateParams::BackColor::TaggedSymbol
200
+ ]
201
+ )
202
+ end
203
+ def self.values
204
+ end
205
+ end
206
+
207
+ # The color of the design on the front of the card. Defaults to "black".
208
+ module FrontColor
209
+ extend Increase::Internal::Type::Enum
210
+
211
+ TaggedSymbol =
212
+ T.type_alias do
213
+ T.all(Symbol, Increase::PhysicalCardProfileCreateParams::FrontColor)
214
+ end
215
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
216
+
217
+ # Black personalization color.
218
+ BLACK =
219
+ T.let(
220
+ :black,
221
+ Increase::PhysicalCardProfileCreateParams::FrontColor::TaggedSymbol
222
+ )
223
+
224
+ # White personalization color.
225
+ WHITE =
226
+ T.let(
227
+ :white,
228
+ Increase::PhysicalCardProfileCreateParams::FrontColor::TaggedSymbol
229
+ )
230
+
231
+ sig do
232
+ override.returns(
233
+ T::Array[
234
+ Increase::PhysicalCardProfileCreateParams::FrontColor::TaggedSymbol
235
+ ]
236
+ )
237
+ end
238
+ def self.values
239
+ end
240
+ end
241
+
124
242
  class FrontText < Increase::Internal::Type::BaseModel
125
243
  OrHash =
126
244
  T.type_alias do
@@ -90,11 +90,14 @@ module Increase
90
90
  def update(
91
91
  # The entity identifier.
92
92
  entity_id,
93
- # Details of the corporation entity to update.
93
+ # Details of the corporation entity to update. If you specify this parameter and
94
+ # the entity is not a corporation, the request will fail.
94
95
  corporation: nil,
95
- # Details of the government authority entity to update.
96
+ # Details of the government authority entity to update. If you specify this
97
+ # parameter and the entity is not a government authority, the request will fail.
96
98
  government_authority: nil,
97
- # Details of the natural person entity to update.
99
+ # Details of the natural person entity to update. If you specify this parameter
100
+ # and the entity is not a natural person, the request will fail.
98
101
  natural_person: nil,
99
102
  # An assessment of the entity’s potential risk of involvement in financial crimes,
100
103
  # such as money laundering.
@@ -102,7 +105,8 @@ module Increase
102
105
  # A reference to data stored in a third-party verification service. Your
103
106
  # integration may or may not use this field.
104
107
  third_party_verification: nil,
105
- # Details of the trust entity to update.
108
+ # Details of the trust entity to update. If you specify this parameter and the
109
+ # entity is not a trust, the request will fail.
106
110
  trust: nil,
107
111
  request_options: {}
108
112
  )
@@ -11,8 +11,12 @@ module Increase
11
11
  description: String,
12
12
  front_image_file_id: String,
13
13
  program_id: String,
14
+ back_color:
15
+ Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
14
16
  card_stock_reference: String,
15
17
  carrier_stock_reference: String,
18
+ front_color:
19
+ Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
16
20
  front_text:
17
21
  Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
18
22
  request_options: Increase::RequestOptions::OrHash
@@ -29,12 +33,16 @@ module Increase
29
33
  front_image_file_id:,
30
34
  # The identifier for the Program that this Physical Card Profile falls under.
31
35
  program_id:,
36
+ # The color of the text on the back of the card. Defaults to "black".
37
+ back_color: nil,
32
38
  # A reference ID provided by the fulfillment provider for the card stock used.
33
39
  # Only used if you've ordered card stock separately.
34
40
  card_stock_reference: nil,
35
41
  # A reference ID provided by the fulfillment provider for the carrier stock used.
36
42
  # Only used if you've ordered carrier stock separately.
37
43
  carrier_stock_reference: nil,
44
+ # The color of the design on the front of the card. Defaults to "black".
45
+ front_color: nil,
38
46
  # Text printed on the front of the card. Reach out to
39
47
  # [support@increase.com](mailto:support@increase.com) for more information.
40
48
  front_text: nil,
@@ -7,8 +7,10 @@ module Increase
7
7
  description: String,
8
8
  front_image_file_id: String,
9
9
  program_id: String,
10
+ back_color: Increase::Models::PhysicalCardProfileCreateParams::back_color,
10
11
  card_stock_reference: String,
11
12
  carrier_stock_reference: String,
13
+ front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
12
14
  front_text: Increase::PhysicalCardProfileCreateParams::FrontText
13
15
  }
14
16
  & Increase::Internal::Type::request_parameters
@@ -27,6 +29,12 @@ module Increase
27
29
 
28
30
  attr_accessor program_id: String
29
31
 
32
+ attr_reader back_color: Increase::Models::PhysicalCardProfileCreateParams::back_color?
33
+
34
+ def back_color=: (
35
+ Increase::Models::PhysicalCardProfileCreateParams::back_color
36
+ ) -> Increase::Models::PhysicalCardProfileCreateParams::back_color
37
+
30
38
  attr_reader card_stock_reference: String?
31
39
 
32
40
  def card_stock_reference=: (String) -> String
@@ -35,6 +43,12 @@ module Increase
35
43
 
36
44
  def carrier_stock_reference=: (String) -> String
37
45
 
46
+ attr_reader front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color?
47
+
48
+ def front_color=: (
49
+ Increase::Models::PhysicalCardProfileCreateParams::front_color
50
+ ) -> Increase::Models::PhysicalCardProfileCreateParams::front_color
51
+
38
52
  attr_reader front_text: Increase::PhysicalCardProfileCreateParams::FrontText?
39
53
 
40
54
  def front_text=: (
@@ -47,8 +61,10 @@ module Increase
47
61
  description: String,
48
62
  front_image_file_id: String,
49
63
  program_id: String,
64
+ ?back_color: Increase::Models::PhysicalCardProfileCreateParams::back_color,
50
65
  ?card_stock_reference: String,
51
66
  ?carrier_stock_reference: String,
67
+ ?front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
52
68
  ?front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
53
69
  ?request_options: Increase::request_opts
54
70
  ) -> void
@@ -59,12 +75,42 @@ module Increase
59
75
  description: String,
60
76
  front_image_file_id: String,
61
77
  program_id: String,
78
+ back_color: Increase::Models::PhysicalCardProfileCreateParams::back_color,
62
79
  card_stock_reference: String,
63
80
  carrier_stock_reference: String,
81
+ front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
64
82
  front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
65
83
  request_options: Increase::RequestOptions
66
84
  }
67
85
 
86
+ type back_color = :black | :white
87
+
88
+ module BackColor
89
+ extend Increase::Internal::Type::Enum
90
+
91
+ # Black personalization color.
92
+ BLACK: :black
93
+
94
+ # White personalization color.
95
+ WHITE: :white
96
+
97
+ def self?.values: -> ::Array[Increase::Models::PhysicalCardProfileCreateParams::back_color]
98
+ end
99
+
100
+ type front_color = :black | :white
101
+
102
+ module FrontColor
103
+ extend Increase::Internal::Type::Enum
104
+
105
+ # Black personalization color.
106
+ BLACK: :black
107
+
108
+ # White personalization color.
109
+ WHITE: :white
110
+
111
+ def self?.values: -> ::Array[Increase::Models::PhysicalCardProfileCreateParams::front_color]
112
+ end
113
+
68
114
  type front_text = { :line1 => String, :line2 => String }
69
115
 
70
116
  class FrontText < Increase::Internal::Type::BaseModel
@@ -7,8 +7,10 @@ module Increase
7
7
  description: String,
8
8
  front_image_file_id: String,
9
9
  program_id: String,
10
+ ?back_color: Increase::Models::PhysicalCardProfileCreateParams::back_color,
10
11
  ?card_stock_reference: String,
11
12
  ?carrier_stock_reference: String,
13
+ ?front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
12
14
  ?front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
13
15
  ?request_options: Increase::request_opts
14
16
  ) -> Increase::PhysicalCardProfile
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.66.0
4
+ version: 1.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-05 00:00:00.000000000 Z
11
+ date: 2025-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool