cyberdesk 0.2.3__tar.gz → 0.2.4__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.

Files changed (143) hide show
  1. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/PKG-INFO +1 -2
  2. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk.egg-info/PKG-INFO +1 -2
  3. cyberdesk-0.2.4/cyberdesk.egg-info/SOURCES.txt +139 -0
  4. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk.egg-info/requires.txt +0 -1
  5. cyberdesk-0.2.4/cyberdesk.egg-info/top_level.txt +2 -0
  6. cyberdesk-0.2.4/openapi_client/api_reference_client/__init__.py +8 -0
  7. cyberdesk-0.2.4/openapi_client/api_reference_client/api/__init__.py +1 -0
  8. cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/__init__.py +1 -0
  9. cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/get_v1_desktop_id.py +293 -0
  10. cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop.py +294 -0
  11. cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_bash_action.py +307 -0
  12. cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_computer_action.py +419 -0
  13. cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_stop.py +288 -0
  14. cyberdesk-0.2.4/openapi_client/api_reference_client/client.py +268 -0
  15. cyberdesk-0.2.4/openapi_client/api_reference_client/errors.py +16 -0
  16. cyberdesk-0.2.4/openapi_client/api_reference_client/models/__init__.py +249 -0
  17. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_200.py +104 -0
  18. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_200_status.py +11 -0
  19. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_400.py +69 -0
  20. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_400_status.py +8 -0
  21. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_401.py +69 -0
  22. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_401_status.py +8 -0
  23. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_403.py +69 -0
  24. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_403_status.py +8 -0
  25. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_404.py +69 -0
  26. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_404_status.py +8 -0
  27. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_409.py +69 -0
  28. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_409_status.py +8 -0
  29. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_429.py +69 -0
  30. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_429_status.py +8 -0
  31. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_500.py +69 -0
  32. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_500_status.py +8 -0
  33. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_502.py +69 -0
  34. cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_502_status.py +8 -0
  35. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_body.py +59 -0
  36. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_body.py +59 -0
  37. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_200.py +79 -0
  38. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400.py +69 -0
  39. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400_status.py +8 -0
  40. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401.py +69 -0
  41. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401_status.py +8 -0
  42. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403.py +69 -0
  43. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403_status.py +8 -0
  44. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404.py +69 -0
  45. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404_status.py +8 -0
  46. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409.py +69 -0
  47. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409_status.py +8 -0
  48. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429.py +69 -0
  49. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429_status.py +8 -0
  50. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500.py +69 -0
  51. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500_status.py +8 -0
  52. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502.py +69 -0
  53. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502_status.py +8 -0
  54. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action.py +133 -0
  55. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_button.py +10 -0
  56. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_click_type.py +10 -0
  57. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_type.py +8 -0
  58. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action.py +98 -0
  59. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_end.py +71 -0
  60. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_start.py +71 -0
  61. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_type.py +8 -0
  62. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action.py +64 -0
  63. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action_type.py +8 -0
  64. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action.py +80 -0
  65. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action_type.py +8 -0
  66. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action.py +109 -0
  67. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_key_action_type.py +10 -0
  68. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_type.py +8 -0
  69. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_200.py +79 -0
  70. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400.py +71 -0
  71. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400_status.py +8 -0
  72. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401.py +71 -0
  73. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401_status.py +8 -0
  74. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403.py +71 -0
  75. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403_status.py +8 -0
  76. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404.py +71 -0
  77. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404_status.py +8 -0
  78. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409.py +71 -0
  79. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409_status.py +8 -0
  80. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429.py +71 -0
  81. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429_status.py +8 -0
  82. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500.py +71 -0
  83. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500_status.py +8 -0
  84. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502.py +71 -0
  85. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502_status.py +8 -0
  86. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action.py +63 -0
  87. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action_type.py +8 -0
  88. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action.py +81 -0
  89. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_direction.py +11 -0
  90. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_type.py +8 -0
  91. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action.py +71 -0
  92. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action_type.py +8 -0
  93. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action.py +70 -0
  94. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action_type.py +8 -0
  95. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200.py +62 -0
  96. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200_status.py +11 -0
  97. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400.py +69 -0
  98. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400_status.py +8 -0
  99. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401.py +69 -0
  100. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401_status.py +8 -0
  101. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403.py +69 -0
  102. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403_status.py +8 -0
  103. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404.py +69 -0
  104. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404_status.py +8 -0
  105. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409.py +69 -0
  106. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409_status.py +8 -0
  107. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429.py +69 -0
  108. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429_status.py +8 -0
  109. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500.py +69 -0
  110. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500_status.py +8 -0
  111. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502.py +69 -0
  112. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502_status.py +8 -0
  113. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_200.py +70 -0
  114. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_200_status.py +11 -0
  115. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_400.py +69 -0
  116. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_400_status.py +8 -0
  117. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_401.py +69 -0
  118. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_401_status.py +8 -0
  119. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_403.py +69 -0
  120. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_403_status.py +8 -0
  121. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_404.py +69 -0
  122. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_404_status.py +8 -0
  123. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_409.py +69 -0
  124. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_409_status.py +8 -0
  125. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_429.py +69 -0
  126. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_429_status.py +8 -0
  127. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_500.py +69 -0
  128. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_500_status.py +8 -0
  129. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_502.py +69 -0
  130. cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_502_status.py +8 -0
  131. cyberdesk-0.2.4/openapi_client/api_reference_client/py.typed +1 -0
  132. cyberdesk-0.2.4/openapi_client/api_reference_client/types.py +46 -0
  133. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/pyproject.toml +3 -4
  134. cyberdesk-0.2.3/cyberdesk.egg-info/SOURCES.txt +0 -12
  135. cyberdesk-0.2.3/cyberdesk.egg-info/top_level.txt +0 -1
  136. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/LICENSE +0 -0
  137. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/README.md +0 -0
  138. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/__init__.py +0 -0
  139. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/actions.py +0 -0
  140. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/client.py +0 -0
  141. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/types.py +0 -0
  142. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk.egg-info/dependency_links.txt +0 -0
  143. {cyberdesk-0.2.3 → cyberdesk-0.2.4}/setup.cfg +0 -0
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cyberdesk
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: The official Python SDK for Cyberdesk
5
5
  Author-email: Cyberdesk Team <dev@cyberdesk.io>
6
6
  License-Expression: MIT
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
9
  Requires-Dist: httpx
10
- Requires-Dist: openapi_client
11
10
  Provides-Extra: dev
12
11
  Requires-Dist: openapi-python-client; extra == "dev"
13
12
  Requires-Dist: build; extra == "dev"
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cyberdesk
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: The official Python SDK for Cyberdesk
5
5
  Author-email: Cyberdesk Team <dev@cyberdesk.io>
6
6
  License-Expression: MIT
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
9
  Requires-Dist: httpx
10
- Requires-Dist: openapi_client
11
10
  Provides-Extra: dev
12
11
  Requires-Dist: openapi-python-client; extra == "dev"
13
12
  Requires-Dist: build; extra == "dev"
@@ -0,0 +1,139 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ cyberdesk/__init__.py
5
+ cyberdesk/actions.py
6
+ cyberdesk/client.py
7
+ cyberdesk/types.py
8
+ cyberdesk.egg-info/PKG-INFO
9
+ cyberdesk.egg-info/SOURCES.txt
10
+ cyberdesk.egg-info/dependency_links.txt
11
+ cyberdesk.egg-info/requires.txt
12
+ cyberdesk.egg-info/top_level.txt
13
+ openapi_client/api_reference_client/__init__.py
14
+ openapi_client/api_reference_client/client.py
15
+ openapi_client/api_reference_client/errors.py
16
+ openapi_client/api_reference_client/py.typed
17
+ openapi_client/api_reference_client/types.py
18
+ openapi_client/api_reference_client/api/__init__.py
19
+ openapi_client/api_reference_client/api/desktop/__init__.py
20
+ openapi_client/api_reference_client/api/desktop/get_v1_desktop_id.py
21
+ openapi_client/api_reference_client/api/desktop/post_v1_desktop.py
22
+ openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_bash_action.py
23
+ openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_computer_action.py
24
+ openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_stop.py
25
+ openapi_client/api_reference_client/models/__init__.py
26
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_200.py
27
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_200_status.py
28
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_400.py
29
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_400_status.py
30
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_401.py
31
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_401_status.py
32
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_403.py
33
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_403_status.py
34
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_404.py
35
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_404_status.py
36
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_409.py
37
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_409_status.py
38
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_429.py
39
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_429_status.py
40
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_500.py
41
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_500_status.py
42
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_502.py
43
+ openapi_client/api_reference_client/models/get_v1_desktop_id_response_502_status.py
44
+ openapi_client/api_reference_client/models/post_v1_desktop_body.py
45
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_body.py
46
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_200.py
47
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400.py
48
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400_status.py
49
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401.py
50
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401_status.py
51
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403.py
52
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403_status.py
53
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404.py
54
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404_status.py
55
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409.py
56
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409_status.py
57
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429.py
58
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429_status.py
59
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500.py
60
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500_status.py
61
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502.py
62
+ openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502_status.py
63
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action.py
64
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_button.py
65
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_click_type.py
66
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_type.py
67
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action.py
68
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_end.py
69
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_start.py
70
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_type.py
71
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action.py
72
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action_type.py
73
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action.py
74
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action_type.py
75
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action.py
76
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_key_action_type.py
77
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_type.py
78
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_200.py
79
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400.py
80
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400_status.py
81
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401.py
82
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401_status.py
83
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403.py
84
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403_status.py
85
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404.py
86
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404_status.py
87
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409.py
88
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409_status.py
89
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429.py
90
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429_status.py
91
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500.py
92
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500_status.py
93
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502.py
94
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502_status.py
95
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action.py
96
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action_type.py
97
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action.py
98
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_direction.py
99
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_type.py
100
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action.py
101
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action_type.py
102
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action.py
103
+ openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action_type.py
104
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200.py
105
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200_status.py
106
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400.py
107
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400_status.py
108
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401.py
109
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401_status.py
110
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403.py
111
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403_status.py
112
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404.py
113
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404_status.py
114
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409.py
115
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409_status.py
116
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429.py
117
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429_status.py
118
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500.py
119
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500_status.py
120
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502.py
121
+ openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502_status.py
122
+ openapi_client/api_reference_client/models/post_v1_desktop_response_200.py
123
+ openapi_client/api_reference_client/models/post_v1_desktop_response_200_status.py
124
+ openapi_client/api_reference_client/models/post_v1_desktop_response_400.py
125
+ openapi_client/api_reference_client/models/post_v1_desktop_response_400_status.py
126
+ openapi_client/api_reference_client/models/post_v1_desktop_response_401.py
127
+ openapi_client/api_reference_client/models/post_v1_desktop_response_401_status.py
128
+ openapi_client/api_reference_client/models/post_v1_desktop_response_403.py
129
+ openapi_client/api_reference_client/models/post_v1_desktop_response_403_status.py
130
+ openapi_client/api_reference_client/models/post_v1_desktop_response_404.py
131
+ openapi_client/api_reference_client/models/post_v1_desktop_response_404_status.py
132
+ openapi_client/api_reference_client/models/post_v1_desktop_response_409.py
133
+ openapi_client/api_reference_client/models/post_v1_desktop_response_409_status.py
134
+ openapi_client/api_reference_client/models/post_v1_desktop_response_429.py
135
+ openapi_client/api_reference_client/models/post_v1_desktop_response_429_status.py
136
+ openapi_client/api_reference_client/models/post_v1_desktop_response_500.py
137
+ openapi_client/api_reference_client/models/post_v1_desktop_response_500_status.py
138
+ openapi_client/api_reference_client/models/post_v1_desktop_response_502.py
139
+ openapi_client/api_reference_client/models/post_v1_desktop_response_502_status.py
@@ -1,5 +1,4 @@
1
1
  httpx
2
- openapi_client
3
2
 
4
3
  [dev]
5
4
  openapi-python-client
@@ -0,0 +1,2 @@
1
+ cyberdesk
2
+ openapi_client
@@ -0,0 +1,8 @@
1
+ """A client library for accessing API Reference"""
2
+
3
+ from .client import AuthenticatedClient, Client
4
+
5
+ __all__ = (
6
+ "AuthenticatedClient",
7
+ "Client",
8
+ )
@@ -0,0 +1 @@
1
+ """Contains methods for accessing the API"""
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""
@@ -0,0 +1,293 @@
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.get_v1_desktop_id_response_200 import GetV1DesktopIdResponse200
10
+ from ...models.get_v1_desktop_id_response_400 import GetV1DesktopIdResponse400
11
+ from ...models.get_v1_desktop_id_response_401 import GetV1DesktopIdResponse401
12
+ from ...models.get_v1_desktop_id_response_403 import GetV1DesktopIdResponse403
13
+ from ...models.get_v1_desktop_id_response_404 import GetV1DesktopIdResponse404
14
+ from ...models.get_v1_desktop_id_response_409 import GetV1DesktopIdResponse409
15
+ from ...models.get_v1_desktop_id_response_429 import GetV1DesktopIdResponse429
16
+ from ...models.get_v1_desktop_id_response_500 import GetV1DesktopIdResponse500
17
+ from ...models.get_v1_desktop_id_response_502 import GetV1DesktopIdResponse502
18
+ from ...types import Response
19
+
20
+
21
+ def _get_kwargs(
22
+ id: UUID,
23
+ *,
24
+ x_api_key: str,
25
+ ) -> dict[str, Any]:
26
+ headers: dict[str, Any] = {}
27
+ headers["x-api-key"] = x_api_key
28
+
29
+ _kwargs: dict[str, Any] = {
30
+ "method": "get",
31
+ "url": f"/v1/desktop/{id}",
32
+ }
33
+
34
+ _kwargs["headers"] = headers
35
+ return _kwargs
36
+
37
+
38
+ def _parse_response(
39
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
40
+ ) -> Optional[
41
+ Union[
42
+ GetV1DesktopIdResponse200,
43
+ GetV1DesktopIdResponse400,
44
+ GetV1DesktopIdResponse401,
45
+ GetV1DesktopIdResponse403,
46
+ GetV1DesktopIdResponse404,
47
+ GetV1DesktopIdResponse409,
48
+ GetV1DesktopIdResponse429,
49
+ GetV1DesktopIdResponse500,
50
+ GetV1DesktopIdResponse502,
51
+ ]
52
+ ]:
53
+ if response.status_code == 200:
54
+ response_200 = GetV1DesktopIdResponse200.from_dict(response.json())
55
+
56
+ return response_200
57
+ if response.status_code == 400:
58
+ response_400 = GetV1DesktopIdResponse400.from_dict(response.json())
59
+
60
+ return response_400
61
+ if response.status_code == 401:
62
+ response_401 = GetV1DesktopIdResponse401.from_dict(response.json())
63
+
64
+ return response_401
65
+ if response.status_code == 403:
66
+ response_403 = GetV1DesktopIdResponse403.from_dict(response.json())
67
+
68
+ return response_403
69
+ if response.status_code == 404:
70
+ response_404 = GetV1DesktopIdResponse404.from_dict(response.json())
71
+
72
+ return response_404
73
+ if response.status_code == 409:
74
+ response_409 = GetV1DesktopIdResponse409.from_dict(response.json())
75
+
76
+ return response_409
77
+ if response.status_code == 429:
78
+ response_429 = GetV1DesktopIdResponse429.from_dict(response.json())
79
+
80
+ return response_429
81
+ if response.status_code == 500:
82
+ response_500 = GetV1DesktopIdResponse500.from_dict(response.json())
83
+
84
+ return response_500
85
+ if response.status_code == 502:
86
+ response_502 = GetV1DesktopIdResponse502.from_dict(response.json())
87
+
88
+ return response_502
89
+ if client.raise_on_unexpected_status:
90
+ raise errors.UnexpectedStatus(response.status_code, response.content)
91
+ else:
92
+ return None
93
+
94
+
95
+ def _build_response(
96
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
97
+ ) -> Response[
98
+ Union[
99
+ GetV1DesktopIdResponse200,
100
+ GetV1DesktopIdResponse400,
101
+ GetV1DesktopIdResponse401,
102
+ GetV1DesktopIdResponse403,
103
+ GetV1DesktopIdResponse404,
104
+ GetV1DesktopIdResponse409,
105
+ GetV1DesktopIdResponse429,
106
+ GetV1DesktopIdResponse500,
107
+ GetV1DesktopIdResponse502,
108
+ ]
109
+ ]:
110
+ return Response(
111
+ status_code=HTTPStatus(response.status_code),
112
+ content=response.content,
113
+ headers=response.headers,
114
+ parsed=_parse_response(client=client, response=response),
115
+ )
116
+
117
+
118
+ def sync_detailed(
119
+ id: UUID,
120
+ *,
121
+ client: Union[AuthenticatedClient, Client],
122
+ x_api_key: str,
123
+ ) -> Response[
124
+ Union[
125
+ GetV1DesktopIdResponse200,
126
+ GetV1DesktopIdResponse400,
127
+ GetV1DesktopIdResponse401,
128
+ GetV1DesktopIdResponse403,
129
+ GetV1DesktopIdResponse404,
130
+ GetV1DesktopIdResponse409,
131
+ GetV1DesktopIdResponse429,
132
+ GetV1DesktopIdResponse500,
133
+ GetV1DesktopIdResponse502,
134
+ ]
135
+ ]:
136
+ """Get details of a specific desktop instance
137
+
138
+ Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
139
+
140
+ Args:
141
+ id (UUID): The UUID of the desktop instance to retrieve Example:
142
+ a1b2c3d4-e5f6-7890-1234-567890abcdef.
143
+ x_api_key (str): API key for authentication Example: api_12345.
144
+
145
+ Raises:
146
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
147
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
148
+
149
+ Returns:
150
+ Response[Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]]
151
+ """
152
+
153
+ kwargs = _get_kwargs(
154
+ id=id,
155
+ x_api_key=x_api_key,
156
+ )
157
+
158
+ response = client.get_httpx_client().request(
159
+ **kwargs,
160
+ )
161
+
162
+ return _build_response(client=client, response=response)
163
+
164
+
165
+ def sync(
166
+ id: UUID,
167
+ *,
168
+ client: Union[AuthenticatedClient, Client],
169
+ x_api_key: str,
170
+ ) -> Optional[
171
+ Union[
172
+ GetV1DesktopIdResponse200,
173
+ GetV1DesktopIdResponse400,
174
+ GetV1DesktopIdResponse401,
175
+ GetV1DesktopIdResponse403,
176
+ GetV1DesktopIdResponse404,
177
+ GetV1DesktopIdResponse409,
178
+ GetV1DesktopIdResponse429,
179
+ GetV1DesktopIdResponse500,
180
+ GetV1DesktopIdResponse502,
181
+ ]
182
+ ]:
183
+ """Get details of a specific desktop instance
184
+
185
+ Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
186
+
187
+ Args:
188
+ id (UUID): The UUID of the desktop instance to retrieve Example:
189
+ a1b2c3d4-e5f6-7890-1234-567890abcdef.
190
+ x_api_key (str): API key for authentication Example: api_12345.
191
+
192
+ Raises:
193
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
194
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
195
+
196
+ Returns:
197
+ Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]
198
+ """
199
+
200
+ return sync_detailed(
201
+ id=id,
202
+ client=client,
203
+ x_api_key=x_api_key,
204
+ ).parsed
205
+
206
+
207
+ async def asyncio_detailed(
208
+ id: UUID,
209
+ *,
210
+ client: Union[AuthenticatedClient, Client],
211
+ x_api_key: str,
212
+ ) -> Response[
213
+ Union[
214
+ GetV1DesktopIdResponse200,
215
+ GetV1DesktopIdResponse400,
216
+ GetV1DesktopIdResponse401,
217
+ GetV1DesktopIdResponse403,
218
+ GetV1DesktopIdResponse404,
219
+ GetV1DesktopIdResponse409,
220
+ GetV1DesktopIdResponse429,
221
+ GetV1DesktopIdResponse500,
222
+ GetV1DesktopIdResponse502,
223
+ ]
224
+ ]:
225
+ """Get details of a specific desktop instance
226
+
227
+ Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
228
+
229
+ Args:
230
+ id (UUID): The UUID of the desktop instance to retrieve Example:
231
+ a1b2c3d4-e5f6-7890-1234-567890abcdef.
232
+ x_api_key (str): API key for authentication Example: api_12345.
233
+
234
+ Raises:
235
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
236
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
237
+
238
+ Returns:
239
+ Response[Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]]
240
+ """
241
+
242
+ kwargs = _get_kwargs(
243
+ id=id,
244
+ x_api_key=x_api_key,
245
+ )
246
+
247
+ response = await client.get_async_httpx_client().request(**kwargs)
248
+
249
+ return _build_response(client=client, response=response)
250
+
251
+
252
+ async def asyncio(
253
+ id: UUID,
254
+ *,
255
+ client: Union[AuthenticatedClient, Client],
256
+ x_api_key: str,
257
+ ) -> Optional[
258
+ Union[
259
+ GetV1DesktopIdResponse200,
260
+ GetV1DesktopIdResponse400,
261
+ GetV1DesktopIdResponse401,
262
+ GetV1DesktopIdResponse403,
263
+ GetV1DesktopIdResponse404,
264
+ GetV1DesktopIdResponse409,
265
+ GetV1DesktopIdResponse429,
266
+ GetV1DesktopIdResponse500,
267
+ GetV1DesktopIdResponse502,
268
+ ]
269
+ ]:
270
+ """Get details of a specific desktop instance
271
+
272
+ Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
273
+
274
+ Args:
275
+ id (UUID): The UUID of the desktop instance to retrieve Example:
276
+ a1b2c3d4-e5f6-7890-1234-567890abcdef.
277
+ x_api_key (str): API key for authentication Example: api_12345.
278
+
279
+ Raises:
280
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
281
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
282
+
283
+ Returns:
284
+ Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]
285
+ """
286
+
287
+ return (
288
+ await asyncio_detailed(
289
+ id=id,
290
+ client=client,
291
+ x_api_key=x_api_key,
292
+ )
293
+ ).parsed