diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2bce5e17..57aff90a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-beta.19" + ".": "0.1.0-beta.20" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index cc1d467b..c403f17d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 108 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-4b036ae37ac7dc36a2dd01f48a5913d32202264b3c4b4d221c9cc8dd2af02913.yml -openapi_spec_hash: e597fd274819cafb888ca653d5e8f3e5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-d6413c8603e1ea1fb4e01d498ae95fcde66332ba5e979bf3446b441f9200959f.yml +openapi_spec_hash: c2a40b8b8f84af2843b0648b69ee2db5 config_hash: da19ab71a4a80274895d7b4b295c08af diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dff1301..c869fced 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-beta.20 (2026-06-11) + +Full Changelog: [v0.1.0-beta.19...v0.1.0-beta.20](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.19...v0.1.0-beta.20) + +### Features + +* **api:** add scope_entity_ids field to entitlement check response ([13c0877](https://github.com/stiggio/stigg-python/commit/13c08771374295828bea912e7ea5f800a0e15c39)) + ## 0.1.0-beta.19 (2026-06-10) Full Changelog: [v0.1.0-beta.18...v0.1.0-beta.19](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.18...v0.1.0-beta.19) diff --git a/pyproject.toml b/pyproject.toml index 680457d3..d051e1ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "stigg" -version = "0.1.0-beta.19" +version = "0.1.0-beta.20" description = "The official Python library for the stigg API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/stigg/_version.py b/src/stigg/_version.py index a0f1b47e..666b5aed 100644 --- a/src/stigg/_version.py +++ b/src/stigg/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "stigg" -__version__ = "0.1.0-beta.19" # x-release-please-version +__version__ = "0.1.0-beta.20" # x-release-please-version diff --git a/src/stigg/types/v1_beta/customers/entitlement_check_response.py b/src/stigg/types/v1_beta/customers/entitlement_check_response.py index 367b3682..9b76c69e 100644 --- a/src/stigg/types/v1_beta/customers/entitlement_check_response.py +++ b/src/stigg/types/v1_beta/customers/entitlement_check_response.py @@ -35,6 +35,14 @@ class DataFeatureChain(BaseModel): is_granted: bool = FieldInfo(alias="isGranted") """Whether this node alone permits the requested usage.""" + scope_entity_ids: List[str] = FieldInfo(alias="scopeEntityIds") + """External ids of the entities this budget is scoped to. + + Empty (`[]`) is the node-wide budget; a non-empty set is the dimension-scoped + budget that matched this request — use it to tell apart multiple budgets on the + same entity. + """ + usage_limit: Optional[float] = FieldInfo(alias="usageLimit", default=None) """Hard usage limit for this node; null when no assignment is configured.""" @@ -158,6 +166,14 @@ class DataCreditChain(BaseModel): is_granted: bool = FieldInfo(alias="isGranted") """Whether this node alone permits the requested usage.""" + scope_entity_ids: List[str] = FieldInfo(alias="scopeEntityIds") + """External ids of the entities this budget is scoped to. + + Empty (`[]`) is the node-wide budget; a non-empty set is the dimension-scoped + budget that matched this request — use it to tell apart multiple budgets on the + same entity. + """ + usage_limit: Optional[float] = FieldInfo(alias="usageLimit", default=None) """Hard usage limit for this node; null when no assignment is configured."""