stigg 0.1.0.pre.beta.1 → 0.1.0.pre.beta.3
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/stigg/internal/transport/base_client.rb +2 -0
- data/lib/stigg/models/v1/subscription_import_params.rb +2 -2
- data/lib/stigg/models/v1/subscription_preview_params.rb +6 -6
- data/lib/stigg/models/v1/subscription_provision_params.rb +4 -4
- data/lib/stigg/resources/v1/subscriptions.rb +2 -2
- data/lib/stigg/version.rb +1 -1
- data/rbi/stigg/models/v1/subscription_import_params.rbi +2 -2
- data/rbi/stigg/models/v1/subscription_preview_params.rbi +6 -6
- data/rbi/stigg/models/v1/subscription_provision_params.rbi +4 -4
- data/rbi/stigg/resources/v1/subscriptions.rbi +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a9018feb4a42e29030a5acfc1c38ff14dce1df6d68e235ef1af2ee6581dea67
|
|
4
|
+
data.tar.gz: 317a978899157b0d635f80406376a1eaf788509e27602f04f7cef5a26bb8972d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39b6e6026cbc71e0cef0ffb17c44efe89d782d1808fe34c5ef98bd926caf7c996b65ae23baa732ad14dc551873091e9107314f0774484fe380bc0a6c46022e61
|
|
7
|
+
data.tar.gz: a4262482c24f49bb078901c1021b86b0c54e3cf93e5fc50d847f775eddf3369cd3b6ee2d44a01c682d2dfc56842eaaecab5252524549f228690677ca1e278e6e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.3 (2026-05-14)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-beta.2...v0.1.0-beta.3](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.2...v0.1.0-beta.3)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **client:** elide content type header on requests without body ([7cf5869](https://github.com/stiggio/stigg-ruby/commit/7cf58699e5967da519c0756dc677ce68b53e964b))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** regenerate SDK with no functional changes ([251a55c](https://github.com/stiggio/stigg-ruby/commit/251a55c685da67aa5332afa5784cc55d35b6c326))
|
|
15
|
+
|
|
16
|
+
## 0.1.0-beta.2 (2026-05-12)
|
|
17
|
+
|
|
18
|
+
Full Changelog: [v0.1.0-beta.1...v0.1.0-beta.2](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.1...v0.1.0-beta.2)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **api:** manual updates ([bea3fe9](https://github.com/stiggio/stigg-ruby/commit/bea3fe9cac5c38bf47b741a0fc9ef879f6668180))
|
|
23
|
+
|
|
3
24
|
## 0.1.0-beta.1 (2026-05-12)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v0.1.0-alpha.34...v0.1.0-beta.1](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.34...v0.1.0-beta.1)
|
data/README.md
CHANGED
|
@@ -306,6 +306,8 @@ module Stigg
|
|
|
306
306
|
Stigg::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
|
|
307
307
|
end
|
|
308
308
|
|
|
309
|
+
headers.delete("content-type") if body.nil?
|
|
310
|
+
|
|
309
311
|
url = Stigg::Internal::Util.join_parsed_uri(@base_url_components, {**req, path: path, query: query})
|
|
310
312
|
headers, encoded = Stigg::Internal::Util.encode_content(headers, body)
|
|
311
313
|
{
|
|
@@ -162,7 +162,7 @@ module Stigg
|
|
|
162
162
|
required :id, String
|
|
163
163
|
|
|
164
164
|
# @!attribute quantity
|
|
165
|
-
# Charge quantity
|
|
165
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
166
166
|
#
|
|
167
167
|
# @return [Float]
|
|
168
168
|
required :quantity, Float
|
|
@@ -178,7 +178,7 @@ module Stigg
|
|
|
178
178
|
#
|
|
179
179
|
# @param id [String] Charge ID
|
|
180
180
|
#
|
|
181
|
-
# @param quantity [Float] Charge quantity
|
|
181
|
+
# @param quantity [Float] Charge quantity. Minimum is 0 (zero is allowed).
|
|
182
182
|
#
|
|
183
183
|
# @param type [Symbol, Stigg::Models::V1::SubscriptionImportParams::Subscription::Charge::Type] Charge type
|
|
184
184
|
|
|
@@ -113,7 +113,7 @@ module Stigg
|
|
|
113
113
|
api_name: :trialOverrideConfiguration
|
|
114
114
|
|
|
115
115
|
# @!attribute unit_quantity
|
|
116
|
-
# Unit quantity for per-unit pricing
|
|
116
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
117
117
|
#
|
|
118
118
|
# @return [Integer, nil]
|
|
119
119
|
optional :unit_quantity, Integer, api_name: :unitQuantity
|
|
@@ -149,7 +149,7 @@ module Stigg
|
|
|
149
149
|
#
|
|
150
150
|
# @param trial_override_configuration [Stigg::Models::V1::SubscriptionPreviewParams::TrialOverrideConfiguration] Trial period override settings
|
|
151
151
|
#
|
|
152
|
-
# @param unit_quantity [Integer] Unit quantity for per-unit pricing
|
|
152
|
+
# @param unit_quantity [Integer] Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
153
153
|
#
|
|
154
154
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
155
155
|
|
|
@@ -439,7 +439,7 @@ module Stigg
|
|
|
439
439
|
required :feature_id, String, api_name: :featureId
|
|
440
440
|
|
|
441
441
|
# @!attribute quantity
|
|
442
|
-
# Quantity of feature units
|
|
442
|
+
# Quantity of feature units. Minimum is 0 (zero is allowed).
|
|
443
443
|
#
|
|
444
444
|
# @return [Float]
|
|
445
445
|
required :quantity, Float
|
|
@@ -449,7 +449,7 @@ module Stigg
|
|
|
449
449
|
#
|
|
450
450
|
# @param feature_id [String] Feature ID
|
|
451
451
|
#
|
|
452
|
-
# @param quantity [Float] Quantity of feature units
|
|
452
|
+
# @param quantity [Float] Quantity of feature units. Minimum is 0 (zero is allowed).
|
|
453
453
|
end
|
|
454
454
|
|
|
455
455
|
# Billing cycle anchor behavior for the subscription
|
|
@@ -661,7 +661,7 @@ module Stigg
|
|
|
661
661
|
required :id, String
|
|
662
662
|
|
|
663
663
|
# @!attribute quantity
|
|
664
|
-
# Charge quantity
|
|
664
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
665
665
|
#
|
|
666
666
|
# @return [Float]
|
|
667
667
|
required :quantity, Float
|
|
@@ -677,7 +677,7 @@ module Stigg
|
|
|
677
677
|
#
|
|
678
678
|
# @param id [String] Charge ID
|
|
679
679
|
#
|
|
680
|
-
# @param quantity [Float] Charge quantity
|
|
680
|
+
# @param quantity [Float] Charge quantity. Minimum is 0 (zero is allowed).
|
|
681
681
|
#
|
|
682
682
|
# @param type [Symbol, Stigg::Models::V1::SubscriptionPreviewParams::Charge::Type] Charge type
|
|
683
683
|
|
|
@@ -177,7 +177,7 @@ module Stigg
|
|
|
177
177
|
api_name: :trialOverrideConfiguration
|
|
178
178
|
|
|
179
179
|
# @!attribute unit_quantity
|
|
180
|
-
# Unit quantity
|
|
180
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
181
181
|
#
|
|
182
182
|
# @return [Integer, nil]
|
|
183
183
|
optional :unit_quantity, Integer, api_name: :unitQuantity
|
|
@@ -233,7 +233,7 @@ module Stigg
|
|
|
233
233
|
#
|
|
234
234
|
# @param trial_override_configuration [Stigg::Models::V1::SubscriptionProvisionParams::TrialOverrideConfiguration] Trial period override settings
|
|
235
235
|
#
|
|
236
|
-
# @param unit_quantity [Integer] Unit quantity
|
|
236
|
+
# @param unit_quantity [Integer] Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
237
237
|
#
|
|
238
238
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
239
239
|
|
|
@@ -741,7 +741,7 @@ module Stigg
|
|
|
741
741
|
required :id, String
|
|
742
742
|
|
|
743
743
|
# @!attribute quantity
|
|
744
|
-
# Charge quantity
|
|
744
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
745
745
|
#
|
|
746
746
|
# @return [Float]
|
|
747
747
|
required :quantity, Float
|
|
@@ -757,7 +757,7 @@ module Stigg
|
|
|
757
757
|
#
|
|
758
758
|
# @param id [String] Charge ID
|
|
759
759
|
#
|
|
760
|
-
# @param quantity [Float] Charge quantity
|
|
760
|
+
# @param quantity [Float] Charge quantity. Minimum is 0 (zero is allowed).
|
|
761
761
|
#
|
|
762
762
|
# @param type [Symbol, Stigg::Models::V1::SubscriptionProvisionParams::Charge::Type] Charge type
|
|
763
763
|
|
|
@@ -284,7 +284,7 @@ module Stigg
|
|
|
284
284
|
#
|
|
285
285
|
# @param trial_override_configuration [Stigg::Models::V1::SubscriptionPreviewParams::TrialOverrideConfiguration] Trial period override settings
|
|
286
286
|
#
|
|
287
|
-
# @param unit_quantity [Integer] Unit quantity for per-unit pricing
|
|
287
|
+
# @param unit_quantity [Integer] Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
288
288
|
#
|
|
289
289
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
290
290
|
#
|
|
@@ -357,7 +357,7 @@ module Stigg
|
|
|
357
357
|
#
|
|
358
358
|
# @param trial_override_configuration [Stigg::Models::V1::SubscriptionProvisionParams::TrialOverrideConfiguration] Trial period override settings
|
|
359
359
|
#
|
|
360
|
-
# @param unit_quantity [Integer] Unit quantity
|
|
360
|
+
# @param unit_quantity [Integer] Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
361
361
|
#
|
|
362
362
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
363
363
|
#
|
data/lib/stigg/version.rb
CHANGED
|
@@ -316,7 +316,7 @@ module Stigg
|
|
|
316
316
|
sig { returns(String) }
|
|
317
317
|
attr_accessor :id
|
|
318
318
|
|
|
319
|
-
# Charge quantity
|
|
319
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
320
320
|
sig { returns(Float) }
|
|
321
321
|
attr_accessor :quantity
|
|
322
322
|
|
|
@@ -340,7 +340,7 @@ module Stigg
|
|
|
340
340
|
def self.new(
|
|
341
341
|
# Charge ID
|
|
342
342
|
id:,
|
|
343
|
-
# Charge quantity
|
|
343
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
344
344
|
quantity:,
|
|
345
345
|
# Charge type
|
|
346
346
|
type:
|
|
@@ -207,7 +207,7 @@ module Stigg
|
|
|
207
207
|
end
|
|
208
208
|
attr_writer :trial_override_configuration
|
|
209
209
|
|
|
210
|
-
# Unit quantity for per-unit pricing
|
|
210
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
211
211
|
sig { returns(T.nilable(Integer)) }
|
|
212
212
|
attr_reader :unit_quantity
|
|
213
213
|
|
|
@@ -277,7 +277,7 @@ module Stigg
|
|
|
277
277
|
start_date: nil,
|
|
278
278
|
# Trial period override settings
|
|
279
279
|
trial_override_configuration: nil,
|
|
280
|
-
# Unit quantity for per-unit pricing
|
|
280
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
281
281
|
unit_quantity: nil,
|
|
282
282
|
request_options: {}
|
|
283
283
|
)
|
|
@@ -1253,7 +1253,7 @@ module Stigg
|
|
|
1253
1253
|
sig { returns(String) }
|
|
1254
1254
|
attr_accessor :feature_id
|
|
1255
1255
|
|
|
1256
|
-
# Quantity of feature units
|
|
1256
|
+
# Quantity of feature units. Minimum is 0 (zero is allowed).
|
|
1257
1257
|
sig { returns(Float) }
|
|
1258
1258
|
attr_accessor :quantity
|
|
1259
1259
|
|
|
@@ -1266,7 +1266,7 @@ module Stigg
|
|
|
1266
1266
|
def self.new(
|
|
1267
1267
|
# Feature ID
|
|
1268
1268
|
feature_id:,
|
|
1269
|
-
# Quantity of feature units
|
|
1269
|
+
# Quantity of feature units. Minimum is 0 (zero is allowed).
|
|
1270
1270
|
quantity:
|
|
1271
1271
|
)
|
|
1272
1272
|
end
|
|
@@ -1708,7 +1708,7 @@ module Stigg
|
|
|
1708
1708
|
sig { returns(String) }
|
|
1709
1709
|
attr_accessor :id
|
|
1710
1710
|
|
|
1711
|
-
# Charge quantity
|
|
1711
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
1712
1712
|
sig { returns(Float) }
|
|
1713
1713
|
attr_accessor :quantity
|
|
1714
1714
|
|
|
@@ -1731,7 +1731,7 @@ module Stigg
|
|
|
1731
1731
|
def self.new(
|
|
1732
1732
|
# Charge ID
|
|
1733
1733
|
id:,
|
|
1734
|
-
# Charge quantity
|
|
1734
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
1735
1735
|
quantity:,
|
|
1736
1736
|
# Charge type
|
|
1737
1737
|
type:
|
|
@@ -317,7 +317,7 @@ module Stigg
|
|
|
317
317
|
end
|
|
318
318
|
attr_writer :trial_override_configuration
|
|
319
319
|
|
|
320
|
-
# Unit quantity
|
|
320
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
321
321
|
sig { returns(T.nilable(Integer)) }
|
|
322
322
|
attr_reader :unit_quantity
|
|
323
323
|
|
|
@@ -423,7 +423,7 @@ module Stigg
|
|
|
423
423
|
start_date: nil,
|
|
424
424
|
# Trial period override settings
|
|
425
425
|
trial_override_configuration: nil,
|
|
426
|
-
# Unit quantity
|
|
426
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
427
427
|
unit_quantity: nil,
|
|
428
428
|
request_options: {}
|
|
429
429
|
)
|
|
@@ -1868,7 +1868,7 @@ module Stigg
|
|
|
1868
1868
|
sig { returns(String) }
|
|
1869
1869
|
attr_accessor :id
|
|
1870
1870
|
|
|
1871
|
-
# Charge quantity
|
|
1871
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
1872
1872
|
sig { returns(Float) }
|
|
1873
1873
|
attr_accessor :quantity
|
|
1874
1874
|
|
|
@@ -1892,7 +1892,7 @@ module Stigg
|
|
|
1892
1892
|
def self.new(
|
|
1893
1893
|
# Charge ID
|
|
1894
1894
|
id:,
|
|
1895
|
-
# Charge quantity
|
|
1895
|
+
# Charge quantity. Minimum is 0 (zero is allowed).
|
|
1896
1896
|
quantity:,
|
|
1897
1897
|
# Charge type
|
|
1898
1898
|
type:
|
|
@@ -303,7 +303,7 @@ module Stigg
|
|
|
303
303
|
start_date: nil,
|
|
304
304
|
# Trial period override settings
|
|
305
305
|
trial_override_configuration: nil,
|
|
306
|
-
# Unit quantity for per-unit pricing
|
|
306
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
307
307
|
unit_quantity: nil,
|
|
308
308
|
request_options: {}
|
|
309
309
|
)
|
|
@@ -410,7 +410,7 @@ module Stigg
|
|
|
410
410
|
start_date: nil,
|
|
411
411
|
# Trial period override settings
|
|
412
412
|
trial_override_configuration: nil,
|
|
413
|
-
# Unit quantity
|
|
413
|
+
# Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
|
|
414
414
|
unit_quantity: nil,
|
|
415
415
|
request_options: {}
|
|
416
416
|
)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stigg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.pre.beta.
|
|
4
|
+
version: 0.1.0.pre.beta.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stigg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|