From 5718a61c1e10008d78fd181de09acb2ac4cd1ca4 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Fri, 10 Apr 2026 08:07:08 +0000 Subject: [PATCH 1/2] Generate serviceaccount --- services/serviceaccount/oas_commit | 2 +- .../create_service_account_key_response_credentials.py | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/services/serviceaccount/oas_commit b/services/serviceaccount/oas_commit index 3423bbfe..36076afe 100644 --- a/services/serviceaccount/oas_commit +++ b/services/serviceaccount/oas_commit @@ -1 +1 @@ -f15f0e449d347f36dde5feac11c328b72d7f10dc +87a3ad63dec0a953ff5c6072ad9a15fddd8ec5f8 diff --git a/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py b/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py index f6e9f665..9ae869b1 100644 --- a/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py +++ b/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py @@ -36,7 +36,12 @@ class CreateServiceAccountKeyResponseCredentials(BaseModel): alias="privateKey", ) sub: UUID = Field(description="Service account id") - __properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub"] + token_endpoint: Optional[StrictStr] = Field( + default=None, + description="Endpoint used to obtain access tokens for the service account.", + alias="tokenEndpoint", + ) + __properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub", "tokenEndpoint"] model_config = ConfigDict( populate_by_name=True, @@ -93,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "kid": obj.get("kid"), "privateKey": obj.get("privateKey"), "sub": obj.get("sub"), + "tokenEndpoint": obj.get("tokenEndpoint"), } ) return _obj From cef79e55254aa2ab27388f12fbba12fba4bf44ca Mon Sep 17 00:00:00 2001 From: Ruben Hoenle Date: Fri, 10 Apr 2026 11:23:02 +0200 Subject: [PATCH 2/2] changelogs --- CHANGELOG.md | 2 ++ services/serviceaccount/CHANGELOG.md | 3 +++ services/serviceaccount/pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 518cf6f3..d81c9b00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - **Feature:** New enum type `RetentionMode` - **Feature:** New field `object_lock_enabled` in `Bucket` model struct - **Feature:** New API client methods: `create_compliance_lock`, `delete_compliance_lock`, `delete_default_retention`, `get_compliance_lock`, `get_credentials_group`, `get_default_retention`, `set_default_retention` +- `serviceaccount`: [v0.7.0](services/serviceaccount/CHANGELOG.md#v070) + - **Feature:** Add `token_endpoint` attribute to `CreateServiceAccountKeyResponseCredentials` model class - `vpn`: [v0.1.0](services/vpn/CHANGELOG.md#v010) - Initial publication of STACKIT Python SDK module for STACKIT VPN service diff --git a/services/serviceaccount/CHANGELOG.md b/services/serviceaccount/CHANGELOG.md index 49400613..dc8eb4c0 100644 --- a/services/serviceaccount/CHANGELOG.md +++ b/services/serviceaccount/CHANGELOG.md @@ -1,3 +1,6 @@ +## v0.7.0 +- **Feature:** Add `token_endpoint` attribute to `CreateServiceAccountKeyResponseCredentials` model class + ## v0.6.1 - **Feature:** client now supports UUID and decimal types - **Bugfix:** timeouts now passed to requests library diff --git a/services/serviceaccount/pyproject.toml b/services/serviceaccount/pyproject.toml index 40ea1218..37e50214 100644 --- a/services/serviceaccount/pyproject.toml +++ b/services/serviceaccount/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "stackit-serviceaccount" -version = "v0.6.1" +version = "v0.7.0" description = "Service Account API" authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }] requires-python = ">=3.9,<4.0"