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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1970872531257b548e6bc9d969c71559ccff3069ed072a557c6f889f04f2bf6f
4
- data.tar.gz: ff0dbeaec065ffa03567b2d51146b431ecb95887980cd7d3200a8134fe822c2b
3
+ metadata.gz: 396050cde3ffe9c15a9acdebe0d5d2d524262f13a843a639d86d8d44c6e95b83
4
+ data.tar.gz: f0dd38b57f86f2043a72169ba93e40b64a429c378d8c61c47883cd7e0a2241ec
5
5
  SHA512:
6
- metadata.gz: 97211f61f9da955119dd1d8802244c12105db6795f092018782a955e73d5ba4ddd4bd30d3d516160b1cb0a3a5e4e269525872aeb03e0c1676f3f040797de715e
7
- data.tar.gz: 7b2cfa97d3b7251232c3de69f37b7c0dafd5b5a8f930b48e24f504a3511fccabb77a13641ef292876de8b445c8d1d9f07b0952220fef645ead16fd7c42b567b2
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.32"
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, RECURRING)
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, RECURRING)
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, RECURRING)
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, RECURRING)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "0.1.0.pre.alpha.32"
4
+ VERSION = "0.1.0.pre.alpha.34"
5
5
  end
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
@@ -16,9 +16,6 @@ module Stigg
16
16
  sig { returns(Stigg::Resources::V1) }
17
17
  attr_reader :v1
18
18
 
19
- sig { returns(Stigg::Resources::Internal) }
20
- attr_reader :internal
21
-
22
19
  # @api private
23
20
  sig { override.returns(T::Hash[String, String]) }
24
21
  private def auth_headers
@@ -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, RECURRING)
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, RECURRING)
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, RECURRING)
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, RECURRING)
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
@@ -12,8 +12,6 @@ module Stigg
12
12
 
13
13
  attr_reader v1: Stigg::Resources::V1
14
14
 
15
- attr_reader internal: Stigg::Resources::Internal
16
-
17
15
  private def auth_headers: -> ::Hash[String, String]
18
16
 
19
17
  def initialize: (
@@ -121,15 +121,13 @@ module Stigg
121
121
  request_options: Stigg::RequestOptions
122
122
  }
123
123
 
124
- type grant_type = :PAID | :PROMOTIONAL | :RECURRING | :OVERDRAFT
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.32
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-06 00:00:00.000000000 Z
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
@@ -1,11 +0,0 @@
1
- module Stigg
2
- module Resources
3
- class Internal
4
- class Beta
5
- class EventQueues
6
- def initialize: (client: Stigg::Client) -> void
7
- end
8
- end
9
- end
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- module Stigg
2
- module Resources
3
- class Internal
4
- class Beta
5
- attr_reader event_queues: Stigg::Resources::Internal::Beta::EventQueues
6
-
7
- def initialize: (client: Stigg::Client) -> void
8
- end
9
- end
10
- end
11
- end
@@ -1,9 +0,0 @@
1
- module Stigg
2
- module Resources
3
- class Internal
4
- attr_reader beta: Stigg::Resources::Internal::Beta
5
-
6
- def initialize: (client: Stigg::Client) -> void
7
- end
8
- end
9
- end