increase 1.93.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4111d2c53c63f175d177dd143fdd342b730f88e0eae0da202b4906637d9293cd
4
- data.tar.gz: 76a1676288ef21cfb6d2f8098d97bb38fd2feea2ee2c0c1b71fdc166edecf873
3
+ metadata.gz: 5779380213d9a990dfb08362df8a33b5479e0f8846f3588bbd6e851b62f4ec75
4
+ data.tar.gz: 2027163bbe87983b787e46880e6f7d76097f1cbff7fb12bd3cc7fb44ab614617
5
5
  SHA512:
6
- metadata.gz: afc236877e86a91e746721e6eb283535f446d5783e83c9e96747d7007ba6850e9e18fe478ae5fb98968c49e20878ccfecb20f48aea2c35490fa655a19515313e
7
- data.tar.gz: 004b9963f2e1399959fe1862fcf517f7019b052c77ee51018c5a808ec30df466ac2b440ea324ac0dd72b01c26c6da4a558e4ce765b1e3328eebe3b4bd4a2a63b
6
+ metadata.gz: 412882e05669559afa0cefde5f4d0a470a949da3aecf4f1e9a8d1b78e3a8424deb03da0e84e4ea92015d860e93c5bd550b99785bb6db14ed12f3ff98ec72e0c0
7
+ data.tar.gz: f9147ee2ccecedd56d7c4732afdd6281dd3c4cae6384d3e45a61183e29af3c7e89bd46748812d61bcb39b7c562393721b5798d69718e48548eb5e9ad990babf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 1.93.0 (2025-09-26)
4
12
 
5
13
  Full Changelog: [v1.92.0...v1.93.0](https://github.com/Increase/increase-ruby/compare/v1.92.0...v1.93.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.93.0"
18
+ gem "increase", "~> 1.94.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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:, back_color: nil, card_stock_reference: nil, carrier_stock_reference: nil, front_color: nil, front_text: nil, request_options: {})
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:, back_color: nil, card_stock_reference: nil, carrier_stock_reference: nil, front_color: nil, front_text: nil, request_options: {})
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.93.0"
4
+ VERSION = "1.94.0"
5
5
  end
@@ -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,
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.93.0
4
+ version: 1.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase