Skip to content

Commit f529e2f

Browse files
Generator: Update SDK /services/serviceaccount (#3746)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@digits.schwarz>
1 parent 110a109 commit f529e2f

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
- **Feature:** New enum type `RetentionMode`
1111
- **Feature:** New field `object_lock_enabled` in `Bucket` model struct
1212
- **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`
13+
- `serviceaccount`: [v0.7.0](services/serviceaccount/CHANGELOG.md#v070)
14+
- **Feature:** Add `token_endpoint` attribute to `CreateServiceAccountKeyResponseCredentials` model class
1315
- `vpn`: [v0.1.0](services/vpn/CHANGELOG.md#v010)
1416
- Initial publication of STACKIT Python SDK module for STACKIT VPN service
1517

services/serviceaccount/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.7.0
2+
- **Feature:** Add `token_endpoint` attribute to `CreateServiceAccountKeyResponseCredentials` model class
3+
14
## v0.6.1
25
- **Feature:** client now supports UUID and decimal types
36
- **Bugfix:** timeouts now passed to requests library

services/serviceaccount/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f15f0e449d347f36dde5feac11c328b72d7f10dc
1+
87a3ad63dec0a953ff5c6072ad9a15fddd8ec5f8

services/serviceaccount/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-serviceaccount"
3-
version = "v0.6.1"
3+
version = "v0.7.0"
44
description = "Service Account API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.9,<4.0"

services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ class CreateServiceAccountKeyResponseCredentials(BaseModel):
3636
alias="privateKey",
3737
)
3838
sub: UUID = Field(description="Service account id")
39-
__properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub"]
39+
token_endpoint: Optional[StrictStr] = Field(
40+
default=None,
41+
description="Endpoint used to obtain access tokens for the service account.",
42+
alias="tokenEndpoint",
43+
)
44+
__properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub", "tokenEndpoint"]
4045

4146
model_config = ConfigDict(
4247
populate_by_name=True,
@@ -93,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9398
"kid": obj.get("kid"),
9499
"privateKey": obj.get("privateKey"),
95100
"sub": obj.get("sub"),
101+
"tokenEndpoint": obj.get("tokenEndpoint"),
96102
}
97103
)
98104
return _obj

0 commit comments

Comments
 (0)