increase 1.92.0 → 1.94.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 +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +1 -1
- data/lib/increase/models/physical_card.rb +4 -4
- data/lib/increase/models/physical_card_profile_create_params.rb +1 -63
- data/lib/increase/resources/physical_card_profiles.rb +1 -9
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/physical_card.rbi +5 -5
- data/rbi/increase/models/physical_card_profile_create_params.rbi +0 -144
- data/rbi/increase/resources/physical_card_profiles.rbi +0 -16
- data/sig/increase/models/physical_card.rbs +4 -4
- data/sig/increase/models/physical_card_profile_create_params.rbs +0 -60
- data/sig/increase/resources/physical_card_profiles.rbs +0 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5779380213d9a990dfb08362df8a33b5479e0f8846f3588bbd6e851b62f4ec75
|
4
|
+
data.tar.gz: 2027163bbe87983b787e46880e6f7d76097f1cbff7fb12bd3cc7fb44ab614617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 412882e05669559afa0cefde5f4d0a470a949da3aecf4f1e9a8d1b78e3a8424deb03da0e84e4ea92015d860e93c5bd550b99785bb6db14ed12f3ff98ec72e0c0
|
7
|
+
data.tar.gz: f9147ee2ccecedd56d7c4732afdd6281dd3c4cae6384d3e45a61183e29af3c7e89bd46748812d61bcb39b7c562393721b5798d69718e48548eb5e9ad990babf2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.94.0 (2025-09-26)
|
4
|
+
|
5
|
+
Full Changelog: [v1.93.0...v1.94.0](https://github.com/Increase/increase-ruby/compare/v1.93.0...v1.94.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([aa16efb](https://github.com/Increase/increase-ruby/commit/aa16efb8412fe7b6d5c61b9c7b541476dd0bd049))
|
10
|
+
|
11
|
+
## 1.93.0 (2025-09-26)
|
12
|
+
|
13
|
+
Full Changelog: [v1.92.0...v1.93.0](https://github.com/Increase/increase-ruby/compare/v1.92.0...v1.93.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([a760b8c](https://github.com/Increase/increase-ruby/commit/a760b8ca14265f2cd6c924f674b39257e79ce065))
|
18
|
+
|
19
|
+
|
20
|
+
### Chores
|
21
|
+
|
22
|
+
* allow fast-format to use bsd sed as well ([14b02a4](https://github.com/Increase/increase-ruby/commit/14b02a4f3007334c0cdb7728117529a8ef7f6002))
|
23
|
+
|
3
24
|
## 1.92.0 (2025-09-26)
|
4
25
|
|
5
26
|
Full Changelog: [v1.91.1...v1.92.0](https://github.com/Increase/increase-ruby/compare/v1.91.1...v1.92.0)
|
data/README.md
CHANGED
@@ -313,10 +313,10 @@ module Increase
|
|
313
313
|
# @see Increase::Models::PhysicalCard::Shipment#tracking
|
314
314
|
class Tracking < Increase::Internal::Type::BaseModel
|
315
315
|
# @!attribute number
|
316
|
-
# The tracking number.
|
316
|
+
# The tracking number. Not available for USPS shipments.
|
317
317
|
#
|
318
|
-
# @return [String]
|
319
|
-
required :number, String
|
318
|
+
# @return [String, nil]
|
319
|
+
required :number, String, nil?: true
|
320
320
|
|
321
321
|
# @!attribute return_number
|
322
322
|
# For returned shipments, the tracking number of the return shipment.
|
@@ -351,7 +351,7 @@ module Increase
|
|
351
351
|
#
|
352
352
|
# Tracking details for the shipment.
|
353
353
|
#
|
354
|
-
# @param number [String] The tracking number.
|
354
|
+
# @param number [String, nil] The tracking number. Not available for USPS shipments.
|
355
355
|
#
|
356
356
|
# @param return_number [String, nil] For returned shipments, the tracking number of the return shipment.
|
357
357
|
#
|
@@ -37,32 +37,6 @@ 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
|
-
|
46
|
-
# @!attribute card_stock_reference
|
47
|
-
# A reference ID provided by the fulfillment provider for the card stock used.
|
48
|
-
# Only used if you've ordered card stock separately.
|
49
|
-
#
|
50
|
-
# @return [String, nil]
|
51
|
-
optional :card_stock_reference, String
|
52
|
-
|
53
|
-
# @!attribute carrier_stock_reference
|
54
|
-
# A reference ID provided by the fulfillment provider for the carrier stock used.
|
55
|
-
# Only used if you've ordered carrier stock separately.
|
56
|
-
#
|
57
|
-
# @return [String, nil]
|
58
|
-
optional :carrier_stock_reference, String
|
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
|
-
|
66
40
|
# @!attribute front_text
|
67
41
|
# Text printed on the front of the card. Reach out to
|
68
42
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
@@ -70,7 +44,7 @@ module Increase
|
|
70
44
|
# @return [Increase::Models::PhysicalCardProfileCreateParams::FrontText, nil]
|
71
45
|
optional :front_text, -> { Increase::PhysicalCardProfileCreateParams::FrontText }
|
72
46
|
|
73
|
-
# @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:,
|
47
|
+
# @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, front_text: nil, request_options: {})
|
74
48
|
# Some parameter documentations has been truncated, see
|
75
49
|
# {Increase::Models::PhysicalCardProfileCreateParams} for more details.
|
76
50
|
#
|
@@ -84,46 +58,10 @@ module Increase
|
|
84
58
|
#
|
85
59
|
# @param program_id [String] The identifier for the Program that this Physical Card Profile falls under.
|
86
60
|
#
|
87
|
-
# @param back_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::BackColor] The color of the text on the back of the card. Defaults to "black".
|
88
|
-
#
|
89
|
-
# @param card_stock_reference [String] A reference ID provided by the fulfillment provider for the card stock used. Onl
|
90
|
-
#
|
91
|
-
# @param carrier_stock_reference [String] A reference ID provided by the fulfillment provider for the carrier stock used.
|
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
|
-
#
|
95
61
|
# @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt
|
96
62
|
#
|
97
63
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
98
64
|
|
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
|
-
|
127
65
|
class FrontText < Increase::Internal::Type::BaseModel
|
128
66
|
# @!attribute line1
|
129
67
|
# The first line of text on the front of the card.
|
@@ -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:,
|
11
|
+
# @overload create(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, 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,14 +20,6 @@ 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
|
-
#
|
25
|
-
# @param card_stock_reference [String] A reference ID provided by the fulfillment provider for the card stock used. Onl
|
26
|
-
#
|
27
|
-
# @param carrier_stock_reference [String] A reference ID provided by the fulfillment provider for the carrier stock used.
|
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
|
-
#
|
31
23
|
# @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt
|
32
24
|
#
|
33
25
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
data/lib/increase/version.rb
CHANGED
@@ -502,8 +502,8 @@ module Increase
|
|
502
502
|
)
|
503
503
|
end
|
504
504
|
|
505
|
-
# The tracking number.
|
506
|
-
sig { returns(String) }
|
505
|
+
# The tracking number. Not available for USPS shipments.
|
506
|
+
sig { returns(T.nilable(String)) }
|
507
507
|
attr_accessor :number
|
508
508
|
|
509
509
|
# For returned shipments, the tracking number of the return shipment.
|
@@ -531,7 +531,7 @@ module Increase
|
|
531
531
|
# Tracking details for the shipment.
|
532
532
|
sig do
|
533
533
|
params(
|
534
|
-
number: String,
|
534
|
+
number: T.nilable(String),
|
535
535
|
return_number: T.nilable(String),
|
536
536
|
return_reason: T.nilable(String),
|
537
537
|
shipped_at: Time,
|
@@ -542,7 +542,7 @@ module Increase
|
|
542
542
|
).returns(T.attached_class)
|
543
543
|
end
|
544
544
|
def self.new(
|
545
|
-
# The tracking number.
|
545
|
+
# The tracking number. Not available for USPS shipments.
|
546
546
|
number:,
|
547
547
|
# For returned shipments, the tracking number of the return shipment.
|
548
548
|
return_number:,
|
@@ -560,7 +560,7 @@ module Increase
|
|
560
560
|
sig do
|
561
561
|
override.returns(
|
562
562
|
{
|
563
|
-
number: String,
|
563
|
+
number: T.nilable(String),
|
564
564
|
return_number: T.nilable(String),
|
565
565
|
return_reason: T.nilable(String),
|
566
566
|
shipped_at: Time,
|
@@ -34,58 +34,6 @@ 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
|
-
|
55
|
-
# A reference ID provided by the fulfillment provider for the card stock used.
|
56
|
-
# Only used if you've ordered card stock separately.
|
57
|
-
sig { returns(T.nilable(String)) }
|
58
|
-
attr_reader :card_stock_reference
|
59
|
-
|
60
|
-
sig { params(card_stock_reference: String).void }
|
61
|
-
attr_writer :card_stock_reference
|
62
|
-
|
63
|
-
# A reference ID provided by the fulfillment provider for the carrier stock used.
|
64
|
-
# Only used if you've ordered carrier stock separately.
|
65
|
-
sig { returns(T.nilable(String)) }
|
66
|
-
attr_reader :carrier_stock_reference
|
67
|
-
|
68
|
-
sig { params(carrier_stock_reference: String).void }
|
69
|
-
attr_writer :carrier_stock_reference
|
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
|
-
|
89
37
|
# Text printed on the front of the card. Reach out to
|
90
38
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
91
39
|
sig do
|
@@ -108,12 +56,6 @@ module Increase
|
|
108
56
|
description: String,
|
109
57
|
front_image_file_id: String,
|
110
58
|
program_id: String,
|
111
|
-
back_color:
|
112
|
-
Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
|
113
|
-
card_stock_reference: String,
|
114
|
-
carrier_stock_reference: String,
|
115
|
-
front_color:
|
116
|
-
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
|
117
59
|
front_text:
|
118
60
|
Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
|
119
61
|
request_options: Increase::RequestOptions::OrHash
|
@@ -130,16 +72,6 @@ module Increase
|
|
130
72
|
front_image_file_id:,
|
131
73
|
# The identifier for the Program that this Physical Card Profile falls under.
|
132
74
|
program_id:,
|
133
|
-
# The color of the text on the back of the card. Defaults to "black".
|
134
|
-
back_color: nil,
|
135
|
-
# A reference ID provided by the fulfillment provider for the card stock used.
|
136
|
-
# Only used if you've ordered card stock separately.
|
137
|
-
card_stock_reference: nil,
|
138
|
-
# A reference ID provided by the fulfillment provider for the carrier stock used.
|
139
|
-
# Only used if you've ordered carrier stock separately.
|
140
|
-
carrier_stock_reference: nil,
|
141
|
-
# The color of the design on the front of the card. Defaults to "black".
|
142
|
-
front_color: nil,
|
143
75
|
# Text printed on the front of the card. Reach out to
|
144
76
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
145
77
|
front_text: nil,
|
@@ -155,12 +87,6 @@ module Increase
|
|
155
87
|
description: String,
|
156
88
|
front_image_file_id: String,
|
157
89
|
program_id: String,
|
158
|
-
back_color:
|
159
|
-
Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
|
160
|
-
card_stock_reference: String,
|
161
|
-
carrier_stock_reference: String,
|
162
|
-
front_color:
|
163
|
-
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
|
164
90
|
front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
|
165
91
|
request_options: Increase::RequestOptions
|
166
92
|
}
|
@@ -169,76 +95,6 @@ module Increase
|
|
169
95
|
def to_hash
|
170
96
|
end
|
171
97
|
|
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
|
-
|
242
98
|
class FrontText < Increase::Internal::Type::BaseModel
|
243
99
|
OrHash =
|
244
100
|
T.type_alias do
|
@@ -11,12 +11,6 @@ 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,
|
16
|
-
card_stock_reference: String,
|
17
|
-
carrier_stock_reference: String,
|
18
|
-
front_color:
|
19
|
-
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
|
20
14
|
front_text:
|
21
15
|
Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
|
22
16
|
request_options: Increase::RequestOptions::OrHash
|
@@ -33,16 +27,6 @@ module Increase
|
|
33
27
|
front_image_file_id:,
|
34
28
|
# The identifier for the Program that this Physical Card Profile falls under.
|
35
29
|
program_id:,
|
36
|
-
# The color of the text on the back of the card. Defaults to "black".
|
37
|
-
back_color: nil,
|
38
|
-
# A reference ID provided by the fulfillment provider for the card stock used.
|
39
|
-
# Only used if you've ordered card stock separately.
|
40
|
-
card_stock_reference: nil,
|
41
|
-
# A reference ID provided by the fulfillment provider for the carrier stock used.
|
42
|
-
# Only used if you've ordered carrier stock separately.
|
43
|
-
carrier_stock_reference: nil,
|
44
|
-
# The color of the design on the front of the card. Defaults to "black".
|
45
|
-
front_color: nil,
|
46
30
|
# Text printed on the front of the card. Reach out to
|
47
31
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
48
32
|
front_text: nil,
|
@@ -236,7 +236,7 @@ module Increase
|
|
236
236
|
|
237
237
|
type tracking =
|
238
238
|
{
|
239
|
-
number: String
|
239
|
+
number: String?,
|
240
240
|
return_number: String?,
|
241
241
|
return_reason: String?,
|
242
242
|
shipped_at: Time,
|
@@ -244,7 +244,7 @@ module Increase
|
|
244
244
|
}
|
245
245
|
|
246
246
|
class Tracking < Increase::Internal::Type::BaseModel
|
247
|
-
attr_accessor number: String
|
247
|
+
attr_accessor number: String?
|
248
248
|
|
249
249
|
attr_accessor return_number: String?
|
250
250
|
|
@@ -255,7 +255,7 @@ module Increase
|
|
255
255
|
attr_accessor updates: ::Array[Increase::PhysicalCard::Shipment::Tracking::Update]
|
256
256
|
|
257
257
|
def initialize: (
|
258
|
-
number: String
|
258
|
+
number: String?,
|
259
259
|
return_number: String?,
|
260
260
|
return_reason: String?,
|
261
261
|
shipped_at: Time,
|
@@ -263,7 +263,7 @@ module Increase
|
|
263
263
|
) -> void
|
264
264
|
|
265
265
|
def to_hash: -> {
|
266
|
-
number: String
|
266
|
+
number: String?,
|
267
267
|
return_number: String?,
|
268
268
|
return_reason: String?,
|
269
269
|
shipped_at: Time,
|
@@ -7,10 +7,6 @@ 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,
|
11
|
-
card_stock_reference: String,
|
12
|
-
carrier_stock_reference: String,
|
13
|
-
front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
|
14
10
|
front_text: Increase::PhysicalCardProfileCreateParams::FrontText
|
15
11
|
}
|
16
12
|
& Increase::Internal::Type::request_parameters
|
@@ -29,26 +25,6 @@ module Increase
|
|
29
25
|
|
30
26
|
attr_accessor program_id: String
|
31
27
|
|
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
|
-
|
38
|
-
attr_reader card_stock_reference: String?
|
39
|
-
|
40
|
-
def card_stock_reference=: (String) -> String
|
41
|
-
|
42
|
-
attr_reader carrier_stock_reference: String?
|
43
|
-
|
44
|
-
def carrier_stock_reference=: (String) -> String
|
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
|
-
|
52
28
|
attr_reader front_text: Increase::PhysicalCardProfileCreateParams::FrontText?
|
53
29
|
|
54
30
|
def front_text=: (
|
@@ -61,10 +37,6 @@ module Increase
|
|
61
37
|
description: String,
|
62
38
|
front_image_file_id: String,
|
63
39
|
program_id: String,
|
64
|
-
?back_color: Increase::Models::PhysicalCardProfileCreateParams::back_color,
|
65
|
-
?card_stock_reference: String,
|
66
|
-
?carrier_stock_reference: String,
|
67
|
-
?front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
|
68
40
|
?front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
|
69
41
|
?request_options: Increase::request_opts
|
70
42
|
) -> void
|
@@ -75,42 +47,10 @@ module Increase
|
|
75
47
|
description: String,
|
76
48
|
front_image_file_id: String,
|
77
49
|
program_id: String,
|
78
|
-
back_color: Increase::Models::PhysicalCardProfileCreateParams::back_color,
|
79
|
-
card_stock_reference: String,
|
80
|
-
carrier_stock_reference: String,
|
81
|
-
front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
|
82
50
|
front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
|
83
51
|
request_options: Increase::RequestOptions
|
84
52
|
}
|
85
53
|
|
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
|
-
|
114
54
|
type front_text = { :line1 => String, :line2 => String }
|
115
55
|
|
116
56
|
class FrontText < Increase::Internal::Type::BaseModel
|
@@ -7,10 +7,6 @@ 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,
|
11
|
-
?card_stock_reference: String,
|
12
|
-
?carrier_stock_reference: String,
|
13
|
-
?front_color: Increase::Models::PhysicalCardProfileCreateParams::front_color,
|
14
10
|
?front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
|
15
11
|
?request_options: Increase::request_opts
|
16
12
|
) -> Increase::PhysicalCardProfile
|