From 56d4cfc4ebb6c08357780469d129fe371bd52515 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 08:46:59 +0000 Subject: [PATCH 1/2] feat(api): add usage_period_end field to usage report response --- .stats.yml | 4 ++-- src/stigg/types/v1/usage_report_response.py | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 976874ff..a87492aa 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 110 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-a3b1cb64a010bc54278d208eb9ef309cb7c31e9099c45470fa3d032b1f4a17f6.yml -openapi_spec_hash: 09e5366c0f3dd1ea84dadb90e7cbf762 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-7dccccd9c809d3fcc5f0ba477228a67b5f1fc5352b282081131f9fa0d90577d4.yml +openapi_spec_hash: 43d3823a6e045c2fd0b832877f2d8739 config_hash: 0eca08dde117ac62155a012abb0ecac7 diff --git a/src/stigg/types/v1/usage_report_response.py b/src/stigg/types/v1/usage_report_response.py index 462f8df3..ca55126f 100644 --- a/src/stigg/types/v1/usage_report_response.py +++ b/src/stigg/types/v1/usage_report_response.py @@ -28,6 +28,12 @@ class DataCredit(BaseModel): usage_limit: float = FieldInfo(alias="usageLimit") """The total credits granted""" + usage_period_end: Optional[datetime] = FieldInfo(alias="usagePeriodEnd", default=None) + """ + End of the current credit grant period (when recurring credits reset), if + applicable + """ + class Data(BaseModel): """Recorded usage with period info""" From a30052fc1c8fef18748ac67ffb5bad20249c477e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 08:47:25 +0000 Subject: [PATCH 2/2] release: 0.1.0-beta.28 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/stigg/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1d0616cb..cd6d5c95 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-beta.27" + ".": "0.1.0-beta.28" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b518c54..92cc61d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-beta.28 (2026-06-23) + +Full Changelog: [v0.1.0-beta.27...v0.1.0-beta.28](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.27...v0.1.0-beta.28) + +### Features + +* **api:** add usage_period_end field to usage report response ([56d4cfc](https://github.com/stiggio/stigg-python/commit/56d4cfc4ebb6c08357780469d129fe371bd52515)) + ## 0.1.0-beta.27 (2026-06-23) Full Changelog: [v0.1.0-beta.26...v0.1.0-beta.27](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.26...v0.1.0-beta.27) diff --git a/pyproject.toml b/pyproject.toml index 79bdb993..e6030b3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "stigg" -version = "0.1.0-beta.27" +version = "0.1.0-beta.28" 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 2bef2b42..d1b9c504 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.27" # x-release-please-version +__version__ = "0.1.0-beta.28" # x-release-please-version