Skip to content

Commit 0cf3ac8

Browse files
Generator: Update SDK /services/intake (#2281)
* Generate intake --------- Co-authored-by: Marcel Jacek <Marcel.Jacek@stackit.cloud>
1 parent b26c1b1 commit 0cf3ac8

32 files changed

+55
-40
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
## Release (2025-xx-xx)
2+
- `intake`: [v0.2.0](services/intake/CHANGELOG.md#v020)
3+
- **Feature:** Add response `IntakeRunnerResponse` to `UpdateIntakeRunnerExecute` request
4+
- **Feature:** Add response `IntakeUserResponse` to `UpdateIntakeUserExecute` request
25
- `stackitmarketplace`:
36
- [v1.11.0](services/stackitmarketplace/CHANGELOG.md#v1110)
47
- **Feature:** Add new field `DemoUrl` to `CatalogProductDetail` model

services/intake/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.2.0
2+
- **Feature:** Add response `IntakeRunnerResponse` to `UpdateIntakeRunnerExecute` request
3+
- **Feature:** Add response `IntakeUserResponse` to `UpdateIntakeUserExecute` request
4+
15
## v0.1.2
26
- **Feature:** Add new field `partitioning` to `IntakeCatalog` model
37

services/intake/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-intake"
33

44
[tool.poetry]
55
name = "stackit-intake"
6-
version = "v0.1.2"
6+
version = "v0.2.0"
77
authors = [
88
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
99
]

services/intake/src/stackit/intake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
This API provides endpoints for managing Intakes.
99
10-
The version of the OpenAPI document: 1beta.3.1
10+
The version of the OpenAPI document: 1beta.3.2
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.

services/intake/src/stackit/intake/api/default_api.py

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -3877,7 +3877,7 @@ def update_intake_runner(
38773877
_content_type: Optional[StrictStr] = None,
38783878
_headers: Optional[Dict[StrictStr, Any]] = None,
38793879
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3880-
) -> None:
3880+
) -> IntakeRunnerResponse:
38813881
"""update_intake_runner
38823882
38833883
Updates a intake runner within the project.
@@ -3924,7 +3924,7 @@ def update_intake_runner(
39243924
)
39253925

39263926
_response_types_map: Dict[str, Optional[str]] = {
3927-
"204": None,
3927+
"200": "IntakeRunnerResponse",
39283928
"400": None,
39293929
"401": None,
39303930
"409": None,
@@ -3955,7 +3955,7 @@ def update_intake_runner_with_http_info(
39553955
_content_type: Optional[StrictStr] = None,
39563956
_headers: Optional[Dict[StrictStr, Any]] = None,
39573957
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3958-
) -> ApiResponse[None]:
3958+
) -> ApiResponse[IntakeRunnerResponse]:
39593959
"""update_intake_runner
39603960
39613961
Updates a intake runner within the project.
@@ -4002,7 +4002,7 @@ def update_intake_runner_with_http_info(
40024002
)
40034003

40044004
_response_types_map: Dict[str, Optional[str]] = {
4005-
"204": None,
4005+
"200": "IntakeRunnerResponse",
40064006
"400": None,
40074007
"401": None,
40084008
"409": None,
@@ -4080,7 +4080,7 @@ def update_intake_runner_without_preload_content(
40804080
)
40814081

40824082
_response_types_map: Dict[str, Optional[str]] = {
4083-
"204": None,
4083+
"200": "IntakeRunnerResponse",
40844084
"400": None,
40854085
"401": None,
40864086
"409": None,
@@ -4126,6 +4126,10 @@ def _update_intake_runner_serialize(
41264126
if update_intake_runner_payload is not None:
41274127
_body_params = update_intake_runner_payload
41284128

4129+
# set the HTTP header `Accept`
4130+
if "Accept" not in _header_params:
4131+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
4132+
41294133
# set the HTTP header `Content-Type`
41304134
if _content_type:
41314135
_header_params["Content-Type"] = _content_type
@@ -4171,7 +4175,7 @@ def update_intake_user(
41714175
_content_type: Optional[StrictStr] = None,
41724176
_headers: Optional[Dict[StrictStr, Any]] = None,
41734177
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4174-
) -> None:
4178+
) -> IntakeUserResponse:
41754179
"""update_intake_user
41764180
41774181
Updates the given intake user.
@@ -4221,7 +4225,7 @@ def update_intake_user(
42214225
)
42224226

42234227
_response_types_map: Dict[str, Optional[str]] = {
4224-
"204": None,
4228+
"200": "IntakeUserResponse",
42254229
"401": None,
42264230
"404": None,
42274231
"409": None,
@@ -4253,7 +4257,7 @@ def update_intake_user_with_http_info(
42534257
_content_type: Optional[StrictStr] = None,
42544258
_headers: Optional[Dict[StrictStr, Any]] = None,
42554259
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4256-
) -> ApiResponse[None]:
4260+
) -> ApiResponse[IntakeUserResponse]:
42574261
"""update_intake_user
42584262
42594263
Updates the given intake user.
@@ -4303,7 +4307,7 @@ def update_intake_user_with_http_info(
43034307
)
43044308

43054309
_response_types_map: Dict[str, Optional[str]] = {
4306-
"204": None,
4310+
"200": "IntakeUserResponse",
43074311
"401": None,
43084312
"404": None,
43094313
"409": None,
@@ -4385,7 +4389,7 @@ def update_intake_user_without_preload_content(
43854389
)
43864390

43874391
_response_types_map: Dict[str, Optional[str]] = {
4388-
"204": None,
4392+
"200": "IntakeUserResponse",
43894393
"401": None,
43904394
"404": None,
43914395
"409": None,
@@ -4434,6 +4438,10 @@ def _update_intake_user_serialize(
44344438
if update_intake_user_payload is not None:
44354439
_body_params = update_intake_user_payload
44364440

4441+
# set the HTTP header `Accept`
4442+
if "Accept" not in _header_params:
4443+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
4444+
44374445
# set the HTTP header `Content-Type`
44384446
if _content_type:
44394447
_header_params["Content-Type"] = _content_type

services/intake/src/stackit/intake/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
This API provides endpoints for managing Intakes.
88
9-
The version of the OpenAPI document: 1beta.3.1
9+
The version of the OpenAPI document: 1beta.3.2
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
1212
Do not edit the class manually.

services/intake/src/stackit/intake/models/catalog_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

0 commit comments

Comments
 (0)