cyberdesk 1.11.0__tar.gz → 2.1.0__tar.gz
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-1.11.0 → cyberdesk-2.1.0}/PKG-INFO +1 -1
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/cyberdesk/__init__.py +1 -1
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/cyberdesk/client.py +358 -6
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/cyberdesk.egg-info/PKG-INFO +1 -1
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/cyberdesk.egg-info/SOURCES.txt +17 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/connections/create_connection_v1_connections_post.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/connections/delete_connection_v1_connections_connection_id_delete.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/connections/get_connection_v1_connections_connection_id_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/connections/list_connections_v1_connections_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/connections/update_connection_v1_connections_connection_id_patch.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/machines/create_machine_v1_machines_post.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py +4 -4
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/machines/get_machine_pools_v1_machines_machine_id_pools_get.py +169 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py +4 -4
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/machines/update_machine_pools_v1_machines_machine_id_pools_put.py +190 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py +4 -4
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools/add_machines_to_pool_v1_pools_pool_id_machines_post.py +186 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools/create_pool_v1_pools_post.py +172 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools/delete_pool_v1_pools_pool_id_delete.py +162 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools/get_pool_v1_pools_pool_id_get.py +185 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools/list_pools_v1_pools_get.py +186 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools/remove_machines_from_pool_v1_pools_pool_id_machines_delete.py +184 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools/update_pool_v1_pools_pool_id_patch.py +186 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/request_logs/delete_request_log_v1_request_logs_log_id_delete.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/request_logs/get_request_log_v1_request_logs_log_id_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/request_logs/list_request_logs_v1_request_logs_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/request_logs/update_request_log_v1_request_logs_log_id_patch.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/run_attachments/list_run_attachments_v1_run_attachments_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/runs/create_run_v1_runs_post.py +12 -8
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/runs/delete_run_v1_runs_run_id_delete.py +8 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/runs/get_run_v1_runs_run_id_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/runs/update_run_v1_runs_run_id_patch.py +8 -12
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_trajectories_post.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/trajectories/delete_trajectory_v1_trajectories_trajectory_id_delete.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/trajectories/get_latest_trajectory_for_workflow_v1_workflows_workflow_id_latest_trajectory_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/trajectories/get_trajectory_v1_trajectories_trajectory_id_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/trajectories/update_trajectory_v1_trajectories_trajectory_id_patch.py +4 -4
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/workflows/__init__.py +1 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/workflows/create_workflow_v1_workflows_post.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/workflows/delete_workflow_v1_workflows_workflow_id_delete.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_v1_workflows_workflow_id_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_versions_v1_workflows_workflow_id_versions_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/workflows/update_workflow_v1_workflows_workflow_id_patch.py +4 -4
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/__init__.py +14 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/models/machine_pool_assignment.py +69 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/models/machine_pool_update.py +69 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/machine_response.py +96 -9
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/models/paginated_response_pool_response.py +97 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/models/pool_create.py +82 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/models/pool_response.py +137 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/models/pool_update.py +92 -0
- cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/models/pool_with_machines.py +162 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/request_log_response.py +20 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_attachment_response.py +50 -8
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_bulk_create.py +40 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_create.py +40 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_response.py +90 -8
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_response.py +50 -8
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/workflow_response.py +50 -8
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/pyproject.toml +1 -1
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/LICENSE +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/README.md +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/cyberdesk.egg-info/dependency_links.txt +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/cyberdesk.egg-info/requires.txt +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/cyberdesk.egg-info/top_level.txt +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/fs_list_v1_computer_machine_id_fs_list_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/fs_read_v1_computer_machine_id_fs_read_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/fs_write_v1_computer_machine_id_fs_write_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/get_display_dimensions_v1_computer_machine_id_display_dimensions_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/get_mouse_position_v1_computer_machine_id_input_mouse_position_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/get_screenshot_v1_computer_machine_id_display_screenshot_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/keyboard_key_v1_computer_machine_id_input_keyboard_key_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/keyboard_type_v1_computer_machine_id_input_keyboard_type_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/mouse_click_v1_computer_machine_id_input_mouse_click_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/mouse_move_v1_computer_machine_id_input_mouse_move_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/powershell_exec_v1_computer_machine_id_shell_powershell_exec_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/computer/powershell_session_v1_computer_machine_id_shell_powershell_session_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/connections/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/default/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/default/root_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/health/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/health/database_health_check_v1_health_db_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/health/health_check_v1_health_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/machines/__init__.py +0 -0
- {cyberdesk-1.11.0/openapi_client/cyberdesk_cloud_client/api/request_logs → cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/pools}/__init__.py +0 -0
- {cyberdesk-1.11.0/openapi_client/cyberdesk_cloud_client/api/run_attachments → cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/request_logs}/__init__.py +0 -0
- {cyberdesk-1.11.0/openapi_client/cyberdesk_cloud_client/api/runs → cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/run_attachments}/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/run_attachments/create_run_attachment_v1_run_attachments_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/run_attachments/delete_run_attachment_v1_run_attachments_attachment_id_delete.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/run_attachments/download_run_attachment_v1_run_attachments_attachment_id_download_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/run_attachments/get_run_attachment_download_url_v1_run_attachments_attachment_id_download_url_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/run_attachments/get_run_attachment_v1_run_attachments_attachment_id_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/run_attachments/update_run_attachment_v1_run_attachments_attachment_id_put.py +0 -0
- {cyberdesk-1.11.0/openapi_client/cyberdesk_cloud_client/api/test → cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/runs}/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/runs/bulk_create_runs_v1_runs_bulk_post.py +0 -0
- {cyberdesk-1.11.0/openapi_client/cyberdesk_cloud_client/api/trajectories → cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/test}/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/api/test/dummy_test_endpoint_v1_test_post.py +0 -0
- {cyberdesk-1.11.0/openapi_client/cyberdesk_cloud_client/api/workflows → cyberdesk-2.1.0/openapi_client/cyberdesk_cloud_client/api/trajectories}/__init__.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/client.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/errors.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/attachment_type.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/connection_create.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/connection_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/connection_status.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/database_health_check_v1_health_db_get_response_database_health_check_v1_health_db_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/display_dimensions.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/dummy_test_endpoint_v1_test_post_response_dummy_test_endpoint_v1_test_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/file_input.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/file_write_request.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/fs_list_v1_computer_machine_id_fs_list_get_response_fs_list_v1_computer_machine_id_fs_list_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/fs_read_v1_computer_machine_id_fs_read_get_response_fs_read_v1_computer_machine_id_fs_read_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/fs_write_v1_computer_machine_id_fs_write_post_response_fs_write_v1_computer_machine_id_fs_write_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/get_workflow_versions_v1_workflows_workflow_id_versions_get_response_200_item.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/health_check_v1_health_get_response_health_check_v1_health_get.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/http_validation_error.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/keyboard_key_request.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/keyboard_type_request.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/machine_create.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/machine_status.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/machine_update.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/mouse_click_request.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/mouse_move_request.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/mouse_position.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/paginated_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/paginated_response_connection_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/paginated_response_machine_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/paginated_response_run_attachment_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/paginated_response_run_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/paginated_response_trajectory_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/paginated_response_workflow_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/power_shell_exec_request.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/power_shell_session_request.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/powershell_exec_v1_computer_machine_id_shell_powershell_exec_post_response_powershell_exec_v1_computer_machine_id_shell_powershell_exec_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/powershell_session_v1_computer_machine_id_shell_powershell_session_post_response_powershell_session_v1_computer_machine_id_shell_powershell_session_post.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/request_log_create.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/request_log_update.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_attachment_create.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_attachment_download_url_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_attachment_update.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_bulk_create_input_values_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_bulk_create_response.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_create_input_values_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_response_input_values_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_response_output_data_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_response_run_message_history_type_0_item.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_status.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_update.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_update_input_values_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_update_output_data_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/run_update_run_message_history_type_0_item.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_create.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_create_dimensions.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_create_original_input_values_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_create_trajectory_data_item.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_response_dimensions.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_response_original_input_values_type_0.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_response_trajectory_data_item.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_update.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/trajectory_update_trajectory_data_type_0_item.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/validation_error.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/workflow_create.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/workflow_response_old_versions_type_0_item.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/models/workflow_update.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/py.typed +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/openapi_client/cyberdesk_cloud_client/types.py +0 -0
- {cyberdesk-1.11.0 → cyberdesk-2.1.0}/setup.cfg +0 -0
|
@@ -14,6 +14,17 @@ from openapi_client.cyberdesk_cloud_client.api.machines import (
|
|
|
14
14
|
get_machine_v1_machines_machine_id_get,
|
|
15
15
|
update_machine_v1_machines_machine_id_patch,
|
|
16
16
|
delete_machine_v1_machines_machine_id_delete,
|
|
17
|
+
get_machine_pools_v1_machines_machine_id_pools_get,
|
|
18
|
+
update_machine_pools_v1_machines_machine_id_pools_put,
|
|
19
|
+
)
|
|
20
|
+
from openapi_client.cyberdesk_cloud_client.api.pools import (
|
|
21
|
+
list_pools_v1_pools_get,
|
|
22
|
+
create_pool_v1_pools_post,
|
|
23
|
+
get_pool_v1_pools_pool_id_get,
|
|
24
|
+
update_pool_v1_pools_pool_id_patch,
|
|
25
|
+
delete_pool_v1_pools_pool_id_delete,
|
|
26
|
+
add_machines_to_pool_v1_pools_pool_id_machines_post,
|
|
27
|
+
remove_machines_from_pool_v1_pools_pool_id_machines_delete,
|
|
17
28
|
)
|
|
18
29
|
from openapi_client.cyberdesk_cloud_client.api.workflows import (
|
|
19
30
|
list_workflows_v1_workflows_get,
|
|
@@ -58,6 +69,12 @@ from openapi_client.cyberdesk_cloud_client.models import (
|
|
|
58
69
|
MachineUpdate,
|
|
59
70
|
MachineResponse,
|
|
60
71
|
MachineStatus,
|
|
72
|
+
MachinePoolUpdate,
|
|
73
|
+
PoolCreate,
|
|
74
|
+
PoolUpdate,
|
|
75
|
+
PoolResponse,
|
|
76
|
+
PoolWithMachines,
|
|
77
|
+
MachinePoolAssignment,
|
|
61
78
|
WorkflowCreate,
|
|
62
79
|
WorkflowUpdate,
|
|
63
80
|
WorkflowResponse,
|
|
@@ -80,6 +97,7 @@ from openapi_client.cyberdesk_cloud_client.models import (
|
|
|
80
97
|
RunAttachmentDownloadUrlResponse,
|
|
81
98
|
AttachmentType,
|
|
82
99
|
PaginatedResponseMachineResponse,
|
|
100
|
+
PaginatedResponsePoolResponse,
|
|
83
101
|
PaginatedResponseWorkflowResponse,
|
|
84
102
|
PaginatedResponseRunResponse,
|
|
85
103
|
PaginatedResponseConnectionResponse,
|
|
@@ -94,6 +112,12 @@ __all__ = [
|
|
|
94
112
|
"MachineUpdate",
|
|
95
113
|
"MachineResponse",
|
|
96
114
|
"MachineStatus",
|
|
115
|
+
"MachinePoolUpdate",
|
|
116
|
+
"PoolCreate",
|
|
117
|
+
"PoolUpdate",
|
|
118
|
+
"PoolResponse",
|
|
119
|
+
"PoolWithMachines",
|
|
120
|
+
"MachinePoolAssignment",
|
|
97
121
|
"WorkflowCreate",
|
|
98
122
|
"WorkflowUpdate",
|
|
99
123
|
"WorkflowResponse",
|
|
@@ -270,6 +294,299 @@ class MachinesAPI:
|
|
|
270
294
|
return ApiResponse(data={"success": True})
|
|
271
295
|
except Exception as e:
|
|
272
296
|
return ApiResponse(error=e)
|
|
297
|
+
|
|
298
|
+
async def get_pools(self, machine_id: str) -> ApiResponse:
|
|
299
|
+
"""Get all pools that a machine belongs to."""
|
|
300
|
+
try:
|
|
301
|
+
response = await get_machine_pools_v1_machines_machine_id_pools_get.asyncio(
|
|
302
|
+
client=self.client,
|
|
303
|
+
machine_id=_to_uuid(machine_id)
|
|
304
|
+
)
|
|
305
|
+
return ApiResponse(data=response)
|
|
306
|
+
except Exception as e:
|
|
307
|
+
return ApiResponse(error=e)
|
|
308
|
+
|
|
309
|
+
def get_pools_sync(self, machine_id: str) -> ApiResponse:
|
|
310
|
+
"""Get all pools that a machine belongs to (synchronous)."""
|
|
311
|
+
try:
|
|
312
|
+
response = get_machine_pools_v1_machines_machine_id_pools_get.sync(
|
|
313
|
+
client=self.client,
|
|
314
|
+
machine_id=_to_uuid(machine_id)
|
|
315
|
+
)
|
|
316
|
+
return ApiResponse(data=response)
|
|
317
|
+
except Exception as e:
|
|
318
|
+
return ApiResponse(error=e)
|
|
319
|
+
|
|
320
|
+
async def update_pools(self, machine_id: str, data: MachinePoolUpdate) -> ApiResponse:
|
|
321
|
+
"""Update a machine's pool assignments.
|
|
322
|
+
|
|
323
|
+
This replaces all existing pool assignments with the new ones.
|
|
324
|
+
|
|
325
|
+
Args:
|
|
326
|
+
machine_id: The machine ID
|
|
327
|
+
data: MachinePoolUpdate with pool_ids list
|
|
328
|
+
|
|
329
|
+
Returns:
|
|
330
|
+
ApiResponse with updated MachineResponse
|
|
331
|
+
"""
|
|
332
|
+
try:
|
|
333
|
+
response = await update_machine_pools_v1_machines_machine_id_pools_put.asyncio(
|
|
334
|
+
client=self.client,
|
|
335
|
+
machine_id=_to_uuid(machine_id),
|
|
336
|
+
body=data
|
|
337
|
+
)
|
|
338
|
+
return ApiResponse(data=response)
|
|
339
|
+
except Exception as e:
|
|
340
|
+
return ApiResponse(error=e)
|
|
341
|
+
|
|
342
|
+
def update_pools_sync(self, machine_id: str, data: MachinePoolUpdate) -> ApiResponse:
|
|
343
|
+
"""Update a machine's pool assignments (synchronous).
|
|
344
|
+
|
|
345
|
+
This replaces all existing pool assignments with the new ones.
|
|
346
|
+
|
|
347
|
+
Args:
|
|
348
|
+
machine_id: The machine ID
|
|
349
|
+
data: MachinePoolUpdate with pool_ids list
|
|
350
|
+
|
|
351
|
+
Returns:
|
|
352
|
+
ApiResponse with updated MachineResponse
|
|
353
|
+
"""
|
|
354
|
+
try:
|
|
355
|
+
response = update_machine_pools_v1_machines_machine_id_pools_put.sync(
|
|
356
|
+
client=self.client,
|
|
357
|
+
machine_id=_to_uuid(machine_id),
|
|
358
|
+
body=data
|
|
359
|
+
)
|
|
360
|
+
return ApiResponse(data=response)
|
|
361
|
+
except Exception as e:
|
|
362
|
+
return ApiResponse(error=e)
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
class PoolsAPI:
|
|
366
|
+
"""Pools API endpoints."""
|
|
367
|
+
|
|
368
|
+
def __init__(self, client: AuthenticatedClient):
|
|
369
|
+
self.client = client
|
|
370
|
+
|
|
371
|
+
async def list(
|
|
372
|
+
self,
|
|
373
|
+
skip: Optional[int] = None,
|
|
374
|
+
limit: Optional[int] = None
|
|
375
|
+
) -> ApiResponse:
|
|
376
|
+
"""List pools for the organization."""
|
|
377
|
+
try:
|
|
378
|
+
response = await list_pools_v1_pools_get.asyncio(
|
|
379
|
+
client=self.client,
|
|
380
|
+
skip=_to_unset_or_value(skip),
|
|
381
|
+
limit=_to_unset_or_value(limit)
|
|
382
|
+
)
|
|
383
|
+
return ApiResponse(data=response)
|
|
384
|
+
except Exception as e:
|
|
385
|
+
return ApiResponse(error=e)
|
|
386
|
+
|
|
387
|
+
def list_sync(
|
|
388
|
+
self,
|
|
389
|
+
skip: Optional[int] = None,
|
|
390
|
+
limit: Optional[int] = None
|
|
391
|
+
) -> ApiResponse:
|
|
392
|
+
"""List pools for the organization (synchronous)."""
|
|
393
|
+
try:
|
|
394
|
+
response = list_pools_v1_pools_get.sync(
|
|
395
|
+
client=self.client,
|
|
396
|
+
skip=_to_unset_or_value(skip),
|
|
397
|
+
limit=_to_unset_or_value(limit)
|
|
398
|
+
)
|
|
399
|
+
return ApiResponse(data=response)
|
|
400
|
+
except Exception as e:
|
|
401
|
+
return ApiResponse(error=e)
|
|
402
|
+
|
|
403
|
+
async def create(self, data: PoolCreate) -> ApiResponse:
|
|
404
|
+
"""Create a new pool."""
|
|
405
|
+
try:
|
|
406
|
+
response = await create_pool_v1_pools_post.asyncio(
|
|
407
|
+
client=self.client,
|
|
408
|
+
body=data
|
|
409
|
+
)
|
|
410
|
+
return ApiResponse(data=response)
|
|
411
|
+
except Exception as e:
|
|
412
|
+
return ApiResponse(error=e)
|
|
413
|
+
|
|
414
|
+
def create_sync(self, data: PoolCreate) -> ApiResponse:
|
|
415
|
+
"""Create a new pool (synchronous)."""
|
|
416
|
+
try:
|
|
417
|
+
response = create_pool_v1_pools_post.sync(
|
|
418
|
+
client=self.client,
|
|
419
|
+
body=data
|
|
420
|
+
)
|
|
421
|
+
return ApiResponse(data=response)
|
|
422
|
+
except Exception as e:
|
|
423
|
+
return ApiResponse(error=e)
|
|
424
|
+
|
|
425
|
+
async def get(self, pool_id: str, include_machines: bool = False) -> ApiResponse:
|
|
426
|
+
"""Get a specific pool by ID.
|
|
427
|
+
|
|
428
|
+
Args:
|
|
429
|
+
pool_id: The pool ID
|
|
430
|
+
include_machines: Whether to include full machine details
|
|
431
|
+
|
|
432
|
+
Returns:
|
|
433
|
+
ApiResponse with PoolResponse or PoolWithMachines
|
|
434
|
+
"""
|
|
435
|
+
try:
|
|
436
|
+
response = await get_pool_v1_pools_pool_id_get.asyncio(
|
|
437
|
+
client=self.client,
|
|
438
|
+
pool_id=_to_uuid(pool_id),
|
|
439
|
+
include_machines=include_machines
|
|
440
|
+
)
|
|
441
|
+
return ApiResponse(data=response)
|
|
442
|
+
except Exception as e:
|
|
443
|
+
return ApiResponse(error=e)
|
|
444
|
+
|
|
445
|
+
def get_sync(self, pool_id: str, include_machines: bool = False) -> ApiResponse:
|
|
446
|
+
"""Get a specific pool by ID (synchronous).
|
|
447
|
+
|
|
448
|
+
Args:
|
|
449
|
+
pool_id: The pool ID
|
|
450
|
+
include_machines: Whether to include full machine details
|
|
451
|
+
|
|
452
|
+
Returns:
|
|
453
|
+
ApiResponse with PoolResponse or PoolWithMachines
|
|
454
|
+
"""
|
|
455
|
+
try:
|
|
456
|
+
response = get_pool_v1_pools_pool_id_get.sync(
|
|
457
|
+
client=self.client,
|
|
458
|
+
pool_id=_to_uuid(pool_id),
|
|
459
|
+
include_machines=include_machines
|
|
460
|
+
)
|
|
461
|
+
return ApiResponse(data=response)
|
|
462
|
+
except Exception as e:
|
|
463
|
+
return ApiResponse(error=e)
|
|
464
|
+
|
|
465
|
+
async def update(self, pool_id: str, data: PoolUpdate) -> ApiResponse:
|
|
466
|
+
"""Update a pool's details."""
|
|
467
|
+
try:
|
|
468
|
+
response = await update_pool_v1_pools_pool_id_patch.asyncio(
|
|
469
|
+
client=self.client,
|
|
470
|
+
pool_id=_to_uuid(pool_id),
|
|
471
|
+
body=data
|
|
472
|
+
)
|
|
473
|
+
return ApiResponse(data=response)
|
|
474
|
+
except Exception as e:
|
|
475
|
+
return ApiResponse(error=e)
|
|
476
|
+
|
|
477
|
+
def update_sync(self, pool_id: str, data: PoolUpdate) -> ApiResponse:
|
|
478
|
+
"""Update a pool's details (synchronous)."""
|
|
479
|
+
try:
|
|
480
|
+
response = update_pool_v1_pools_pool_id_patch.sync(
|
|
481
|
+
client=self.client,
|
|
482
|
+
pool_id=_to_uuid(pool_id),
|
|
483
|
+
body=data
|
|
484
|
+
)
|
|
485
|
+
return ApiResponse(data=response)
|
|
486
|
+
except Exception as e:
|
|
487
|
+
return ApiResponse(error=e)
|
|
488
|
+
|
|
489
|
+
async def delete(self, pool_id: str) -> ApiResponse:
|
|
490
|
+
"""Delete a pool. This will not delete the machines in the pool."""
|
|
491
|
+
try:
|
|
492
|
+
await delete_pool_v1_pools_pool_id_delete.asyncio(
|
|
493
|
+
client=self.client,
|
|
494
|
+
pool_id=_to_uuid(pool_id)
|
|
495
|
+
)
|
|
496
|
+
return ApiResponse(data={"success": True})
|
|
497
|
+
except Exception as e:
|
|
498
|
+
return ApiResponse(error=e)
|
|
499
|
+
|
|
500
|
+
def delete_sync(self, pool_id: str) -> ApiResponse:
|
|
501
|
+
"""Delete a pool. This will not delete the machines in the pool (synchronous)."""
|
|
502
|
+
try:
|
|
503
|
+
delete_pool_v1_pools_pool_id_delete.sync(
|
|
504
|
+
client=self.client,
|
|
505
|
+
pool_id=_to_uuid(pool_id)
|
|
506
|
+
)
|
|
507
|
+
return ApiResponse(data={"success": True})
|
|
508
|
+
except Exception as e:
|
|
509
|
+
return ApiResponse(error=e)
|
|
510
|
+
|
|
511
|
+
async def add_machines(self, pool_id: str, data: MachinePoolAssignment) -> ApiResponse:
|
|
512
|
+
"""Add machines to a pool.
|
|
513
|
+
|
|
514
|
+
Args:
|
|
515
|
+
pool_id: The pool ID
|
|
516
|
+
data: MachinePoolAssignment with machine_ids list
|
|
517
|
+
|
|
518
|
+
Returns:
|
|
519
|
+
ApiResponse with PoolWithMachines
|
|
520
|
+
"""
|
|
521
|
+
try:
|
|
522
|
+
response = await add_machines_to_pool_v1_pools_pool_id_machines_post.asyncio(
|
|
523
|
+
client=self.client,
|
|
524
|
+
pool_id=_to_uuid(pool_id),
|
|
525
|
+
body=data
|
|
526
|
+
)
|
|
527
|
+
return ApiResponse(data=response)
|
|
528
|
+
except Exception as e:
|
|
529
|
+
return ApiResponse(error=e)
|
|
530
|
+
|
|
531
|
+
def add_machines_sync(self, pool_id: str, data: MachinePoolAssignment) -> ApiResponse:
|
|
532
|
+
"""Add machines to a pool (synchronous).
|
|
533
|
+
|
|
534
|
+
Args:
|
|
535
|
+
pool_id: The pool ID
|
|
536
|
+
data: MachinePoolAssignment with machine_ids list
|
|
537
|
+
|
|
538
|
+
Returns:
|
|
539
|
+
ApiResponse with PoolWithMachines
|
|
540
|
+
"""
|
|
541
|
+
try:
|
|
542
|
+
response = add_machines_to_pool_v1_pools_pool_id_machines_post.sync(
|
|
543
|
+
client=self.client,
|
|
544
|
+
pool_id=_to_uuid(pool_id),
|
|
545
|
+
body=data
|
|
546
|
+
)
|
|
547
|
+
return ApiResponse(data=response)
|
|
548
|
+
except Exception as e:
|
|
549
|
+
return ApiResponse(error=e)
|
|
550
|
+
|
|
551
|
+
async def remove_machines(self, pool_id: str, data: MachinePoolAssignment) -> ApiResponse:
|
|
552
|
+
"""Remove machines from a pool.
|
|
553
|
+
|
|
554
|
+
Args:
|
|
555
|
+
pool_id: The pool ID
|
|
556
|
+
data: MachinePoolAssignment with machine_ids list
|
|
557
|
+
|
|
558
|
+
Returns:
|
|
559
|
+
ApiResponse with success status
|
|
560
|
+
"""
|
|
561
|
+
try:
|
|
562
|
+
await remove_machines_from_pool_v1_pools_pool_id_machines_delete.asyncio(
|
|
563
|
+
client=self.client,
|
|
564
|
+
pool_id=_to_uuid(pool_id),
|
|
565
|
+
body=data
|
|
566
|
+
)
|
|
567
|
+
return ApiResponse(data={"success": True})
|
|
568
|
+
except Exception as e:
|
|
569
|
+
return ApiResponse(error=e)
|
|
570
|
+
|
|
571
|
+
def remove_machines_sync(self, pool_id: str, data: MachinePoolAssignment) -> ApiResponse:
|
|
572
|
+
"""Remove machines from a pool (synchronous).
|
|
573
|
+
|
|
574
|
+
Args:
|
|
575
|
+
pool_id: The pool ID
|
|
576
|
+
data: MachinePoolAssignment with machine_ids list
|
|
577
|
+
|
|
578
|
+
Returns:
|
|
579
|
+
ApiResponse with success status
|
|
580
|
+
"""
|
|
581
|
+
try:
|
|
582
|
+
remove_machines_from_pool_v1_pools_pool_id_machines_delete.sync(
|
|
583
|
+
client=self.client,
|
|
584
|
+
pool_id=_to_uuid(pool_id),
|
|
585
|
+
body=data
|
|
586
|
+
)
|
|
587
|
+
return ApiResponse(data={"success": True})
|
|
588
|
+
except Exception as e:
|
|
589
|
+
return ApiResponse(error=e)
|
|
273
590
|
|
|
274
591
|
|
|
275
592
|
class WorkflowsAPI:
|
|
@@ -444,7 +761,19 @@ class RunsAPI:
|
|
|
444
761
|
return ApiResponse(error=e)
|
|
445
762
|
|
|
446
763
|
async def create(self, data: RunCreate) -> ApiResponse:
|
|
447
|
-
"""Create a new run.
|
|
764
|
+
"""Create a new run.
|
|
765
|
+
|
|
766
|
+
Args:
|
|
767
|
+
data: RunCreate object with:
|
|
768
|
+
- workflow_id: The workflow to run
|
|
769
|
+
- machine_id: Optional specific machine ID
|
|
770
|
+
- pool_ids: Optional list of pool IDs (machine must be in ALL specified pools)
|
|
771
|
+
- input_values: Optional input values for workflow variables
|
|
772
|
+
- file_inputs: Optional files to upload to the machine
|
|
773
|
+
|
|
774
|
+
Returns:
|
|
775
|
+
ApiResponse with RunResponse
|
|
776
|
+
"""
|
|
448
777
|
try:
|
|
449
778
|
response = await create_run_v1_runs_post.asyncio(
|
|
450
779
|
client=self.client,
|
|
@@ -455,7 +784,19 @@ class RunsAPI:
|
|
|
455
784
|
return ApiResponse(error=e)
|
|
456
785
|
|
|
457
786
|
def create_sync(self, data: RunCreate) -> ApiResponse:
|
|
458
|
-
"""Create a new run (synchronous).
|
|
787
|
+
"""Create a new run (synchronous).
|
|
788
|
+
|
|
789
|
+
Args:
|
|
790
|
+
data: RunCreate object with:
|
|
791
|
+
- workflow_id: The workflow to run
|
|
792
|
+
- machine_id: Optional specific machine ID
|
|
793
|
+
- pool_ids: Optional list of pool IDs (machine must be in ALL specified pools)
|
|
794
|
+
- input_values: Optional input values for workflow variables
|
|
795
|
+
- file_inputs: Optional files to upload to the machine
|
|
796
|
+
|
|
797
|
+
Returns:
|
|
798
|
+
ApiResponse with RunResponse
|
|
799
|
+
"""
|
|
459
800
|
try:
|
|
460
801
|
response = create_run_v1_runs_post.sync(
|
|
461
802
|
client=self.client,
|
|
@@ -542,8 +883,13 @@ class RunsAPI:
|
|
|
542
883
|
- Returns immediately with created run details
|
|
543
884
|
|
|
544
885
|
Args:
|
|
545
|
-
data: RunBulkCreate object containing
|
|
546
|
-
|
|
886
|
+
data: RunBulkCreate object containing:
|
|
887
|
+
- workflow_id: The workflow to run
|
|
888
|
+
- machine_id: Optional specific machine ID
|
|
889
|
+
- pool_ids: Optional list of pool IDs (machine must be in ALL specified pools)
|
|
890
|
+
- input_values: Optional input values for workflow variables
|
|
891
|
+
- file_inputs: Optional files to upload to the machine
|
|
892
|
+
- count: Number of runs to create (max 1000)
|
|
547
893
|
|
|
548
894
|
Returns:
|
|
549
895
|
ApiResponse with RunBulkCreateResponse containing:
|
|
@@ -569,8 +915,13 @@ class RunsAPI:
|
|
|
569
915
|
- Returns immediately with created run details
|
|
570
916
|
|
|
571
917
|
Args:
|
|
572
|
-
data: RunBulkCreate object containing
|
|
573
|
-
|
|
918
|
+
data: RunBulkCreate object containing:
|
|
919
|
+
- workflow_id: The workflow to run
|
|
920
|
+
- machine_id: Optional specific machine ID
|
|
921
|
+
- pool_ids: Optional list of pool IDs (machine must be in ALL specified pools)
|
|
922
|
+
- input_values: Optional input values for workflow variables
|
|
923
|
+
- file_inputs: Optional files to upload to the machine
|
|
924
|
+
- count: Number of runs to create (max 1000)
|
|
574
925
|
|
|
575
926
|
Returns:
|
|
576
927
|
ApiResponse with RunBulkCreateResponse containing:
|
|
@@ -1173,6 +1524,7 @@ class CyberdeskClient:
|
|
|
1173
1524
|
|
|
1174
1525
|
# Initialize API endpoints
|
|
1175
1526
|
self.machines = MachinesAPI(self._client)
|
|
1527
|
+
self.pools = PoolsAPI(self._client)
|
|
1176
1528
|
self.workflows = WorkflowsAPI(self._client)
|
|
1177
1529
|
self.runs = RunsAPI(self._client)
|
|
1178
1530
|
self.connections = ConnectionsAPI(self._client)
|
|
@@ -41,9 +41,19 @@ openapi_client/cyberdesk_cloud_client/api/health/health_check_v1_health_get.py
|
|
|
41
41
|
openapi_client/cyberdesk_cloud_client/api/machines/__init__.py
|
|
42
42
|
openapi_client/cyberdesk_cloud_client/api/machines/create_machine_v1_machines_post.py
|
|
43
43
|
openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py
|
|
44
|
+
openapi_client/cyberdesk_cloud_client/api/machines/get_machine_pools_v1_machines_machine_id_pools_get.py
|
|
44
45
|
openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py
|
|
45
46
|
openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py
|
|
47
|
+
openapi_client/cyberdesk_cloud_client/api/machines/update_machine_pools_v1_machines_machine_id_pools_put.py
|
|
46
48
|
openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py
|
|
49
|
+
openapi_client/cyberdesk_cloud_client/api/pools/__init__.py
|
|
50
|
+
openapi_client/cyberdesk_cloud_client/api/pools/add_machines_to_pool_v1_pools_pool_id_machines_post.py
|
|
51
|
+
openapi_client/cyberdesk_cloud_client/api/pools/create_pool_v1_pools_post.py
|
|
52
|
+
openapi_client/cyberdesk_cloud_client/api/pools/delete_pool_v1_pools_pool_id_delete.py
|
|
53
|
+
openapi_client/cyberdesk_cloud_client/api/pools/get_pool_v1_pools_pool_id_get.py
|
|
54
|
+
openapi_client/cyberdesk_cloud_client/api/pools/list_pools_v1_pools_get.py
|
|
55
|
+
openapi_client/cyberdesk_cloud_client/api/pools/remove_machines_from_pool_v1_pools_pool_id_machines_delete.py
|
|
56
|
+
openapi_client/cyberdesk_cloud_client/api/pools/update_pool_v1_pools_pool_id_patch.py
|
|
47
57
|
openapi_client/cyberdesk_cloud_client/api/request_logs/__init__.py
|
|
48
58
|
openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py
|
|
49
59
|
openapi_client/cyberdesk_cloud_client/api/request_logs/delete_request_log_v1_request_logs_log_id_delete.py
|
|
@@ -100,6 +110,8 @@ openapi_client/cyberdesk_cloud_client/models/http_validation_error.py
|
|
|
100
110
|
openapi_client/cyberdesk_cloud_client/models/keyboard_key_request.py
|
|
101
111
|
openapi_client/cyberdesk_cloud_client/models/keyboard_type_request.py
|
|
102
112
|
openapi_client/cyberdesk_cloud_client/models/machine_create.py
|
|
113
|
+
openapi_client/cyberdesk_cloud_client/models/machine_pool_assignment.py
|
|
114
|
+
openapi_client/cyberdesk_cloud_client/models/machine_pool_update.py
|
|
103
115
|
openapi_client/cyberdesk_cloud_client/models/machine_response.py
|
|
104
116
|
openapi_client/cyberdesk_cloud_client/models/machine_status.py
|
|
105
117
|
openapi_client/cyberdesk_cloud_client/models/machine_update.py
|
|
@@ -109,10 +121,15 @@ openapi_client/cyberdesk_cloud_client/models/mouse_position.py
|
|
|
109
121
|
openapi_client/cyberdesk_cloud_client/models/paginated_response.py
|
|
110
122
|
openapi_client/cyberdesk_cloud_client/models/paginated_response_connection_response.py
|
|
111
123
|
openapi_client/cyberdesk_cloud_client/models/paginated_response_machine_response.py
|
|
124
|
+
openapi_client/cyberdesk_cloud_client/models/paginated_response_pool_response.py
|
|
112
125
|
openapi_client/cyberdesk_cloud_client/models/paginated_response_run_attachment_response.py
|
|
113
126
|
openapi_client/cyberdesk_cloud_client/models/paginated_response_run_response.py
|
|
114
127
|
openapi_client/cyberdesk_cloud_client/models/paginated_response_trajectory_response.py
|
|
115
128
|
openapi_client/cyberdesk_cloud_client/models/paginated_response_workflow_response.py
|
|
129
|
+
openapi_client/cyberdesk_cloud_client/models/pool_create.py
|
|
130
|
+
openapi_client/cyberdesk_cloud_client/models/pool_response.py
|
|
131
|
+
openapi_client/cyberdesk_cloud_client/models/pool_update.py
|
|
132
|
+
openapi_client/cyberdesk_cloud_client/models/pool_with_machines.py
|
|
116
133
|
openapi_client/cyberdesk_cloud_client/models/power_shell_exec_request.py
|
|
117
134
|
openapi_client/cyberdesk_cloud_client/models/power_shell_session_request.py
|
|
118
135
|
openapi_client/cyberdesk_cloud_client/models/powershell_exec_v1_computer_machine_id_shell_powershell_exec_post_response_powershell_exec_v1_computer_machine_id_shell_powershell_exec_post.py
|
|
@@ -67,7 +67,7 @@ def sync_detailed(
|
|
|
67
67
|
|
|
68
68
|
Create a new connection (typically done by the WebSocket handler).
|
|
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
|
|
|
72
72
|
Args:
|
|
73
73
|
body (ConnectionCreate): Schema for creating a connection
|
|
@@ -100,7 +100,7 @@ def sync(
|
|
|
100
100
|
|
|
101
101
|
Create a new connection (typically done by the WebSocket handler).
|
|
102
102
|
|
|
103
|
-
The machine must exist and belong to the authenticated
|
|
103
|
+
The machine must exist and belong to the authenticated organization.
|
|
104
104
|
|
|
105
105
|
Args:
|
|
106
106
|
body (ConnectionCreate): Schema for creating a connection
|
|
@@ -128,7 +128,7 @@ async def asyncio_detailed(
|
|
|
128
128
|
|
|
129
129
|
Create a new connection (typically done by the WebSocket handler).
|
|
130
130
|
|
|
131
|
-
The machine must exist and belong to the authenticated
|
|
131
|
+
The machine must exist and belong to the authenticated organization.
|
|
132
132
|
|
|
133
133
|
Args:
|
|
134
134
|
body (ConnectionCreate): Schema for creating a connection
|
|
@@ -159,7 +159,7 @@ async def asyncio(
|
|
|
159
159
|
|
|
160
160
|
Create a new connection (typically done by the WebSocket handler).
|
|
161
161
|
|
|
162
|
-
The machine must exist and belong to the authenticated
|
|
162
|
+
The machine must exist and belong to the authenticated organization.
|
|
163
163
|
|
|
164
164
|
Args:
|
|
165
165
|
body (ConnectionCreate): Schema for creating a connection
|
|
@@ -57,7 +57,7 @@ def sync_detailed(
|
|
|
57
57
|
|
|
58
58
|
Delete a connection (not typically used - connections are managed automatically).
|
|
59
59
|
|
|
60
|
-
The connection must belong to a machine owned by the authenticated
|
|
60
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
61
61
|
|
|
62
62
|
Args:
|
|
63
63
|
connection_id (UUID):
|
|
@@ -90,7 +90,7 @@ def sync(
|
|
|
90
90
|
|
|
91
91
|
Delete a connection (not typically used - connections are managed automatically).
|
|
92
92
|
|
|
93
|
-
The connection must belong to a machine owned by the authenticated
|
|
93
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
94
94
|
|
|
95
95
|
Args:
|
|
96
96
|
connection_id (UUID):
|
|
@@ -118,7 +118,7 @@ async def asyncio_detailed(
|
|
|
118
118
|
|
|
119
119
|
Delete a connection (not typically used - connections are managed automatically).
|
|
120
120
|
|
|
121
|
-
The connection must belong to a machine owned by the authenticated
|
|
121
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
122
122
|
|
|
123
123
|
Args:
|
|
124
124
|
connection_id (UUID):
|
|
@@ -149,7 +149,7 @@ async def asyncio(
|
|
|
149
149
|
|
|
150
150
|
Delete a connection (not typically used - connections are managed automatically).
|
|
151
151
|
|
|
152
|
-
The connection must belong to a machine owned by the authenticated
|
|
152
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
153
153
|
|
|
154
154
|
Args:
|
|
155
155
|
connection_id (UUID):
|
|
@@ -59,7 +59,7 @@ def sync_detailed(
|
|
|
59
59
|
|
|
60
60
|
Get a specific connection by ID.
|
|
61
61
|
|
|
62
|
-
The connection must belong to a machine owned by the authenticated
|
|
62
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
63
63
|
|
|
64
64
|
Args:
|
|
65
65
|
connection_id (UUID):
|
|
@@ -92,7 +92,7 @@ def sync(
|
|
|
92
92
|
|
|
93
93
|
Get a specific connection by ID.
|
|
94
94
|
|
|
95
|
-
The connection must belong to a machine owned by the authenticated
|
|
95
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
96
96
|
|
|
97
97
|
Args:
|
|
98
98
|
connection_id (UUID):
|
|
@@ -120,7 +120,7 @@ async def asyncio_detailed(
|
|
|
120
120
|
|
|
121
121
|
Get a specific connection by ID.
|
|
122
122
|
|
|
123
|
-
The connection must belong to a machine owned by the authenticated
|
|
123
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
124
124
|
|
|
125
125
|
Args:
|
|
126
126
|
connection_id (UUID):
|
|
@@ -151,7 +151,7 @@ async def asyncio(
|
|
|
151
151
|
|
|
152
152
|
Get a specific connection by ID.
|
|
153
153
|
|
|
154
|
-
The connection must belong to a machine owned by the authenticated
|
|
154
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
155
155
|
|
|
156
156
|
Args:
|
|
157
157
|
connection_id (UUID):
|
|
@@ -92,7 +92,7 @@ def sync_detailed(
|
|
|
92
92
|
) -> Response[Union[HTTPValidationError, PaginatedResponseConnectionResponse]]:
|
|
93
93
|
"""List Connections
|
|
94
94
|
|
|
95
|
-
List all connections for the authenticated
|
|
95
|
+
List all connections for the authenticated organization's machines.
|
|
96
96
|
|
|
97
97
|
Supports pagination and filtering by machine and status.
|
|
98
98
|
Returns connections with their associated machine data.
|
|
@@ -135,7 +135,7 @@ def sync(
|
|
|
135
135
|
) -> Optional[Union[HTTPValidationError, PaginatedResponseConnectionResponse]]:
|
|
136
136
|
"""List Connections
|
|
137
137
|
|
|
138
|
-
List all connections for the authenticated
|
|
138
|
+
List all connections for the authenticated organization's machines.
|
|
139
139
|
|
|
140
140
|
Supports pagination and filtering by machine and status.
|
|
141
141
|
Returns connections with their associated machine data.
|
|
@@ -173,7 +173,7 @@ async def asyncio_detailed(
|
|
|
173
173
|
) -> Response[Union[HTTPValidationError, PaginatedResponseConnectionResponse]]:
|
|
174
174
|
"""List Connections
|
|
175
175
|
|
|
176
|
-
List all connections for the authenticated
|
|
176
|
+
List all connections for the authenticated organization's machines.
|
|
177
177
|
|
|
178
178
|
Supports pagination and filtering by machine and status.
|
|
179
179
|
Returns connections with their associated machine data.
|
|
@@ -214,7 +214,7 @@ async def asyncio(
|
|
|
214
214
|
) -> Optional[Union[HTTPValidationError, PaginatedResponseConnectionResponse]]:
|
|
215
215
|
"""List Connections
|
|
216
216
|
|
|
217
|
-
List all connections for the authenticated
|
|
217
|
+
List all connections for the authenticated organization's machines.
|
|
218
218
|
|
|
219
219
|
Supports pagination and filtering by machine and status.
|
|
220
220
|
Returns connections with their associated machine data.
|
|
@@ -71,7 +71,7 @@ def sync_detailed(
|
|
|
71
71
|
Update a connection's status or timestamps.
|
|
72
72
|
|
|
73
73
|
Only the fields provided in the request body will be updated.
|
|
74
|
-
The connection must belong to a machine owned by the authenticated
|
|
74
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
75
75
|
|
|
76
76
|
Args:
|
|
77
77
|
connection_id (UUID):
|
|
@@ -108,7 +108,7 @@ def sync(
|
|
|
108
108
|
Update a connection's status or timestamps.
|
|
109
109
|
|
|
110
110
|
Only the fields provided in the request body will be updated.
|
|
111
|
-
The connection must belong to a machine owned by the authenticated
|
|
111
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
112
112
|
|
|
113
113
|
Args:
|
|
114
114
|
connection_id (UUID):
|
|
@@ -140,7 +140,7 @@ async def asyncio_detailed(
|
|
|
140
140
|
Update a connection's status or timestamps.
|
|
141
141
|
|
|
142
142
|
Only the fields provided in the request body will be updated.
|
|
143
|
-
The connection must belong to a machine owned by the authenticated
|
|
143
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
144
144
|
|
|
145
145
|
Args:
|
|
146
146
|
connection_id (UUID):
|
|
@@ -175,7 +175,7 @@ async def asyncio(
|
|
|
175
175
|
Update a connection's status or timestamps.
|
|
176
176
|
|
|
177
177
|
Only the fields provided in the request body will be updated.
|
|
178
|
-
The connection must belong to a machine owned by the authenticated
|
|
178
|
+
The connection must belong to a machine owned by the authenticated organization.
|
|
179
179
|
|
|
180
180
|
Args:
|
|
181
181
|
connection_id (UUID):
|