increase 1.67.0 → 1.69.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.
@@ -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,
@@ -71,40 +71,205 @@ module Increase
71
71
  request_options: Increase::RequestOptions
72
72
  }
73
73
 
74
- type corporation = { name: String }
74
+ type corporation =
75
+ {
76
+ address: Increase::EntityUpdateParams::Corporation::Address,
77
+ name: String
78
+ }
75
79
 
76
80
  class Corporation < Increase::Internal::Type::BaseModel
81
+ attr_reader address: Increase::EntityUpdateParams::Corporation::Address?
82
+
83
+ def address=: (
84
+ Increase::EntityUpdateParams::Corporation::Address
85
+ ) -> Increase::EntityUpdateParams::Corporation::Address
86
+
77
87
  attr_reader name: String?
78
88
 
79
89
  def name=: (String) -> String
80
90
 
81
- def initialize: (?name: String) -> void
91
+ def initialize: (
92
+ ?address: Increase::EntityUpdateParams::Corporation::Address,
93
+ ?name: String
94
+ ) -> void
95
+
96
+ def to_hash: -> {
97
+ address: Increase::EntityUpdateParams::Corporation::Address,
98
+ name: String
99
+ }
100
+
101
+ type address =
102
+ {
103
+ city: String,
104
+ :line1 => String,
105
+ state: String,
106
+ zip: String,
107
+ :line2 => String
108
+ }
109
+
110
+ class Address < Increase::Internal::Type::BaseModel
111
+ attr_accessor city: String
112
+
113
+ attr_accessor line1: String
114
+
115
+ attr_accessor state: String
116
+
117
+ attr_accessor zip: String
82
118
 
83
- def to_hash: -> { name: String }
119
+ attr_reader line2: String?
120
+
121
+ def line2=: (String) -> String
122
+
123
+ def initialize: (
124
+ city: String,
125
+ line1: String,
126
+ state: String,
127
+ zip: String,
128
+ ?line2: String
129
+ ) -> void
130
+
131
+ def to_hash: -> {
132
+ city: String,
133
+ :line1 => String,
134
+ state: String,
135
+ zip: String,
136
+ :line2 => String
137
+ }
138
+ end
84
139
  end
85
140
 
86
- type government_authority = { name: String }
141
+ type government_authority =
142
+ {
143
+ address: Increase::EntityUpdateParams::GovernmentAuthority::Address,
144
+ name: String
145
+ }
87
146
 
88
147
  class GovernmentAuthority < Increase::Internal::Type::BaseModel
148
+ attr_reader address: Increase::EntityUpdateParams::GovernmentAuthority::Address?
149
+
150
+ def address=: (
151
+ Increase::EntityUpdateParams::GovernmentAuthority::Address
152
+ ) -> Increase::EntityUpdateParams::GovernmentAuthority::Address
153
+
89
154
  attr_reader name: String?
90
155
 
91
156
  def name=: (String) -> String
92
157
 
93
- def initialize: (?name: String) -> void
158
+ def initialize: (
159
+ ?address: Increase::EntityUpdateParams::GovernmentAuthority::Address,
160
+ ?name: String
161
+ ) -> void
162
+
163
+ def to_hash: -> {
164
+ address: Increase::EntityUpdateParams::GovernmentAuthority::Address,
165
+ name: String
166
+ }
167
+
168
+ type address =
169
+ {
170
+ city: String,
171
+ :line1 => String,
172
+ state: String,
173
+ zip: String,
174
+ :line2 => String
175
+ }
176
+
177
+ class Address < Increase::Internal::Type::BaseModel
178
+ attr_accessor city: String
179
+
180
+ attr_accessor line1: String
181
+
182
+ attr_accessor state: String
183
+
184
+ attr_accessor zip: String
185
+
186
+ attr_reader line2: String?
187
+
188
+ def line2=: (String) -> String
189
+
190
+ def initialize: (
191
+ city: String,
192
+ line1: String,
193
+ state: String,
194
+ zip: String,
195
+ ?line2: String
196
+ ) -> void
94
197
 
95
- def to_hash: -> { name: String }
198
+ def to_hash: -> {
199
+ city: String,
200
+ :line1 => String,
201
+ state: String,
202
+ zip: String,
203
+ :line2 => String
204
+ }
205
+ end
96
206
  end
97
207
 
98
- type natural_person = { name: String }
208
+ type natural_person =
209
+ {
210
+ address: Increase::EntityUpdateParams::NaturalPerson::Address,
211
+ name: String
212
+ }
99
213
 
100
214
  class NaturalPerson < Increase::Internal::Type::BaseModel
215
+ attr_reader address: Increase::EntityUpdateParams::NaturalPerson::Address?
216
+
217
+ def address=: (
218
+ Increase::EntityUpdateParams::NaturalPerson::Address
219
+ ) -> Increase::EntityUpdateParams::NaturalPerson::Address
220
+
101
221
  attr_reader name: String?
102
222
 
103
223
  def name=: (String) -> String
104
224
 
105
- def initialize: (?name: String) -> void
225
+ def initialize: (
226
+ ?address: Increase::EntityUpdateParams::NaturalPerson::Address,
227
+ ?name: String
228
+ ) -> void
229
+
230
+ def to_hash: -> {
231
+ address: Increase::EntityUpdateParams::NaturalPerson::Address,
232
+ name: String
233
+ }
234
+
235
+ type address =
236
+ {
237
+ city: String,
238
+ :line1 => String,
239
+ state: String,
240
+ zip: String,
241
+ :line2 => String
242
+ }
243
+
244
+ class Address < Increase::Internal::Type::BaseModel
245
+ attr_accessor city: String
246
+
247
+ attr_accessor line1: String
248
+
249
+ attr_accessor state: String
250
+
251
+ attr_accessor zip: String
252
+
253
+ attr_reader line2: String?
254
+
255
+ def line2=: (String) -> String
256
+
257
+ def initialize: (
258
+ city: String,
259
+ line1: String,
260
+ state: String,
261
+ zip: String,
262
+ ?line2: String
263
+ ) -> void
106
264
 
107
- def to_hash: -> { name: String }
265
+ def to_hash: -> {
266
+ city: String,
267
+ :line1 => String,
268
+ state: String,
269
+ zip: String,
270
+ :line2 => String
271
+ }
272
+ end
108
273
  end
109
274
 
110
275
  type risk_rating =
@@ -185,16 +350,68 @@ module Increase
185
350
  end
186
351
  end
187
352
 
188
- type trust = { name: String }
353
+ type trust =
354
+ { address: Increase::EntityUpdateParams::Trust::Address, name: String }
189
355
 
190
356
  class Trust < Increase::Internal::Type::BaseModel
357
+ attr_reader address: Increase::EntityUpdateParams::Trust::Address?
358
+
359
+ def address=: (
360
+ Increase::EntityUpdateParams::Trust::Address
361
+ ) -> Increase::EntityUpdateParams::Trust::Address
362
+
191
363
  attr_reader name: String?
192
364
 
193
365
  def name=: (String) -> String
194
366
 
195
- def initialize: (?name: String) -> void
367
+ def initialize: (
368
+ ?address: Increase::EntityUpdateParams::Trust::Address,
369
+ ?name: String
370
+ ) -> void
371
+
372
+ def to_hash: -> {
373
+ address: Increase::EntityUpdateParams::Trust::Address,
374
+ name: String
375
+ }
376
+
377
+ type address =
378
+ {
379
+ city: String,
380
+ :line1 => String,
381
+ state: String,
382
+ zip: String,
383
+ :line2 => String
384
+ }
196
385
 
197
- def to_hash: -> { name: String }
386
+ class Address < Increase::Internal::Type::BaseModel
387
+ attr_accessor city: String
388
+
389
+ attr_accessor line1: String
390
+
391
+ attr_accessor state: String
392
+
393
+ attr_accessor zip: String
394
+
395
+ attr_reader line2: String?
396
+
397
+ def line2=: (String) -> String
398
+
399
+ def initialize: (
400
+ city: String,
401
+ line1: String,
402
+ state: String,
403
+ zip: String,
404
+ ?line2: String
405
+ ) -> void
406
+
407
+ def to_hash: -> {
408
+ city: String,
409
+ :line1 => String,
410
+ state: String,
411
+ zip: String,
412
+ :line2 => String
413
+ }
414
+ end
198
415
  end
199
416
  end
200
417
  end
@@ -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.67.0
4
+ version: 1.69.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-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool