cyberdesk 1.7.0__py3-none-any.whl → 1.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cyberdesk might be problematic. Click here for more details.
- cyberdesk/__init__.py +11 -1
- cyberdesk/client.py +188 -0
- {cyberdesk-1.7.0.dist-info → cyberdesk-1.9.0.dist-info}/METADATA +39 -17
- {cyberdesk-1.7.0.dist-info → cyberdesk-1.9.0.dist-info}/RECORD +43 -15
- openapi_client/cyberdesk_cloud_client/api/computer/fs_list_v1_computer_machine_id_fs_list_get.py +188 -0
- openapi_client/cyberdesk_cloud_client/api/computer/fs_read_v1_computer_machine_id_fs_read_get.py +188 -0
- openapi_client/cyberdesk_cloud_client/api/computer/fs_write_v1_computer_machine_id_fs_write_post.py +201 -0
- openapi_client/cyberdesk_cloud_client/api/computer/powershell_exec_v1_computer_machine_id_shell_powershell_exec_post.py +219 -0
- openapi_client/cyberdesk_cloud_client/api/computer/powershell_session_v1_computer_machine_id_shell_powershell_session_post.py +219 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/create_run_attachment_v1_run_attachments_post.py +184 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/delete_run_attachment_v1_run_attachments_attachment_id_delete.py +170 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/download_run_attachment_v1_run_attachments_attachment_id_download_get.py +170 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/get_run_attachment_v1_run_attachments_attachment_id_get.py +172 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/list_run_attachments_v1_run_attachments_get.py +240 -0
- openapi_client/cyberdesk_cloud_client/api/run_attachments/update_run_attachment_v1_run_attachments_attachment_id_put.py +194 -0
- openapi_client/cyberdesk_cloud_client/models/__init__.py +42 -0
- openapi_client/cyberdesk_cloud_client/models/attachment_type.py +9 -0
- openapi_client/cyberdesk_cloud_client/models/file_input.py +99 -0
- openapi_client/cyberdesk_cloud_client/models/file_write_request.py +78 -0
- openapi_client/cyberdesk_cloud_client/models/fs_list_v1_computer_machine_id_fs_list_get_response_fs_list_v1_computer_machine_id_fs_list_get.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/fs_read_v1_computer_machine_id_fs_read_get_response_fs_read_v1_computer_machine_id_fs_read_get.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/fs_write_v1_computer_machine_id_fs_write_post_response_fs_write_v1_computer_machine_id_fs_write_post.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/paginated_response_run_attachment_response.py +97 -0
- openapi_client/cyberdesk_cloud_client/models/power_shell_exec_request.py +110 -0
- openapi_client/cyberdesk_cloud_client/models/power_shell_session_request.py +81 -0
- openapi_client/cyberdesk_cloud_client/models/powershell_exec_v1_computer_machine_id_shell_powershell_exec_post_response_powershell_exec_v1_computer_machine_id_shell_powershell_exec_post.py +47 -0
- openapi_client/cyberdesk_cloud_client/models/powershell_session_v1_computer_machine_id_shell_powershell_session_post_response_powershell_session_v1_computer_machine_id_shell_powershell_session_post.py +47 -0
- openapi_client/cyberdesk_cloud_client/models/run_attachment_create.py +157 -0
- openapi_client/cyberdesk_cloud_client/models/run_attachment_response.py +189 -0
- openapi_client/cyberdesk_cloud_client/models/run_attachment_update.py +84 -0
- openapi_client/cyberdesk_cloud_client/models/run_create.py +41 -0
- openapi_client/cyberdesk_cloud_client/models/run_response.py +26 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_create.py +40 -1
- openapi_client/cyberdesk_cloud_client/models/trajectory_create_original_input_values_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_response.py +40 -1
- openapi_client/cyberdesk_cloud_client/models/trajectory_response_original_input_values_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/workflow_create.py +9 -0
- openapi_client/cyberdesk_cloud_client/models/workflow_response.py +9 -0
- openapi_client/cyberdesk_cloud_client/models/workflow_update.py +20 -0
- {cyberdesk-1.7.0.dist-info → cyberdesk-1.9.0.dist-info}/WHEEL +0 -0
- {cyberdesk-1.7.0.dist-info → cyberdesk-1.9.0.dist-info}/licenses/LICENSE +0 -0
- {cyberdesk-1.7.0.dist-info → cyberdesk-1.9.0.dist-info}/top_level.txt +0 -0
openapi_client/cyberdesk_cloud_client/models/trajectory_response_original_input_values_type_0.py
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
T = TypeVar("T", bound="TrajectoryResponseOriginalInputValuesType0")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class TrajectoryResponseOriginalInputValuesType0:
|
|
12
|
+
""" """
|
|
13
|
+
|
|
14
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
15
|
+
|
|
16
|
+
def to_dict(self) -> dict[str, Any]:
|
|
17
|
+
field_dict: dict[str, Any] = {}
|
|
18
|
+
field_dict.update(self.additional_properties)
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
|
+
d = dict(src_dict)
|
|
25
|
+
trajectory_response_original_input_values_type_0 = cls()
|
|
26
|
+
|
|
27
|
+
trajectory_response_original_input_values_type_0.additional_properties = d
|
|
28
|
+
return trajectory_response_original_input_values_type_0
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> list[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> Any:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -17,11 +17,13 @@ class WorkflowCreate:
|
|
|
17
17
|
main_prompt (str):
|
|
18
18
|
name (Union[None, Unset, str]):
|
|
19
19
|
output_schema (Union[None, Unset, str]): JSON schema for output data transformation
|
|
20
|
+
includes_file_exports (Union[Unset, bool]): Enable AI-based file export detection Default: False.
|
|
20
21
|
"""
|
|
21
22
|
|
|
22
23
|
main_prompt: str
|
|
23
24
|
name: Union[None, Unset, str] = UNSET
|
|
24
25
|
output_schema: Union[None, Unset, str] = UNSET
|
|
26
|
+
includes_file_exports: Union[Unset, bool] = False
|
|
25
27
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
28
|
|
|
27
29
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -39,6 +41,8 @@ class WorkflowCreate:
|
|
|
39
41
|
else:
|
|
40
42
|
output_schema = self.output_schema
|
|
41
43
|
|
|
44
|
+
includes_file_exports = self.includes_file_exports
|
|
45
|
+
|
|
42
46
|
field_dict: dict[str, Any] = {}
|
|
43
47
|
field_dict.update(self.additional_properties)
|
|
44
48
|
field_dict.update(
|
|
@@ -50,6 +54,8 @@ class WorkflowCreate:
|
|
|
50
54
|
field_dict["name"] = name
|
|
51
55
|
if output_schema is not UNSET:
|
|
52
56
|
field_dict["output_schema"] = output_schema
|
|
57
|
+
if includes_file_exports is not UNSET:
|
|
58
|
+
field_dict["includes_file_exports"] = includes_file_exports
|
|
53
59
|
|
|
54
60
|
return field_dict
|
|
55
61
|
|
|
@@ -76,10 +82,13 @@ class WorkflowCreate:
|
|
|
76
82
|
|
|
77
83
|
output_schema = _parse_output_schema(d.pop("output_schema", UNSET))
|
|
78
84
|
|
|
85
|
+
includes_file_exports = d.pop("includes_file_exports", UNSET)
|
|
86
|
+
|
|
79
87
|
workflow_create = cls(
|
|
80
88
|
main_prompt=main_prompt,
|
|
81
89
|
name=name,
|
|
82
90
|
output_schema=output_schema,
|
|
91
|
+
includes_file_exports=includes_file_exports,
|
|
83
92
|
)
|
|
84
93
|
|
|
85
94
|
workflow_create.additional_properties = d
|
|
@@ -28,6 +28,7 @@ class WorkflowResponse:
|
|
|
28
28
|
updated_at (datetime.datetime):
|
|
29
29
|
name (Union[None, Unset, str]):
|
|
30
30
|
output_schema (Union[None, Unset, str]): JSON schema for output data transformation
|
|
31
|
+
includes_file_exports (Union[Unset, bool]): Enable AI-based file export detection Default: False.
|
|
31
32
|
includes_input_variables (Union[Unset, bool]): Default: False.
|
|
32
33
|
old_versions (Union[None, Unset, list['WorkflowResponseOldVersionsType0Item']]):
|
|
33
34
|
"""
|
|
@@ -39,6 +40,7 @@ class WorkflowResponse:
|
|
|
39
40
|
updated_at: datetime.datetime
|
|
40
41
|
name: Union[None, Unset, str] = UNSET
|
|
41
42
|
output_schema: Union[None, Unset, str] = UNSET
|
|
43
|
+
includes_file_exports: Union[Unset, bool] = False
|
|
42
44
|
includes_input_variables: Union[Unset, bool] = False
|
|
43
45
|
old_versions: Union[None, Unset, list["WorkflowResponseOldVersionsType0Item"]] = UNSET
|
|
44
46
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
@@ -66,6 +68,8 @@ class WorkflowResponse:
|
|
|
66
68
|
else:
|
|
67
69
|
output_schema = self.output_schema
|
|
68
70
|
|
|
71
|
+
includes_file_exports = self.includes_file_exports
|
|
72
|
+
|
|
69
73
|
includes_input_variables = self.includes_input_variables
|
|
70
74
|
|
|
71
75
|
old_versions: Union[None, Unset, list[dict[str, Any]]]
|
|
@@ -95,6 +99,8 @@ class WorkflowResponse:
|
|
|
95
99
|
field_dict["name"] = name
|
|
96
100
|
if output_schema is not UNSET:
|
|
97
101
|
field_dict["output_schema"] = output_schema
|
|
102
|
+
if includes_file_exports is not UNSET:
|
|
103
|
+
field_dict["includes_file_exports"] = includes_file_exports
|
|
98
104
|
if includes_input_variables is not UNSET:
|
|
99
105
|
field_dict["includes_input_variables"] = includes_input_variables
|
|
100
106
|
if old_versions is not UNSET:
|
|
@@ -135,6 +141,8 @@ class WorkflowResponse:
|
|
|
135
141
|
|
|
136
142
|
output_schema = _parse_output_schema(d.pop("output_schema", UNSET))
|
|
137
143
|
|
|
144
|
+
includes_file_exports = d.pop("includes_file_exports", UNSET)
|
|
145
|
+
|
|
138
146
|
includes_input_variables = d.pop("includes_input_variables", UNSET)
|
|
139
147
|
|
|
140
148
|
def _parse_old_versions(data: object) -> Union[None, Unset, list["WorkflowResponseOldVersionsType0Item"]]:
|
|
@@ -169,6 +177,7 @@ class WorkflowResponse:
|
|
|
169
177
|
updated_at=updated_at,
|
|
170
178
|
name=name,
|
|
171
179
|
output_schema=output_schema,
|
|
180
|
+
includes_file_exports=includes_file_exports,
|
|
172
181
|
includes_input_variables=includes_input_variables,
|
|
173
182
|
old_versions=old_versions,
|
|
174
183
|
)
|
|
@@ -17,11 +17,13 @@ class WorkflowUpdate:
|
|
|
17
17
|
name (Union[None, Unset, str]):
|
|
18
18
|
main_prompt (Union[None, Unset, str]):
|
|
19
19
|
output_schema (Union[None, Unset, str]): JSON schema for output data transformation
|
|
20
|
+
includes_file_exports (Union[None, Unset, bool]): Enable AI-based file export detection
|
|
20
21
|
"""
|
|
21
22
|
|
|
22
23
|
name: Union[None, Unset, str] = UNSET
|
|
23
24
|
main_prompt: Union[None, Unset, str] = UNSET
|
|
24
25
|
output_schema: Union[None, Unset, str] = UNSET
|
|
26
|
+
includes_file_exports: Union[None, Unset, bool] = UNSET
|
|
25
27
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
28
|
|
|
27
29
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -43,6 +45,12 @@ class WorkflowUpdate:
|
|
|
43
45
|
else:
|
|
44
46
|
output_schema = self.output_schema
|
|
45
47
|
|
|
48
|
+
includes_file_exports: Union[None, Unset, bool]
|
|
49
|
+
if isinstance(self.includes_file_exports, Unset):
|
|
50
|
+
includes_file_exports = UNSET
|
|
51
|
+
else:
|
|
52
|
+
includes_file_exports = self.includes_file_exports
|
|
53
|
+
|
|
46
54
|
field_dict: dict[str, Any] = {}
|
|
47
55
|
field_dict.update(self.additional_properties)
|
|
48
56
|
field_dict.update({})
|
|
@@ -52,6 +60,8 @@ class WorkflowUpdate:
|
|
|
52
60
|
field_dict["main_prompt"] = main_prompt
|
|
53
61
|
if output_schema is not UNSET:
|
|
54
62
|
field_dict["output_schema"] = output_schema
|
|
63
|
+
if includes_file_exports is not UNSET:
|
|
64
|
+
field_dict["includes_file_exports"] = includes_file_exports
|
|
55
65
|
|
|
56
66
|
return field_dict
|
|
57
67
|
|
|
@@ -86,10 +96,20 @@ class WorkflowUpdate:
|
|
|
86
96
|
|
|
87
97
|
output_schema = _parse_output_schema(d.pop("output_schema", UNSET))
|
|
88
98
|
|
|
99
|
+
def _parse_includes_file_exports(data: object) -> Union[None, Unset, bool]:
|
|
100
|
+
if data is None:
|
|
101
|
+
return data
|
|
102
|
+
if isinstance(data, Unset):
|
|
103
|
+
return data
|
|
104
|
+
return cast(Union[None, Unset, bool], data)
|
|
105
|
+
|
|
106
|
+
includes_file_exports = _parse_includes_file_exports(d.pop("includes_file_exports", UNSET))
|
|
107
|
+
|
|
89
108
|
workflow_update = cls(
|
|
90
109
|
name=name,
|
|
91
110
|
main_prompt=main_prompt,
|
|
92
111
|
output_schema=output_schema,
|
|
112
|
+
includes_file_exports=includes_file_exports,
|
|
93
113
|
)
|
|
94
114
|
|
|
95
115
|
workflow_update.additional_properties = d
|
|
File without changes
|
|
File without changes
|
|
File without changes
|