cyberdesk 2.1.17__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 +93 -91
- {cyberdesk-2.1.17.dist-info → cyberdesk-2.1.18.dist-info}/METADATA +1 -1
- {cyberdesk-2.1.17.dist-info → cyberdesk-2.1.18.dist-info}/RECORD +80 -80
- openapi_client/cyberdesk_cloud_client/api/computer/copy_to_clipboard_v1_computer_machine_id_copy_to_clipboard_post.py +2 -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 +1 -0
- 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 +2 -0
- 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 +2 -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/power_shell_exec_request.py +21 -0
- {cyberdesk-2.1.17.dist-info → cyberdesk-2.1.18.dist-info}/WHEEL +0 -0
- {cyberdesk-2.1.17.dist-info → cyberdesk-2.1.18.dist-info}/licenses/LICENSE +0 -0
- {cyberdesk-2.1.17.dist-info → cyberdesk-2.1.18.dist-info}/top_level.txt +0 -0
|
@@ -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:
|
|
@@ -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:
|
|
@@ -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/workflows/get_workflow_v1_workflows_workflow_id_get.py
CHANGED
|
@@ -29,10 +29,12 @@ def _parse_response(
|
|
|
29
29
|
response_200 = WorkflowResponse.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:
|
|
@@ -38,10 +38,12 @@ def _parse_response(
|
|
|
38
38
|
response_200.append(response_200_item)
|
|
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:
|
|
@@ -80,10 +80,12 @@ def _parse_response(
|
|
|
80
80
|
response_200 = PaginatedResponseWorkflowResponse.from_dict(response.json())
|
|
81
81
|
|
|
82
82
|
return response_200
|
|
83
|
+
|
|
83
84
|
if response.status_code == 422:
|
|
84
85
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
85
86
|
|
|
86
87
|
return response_422
|
|
88
|
+
|
|
87
89
|
if client.raise_on_unexpected_status:
|
|
88
90
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
89
91
|
else:
|
|
@@ -39,10 +39,12 @@ def _parse_response(
|
|
|
39
39
|
response_200 = WorkflowResponse.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:
|