stigg 0.1.0.pre.beta.25 → 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 +8 -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 +5 -16
- data/lib/stigg/models/v1_beta/customers/assignment_upsert_params.rb +5 -16
- data/lib/stigg/models/v1_beta/customers/assignment_upsert_response.rb +5 -16
- 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 +7 -41
- data/rbi/stigg/models/v1_beta/customers/assignment_upsert_params.rbi +8 -49
- data/rbi/stigg/models/v1_beta/customers/assignment_upsert_response.rbi +7 -41
- 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 +4 -14
- data/sig/stigg/models/v1_beta/customers/assignment_upsert_params.rbs +5 -17
- data/sig/stigg/models/v1_beta/customers/assignment_upsert_response.rbs +4 -14
- 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,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 0.1.0-beta.25 (2026-06-18)
|
|
4
12
|
|
|
5
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)
|
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
|
|
@@ -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
|
#
|
|
@@ -96,18 +97,6 @@ module Stigg
|
|
|
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
|
|
@@ -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
|
#
|
|
@@ -111,18 +112,6 @@ module Stigg
|
|
|
111
112
|
# @param scope_entity_ids [Array<String>]
|
|
112
113
|
#
|
|
113
114
|
# @param usage_limit [Float, nil] 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
|
|
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
|
|
@@ -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
|
#
|
|
@@ -109,18 +110,6 @@ module Stigg
|
|
|
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
|
|
@@ -72,8 +69,7 @@ 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),
|
|
@@ -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,8 +112,7 @@ 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),
|
|
@@ -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
|
|
@@ -150,8 +140,7 @@ module Stigg
|
|
|
150
140
|
sig do
|
|
151
141
|
params(
|
|
152
142
|
entity_id: String,
|
|
153
|
-
cadence:
|
|
154
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::OrSymbol,
|
|
143
|
+
cadence: String,
|
|
155
144
|
currency_id: String,
|
|
156
145
|
feature_id: String,
|
|
157
146
|
parent_id: T.nilable(String),
|
|
@@ -162,7 +151,8 @@ module Stigg
|
|
|
162
151
|
def self.new(
|
|
163
152
|
# The entity refId this assignment is attached to
|
|
164
153
|
entity_id:,
|
|
165
|
-
# 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`.
|
|
166
156
|
cadence: nil,
|
|
167
157
|
# Currency refId this assignment grants (credit budgets). Mutually exclusive with
|
|
168
158
|
# `featureId`.
|
|
@@ -183,8 +173,7 @@ module Stigg
|
|
|
183
173
|
override.returns(
|
|
184
174
|
{
|
|
185
175
|
entity_id: String,
|
|
186
|
-
cadence:
|
|
187
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::OrSymbol,
|
|
176
|
+
cadence: String,
|
|
188
177
|
currency_id: String,
|
|
189
178
|
feature_id: String,
|
|
190
179
|
parent_id: T.nilable(String),
|
|
@@ -195,36 +184,6 @@ module Stigg
|
|
|
195
184
|
end
|
|
196
185
|
def to_hash
|
|
197
186
|
end
|
|
198
|
-
|
|
199
|
-
# Usage-reset cadence (required on create). Currently only `MONTH` is supported
|
|
200
|
-
module Cadence
|
|
201
|
-
extend Stigg::Internal::Type::Enum
|
|
202
|
-
|
|
203
|
-
TaggedSymbol =
|
|
204
|
-
T.type_alias do
|
|
205
|
-
T.all(
|
|
206
|
-
Symbol,
|
|
207
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence
|
|
208
|
-
)
|
|
209
|
-
end
|
|
210
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
211
|
-
|
|
212
|
-
MONTH =
|
|
213
|
-
T.let(
|
|
214
|
-
:MONTH,
|
|
215
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::TaggedSymbol
|
|
216
|
-
)
|
|
217
|
-
|
|
218
|
-
sig do
|
|
219
|
-
override.returns(
|
|
220
|
-
T::Array[
|
|
221
|
-
Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence::TaggedSymbol
|
|
222
|
-
]
|
|
223
|
-
)
|
|
224
|
-
end
|
|
225
|
-
def self.values
|
|
226
|
-
end
|
|
227
|
-
end
|
|
228
187
|
end
|
|
229
188
|
end
|
|
230
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
|
|
@@ -115,8 +112,7 @@ 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),
|
|
@@ -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,8 +155,7 @@ 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),
|
|
@@ -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,7 +5,7 @@ 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?,
|
|
@@ -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
|
|
|
@@ -43,7 +43,7 @@ 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?,
|
|
@@ -56,7 +56,7 @@ module Stigg
|
|
|
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?,
|
|
@@ -66,16 +66,6 @@ module Stigg
|
|
|
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,7 +46,7 @@ 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?,
|
|
@@ -57,11 +57,9 @@ module Stigg
|
|
|
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
|
|
|
@@ -81,7 +79,7 @@ module Stigg
|
|
|
81
79
|
|
|
82
80
|
def initialize: (
|
|
83
81
|
entity_id: String,
|
|
84
|
-
?cadence:
|
|
82
|
+
?cadence: String,
|
|
85
83
|
?currency_id: String,
|
|
86
84
|
?feature_id: String,
|
|
87
85
|
?parent_id: String?,
|
|
@@ -91,23 +89,13 @@ module Stigg
|
|
|
91
89
|
|
|
92
90
|
def to_hash: -> {
|
|
93
91
|
entity_id: String,
|
|
94
|
-
cadence:
|
|
92
|
+
cadence: String,
|
|
95
93
|
currency_id: String,
|
|
96
94
|
feature_id: String,
|
|
97
95
|
parent_id: String?,
|
|
98
96
|
scope_entity_ids: ::Array[String],
|
|
99
97
|
usage_limit: Float?
|
|
100
98
|
}
|
|
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::V1Beta::Customers::AssignmentUpsertParams::Assignment::cadence]
|
|
110
|
-
end
|
|
111
99
|
end
|
|
112
100
|
end
|
|
113
101
|
end
|
|
@@ -21,7 +21,7 @@ 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?,
|
|
@@ -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
|
|
|
@@ -59,7 +59,7 @@ 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?,
|
|
@@ -72,7 +72,7 @@ module Stigg
|
|
|
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?,
|
|
@@ -82,16 +82,6 @@ module Stigg
|
|
|
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
|