cyberdesk 0.2.3__py3-none-any.whl → 0.2.5__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 (134) hide show
  1. {cyberdesk-0.2.3.dist-info → cyberdesk-0.2.5.dist-info}/METADATA +2 -2
  2. cyberdesk-0.2.5.dist-info/RECORD +136 -0
  3. cyberdesk-0.2.5.dist-info/top_level.txt +2 -0
  4. openapi_client/api_reference_client/__init__.py +8 -0
  5. openapi_client/api_reference_client/api/__init__.py +1 -0
  6. openapi_client/api_reference_client/api/desktop/__init__.py +1 -0
  7. openapi_client/api_reference_client/api/desktop/get_v1_desktop_id.py +293 -0
  8. openapi_client/api_reference_client/api/desktop/post_v1_desktop.py +294 -0
  9. openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_bash_action.py +307 -0
  10. openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_computer_action.py +419 -0
  11. openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_stop.py +288 -0
  12. openapi_client/api_reference_client/client.py +268 -0
  13. openapi_client/api_reference_client/errors.py +16 -0
  14. openapi_client/api_reference_client/models/__init__.py +249 -0
  15. openapi_client/api_reference_client/models/get_v1_desktop_id_response_200.py +104 -0
  16. openapi_client/api_reference_client/models/get_v1_desktop_id_response_200_status.py +11 -0
  17. openapi_client/api_reference_client/models/get_v1_desktop_id_response_400.py +69 -0
  18. openapi_client/api_reference_client/models/get_v1_desktop_id_response_400_status.py +8 -0
  19. openapi_client/api_reference_client/models/get_v1_desktop_id_response_401.py +69 -0
  20. openapi_client/api_reference_client/models/get_v1_desktop_id_response_401_status.py +8 -0
  21. openapi_client/api_reference_client/models/get_v1_desktop_id_response_403.py +69 -0
  22. openapi_client/api_reference_client/models/get_v1_desktop_id_response_403_status.py +8 -0
  23. openapi_client/api_reference_client/models/get_v1_desktop_id_response_404.py +69 -0
  24. openapi_client/api_reference_client/models/get_v1_desktop_id_response_404_status.py +8 -0
  25. openapi_client/api_reference_client/models/get_v1_desktop_id_response_409.py +69 -0
  26. openapi_client/api_reference_client/models/get_v1_desktop_id_response_409_status.py +8 -0
  27. openapi_client/api_reference_client/models/get_v1_desktop_id_response_429.py +69 -0
  28. openapi_client/api_reference_client/models/get_v1_desktop_id_response_429_status.py +8 -0
  29. openapi_client/api_reference_client/models/get_v1_desktop_id_response_500.py +69 -0
  30. openapi_client/api_reference_client/models/get_v1_desktop_id_response_500_status.py +8 -0
  31. openapi_client/api_reference_client/models/get_v1_desktop_id_response_502.py +69 -0
  32. openapi_client/api_reference_client/models/get_v1_desktop_id_response_502_status.py +8 -0
  33. openapi_client/api_reference_client/models/post_v1_desktop_body.py +59 -0
  34. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_body.py +59 -0
  35. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_200.py +79 -0
  36. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400.py +69 -0
  37. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400_status.py +8 -0
  38. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401.py +69 -0
  39. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401_status.py +8 -0
  40. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403.py +69 -0
  41. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403_status.py +8 -0
  42. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404.py +69 -0
  43. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404_status.py +8 -0
  44. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409.py +69 -0
  45. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409_status.py +8 -0
  46. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429.py +69 -0
  47. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429_status.py +8 -0
  48. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500.py +69 -0
  49. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500_status.py +8 -0
  50. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502.py +69 -0
  51. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502_status.py +8 -0
  52. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action.py +133 -0
  53. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_button.py +10 -0
  54. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_click_type.py +10 -0
  55. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_type.py +8 -0
  56. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action.py +98 -0
  57. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_end.py +71 -0
  58. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_start.py +71 -0
  59. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_type.py +8 -0
  60. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action.py +64 -0
  61. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action_type.py +8 -0
  62. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action.py +80 -0
  63. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action_type.py +8 -0
  64. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action.py +109 -0
  65. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_key_action_type.py +10 -0
  66. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_type.py +8 -0
  67. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_200.py +79 -0
  68. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400.py +71 -0
  69. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400_status.py +8 -0
  70. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401.py +71 -0
  71. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401_status.py +8 -0
  72. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403.py +71 -0
  73. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403_status.py +8 -0
  74. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404.py +71 -0
  75. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404_status.py +8 -0
  76. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409.py +71 -0
  77. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409_status.py +8 -0
  78. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429.py +71 -0
  79. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429_status.py +8 -0
  80. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500.py +71 -0
  81. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500_status.py +8 -0
  82. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502.py +71 -0
  83. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502_status.py +8 -0
  84. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action.py +63 -0
  85. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action_type.py +8 -0
  86. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action.py +81 -0
  87. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_direction.py +11 -0
  88. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_type.py +8 -0
  89. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action.py +71 -0
  90. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action_type.py +8 -0
  91. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action.py +70 -0
  92. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action_type.py +8 -0
  93. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200.py +62 -0
  94. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200_status.py +11 -0
  95. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400.py +69 -0
  96. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400_status.py +8 -0
  97. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401.py +69 -0
  98. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401_status.py +8 -0
  99. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403.py +69 -0
  100. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403_status.py +8 -0
  101. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404.py +69 -0
  102. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404_status.py +8 -0
  103. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409.py +69 -0
  104. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409_status.py +8 -0
  105. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429.py +69 -0
  106. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429_status.py +8 -0
  107. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500.py +69 -0
  108. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500_status.py +8 -0
  109. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502.py +69 -0
  110. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502_status.py +8 -0
  111. openapi_client/api_reference_client/models/post_v1_desktop_response_200.py +70 -0
  112. openapi_client/api_reference_client/models/post_v1_desktop_response_200_status.py +11 -0
  113. openapi_client/api_reference_client/models/post_v1_desktop_response_400.py +69 -0
  114. openapi_client/api_reference_client/models/post_v1_desktop_response_400_status.py +8 -0
  115. openapi_client/api_reference_client/models/post_v1_desktop_response_401.py +69 -0
  116. openapi_client/api_reference_client/models/post_v1_desktop_response_401_status.py +8 -0
  117. openapi_client/api_reference_client/models/post_v1_desktop_response_403.py +69 -0
  118. openapi_client/api_reference_client/models/post_v1_desktop_response_403_status.py +8 -0
  119. openapi_client/api_reference_client/models/post_v1_desktop_response_404.py +69 -0
  120. openapi_client/api_reference_client/models/post_v1_desktop_response_404_status.py +8 -0
  121. openapi_client/api_reference_client/models/post_v1_desktop_response_409.py +69 -0
  122. openapi_client/api_reference_client/models/post_v1_desktop_response_409_status.py +8 -0
  123. openapi_client/api_reference_client/models/post_v1_desktop_response_429.py +69 -0
  124. openapi_client/api_reference_client/models/post_v1_desktop_response_429_status.py +8 -0
  125. openapi_client/api_reference_client/models/post_v1_desktop_response_500.py +69 -0
  126. openapi_client/api_reference_client/models/post_v1_desktop_response_500_status.py +8 -0
  127. openapi_client/api_reference_client/models/post_v1_desktop_response_502.py +69 -0
  128. openapi_client/api_reference_client/models/post_v1_desktop_response_502_status.py +8 -0
  129. openapi_client/api_reference_client/py.typed +1 -0
  130. openapi_client/api_reference_client/types.py +46 -0
  131. cyberdesk-0.2.3.dist-info/RECORD +0 -9
  132. cyberdesk-0.2.3.dist-info/top_level.txt +0 -1
  133. {cyberdesk-0.2.3.dist-info → cyberdesk-0.2.5.dist-info}/WHEEL +0 -0
  134. {cyberdesk-0.2.3.dist-info → cyberdesk-0.2.5.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,249 @@
1
+ """Contains all the data models used in inputs/outputs"""
2
+
3
+ from .get_v1_desktop_id_response_200 import GetV1DesktopIdResponse200
4
+ from .get_v1_desktop_id_response_200_status import GetV1DesktopIdResponse200Status
5
+ from .get_v1_desktop_id_response_400 import GetV1DesktopIdResponse400
6
+ from .get_v1_desktop_id_response_400_status import GetV1DesktopIdResponse400Status
7
+ from .get_v1_desktop_id_response_401 import GetV1DesktopIdResponse401
8
+ from .get_v1_desktop_id_response_401_status import GetV1DesktopIdResponse401Status
9
+ from .get_v1_desktop_id_response_403 import GetV1DesktopIdResponse403
10
+ from .get_v1_desktop_id_response_403_status import GetV1DesktopIdResponse403Status
11
+ from .get_v1_desktop_id_response_404 import GetV1DesktopIdResponse404
12
+ from .get_v1_desktop_id_response_404_status import GetV1DesktopIdResponse404Status
13
+ from .get_v1_desktop_id_response_409 import GetV1DesktopIdResponse409
14
+ from .get_v1_desktop_id_response_409_status import GetV1DesktopIdResponse409Status
15
+ from .get_v1_desktop_id_response_429 import GetV1DesktopIdResponse429
16
+ from .get_v1_desktop_id_response_429_status import GetV1DesktopIdResponse429Status
17
+ from .get_v1_desktop_id_response_500 import GetV1DesktopIdResponse500
18
+ from .get_v1_desktop_id_response_500_status import GetV1DesktopIdResponse500Status
19
+ from .get_v1_desktop_id_response_502 import GetV1DesktopIdResponse502
20
+ from .get_v1_desktop_id_response_502_status import GetV1DesktopIdResponse502Status
21
+ from .post_v1_desktop_body import PostV1DesktopBody
22
+ from .post_v1_desktop_id_bash_action_body import PostV1DesktopIdBashActionBody
23
+ from .post_v1_desktop_id_bash_action_response_200 import PostV1DesktopIdBashActionResponse200
24
+ from .post_v1_desktop_id_bash_action_response_400 import PostV1DesktopIdBashActionResponse400
25
+ from .post_v1_desktop_id_bash_action_response_400_status import PostV1DesktopIdBashActionResponse400Status
26
+ from .post_v1_desktop_id_bash_action_response_401 import PostV1DesktopIdBashActionResponse401
27
+ from .post_v1_desktop_id_bash_action_response_401_status import PostV1DesktopIdBashActionResponse401Status
28
+ from .post_v1_desktop_id_bash_action_response_403 import PostV1DesktopIdBashActionResponse403
29
+ from .post_v1_desktop_id_bash_action_response_403_status import PostV1DesktopIdBashActionResponse403Status
30
+ from .post_v1_desktop_id_bash_action_response_404 import PostV1DesktopIdBashActionResponse404
31
+ from .post_v1_desktop_id_bash_action_response_404_status import PostV1DesktopIdBashActionResponse404Status
32
+ from .post_v1_desktop_id_bash_action_response_409 import PostV1DesktopIdBashActionResponse409
33
+ from .post_v1_desktop_id_bash_action_response_409_status import PostV1DesktopIdBashActionResponse409Status
34
+ from .post_v1_desktop_id_bash_action_response_429 import PostV1DesktopIdBashActionResponse429
35
+ from .post_v1_desktop_id_bash_action_response_429_status import PostV1DesktopIdBashActionResponse429Status
36
+ from .post_v1_desktop_id_bash_action_response_500 import PostV1DesktopIdBashActionResponse500
37
+ from .post_v1_desktop_id_bash_action_response_500_status import PostV1DesktopIdBashActionResponse500Status
38
+ from .post_v1_desktop_id_bash_action_response_502 import PostV1DesktopIdBashActionResponse502
39
+ from .post_v1_desktop_id_bash_action_response_502_status import PostV1DesktopIdBashActionResponse502Status
40
+ from .post_v1_desktop_id_computer_action_click_mouse_action import PostV1DesktopIdComputerActionClickMouseAction
41
+ from .post_v1_desktop_id_computer_action_click_mouse_action_button import (
42
+ PostV1DesktopIdComputerActionClickMouseActionButton,
43
+ )
44
+ from .post_v1_desktop_id_computer_action_click_mouse_action_click_type import (
45
+ PostV1DesktopIdComputerActionClickMouseActionClickType,
46
+ )
47
+ from .post_v1_desktop_id_computer_action_click_mouse_action_type import (
48
+ PostV1DesktopIdComputerActionClickMouseActionType,
49
+ )
50
+ from .post_v1_desktop_id_computer_action_drag_mouse_action import PostV1DesktopIdComputerActionDragMouseAction
51
+ from .post_v1_desktop_id_computer_action_drag_mouse_action_end import PostV1DesktopIdComputerActionDragMouseActionEnd
52
+ from .post_v1_desktop_id_computer_action_drag_mouse_action_start import (
53
+ PostV1DesktopIdComputerActionDragMouseActionStart,
54
+ )
55
+ from .post_v1_desktop_id_computer_action_drag_mouse_action_type import PostV1DesktopIdComputerActionDragMouseActionType
56
+ from .post_v1_desktop_id_computer_action_get_cursor_position_action import (
57
+ PostV1DesktopIdComputerActionGetCursorPositionAction,
58
+ )
59
+ from .post_v1_desktop_id_computer_action_get_cursor_position_action_type import (
60
+ PostV1DesktopIdComputerActionGetCursorPositionActionType,
61
+ )
62
+ from .post_v1_desktop_id_computer_action_move_mouse_action import PostV1DesktopIdComputerActionMoveMouseAction
63
+ from .post_v1_desktop_id_computer_action_move_mouse_action_type import PostV1DesktopIdComputerActionMoveMouseActionType
64
+ from .post_v1_desktop_id_computer_action_press_keys_action import PostV1DesktopIdComputerActionPressKeysAction
65
+ from .post_v1_desktop_id_computer_action_press_keys_action_key_action_type import (
66
+ PostV1DesktopIdComputerActionPressKeysActionKeyActionType,
67
+ )
68
+ from .post_v1_desktop_id_computer_action_press_keys_action_type import PostV1DesktopIdComputerActionPressKeysActionType
69
+ from .post_v1_desktop_id_computer_action_response_200 import PostV1DesktopIdComputerActionResponse200
70
+ from .post_v1_desktop_id_computer_action_response_400 import PostV1DesktopIdComputerActionResponse400
71
+ from .post_v1_desktop_id_computer_action_response_400_status import PostV1DesktopIdComputerActionResponse400Status
72
+ from .post_v1_desktop_id_computer_action_response_401 import PostV1DesktopIdComputerActionResponse401
73
+ from .post_v1_desktop_id_computer_action_response_401_status import PostV1DesktopIdComputerActionResponse401Status
74
+ from .post_v1_desktop_id_computer_action_response_403 import PostV1DesktopIdComputerActionResponse403
75
+ from .post_v1_desktop_id_computer_action_response_403_status import PostV1DesktopIdComputerActionResponse403Status
76
+ from .post_v1_desktop_id_computer_action_response_404 import PostV1DesktopIdComputerActionResponse404
77
+ from .post_v1_desktop_id_computer_action_response_404_status import PostV1DesktopIdComputerActionResponse404Status
78
+ from .post_v1_desktop_id_computer_action_response_409 import PostV1DesktopIdComputerActionResponse409
79
+ from .post_v1_desktop_id_computer_action_response_409_status import PostV1DesktopIdComputerActionResponse409Status
80
+ from .post_v1_desktop_id_computer_action_response_429 import PostV1DesktopIdComputerActionResponse429
81
+ from .post_v1_desktop_id_computer_action_response_429_status import PostV1DesktopIdComputerActionResponse429Status
82
+ from .post_v1_desktop_id_computer_action_response_500 import PostV1DesktopIdComputerActionResponse500
83
+ from .post_v1_desktop_id_computer_action_response_500_status import PostV1DesktopIdComputerActionResponse500Status
84
+ from .post_v1_desktop_id_computer_action_response_502 import PostV1DesktopIdComputerActionResponse502
85
+ from .post_v1_desktop_id_computer_action_response_502_status import PostV1DesktopIdComputerActionResponse502Status
86
+ from .post_v1_desktop_id_computer_action_screenshot_action import PostV1DesktopIdComputerActionScreenshotAction
87
+ from .post_v1_desktop_id_computer_action_screenshot_action_type import PostV1DesktopIdComputerActionScreenshotActionType
88
+ from .post_v1_desktop_id_computer_action_scroll_action import PostV1DesktopIdComputerActionScrollAction
89
+ from .post_v1_desktop_id_computer_action_scroll_action_direction import (
90
+ PostV1DesktopIdComputerActionScrollActionDirection,
91
+ )
92
+ from .post_v1_desktop_id_computer_action_scroll_action_type import PostV1DesktopIdComputerActionScrollActionType
93
+ from .post_v1_desktop_id_computer_action_type_text_action import PostV1DesktopIdComputerActionTypeTextAction
94
+ from .post_v1_desktop_id_computer_action_type_text_action_type import PostV1DesktopIdComputerActionTypeTextActionType
95
+ from .post_v1_desktop_id_computer_action_wait_action import PostV1DesktopIdComputerActionWaitAction
96
+ from .post_v1_desktop_id_computer_action_wait_action_type import PostV1DesktopIdComputerActionWaitActionType
97
+ from .post_v1_desktop_id_stop_response_200 import PostV1DesktopIdStopResponse200
98
+ from .post_v1_desktop_id_stop_response_200_status import PostV1DesktopIdStopResponse200Status
99
+ from .post_v1_desktop_id_stop_response_400 import PostV1DesktopIdStopResponse400
100
+ from .post_v1_desktop_id_stop_response_400_status import PostV1DesktopIdStopResponse400Status
101
+ from .post_v1_desktop_id_stop_response_401 import PostV1DesktopIdStopResponse401
102
+ from .post_v1_desktop_id_stop_response_401_status import PostV1DesktopIdStopResponse401Status
103
+ from .post_v1_desktop_id_stop_response_403 import PostV1DesktopIdStopResponse403
104
+ from .post_v1_desktop_id_stop_response_403_status import PostV1DesktopIdStopResponse403Status
105
+ from .post_v1_desktop_id_stop_response_404 import PostV1DesktopIdStopResponse404
106
+ from .post_v1_desktop_id_stop_response_404_status import PostV1DesktopIdStopResponse404Status
107
+ from .post_v1_desktop_id_stop_response_409 import PostV1DesktopIdStopResponse409
108
+ from .post_v1_desktop_id_stop_response_409_status import PostV1DesktopIdStopResponse409Status
109
+ from .post_v1_desktop_id_stop_response_429 import PostV1DesktopIdStopResponse429
110
+ from .post_v1_desktop_id_stop_response_429_status import PostV1DesktopIdStopResponse429Status
111
+ from .post_v1_desktop_id_stop_response_500 import PostV1DesktopIdStopResponse500
112
+ from .post_v1_desktop_id_stop_response_500_status import PostV1DesktopIdStopResponse500Status
113
+ from .post_v1_desktop_id_stop_response_502 import PostV1DesktopIdStopResponse502
114
+ from .post_v1_desktop_id_stop_response_502_status import PostV1DesktopIdStopResponse502Status
115
+ from .post_v1_desktop_response_200 import PostV1DesktopResponse200
116
+ from .post_v1_desktop_response_200_status import PostV1DesktopResponse200Status
117
+ from .post_v1_desktop_response_400 import PostV1DesktopResponse400
118
+ from .post_v1_desktop_response_400_status import PostV1DesktopResponse400Status
119
+ from .post_v1_desktop_response_401 import PostV1DesktopResponse401
120
+ from .post_v1_desktop_response_401_status import PostV1DesktopResponse401Status
121
+ from .post_v1_desktop_response_403 import PostV1DesktopResponse403
122
+ from .post_v1_desktop_response_403_status import PostV1DesktopResponse403Status
123
+ from .post_v1_desktop_response_404 import PostV1DesktopResponse404
124
+ from .post_v1_desktop_response_404_status import PostV1DesktopResponse404Status
125
+ from .post_v1_desktop_response_409 import PostV1DesktopResponse409
126
+ from .post_v1_desktop_response_409_status import PostV1DesktopResponse409Status
127
+ from .post_v1_desktop_response_429 import PostV1DesktopResponse429
128
+ from .post_v1_desktop_response_429_status import PostV1DesktopResponse429Status
129
+ from .post_v1_desktop_response_500 import PostV1DesktopResponse500
130
+ from .post_v1_desktop_response_500_status import PostV1DesktopResponse500Status
131
+ from .post_v1_desktop_response_502 import PostV1DesktopResponse502
132
+ from .post_v1_desktop_response_502_status import PostV1DesktopResponse502Status
133
+
134
+ __all__ = (
135
+ "GetV1DesktopIdResponse200",
136
+ "GetV1DesktopIdResponse200Status",
137
+ "GetV1DesktopIdResponse400",
138
+ "GetV1DesktopIdResponse400Status",
139
+ "GetV1DesktopIdResponse401",
140
+ "GetV1DesktopIdResponse401Status",
141
+ "GetV1DesktopIdResponse403",
142
+ "GetV1DesktopIdResponse403Status",
143
+ "GetV1DesktopIdResponse404",
144
+ "GetV1DesktopIdResponse404Status",
145
+ "GetV1DesktopIdResponse409",
146
+ "GetV1DesktopIdResponse409Status",
147
+ "GetV1DesktopIdResponse429",
148
+ "GetV1DesktopIdResponse429Status",
149
+ "GetV1DesktopIdResponse500",
150
+ "GetV1DesktopIdResponse500Status",
151
+ "GetV1DesktopIdResponse502",
152
+ "GetV1DesktopIdResponse502Status",
153
+ "PostV1DesktopBody",
154
+ "PostV1DesktopIdBashActionBody",
155
+ "PostV1DesktopIdBashActionResponse200",
156
+ "PostV1DesktopIdBashActionResponse400",
157
+ "PostV1DesktopIdBashActionResponse400Status",
158
+ "PostV1DesktopIdBashActionResponse401",
159
+ "PostV1DesktopIdBashActionResponse401Status",
160
+ "PostV1DesktopIdBashActionResponse403",
161
+ "PostV1DesktopIdBashActionResponse403Status",
162
+ "PostV1DesktopIdBashActionResponse404",
163
+ "PostV1DesktopIdBashActionResponse404Status",
164
+ "PostV1DesktopIdBashActionResponse409",
165
+ "PostV1DesktopIdBashActionResponse409Status",
166
+ "PostV1DesktopIdBashActionResponse429",
167
+ "PostV1DesktopIdBashActionResponse429Status",
168
+ "PostV1DesktopIdBashActionResponse500",
169
+ "PostV1DesktopIdBashActionResponse500Status",
170
+ "PostV1DesktopIdBashActionResponse502",
171
+ "PostV1DesktopIdBashActionResponse502Status",
172
+ "PostV1DesktopIdComputerActionClickMouseAction",
173
+ "PostV1DesktopIdComputerActionClickMouseActionButton",
174
+ "PostV1DesktopIdComputerActionClickMouseActionClickType",
175
+ "PostV1DesktopIdComputerActionClickMouseActionType",
176
+ "PostV1DesktopIdComputerActionDragMouseAction",
177
+ "PostV1DesktopIdComputerActionDragMouseActionEnd",
178
+ "PostV1DesktopIdComputerActionDragMouseActionStart",
179
+ "PostV1DesktopIdComputerActionDragMouseActionType",
180
+ "PostV1DesktopIdComputerActionGetCursorPositionAction",
181
+ "PostV1DesktopIdComputerActionGetCursorPositionActionType",
182
+ "PostV1DesktopIdComputerActionMoveMouseAction",
183
+ "PostV1DesktopIdComputerActionMoveMouseActionType",
184
+ "PostV1DesktopIdComputerActionPressKeysAction",
185
+ "PostV1DesktopIdComputerActionPressKeysActionKeyActionType",
186
+ "PostV1DesktopIdComputerActionPressKeysActionType",
187
+ "PostV1DesktopIdComputerActionResponse200",
188
+ "PostV1DesktopIdComputerActionResponse400",
189
+ "PostV1DesktopIdComputerActionResponse400Status",
190
+ "PostV1DesktopIdComputerActionResponse401",
191
+ "PostV1DesktopIdComputerActionResponse401Status",
192
+ "PostV1DesktopIdComputerActionResponse403",
193
+ "PostV1DesktopIdComputerActionResponse403Status",
194
+ "PostV1DesktopIdComputerActionResponse404",
195
+ "PostV1DesktopIdComputerActionResponse404Status",
196
+ "PostV1DesktopIdComputerActionResponse409",
197
+ "PostV1DesktopIdComputerActionResponse409Status",
198
+ "PostV1DesktopIdComputerActionResponse429",
199
+ "PostV1DesktopIdComputerActionResponse429Status",
200
+ "PostV1DesktopIdComputerActionResponse500",
201
+ "PostV1DesktopIdComputerActionResponse500Status",
202
+ "PostV1DesktopIdComputerActionResponse502",
203
+ "PostV1DesktopIdComputerActionResponse502Status",
204
+ "PostV1DesktopIdComputerActionScreenshotAction",
205
+ "PostV1DesktopIdComputerActionScreenshotActionType",
206
+ "PostV1DesktopIdComputerActionScrollAction",
207
+ "PostV1DesktopIdComputerActionScrollActionDirection",
208
+ "PostV1DesktopIdComputerActionScrollActionType",
209
+ "PostV1DesktopIdComputerActionTypeTextAction",
210
+ "PostV1DesktopIdComputerActionTypeTextActionType",
211
+ "PostV1DesktopIdComputerActionWaitAction",
212
+ "PostV1DesktopIdComputerActionWaitActionType",
213
+ "PostV1DesktopIdStopResponse200",
214
+ "PostV1DesktopIdStopResponse200Status",
215
+ "PostV1DesktopIdStopResponse400",
216
+ "PostV1DesktopIdStopResponse400Status",
217
+ "PostV1DesktopIdStopResponse401",
218
+ "PostV1DesktopIdStopResponse401Status",
219
+ "PostV1DesktopIdStopResponse403",
220
+ "PostV1DesktopIdStopResponse403Status",
221
+ "PostV1DesktopIdStopResponse404",
222
+ "PostV1DesktopIdStopResponse404Status",
223
+ "PostV1DesktopIdStopResponse409",
224
+ "PostV1DesktopIdStopResponse409Status",
225
+ "PostV1DesktopIdStopResponse429",
226
+ "PostV1DesktopIdStopResponse429Status",
227
+ "PostV1DesktopIdStopResponse500",
228
+ "PostV1DesktopIdStopResponse500Status",
229
+ "PostV1DesktopIdStopResponse502",
230
+ "PostV1DesktopIdStopResponse502Status",
231
+ "PostV1DesktopResponse200",
232
+ "PostV1DesktopResponse200Status",
233
+ "PostV1DesktopResponse400",
234
+ "PostV1DesktopResponse400Status",
235
+ "PostV1DesktopResponse401",
236
+ "PostV1DesktopResponse401Status",
237
+ "PostV1DesktopResponse403",
238
+ "PostV1DesktopResponse403Status",
239
+ "PostV1DesktopResponse404",
240
+ "PostV1DesktopResponse404Status",
241
+ "PostV1DesktopResponse409",
242
+ "PostV1DesktopResponse409Status",
243
+ "PostV1DesktopResponse429",
244
+ "PostV1DesktopResponse429Status",
245
+ "PostV1DesktopResponse500",
246
+ "PostV1DesktopResponse500Status",
247
+ "PostV1DesktopResponse502",
248
+ "PostV1DesktopResponse502Status",
249
+ )
@@ -0,0 +1,104 @@
1
+ import datetime
2
+ from collections.abc import Mapping
3
+ from typing import Any, TypeVar, Union, cast
4
+ from uuid import UUID
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+ from dateutil.parser import isoparse
9
+
10
+ from ..models.get_v1_desktop_id_response_200_status import GetV1DesktopIdResponse200Status
11
+
12
+ T = TypeVar("T", bound="GetV1DesktopIdResponse200")
13
+
14
+
15
+ @_attrs_define
16
+ class GetV1DesktopIdResponse200:
17
+ """
18
+ Attributes:
19
+ id (UUID): Unique identifier for the desktop instance Example: a1b2c3d4-e5f6-7890-1234-567890abcdef.
20
+ status (GetV1DesktopIdResponse200Status): Current status of the desktop instance Example: running.
21
+ stream_url (Union[None, str]): URL for the desktop stream (null if the desktop is not running) Example:
22
+ https://cyberdesk.com/vnc/a1b2c3d4-e5f6-7890-1234-567890abcdef.
23
+ created_at (datetime.datetime): Timestamp when the instance was created Example: 2023-10-27T10:00:00Z.
24
+ timeout_at (datetime.datetime): Timestamp when the instance will automatically time out Example:
25
+ 2023-10-28T10:00:00Z.
26
+ """
27
+
28
+ id: UUID
29
+ status: GetV1DesktopIdResponse200Status
30
+ stream_url: Union[None, str]
31
+ created_at: datetime.datetime
32
+ timeout_at: datetime.datetime
33
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
34
+
35
+ def to_dict(self) -> dict[str, Any]:
36
+ id = str(self.id)
37
+
38
+ status = self.status.value
39
+
40
+ stream_url: Union[None, str]
41
+ stream_url = self.stream_url
42
+
43
+ created_at = self.created_at.isoformat()
44
+
45
+ timeout_at = self.timeout_at.isoformat()
46
+
47
+ field_dict: dict[str, Any] = {}
48
+ field_dict.update(self.additional_properties)
49
+ field_dict.update(
50
+ {
51
+ "id": id,
52
+ "status": status,
53
+ "stream_url": stream_url,
54
+ "created_at": created_at,
55
+ "timeout_at": timeout_at,
56
+ }
57
+ )
58
+
59
+ return field_dict
60
+
61
+ @classmethod
62
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
63
+ d = dict(src_dict)
64
+ id = UUID(d.pop("id"))
65
+
66
+ status = GetV1DesktopIdResponse200Status(d.pop("status"))
67
+
68
+ def _parse_stream_url(data: object) -> Union[None, str]:
69
+ if data is None:
70
+ return data
71
+ return cast(Union[None, str], data)
72
+
73
+ stream_url = _parse_stream_url(d.pop("stream_url"))
74
+
75
+ created_at = isoparse(d.pop("created_at"))
76
+
77
+ timeout_at = isoparse(d.pop("timeout_at"))
78
+
79
+ get_v1_desktop_id_response_200 = cls(
80
+ id=id,
81
+ status=status,
82
+ stream_url=stream_url,
83
+ created_at=created_at,
84
+ timeout_at=timeout_at,
85
+ )
86
+
87
+ get_v1_desktop_id_response_200.additional_properties = d
88
+ return get_v1_desktop_id_response_200
89
+
90
+ @property
91
+ def additional_keys(self) -> list[str]:
92
+ return list(self.additional_properties.keys())
93
+
94
+ def __getitem__(self, key: str) -> Any:
95
+ return self.additional_properties[key]
96
+
97
+ def __setitem__(self, key: str, value: Any) -> None:
98
+ self.additional_properties[key] = value
99
+
100
+ def __delitem__(self, key: str) -> None:
101
+ del self.additional_properties[key]
102
+
103
+ def __contains__(self, key: str) -> bool:
104
+ return key in self.additional_properties
@@ -0,0 +1,11 @@
1
+ from enum import Enum
2
+
3
+
4
+ class GetV1DesktopIdResponse200Status(str, Enum):
5
+ ERROR = "error"
6
+ PENDING = "pending"
7
+ RUNNING = "running"
8
+ TERMINATED = "terminated"
9
+
10
+ def __str__(self) -> str:
11
+ return str(self.value)
@@ -0,0 +1,69 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..models.get_v1_desktop_id_response_400_status import GetV1DesktopIdResponse400Status
8
+
9
+ T = TypeVar("T", bound="GetV1DesktopIdResponse400")
10
+
11
+
12
+ @_attrs_define
13
+ class GetV1DesktopIdResponse400:
14
+ """
15
+ Attributes:
16
+ status (GetV1DesktopIdResponse400Status): Example: error.
17
+ error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
18
+ """
19
+
20
+ status: GetV1DesktopIdResponse400Status
21
+ error: str
22
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
23
+
24
+ def to_dict(self) -> dict[str, Any]:
25
+ status = self.status.value
26
+
27
+ error = self.error
28
+
29
+ field_dict: dict[str, Any] = {}
30
+ field_dict.update(self.additional_properties)
31
+ field_dict.update(
32
+ {
33
+ "status": status,
34
+ "error": error,
35
+ }
36
+ )
37
+
38
+ return field_dict
39
+
40
+ @classmethod
41
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
42
+ d = dict(src_dict)
43
+ status = GetV1DesktopIdResponse400Status(d.pop("status"))
44
+
45
+ error = d.pop("error")
46
+
47
+ get_v1_desktop_id_response_400 = cls(
48
+ status=status,
49
+ error=error,
50
+ )
51
+
52
+ get_v1_desktop_id_response_400.additional_properties = d
53
+ return get_v1_desktop_id_response_400
54
+
55
+ @property
56
+ def additional_keys(self) -> list[str]:
57
+ return list(self.additional_properties.keys())
58
+
59
+ def __getitem__(self, key: str) -> Any:
60
+ return self.additional_properties[key]
61
+
62
+ def __setitem__(self, key: str, value: Any) -> None:
63
+ self.additional_properties[key] = value
64
+
65
+ def __delitem__(self, key: str) -> None:
66
+ del self.additional_properties[key]
67
+
68
+ def __contains__(self, key: str) -> bool:
69
+ return key in self.additional_properties
@@ -0,0 +1,8 @@
1
+ from enum import Enum
2
+
3
+
4
+ class GetV1DesktopIdResponse400Status(str, Enum):
5
+ ERROR = "error"
6
+
7
+ def __str__(self) -> str:
8
+ return str(self.value)
@@ -0,0 +1,69 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..models.get_v1_desktop_id_response_401_status import GetV1DesktopIdResponse401Status
8
+
9
+ T = TypeVar("T", bound="GetV1DesktopIdResponse401")
10
+
11
+
12
+ @_attrs_define
13
+ class GetV1DesktopIdResponse401:
14
+ """
15
+ Attributes:
16
+ status (GetV1DesktopIdResponse401Status): Example: error.
17
+ error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
18
+ """
19
+
20
+ status: GetV1DesktopIdResponse401Status
21
+ error: str
22
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
23
+
24
+ def to_dict(self) -> dict[str, Any]:
25
+ status = self.status.value
26
+
27
+ error = self.error
28
+
29
+ field_dict: dict[str, Any] = {}
30
+ field_dict.update(self.additional_properties)
31
+ field_dict.update(
32
+ {
33
+ "status": status,
34
+ "error": error,
35
+ }
36
+ )
37
+
38
+ return field_dict
39
+
40
+ @classmethod
41
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
42
+ d = dict(src_dict)
43
+ status = GetV1DesktopIdResponse401Status(d.pop("status"))
44
+
45
+ error = d.pop("error")
46
+
47
+ get_v1_desktop_id_response_401 = cls(
48
+ status=status,
49
+ error=error,
50
+ )
51
+
52
+ get_v1_desktop_id_response_401.additional_properties = d
53
+ return get_v1_desktop_id_response_401
54
+
55
+ @property
56
+ def additional_keys(self) -> list[str]:
57
+ return list(self.additional_properties.keys())
58
+
59
+ def __getitem__(self, key: str) -> Any:
60
+ return self.additional_properties[key]
61
+
62
+ def __setitem__(self, key: str, value: Any) -> None:
63
+ self.additional_properties[key] = value
64
+
65
+ def __delitem__(self, key: str) -> None:
66
+ del self.additional_properties[key]
67
+
68
+ def __contains__(self, key: str) -> bool:
69
+ return key in self.additional_properties
@@ -0,0 +1,8 @@
1
+ from enum import Enum
2
+
3
+
4
+ class GetV1DesktopIdResponse401Status(str, Enum):
5
+ ERROR = "error"
6
+
7
+ def __str__(self) -> str:
8
+ return str(self.value)
@@ -0,0 +1,69 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..models.get_v1_desktop_id_response_403_status import GetV1DesktopIdResponse403Status
8
+
9
+ T = TypeVar("T", bound="GetV1DesktopIdResponse403")
10
+
11
+
12
+ @_attrs_define
13
+ class GetV1DesktopIdResponse403:
14
+ """
15
+ Attributes:
16
+ status (GetV1DesktopIdResponse403Status): Example: error.
17
+ error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
18
+ """
19
+
20
+ status: GetV1DesktopIdResponse403Status
21
+ error: str
22
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
23
+
24
+ def to_dict(self) -> dict[str, Any]:
25
+ status = self.status.value
26
+
27
+ error = self.error
28
+
29
+ field_dict: dict[str, Any] = {}
30
+ field_dict.update(self.additional_properties)
31
+ field_dict.update(
32
+ {
33
+ "status": status,
34
+ "error": error,
35
+ }
36
+ )
37
+
38
+ return field_dict
39
+
40
+ @classmethod
41
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
42
+ d = dict(src_dict)
43
+ status = GetV1DesktopIdResponse403Status(d.pop("status"))
44
+
45
+ error = d.pop("error")
46
+
47
+ get_v1_desktop_id_response_403 = cls(
48
+ status=status,
49
+ error=error,
50
+ )
51
+
52
+ get_v1_desktop_id_response_403.additional_properties = d
53
+ return get_v1_desktop_id_response_403
54
+
55
+ @property
56
+ def additional_keys(self) -> list[str]:
57
+ return list(self.additional_properties.keys())
58
+
59
+ def __getitem__(self, key: str) -> Any:
60
+ return self.additional_properties[key]
61
+
62
+ def __setitem__(self, key: str, value: Any) -> None:
63
+ self.additional_properties[key] = value
64
+
65
+ def __delitem__(self, key: str) -> None:
66
+ del self.additional_properties[key]
67
+
68
+ def __contains__(self, key: str) -> bool:
69
+ return key in self.additional_properties
@@ -0,0 +1,8 @@
1
+ from enum import Enum
2
+
3
+
4
+ class GetV1DesktopIdResponse403Status(str, Enum):
5
+ ERROR = "error"
6
+
7
+ def __str__(self) -> str:
8
+ return str(self.value)
@@ -0,0 +1,69 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..models.get_v1_desktop_id_response_404_status import GetV1DesktopIdResponse404Status
8
+
9
+ T = TypeVar("T", bound="GetV1DesktopIdResponse404")
10
+
11
+
12
+ @_attrs_define
13
+ class GetV1DesktopIdResponse404:
14
+ """
15
+ Attributes:
16
+ status (GetV1DesktopIdResponse404Status): Example: error.
17
+ error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
18
+ """
19
+
20
+ status: GetV1DesktopIdResponse404Status
21
+ error: str
22
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
23
+
24
+ def to_dict(self) -> dict[str, Any]:
25
+ status = self.status.value
26
+
27
+ error = self.error
28
+
29
+ field_dict: dict[str, Any] = {}
30
+ field_dict.update(self.additional_properties)
31
+ field_dict.update(
32
+ {
33
+ "status": status,
34
+ "error": error,
35
+ }
36
+ )
37
+
38
+ return field_dict
39
+
40
+ @classmethod
41
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
42
+ d = dict(src_dict)
43
+ status = GetV1DesktopIdResponse404Status(d.pop("status"))
44
+
45
+ error = d.pop("error")
46
+
47
+ get_v1_desktop_id_response_404 = cls(
48
+ status=status,
49
+ error=error,
50
+ )
51
+
52
+ get_v1_desktop_id_response_404.additional_properties = d
53
+ return get_v1_desktop_id_response_404
54
+
55
+ @property
56
+ def additional_keys(self) -> list[str]:
57
+ return list(self.additional_properties.keys())
58
+
59
+ def __getitem__(self, key: str) -> Any:
60
+ return self.additional_properties[key]
61
+
62
+ def __setitem__(self, key: str, value: Any) -> None:
63
+ self.additional_properties[key] = value
64
+
65
+ def __delitem__(self, key: str) -> None:
66
+ del self.additional_properties[key]
67
+
68
+ def __contains__(self, key: str) -> bool:
69
+ return key in self.additional_properties