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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- 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/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/models/v1/events/credits/grant_create_params.rbs +1 -3
- 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: 380bddc2ea41d2ce4305bd80e79326e5211c31992d0b12ddf24a4b9f0ebb7b98
|
|
4
|
+
data.tar.gz: 414c4265aa05dd6e9b219c4225b5afef89983c4e8b7a3b6c3428f59792fd3f32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
|
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
|
@@ -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,
|
|
@@ -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
|