stigg 0.1.0.pre.alpha.21 → 0.1.0.pre.alpha.22
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 +9 -0
- data/README.md +1 -1
- data/lib/stigg/models/v1/events/credits/credit_grant_response.rb +1 -0
- data/lib/stigg/models/v1/events/credits/grant_create_params.rb +1 -0
- data/lib/stigg/models/v1/events/credits/grant_list_response.rb +1 -0
- data/lib/stigg/models/v1/subscription_preview_params.rb +3 -3
- data/lib/stigg/models/v1/subscription_provision_params.rb +4 -3
- data/lib/stigg/models/v1/subscription_update_params.rb +4 -2
- data/lib/stigg/resources/v1/subscriptions.rb +4 -4
- data/lib/stigg/version.rb +1 -1
- data/rbi/stigg/models/v1/events/credits/credit_grant_response.rbi +5 -0
- data/rbi/stigg/models/v1/events/credits/grant_create_params.rbi +5 -0
- data/rbi/stigg/models/v1/events/credits/grant_list_response.rbi +5 -0
- data/rbi/stigg/models/v1/subscription_preview_params.rbi +4 -4
- data/rbi/stigg/models/v1/subscription_provision_params.rbi +6 -4
- data/rbi/stigg/models/v1/subscription_update_params.rbi +4 -0
- data/rbi/stigg/resources/v1/subscriptions.rbi +5 -2
- data/sig/stigg/models/v1/events/credits/credit_grant_response.rbs +2 -1
- data/sig/stigg/models/v1/events/credits/grant_create_params.rbs +2 -1
- data/sig/stigg/models/v1/events/credits/grant_list_response.rbs +2 -1
- data/sig/stigg/models/v1/subscription_preview_params.rbs +5 -5
- data/sig/stigg/models/v1/subscription_provision_params.rbs +5 -5
- data/sig/stigg/resources/v1/subscriptions.rbs +2 -2
- 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: 8c764dc26226c1fb588998ee3624b6392cd7e60d831f226436765b826e6e0955
|
|
4
|
+
data.tar.gz: 5dc5fdb10e7973e70541dfcd50e993e623da35403bf40459402a3d56355df354
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abf54e2834d78436ec06fedcad56dcea960600cfebf10be9262cc841fc4f56d204db66387f919fb53199774a1fed67c34b8a6b3274b0670710c9ee96d01e8840
|
|
7
|
+
data.tar.gz: e25c036021440f497da9e4e1bda6c60bdbc00aba5f7f840d5332010e9bb8e4cfc6365fd53d02e1f759b8933b8a9e5195bd70332a569d4e2b37d2ab0fe4a26021
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.22 (2026-03-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.21...v0.1.0-alpha.22](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.21...v0.1.0-alpha.22)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([ea636c2](https://github.com/stiggio/stigg-ruby/commit/ea636c22c0da0adc18a52267096faa80b1426807))
|
|
10
|
+
* **api:** api update ([6309814](https://github.com/stiggio/stigg-ruby/commit/6309814c61156b49128ce119f3809c81c1bb32af))
|
|
11
|
+
|
|
3
12
|
## 0.1.0-alpha.21 (2026-03-18)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v0.1.0-alpha.20...v0.1.0-alpha.21](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.20...v0.1.0-alpha.21)
|
data/README.md
CHANGED
|
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
24
24
|
<!-- x-release-please-start-version -->
|
|
25
25
|
|
|
26
26
|
```ruby
|
|
27
|
-
gem "stigg", "~> 0.1.0.pre.alpha.
|
|
27
|
+
gem "stigg", "~> 0.1.0.pre.alpha.22"
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
<!-- x-release-please-end -->
|
|
@@ -115,8 +115,8 @@ module Stigg
|
|
|
115
115
|
# @!attribute unit_quantity
|
|
116
116
|
# Unit quantity for per-unit pricing
|
|
117
117
|
#
|
|
118
|
-
# @return [
|
|
119
|
-
optional :unit_quantity,
|
|
118
|
+
# @return [Integer, nil]
|
|
119
|
+
optional :unit_quantity, Integer, api_name: :unitQuantity
|
|
120
120
|
|
|
121
121
|
# @!method initialize(customer_id:, plan_id:, addons: nil, applied_coupon: nil, billable_features: nil, billing_country_code: nil, billing_cycle_anchor: nil, billing_information: nil, billing_period: nil, charges: nil, paying_customer_id: nil, resource_id: nil, schedule_strategy: nil, start_date: nil, trial_override_configuration: nil, unit_quantity: nil, request_options: {})
|
|
122
122
|
# @param customer_id [String] Customer ID
|
|
@@ -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 [
|
|
152
|
+
# @param unit_quantity [Integer] Unit quantity for per-unit pricing
|
|
153
153
|
#
|
|
154
154
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
155
155
|
|
|
@@ -177,9 +177,10 @@ module Stigg
|
|
|
177
177
|
api_name: :trialOverrideConfiguration
|
|
178
178
|
|
|
179
179
|
# @!attribute unit_quantity
|
|
180
|
+
# Unit quantity
|
|
180
181
|
#
|
|
181
|
-
# @return [
|
|
182
|
-
optional :unit_quantity,
|
|
182
|
+
# @return [Integer, nil]
|
|
183
|
+
optional :unit_quantity, Integer, api_name: :unitQuantity
|
|
183
184
|
|
|
184
185
|
# @!method initialize(customer_id:, plan_id:, id: nil, addons: nil, applied_coupon: nil, await_payment_confirmation: nil, billing_country_code: nil, billing_cycle_anchor: nil, billing_id: nil, billing_information: nil, billing_period: nil, budget: nil, charges: nil, checkout_options: nil, entitlements: nil, metadata: nil, minimum_spend: nil, paying_customer_id: nil, payment_collection_method: nil, price_overrides: nil, resource_id: nil, salesforce_id: nil, schedule_strategy: nil, start_date: nil, trial_override_configuration: nil, unit_quantity: nil, request_options: {})
|
|
185
186
|
# @param customer_id [String] Customer ID to provision the subscription for
|
|
@@ -232,7 +233,7 @@ module Stigg
|
|
|
232
233
|
#
|
|
233
234
|
# @param trial_override_configuration [Stigg::Models::V1::SubscriptionProvisionParams::TrialOverrideConfiguration] Trial period override settings
|
|
234
235
|
#
|
|
235
|
-
# @param unit_quantity [
|
|
236
|
+
# @param unit_quantity [Integer] Unit quantity
|
|
236
237
|
#
|
|
237
238
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
238
239
|
|
|
@@ -26,6 +26,7 @@ module Stigg
|
|
|
26
26
|
api_name: :appliedCoupon
|
|
27
27
|
|
|
28
28
|
# @!attribute await_payment_confirmation
|
|
29
|
+
# Await payment confirmation
|
|
29
30
|
#
|
|
30
31
|
# @return [Boolean, nil]
|
|
31
32
|
optional :await_payment_confirmation,
|
|
@@ -92,6 +93,7 @@ module Stigg
|
|
|
92
93
|
api_name: :priceOverrides
|
|
93
94
|
|
|
94
95
|
# @!attribute promotion_code
|
|
96
|
+
# Promotion code
|
|
95
97
|
#
|
|
96
98
|
# @return [String, nil]
|
|
97
99
|
optional :promotion_code, String, api_name: :promotionCode
|
|
@@ -116,7 +118,7 @@ module Stigg
|
|
|
116
118
|
#
|
|
117
119
|
# @param applied_coupon [Stigg::Models::V1::SubscriptionUpdateParams::AppliedCoupon]
|
|
118
120
|
#
|
|
119
|
-
# @param await_payment_confirmation [Boolean]
|
|
121
|
+
# @param await_payment_confirmation [Boolean] Await payment confirmation
|
|
120
122
|
#
|
|
121
123
|
# @param billing_cycle_anchor [Symbol, Stigg::Models::V1::SubscriptionUpdateParams::BillingCycleAnchor]
|
|
122
124
|
#
|
|
@@ -136,7 +138,7 @@ module Stigg
|
|
|
136
138
|
#
|
|
137
139
|
# @param price_overrides [Array<Stigg::Models::V1::SubscriptionUpdateParams::PriceOverride>]
|
|
138
140
|
#
|
|
139
|
-
# @param promotion_code [String]
|
|
141
|
+
# @param promotion_code [String] Promotion code
|
|
140
142
|
#
|
|
141
143
|
# @param schedule_strategy [Symbol, Stigg::Models::V1::SubscriptionUpdateParams::ScheduleStrategy]
|
|
142
144
|
#
|
|
@@ -48,7 +48,7 @@ module Stigg
|
|
|
48
48
|
#
|
|
49
49
|
# @param applied_coupon [Stigg::Models::V1::SubscriptionUpdateParams::AppliedCoupon]
|
|
50
50
|
#
|
|
51
|
-
# @param await_payment_confirmation [Boolean]
|
|
51
|
+
# @param await_payment_confirmation [Boolean] Await payment confirmation
|
|
52
52
|
#
|
|
53
53
|
# @param billing_cycle_anchor [Symbol, Stigg::Models::V1::SubscriptionUpdateParams::BillingCycleAnchor]
|
|
54
54
|
#
|
|
@@ -68,7 +68,7 @@ module Stigg
|
|
|
68
68
|
#
|
|
69
69
|
# @param price_overrides [Array<Stigg::Models::V1::SubscriptionUpdateParams::PriceOverride>]
|
|
70
70
|
#
|
|
71
|
-
# @param promotion_code [String]
|
|
71
|
+
# @param promotion_code [String] Promotion code
|
|
72
72
|
#
|
|
73
73
|
# @param schedule_strategy [Symbol, Stigg::Models::V1::SubscriptionUpdateParams::ScheduleStrategy]
|
|
74
74
|
#
|
|
@@ -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 [
|
|
287
|
+
# @param unit_quantity [Integer] Unit quantity for per-unit pricing
|
|
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 [
|
|
360
|
+
# @param unit_quantity [Integer] Unit quantity
|
|
361
361
|
#
|
|
362
362
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
363
363
|
#
|
data/lib/stigg/version.rb
CHANGED
|
@@ -384,6 +384,11 @@ module Stigg
|
|
|
384
384
|
:RECURRING,
|
|
385
385
|
Stigg::V1::Events::Credits::CreditGrantResponse::Data::GrantType::TaggedSymbol
|
|
386
386
|
)
|
|
387
|
+
OVERDRAFT =
|
|
388
|
+
T.let(
|
|
389
|
+
:OVERDRAFT,
|
|
390
|
+
Stigg::V1::Events::Credits::CreditGrantResponse::Data::GrantType::TaggedSymbol
|
|
391
|
+
)
|
|
387
392
|
|
|
388
393
|
sig do
|
|
389
394
|
override.returns(
|
|
@@ -257,6 +257,11 @@ module Stigg
|
|
|
257
257
|
:RECURRING,
|
|
258
258
|
Stigg::V1::Events::Credits::GrantCreateParams::GrantType::TaggedSymbol
|
|
259
259
|
)
|
|
260
|
+
OVERDRAFT =
|
|
261
|
+
T.let(
|
|
262
|
+
:OVERDRAFT,
|
|
263
|
+
Stigg::V1::Events::Credits::GrantCreateParams::GrantType::TaggedSymbol
|
|
264
|
+
)
|
|
260
265
|
|
|
261
266
|
sig do
|
|
262
267
|
override.returns(
|
|
@@ -338,6 +338,11 @@ module Stigg
|
|
|
338
338
|
:RECURRING,
|
|
339
339
|
Stigg::Models::V1::Events::Credits::GrantListResponse::GrantType::TaggedSymbol
|
|
340
340
|
)
|
|
341
|
+
OVERDRAFT =
|
|
342
|
+
T.let(
|
|
343
|
+
:OVERDRAFT,
|
|
344
|
+
Stigg::Models::V1::Events::Credits::GrantListResponse::GrantType::TaggedSymbol
|
|
345
|
+
)
|
|
341
346
|
|
|
342
347
|
sig do
|
|
343
348
|
override.returns(
|
|
@@ -208,10 +208,10 @@ module Stigg
|
|
|
208
208
|
attr_writer :trial_override_configuration
|
|
209
209
|
|
|
210
210
|
# Unit quantity for per-unit pricing
|
|
211
|
-
sig { returns(T.nilable(
|
|
211
|
+
sig { returns(T.nilable(Integer)) }
|
|
212
212
|
attr_reader :unit_quantity
|
|
213
213
|
|
|
214
|
-
sig { params(unit_quantity:
|
|
214
|
+
sig { params(unit_quantity: Integer).void }
|
|
215
215
|
attr_writer :unit_quantity
|
|
216
216
|
|
|
217
217
|
sig do
|
|
@@ -242,7 +242,7 @@ module Stigg
|
|
|
242
242
|
start_date: Time,
|
|
243
243
|
trial_override_configuration:
|
|
244
244
|
Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration::OrHash,
|
|
245
|
-
unit_quantity:
|
|
245
|
+
unit_quantity: Integer,
|
|
246
246
|
request_options: Stigg::RequestOptions::OrHash
|
|
247
247
|
).returns(T.attached_class)
|
|
248
248
|
end
|
|
@@ -308,7 +308,7 @@ module Stigg
|
|
|
308
308
|
start_date: Time,
|
|
309
309
|
trial_override_configuration:
|
|
310
310
|
Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration,
|
|
311
|
-
unit_quantity:
|
|
311
|
+
unit_quantity: Integer,
|
|
312
312
|
request_options: Stigg::RequestOptions
|
|
313
313
|
}
|
|
314
314
|
)
|
|
@@ -317,10 +317,11 @@ module Stigg
|
|
|
317
317
|
end
|
|
318
318
|
attr_writer :trial_override_configuration
|
|
319
319
|
|
|
320
|
-
|
|
320
|
+
# Unit quantity
|
|
321
|
+
sig { returns(T.nilable(Integer)) }
|
|
321
322
|
attr_reader :unit_quantity
|
|
322
323
|
|
|
323
|
-
sig { params(unit_quantity:
|
|
324
|
+
sig { params(unit_quantity: Integer).void }
|
|
324
325
|
attr_writer :unit_quantity
|
|
325
326
|
|
|
326
327
|
sig do
|
|
@@ -373,7 +374,7 @@ module Stigg
|
|
|
373
374
|
start_date: Time,
|
|
374
375
|
trial_override_configuration:
|
|
375
376
|
Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration::OrHash,
|
|
376
|
-
unit_quantity:
|
|
377
|
+
unit_quantity: Integer,
|
|
377
378
|
request_options: Stigg::RequestOptions::OrHash
|
|
378
379
|
).returns(T.attached_class)
|
|
379
380
|
end
|
|
@@ -422,6 +423,7 @@ module Stigg
|
|
|
422
423
|
start_date: nil,
|
|
423
424
|
# Trial period override settings
|
|
424
425
|
trial_override_configuration: nil,
|
|
426
|
+
# Unit quantity
|
|
425
427
|
unit_quantity: nil,
|
|
426
428
|
request_options: {}
|
|
427
429
|
)
|
|
@@ -471,7 +473,7 @@ module Stigg
|
|
|
471
473
|
start_date: Time,
|
|
472
474
|
trial_override_configuration:
|
|
473
475
|
Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration,
|
|
474
|
-
unit_quantity:
|
|
476
|
+
unit_quantity: Integer,
|
|
475
477
|
request_options: Stigg::RequestOptions
|
|
476
478
|
}
|
|
477
479
|
)
|
|
@@ -42,6 +42,7 @@ module Stigg
|
|
|
42
42
|
end
|
|
43
43
|
attr_writer :applied_coupon
|
|
44
44
|
|
|
45
|
+
# Await payment confirmation
|
|
45
46
|
sig { returns(T.nilable(T::Boolean)) }
|
|
46
47
|
attr_reader :await_payment_confirmation
|
|
47
48
|
|
|
@@ -192,6 +193,7 @@ module Stigg
|
|
|
192
193
|
end
|
|
193
194
|
attr_writer :price_overrides
|
|
194
195
|
|
|
196
|
+
# Promotion code
|
|
195
197
|
sig { returns(T.nilable(String)) }
|
|
196
198
|
attr_reader :promotion_code
|
|
197
199
|
|
|
@@ -267,6 +269,7 @@ module Stigg
|
|
|
267
269
|
id:,
|
|
268
270
|
addons: nil,
|
|
269
271
|
applied_coupon: nil,
|
|
272
|
+
# Await payment confirmation
|
|
270
273
|
await_payment_confirmation: nil,
|
|
271
274
|
billing_cycle_anchor: nil,
|
|
272
275
|
billing_information: nil,
|
|
@@ -279,6 +282,7 @@ module Stigg
|
|
|
279
282
|
# Minimum spend amount
|
|
280
283
|
minimum_spend: nil,
|
|
281
284
|
price_overrides: nil,
|
|
285
|
+
# Promotion code
|
|
282
286
|
promotion_code: nil,
|
|
283
287
|
schedule_strategy: nil,
|
|
284
288
|
# Subscription trial end date
|
|
@@ -79,6 +79,7 @@ module Stigg
|
|
|
79
79
|
id,
|
|
80
80
|
addons: nil,
|
|
81
81
|
applied_coupon: nil,
|
|
82
|
+
# Await payment confirmation
|
|
82
83
|
await_payment_confirmation: nil,
|
|
83
84
|
billing_cycle_anchor: nil,
|
|
84
85
|
billing_information: nil,
|
|
@@ -91,6 +92,7 @@ module Stigg
|
|
|
91
92
|
# Minimum spend amount
|
|
92
93
|
minimum_spend: nil,
|
|
93
94
|
price_overrides: nil,
|
|
95
|
+
# Promotion code
|
|
94
96
|
promotion_code: nil,
|
|
95
97
|
schedule_strategy: nil,
|
|
96
98
|
# Subscription trial end date
|
|
@@ -262,7 +264,7 @@ module Stigg
|
|
|
262
264
|
start_date: Time,
|
|
263
265
|
trial_override_configuration:
|
|
264
266
|
Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration::OrHash,
|
|
265
|
-
unit_quantity:
|
|
267
|
+
unit_quantity: Integer,
|
|
266
268
|
request_options: Stigg::RequestOptions::OrHash
|
|
267
269
|
).returns(Stigg::Models::V1::SubscriptionPreviewResponse)
|
|
268
270
|
end
|
|
@@ -355,7 +357,7 @@ module Stigg
|
|
|
355
357
|
start_date: Time,
|
|
356
358
|
trial_override_configuration:
|
|
357
359
|
Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration::OrHash,
|
|
358
|
-
unit_quantity:
|
|
360
|
+
unit_quantity: Integer,
|
|
359
361
|
request_options: Stigg::RequestOptions::OrHash
|
|
360
362
|
).returns(Stigg::Models::V1::SubscriptionProvisionResponse)
|
|
361
363
|
end
|
|
@@ -404,6 +406,7 @@ module Stigg
|
|
|
404
406
|
start_date: nil,
|
|
405
407
|
# Trial period override settings
|
|
406
408
|
trial_override_configuration: nil,
|
|
409
|
+
# Unit quantity
|
|
407
410
|
unit_quantity: nil,
|
|
408
411
|
request_options: {}
|
|
409
412
|
)
|
|
@@ -152,7 +152,7 @@ module Stigg
|
|
|
152
152
|
def to_hash: -> { amount: Float, currency: String }
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
type grant_type = :PAID | :PROMOTIONAL | :RECURRING
|
|
155
|
+
type grant_type = :PAID | :PROMOTIONAL | :RECURRING | :OVERDRAFT
|
|
156
156
|
|
|
157
157
|
module GrantType
|
|
158
158
|
extend Stigg::Internal::Type::Enum
|
|
@@ -160,6 +160,7 @@ module Stigg
|
|
|
160
160
|
PAID: :PAID
|
|
161
161
|
PROMOTIONAL: :PROMOTIONAL
|
|
162
162
|
RECURRING: :RECURRING
|
|
163
|
+
OVERDRAFT: :OVERDRAFT
|
|
163
164
|
|
|
164
165
|
def self?.values: -> ::Array[Stigg::Models::V1::Events::Credits::CreditGrantResponse::Data::grant_type]
|
|
165
166
|
end
|
|
@@ -121,7 +121,7 @@ module Stigg
|
|
|
121
121
|
request_options: Stigg::RequestOptions
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
type grant_type = :PAID | :PROMOTIONAL | :RECURRING
|
|
124
|
+
type grant_type = :PAID | :PROMOTIONAL | :RECURRING | :OVERDRAFT
|
|
125
125
|
|
|
126
126
|
module GrantType
|
|
127
127
|
extend Stigg::Internal::Type::Enum
|
|
@@ -129,6 +129,7 @@ module Stigg
|
|
|
129
129
|
PAID: :PAID
|
|
130
130
|
PROMOTIONAL: :PROMOTIONAL
|
|
131
131
|
RECURRING: :RECURRING
|
|
132
|
+
OVERDRAFT: :OVERDRAFT
|
|
132
133
|
|
|
133
134
|
def self?.values: -> ::Array[Stigg::Models::V1::Events::Credits::GrantCreateParams::grant_type]
|
|
134
135
|
end
|
|
@@ -136,7 +136,7 @@ module Stigg
|
|
|
136
136
|
def to_hash: -> { amount: Float, currency: String }
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
type grant_type = :PAID | :PROMOTIONAL | :RECURRING
|
|
139
|
+
type grant_type = :PAID | :PROMOTIONAL | :RECURRING | :OVERDRAFT
|
|
140
140
|
|
|
141
141
|
module GrantType
|
|
142
142
|
extend Stigg::Internal::Type::Enum
|
|
@@ -144,6 +144,7 @@ module Stigg
|
|
|
144
144
|
PAID: :PAID
|
|
145
145
|
PROMOTIONAL: :PROMOTIONAL
|
|
146
146
|
RECURRING: :RECURRING
|
|
147
|
+
OVERDRAFT: :OVERDRAFT
|
|
147
148
|
|
|
148
149
|
def self?.values: -> ::Array[Stigg::Models::V1::Events::Credits::GrantListResponse::grant_type]
|
|
149
150
|
end
|
|
@@ -18,7 +18,7 @@ module Stigg
|
|
|
18
18
|
schedule_strategy: Stigg::Models::V1::SubscriptionPreviewParams::schedule_strategy,
|
|
19
19
|
start_date: Time,
|
|
20
20
|
trial_override_configuration: Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration,
|
|
21
|
-
unit_quantity:
|
|
21
|
+
unit_quantity: Integer
|
|
22
22
|
}
|
|
23
23
|
& Stigg::Internal::Type::request_parameters
|
|
24
24
|
|
|
@@ -100,9 +100,9 @@ module Stigg
|
|
|
100
100
|
Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration
|
|
101
101
|
) -> Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration
|
|
102
102
|
|
|
103
|
-
attr_reader unit_quantity:
|
|
103
|
+
attr_reader unit_quantity: Integer?
|
|
104
104
|
|
|
105
|
-
def unit_quantity=: (
|
|
105
|
+
def unit_quantity=: (Integer) -> Integer
|
|
106
106
|
|
|
107
107
|
def initialize: (
|
|
108
108
|
customer_id: String,
|
|
@@ -120,7 +120,7 @@ module Stigg
|
|
|
120
120
|
?schedule_strategy: Stigg::Models::V1::SubscriptionPreviewParams::schedule_strategy,
|
|
121
121
|
?start_date: Time,
|
|
122
122
|
?trial_override_configuration: Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration,
|
|
123
|
-
?unit_quantity:
|
|
123
|
+
?unit_quantity: Integer,
|
|
124
124
|
?request_options: Stigg::request_opts
|
|
125
125
|
) -> void
|
|
126
126
|
|
|
@@ -140,7 +140,7 @@ module Stigg
|
|
|
140
140
|
schedule_strategy: Stigg::Models::V1::SubscriptionPreviewParams::schedule_strategy,
|
|
141
141
|
start_date: Time,
|
|
142
142
|
trial_override_configuration: Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration,
|
|
143
|
-
unit_quantity:
|
|
143
|
+
unit_quantity: Integer,
|
|
144
144
|
request_options: Stigg::RequestOptions
|
|
145
145
|
}
|
|
146
146
|
|
|
@@ -28,7 +28,7 @@ module Stigg
|
|
|
28
28
|
schedule_strategy: Stigg::Models::V1::SubscriptionProvisionParams::schedule_strategy,
|
|
29
29
|
start_date: Time,
|
|
30
30
|
trial_override_configuration: Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration,
|
|
31
|
-
unit_quantity:
|
|
31
|
+
unit_quantity: Integer
|
|
32
32
|
}
|
|
33
33
|
& Stigg::Internal::Type::request_parameters
|
|
34
34
|
|
|
@@ -142,9 +142,9 @@ module Stigg
|
|
|
142
142
|
Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration
|
|
143
143
|
) -> Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration
|
|
144
144
|
|
|
145
|
-
attr_reader unit_quantity:
|
|
145
|
+
attr_reader unit_quantity: Integer?
|
|
146
146
|
|
|
147
|
-
def unit_quantity=: (
|
|
147
|
+
def unit_quantity=: (Integer) -> Integer
|
|
148
148
|
|
|
149
149
|
def initialize: (
|
|
150
150
|
customer_id: String,
|
|
@@ -172,7 +172,7 @@ module Stigg
|
|
|
172
172
|
?schedule_strategy: Stigg::Models::V1::SubscriptionProvisionParams::schedule_strategy,
|
|
173
173
|
?start_date: Time,
|
|
174
174
|
?trial_override_configuration: Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration,
|
|
175
|
-
?unit_quantity:
|
|
175
|
+
?unit_quantity: Integer,
|
|
176
176
|
?request_options: Stigg::request_opts
|
|
177
177
|
) -> void
|
|
178
178
|
|
|
@@ -202,7 +202,7 @@ module Stigg
|
|
|
202
202
|
schedule_strategy: Stigg::Models::V1::SubscriptionProvisionParams::schedule_strategy,
|
|
203
203
|
start_date: Time,
|
|
204
204
|
trial_override_configuration: Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration,
|
|
205
|
-
unit_quantity:
|
|
205
|
+
unit_quantity: Integer,
|
|
206
206
|
request_options: Stigg::RequestOptions
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -89,7 +89,7 @@ module Stigg
|
|
|
89
89
|
?schedule_strategy: Stigg::Models::V1::SubscriptionPreviewParams::schedule_strategy,
|
|
90
90
|
?start_date: Time,
|
|
91
91
|
?trial_override_configuration: Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration,
|
|
92
|
-
?unit_quantity:
|
|
92
|
+
?unit_quantity: Integer,
|
|
93
93
|
?request_options: Stigg::request_opts
|
|
94
94
|
) -> Stigg::Models::V1::SubscriptionPreviewResponse
|
|
95
95
|
|
|
@@ -119,7 +119,7 @@ module Stigg
|
|
|
119
119
|
?schedule_strategy: Stigg::Models::V1::SubscriptionProvisionParams::schedule_strategy,
|
|
120
120
|
?start_date: Time,
|
|
121
121
|
?trial_override_configuration: Stigg::V1::SubscriptionProvisionParams::TrialOverrideConfiguration,
|
|
122
|
-
?unit_quantity:
|
|
122
|
+
?unit_quantity: Integer,
|
|
123
123
|
?request_options: Stigg::request_opts
|
|
124
124
|
) -> Stigg::Models::V1::SubscriptionProvisionResponse
|
|
125
125
|
|