stigg 0.1.0.pre.beta.24 → 0.1.0.pre.beta.26
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/models/v1/events/beta/customer_retrieve_governance_response.rb +5 -18
- data/lib/stigg/models/v1_beta/customers/assignment_list_response.rb +8 -19
- data/lib/stigg/models/v1_beta/customers/assignment_upsert_params.rb +7 -18
- data/lib/stigg/models/v1_beta/customers/assignment_upsert_response.rb +8 -19
- data/lib/stigg/version.rb +1 -1
- data/rbi/stigg/models/v1/events/beta/customer_retrieve_governance_response.rbi +7 -47
- data/rbi/stigg/models/v1_beta/customers/assignment_list_response.rbi +10 -44
- data/rbi/stigg/models/v1_beta/customers/assignment_upsert_params.rbi +11 -55
- data/rbi/stigg/models/v1_beta/customers/assignment_upsert_response.rbi +10 -44
- data/sig/stigg/models/v1/events/beta/customer_retrieve_governance_response.rbs +4 -14
- data/sig/stigg/models/v1_beta/customers/assignment_list_response.rbs +8 -18
- data/sig/stigg/models/v1_beta/customers/assignment_upsert_params.rbs +9 -23
- data/sig/stigg/models/v1_beta/customers/assignment_upsert_response.rbs +8 -18
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c64580bc594268e333f3d41a2ca1be124152419465ed64e6c7cc6165f26bca53
|
|
4
|
+
data.tar.gz: b8f423dccaa5c5bbb0db7754ef39cd10a86f033a67bf0fcc74d6eb1edab7d217
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b65032e47c99649e17267122470ad81bf1de04cefc13a251ab119901e5baab81a51af184f312daa0483d34cb6ce1a63c53996dd74e71e9751b8d8c08da95094
|
|
7
|
+
data.tar.gz: 01e329ce8c549a8a2ba21c1599fd1cd6fa102e15e240ed2909f5ffdc29e56847a99442a6047b8888e8fe18439af457c504bbd9812789accb330a329a75ac1cf3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.26 (2026-06-21)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-beta.25...v0.1.0-beta.26](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.25...v0.1.0-beta.26)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **types:** change cadence from enum to String in customers assignments ([869fffe](https://github.com/stiggio/stigg-ruby/commit/869fffeff326c47f92f03f08220866045b6395f7))
|
|
10
|
+
|
|
11
|
+
## 0.1.0-beta.25 (2026-06-18)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.1.0-beta.24...v0.1.0-beta.25](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.24...v0.1.0-beta.25)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **types:** make usage_limit nullable in customers assignment models ([8ea2068](https://github.com/stiggio/stigg-ruby/commit/8ea2068629367c01528095352c5e6fba96fb9328))
|
|
18
|
+
|
|
3
19
|
## 0.1.0-beta.24 (2026-06-18)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.1.0-beta.23...v0.1.0-beta.24](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.23...v0.1.0-beta.24)
|
data/README.md
CHANGED
|
@@ -28,12 +28,11 @@ module Stigg
|
|
|
28
28
|
|
|
29
29
|
class Data < Stigg::Internal::Type::BaseModel
|
|
30
30
|
# @!attribute cadence
|
|
31
|
-
# Usage-reset cadence
|
|
31
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
32
|
+
# `PT1M`; `null` when the node has no usage configuration.
|
|
32
33
|
#
|
|
33
|
-
# @return [
|
|
34
|
-
required :cadence,
|
|
35
|
-
enum: -> { Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::Cadence },
|
|
36
|
-
nil?: true
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
required :cadence, String, nil?: true
|
|
37
36
|
|
|
38
37
|
# @!attribute current_usage
|
|
39
38
|
# Usage consumed in the current cadence period (may lag the live counter by a
|
|
@@ -118,7 +117,7 @@ module Stigg
|
|
|
118
117
|
# read model and may lag the live counter by a short interval; it never gates
|
|
119
118
|
# access.
|
|
120
119
|
#
|
|
121
|
-
# @param cadence [
|
|
120
|
+
# @param cadence [String, nil] Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`, `PT
|
|
122
121
|
#
|
|
123
122
|
# @param current_usage [Float, nil] Usage consumed in the current cadence period (may lag the live counter by a shor
|
|
124
123
|
#
|
|
@@ -141,18 +140,6 @@ module Stigg
|
|
|
141
140
|
# @param currency_id [String] The metered currency refId (present when the configured capability is a credit c
|
|
142
141
|
#
|
|
143
142
|
# @param feature_id [String] The metered feature refId (present when the configured capability is a feature).
|
|
144
|
-
|
|
145
|
-
# Usage-reset cadence. Currently only `MONTH` is supported.
|
|
146
|
-
#
|
|
147
|
-
# @see Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data#cadence
|
|
148
|
-
module Cadence
|
|
149
|
-
extend Stigg::Internal::Type::Enum
|
|
150
|
-
|
|
151
|
-
MONTH = :MONTH
|
|
152
|
-
|
|
153
|
-
# @!method self.values
|
|
154
|
-
# @return [Array<Symbol>]
|
|
155
|
-
end
|
|
156
143
|
end
|
|
157
144
|
|
|
158
145
|
# @see Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse#pagination
|
|
@@ -13,10 +13,11 @@ module Stigg
|
|
|
13
13
|
required :id, String
|
|
14
14
|
|
|
15
15
|
# @!attribute cadence
|
|
16
|
-
# Usage-reset cadence
|
|
16
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
17
|
+
# `PT1M`.
|
|
17
18
|
#
|
|
18
|
-
# @return [
|
|
19
|
-
required :cadence,
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :cadence, String
|
|
20
21
|
|
|
21
22
|
# @!attribute created_at
|
|
22
23
|
# Timestamp of when the record was created
|
|
@@ -54,8 +55,8 @@ module Stigg
|
|
|
54
55
|
# @!attribute usage_limit
|
|
55
56
|
# Maximum usage allowed within one cadence window
|
|
56
57
|
#
|
|
57
|
-
# @return [Float]
|
|
58
|
-
required :usage_limit, Float, api_name: :usageLimit
|
|
58
|
+
# @return [Float, nil]
|
|
59
|
+
required :usage_limit, Float, api_name: :usageLimit, nil?: true
|
|
59
60
|
|
|
60
61
|
# @!attribute currency_id
|
|
61
62
|
# Currency refId this assignment grants (present for credit capabilities).
|
|
@@ -79,7 +80,7 @@ module Stigg
|
|
|
79
80
|
#
|
|
80
81
|
# @param id [String] Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
81
82
|
#
|
|
82
|
-
# @param cadence [
|
|
83
|
+
# @param cadence [String] Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`, `PT
|
|
83
84
|
#
|
|
84
85
|
# @param created_at [Time] Timestamp of when the record was created
|
|
85
86
|
#
|
|
@@ -91,23 +92,11 @@ module Stigg
|
|
|
91
92
|
#
|
|
92
93
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
93
94
|
#
|
|
94
|
-
# @param usage_limit [Float] Maximum usage allowed within one cadence window
|
|
95
|
+
# @param usage_limit [Float, nil] Maximum usage allowed within one cadence window
|
|
95
96
|
#
|
|
96
97
|
# @param currency_id [String] Currency refId this assignment grants (present for credit capabilities).
|
|
97
98
|
#
|
|
98
99
|
# @param feature_id [String] Feature refId this assignment grants (present for feature capabilities).
|
|
99
|
-
|
|
100
|
-
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
101
|
-
#
|
|
102
|
-
# @see Stigg::Models::V1Beta::Customers::AssignmentListResponse#cadence
|
|
103
|
-
module Cadence
|
|
104
|
-
extend Stigg::Internal::Type::Enum
|
|
105
|
-
|
|
106
|
-
MONTH = :MONTH
|
|
107
|
-
|
|
108
|
-
# @!method self.values
|
|
109
|
-
# @return [Array<Symbol>]
|
|
110
|
-
end
|
|
111
100
|
end
|
|
112
101
|
end
|
|
113
102
|
end
|
|
@@ -50,10 +50,11 @@ module Stigg
|
|
|
50
50
|
required :entity_id, String, api_name: :entityId
|
|
51
51
|
|
|
52
52
|
# @!attribute cadence
|
|
53
|
-
# Usage-reset cadence (required on create)
|
|
53
|
+
# Usage-reset cadence (required on create) as an ISO-8601 single-unit duration,
|
|
54
|
+
# e.g. `P1M`, `P30D`, `PT1M`.
|
|
54
55
|
#
|
|
55
|
-
# @return [
|
|
56
|
-
optional :cadence,
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
optional :cadence, String
|
|
57
58
|
|
|
58
59
|
# @!attribute currency_id
|
|
59
60
|
# Currency refId this assignment grants (credit budgets). Mutually exclusive with
|
|
@@ -85,7 +86,7 @@ module Stigg
|
|
|
85
86
|
# Maximum usage allowed within one cadence window (required on create)
|
|
86
87
|
#
|
|
87
88
|
# @return [Float, nil]
|
|
88
|
-
optional :usage_limit, Float, api_name: :usageLimit
|
|
89
|
+
optional :usage_limit, Float, api_name: :usageLimit, nil?: true
|
|
89
90
|
|
|
90
91
|
# @!method initialize(entity_id:, cadence: nil, currency_id: nil, feature_id: nil, parent_id: nil, scope_entity_ids: nil, usage_limit: nil)
|
|
91
92
|
# Some parameter documentations has been truncated, see
|
|
@@ -100,7 +101,7 @@ module Stigg
|
|
|
100
101
|
#
|
|
101
102
|
# @param entity_id [String] The entity refId this assignment is attached to
|
|
102
103
|
#
|
|
103
|
-
# @param cadence [
|
|
104
|
+
# @param cadence [String] Usage-reset cadence (required on create) as an ISO-8601 single-unit duration, e.
|
|
104
105
|
#
|
|
105
106
|
# @param currency_id [String] Currency refId this assignment grants (credit budgets). Mutually exclusive with
|
|
106
107
|
#
|
|
@@ -110,19 +111,7 @@ module Stigg
|
|
|
110
111
|
#
|
|
111
112
|
# @param scope_entity_ids [Array<String>]
|
|
112
113
|
#
|
|
113
|
-
# @param usage_limit [Float] Maximum usage allowed within one cadence window (required on create)
|
|
114
|
-
|
|
115
|
-
# Usage-reset cadence (required on create). Currently only `MONTH` is supported
|
|
116
|
-
#
|
|
117
|
-
# @see Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment#cadence
|
|
118
|
-
module Cadence
|
|
119
|
-
extend Stigg::Internal::Type::Enum
|
|
120
|
-
|
|
121
|
-
MONTH = :MONTH
|
|
122
|
-
|
|
123
|
-
# @!method self.values
|
|
124
|
-
# @return [Array<Symbol>]
|
|
125
|
-
end
|
|
114
|
+
# @param usage_limit [Float, nil] Maximum usage allowed within one cadence window (required on create)
|
|
126
115
|
end
|
|
127
116
|
end
|
|
128
117
|
end
|
|
@@ -25,10 +25,11 @@ module Stigg
|
|
|
25
25
|
required :id, String
|
|
26
26
|
|
|
27
27
|
# @!attribute cadence
|
|
28
|
-
# Usage-reset cadence
|
|
28
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
29
|
+
# `PT1M`.
|
|
29
30
|
#
|
|
30
|
-
# @return [
|
|
31
|
-
required :cadence,
|
|
31
|
+
# @return [String]
|
|
32
|
+
required :cadence, String
|
|
32
33
|
|
|
33
34
|
# @!attribute created_at
|
|
34
35
|
# Timestamp of when the record was created
|
|
@@ -66,8 +67,8 @@ module Stigg
|
|
|
66
67
|
# @!attribute usage_limit
|
|
67
68
|
# Maximum usage allowed within one cadence window
|
|
68
69
|
#
|
|
69
|
-
# @return [Float]
|
|
70
|
-
required :usage_limit, Float, api_name: :usageLimit
|
|
70
|
+
# @return [Float, nil]
|
|
71
|
+
required :usage_limit, Float, api_name: :usageLimit, nil?: true
|
|
71
72
|
|
|
72
73
|
# @!attribute currency_id
|
|
73
74
|
# Currency refId this assignment grants (present for credit capabilities).
|
|
@@ -92,7 +93,7 @@ module Stigg
|
|
|
92
93
|
#
|
|
93
94
|
# @param id [String] Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
94
95
|
#
|
|
95
|
-
# @param cadence [
|
|
96
|
+
# @param cadence [String] Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`, `PT
|
|
96
97
|
#
|
|
97
98
|
# @param created_at [Time] Timestamp of when the record was created
|
|
98
99
|
#
|
|
@@ -104,23 +105,11 @@ module Stigg
|
|
|
104
105
|
#
|
|
105
106
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
106
107
|
#
|
|
107
|
-
# @param usage_limit [Float] Maximum usage allowed within one cadence window
|
|
108
|
+
# @param usage_limit [Float, nil] Maximum usage allowed within one cadence window
|
|
108
109
|
#
|
|
109
110
|
# @param currency_id [String] Currency refId this assignment grants (present for credit capabilities).
|
|
110
111
|
#
|
|
111
112
|
# @param feature_id [String] Feature refId this assignment grants (present for feature capabilities).
|
|
112
|
-
|
|
113
|
-
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
114
|
-
#
|
|
115
|
-
# @see Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data#cadence
|
|
116
|
-
module Cadence
|
|
117
|
-
extend Stigg::Internal::Type::Enum
|
|
118
|
-
|
|
119
|
-
MONTH = :MONTH
|
|
120
|
-
|
|
121
|
-
# @!method self.values
|
|
122
|
-
# @return [Array<Symbol>]
|
|
123
|
-
end
|
|
124
113
|
end
|
|
125
114
|
end
|
|
126
115
|
end
|
data/lib/stigg/version.rb
CHANGED
|
@@ -77,14 +77,9 @@ module Stigg
|
|
|
77
77
|
)
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
# Usage-reset cadence
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
T.nilable(
|
|
84
|
-
Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::Cadence::TaggedSymbol
|
|
85
|
-
)
|
|
86
|
-
)
|
|
87
|
-
end
|
|
80
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
81
|
+
# `PT1M`; `null` when the node has no usage configuration.
|
|
82
|
+
sig { returns(T.nilable(String)) }
|
|
88
83
|
attr_accessor :cadence
|
|
89
84
|
|
|
90
85
|
# Usage consumed in the current cadence period (may lag the live counter by a
|
|
@@ -150,10 +145,7 @@ module Stigg
|
|
|
150
145
|
# access.
|
|
151
146
|
sig do
|
|
152
147
|
params(
|
|
153
|
-
cadence:
|
|
154
|
-
T.nilable(
|
|
155
|
-
Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::Cadence::OrSymbol
|
|
156
|
-
),
|
|
148
|
+
cadence: T.nilable(String),
|
|
157
149
|
current_usage: T.nilable(Float),
|
|
158
150
|
entity_id: String,
|
|
159
151
|
entity_type: String,
|
|
@@ -168,7 +160,8 @@ module Stigg
|
|
|
168
160
|
).returns(T.attached_class)
|
|
169
161
|
end
|
|
170
162
|
def self.new(
|
|
171
|
-
# Usage-reset cadence
|
|
163
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
164
|
+
# `PT1M`; `null` when the node has no usage configuration.
|
|
172
165
|
cadence:,
|
|
173
166
|
# Usage consumed in the current cadence period (may lag the live counter by a
|
|
174
167
|
# short interval).
|
|
@@ -205,10 +198,7 @@ module Stigg
|
|
|
205
198
|
sig do
|
|
206
199
|
override.returns(
|
|
207
200
|
{
|
|
208
|
-
cadence:
|
|
209
|
-
T.nilable(
|
|
210
|
-
Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::Cadence::TaggedSymbol
|
|
211
|
-
),
|
|
201
|
+
cadence: T.nilable(String),
|
|
212
202
|
current_usage: T.nilable(Float),
|
|
213
203
|
entity_id: String,
|
|
214
204
|
entity_type: String,
|
|
@@ -225,36 +215,6 @@ module Stigg
|
|
|
225
215
|
end
|
|
226
216
|
def to_hash
|
|
227
217
|
end
|
|
228
|
-
|
|
229
|
-
# Usage-reset cadence. Currently only `MONTH` is supported.
|
|
230
|
-
module Cadence
|
|
231
|
-
extend Stigg::Internal::Type::Enum
|
|
232
|
-
|
|
233
|
-
TaggedSymbol =
|
|
234
|
-
T.type_alias do
|
|
235
|
-
T.all(
|
|
236
|
-
Symbol,
|
|
237
|
-
Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::Cadence
|
|
238
|
-
)
|
|
239
|
-
end
|
|
240
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
241
|
-
|
|
242
|
-
MONTH =
|
|
243
|
-
T.let(
|
|
244
|
-
:MONTH,
|
|
245
|
-
Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::Cadence::TaggedSymbol
|
|
246
|
-
)
|
|
247
|
-
|
|
248
|
-
sig do
|
|
249
|
-
override.returns(
|
|
250
|
-
T::Array[
|
|
251
|
-
Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::Cadence::TaggedSymbol
|
|
252
|
-
]
|
|
253
|
-
)
|
|
254
|
-
end
|
|
255
|
-
def self.values
|
|
256
|
-
end
|
|
257
|
-
end
|
|
258
218
|
end
|
|
259
219
|
|
|
260
220
|
class Pagination < Stigg::Internal::Type::BaseModel
|
|
@@ -17,12 +17,9 @@ module Stigg
|
|
|
17
17
|
sig { returns(String) }
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
-
# Usage-reset cadence
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence::TaggedSymbol
|
|
24
|
-
)
|
|
25
|
-
end
|
|
20
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
21
|
+
# `PT1M`.
|
|
22
|
+
sig { returns(String) }
|
|
26
23
|
attr_accessor :cadence
|
|
27
24
|
|
|
28
25
|
# Timestamp of when the record was created
|
|
@@ -49,7 +46,7 @@ module Stigg
|
|
|
49
46
|
attr_accessor :updated_at
|
|
50
47
|
|
|
51
48
|
# Maximum usage allowed within one cadence window
|
|
52
|
-
sig { returns(Float) }
|
|
49
|
+
sig { returns(T.nilable(Float)) }
|
|
53
50
|
attr_accessor :usage_limit
|
|
54
51
|
|
|
55
52
|
# Currency refId this assignment grants (present for credit capabilities).
|
|
@@ -72,14 +69,13 @@ module Stigg
|
|
|
72
69
|
sig do
|
|
73
70
|
params(
|
|
74
71
|
id: String,
|
|
75
|
-
cadence:
|
|
76
|
-
Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence::OrSymbol,
|
|
72
|
+
cadence: String,
|
|
77
73
|
created_at: Time,
|
|
78
74
|
entity_id: String,
|
|
79
75
|
parent_id: T.nilable(String),
|
|
80
76
|
scope_entity_ids: T::Array[String],
|
|
81
77
|
updated_at: Time,
|
|
82
|
-
usage_limit: Float,
|
|
78
|
+
usage_limit: T.nilable(Float),
|
|
83
79
|
currency_id: String,
|
|
84
80
|
feature_id: String
|
|
85
81
|
).returns(T.attached_class)
|
|
@@ -87,7 +83,8 @@ module Stigg
|
|
|
87
83
|
def self.new(
|
|
88
84
|
# Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
89
85
|
id:,
|
|
90
|
-
# Usage-reset cadence
|
|
86
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
87
|
+
# `PT1M`.
|
|
91
88
|
cadence:,
|
|
92
89
|
# Timestamp of when the record was created
|
|
93
90
|
created_at:,
|
|
@@ -115,14 +112,13 @@ module Stigg
|
|
|
115
112
|
override.returns(
|
|
116
113
|
{
|
|
117
114
|
id: String,
|
|
118
|
-
cadence:
|
|
119
|
-
Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence::TaggedSymbol,
|
|
115
|
+
cadence: String,
|
|
120
116
|
created_at: Time,
|
|
121
117
|
entity_id: String,
|
|
122
118
|
parent_id: T.nilable(String),
|
|
123
119
|
scope_entity_ids: T::Array[String],
|
|
124
120
|
updated_at: Time,
|
|
125
|
-
usage_limit: Float,
|
|
121
|
+
usage_limit: T.nilable(Float),
|
|
126
122
|
currency_id: String,
|
|
127
123
|
feature_id: String
|
|
128
124
|
}
|
|
@@ -130,36 +126,6 @@ module Stigg
|
|
|
130
126
|
end
|
|
131
127
|
def to_hash
|
|
132
128
|
end
|
|
133
|
-
|
|
134
|
-
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
135
|
-
module Cadence
|
|
136
|
-
extend Stigg::Internal::Type::Enum
|
|
137
|
-
|
|
138
|
-
TaggedSymbol =
|
|
139
|
-
T.type_alias do
|
|
140
|
-
T.all(
|
|
141
|
-
Symbol,
|
|
142
|
-
Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence
|
|
143
|
-
)
|
|
144
|
-
end
|
|
145
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
146
|
-
|
|
147
|
-
MONTH =
|
|
148
|
-
T.let(
|
|
149
|
-
:MONTH,
|
|
150
|
-
Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence::TaggedSymbol
|
|
151
|
-
)
|
|
152
|
-
|
|
153
|
-
sig do
|
|
154
|
-
override.returns(
|
|
155
|
-
T::Array[
|
|
156
|
-
Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence::TaggedSymbol
|
|
157
|
-
]
|
|
158
|
-
)
|
|
159
|
-
end
|
|
160
|
-
def self.values
|
|
161
|
-
end
|
|
162
|
-
end
|
|
163
129
|
end
|
|
164
130
|
end
|
|
165
131
|
end
|
|
@@ -93,22 +93,12 @@ module Stigg
|
|
|
93
93
|
sig { returns(String) }
|
|
94
94
|
attr_accessor :entity_id
|
|
95
95
|
|
|
96
|
-
# Usage-reset cadence (required on create)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
T.nilable(
|
|
100
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::OrSymbol
|
|
101
|
-
)
|
|
102
|
-
)
|
|
103
|
-
end
|
|
96
|
+
# Usage-reset cadence (required on create) as an ISO-8601 single-unit duration,
|
|
97
|
+
# e.g. `P1M`, `P30D`, `PT1M`.
|
|
98
|
+
sig { returns(T.nilable(String)) }
|
|
104
99
|
attr_reader :cadence
|
|
105
100
|
|
|
106
|
-
sig
|
|
107
|
-
params(
|
|
108
|
-
cadence:
|
|
109
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::OrSymbol
|
|
110
|
-
).void
|
|
111
|
-
end
|
|
101
|
+
sig { params(cadence: String).void }
|
|
112
102
|
attr_writer :cadence
|
|
113
103
|
|
|
114
104
|
# Currency refId this assignment grants (credit budgets). Mutually exclusive with
|
|
@@ -140,10 +130,7 @@ module Stigg
|
|
|
140
130
|
|
|
141
131
|
# Maximum usage allowed within one cadence window (required on create)
|
|
142
132
|
sig { returns(T.nilable(Float)) }
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
sig { params(usage_limit: Float).void }
|
|
146
|
-
attr_writer :usage_limit
|
|
133
|
+
attr_accessor :usage_limit
|
|
147
134
|
|
|
148
135
|
# A single assignment to create or update. Identify the capability with exactly
|
|
149
136
|
# one of `featureId` or `currencyId`. The natural key is the
|
|
@@ -153,19 +140,19 @@ module Stigg
|
|
|
153
140
|
sig do
|
|
154
141
|
params(
|
|
155
142
|
entity_id: String,
|
|
156
|
-
cadence:
|
|
157
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::OrSymbol,
|
|
143
|
+
cadence: String,
|
|
158
144
|
currency_id: String,
|
|
159
145
|
feature_id: String,
|
|
160
146
|
parent_id: T.nilable(String),
|
|
161
147
|
scope_entity_ids: T::Array[String],
|
|
162
|
-
usage_limit: Float
|
|
148
|
+
usage_limit: T.nilable(Float)
|
|
163
149
|
).returns(T.attached_class)
|
|
164
150
|
end
|
|
165
151
|
def self.new(
|
|
166
152
|
# The entity refId this assignment is attached to
|
|
167
153
|
entity_id:,
|
|
168
|
-
# Usage-reset cadence (required on create)
|
|
154
|
+
# Usage-reset cadence (required on create) as an ISO-8601 single-unit duration,
|
|
155
|
+
# e.g. `P1M`, `P30D`, `PT1M`.
|
|
169
156
|
cadence: nil,
|
|
170
157
|
# Currency refId this assignment grants (credit budgets). Mutually exclusive with
|
|
171
158
|
# `featureId`.
|
|
@@ -186,48 +173,17 @@ module Stigg
|
|
|
186
173
|
override.returns(
|
|
187
174
|
{
|
|
188
175
|
entity_id: String,
|
|
189
|
-
cadence:
|
|
190
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::OrSymbol,
|
|
176
|
+
cadence: String,
|
|
191
177
|
currency_id: String,
|
|
192
178
|
feature_id: String,
|
|
193
179
|
parent_id: T.nilable(String),
|
|
194
180
|
scope_entity_ids: T::Array[String],
|
|
195
|
-
usage_limit: Float
|
|
181
|
+
usage_limit: T.nilable(Float)
|
|
196
182
|
}
|
|
197
183
|
)
|
|
198
184
|
end
|
|
199
185
|
def to_hash
|
|
200
186
|
end
|
|
201
|
-
|
|
202
|
-
# Usage-reset cadence (required on create). Currently only `MONTH` is supported
|
|
203
|
-
module Cadence
|
|
204
|
-
extend Stigg::Internal::Type::Enum
|
|
205
|
-
|
|
206
|
-
TaggedSymbol =
|
|
207
|
-
T.type_alias do
|
|
208
|
-
T.all(
|
|
209
|
-
Symbol,
|
|
210
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence
|
|
211
|
-
)
|
|
212
|
-
end
|
|
213
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
214
|
-
|
|
215
|
-
MONTH =
|
|
216
|
-
T.let(
|
|
217
|
-
:MONTH,
|
|
218
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::TaggedSymbol
|
|
219
|
-
)
|
|
220
|
-
|
|
221
|
-
sig do
|
|
222
|
-
override.returns(
|
|
223
|
-
T::Array[
|
|
224
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::TaggedSymbol
|
|
225
|
-
]
|
|
226
|
-
)
|
|
227
|
-
end
|
|
228
|
-
def self.values
|
|
229
|
-
end
|
|
230
|
-
end
|
|
231
187
|
end
|
|
232
188
|
end
|
|
233
189
|
end
|
|
@@ -60,12 +60,9 @@ module Stigg
|
|
|
60
60
|
sig { returns(String) }
|
|
61
61
|
attr_accessor :id
|
|
62
62
|
|
|
63
|
-
# Usage-reset cadence
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence::TaggedSymbol
|
|
67
|
-
)
|
|
68
|
-
end
|
|
63
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
64
|
+
# `PT1M`.
|
|
65
|
+
sig { returns(String) }
|
|
69
66
|
attr_accessor :cadence
|
|
70
67
|
|
|
71
68
|
# Timestamp of when the record was created
|
|
@@ -92,7 +89,7 @@ module Stigg
|
|
|
92
89
|
attr_accessor :updated_at
|
|
93
90
|
|
|
94
91
|
# Maximum usage allowed within one cadence window
|
|
95
|
-
sig { returns(Float) }
|
|
92
|
+
sig { returns(T.nilable(Float)) }
|
|
96
93
|
attr_accessor :usage_limit
|
|
97
94
|
|
|
98
95
|
# Currency refId this assignment grants (present for credit capabilities).
|
|
@@ -115,14 +112,13 @@ module Stigg
|
|
|
115
112
|
sig do
|
|
116
113
|
params(
|
|
117
114
|
id: String,
|
|
118
|
-
cadence:
|
|
119
|
-
Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence::OrSymbol,
|
|
115
|
+
cadence: String,
|
|
120
116
|
created_at: Time,
|
|
121
117
|
entity_id: String,
|
|
122
118
|
parent_id: T.nilable(String),
|
|
123
119
|
scope_entity_ids: T::Array[String],
|
|
124
120
|
updated_at: Time,
|
|
125
|
-
usage_limit: Float,
|
|
121
|
+
usage_limit: T.nilable(Float),
|
|
126
122
|
currency_id: String,
|
|
127
123
|
feature_id: String
|
|
128
124
|
).returns(T.attached_class)
|
|
@@ -130,7 +126,8 @@ module Stigg
|
|
|
130
126
|
def self.new(
|
|
131
127
|
# Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
132
128
|
id:,
|
|
133
|
-
# Usage-reset cadence
|
|
129
|
+
# Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
|
|
130
|
+
# `PT1M`.
|
|
134
131
|
cadence:,
|
|
135
132
|
# Timestamp of when the record was created
|
|
136
133
|
created_at:,
|
|
@@ -158,14 +155,13 @@ module Stigg
|
|
|
158
155
|
override.returns(
|
|
159
156
|
{
|
|
160
157
|
id: String,
|
|
161
|
-
cadence:
|
|
162
|
-
Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence::TaggedSymbol,
|
|
158
|
+
cadence: String,
|
|
163
159
|
created_at: Time,
|
|
164
160
|
entity_id: String,
|
|
165
161
|
parent_id: T.nilable(String),
|
|
166
162
|
scope_entity_ids: T::Array[String],
|
|
167
163
|
updated_at: Time,
|
|
168
|
-
usage_limit: Float,
|
|
164
|
+
usage_limit: T.nilable(Float),
|
|
169
165
|
currency_id: String,
|
|
170
166
|
feature_id: String
|
|
171
167
|
}
|
|
@@ -173,36 +169,6 @@ module Stigg
|
|
|
173
169
|
end
|
|
174
170
|
def to_hash
|
|
175
171
|
end
|
|
176
|
-
|
|
177
|
-
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
178
|
-
module Cadence
|
|
179
|
-
extend Stigg::Internal::Type::Enum
|
|
180
|
-
|
|
181
|
-
TaggedSymbol =
|
|
182
|
-
T.type_alias do
|
|
183
|
-
T.all(
|
|
184
|
-
Symbol,
|
|
185
|
-
Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence
|
|
186
|
-
)
|
|
187
|
-
end
|
|
188
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
189
|
-
|
|
190
|
-
MONTH =
|
|
191
|
-
T.let(
|
|
192
|
-
:MONTH,
|
|
193
|
-
Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence::TaggedSymbol
|
|
194
|
-
)
|
|
195
|
-
|
|
196
|
-
sig do
|
|
197
|
-
override.returns(
|
|
198
|
-
T::Array[
|
|
199
|
-
Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence::TaggedSymbol
|
|
200
|
-
]
|
|
201
|
-
)
|
|
202
|
-
end
|
|
203
|
-
def self.values
|
|
204
|
-
end
|
|
205
|
-
end
|
|
206
172
|
end
|
|
207
173
|
end
|
|
208
174
|
end
|
|
@@ -26,7 +26,7 @@ module Stigg
|
|
|
26
26
|
|
|
27
27
|
type data =
|
|
28
28
|
{
|
|
29
|
-
cadence:
|
|
29
|
+
cadence: String?,
|
|
30
30
|
current_usage: Float?,
|
|
31
31
|
entity_id: String,
|
|
32
32
|
entity_type: String,
|
|
@@ -41,7 +41,7 @@ module Stigg
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
class Data < Stigg::Internal::Type::BaseModel
|
|
44
|
-
attr_accessor cadence:
|
|
44
|
+
attr_accessor cadence: String?
|
|
45
45
|
|
|
46
46
|
attr_accessor current_usage: Float?
|
|
47
47
|
|
|
@@ -70,7 +70,7 @@ module Stigg
|
|
|
70
70
|
def feature_id=: (String) -> String
|
|
71
71
|
|
|
72
72
|
def initialize: (
|
|
73
|
-
cadence:
|
|
73
|
+
cadence: String?,
|
|
74
74
|
current_usage: Float?,
|
|
75
75
|
entity_id: String,
|
|
76
76
|
entity_type: String,
|
|
@@ -85,7 +85,7 @@ module Stigg
|
|
|
85
85
|
) -> void
|
|
86
86
|
|
|
87
87
|
def to_hash: -> {
|
|
88
|
-
cadence:
|
|
88
|
+
cadence: String?,
|
|
89
89
|
current_usage: Float?,
|
|
90
90
|
entity_id: String,
|
|
91
91
|
entity_type: String,
|
|
@@ -98,16 +98,6 @@ module Stigg
|
|
|
98
98
|
currency_id: String,
|
|
99
99
|
feature_id: String
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
type cadence = :MONTH
|
|
103
|
-
|
|
104
|
-
module Cadence
|
|
105
|
-
extend Stigg::Internal::Type::Enum
|
|
106
|
-
|
|
107
|
-
MONTH: :MONTH
|
|
108
|
-
|
|
109
|
-
def self?.values: -> ::Array[Stigg::Models::V1::Events::Beta::CustomerRetrieveGovernanceResponse::Data::cadence]
|
|
110
|
-
end
|
|
111
101
|
end
|
|
112
102
|
|
|
113
103
|
type pagination = { next_: String? }
|
|
@@ -5,13 +5,13 @@ module Stigg
|
|
|
5
5
|
type assignment_list_response =
|
|
6
6
|
{
|
|
7
7
|
id: String,
|
|
8
|
-
cadence:
|
|
8
|
+
cadence: String,
|
|
9
9
|
created_at: Time,
|
|
10
10
|
entity_id: String,
|
|
11
11
|
parent_id: String?,
|
|
12
12
|
scope_entity_ids: ::Array[String],
|
|
13
13
|
updated_at: Time,
|
|
14
|
-
usage_limit: Float
|
|
14
|
+
usage_limit: Float?,
|
|
15
15
|
currency_id: String,
|
|
16
16
|
feature_id: String
|
|
17
17
|
}
|
|
@@ -19,7 +19,7 @@ module Stigg
|
|
|
19
19
|
class AssignmentListResponse < Stigg::Internal::Type::BaseModel
|
|
20
20
|
attr_accessor id: String
|
|
21
21
|
|
|
22
|
-
attr_accessor cadence:
|
|
22
|
+
attr_accessor cadence: String
|
|
23
23
|
|
|
24
24
|
attr_accessor created_at: Time
|
|
25
25
|
|
|
@@ -31,7 +31,7 @@ module Stigg
|
|
|
31
31
|
|
|
32
32
|
attr_accessor updated_at: Time
|
|
33
33
|
|
|
34
|
-
attr_accessor usage_limit: Float
|
|
34
|
+
attr_accessor usage_limit: Float?
|
|
35
35
|
|
|
36
36
|
attr_reader currency_id: String?
|
|
37
37
|
|
|
@@ -43,39 +43,29 @@ module Stigg
|
|
|
43
43
|
|
|
44
44
|
def initialize: (
|
|
45
45
|
id: String,
|
|
46
|
-
cadence:
|
|
46
|
+
cadence: String,
|
|
47
47
|
created_at: Time,
|
|
48
48
|
entity_id: String,
|
|
49
49
|
parent_id: String?,
|
|
50
50
|
scope_entity_ids: ::Array[String],
|
|
51
51
|
updated_at: Time,
|
|
52
|
-
usage_limit: Float
|
|
52
|
+
usage_limit: Float?,
|
|
53
53
|
?currency_id: String,
|
|
54
54
|
?feature_id: String
|
|
55
55
|
) -> void
|
|
56
56
|
|
|
57
57
|
def to_hash: -> {
|
|
58
58
|
id: String,
|
|
59
|
-
cadence:
|
|
59
|
+
cadence: String,
|
|
60
60
|
created_at: Time,
|
|
61
61
|
entity_id: String,
|
|
62
62
|
parent_id: String?,
|
|
63
63
|
scope_entity_ids: ::Array[String],
|
|
64
64
|
updated_at: Time,
|
|
65
|
-
usage_limit: Float
|
|
65
|
+
usage_limit: Float?,
|
|
66
66
|
currency_id: String,
|
|
67
67
|
feature_id: String
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
type cadence = :MONTH
|
|
71
|
-
|
|
72
|
-
module Cadence
|
|
73
|
-
extend Stigg::Internal::Type::Enum
|
|
74
|
-
|
|
75
|
-
MONTH: :MONTH
|
|
76
|
-
|
|
77
|
-
def self?.values: -> ::Array[Stigg::Models::V1Beta::Customers::AssignmentListResponse::cadence]
|
|
78
|
-
end
|
|
79
69
|
end
|
|
80
70
|
end
|
|
81
71
|
end
|
|
@@ -46,22 +46,20 @@ module Stigg
|
|
|
46
46
|
type assignment =
|
|
47
47
|
{
|
|
48
48
|
entity_id: String,
|
|
49
|
-
cadence:
|
|
49
|
+
cadence: String,
|
|
50
50
|
currency_id: String,
|
|
51
51
|
feature_id: String,
|
|
52
52
|
parent_id: String?,
|
|
53
53
|
scope_entity_ids: ::Array[String],
|
|
54
|
-
usage_limit: Float
|
|
54
|
+
usage_limit: Float?
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
class Assignment < Stigg::Internal::Type::BaseModel
|
|
58
58
|
attr_accessor entity_id: String
|
|
59
59
|
|
|
60
|
-
attr_reader cadence:
|
|
60
|
+
attr_reader cadence: String?
|
|
61
61
|
|
|
62
|
-
def cadence=: (
|
|
63
|
-
Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment::cadence
|
|
64
|
-
) -> Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment::cadence
|
|
62
|
+
def cadence=: (String) -> String
|
|
65
63
|
|
|
66
64
|
attr_reader currency_id: String?
|
|
67
65
|
|
|
@@ -77,39 +75,27 @@ module Stigg
|
|
|
77
75
|
|
|
78
76
|
def scope_entity_ids=: (::Array[String]) -> ::Array[String]
|
|
79
77
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
def usage_limit=: (Float) -> Float
|
|
78
|
+
attr_accessor usage_limit: Float?
|
|
83
79
|
|
|
84
80
|
def initialize: (
|
|
85
81
|
entity_id: String,
|
|
86
|
-
?cadence:
|
|
82
|
+
?cadence: String,
|
|
87
83
|
?currency_id: String,
|
|
88
84
|
?feature_id: String,
|
|
89
85
|
?parent_id: String?,
|
|
90
86
|
?scope_entity_ids: ::Array[String],
|
|
91
|
-
?usage_limit: Float
|
|
87
|
+
?usage_limit: Float?
|
|
92
88
|
) -> void
|
|
93
89
|
|
|
94
90
|
def to_hash: -> {
|
|
95
91
|
entity_id: String,
|
|
96
|
-
cadence:
|
|
92
|
+
cadence: String,
|
|
97
93
|
currency_id: String,
|
|
98
94
|
feature_id: String,
|
|
99
95
|
parent_id: String?,
|
|
100
96
|
scope_entity_ids: ::Array[String],
|
|
101
|
-
usage_limit: Float
|
|
97
|
+
usage_limit: Float?
|
|
102
98
|
}
|
|
103
|
-
|
|
104
|
-
type cadence = :MONTH
|
|
105
|
-
|
|
106
|
-
module Cadence
|
|
107
|
-
extend Stigg::Internal::Type::Enum
|
|
108
|
-
|
|
109
|
-
MONTH: :MONTH
|
|
110
|
-
|
|
111
|
-
def self?.values: -> ::Array[Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment::cadence]
|
|
112
|
-
end
|
|
113
99
|
end
|
|
114
100
|
end
|
|
115
101
|
end
|
|
@@ -21,13 +21,13 @@ module Stigg
|
|
|
21
21
|
type data =
|
|
22
22
|
{
|
|
23
23
|
id: String,
|
|
24
|
-
cadence:
|
|
24
|
+
cadence: String,
|
|
25
25
|
created_at: Time,
|
|
26
26
|
entity_id: String,
|
|
27
27
|
parent_id: String?,
|
|
28
28
|
scope_entity_ids: ::Array[String],
|
|
29
29
|
updated_at: Time,
|
|
30
|
-
usage_limit: Float
|
|
30
|
+
usage_limit: Float?,
|
|
31
31
|
currency_id: String,
|
|
32
32
|
feature_id: String
|
|
33
33
|
}
|
|
@@ -35,7 +35,7 @@ module Stigg
|
|
|
35
35
|
class Data < Stigg::Internal::Type::BaseModel
|
|
36
36
|
attr_accessor id: String
|
|
37
37
|
|
|
38
|
-
attr_accessor cadence:
|
|
38
|
+
attr_accessor cadence: String
|
|
39
39
|
|
|
40
40
|
attr_accessor created_at: Time
|
|
41
41
|
|
|
@@ -47,7 +47,7 @@ module Stigg
|
|
|
47
47
|
|
|
48
48
|
attr_accessor updated_at: Time
|
|
49
49
|
|
|
50
|
-
attr_accessor usage_limit: Float
|
|
50
|
+
attr_accessor usage_limit: Float?
|
|
51
51
|
|
|
52
52
|
attr_reader currency_id: String?
|
|
53
53
|
|
|
@@ -59,39 +59,29 @@ module Stigg
|
|
|
59
59
|
|
|
60
60
|
def initialize: (
|
|
61
61
|
id: String,
|
|
62
|
-
cadence:
|
|
62
|
+
cadence: String,
|
|
63
63
|
created_at: Time,
|
|
64
64
|
entity_id: String,
|
|
65
65
|
parent_id: String?,
|
|
66
66
|
scope_entity_ids: ::Array[String],
|
|
67
67
|
updated_at: Time,
|
|
68
|
-
usage_limit: Float
|
|
68
|
+
usage_limit: Float?,
|
|
69
69
|
?currency_id: String,
|
|
70
70
|
?feature_id: String
|
|
71
71
|
) -> void
|
|
72
72
|
|
|
73
73
|
def to_hash: -> {
|
|
74
74
|
id: String,
|
|
75
|
-
cadence:
|
|
75
|
+
cadence: String,
|
|
76
76
|
created_at: Time,
|
|
77
77
|
entity_id: String,
|
|
78
78
|
parent_id: String?,
|
|
79
79
|
scope_entity_ids: ::Array[String],
|
|
80
80
|
updated_at: Time,
|
|
81
|
-
usage_limit: Float
|
|
81
|
+
usage_limit: Float?,
|
|
82
82
|
currency_id: String,
|
|
83
83
|
feature_id: String
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
type cadence = :MONTH
|
|
87
|
-
|
|
88
|
-
module Cadence
|
|
89
|
-
extend Stigg::Internal::Type::Enum
|
|
90
|
-
|
|
91
|
-
MONTH: :MONTH
|
|
92
|
-
|
|
93
|
-
def self?.values: -> ::Array[Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::cadence]
|
|
94
|
-
end
|
|
95
85
|
end
|
|
96
86
|
end
|
|
97
87
|
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.beta.
|
|
4
|
+
version: 0.1.0.pre.beta.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stigg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|