stigg 0.1.0.pre.alpha.32 → 0.1.0.pre.alpha.33

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: 380bddc2ea41d2ce4305bd80e79326e5211c31992d0b12ddf24a4b9f0ebb7b98
4
+ data.tar.gz: 414c4265aa05dd6e9b219c4225b5afef89983c4e8b7a3b6c3428f59792fd3f32
5
5
  SHA512:
6
- metadata.gz: 97211f61f9da955119dd1d8802244c12105db6795f092018782a955e73d5ba4ddd4bd30d3d516160b1cb0a3a5e4e269525872aeb03e0c1676f3f040797de715e
7
- data.tar.gz: 7b2cfa97d3b7251232c3de69f37b7c0dafd5b5a8f930b48e24f504a3511fccabb77a13641ef292876de8b445c8d1d9f07b0952220fef645ead16fd7c42b567b2
6
+ metadata.gz: 45fb2acd4647a51a4016b488346543b889c5d49bcc26cc1adc466dbde3de9ce73ab2a168f0348761c8d6ca38b7d5c7f41fd30949d0ee2d148d9532dc309d7d50
7
+ data.tar.gz: 450c8cdcf4ba150f16d27330f4537a0e0bc67399314fa3cfbf8558e6074a572203b39a5174ab6dab564ff206580459a26ac63323e62042464f60e38152944a62
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.33 (2026-05-06)
4
+
5
+ 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)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **types:** remove RECURRING value from GrantType in credits grant_create_params ([99aec20](https://github.com/stiggio/stigg-ruby/commit/99aec208645aa7e4ae32acad0488733a76a1b638))
10
+
3
11
  ## 0.1.0-alpha.32 (2026-05-06)
4
12
 
5
13
  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.33"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-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.33"
5
5
  end
@@ -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,
@@ -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,7 +1,7 @@
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.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg