stigg 0.1.0.pre.alpha.32 → 0.1.0.pre.alpha.34
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 +16 -0
- data/README.md +1 -1
- data/lib/stigg/client.rb +0 -4
- data/lib/stigg/models/v1/events/credits/grant_create_params.rb +3 -5
- data/lib/stigg/resources/v1/events/credits/grants.rb +1 -1
- data/lib/stigg/version.rb +1 -1
- data/lib/stigg.rb +0 -3
- data/rbi/stigg/client.rbi +0 -3
- data/rbi/stigg/models/v1/events/credits/grant_create_params.rbi +3 -13
- data/rbi/stigg/resources/v1/events/credits/grants.rbi +1 -1
- data/sig/stigg/client.rbs +0 -2
- data/sig/stigg/models/v1/events/credits/grant_create_params.rbs +1 -3
- metadata +2 -11
- data/lib/stigg/resources/internal/beta/event_queues.rb +0 -18
- data/lib/stigg/resources/internal/beta.rb +0 -20
- data/lib/stigg/resources/internal.rb +0 -18
- data/rbi/stigg/resources/internal/beta/event_queues.rbi +0 -16
- data/rbi/stigg/resources/internal/beta.rbi +0 -17
- data/rbi/stigg/resources/internal.rbi +0 -15
- data/sig/stigg/resources/internal/beta/event_queues.rbs +0 -11
- data/sig/stigg/resources/internal/beta.rbs +0 -11
- data/sig/stigg/resources/internal.rbs +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 396050cde3ffe9c15a9acdebe0d5d2d524262f13a843a639d86d8d44c6e95b83
|
|
4
|
+
data.tar.gz: f0dd38b57f86f2043a72169ba93e40b64a429c378d8c61c47883cd7e0a2241ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8533daa2298fa08fe01c5268e31a5158f51cb06ed36bd51975f9b6d93dce9ec6221e13169f9d48911ff723a0df0cd789dca1b22ee2303c5edd1cd8f857f8e945
|
|
7
|
+
data.tar.gz: b1bd1ad3dcbf2a6a35d7b38f3d9318e6ea34244f9701ddee79c414598c8ca1228c8eb5d6e4f5cbe6794a3a44267dee9527b0af1bac7ab03b0060e34b7651a961
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.34 (2026-05-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.33...v0.1.0-alpha.34](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.33...v0.1.0-alpha.34)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([f5ac99f](https://github.com/stiggio/stigg-ruby/commit/f5ac99f4ba5b80ecf5dab7a6d5ae65481c218c2d))
|
|
10
|
+
|
|
11
|
+
## 0.1.0-alpha.33 (2026-05-06)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.1.0-alpha.32...v0.1.0-alpha.33](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.32...v0.1.0-alpha.33)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **types:** remove RECURRING value from GrantType in credits grant_create_params ([99aec20](https://github.com/stiggio/stigg-ruby/commit/99aec208645aa7e4ae32acad0488733a76a1b638))
|
|
18
|
+
|
|
3
19
|
## 0.1.0-alpha.32 (2026-05-06)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.1.0-alpha.31...v0.1.0-alpha.32](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.31...v0.1.0-alpha.32)
|
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.34"
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
<!-- x-release-please-end -->
|
data/lib/stigg/client.rb
CHANGED
|
@@ -21,9 +21,6 @@ module Stigg
|
|
|
21
21
|
# @return [Stigg::Resources::V1]
|
|
22
22
|
attr_reader :v1
|
|
23
23
|
|
|
24
|
-
# @return [Stigg::Resources::Internal]
|
|
25
|
-
attr_reader :internal
|
|
26
|
-
|
|
27
24
|
# @api private
|
|
28
25
|
#
|
|
29
26
|
# @return [Hash{String=>String}]
|
|
@@ -84,7 +81,6 @@ module Stigg
|
|
|
84
81
|
)
|
|
85
82
|
|
|
86
83
|
@v1 = Stigg::Resources::V1.new(client: self)
|
|
87
|
-
@internal = Stigg::Resources::Internal.new(client: self)
|
|
88
84
|
end
|
|
89
85
|
end
|
|
90
86
|
end
|
|
@@ -35,7 +35,7 @@ module Stigg
|
|
|
35
35
|
required :display_name, String, api_name: :displayName
|
|
36
36
|
|
|
37
37
|
# @!attribute grant_type
|
|
38
|
-
# The type of credit grant (PAID, PROMOTIONAL
|
|
38
|
+
# The type of credit grant (PAID, PROMOTIONAL)
|
|
39
39
|
#
|
|
40
40
|
# @return [Symbol, Stigg::Models::V1::Events::Credits::GrantCreateParams::GrantType]
|
|
41
41
|
required :grant_type,
|
|
@@ -117,7 +117,7 @@ module Stigg
|
|
|
117
117
|
#
|
|
118
118
|
# @param display_name [String] The display name for the credit grant
|
|
119
119
|
#
|
|
120
|
-
# @param grant_type [Symbol, Stigg::Models::V1::Events::Credits::GrantCreateParams::GrantType] The type of credit grant (PAID, PROMOTIONAL
|
|
120
|
+
# @param grant_type [Symbol, Stigg::Models::V1::Events::Credits::GrantCreateParams::GrantType] The type of credit grant (PAID, PROMOTIONAL)
|
|
121
121
|
#
|
|
122
122
|
# @param await_payment_confirmation [Boolean] Whether to wait for payment confirmation before returning (default: true)
|
|
123
123
|
#
|
|
@@ -141,14 +141,12 @@ module Stigg
|
|
|
141
141
|
#
|
|
142
142
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
143
143
|
|
|
144
|
-
# The type of credit grant (PAID, PROMOTIONAL
|
|
144
|
+
# The type of credit grant (PAID, PROMOTIONAL)
|
|
145
145
|
module GrantType
|
|
146
146
|
extend Stigg::Internal::Type::Enum
|
|
147
147
|
|
|
148
148
|
PAID = :PAID
|
|
149
149
|
PROMOTIONAL = :PROMOTIONAL
|
|
150
|
-
RECURRING = :RECURRING
|
|
151
|
-
OVERDRAFT = :OVERDRAFT
|
|
152
150
|
|
|
153
151
|
# @!method self.values
|
|
154
152
|
# @return [Array<Symbol>]
|
|
@@ -20,7 +20,7 @@ module Stigg
|
|
|
20
20
|
#
|
|
21
21
|
# @param display_name [String] The display name for the credit grant
|
|
22
22
|
#
|
|
23
|
-
# @param grant_type [Symbol, Stigg::Models::V1::Events::Credits::GrantCreateParams::GrantType] The type of credit grant (PAID, PROMOTIONAL
|
|
23
|
+
# @param grant_type [Symbol, Stigg::Models::V1::Events::Credits::GrantCreateParams::GrantType] The type of credit grant (PAID, PROMOTIONAL)
|
|
24
24
|
#
|
|
25
25
|
# @param await_payment_confirmation [Boolean] Whether to wait for payment confirmation before returning (default: true)
|
|
26
26
|
#
|
data/lib/stigg/version.rb
CHANGED
data/lib/stigg.rb
CHANGED
|
@@ -187,9 +187,6 @@ require_relative "stigg/models/v1/usage_history_response"
|
|
|
187
187
|
require_relative "stigg/models/v1/usage_report_params"
|
|
188
188
|
require_relative "stigg/models/v1/usage_report_response"
|
|
189
189
|
require_relative "stigg/models"
|
|
190
|
-
require_relative "stigg/resources/internal"
|
|
191
|
-
require_relative "stigg/resources/internal/beta"
|
|
192
|
-
require_relative "stigg/resources/internal/beta/event_queues"
|
|
193
190
|
require_relative "stigg/resources/v1"
|
|
194
191
|
require_relative "stigg/resources/v1/addons"
|
|
195
192
|
require_relative "stigg/resources/v1/addons/entitlements"
|
data/rbi/stigg/client.rbi
CHANGED
|
@@ -33,7 +33,7 @@ module Stigg
|
|
|
33
33
|
sig { returns(String) }
|
|
34
34
|
attr_accessor :display_name
|
|
35
35
|
|
|
36
|
-
# The type of credit grant (PAID, PROMOTIONAL
|
|
36
|
+
# The type of credit grant (PAID, PROMOTIONAL)
|
|
37
37
|
sig do
|
|
38
38
|
returns(
|
|
39
39
|
Stigg::V1::Events::Credits::GrantCreateParams::GrantType::OrSymbol
|
|
@@ -175,7 +175,7 @@ module Stigg
|
|
|
175
175
|
customer_id:,
|
|
176
176
|
# The display name for the credit grant
|
|
177
177
|
display_name:,
|
|
178
|
-
# The type of credit grant (PAID, PROMOTIONAL
|
|
178
|
+
# The type of credit grant (PAID, PROMOTIONAL)
|
|
179
179
|
grant_type:,
|
|
180
180
|
# Whether to wait for payment confirmation before returning (default: true)
|
|
181
181
|
await_payment_confirmation: nil,
|
|
@@ -229,7 +229,7 @@ module Stigg
|
|
|
229
229
|
def to_hash
|
|
230
230
|
end
|
|
231
231
|
|
|
232
|
-
# The type of credit grant (PAID, PROMOTIONAL
|
|
232
|
+
# The type of credit grant (PAID, PROMOTIONAL)
|
|
233
233
|
module GrantType
|
|
234
234
|
extend Stigg::Internal::Type::Enum
|
|
235
235
|
|
|
@@ -252,16 +252,6 @@ module Stigg
|
|
|
252
252
|
:PROMOTIONAL,
|
|
253
253
|
Stigg::V1::Events::Credits::GrantCreateParams::GrantType::TaggedSymbol
|
|
254
254
|
)
|
|
255
|
-
RECURRING =
|
|
256
|
-
T.let(
|
|
257
|
-
:RECURRING,
|
|
258
|
-
Stigg::V1::Events::Credits::GrantCreateParams::GrantType::TaggedSymbol
|
|
259
|
-
)
|
|
260
|
-
OVERDRAFT =
|
|
261
|
-
T.let(
|
|
262
|
-
:OVERDRAFT,
|
|
263
|
-
Stigg::V1::Events::Credits::GrantCreateParams::GrantType::TaggedSymbol
|
|
264
|
-
)
|
|
265
255
|
|
|
266
256
|
sig do
|
|
267
257
|
override.returns(
|
|
@@ -42,7 +42,7 @@ module Stigg
|
|
|
42
42
|
customer_id:,
|
|
43
43
|
# The display name for the credit grant
|
|
44
44
|
display_name:,
|
|
45
|
-
# The type of credit grant (PAID, PROMOTIONAL
|
|
45
|
+
# The type of credit grant (PAID, PROMOTIONAL)
|
|
46
46
|
grant_type:,
|
|
47
47
|
# Whether to wait for payment confirmation before returning (default: true)
|
|
48
48
|
await_payment_confirmation: nil,
|
data/sig/stigg/client.rbs
CHANGED
|
@@ -121,15 +121,13 @@ module Stigg
|
|
|
121
121
|
request_options: Stigg::RequestOptions
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
type grant_type = :PAID | :PROMOTIONAL
|
|
124
|
+
type grant_type = :PAID | :PROMOTIONAL
|
|
125
125
|
|
|
126
126
|
module GrantType
|
|
127
127
|
extend Stigg::Internal::Type::Enum
|
|
128
128
|
|
|
129
129
|
PAID: :PAID
|
|
130
130
|
PROMOTIONAL: :PROMOTIONAL
|
|
131
|
-
RECURRING: :RECURRING
|
|
132
|
-
OVERDRAFT: :OVERDRAFT
|
|
133
131
|
|
|
134
132
|
def self?.values: -> ::Array[Stigg::Models::V1::Events::Credits::GrantCreateParams::grant_type]
|
|
135
133
|
end
|
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.alpha.
|
|
4
|
+
version: 0.1.0.pre.alpha.34
|
|
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-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -204,9 +204,6 @@ files:
|
|
|
204
204
|
- lib/stigg/models/v1/usage_report_params.rb
|
|
205
205
|
- lib/stigg/models/v1/usage_report_response.rb
|
|
206
206
|
- lib/stigg/request_options.rb
|
|
207
|
-
- lib/stigg/resources/internal.rb
|
|
208
|
-
- lib/stigg/resources/internal/beta.rb
|
|
209
|
-
- lib/stigg/resources/internal/beta/event_queues.rb
|
|
210
207
|
- lib/stigg/resources/v1.rb
|
|
211
208
|
- lib/stigg/resources/v1/addons.rb
|
|
212
209
|
- lib/stigg/resources/v1/addons/entitlements.rb
|
|
@@ -383,9 +380,6 @@ files:
|
|
|
383
380
|
- rbi/stigg/models/v1/usage_report_params.rbi
|
|
384
381
|
- rbi/stigg/models/v1/usage_report_response.rbi
|
|
385
382
|
- rbi/stigg/request_options.rbi
|
|
386
|
-
- rbi/stigg/resources/internal.rbi
|
|
387
|
-
- rbi/stigg/resources/internal/beta.rbi
|
|
388
|
-
- rbi/stigg/resources/internal/beta/event_queues.rbi
|
|
389
383
|
- rbi/stigg/resources/v1.rbi
|
|
390
384
|
- rbi/stigg/resources/v1/addons.rbi
|
|
391
385
|
- rbi/stigg/resources/v1/addons/entitlements.rbi
|
|
@@ -561,9 +555,6 @@ files:
|
|
|
561
555
|
- sig/stigg/models/v1/usage_report_params.rbs
|
|
562
556
|
- sig/stigg/models/v1/usage_report_response.rbs
|
|
563
557
|
- sig/stigg/request_options.rbs
|
|
564
|
-
- sig/stigg/resources/internal.rbs
|
|
565
|
-
- sig/stigg/resources/internal/beta.rbs
|
|
566
|
-
- sig/stigg/resources/internal/beta/event_queues.rbs
|
|
567
558
|
- sig/stigg/resources/v1.rbs
|
|
568
559
|
- sig/stigg/resources/v1/addons.rbs
|
|
569
560
|
- sig/stigg/resources/v1/addons/entitlements.rbs
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Stigg
|
|
4
|
-
module Resources
|
|
5
|
-
class Internal
|
|
6
|
-
class Beta
|
|
7
|
-
class EventQueues
|
|
8
|
-
# @api private
|
|
9
|
-
#
|
|
10
|
-
# @param client [Stigg::Client]
|
|
11
|
-
def initialize(client:)
|
|
12
|
-
@client = client
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Stigg
|
|
4
|
-
module Resources
|
|
5
|
-
class Internal
|
|
6
|
-
class Beta
|
|
7
|
-
# @return [Stigg::Resources::Internal::Beta::EventQueues]
|
|
8
|
-
attr_reader :event_queues
|
|
9
|
-
|
|
10
|
-
# @api private
|
|
11
|
-
#
|
|
12
|
-
# @param client [Stigg::Client]
|
|
13
|
-
def initialize(client:)
|
|
14
|
-
@client = client
|
|
15
|
-
@event_queues = Stigg::Resources::Internal::Beta::EventQueues.new(client: client)
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Stigg
|
|
4
|
-
module Resources
|
|
5
|
-
class Internal
|
|
6
|
-
# @return [Stigg::Resources::Internal::Beta]
|
|
7
|
-
attr_reader :beta
|
|
8
|
-
|
|
9
|
-
# @api private
|
|
10
|
-
#
|
|
11
|
-
# @param client [Stigg::Client]
|
|
12
|
-
def initialize(client:)
|
|
13
|
-
@client = client
|
|
14
|
-
@beta = Stigg::Resources::Internal::Beta.new(client: client)
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Stigg
|
|
4
|
-
module Resources
|
|
5
|
-
class Internal
|
|
6
|
-
class Beta
|
|
7
|
-
class EventQueues
|
|
8
|
-
# @api private
|
|
9
|
-
sig { params(client: Stigg::Client).returns(T.attached_class) }
|
|
10
|
-
def self.new(client:)
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Stigg
|
|
4
|
-
module Resources
|
|
5
|
-
class Internal
|
|
6
|
-
class Beta
|
|
7
|
-
sig { returns(Stigg::Resources::Internal::Beta::EventQueues) }
|
|
8
|
-
attr_reader :event_queues
|
|
9
|
-
|
|
10
|
-
# @api private
|
|
11
|
-
sig { params(client: Stigg::Client).returns(T.attached_class) }
|
|
12
|
-
def self.new(client:)
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Stigg
|
|
4
|
-
module Resources
|
|
5
|
-
class Internal
|
|
6
|
-
sig { returns(Stigg::Resources::Internal::Beta) }
|
|
7
|
-
attr_reader :beta
|
|
8
|
-
|
|
9
|
-
# @api private
|
|
10
|
-
sig { params(client: Stigg::Client).returns(T.attached_class) }
|
|
11
|
-
def self.new(client:)
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|