cyberdesk 2.1.16__py3-none-any.whl → 2.1.18__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 +212 -106
- {cyberdesk-2.1.16.dist-info → cyberdesk-2.1.18.dist-info}/METADATA +158 -2
- {cyberdesk-2.1.16.dist-info → cyberdesk-2.1.18.dist-info}/RECORD +92 -84
- openapi_client/cyberdesk_cloud_client/api/computer/copy_to_clipboard_v1_computer_machine_id_copy_to_clipboard_post.py +221 -0
- openapi_client/cyberdesk_cloud_client/api/computer/fs_list_v1_computer_machine_id_fs_list_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/fs_read_v1_computer_machine_id_fs_read_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/fs_write_v1_computer_machine_id_fs_write_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/get_display_dimensions_v1_computer_machine_id_display_dimensions_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/get_mouse_position_v1_computer_machine_id_input_mouse_position_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/get_screenshot_v1_computer_machine_id_display_screenshot_get.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/computer/keyboard_key_v1_computer_machine_id_input_keyboard_key_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/keyboard_type_v1_computer_machine_id_input_keyboard_type_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/mouse_click_v1_computer_machine_id_input_mouse_click_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/mouse_drag_v1_computer_machine_id_input_mouse_drag_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/mouse_move_v1_computer_machine_id_input_mouse_move_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/mouse_scroll_v1_computer_machine_id_input_mouse_scroll_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/powershell_exec_v1_computer_machine_id_shell_powershell_exec_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/computer/powershell_session_v1_computer_machine_id_shell_powershell_session_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/connections/create_connection_v1_connections_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/connections/delete_connection_v1_connections_connection_id_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/connections/get_connection_v1_connections_connection_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/connections/list_connections_v1_connections_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/connections/update_connection_v1_connections_connection_id_patch.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/default/health_db_health_db_get.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/default/health_health_get.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/default/root_get.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/health/database_health_check_v1_health_db_get.py +9 -67
- openapi_client/cyberdesk_cloud_client/api/health/health_check_v1_health_get.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/machines/create_machine_v1_machines_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py +18 -4
- openapi_client/cyberdesk_cloud_client/api/machines/get_machine_pools_v1_machines_machine_id_pools_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/machines/update_machine_pools_v1_machines_machine_id_pools_put.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py +14 -0
- openapi_client/cyberdesk_cloud_client/api/pools/add_machines_to_pool_v1_pools_pool_id_machines_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/pools/create_pool_v1_pools_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/pools/delete_pool_v1_pools_pool_id_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/pools/get_pool_v1_pools_pool_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/pools/list_pools_v1_pools_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/pools/remove_machines_from_pool_v1_pools_pool_id_machines_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/pools/update_pool_v1_pools_pool_id_patch.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/delete_request_log_v1_request_logs_log_id_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/get_request_log_v1_request_logs_log_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/list_request_logs_v1_request_logs_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/update_request_log_v1_request_logs_log_id_patch.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/create_run_attachment_v1_run_attachments_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/delete_run_attachment_v1_run_attachments_attachment_id_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/download_run_attachment_v1_run_attachments_attachment_id_download_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/get_run_attachment_download_url_v1_run_attachments_attachment_id_download_url_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/get_run_attachment_v1_run_attachments_attachment_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/list_run_attachments_v1_run_attachments_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/update_run_attachment_v1_run_attachments_attachment_id_put.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/bulk_create_runs_v1_runs_bulk_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/create_run_chain_v1_runs_chain_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/create_run_v1_runs_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/delete_run_v1_runs_run_id_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/get_run_v1_runs_run_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/retry_run_v1_runs_run_id_retry_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/runs/update_run_v1_runs_run_id_patch.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/test/dummy_test_endpoint_v1_test_post.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_trajectories_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/delete_trajectory_v1_trajectories_trajectory_id_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/get_latest_trajectory_for_workflow_v1_workflows_workflow_id_latest_trajectory_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/get_trajectory_v1_trajectories_trajectory_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/update_trajectory_v1_trajectories_trajectory_id_patch.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/create_workflow_v1_workflows_post.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/delete_workflow_v1_workflows_workflow_id_delete.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_v1_workflows_workflow_id_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_versions_v1_workflows_workflow_id_versions_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py +2 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/update_workflow_v1_workflows_workflow_id_patch.py +2 -0
- openapi_client/cyberdesk_cloud_client/models/__init__.py +17 -3
- openapi_client/cyberdesk_cloud_client/models/copy_to_clipboard_request.py +59 -0
- openapi_client/cyberdesk_cloud_client/models/copy_to_clipboard_v1_computer_machine_id_copy_to_clipboard_post_response_copy_to_clipboard_v1_computer_machine_id_copy_to_clipboard_post.py +47 -0
- openapi_client/cyberdesk_cloud_client/models/machine_create.py +80 -1
- openapi_client/cyberdesk_cloud_client/models/machine_create_machine_parameters_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/{database_health_check_v1_health_db_get_response_database_health_check_v1_health_db_get.py → machine_create_machine_sensitive_parameters_type_0.py} +5 -5
- openapi_client/cyberdesk_cloud_client/models/machine_response.py +77 -0
- openapi_client/cyberdesk_cloud_client/models/machine_response_machine_parameters_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/machine_response_machine_sensitive_parameters_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/machine_update.py +80 -1
- openapi_client/cyberdesk_cloud_client/models/machine_update_machine_parameters_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/machine_update_machine_sensitive_parameters_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/power_shell_exec_request.py +21 -0
- {cyberdesk-2.1.16.dist-info → cyberdesk-2.1.18.dist-info}/WHEEL +0 -0
- {cyberdesk-2.1.16.dist-info → cyberdesk-2.1.18.dist-info}/licenses/LICENSE +0 -0
- {cyberdesk-2.1.16.dist-info → cyberdesk-2.1.18.dist-info}/top_level.txt +0 -0
openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py
CHANGED
|
@@ -27,10 +27,12 @@ def _parse_response(
|
|
|
27
27
|
if response.status_code == 204:
|
|
28
28
|
response_204 = cast(Any, None)
|
|
29
29
|
return response_204
|
|
30
|
+
|
|
30
31
|
if response.status_code == 422:
|
|
31
32
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
32
33
|
|
|
33
34
|
return response_422
|
|
35
|
+
|
|
34
36
|
if client.raise_on_unexpected_status:
|
|
35
37
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
36
38
|
else:
|
|
@@ -57,7 +59,10 @@ def sync_detailed(
|
|
|
57
59
|
|
|
58
60
|
Delete a machine.
|
|
59
61
|
|
|
60
|
-
|
|
62
|
+
Associated runs are PRESERVED with machine_id set to NULL.
|
|
63
|
+
This ensures run history is never lost when a machine is deleted.
|
|
64
|
+
Connections and request logs are cascade deleted.
|
|
65
|
+
|
|
61
66
|
The machine must belong to the authenticated organization.
|
|
62
67
|
|
|
63
68
|
Args:
|
|
@@ -91,7 +96,10 @@ def sync(
|
|
|
91
96
|
|
|
92
97
|
Delete a machine.
|
|
93
98
|
|
|
94
|
-
|
|
99
|
+
Associated runs are PRESERVED with machine_id set to NULL.
|
|
100
|
+
This ensures run history is never lost when a machine is deleted.
|
|
101
|
+
Connections and request logs are cascade deleted.
|
|
102
|
+
|
|
95
103
|
The machine must belong to the authenticated organization.
|
|
96
104
|
|
|
97
105
|
Args:
|
|
@@ -120,7 +128,10 @@ async def asyncio_detailed(
|
|
|
120
128
|
|
|
121
129
|
Delete a machine.
|
|
122
130
|
|
|
123
|
-
|
|
131
|
+
Associated runs are PRESERVED with machine_id set to NULL.
|
|
132
|
+
This ensures run history is never lost when a machine is deleted.
|
|
133
|
+
Connections and request logs are cascade deleted.
|
|
134
|
+
|
|
124
135
|
The machine must belong to the authenticated organization.
|
|
125
136
|
|
|
126
137
|
Args:
|
|
@@ -152,7 +163,10 @@ async def asyncio(
|
|
|
152
163
|
|
|
153
164
|
Delete a machine.
|
|
154
165
|
|
|
155
|
-
|
|
166
|
+
Associated runs are PRESERVED with machine_id set to NULL.
|
|
167
|
+
This ensures run history is never lost when a machine is deleted.
|
|
168
|
+
Connections and request logs are cascade deleted.
|
|
169
|
+
|
|
156
170
|
The machine must belong to the authenticated organization.
|
|
157
171
|
|
|
158
172
|
Args:
|
|
@@ -34,10 +34,12 @@ def _parse_response(
|
|
|
34
34
|
response_200.append(response_200_item)
|
|
35
35
|
|
|
36
36
|
return response_200
|
|
37
|
+
|
|
37
38
|
if response.status_code == 422:
|
|
38
39
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
39
40
|
|
|
40
41
|
return response_422
|
|
42
|
+
|
|
41
43
|
if client.raise_on_unexpected_status:
|
|
42
44
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
43
45
|
else:
|
openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py
CHANGED
|
@@ -29,10 +29,12 @@ def _parse_response(
|
|
|
29
29
|
response_200 = MachineResponse.from_dict(response.json())
|
|
30
30
|
|
|
31
31
|
return response_200
|
|
32
|
+
|
|
32
33
|
if response.status_code == 422:
|
|
33
34
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
34
35
|
|
|
35
36
|
return response_422
|
|
37
|
+
|
|
36
38
|
if client.raise_on_unexpected_status:
|
|
37
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
40
|
else:
|
|
@@ -71,10 +71,12 @@ def _parse_response(
|
|
|
71
71
|
response_200 = PaginatedResponseMachineResponse.from_dict(response.json())
|
|
72
72
|
|
|
73
73
|
return response_200
|
|
74
|
+
|
|
74
75
|
if response.status_code == 422:
|
|
75
76
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
76
77
|
|
|
77
78
|
return response_422
|
|
79
|
+
|
|
78
80
|
if client.raise_on_unexpected_status:
|
|
79
81
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
80
82
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = MachineResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py
CHANGED
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = MachineResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -73,6 +75,9 @@ def sync_detailed(
|
|
|
73
75
|
Only the fields provided in the request body will be updated.
|
|
74
76
|
The machine must belong to the authenticated organization.
|
|
75
77
|
|
|
78
|
+
For machine_sensitive_parameters: provide actual secret values and they will be
|
|
79
|
+
stored in Basis Theory. Only aliases will be stored in the database.
|
|
80
|
+
|
|
76
81
|
Args:
|
|
77
82
|
machine_id (UUID):
|
|
78
83
|
body (MachineUpdate): Schema for updating a machine
|
|
@@ -110,6 +115,9 @@ def sync(
|
|
|
110
115
|
Only the fields provided in the request body will be updated.
|
|
111
116
|
The machine must belong to the authenticated organization.
|
|
112
117
|
|
|
118
|
+
For machine_sensitive_parameters: provide actual secret values and they will be
|
|
119
|
+
stored in Basis Theory. Only aliases will be stored in the database.
|
|
120
|
+
|
|
113
121
|
Args:
|
|
114
122
|
machine_id (UUID):
|
|
115
123
|
body (MachineUpdate): Schema for updating a machine
|
|
@@ -142,6 +150,9 @@ async def asyncio_detailed(
|
|
|
142
150
|
Only the fields provided in the request body will be updated.
|
|
143
151
|
The machine must belong to the authenticated organization.
|
|
144
152
|
|
|
153
|
+
For machine_sensitive_parameters: provide actual secret values and they will be
|
|
154
|
+
stored in Basis Theory. Only aliases will be stored in the database.
|
|
155
|
+
|
|
145
156
|
Args:
|
|
146
157
|
machine_id (UUID):
|
|
147
158
|
body (MachineUpdate): Schema for updating a machine
|
|
@@ -177,6 +188,9 @@ async def asyncio(
|
|
|
177
188
|
Only the fields provided in the request body will be updated.
|
|
178
189
|
The machine must belong to the authenticated organization.
|
|
179
190
|
|
|
191
|
+
For machine_sensitive_parameters: provide actual secret values and they will be
|
|
192
|
+
stored in Basis Theory. Only aliases will be stored in the database.
|
|
193
|
+
|
|
180
194
|
Args:
|
|
181
195
|
machine_id (UUID):
|
|
182
196
|
body (MachineUpdate): Schema for updating a machine
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = PoolWithMachines.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = PoolResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -27,10 +27,12 @@ def _parse_response(
|
|
|
27
27
|
if response.status_code == 204:
|
|
28
28
|
response_204 = cast(Any, None)
|
|
29
29
|
return response_204
|
|
30
|
+
|
|
30
31
|
if response.status_code == 422:
|
|
31
32
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
32
33
|
|
|
33
34
|
return response_422
|
|
35
|
+
|
|
34
36
|
if client.raise_on_unexpected_status:
|
|
35
37
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
36
38
|
else:
|
|
@@ -38,10 +38,12 @@ def _parse_response(
|
|
|
38
38
|
response_200 = PoolWithMachines.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_200
|
|
41
|
+
|
|
41
42
|
if response.status_code == 422:
|
|
42
43
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
43
44
|
|
|
44
45
|
return response_422
|
|
46
|
+
|
|
45
47
|
if client.raise_on_unexpected_status:
|
|
46
48
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
47
49
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = PaginatedResponsePoolResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
if response.status_code == 204:
|
|
38
38
|
response_204 = cast(Any, None)
|
|
39
39
|
return response_204
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = PoolResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py
CHANGED
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = RequestLogResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -27,10 +27,12 @@ def _parse_response(
|
|
|
27
27
|
if response.status_code == 204:
|
|
28
28
|
response_204 = cast(Any, None)
|
|
29
29
|
return response_204
|
|
30
|
+
|
|
30
31
|
if response.status_code == 422:
|
|
31
32
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
32
33
|
|
|
33
34
|
return response_422
|
|
35
|
+
|
|
34
36
|
if client.raise_on_unexpected_status:
|
|
35
37
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
36
38
|
else:
|
openapi_client/cyberdesk_cloud_client/api/request_logs/get_request_log_v1_request_logs_log_id_get.py
CHANGED
|
@@ -29,10 +29,12 @@ def _parse_response(
|
|
|
29
29
|
response_200 = RequestLogResponse.from_dict(response.json())
|
|
30
30
|
|
|
31
31
|
return response_200
|
|
32
|
+
|
|
32
33
|
if response.status_code == 422:
|
|
33
34
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
34
35
|
|
|
35
36
|
return response_422
|
|
37
|
+
|
|
36
38
|
if client.raise_on_unexpected_status:
|
|
37
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
40
|
else:
|
openapi_client/cyberdesk_cloud_client/api/request_logs/list_request_logs_v1_request_logs_get.py
CHANGED
|
@@ -66,10 +66,12 @@ def _parse_response(
|
|
|
66
66
|
response_200 = PaginatedResponse.from_dict(response.json())
|
|
67
67
|
|
|
68
68
|
return response_200
|
|
69
|
+
|
|
69
70
|
if response.status_code == 422:
|
|
70
71
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
71
72
|
|
|
72
73
|
return response_422
|
|
74
|
+
|
|
73
75
|
if client.raise_on_unexpected_status:
|
|
74
76
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
75
77
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = RequestLogResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = RunAttachmentResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -27,10 +27,12 @@ def _parse_response(
|
|
|
27
27
|
if response.status_code == 204:
|
|
28
28
|
response_204 = cast(Any, None)
|
|
29
29
|
return response_204
|
|
30
|
+
|
|
30
31
|
if response.status_code == 422:
|
|
31
32
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
32
33
|
|
|
33
34
|
return response_422
|
|
35
|
+
|
|
34
36
|
if client.raise_on_unexpected_status:
|
|
35
37
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
36
38
|
else:
|
|
@@ -27,10 +27,12 @@ def _parse_response(
|
|
|
27
27
|
if response.status_code == 200:
|
|
28
28
|
response_200 = response.json()
|
|
29
29
|
return response_200
|
|
30
|
+
|
|
30
31
|
if response.status_code == 422:
|
|
31
32
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
32
33
|
|
|
33
34
|
return response_422
|
|
35
|
+
|
|
34
36
|
if client.raise_on_unexpected_status:
|
|
35
37
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
36
38
|
else:
|
|
@@ -38,10 +38,12 @@ def _parse_response(
|
|
|
38
38
|
response_200 = RunAttachmentDownloadUrlResponse.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_200
|
|
41
|
+
|
|
41
42
|
if response.status_code == 422:
|
|
42
43
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
43
44
|
|
|
44
45
|
return response_422
|
|
46
|
+
|
|
45
47
|
if client.raise_on_unexpected_status:
|
|
46
48
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
47
49
|
else:
|
|
@@ -29,10 +29,12 @@ def _parse_response(
|
|
|
29
29
|
response_200 = RunAttachmentResponse.from_dict(response.json())
|
|
30
30
|
|
|
31
31
|
return response_200
|
|
32
|
+
|
|
32
33
|
if response.status_code == 422:
|
|
33
34
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
34
35
|
|
|
35
36
|
return response_422
|
|
37
|
+
|
|
36
38
|
if client.raise_on_unexpected_status:
|
|
37
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
40
|
else:
|
|
@@ -61,10 +61,12 @@ def _parse_response(
|
|
|
61
61
|
response_200 = PaginatedResponseRunAttachmentResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
63
|
return response_200
|
|
64
|
+
|
|
64
65
|
if response.status_code == 422:
|
|
65
66
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
67
|
|
|
67
68
|
return response_422
|
|
69
|
+
|
|
68
70
|
if client.raise_on_unexpected_status:
|
|
69
71
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
72
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = RunAttachmentResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = RunBulkCreateResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = WorkflowChainResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = RunResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -27,10 +27,12 @@ def _parse_response(
|
|
|
27
27
|
if response.status_code == 204:
|
|
28
28
|
response_204 = cast(Any, None)
|
|
29
29
|
return response_204
|
|
30
|
+
|
|
30
31
|
if response.status_code == 422:
|
|
31
32
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
32
33
|
|
|
33
34
|
return response_422
|
|
35
|
+
|
|
34
36
|
if client.raise_on_unexpected_status:
|
|
35
37
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
36
38
|
else:
|
|
@@ -29,10 +29,12 @@ def _parse_response(
|
|
|
29
29
|
response_200 = RunResponse.from_dict(response.json())
|
|
30
30
|
|
|
31
31
|
return response_200
|
|
32
|
+
|
|
32
33
|
if response.status_code == 422:
|
|
33
34
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
34
35
|
|
|
35
36
|
return response_422
|
|
37
|
+
|
|
36
38
|
if client.raise_on_unexpected_status:
|
|
37
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
40
|
else:
|
|
@@ -117,10 +117,12 @@ def _parse_response(
|
|
|
117
117
|
response_200 = PaginatedResponseRunResponse.from_dict(response.json())
|
|
118
118
|
|
|
119
119
|
return response_200
|
|
120
|
+
|
|
120
121
|
if response.status_code == 422:
|
|
121
122
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
122
123
|
|
|
123
124
|
return response_422
|
|
125
|
+
|
|
124
126
|
if client.raise_on_unexpected_status:
|
|
125
127
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
126
128
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = RunResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = RunResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -27,6 +27,7 @@ def _parse_response(
|
|
|
27
27
|
response_200 = DummyTestEndpointV1TestPostResponseDummyTestEndpointV1TestPost.from_dict(response.json())
|
|
28
28
|
|
|
29
29
|
return response_200
|
|
30
|
+
|
|
30
31
|
if client.raise_on_unexpected_status:
|
|
31
32
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
32
33
|
else:
|
openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_trajectories_post.py
CHANGED
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = TrajectoryResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -27,10 +27,12 @@ def _parse_response(
|
|
|
27
27
|
if response.status_code == 204:
|
|
28
28
|
response_204 = cast(Any, None)
|
|
29
29
|
return response_204
|
|
30
|
+
|
|
30
31
|
if response.status_code == 422:
|
|
31
32
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
32
33
|
|
|
33
34
|
return response_422
|
|
35
|
+
|
|
34
36
|
if client.raise_on_unexpected_status:
|
|
35
37
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
36
38
|
else:
|
|
@@ -29,10 +29,12 @@ def _parse_response(
|
|
|
29
29
|
response_200 = TrajectoryResponse.from_dict(response.json())
|
|
30
30
|
|
|
31
31
|
return response_200
|
|
32
|
+
|
|
32
33
|
if response.status_code == 422:
|
|
33
34
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
34
35
|
|
|
35
36
|
return response_422
|
|
37
|
+
|
|
36
38
|
if client.raise_on_unexpected_status:
|
|
37
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
40
|
else:
|
|
@@ -29,10 +29,12 @@ def _parse_response(
|
|
|
29
29
|
response_200 = TrajectoryResponse.from_dict(response.json())
|
|
30
30
|
|
|
31
31
|
return response_200
|
|
32
|
+
|
|
32
33
|
if response.status_code == 422:
|
|
33
34
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
34
35
|
|
|
35
36
|
return response_422
|
|
37
|
+
|
|
36
38
|
if client.raise_on_unexpected_status:
|
|
37
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
40
|
else:
|
openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py
CHANGED
|
@@ -99,10 +99,12 @@ def _parse_response(
|
|
|
99
99
|
response_200 = PaginatedResponseTrajectoryResponse.from_dict(response.json())
|
|
100
100
|
|
|
101
101
|
return response_200
|
|
102
|
+
|
|
102
103
|
if response.status_code == 422:
|
|
103
104
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
104
105
|
|
|
105
106
|
return response_422
|
|
107
|
+
|
|
106
108
|
if client.raise_on_unexpected_status:
|
|
107
109
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
108
110
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = TrajectoryResponse.from_dict(response.json())
|
|
40
40
|
|
|
41
41
|
return response_200
|
|
42
|
+
|
|
42
43
|
if response.status_code == 422:
|
|
43
44
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
45
|
|
|
45
46
|
return response_422
|
|
47
|
+
|
|
46
48
|
if client.raise_on_unexpected_status:
|
|
47
49
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
50
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_201 = WorkflowResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_201
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|