increase 1.67.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: 9466fcaa09f9ec61d32190bb375d3ab087ed0b65fee544da877b25658b7a5ec6
4
- data.tar.gz: 144ee545505230e27fe0b71489c8b0ea78decc5b2d4973809e44543ac9b9f2d2
3
+ metadata.gz: fc8aab93315d0203954e1f0c7129520670091d1e171a4ad6fc68de313ec3cb95
4
+ data.tar.gz: 8c11bd8734bf60cc0c4e7474d523a4593f13df0e5d7b93720ef4691c342bdcc4
5
5
  SHA512:
6
- metadata.gz: f8c2585ab6bb76b8b24496228b16d933f2cb332d25385bfeb6b09576fa3589be92c522e74f3aebe9949fdc13514a395a458e4d61c3cad48fa55d78f7ac9481db
7
- data.tar.gz: e275e7a3f906bb92ccf256065d87f3c570e987a75bc8c5a2a3fa30f53f89f26a1ca70296d9d4eca9af8cb6d77aba94713282ce0e6291c01eab20afedb28b1e83
6
+ metadata.gz: 261a5d3eb5a9847637b3ce6e44e2328a1e380998b767efc38cf6f5d3b1bc55ea3d786ecddd0c579a5e6f45f89c3964670aa91d4b462b5976752d6c3edbcfd09e
7
+ data.tar.gz: 7f17cf52ef82f0793b85d0c66214e135d04da5c355101f304a973198afd5de88922b253e73753b943d2fc22f98018523f458424a1be7e4dded3c118beb294edd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 1.67.0 (2025-09-05)
4
12
 
5
13
  Full Changelog: [v1.66.0...v1.67.0](https://github.com/Increase/increase-ruby/compare/v1.66.0...v1.67.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.67.0"
18
+ gem "increase", "~> 1.68.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-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.
@@ -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.67.0"
4
+ VERSION = "1.68.0"
5
5
  end
@@ -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
@@ -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.67.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