stigg 0.1.0.pre.beta.21 → 0.1.0.pre.beta.22
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_beta/customers/entitlement_check_response.rb +30 -2
- data/lib/stigg/version.rb +1 -1
- data/rbi/stigg/models/v1_beta/customers/entitlement_check_response.rbi +24 -0
- data/sig/stigg/models/v1_beta/customers/entitlement_check_response.rbs +10 -0
- 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: 1e63f50b4d9e78315538747b1878656f893a386b9c089d6bb6f6653ce39dfdbf
|
|
4
|
+
data.tar.gz: d9c8e91732a0a8f6b0dcb934aeb4184945397d4b4237a9428d0216799f63df44
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afc6edc6e40cbeed763d0d1eac920c1de748d909a8096df6a03a8c4a1a00f3d0c53b4956e20dd9637cd9de8b45151500eed430c71b8f2ebb36c2dac29dd65b14
|
|
7
|
+
data.tar.gz: 7cf087c9de49acc7d4dd5e532acb4ff425c0c68b37de657c68e7771328b1eddf2bb32b8604b0b3c2811ba720bf6ec2afc46d7b5b1a42c8c0e510cd42d01f700e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.22 (2026-06-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-beta.21...v0.1.0-beta.22](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.21...v0.1.0-beta.22)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add scope_entity_ids field to entitlement check response ([9e5fd6e](https://github.com/stiggio/stigg-ruby/commit/9e5fd6e0b7cc9a578b70b8c4d4075ec6d96b32a7))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-beta.21 (2026-06-10)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-beta.20...v0.1.0-beta.21](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.20...v0.1.0-beta.21)
|
data/README.md
CHANGED
|
@@ -201,13 +201,25 @@ module Stigg
|
|
|
201
201
|
# @return [Boolean]
|
|
202
202
|
required :is_granted, Stigg::Internal::Type::Boolean, api_name: :isGranted
|
|
203
203
|
|
|
204
|
+
# @!attribute scope_entity_ids
|
|
205
|
+
# External ids of the entities this budget is scoped to. Empty (`[]`) is the
|
|
206
|
+
# node-wide budget; a non-empty set is the dimension-scoped budget that matched
|
|
207
|
+
# this request — use it to tell apart multiple budgets on the same entity.
|
|
208
|
+
#
|
|
209
|
+
# @return [Array<String>]
|
|
210
|
+
required :scope_entity_ids, Stigg::Internal::Type::ArrayOf[String], api_name: :scopeEntityIds
|
|
211
|
+
|
|
204
212
|
# @!attribute usage_limit
|
|
205
213
|
# Hard usage limit for this node; null when no assignment is configured.
|
|
206
214
|
#
|
|
207
215
|
# @return [Float, nil]
|
|
208
216
|
required :usage_limit, Float, api_name: :usageLimit, nil?: true
|
|
209
217
|
|
|
210
|
-
# @!method initialize(current_usage:, entity_id:, is_granted:, usage_limit:)
|
|
218
|
+
# @!method initialize(current_usage:, entity_id:, is_granted:, scope_entity_ids:, usage_limit:)
|
|
219
|
+
# Some parameter documentations has been truncated, see
|
|
220
|
+
# {Stigg::Models::V1Beta::Customers::EntitlementCheckResponse::Data::Feature::Chain}
|
|
221
|
+
# for more details.
|
|
222
|
+
#
|
|
211
223
|
# Per-entity governance node — limit and current usage for a single resolved
|
|
212
224
|
# entity.
|
|
213
225
|
#
|
|
@@ -217,6 +229,8 @@ module Stigg
|
|
|
217
229
|
#
|
|
218
230
|
# @param is_granted [Boolean] Whether this node alone permits the requested usage.
|
|
219
231
|
#
|
|
232
|
+
# @param scope_entity_ids [Array<String>] External ids of the entities this budget is scoped to. Empty (`[]`) is the node-
|
|
233
|
+
#
|
|
220
234
|
# @param usage_limit [Float, nil] Hard usage limit for this node; null when no assignment is configured.
|
|
221
235
|
end
|
|
222
236
|
|
|
@@ -500,13 +514,25 @@ module Stigg
|
|
|
500
514
|
# @return [Boolean]
|
|
501
515
|
required :is_granted, Stigg::Internal::Type::Boolean, api_name: :isGranted
|
|
502
516
|
|
|
517
|
+
# @!attribute scope_entity_ids
|
|
518
|
+
# External ids of the entities this budget is scoped to. Empty (`[]`) is the
|
|
519
|
+
# node-wide budget; a non-empty set is the dimension-scoped budget that matched
|
|
520
|
+
# this request — use it to tell apart multiple budgets on the same entity.
|
|
521
|
+
#
|
|
522
|
+
# @return [Array<String>]
|
|
523
|
+
required :scope_entity_ids, Stigg::Internal::Type::ArrayOf[String], api_name: :scopeEntityIds
|
|
524
|
+
|
|
503
525
|
# @!attribute usage_limit
|
|
504
526
|
# Hard usage limit for this node; null when no assignment is configured.
|
|
505
527
|
#
|
|
506
528
|
# @return [Float, nil]
|
|
507
529
|
required :usage_limit, Float, api_name: :usageLimit, nil?: true
|
|
508
530
|
|
|
509
|
-
# @!method initialize(current_usage:, entity_id:, is_granted:, usage_limit:)
|
|
531
|
+
# @!method initialize(current_usage:, entity_id:, is_granted:, scope_entity_ids:, usage_limit:)
|
|
532
|
+
# Some parameter documentations has been truncated, see
|
|
533
|
+
# {Stigg::Models::V1Beta::Customers::EntitlementCheckResponse::Data::Credit::Chain}
|
|
534
|
+
# for more details.
|
|
535
|
+
#
|
|
510
536
|
# Per-entity governance node — limit and current usage for a single resolved
|
|
511
537
|
# entity.
|
|
512
538
|
#
|
|
@@ -516,6 +542,8 @@ module Stigg
|
|
|
516
542
|
#
|
|
517
543
|
# @param is_granted [Boolean] Whether this node alone permits the requested usage.
|
|
518
544
|
#
|
|
545
|
+
# @param scope_entity_ids [Array<String>] External ids of the entities this budget is scoped to. Empty (`[]`) is the node-
|
|
546
|
+
#
|
|
519
547
|
# @param usage_limit [Float, nil] Hard usage limit for this node; null when no assignment is configured.
|
|
520
548
|
end
|
|
521
549
|
end
|
data/lib/stigg/version.rb
CHANGED
|
@@ -399,6 +399,12 @@ module Stigg
|
|
|
399
399
|
sig { returns(T::Boolean) }
|
|
400
400
|
attr_accessor :is_granted
|
|
401
401
|
|
|
402
|
+
# External ids of the entities this budget is scoped to. Empty (`[]`) is the
|
|
403
|
+
# node-wide budget; a non-empty set is the dimension-scoped budget that matched
|
|
404
|
+
# this request — use it to tell apart multiple budgets on the same entity.
|
|
405
|
+
sig { returns(T::Array[String]) }
|
|
406
|
+
attr_accessor :scope_entity_ids
|
|
407
|
+
|
|
402
408
|
# Hard usage limit for this node; null when no assignment is configured.
|
|
403
409
|
sig { returns(T.nilable(Float)) }
|
|
404
410
|
attr_accessor :usage_limit
|
|
@@ -410,6 +416,7 @@ module Stigg
|
|
|
410
416
|
current_usage: Float,
|
|
411
417
|
entity_id: String,
|
|
412
418
|
is_granted: T::Boolean,
|
|
419
|
+
scope_entity_ids: T::Array[String],
|
|
413
420
|
usage_limit: T.nilable(Float)
|
|
414
421
|
).returns(T.attached_class)
|
|
415
422
|
end
|
|
@@ -420,6 +427,10 @@ module Stigg
|
|
|
420
427
|
entity_id:,
|
|
421
428
|
# Whether this node alone permits the requested usage.
|
|
422
429
|
is_granted:,
|
|
430
|
+
# External ids of the entities this budget is scoped to. Empty (`[]`) is the
|
|
431
|
+
# node-wide budget; a non-empty set is the dimension-scoped budget that matched
|
|
432
|
+
# this request — use it to tell apart multiple budgets on the same entity.
|
|
433
|
+
scope_entity_ids:,
|
|
423
434
|
# Hard usage limit for this node; null when no assignment is configured.
|
|
424
435
|
usage_limit:
|
|
425
436
|
)
|
|
@@ -431,6 +442,7 @@ module Stigg
|
|
|
431
442
|
current_usage: Float,
|
|
432
443
|
entity_id: String,
|
|
433
444
|
is_granted: T::Boolean,
|
|
445
|
+
scope_entity_ids: T::Array[String],
|
|
434
446
|
usage_limit: T.nilable(Float)
|
|
435
447
|
}
|
|
436
448
|
)
|
|
@@ -1005,6 +1017,12 @@ module Stigg
|
|
|
1005
1017
|
sig { returns(T::Boolean) }
|
|
1006
1018
|
attr_accessor :is_granted
|
|
1007
1019
|
|
|
1020
|
+
# External ids of the entities this budget is scoped to. Empty (`[]`) is the
|
|
1021
|
+
# node-wide budget; a non-empty set is the dimension-scoped budget that matched
|
|
1022
|
+
# this request — use it to tell apart multiple budgets on the same entity.
|
|
1023
|
+
sig { returns(T::Array[String]) }
|
|
1024
|
+
attr_accessor :scope_entity_ids
|
|
1025
|
+
|
|
1008
1026
|
# Hard usage limit for this node; null when no assignment is configured.
|
|
1009
1027
|
sig { returns(T.nilable(Float)) }
|
|
1010
1028
|
attr_accessor :usage_limit
|
|
@@ -1016,6 +1034,7 @@ module Stigg
|
|
|
1016
1034
|
current_usage: Float,
|
|
1017
1035
|
entity_id: String,
|
|
1018
1036
|
is_granted: T::Boolean,
|
|
1037
|
+
scope_entity_ids: T::Array[String],
|
|
1019
1038
|
usage_limit: T.nilable(Float)
|
|
1020
1039
|
).returns(T.attached_class)
|
|
1021
1040
|
end
|
|
@@ -1026,6 +1045,10 @@ module Stigg
|
|
|
1026
1045
|
entity_id:,
|
|
1027
1046
|
# Whether this node alone permits the requested usage.
|
|
1028
1047
|
is_granted:,
|
|
1048
|
+
# External ids of the entities this budget is scoped to. Empty (`[]`) is the
|
|
1049
|
+
# node-wide budget; a non-empty set is the dimension-scoped budget that matched
|
|
1050
|
+
# this request — use it to tell apart multiple budgets on the same entity.
|
|
1051
|
+
scope_entity_ids:,
|
|
1029
1052
|
# Hard usage limit for this node; null when no assignment is configured.
|
|
1030
1053
|
usage_limit:
|
|
1031
1054
|
)
|
|
@@ -1037,6 +1060,7 @@ module Stigg
|
|
|
1037
1060
|
current_usage: Float,
|
|
1038
1061
|
entity_id: String,
|
|
1039
1062
|
is_granted: T::Boolean,
|
|
1063
|
+
scope_entity_ids: T::Array[String],
|
|
1040
1064
|
usage_limit: T.nilable(Float)
|
|
1041
1065
|
}
|
|
1042
1066
|
)
|
|
@@ -170,6 +170,7 @@ module Stigg
|
|
|
170
170
|
current_usage: Float,
|
|
171
171
|
entity_id: String,
|
|
172
172
|
is_granted: bool,
|
|
173
|
+
scope_entity_ids: ::Array[String],
|
|
173
174
|
usage_limit: Float?
|
|
174
175
|
}
|
|
175
176
|
|
|
@@ -180,12 +181,15 @@ module Stigg
|
|
|
180
181
|
|
|
181
182
|
attr_accessor is_granted: bool
|
|
182
183
|
|
|
184
|
+
attr_accessor scope_entity_ids: ::Array[String]
|
|
185
|
+
|
|
183
186
|
attr_accessor usage_limit: Float?
|
|
184
187
|
|
|
185
188
|
def initialize: (
|
|
186
189
|
current_usage: Float,
|
|
187
190
|
entity_id: String,
|
|
188
191
|
is_granted: bool,
|
|
192
|
+
scope_entity_ids: ::Array[String],
|
|
189
193
|
usage_limit: Float?
|
|
190
194
|
) -> void
|
|
191
195
|
|
|
@@ -193,6 +197,7 @@ module Stigg
|
|
|
193
197
|
current_usage: Float,
|
|
194
198
|
entity_id: String,
|
|
195
199
|
is_granted: bool,
|
|
200
|
+
scope_entity_ids: ::Array[String],
|
|
196
201
|
usage_limit: Float?
|
|
197
202
|
}
|
|
198
203
|
end
|
|
@@ -428,6 +433,7 @@ module Stigg
|
|
|
428
433
|
current_usage: Float,
|
|
429
434
|
entity_id: String,
|
|
430
435
|
is_granted: bool,
|
|
436
|
+
scope_entity_ids: ::Array[String],
|
|
431
437
|
usage_limit: Float?
|
|
432
438
|
}
|
|
433
439
|
|
|
@@ -438,12 +444,15 @@ module Stigg
|
|
|
438
444
|
|
|
439
445
|
attr_accessor is_granted: bool
|
|
440
446
|
|
|
447
|
+
attr_accessor scope_entity_ids: ::Array[String]
|
|
448
|
+
|
|
441
449
|
attr_accessor usage_limit: Float?
|
|
442
450
|
|
|
443
451
|
def initialize: (
|
|
444
452
|
current_usage: Float,
|
|
445
453
|
entity_id: String,
|
|
446
454
|
is_granted: bool,
|
|
455
|
+
scope_entity_ids: ::Array[String],
|
|
447
456
|
usage_limit: Float?
|
|
448
457
|
) -> void
|
|
449
458
|
|
|
@@ -451,6 +460,7 @@ module Stigg
|
|
|
451
460
|
current_usage: Float,
|
|
452
461
|
entity_id: String,
|
|
453
462
|
is_granted: bool,
|
|
463
|
+
scope_entity_ids: ::Array[String],
|
|
454
464
|
usage_limit: Float?
|
|
455
465
|
}
|
|
456
466
|
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.22
|
|
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-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|