cyberdesk 2.0.0__py3-none-any.whl → 2.1.1__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.

Files changed (33) hide show
  1. cyberdesk/__init__.py +1 -1
  2. cyberdesk/client.py +480 -25
  3. {cyberdesk-2.0.0.dist-info → cyberdesk-2.1.1.dist-info}/METADATA +1 -1
  4. {cyberdesk-2.0.0.dist-info → cyberdesk-2.1.1.dist-info}/RECORD +33 -16
  5. openapi_client/cyberdesk_cloud_client/api/machines/get_machine_pools_v1_machines_machine_id_pools_get.py +169 -0
  6. openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py +53 -0
  7. openapi_client/cyberdesk_cloud_client/api/machines/update_machine_pools_v1_machines_machine_id_pools_put.py +190 -0
  8. openapi_client/cyberdesk_cloud_client/api/pools/__init__.py +1 -0
  9. openapi_client/cyberdesk_cloud_client/api/pools/add_machines_to_pool_v1_pools_pool_id_machines_post.py +186 -0
  10. openapi_client/cyberdesk_cloud_client/api/pools/create_pool_v1_pools_post.py +172 -0
  11. openapi_client/cyberdesk_cloud_client/api/pools/delete_pool_v1_pools_pool_id_delete.py +162 -0
  12. openapi_client/cyberdesk_cloud_client/api/pools/get_pool_v1_pools_pool_id_get.py +185 -0
  13. openapi_client/cyberdesk_cloud_client/api/pools/list_pools_v1_pools_get.py +186 -0
  14. openapi_client/cyberdesk_cloud_client/api/pools/remove_machines_from_pool_v1_pools_pool_id_machines_delete.py +184 -0
  15. openapi_client/cyberdesk_cloud_client/api/pools/update_pool_v1_pools_pool_id_patch.py +186 -0
  16. openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py +53 -0
  17. openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py +105 -0
  18. openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py +105 -0
  19. openapi_client/cyberdesk_cloud_client/models/__init__.py +14 -0
  20. openapi_client/cyberdesk_cloud_client/models/machine_pool_assignment.py +69 -0
  21. openapi_client/cyberdesk_cloud_client/models/machine_pool_update.py +69 -0
  22. openapi_client/cyberdesk_cloud_client/models/machine_response.py +46 -1
  23. openapi_client/cyberdesk_cloud_client/models/paginated_response_pool_response.py +97 -0
  24. openapi_client/cyberdesk_cloud_client/models/pool_create.py +82 -0
  25. openapi_client/cyberdesk_cloud_client/models/pool_response.py +137 -0
  26. openapi_client/cyberdesk_cloud_client/models/pool_update.py +92 -0
  27. openapi_client/cyberdesk_cloud_client/models/pool_with_machines.py +162 -0
  28. openapi_client/cyberdesk_cloud_client/models/run_bulk_create.py +40 -0
  29. openapi_client/cyberdesk_cloud_client/models/run_create.py +40 -0
  30. openapi_client/cyberdesk_cloud_client/models/run_response.py +39 -0
  31. {cyberdesk-2.0.0.dist-info → cyberdesk-2.1.1.dist-info}/WHEEL +0 -0
  32. {cyberdesk-2.0.0.dist-info → cyberdesk-2.1.1.dist-info}/licenses/LICENSE +0 -0
  33. {cyberdesk-2.0.0.dist-info → cyberdesk-2.1.1.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cyberdesk
3
- Version: 2.0.0
3
+ Version: 2.1.1
4
4
  Summary: The official Python SDK for Cyberdesk
5
5
  Author-email: Cyberdesk Team <dev@cyberdesk.io>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
- cyberdesk/__init__.py,sha256=mOhlL-zLpqcEO7QCLybSpmRFgUrpT4-0IeqX0sMXcjs,1157
2
- cyberdesk/client.py,sha256=UkpItVaLFrhM7VoBndT1vBiZk6RrECy9segb4QCj9j4,44114
3
- cyberdesk-2.0.0.dist-info/licenses/LICENSE,sha256=06Op63FCwGhuUOz__M8IZW5sxd29WxyGC4X5-Uih7IQ,1071
1
+ cyberdesk/__init__.py,sha256=Jq1ZuzRSOCUMO-ES-lNWYixMZlscQ6Y0TahjwCRMXII,1157
2
+ cyberdesk/client.py,sha256=XnShzmR_0eJ_YwJ-Eqw7DGpDgYjeMKrAYoeYYk-t7XY,62025
3
+ cyberdesk-2.1.1.dist-info/licenses/LICENSE,sha256=06Op63FCwGhuUOz__M8IZW5sxd29WxyGC4X5-Uih7IQ,1071
4
4
  openapi_client/cyberdesk_cloud_client/__init__.py,sha256=r_uVkNUL-SOK8j7-KiGMIKdinES5X8K1Q250ySX2F-A,158
5
5
  openapi_client/cyberdesk_cloud_client/client.py,sha256=o_mdLqyBCQstu5tS1WZFwqIEbGwkvWQ7eQjuCJw_5VY,12419
6
6
  openapi_client/cyberdesk_cloud_client/errors.py,sha256=gO8GBmKqmSNgAg-E5oT-oOyxztvp7V_6XG7OUTT15q0,546
@@ -34,9 +34,19 @@ openapi_client/cyberdesk_cloud_client/api/health/health_check_v1_health_get.py,s
34
34
  openapi_client/cyberdesk_cloud_client/api/machines/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
35
35
  openapi_client/cyberdesk_cloud_client/api/machines/create_machine_v1_machines_post.py,sha256=4AxFmCuNy7Hqcua9TCeK67-BSXmUTIJ1iVYPVr4_dPs,4795
36
36
  openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py,sha256=-P8TqtFvPBL47vjx6cpaFNugHGOWirzSHPMzJxHCT1w,4584
37
+ openapi_client/cyberdesk_cloud_client/api/machines/get_machine_pools_v1_machines_machine_id_pools_get.py,sha256=oqAf2YGONto0zV9pB3fnBX3B9S6fSKGmO5Y7V0nI6jY,4548
37
38
  openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py,sha256=ygavJyYWH59YYO9nwjWItmjYxNf3-jer138RUqscFpM,4502
38
- openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py,sha256=fD9qvJ4MwjrZPqCDRwLO0dy7emSNSczXTSrplx_TjWE,6499
39
+ openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py,sha256=Viw1xwNcnPMi1hdt_g2zlh_ayRpOYJmz8cm2NYKYHls,9299
40
+ openapi_client/cyberdesk_cloud_client/api/machines/update_machine_pools_v1_machines_machine_id_pools_put.py,sha256=L7EUPJh-f3fLlIp7j7D6TDriKG2SzjlT7XCkhx3HkrU,5363
39
41
  openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py,sha256=8dqEUZaTMLAIbDSrZ7lzAHsU_CecWkzpoSwVoZ5aTMk,5446
42
+ openapi_client/cyberdesk_cloud_client/api/pools/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
43
+ openapi_client/cyberdesk_cloud_client/api/pools/add_machines_to_pool_v1_pools_pool_id_machines_post.py,sha256=obWOLy7jQbLwBJbX-OJ6U_ZhXgr24bXmZRqJzIJTKas,5008
44
+ openapi_client/cyberdesk_cloud_client/api/pools/create_pool_v1_pools_post.py,sha256=7dacQgMIDSE1OBFcUwNr1hzFRQUoVZDRzf6tIRdEnDQ,4488
45
+ openapi_client/cyberdesk_cloud_client/api/pools/delete_pool_v1_pools_pool_id_delete.py,sha256=GrDOSy5HGqxVoL2qqoSXoWZMMU4Uf4ZEZbDBLjbcSwQ,4123
46
+ openapi_client/cyberdesk_cloud_client/api/pools/get_pool_v1_pools_pool_id_get.py,sha256=JQkIa23YTrmhUQRtEueEjbQbzN5w8yhXHOjhIuVyq40,5188
47
+ openapi_client/cyberdesk_cloud_client/api/pools/list_pools_v1_pools_get.py,sha256=55jaNqNdq2rCgXOgW8DWYlFY2BR5yPSdIlXdZvC8A0I,5190
48
+ openapi_client/cyberdesk_cloud_client/api/pools/remove_machines_from_pool_v1_pools_pool_id_machines_delete.py,sha256=n001tZg1wVFKQIzqWicFsQ-lP5G_H6mM7UooPDMMrlY,4839
49
+ openapi_client/cyberdesk_cloud_client/api/pools/update_pool_v1_pools_pool_id_patch.py,sha256=-_6txdkWzTQGHW3IkAB6TgyfqOYb599siPbyQhtGLgc,4745
40
50
  openapi_client/cyberdesk_cloud_client/api/request_logs/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
41
51
  openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py,sha256=pYWsEho0fFAik-XtQmLXky1KAYMSvM-kozREYW3NYcc,5157
42
52
  openapi_client/cyberdesk_cloud_client/api/request_logs/delete_request_log_v1_request_logs_log_id_delete.py,sha256=8HWp4-MCAG77-R0-i3Joi0unfCCLtasMjJUpf6KiFG0,4500
@@ -56,7 +66,7 @@ openapi_client/cyberdesk_cloud_client/api/runs/bulk_create_runs_v1_runs_bulk_pos
56
66
  openapi_client/cyberdesk_cloud_client/api/runs/create_run_v1_runs_post.py,sha256=GhCe-A0JxVWvTgzA4AyKEJQOlem0uzttLmXBxRLlUys,5451
57
67
  openapi_client/cyberdesk_cloud_client/api/runs/delete_run_v1_runs_run_id_delete.py,sha256=dOGd7lAPd9SBn9-13zhTx-wTtM6YQvT3WspjIQjOhHg,4428
58
68
  openapi_client/cyberdesk_cloud_client/api/runs/get_run_v1_runs_run_id_get.py,sha256=4mPvnOtAICVqzyXbD5Gdtqq_f1ardg7WpseT8RI3mwQ,4594
59
- openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py,sha256=CXGk9-yOCaB1tlqa6VXhmi9IghXGi_MYTZJ5zzW6NdQ,8630
69
+ openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py,sha256=_xiQyKovzQOwvesQH1lwid0zh1ZCGIimsOdJFUB21BI,11398
60
70
  openapi_client/cyberdesk_cloud_client/api/runs/update_run_v1_runs_run_id_patch.py,sha256=8m2VaIjCilDkmkzgZ1D7JfNScDqgNRheaaUcuMqPibQ,5182
61
71
  openapi_client/cyberdesk_cloud_client/api/test/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
62
72
  openapi_client/cyberdesk_cloud_client/api/test/dummy_test_endpoint_v1_test_post.py,sha256=sxmvHugxdpK3jb8jmjUfo-pbzmmNU92C-Ze8quxSWC8,4642
@@ -65,16 +75,16 @@ openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_traj
65
75
  openapi_client/cyberdesk_cloud_client/api/trajectories/delete_trajectory_v1_trajectories_trajectory_id_delete.py,sha256=uvWcVq-VsklflJd47OKsYszIXNFPu0YCAADo8NHmTR4,4366
66
76
  openapi_client/cyberdesk_cloud_client/api/trajectories/get_latest_trajectory_for_workflow_v1_workflows_workflow_id_latest_trajectory_get.py,sha256=kFsYg3Jx13x56TrHCVuM7yzPBWKVBwZPklSxqELx1Fc,5026
67
77
  openapi_client/cyberdesk_cloud_client/api/trajectories/get_trajectory_v1_trajectories_trajectory_id_get.py,sha256=d3cTp_hEThXejqxsdnRg1QhVoSMGMO1cLdeUG1vy7oo,4883
68
- openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py,sha256=1Px0RjH7Bjse4yXKjGJ04fa5RvFioy2XVyAvI5QBdFo,6833
78
+ openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py,sha256=kcpnHm4rOpocEE90PibDFRlOIQhgVYl96IjY4bdHh9k,12481
69
79
  openapi_client/cyberdesk_cloud_client/api/trajectories/update_trajectory_v1_trajectories_trajectory_id_patch.py,sha256=s3S6I24Tsf1nTByOf3bNw88WAfo6ogdo_PG7AjDbl-Q,5596
70
80
  openapi_client/cyberdesk_cloud_client/api/workflows/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
71
81
  openapi_client/cyberdesk_cloud_client/api/workflows/create_workflow_v1_workflows_post.py,sha256=b_N1b5ujzuKuhgnlqRQdU4LB_aBSBcR0kl06ZZOJaJc,4836
72
82
  openapi_client/cyberdesk_cloud_client/api/workflows/delete_workflow_v1_workflows_workflow_id_delete.py,sha256=-bCfjktthEwKL73PpLWb8qVjFPpBcqhjOcVii3wULGs,4559
73
83
  openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_v1_workflows_workflow_id_get.py,sha256=a2avmbv5jnLkN98aPymmnUSBWk5ub-e-7Zq0BJkgqnQ,4546
74
84
  openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_versions_v1_workflows_workflow_id_versions_get.py,sha256=ax_5V-lIClvOxr50eXSIAPbyhWP-cS4a4DXzwdxkVYs,5889
75
- openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py,sha256=uubsZpnk8T9NGpx0IFmSkPOpIg3ozBCeZ_ms2D1yZ2c,5658
85
+ openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py,sha256=Aszxh1BlUuRqMHjT7lvZf8g6kDCcNUZtuwoJqhDOwlQ,11258
76
86
  openapi_client/cyberdesk_cloud_client/api/workflows/update_workflow_v1_workflows_workflow_id_patch.py,sha256=K_tuO6s_FyM8MUOck5AuX_RNIeYqCQcfYx1aDg9xwhE,5737
77
- openapi_client/cyberdesk_cloud_client/models/__init__.py,sha256=U7j2ivyaahQBknJMcN6FCPn0ppqnA69qtm98imKxtgk,8373
87
+ openapi_client/cyberdesk_cloud_client/models/__init__.py,sha256=0ugs0zih1w9kwt_QLTVvvaEsPMioEojAgMJ0RfLKRS0,8891
78
88
  openapi_client/cyberdesk_cloud_client/models/attachment_type.py,sha256=zqPOsSd2AmxGNqb5HQ6ZYBAYL8k-0UbWHhfAJYNHoro,161
79
89
  openapi_client/cyberdesk_cloud_client/models/connection_create.py,sha256=gCI36DmjJDZxzGFPbykyYw9k4QEf_4dVNz9b-xZfLo4,3288
80
90
  openapi_client/cyberdesk_cloud_client/models/connection_response.py,sha256=aFxqJX75wSEw5dZ-kvh3Wgv_haJ6xYJ7o72vSAbEtHY,5247
@@ -93,7 +103,9 @@ openapi_client/cyberdesk_cloud_client/models/http_validation_error.py,sha256=OvQ
93
103
  openapi_client/cyberdesk_cloud_client/models/keyboard_key_request.py,sha256=iZ2uFo_pgZ59xX04hJZpl49dfVLqTchtAYVUWZX8MEM,1475
94
104
  openapi_client/cyberdesk_cloud_client/models/keyboard_type_request.py,sha256=Jgzt14kcl8kfdEJYI3BSnHgxVbFnUIUjBQDF1ly-vIY,1480
95
105
  openapi_client/cyberdesk_cloud_client/models/machine_create.py,sha256=WiSBX-7Sx73C0jVHc6dhl4E0pWQNE2RrJ9DZ3gljZQ4,4449
96
- openapi_client/cyberdesk_cloud_client/models/machine_response.py,sha256=QjgDMLOKvXDTiV4w6bZ4-hW_2HW17-f2UZOSDeSm5uc,7427
106
+ openapi_client/cyberdesk_cloud_client/models/machine_pool_assignment.py,sha256=oTctHGs4FQsdRvhc_evjC13vewhiQsaohsztMSWXJ9Q,2011
107
+ openapi_client/cyberdesk_cloud_client/models/machine_pool_update.py,sha256=K1ax3OmPZj2t-VlQ0CsRWYuTR667fBTXsT8hJkZXcWU,1935
108
+ openapi_client/cyberdesk_cloud_client/models/machine_response.py,sha256=jY8g10HTS1bjnMs1ptBC4X__kexnDSPCxNilGN0OAgk,9001
97
109
  openapi_client/cyberdesk_cloud_client/models/machine_status.py,sha256=mqKyXgK1wcaA2fI6iTo_tS7AMeuVrRN4yE21d2Lsq1I,200
98
110
  openapi_client/cyberdesk_cloud_client/models/machine_update.py,sha256=906MebM_AUetLZtTyeoZ40TPMORx4yyZPHmJ_j_tg9A,6973
99
111
  openapi_client/cyberdesk_cloud_client/models/mouse_click_request.py,sha256=GSBn4fg2sNnL4KQQHKly2YIzyRqbfwVgrQXpaalOUxg,3423
@@ -102,10 +114,15 @@ openapi_client/cyberdesk_cloud_client/models/mouse_position.py,sha256=t8PW-7xKfy
102
114
  openapi_client/cyberdesk_cloud_client/models/paginated_response.py,sha256=P9bt0Koea8rODsULodX8dDAwm-uP2KRE1mRi8AK-VBY,1988
103
115
  openapi_client/cyberdesk_cloud_client/models/paginated_response_connection_response.py,sha256=2WxYXSS1RoBeh2ealxdQeEBSv0pBpllar1m98toeYHs,2527
104
116
  openapi_client/cyberdesk_cloud_client/models/paginated_response_machine_response.py,sha256=m_bJGQwSQkqPeJwcQ2UnXglhdmPqsj_tjjx_3S-YZyE,2491
117
+ openapi_client/cyberdesk_cloud_client/models/paginated_response_pool_response.py,sha256=rJQGR-sZwtLBc0ewSao8jh3zSQ89woADJa63mXa61UI,2455
105
118
  openapi_client/cyberdesk_cloud_client/models/paginated_response_run_attachment_response.py,sha256=OHsnkYeV1_35TYMrYRaG0XxdjaBXp5Qcq64hbHxzjV4,2568
106
119
  openapi_client/cyberdesk_cloud_client/models/paginated_response_run_response.py,sha256=UFk93224AiT0TkMlxxy5UiTUP94JeCxy1EYx55wECWk,2443
107
120
  openapi_client/cyberdesk_cloud_client/models/paginated_response_trajectory_response.py,sha256=gOdLxB8NSEualTnfJ8ww7M7evX8HpPlRgtUS8cgJHy8,2527
108
121
  openapi_client/cyberdesk_cloud_client/models/paginated_response_workflow_response.py,sha256=vjx7RtvrVv9hiE1CPNMdReyc4kKbbTdSEMfU0Z-jhK0,2503
122
+ openapi_client/cyberdesk_cloud_client/models/pool_create.py,sha256=2--HYAKZ32HV8fFFMg-yMPX0TsXA-rp3hpA1bnU63q8,2236
123
+ openapi_client/cyberdesk_cloud_client/models/pool_response.py,sha256=quYX1HHAMOeb4P0djQt95kEfz5fTjOtj3kRcyMwtuc8,4012
124
+ openapi_client/cyberdesk_cloud_client/models/pool_update.py,sha256=4sMBukgmfF7MyPNiNqXR2BHqSXwzaRjbOFDW4sHlEJ4,2677
125
+ openapi_client/cyberdesk_cloud_client/models/pool_with_machines.py,sha256=_SlD1SBYlQZvUvYAZbF_EShWfiCbnKMt7j0dmxqRG1M,4971
109
126
  openapi_client/cyberdesk_cloud_client/models/power_shell_exec_request.py,sha256=LoFKZ1fUeW3NM-fxrAMhbplyEDC_wOWpOjEb2vOQbuQ,3543
110
127
  openapi_client/cyberdesk_cloud_client/models/power_shell_session_request.py,sha256=2Ix3dnjljWXO6KuOTPCykkYJim1at0_vAu1dh4Dahcw,2361
111
128
  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,sha256=N496N5sS2XP1dqAvoB3EplU3Dxwtf867Vr8hhh315V8,1813
@@ -117,12 +134,12 @@ openapi_client/cyberdesk_cloud_client/models/run_attachment_create.py,sha256=w58
117
134
  openapi_client/cyberdesk_cloud_client/models/run_attachment_download_url_response.py,sha256=CUeh3Zas29uwfpH5oMbQ_hhkpsZ_RH7ZA_RyfRsf8mY,1864
118
135
  openapi_client/cyberdesk_cloud_client/models/run_attachment_response.py,sha256=_K4POw4eH_5wYbu8lqH1sHc3oMXFBDPtcqWfkBx3z68,7371
119
136
  openapi_client/cyberdesk_cloud_client/models/run_attachment_update.py,sha256=rGXcB21waSTXG0-mt0XhNcwoJI1PhBpBDUkLfp8mM-0,2573
120
- openapi_client/cyberdesk_cloud_client/models/run_bulk_create.py,sha256=Mlz19LHQTwutkX1rddfSMCgQOZV1mc6SE4kDQyKplao,6350
137
+ openapi_client/cyberdesk_cloud_client/models/run_bulk_create.py,sha256=CyZJONbhXWLndS_Mh1tx53eGh9qSz4qoiaI53N-CvJs,7951
121
138
  openapi_client/cyberdesk_cloud_client/models/run_bulk_create_input_values_type_0.py,sha256=JxGOOYKueFx5NtvnXgf9z_sXbMByQrsjjQ3AmU8qG30,1305
122
139
  openapi_client/cyberdesk_cloud_client/models/run_bulk_create_response.py,sha256=N9sMykvm6pC2fMMH_XVQI8wVc6-53qAHMb_qbNBo9-c,2886
123
- openapi_client/cyberdesk_cloud_client/models/run_create.py,sha256=hUMuozdNHMQwndTl-mCfQ8hGwPeJ_EkPeZEmAUQWMHc,6083
140
+ openapi_client/cyberdesk_cloud_client/models/run_create.py,sha256=C_l48nK5DhWNNdjZ7pGQkiquP57lmNj4KI1pklpwhco,7684
124
141
  openapi_client/cyberdesk_cloud_client/models/run_create_input_values_type_0.py,sha256=APV4O0GduU3fhHoJHMMOBk-h92Hf21c1ZU-pIsJoZpg,1282
125
- openapi_client/cyberdesk_cloud_client/models/run_response.py,sha256=Pv7OQgJbxPbBpI0B-Scmx4zdmjW6q36Q7QeWoDqVomw,12324
142
+ openapi_client/cyberdesk_cloud_client/models/run_response.py,sha256=H9rKD3JYcOy8Lp_IB6eOYXw5Nx7K11wRNVi4xJZ_NuU,13779
126
143
  openapi_client/cyberdesk_cloud_client/models/run_response_input_values_type_0.py,sha256=NpMqT3qaMrLGA7mHBjvtS1fnMGc5zxwWLoFWunjjupA,1292
127
144
  openapi_client/cyberdesk_cloud_client/models/run_response_output_data_type_0.py,sha256=rO4YJAa26G_83CFtBTQ_ZKCURAxNS7PcvdKbfuvDcrA,1287
128
145
  openapi_client/cyberdesk_cloud_client/models/run_response_run_message_history_type_0_item.py,sha256=3x1N3yi3kyc1que3bizmHEuGBn5s7pEirEg4TgBV9FU,1348
@@ -146,7 +163,7 @@ openapi_client/cyberdesk_cloud_client/models/workflow_create.py,sha256=Z7XG8k1js
146
163
  openapi_client/cyberdesk_cloud_client/models/workflow_response.py,sha256=Z4ABOHurTjNfQh1odBbEZ5YW3agm63QklKdE-gzu6dQ,8539
147
164
  openapi_client/cyberdesk_cloud_client/models/workflow_response_old_versions_type_0_item.py,sha256=W9AxxlBlN3rUwLDcoUx5H7MUiYA9UztfX9iEpNGlgAs,1340
148
165
  openapi_client/cyberdesk_cloud_client/models/workflow_update.py,sha256=_zMo2mJbYdKILygBXwebAD37SJJCUZOTkJkMOCzeNTA,4439
149
- cyberdesk-2.0.0.dist-info/METADATA,sha256=6LdoM8WdJ4wa_ETzz8H9jvrzH2wtaosXO8-dSavptbQ,6791
150
- cyberdesk-2.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
151
- cyberdesk-2.0.0.dist-info/top_level.txt,sha256=qTYHZHVHh3VClNPQsiFFA8p8tmJgFGhq9G1COd-pX_A,25
152
- cyberdesk-2.0.0.dist-info/RECORD,,
166
+ cyberdesk-2.1.1.dist-info/METADATA,sha256=6RGGbo8UZg8kRlfs5AYjbrgg00ZxNP5tsINzhDlctUA,6791
167
+ cyberdesk-2.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
168
+ cyberdesk-2.1.1.dist-info/top_level.txt,sha256=qTYHZHVHh3VClNPQsiFFA8p8tmJgFGhq9G1COd-pX_A,25
169
+ cyberdesk-2.1.1.dist-info/RECORD,,
@@ -0,0 +1,169 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.http_validation_error import HTTPValidationError
10
+ from ...models.pool_response import PoolResponse
11
+ from ...types import Response
12
+
13
+
14
+ def _get_kwargs(
15
+ machine_id: UUID,
16
+ ) -> dict[str, Any]:
17
+ _kwargs: dict[str, Any] = {
18
+ "method": "get",
19
+ "url": f"/v1/machines/{machine_id}/pools",
20
+ }
21
+
22
+ return _kwargs
23
+
24
+
25
+ def _parse_response(
26
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
27
+ ) -> Optional[Union[HTTPValidationError, list["PoolResponse"]]]:
28
+ if response.status_code == 200:
29
+ response_200 = []
30
+ _response_200 = response.json()
31
+ for response_200_item_data in _response_200:
32
+ response_200_item = PoolResponse.from_dict(response_200_item_data)
33
+
34
+ response_200.append(response_200_item)
35
+
36
+ return response_200
37
+ if response.status_code == 422:
38
+ response_422 = HTTPValidationError.from_dict(response.json())
39
+
40
+ return response_422
41
+ if client.raise_on_unexpected_status:
42
+ raise errors.UnexpectedStatus(response.status_code, response.content)
43
+ else:
44
+ return None
45
+
46
+
47
+ def _build_response(
48
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
49
+ ) -> Response[Union[HTTPValidationError, list["PoolResponse"]]]:
50
+ return Response(
51
+ status_code=HTTPStatus(response.status_code),
52
+ content=response.content,
53
+ headers=response.headers,
54
+ parsed=_parse_response(client=client, response=response),
55
+ )
56
+
57
+
58
+ def sync_detailed(
59
+ machine_id: UUID,
60
+ *,
61
+ client: AuthenticatedClient,
62
+ ) -> Response[Union[HTTPValidationError, list["PoolResponse"]]]:
63
+ """Get Machine Pools
64
+
65
+ Get all pools that a machine belongs to.
66
+
67
+ Args:
68
+ machine_id (UUID):
69
+
70
+ Raises:
71
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
72
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
73
+
74
+ Returns:
75
+ Response[Union[HTTPValidationError, list['PoolResponse']]]
76
+ """
77
+
78
+ kwargs = _get_kwargs(
79
+ machine_id=machine_id,
80
+ )
81
+
82
+ response = client.get_httpx_client().request(
83
+ **kwargs,
84
+ )
85
+
86
+ return _build_response(client=client, response=response)
87
+
88
+
89
+ def sync(
90
+ machine_id: UUID,
91
+ *,
92
+ client: AuthenticatedClient,
93
+ ) -> Optional[Union[HTTPValidationError, list["PoolResponse"]]]:
94
+ """Get Machine Pools
95
+
96
+ Get all pools that a machine belongs to.
97
+
98
+ Args:
99
+ machine_id (UUID):
100
+
101
+ Raises:
102
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
103
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
104
+
105
+ Returns:
106
+ Union[HTTPValidationError, list['PoolResponse']]
107
+ """
108
+
109
+ return sync_detailed(
110
+ machine_id=machine_id,
111
+ client=client,
112
+ ).parsed
113
+
114
+
115
+ async def asyncio_detailed(
116
+ machine_id: UUID,
117
+ *,
118
+ client: AuthenticatedClient,
119
+ ) -> Response[Union[HTTPValidationError, list["PoolResponse"]]]:
120
+ """Get Machine Pools
121
+
122
+ Get all pools that a machine belongs to.
123
+
124
+ Args:
125
+ machine_id (UUID):
126
+
127
+ Raises:
128
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
129
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
130
+
131
+ Returns:
132
+ Response[Union[HTTPValidationError, list['PoolResponse']]]
133
+ """
134
+
135
+ kwargs = _get_kwargs(
136
+ machine_id=machine_id,
137
+ )
138
+
139
+ response = await client.get_async_httpx_client().request(**kwargs)
140
+
141
+ return _build_response(client=client, response=response)
142
+
143
+
144
+ async def asyncio(
145
+ machine_id: UUID,
146
+ *,
147
+ client: AuthenticatedClient,
148
+ ) -> Optional[Union[HTTPValidationError, list["PoolResponse"]]]:
149
+ """Get Machine Pools
150
+
151
+ Get all pools that a machine belongs to.
152
+
153
+ Args:
154
+ machine_id (UUID):
155
+
156
+ Raises:
157
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
158
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
159
+
160
+ Returns:
161
+ Union[HTTPValidationError, list['PoolResponse']]
162
+ """
163
+
164
+ return (
165
+ await asyncio_detailed(
166
+ machine_id=machine_id,
167
+ client=client,
168
+ )
169
+ ).parsed
@@ -1,3 +1,4 @@
1
+ import datetime
1
2
  from http import HTTPStatus
2
3
  from typing import Any, Optional, Union
3
4
 
@@ -14,6 +15,8 @@ from ...types import UNSET, Response, Unset
14
15
  def _get_kwargs(
15
16
  *,
16
17
  status: Union[MachineStatus, None, Unset] = UNSET,
18
+ created_at_from: Union[None, Unset, datetime.datetime] = UNSET,
19
+ created_at_to: Union[None, Unset, datetime.datetime] = UNSET,
17
20
  skip: Union[Unset, int] = 0,
18
21
  limit: Union[Unset, int] = 100,
19
22
  ) -> dict[str, Any]:
@@ -28,6 +31,24 @@ def _get_kwargs(
28
31
  json_status = status
29
32
  params["status"] = json_status
30
33
 
34
+ json_created_at_from: Union[None, Unset, str]
35
+ if isinstance(created_at_from, Unset):
36
+ json_created_at_from = UNSET
37
+ elif isinstance(created_at_from, datetime.datetime):
38
+ json_created_at_from = created_at_from.isoformat()
39
+ else:
40
+ json_created_at_from = created_at_from
41
+ params["created_at_from"] = json_created_at_from
42
+
43
+ json_created_at_to: Union[None, Unset, str]
44
+ if isinstance(created_at_to, Unset):
45
+ json_created_at_to = UNSET
46
+ elif isinstance(created_at_to, datetime.datetime):
47
+ json_created_at_to = created_at_to.isoformat()
48
+ else:
49
+ json_created_at_to = created_at_to
50
+ params["created_at_to"] = json_created_at_to
51
+
31
52
  params["skip"] = skip
32
53
 
33
54
  params["limit"] = limit
@@ -75,6 +96,8 @@ def sync_detailed(
75
96
  *,
76
97
  client: AuthenticatedClient,
77
98
  status: Union[MachineStatus, None, Unset] = UNSET,
99
+ created_at_from: Union[None, Unset, datetime.datetime] = UNSET,
100
+ created_at_to: Union[None, Unset, datetime.datetime] = UNSET,
78
101
  skip: Union[Unset, int] = 0,
79
102
  limit: Union[Unset, int] = 100,
80
103
  ) -> Response[Union[HTTPValidationError, PaginatedResponseMachineResponse]]:
@@ -86,6 +109,10 @@ def sync_detailed(
86
109
 
87
110
  Args:
88
111
  status (Union[MachineStatus, None, Unset]): Filter by machine status
112
+ created_at_from (Union[None, Unset, datetime.datetime]): Filter machines created at or
113
+ after this ISO timestamp (UTC)
114
+ created_at_to (Union[None, Unset, datetime.datetime]): Filter machines created at or
115
+ before this ISO timestamp (UTC)
89
116
  skip (Union[Unset, int]): Default: 0.
90
117
  limit (Union[Unset, int]): Default: 100.
91
118
 
@@ -99,6 +126,8 @@ def sync_detailed(
99
126
 
100
127
  kwargs = _get_kwargs(
101
128
  status=status,
129
+ created_at_from=created_at_from,
130
+ created_at_to=created_at_to,
102
131
  skip=skip,
103
132
  limit=limit,
104
133
  )
@@ -114,6 +143,8 @@ def sync(
114
143
  *,
115
144
  client: AuthenticatedClient,
116
145
  status: Union[MachineStatus, None, Unset] = UNSET,
146
+ created_at_from: Union[None, Unset, datetime.datetime] = UNSET,
147
+ created_at_to: Union[None, Unset, datetime.datetime] = UNSET,
117
148
  skip: Union[Unset, int] = 0,
118
149
  limit: Union[Unset, int] = 100,
119
150
  ) -> Optional[Union[HTTPValidationError, PaginatedResponseMachineResponse]]:
@@ -125,6 +156,10 @@ def sync(
125
156
 
126
157
  Args:
127
158
  status (Union[MachineStatus, None, Unset]): Filter by machine status
159
+ created_at_from (Union[None, Unset, datetime.datetime]): Filter machines created at or
160
+ after this ISO timestamp (UTC)
161
+ created_at_to (Union[None, Unset, datetime.datetime]): Filter machines created at or
162
+ before this ISO timestamp (UTC)
128
163
  skip (Union[Unset, int]): Default: 0.
129
164
  limit (Union[Unset, int]): Default: 100.
130
165
 
@@ -139,6 +174,8 @@ def sync(
139
174
  return sync_detailed(
140
175
  client=client,
141
176
  status=status,
177
+ created_at_from=created_at_from,
178
+ created_at_to=created_at_to,
142
179
  skip=skip,
143
180
  limit=limit,
144
181
  ).parsed
@@ -148,6 +185,8 @@ async def asyncio_detailed(
148
185
  *,
149
186
  client: AuthenticatedClient,
150
187
  status: Union[MachineStatus, None, Unset] = UNSET,
188
+ created_at_from: Union[None, Unset, datetime.datetime] = UNSET,
189
+ created_at_to: Union[None, Unset, datetime.datetime] = UNSET,
151
190
  skip: Union[Unset, int] = 0,
152
191
  limit: Union[Unset, int] = 100,
153
192
  ) -> Response[Union[HTTPValidationError, PaginatedResponseMachineResponse]]:
@@ -159,6 +198,10 @@ async def asyncio_detailed(
159
198
 
160
199
  Args:
161
200
  status (Union[MachineStatus, None, Unset]): Filter by machine status
201
+ created_at_from (Union[None, Unset, datetime.datetime]): Filter machines created at or
202
+ after this ISO timestamp (UTC)
203
+ created_at_to (Union[None, Unset, datetime.datetime]): Filter machines created at or
204
+ before this ISO timestamp (UTC)
162
205
  skip (Union[Unset, int]): Default: 0.
163
206
  limit (Union[Unset, int]): Default: 100.
164
207
 
@@ -172,6 +215,8 @@ async def asyncio_detailed(
172
215
 
173
216
  kwargs = _get_kwargs(
174
217
  status=status,
218
+ created_at_from=created_at_from,
219
+ created_at_to=created_at_to,
175
220
  skip=skip,
176
221
  limit=limit,
177
222
  )
@@ -185,6 +230,8 @@ async def asyncio(
185
230
  *,
186
231
  client: AuthenticatedClient,
187
232
  status: Union[MachineStatus, None, Unset] = UNSET,
233
+ created_at_from: Union[None, Unset, datetime.datetime] = UNSET,
234
+ created_at_to: Union[None, Unset, datetime.datetime] = UNSET,
188
235
  skip: Union[Unset, int] = 0,
189
236
  limit: Union[Unset, int] = 100,
190
237
  ) -> Optional[Union[HTTPValidationError, PaginatedResponseMachineResponse]]:
@@ -196,6 +243,10 @@ async def asyncio(
196
243
 
197
244
  Args:
198
245
  status (Union[MachineStatus, None, Unset]): Filter by machine status
246
+ created_at_from (Union[None, Unset, datetime.datetime]): Filter machines created at or
247
+ after this ISO timestamp (UTC)
248
+ created_at_to (Union[None, Unset, datetime.datetime]): Filter machines created at or
249
+ before this ISO timestamp (UTC)
199
250
  skip (Union[Unset, int]): Default: 0.
200
251
  limit (Union[Unset, int]): Default: 100.
201
252
 
@@ -211,6 +262,8 @@ async def asyncio(
211
262
  await asyncio_detailed(
212
263
  client=client,
213
264
  status=status,
265
+ created_at_from=created_at_from,
266
+ created_at_to=created_at_to,
214
267
  skip=skip,
215
268
  limit=limit,
216
269
  )
@@ -0,0 +1,190 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.http_validation_error import HTTPValidationError
10
+ from ...models.machine_pool_update import MachinePoolUpdate
11
+ from ...models.machine_response import MachineResponse
12
+ from ...types import Response
13
+
14
+
15
+ def _get_kwargs(
16
+ machine_id: UUID,
17
+ *,
18
+ body: MachinePoolUpdate,
19
+ ) -> dict[str, Any]:
20
+ headers: dict[str, Any] = {}
21
+
22
+ _kwargs: dict[str, Any] = {
23
+ "method": "put",
24
+ "url": f"/v1/machines/{machine_id}/pools",
25
+ }
26
+
27
+ _kwargs["json"] = body.to_dict()
28
+
29
+ headers["Content-Type"] = "application/json"
30
+
31
+ _kwargs["headers"] = headers
32
+ return _kwargs
33
+
34
+
35
+ def _parse_response(
36
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
37
+ ) -> Optional[Union[HTTPValidationError, MachineResponse]]:
38
+ if response.status_code == 200:
39
+ response_200 = MachineResponse.from_dict(response.json())
40
+
41
+ return response_200
42
+ if response.status_code == 422:
43
+ response_422 = HTTPValidationError.from_dict(response.json())
44
+
45
+ return response_422
46
+ if client.raise_on_unexpected_status:
47
+ raise errors.UnexpectedStatus(response.status_code, response.content)
48
+ else:
49
+ return None
50
+
51
+
52
+ def _build_response(
53
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
54
+ ) -> Response[Union[HTTPValidationError, MachineResponse]]:
55
+ return Response(
56
+ status_code=HTTPStatus(response.status_code),
57
+ content=response.content,
58
+ headers=response.headers,
59
+ parsed=_parse_response(client=client, response=response),
60
+ )
61
+
62
+
63
+ def sync_detailed(
64
+ machine_id: UUID,
65
+ *,
66
+ client: AuthenticatedClient,
67
+ body: MachinePoolUpdate,
68
+ ) -> Response[Union[HTTPValidationError, MachineResponse]]:
69
+ """Update Machine Pools
70
+
71
+ Update a machine's pool assignments.
72
+ This replaces all existing pool assignments with the new ones.
73
+
74
+ Args:
75
+ machine_id (UUID):
76
+ body (MachinePoolUpdate): Schema for updating a machine's pool assignments
77
+
78
+ Raises:
79
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
80
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
81
+
82
+ Returns:
83
+ Response[Union[HTTPValidationError, MachineResponse]]
84
+ """
85
+
86
+ kwargs = _get_kwargs(
87
+ machine_id=machine_id,
88
+ body=body,
89
+ )
90
+
91
+ response = client.get_httpx_client().request(
92
+ **kwargs,
93
+ )
94
+
95
+ return _build_response(client=client, response=response)
96
+
97
+
98
+ def sync(
99
+ machine_id: UUID,
100
+ *,
101
+ client: AuthenticatedClient,
102
+ body: MachinePoolUpdate,
103
+ ) -> Optional[Union[HTTPValidationError, MachineResponse]]:
104
+ """Update Machine Pools
105
+
106
+ Update a machine's pool assignments.
107
+ This replaces all existing pool assignments with the new ones.
108
+
109
+ Args:
110
+ machine_id (UUID):
111
+ body (MachinePoolUpdate): Schema for updating a machine's pool assignments
112
+
113
+ Raises:
114
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
115
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
116
+
117
+ Returns:
118
+ Union[HTTPValidationError, MachineResponse]
119
+ """
120
+
121
+ return sync_detailed(
122
+ machine_id=machine_id,
123
+ client=client,
124
+ body=body,
125
+ ).parsed
126
+
127
+
128
+ async def asyncio_detailed(
129
+ machine_id: UUID,
130
+ *,
131
+ client: AuthenticatedClient,
132
+ body: MachinePoolUpdate,
133
+ ) -> Response[Union[HTTPValidationError, MachineResponse]]:
134
+ """Update Machine Pools
135
+
136
+ Update a machine's pool assignments.
137
+ This replaces all existing pool assignments with the new ones.
138
+
139
+ Args:
140
+ machine_id (UUID):
141
+ body (MachinePoolUpdate): Schema for updating a machine's pool assignments
142
+
143
+ Raises:
144
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
145
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
146
+
147
+ Returns:
148
+ Response[Union[HTTPValidationError, MachineResponse]]
149
+ """
150
+
151
+ kwargs = _get_kwargs(
152
+ machine_id=machine_id,
153
+ body=body,
154
+ )
155
+
156
+ response = await client.get_async_httpx_client().request(**kwargs)
157
+
158
+ return _build_response(client=client, response=response)
159
+
160
+
161
+ async def asyncio(
162
+ machine_id: UUID,
163
+ *,
164
+ client: AuthenticatedClient,
165
+ body: MachinePoolUpdate,
166
+ ) -> Optional[Union[HTTPValidationError, MachineResponse]]:
167
+ """Update Machine Pools
168
+
169
+ Update a machine's pool assignments.
170
+ This replaces all existing pool assignments with the new ones.
171
+
172
+ Args:
173
+ machine_id (UUID):
174
+ body (MachinePoolUpdate): Schema for updating a machine's pool assignments
175
+
176
+ Raises:
177
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
178
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
179
+
180
+ Returns:
181
+ Union[HTTPValidationError, MachineResponse]
182
+ """
183
+
184
+ return (
185
+ await asyncio_detailed(
186
+ machine_id=machine_id,
187
+ client=client,
188
+ body=body,
189
+ )
190
+ ).parsed
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""