cyberdesk 1.11.0__py3-none-any.whl → 2.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cyberdesk might be problematic. Click here for more details.
- cyberdesk/__init__.py +1 -1
- cyberdesk/client.py +358 -6
- {cyberdesk-1.11.0.dist-info → cyberdesk-2.1.0.dist-info}/METADATA +1 -1
- {cyberdesk-1.11.0.dist-info → cyberdesk-2.1.0.dist-info}/RECORD +66 -49
- openapi_client/cyberdesk_cloud_client/api/connections/create_connection_v1_connections_post.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/connections/delete_connection_v1_connections_connection_id_delete.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/connections/get_connection_v1_connections_connection_id_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/connections/list_connections_v1_connections_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/connections/update_connection_v1_connections_connection_id_patch.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/machines/create_machine_v1_machines_post.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/machines/get_machine_pools_v1_machines_machine_id_pools_get.py +169 -0
- openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/machines/update_machine_pools_v1_machines_machine_id_pools_put.py +190 -0
- openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/pools/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/pools/add_machines_to_pool_v1_pools_pool_id_machines_post.py +186 -0
- openapi_client/cyberdesk_cloud_client/api/pools/create_pool_v1_pools_post.py +172 -0
- openapi_client/cyberdesk_cloud_client/api/pools/delete_pool_v1_pools_pool_id_delete.py +162 -0
- openapi_client/cyberdesk_cloud_client/api/pools/get_pool_v1_pools_pool_id_get.py +185 -0
- openapi_client/cyberdesk_cloud_client/api/pools/list_pools_v1_pools_get.py +186 -0
- openapi_client/cyberdesk_cloud_client/api/pools/remove_machines_from_pool_v1_pools_pool_id_machines_delete.py +184 -0
- openapi_client/cyberdesk_cloud_client/api/pools/update_pool_v1_pools_pool_id_patch.py +186 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/request_logs/delete_request_log_v1_request_logs_log_id_delete.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/request_logs/get_request_log_v1_request_logs_log_id_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/request_logs/list_request_logs_v1_request_logs_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/request_logs/update_request_log_v1_request_logs_log_id_patch.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/run_attachments/list_run_attachments_v1_run_attachments_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/runs/create_run_v1_runs_post.py +12 -8
- openapi_client/cyberdesk_cloud_client/api/runs/delete_run_v1_runs_run_id_delete.py +8 -4
- openapi_client/cyberdesk_cloud_client/api/runs/get_run_v1_runs_run_id_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/runs/update_run_v1_runs_run_id_patch.py +8 -12
- openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_trajectories_post.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/trajectories/delete_trajectory_v1_trajectories_trajectory_id_delete.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/trajectories/get_latest_trajectory_for_workflow_v1_workflows_workflow_id_latest_trajectory_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/trajectories/get_trajectory_v1_trajectories_trajectory_id_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/trajectories/update_trajectory_v1_trajectories_trajectory_id_patch.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/workflows/create_workflow_v1_workflows_post.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/workflows/delete_workflow_v1_workflows_workflow_id_delete.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_v1_workflows_workflow_id_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_versions_v1_workflows_workflow_id_versions_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py +4 -4
- openapi_client/cyberdesk_cloud_client/api/workflows/update_workflow_v1_workflows_workflow_id_patch.py +4 -4
- openapi_client/cyberdesk_cloud_client/models/__init__.py +14 -0
- openapi_client/cyberdesk_cloud_client/models/machine_pool_assignment.py +69 -0
- openapi_client/cyberdesk_cloud_client/models/machine_pool_update.py +69 -0
- openapi_client/cyberdesk_cloud_client/models/machine_response.py +96 -9
- openapi_client/cyberdesk_cloud_client/models/paginated_response_pool_response.py +97 -0
- openapi_client/cyberdesk_cloud_client/models/pool_create.py +82 -0
- openapi_client/cyberdesk_cloud_client/models/pool_response.py +137 -0
- openapi_client/cyberdesk_cloud_client/models/pool_update.py +92 -0
- openapi_client/cyberdesk_cloud_client/models/pool_with_machines.py +162 -0
- openapi_client/cyberdesk_cloud_client/models/request_log_response.py +20 -0
- openapi_client/cyberdesk_cloud_client/models/run_attachment_response.py +50 -8
- openapi_client/cyberdesk_cloud_client/models/run_bulk_create.py +40 -0
- openapi_client/cyberdesk_cloud_client/models/run_create.py +40 -0
- openapi_client/cyberdesk_cloud_client/models/run_response.py +90 -8
- openapi_client/cyberdesk_cloud_client/models/trajectory_response.py +50 -8
- openapi_client/cyberdesk_cloud_client/models/workflow_response.py +50 -8
- {cyberdesk-1.11.0.dist-info → cyberdesk-2.1.0.dist-info}/WHEEL +0 -0
- {cyberdesk-1.11.0.dist-info → cyberdesk-2.1.0.dist-info}/licenses/LICENSE +0 -0
- {cyberdesk-1.11.0.dist-info → cyberdesk-2.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
10
|
+
from ...models.pool_response import PoolResponse
|
|
11
|
+
from ...models.pool_update import PoolUpdate
|
|
12
|
+
from ...types import Response
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def _get_kwargs(
|
|
16
|
+
pool_id: UUID,
|
|
17
|
+
*,
|
|
18
|
+
body: PoolUpdate,
|
|
19
|
+
) -> dict[str, Any]:
|
|
20
|
+
headers: dict[str, Any] = {}
|
|
21
|
+
|
|
22
|
+
_kwargs: dict[str, Any] = {
|
|
23
|
+
"method": "patch",
|
|
24
|
+
"url": f"/v1/pools/{pool_id}",
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
_kwargs["json"] = body.to_dict()
|
|
28
|
+
|
|
29
|
+
headers["Content-Type"] = "application/json"
|
|
30
|
+
|
|
31
|
+
_kwargs["headers"] = headers
|
|
32
|
+
return _kwargs
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _parse_response(
|
|
36
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
37
|
+
) -> Optional[Union[HTTPValidationError, PoolResponse]]:
|
|
38
|
+
if response.status_code == 200:
|
|
39
|
+
response_200 = PoolResponse.from_dict(response.json())
|
|
40
|
+
|
|
41
|
+
return response_200
|
|
42
|
+
if response.status_code == 422:
|
|
43
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
|
+
|
|
45
|
+
return response_422
|
|
46
|
+
if client.raise_on_unexpected_status:
|
|
47
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
|
+
else:
|
|
49
|
+
return None
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def _build_response(
|
|
53
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
54
|
+
) -> Response[Union[HTTPValidationError, PoolResponse]]:
|
|
55
|
+
return Response(
|
|
56
|
+
status_code=HTTPStatus(response.status_code),
|
|
57
|
+
content=response.content,
|
|
58
|
+
headers=response.headers,
|
|
59
|
+
parsed=_parse_response(client=client, response=response),
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def sync_detailed(
|
|
64
|
+
pool_id: UUID,
|
|
65
|
+
*,
|
|
66
|
+
client: AuthenticatedClient,
|
|
67
|
+
body: PoolUpdate,
|
|
68
|
+
) -> Response[Union[HTTPValidationError, PoolResponse]]:
|
|
69
|
+
"""Update Pool
|
|
70
|
+
|
|
71
|
+
Update a pool's details.
|
|
72
|
+
|
|
73
|
+
Args:
|
|
74
|
+
pool_id (UUID):
|
|
75
|
+
body (PoolUpdate): Schema for updating a pool
|
|
76
|
+
|
|
77
|
+
Raises:
|
|
78
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
79
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
80
|
+
|
|
81
|
+
Returns:
|
|
82
|
+
Response[Union[HTTPValidationError, PoolResponse]]
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
kwargs = _get_kwargs(
|
|
86
|
+
pool_id=pool_id,
|
|
87
|
+
body=body,
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
response = client.get_httpx_client().request(
|
|
91
|
+
**kwargs,
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
return _build_response(client=client, response=response)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def sync(
|
|
98
|
+
pool_id: UUID,
|
|
99
|
+
*,
|
|
100
|
+
client: AuthenticatedClient,
|
|
101
|
+
body: PoolUpdate,
|
|
102
|
+
) -> Optional[Union[HTTPValidationError, PoolResponse]]:
|
|
103
|
+
"""Update Pool
|
|
104
|
+
|
|
105
|
+
Update a pool's details.
|
|
106
|
+
|
|
107
|
+
Args:
|
|
108
|
+
pool_id (UUID):
|
|
109
|
+
body (PoolUpdate): Schema for updating a pool
|
|
110
|
+
|
|
111
|
+
Raises:
|
|
112
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
113
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
114
|
+
|
|
115
|
+
Returns:
|
|
116
|
+
Union[HTTPValidationError, PoolResponse]
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
return sync_detailed(
|
|
120
|
+
pool_id=pool_id,
|
|
121
|
+
client=client,
|
|
122
|
+
body=body,
|
|
123
|
+
).parsed
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
async def asyncio_detailed(
|
|
127
|
+
pool_id: UUID,
|
|
128
|
+
*,
|
|
129
|
+
client: AuthenticatedClient,
|
|
130
|
+
body: PoolUpdate,
|
|
131
|
+
) -> Response[Union[HTTPValidationError, PoolResponse]]:
|
|
132
|
+
"""Update Pool
|
|
133
|
+
|
|
134
|
+
Update a pool's details.
|
|
135
|
+
|
|
136
|
+
Args:
|
|
137
|
+
pool_id (UUID):
|
|
138
|
+
body (PoolUpdate): Schema for updating a pool
|
|
139
|
+
|
|
140
|
+
Raises:
|
|
141
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
142
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
143
|
+
|
|
144
|
+
Returns:
|
|
145
|
+
Response[Union[HTTPValidationError, PoolResponse]]
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
kwargs = _get_kwargs(
|
|
149
|
+
pool_id=pool_id,
|
|
150
|
+
body=body,
|
|
151
|
+
)
|
|
152
|
+
|
|
153
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
154
|
+
|
|
155
|
+
return _build_response(client=client, response=response)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
async def asyncio(
|
|
159
|
+
pool_id: UUID,
|
|
160
|
+
*,
|
|
161
|
+
client: AuthenticatedClient,
|
|
162
|
+
body: PoolUpdate,
|
|
163
|
+
) -> Optional[Union[HTTPValidationError, PoolResponse]]:
|
|
164
|
+
"""Update Pool
|
|
165
|
+
|
|
166
|
+
Update a pool's details.
|
|
167
|
+
|
|
168
|
+
Args:
|
|
169
|
+
pool_id (UUID):
|
|
170
|
+
body (PoolUpdate): Schema for updating a pool
|
|
171
|
+
|
|
172
|
+
Raises:
|
|
173
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
174
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
175
|
+
|
|
176
|
+
Returns:
|
|
177
|
+
Union[HTTPValidationError, PoolResponse]
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
return (
|
|
181
|
+
await asyncio_detailed(
|
|
182
|
+
pool_id=pool_id,
|
|
183
|
+
client=client,
|
|
184
|
+
body=body,
|
|
185
|
+
)
|
|
186
|
+
).parsed
|
openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py
CHANGED
|
@@ -67,7 +67,7 @@ def sync_detailed(
|
|
|
67
67
|
|
|
68
68
|
Create a new request log.
|
|
69
69
|
|
|
70
|
-
The machine must exist and belong to the authenticated
|
|
70
|
+
The machine must exist and belong to the authenticated organization.
|
|
71
71
|
This is typically called when a request is initiated.
|
|
72
72
|
|
|
73
73
|
Args:
|
|
@@ -101,7 +101,7 @@ def sync(
|
|
|
101
101
|
|
|
102
102
|
Create a new request log.
|
|
103
103
|
|
|
104
|
-
The machine must exist and belong to the authenticated
|
|
104
|
+
The machine must exist and belong to the authenticated organization.
|
|
105
105
|
This is typically called when a request is initiated.
|
|
106
106
|
|
|
107
107
|
Args:
|
|
@@ -130,7 +130,7 @@ async def asyncio_detailed(
|
|
|
130
130
|
|
|
131
131
|
Create a new request log.
|
|
132
132
|
|
|
133
|
-
The machine must exist and belong to the authenticated
|
|
133
|
+
The machine must exist and belong to the authenticated organization.
|
|
134
134
|
This is typically called when a request is initiated.
|
|
135
135
|
|
|
136
136
|
Args:
|
|
@@ -162,7 +162,7 @@ async def asyncio(
|
|
|
162
162
|
|
|
163
163
|
Create a new request log.
|
|
164
164
|
|
|
165
|
-
The machine must exist and belong to the authenticated
|
|
165
|
+
The machine must exist and belong to the authenticated organization.
|
|
166
166
|
This is typically called when a request is initiated.
|
|
167
167
|
|
|
168
168
|
Args:
|
|
@@ -57,7 +57,7 @@ def sync_detailed(
|
|
|
57
57
|
|
|
58
58
|
Delete a request log (not typically used - logs are kept for analytics).
|
|
59
59
|
|
|
60
|
-
The log must belong to a machine owned by the authenticated
|
|
60
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
61
61
|
|
|
62
62
|
Args:
|
|
63
63
|
log_id (UUID):
|
|
@@ -90,7 +90,7 @@ def sync(
|
|
|
90
90
|
|
|
91
91
|
Delete a request log (not typically used - logs are kept for analytics).
|
|
92
92
|
|
|
93
|
-
The log must belong to a machine owned by the authenticated
|
|
93
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
94
94
|
|
|
95
95
|
Args:
|
|
96
96
|
log_id (UUID):
|
|
@@ -118,7 +118,7 @@ async def asyncio_detailed(
|
|
|
118
118
|
|
|
119
119
|
Delete a request log (not typically used - logs are kept for analytics).
|
|
120
120
|
|
|
121
|
-
The log must belong to a machine owned by the authenticated
|
|
121
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
122
122
|
|
|
123
123
|
Args:
|
|
124
124
|
log_id (UUID):
|
|
@@ -149,7 +149,7 @@ async def asyncio(
|
|
|
149
149
|
|
|
150
150
|
Delete a request log (not typically used - logs are kept for analytics).
|
|
151
151
|
|
|
152
|
-
The log must belong to a machine owned by the authenticated
|
|
152
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
153
153
|
|
|
154
154
|
Args:
|
|
155
155
|
log_id (UUID):
|
openapi_client/cyberdesk_cloud_client/api/request_logs/get_request_log_v1_request_logs_log_id_get.py
CHANGED
|
@@ -59,7 +59,7 @@ def sync_detailed(
|
|
|
59
59
|
|
|
60
60
|
Get a specific request log by ID.
|
|
61
61
|
|
|
62
|
-
The log must belong to a machine owned by the authenticated
|
|
62
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
63
63
|
|
|
64
64
|
Args:
|
|
65
65
|
log_id (UUID):
|
|
@@ -92,7 +92,7 @@ def sync(
|
|
|
92
92
|
|
|
93
93
|
Get a specific request log by ID.
|
|
94
94
|
|
|
95
|
-
The log must belong to a machine owned by the authenticated
|
|
95
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
96
96
|
|
|
97
97
|
Args:
|
|
98
98
|
log_id (UUID):
|
|
@@ -120,7 +120,7 @@ async def asyncio_detailed(
|
|
|
120
120
|
|
|
121
121
|
Get a specific request log by ID.
|
|
122
122
|
|
|
123
|
-
The log must belong to a machine owned by the authenticated
|
|
123
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
124
124
|
|
|
125
125
|
Args:
|
|
126
126
|
log_id (UUID):
|
|
@@ -151,7 +151,7 @@ async def asyncio(
|
|
|
151
151
|
|
|
152
152
|
Get a specific request log by ID.
|
|
153
153
|
|
|
154
|
-
The log must belong to a machine owned by the authenticated
|
|
154
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
155
155
|
|
|
156
156
|
Args:
|
|
157
157
|
log_id (UUID):
|
openapi_client/cyberdesk_cloud_client/api/request_logs/list_request_logs_v1_request_logs_get.py
CHANGED
|
@@ -98,7 +98,7 @@ def sync_detailed(
|
|
|
98
98
|
) -> Response[Union[HTTPValidationError, PaginatedResponse]]:
|
|
99
99
|
"""List Request Logs
|
|
100
100
|
|
|
101
|
-
List all request logs for the authenticated
|
|
101
|
+
List all request logs for the authenticated organization's machines.
|
|
102
102
|
|
|
103
103
|
Supports pagination and filtering by machine, HTTP method, and status code.
|
|
104
104
|
|
|
@@ -143,7 +143,7 @@ def sync(
|
|
|
143
143
|
) -> Optional[Union[HTTPValidationError, PaginatedResponse]]:
|
|
144
144
|
"""List Request Logs
|
|
145
145
|
|
|
146
|
-
List all request logs for the authenticated
|
|
146
|
+
List all request logs for the authenticated organization's machines.
|
|
147
147
|
|
|
148
148
|
Supports pagination and filtering by machine, HTTP method, and status code.
|
|
149
149
|
|
|
@@ -183,7 +183,7 @@ async def asyncio_detailed(
|
|
|
183
183
|
) -> Response[Union[HTTPValidationError, PaginatedResponse]]:
|
|
184
184
|
"""List Request Logs
|
|
185
185
|
|
|
186
|
-
List all request logs for the authenticated
|
|
186
|
+
List all request logs for the authenticated organization's machines.
|
|
187
187
|
|
|
188
188
|
Supports pagination and filtering by machine, HTTP method, and status code.
|
|
189
189
|
|
|
@@ -226,7 +226,7 @@ async def asyncio(
|
|
|
226
226
|
) -> Optional[Union[HTTPValidationError, PaginatedResponse]]:
|
|
227
227
|
"""List Request Logs
|
|
228
228
|
|
|
229
|
-
List all request logs for the authenticated
|
|
229
|
+
List all request logs for the authenticated organization's machines.
|
|
230
230
|
|
|
231
231
|
Supports pagination and filtering by machine, HTTP method, and status code.
|
|
232
232
|
|
|
@@ -72,7 +72,7 @@ def sync_detailed(
|
|
|
72
72
|
|
|
73
73
|
This is typically called when a request completes to add the response details.
|
|
74
74
|
Only the fields provided in the request body will be updated.
|
|
75
|
-
The log must belong to a machine owned by the authenticated
|
|
75
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
76
76
|
|
|
77
77
|
Args:
|
|
78
78
|
log_id (UUID):
|
|
@@ -110,7 +110,7 @@ def sync(
|
|
|
110
110
|
|
|
111
111
|
This is typically called when a request completes to add the response details.
|
|
112
112
|
Only the fields provided in the request body will be updated.
|
|
113
|
-
The log must belong to a machine owned by the authenticated
|
|
113
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
114
114
|
|
|
115
115
|
Args:
|
|
116
116
|
log_id (UUID):
|
|
@@ -143,7 +143,7 @@ async def asyncio_detailed(
|
|
|
143
143
|
|
|
144
144
|
This is typically called when a request completes to add the response details.
|
|
145
145
|
Only the fields provided in the request body will be updated.
|
|
146
|
-
The log must belong to a machine owned by the authenticated
|
|
146
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
147
147
|
|
|
148
148
|
Args:
|
|
149
149
|
log_id (UUID):
|
|
@@ -179,7 +179,7 @@ async def asyncio(
|
|
|
179
179
|
|
|
180
180
|
This is typically called when a request completes to add the response details.
|
|
181
181
|
Only the fields provided in the request body will be updated.
|
|
182
|
-
The log must belong to a machine owned by the authenticated
|
|
182
|
+
The log must belong to a machine owned by the authenticated organization.
|
|
183
183
|
|
|
184
184
|
Args:
|
|
185
185
|
log_id (UUID):
|
|
@@ -92,7 +92,7 @@ def sync_detailed(
|
|
|
92
92
|
) -> Response[Union[HTTPValidationError, PaginatedResponseRunAttachmentResponse]]:
|
|
93
93
|
"""List Run Attachments
|
|
94
94
|
|
|
95
|
-
List all run attachments for the authenticated
|
|
95
|
+
List all run attachments for the authenticated organization.
|
|
96
96
|
|
|
97
97
|
Supports pagination and filtering by run ID and attachment type.
|
|
98
98
|
|
|
@@ -134,7 +134,7 @@ def sync(
|
|
|
134
134
|
) -> Optional[Union[HTTPValidationError, PaginatedResponseRunAttachmentResponse]]:
|
|
135
135
|
"""List Run Attachments
|
|
136
136
|
|
|
137
|
-
List all run attachments for the authenticated
|
|
137
|
+
List all run attachments for the authenticated organization.
|
|
138
138
|
|
|
139
139
|
Supports pagination and filtering by run ID and attachment type.
|
|
140
140
|
|
|
@@ -171,7 +171,7 @@ async def asyncio_detailed(
|
|
|
171
171
|
) -> Response[Union[HTTPValidationError, PaginatedResponseRunAttachmentResponse]]:
|
|
172
172
|
"""List Run Attachments
|
|
173
173
|
|
|
174
|
-
List all run attachments for the authenticated
|
|
174
|
+
List all run attachments for the authenticated organization.
|
|
175
175
|
|
|
176
176
|
Supports pagination and filtering by run ID and attachment type.
|
|
177
177
|
|
|
@@ -211,7 +211,7 @@ async def asyncio(
|
|
|
211
211
|
) -> Optional[Union[HTTPValidationError, PaginatedResponseRunAttachmentResponse]]:
|
|
212
212
|
"""List Run Attachments
|
|
213
213
|
|
|
214
|
-
List all run attachments for the authenticated
|
|
214
|
+
List all run attachments for the authenticated organization.
|
|
215
215
|
|
|
216
216
|
Supports pagination and filtering by run ID and attachment type.
|
|
217
217
|
|
|
@@ -67,9 +67,10 @@ def sync_detailed(
|
|
|
67
67
|
|
|
68
68
|
Create a new run.
|
|
69
69
|
|
|
70
|
-
The workflow must exist and belong to the authenticated
|
|
70
|
+
The workflow must exist and belong to the authenticated organization.
|
|
71
71
|
If machine_id is not provided, an available machine will be automatically selected.
|
|
72
|
-
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
72
|
+
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
73
|
+
asynchronously.
|
|
73
74
|
|
|
74
75
|
Args:
|
|
75
76
|
body (RunCreate): Schema for creating a run
|
|
@@ -102,9 +103,10 @@ def sync(
|
|
|
102
103
|
|
|
103
104
|
Create a new run.
|
|
104
105
|
|
|
105
|
-
The workflow must exist and belong to the authenticated
|
|
106
|
+
The workflow must exist and belong to the authenticated organization.
|
|
106
107
|
If machine_id is not provided, an available machine will be automatically selected.
|
|
107
|
-
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
108
|
+
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
109
|
+
asynchronously.
|
|
108
110
|
|
|
109
111
|
Args:
|
|
110
112
|
body (RunCreate): Schema for creating a run
|
|
@@ -132,9 +134,10 @@ async def asyncio_detailed(
|
|
|
132
134
|
|
|
133
135
|
Create a new run.
|
|
134
136
|
|
|
135
|
-
The workflow must exist and belong to the authenticated
|
|
137
|
+
The workflow must exist and belong to the authenticated organization.
|
|
136
138
|
If machine_id is not provided, an available machine will be automatically selected.
|
|
137
|
-
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
139
|
+
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
140
|
+
asynchronously.
|
|
138
141
|
|
|
139
142
|
Args:
|
|
140
143
|
body (RunCreate): Schema for creating a run
|
|
@@ -165,9 +168,10 @@ async def asyncio(
|
|
|
165
168
|
|
|
166
169
|
Create a new run.
|
|
167
170
|
|
|
168
|
-
The workflow must exist and belong to the authenticated
|
|
171
|
+
The workflow must exist and belong to the authenticated organization.
|
|
169
172
|
If machine_id is not provided, an available machine will be automatically selected.
|
|
170
|
-
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
173
|
+
The run will be created with SCHEDULING status and a Temporal workflow will be started
|
|
174
|
+
asynchronously.
|
|
171
175
|
|
|
172
176
|
Args:
|
|
173
177
|
body (RunCreate): Schema for creating a run
|
|
@@ -57,7 +57,8 @@ def sync_detailed(
|
|
|
57
57
|
|
|
58
58
|
Delete a run.
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
This will also delete all associated attachments and their files.
|
|
61
|
+
The run must belong to the authenticated organization.
|
|
61
62
|
|
|
62
63
|
Args:
|
|
63
64
|
run_id (UUID):
|
|
@@ -90,7 +91,8 @@ def sync(
|
|
|
90
91
|
|
|
91
92
|
Delete a run.
|
|
92
93
|
|
|
93
|
-
|
|
94
|
+
This will also delete all associated attachments and their files.
|
|
95
|
+
The run must belong to the authenticated organization.
|
|
94
96
|
|
|
95
97
|
Args:
|
|
96
98
|
run_id (UUID):
|
|
@@ -118,7 +120,8 @@ async def asyncio_detailed(
|
|
|
118
120
|
|
|
119
121
|
Delete a run.
|
|
120
122
|
|
|
121
|
-
|
|
123
|
+
This will also delete all associated attachments and their files.
|
|
124
|
+
The run must belong to the authenticated organization.
|
|
122
125
|
|
|
123
126
|
Args:
|
|
124
127
|
run_id (UUID):
|
|
@@ -149,7 +152,8 @@ async def asyncio(
|
|
|
149
152
|
|
|
150
153
|
Delete a run.
|
|
151
154
|
|
|
152
|
-
|
|
155
|
+
This will also delete all associated attachments and their files.
|
|
156
|
+
The run must belong to the authenticated organization.
|
|
153
157
|
|
|
154
158
|
Args:
|
|
155
159
|
run_id (UUID):
|
|
@@ -59,8 +59,8 @@ def sync_detailed(
|
|
|
59
59
|
|
|
60
60
|
Get a specific run by ID.
|
|
61
61
|
|
|
62
|
+
The run must belong to the authenticated organization.
|
|
62
63
|
Returns the run with its associated workflow and machine data.
|
|
63
|
-
The run must belong to the authenticated user.
|
|
64
64
|
|
|
65
65
|
Args:
|
|
66
66
|
run_id (UUID):
|
|
@@ -93,8 +93,8 @@ def sync(
|
|
|
93
93
|
|
|
94
94
|
Get a specific run by ID.
|
|
95
95
|
|
|
96
|
+
The run must belong to the authenticated organization.
|
|
96
97
|
Returns the run with its associated workflow and machine data.
|
|
97
|
-
The run must belong to the authenticated user.
|
|
98
98
|
|
|
99
99
|
Args:
|
|
100
100
|
run_id (UUID):
|
|
@@ -122,8 +122,8 @@ async def asyncio_detailed(
|
|
|
122
122
|
|
|
123
123
|
Get a specific run by ID.
|
|
124
124
|
|
|
125
|
+
The run must belong to the authenticated organization.
|
|
125
126
|
Returns the run with its associated workflow and machine data.
|
|
126
|
-
The run must belong to the authenticated user.
|
|
127
127
|
|
|
128
128
|
Args:
|
|
129
129
|
run_id (UUID):
|
|
@@ -154,8 +154,8 @@ async def asyncio(
|
|
|
154
154
|
|
|
155
155
|
Get a specific run by ID.
|
|
156
156
|
|
|
157
|
+
The run must belong to the authenticated organization.
|
|
157
158
|
Returns the run with its associated workflow and machine data.
|
|
158
|
-
The run must belong to the authenticated user.
|
|
159
159
|
|
|
160
160
|
Args:
|
|
161
161
|
run_id (UUID):
|
|
@@ -103,7 +103,7 @@ def sync_detailed(
|
|
|
103
103
|
) -> Response[Union[HTTPValidationError, PaginatedResponseRunResponse]]:
|
|
104
104
|
"""List Runs
|
|
105
105
|
|
|
106
|
-
List all runs for the authenticated
|
|
106
|
+
List all runs for the authenticated organization.
|
|
107
107
|
|
|
108
108
|
Supports pagination and filtering by workflow, machine, and status.
|
|
109
109
|
Returns runs with their associated workflow and machine data.
|
|
@@ -149,7 +149,7 @@ def sync(
|
|
|
149
149
|
) -> Optional[Union[HTTPValidationError, PaginatedResponseRunResponse]]:
|
|
150
150
|
"""List Runs
|
|
151
151
|
|
|
152
|
-
List all runs for the authenticated
|
|
152
|
+
List all runs for the authenticated organization.
|
|
153
153
|
|
|
154
154
|
Supports pagination and filtering by workflow, machine, and status.
|
|
155
155
|
Returns runs with their associated workflow and machine data.
|
|
@@ -190,7 +190,7 @@ async def asyncio_detailed(
|
|
|
190
190
|
) -> Response[Union[HTTPValidationError, PaginatedResponseRunResponse]]:
|
|
191
191
|
"""List Runs
|
|
192
192
|
|
|
193
|
-
List all runs for the authenticated
|
|
193
|
+
List all runs for the authenticated organization.
|
|
194
194
|
|
|
195
195
|
Supports pagination and filtering by workflow, machine, and status.
|
|
196
196
|
Returns runs with their associated workflow and machine data.
|
|
@@ -234,7 +234,7 @@ async def asyncio(
|
|
|
234
234
|
) -> Optional[Union[HTTPValidationError, PaginatedResponseRunResponse]]:
|
|
235
235
|
"""List Runs
|
|
236
236
|
|
|
237
|
-
List all runs for the authenticated
|
|
237
|
+
List all runs for the authenticated organization.
|
|
238
238
|
|
|
239
239
|
Supports pagination and filtering by workflow, machine, and status.
|
|
240
240
|
Returns runs with their associated workflow and machine data.
|
|
@@ -68,11 +68,10 @@ def sync_detailed(
|
|
|
68
68
|
) -> Response[Union[HTTPValidationError, RunResponse]]:
|
|
69
69
|
"""Update Run
|
|
70
70
|
|
|
71
|
-
Update a run's
|
|
71
|
+
Update a run's data.
|
|
72
72
|
|
|
73
|
-
Can update status, error messages, output data, attachments, and message history.
|
|
74
73
|
Only the fields provided in the request body will be updated.
|
|
75
|
-
The run must belong to the authenticated
|
|
74
|
+
The run must belong to the authenticated organization.
|
|
76
75
|
|
|
77
76
|
Args:
|
|
78
77
|
run_id (UUID):
|
|
@@ -106,11 +105,10 @@ def sync(
|
|
|
106
105
|
) -> Optional[Union[HTTPValidationError, RunResponse]]:
|
|
107
106
|
"""Update Run
|
|
108
107
|
|
|
109
|
-
Update a run's
|
|
108
|
+
Update a run's data.
|
|
110
109
|
|
|
111
|
-
Can update status, error messages, output data, attachments, and message history.
|
|
112
110
|
Only the fields provided in the request body will be updated.
|
|
113
|
-
The run must belong to the authenticated
|
|
111
|
+
The run must belong to the authenticated organization.
|
|
114
112
|
|
|
115
113
|
Args:
|
|
116
114
|
run_id (UUID):
|
|
@@ -139,11 +137,10 @@ async def asyncio_detailed(
|
|
|
139
137
|
) -> Response[Union[HTTPValidationError, RunResponse]]:
|
|
140
138
|
"""Update Run
|
|
141
139
|
|
|
142
|
-
Update a run's
|
|
140
|
+
Update a run's data.
|
|
143
141
|
|
|
144
|
-
Can update status, error messages, output data, attachments, and message history.
|
|
145
142
|
Only the fields provided in the request body will be updated.
|
|
146
|
-
The run must belong to the authenticated
|
|
143
|
+
The run must belong to the authenticated organization.
|
|
147
144
|
|
|
148
145
|
Args:
|
|
149
146
|
run_id (UUID):
|
|
@@ -175,11 +172,10 @@ async def asyncio(
|
|
|
175
172
|
) -> Optional[Union[HTTPValidationError, RunResponse]]:
|
|
176
173
|
"""Update Run
|
|
177
174
|
|
|
178
|
-
Update a run's
|
|
175
|
+
Update a run's data.
|
|
179
176
|
|
|
180
|
-
Can update status, error messages, output data, attachments, and message history.
|
|
181
177
|
Only the fields provided in the request body will be updated.
|
|
182
|
-
The run must belong to the authenticated
|
|
178
|
+
The run must belong to the authenticated organization.
|
|
183
179
|
|
|
184
180
|
Args:
|
|
185
181
|
run_id (UUID):
|
openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_trajectories_post.py
CHANGED
|
@@ -67,7 +67,7 @@ def sync_detailed(
|
|
|
67
67
|
|
|
68
68
|
Create a new trajectory for a workflow.
|
|
69
69
|
|
|
70
|
-
The workflow must exist and belong to the authenticated
|
|
70
|
+
The workflow must exist and belong to the authenticated organization.
|
|
71
71
|
The trajectory_data must contain at least one item.
|
|
72
72
|
|
|
73
73
|
Args:
|
|
@@ -101,7 +101,7 @@ def sync(
|
|
|
101
101
|
|
|
102
102
|
Create a new trajectory for a workflow.
|
|
103
103
|
|
|
104
|
-
The workflow must exist and belong to the authenticated
|
|
104
|
+
The workflow must exist and belong to the authenticated organization.
|
|
105
105
|
The trajectory_data must contain at least one item.
|
|
106
106
|
|
|
107
107
|
Args:
|
|
@@ -130,7 +130,7 @@ async def asyncio_detailed(
|
|
|
130
130
|
|
|
131
131
|
Create a new trajectory for a workflow.
|
|
132
132
|
|
|
133
|
-
The workflow must exist and belong to the authenticated
|
|
133
|
+
The workflow must exist and belong to the authenticated organization.
|
|
134
134
|
The trajectory_data must contain at least one item.
|
|
135
135
|
|
|
136
136
|
Args:
|
|
@@ -162,7 +162,7 @@ async def asyncio(
|
|
|
162
162
|
|
|
163
163
|
Create a new trajectory for a workflow.
|
|
164
164
|
|
|
165
|
-
The workflow must exist and belong to the authenticated
|
|
165
|
+
The workflow must exist and belong to the authenticated organization.
|
|
166
166
|
The trajectory_data must contain at least one item.
|
|
167
167
|
|
|
168
168
|
Args:
|