windmill-api 1.554.1__py3-none-any.whl → 1.555.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 windmill-api might be problematic. Click here for more details.

Files changed (53) hide show
  1. windmill_api/api/app/get_public_secret_of_latest_version_of_app.py +101 -0
  2. windmill_api/api/flow_conversation/__init__.py +0 -0
  3. windmill_api/api/flow_conversation/delete_flow_conversation.py +101 -0
  4. windmill_api/api/flow_conversation/list_conversation_messages.py +206 -0
  5. windmill_api/api/flow_conversation/list_flow_conversations.py +207 -0
  6. windmill_api/api/job/run_and_stream_flow_by_path.py +171 -0
  7. windmill_api/api/job/run_and_stream_flow_by_path_get.py +169 -0
  8. windmill_api/api/job/run_and_stream_script_by_hash.py +189 -0
  9. windmill_api/api/job/run_and_stream_script_by_hash_get.py +187 -0
  10. windmill_api/api/job/run_and_stream_script_by_path.py +189 -0
  11. windmill_api/api/job/run_and_stream_script_by_path_get.py +187 -0
  12. windmill_api/api/job/run_flow_by_path.py +9 -0
  13. windmill_api/api/job/run_wait_result_flow_by_path.py +9 -0
  14. windmill_api/models/completed_job_raw_flow.py +8 -0
  15. windmill_api/models/delete_completed_job_response_200_raw_flow.py +8 -0
  16. windmill_api/models/extended_jobs_jobs_item_type_0_raw_flow.py +8 -0
  17. windmill_api/models/extended_jobs_jobs_item_type_1_raw_flow.py +8 -0
  18. windmill_api/models/flow_conversation.py +107 -0
  19. windmill_api/models/flow_conversation_message.py +101 -0
  20. windmill_api/models/flow_conversation_message_message_type.py +10 -0
  21. windmill_api/models/flow_preview_value.py +8 -0
  22. windmill_api/models/get_completed_job_response_200_raw_flow.py +8 -0
  23. windmill_api/models/get_flow_by_path_response_200_value.py +8 -0
  24. windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value.py +8 -0
  25. windmill_api/models/get_flow_version_response_200_value.py +8 -0
  26. windmill_api/models/get_hub_flow_by_id_response_200_flow_value.py +8 -0
  27. windmill_api/models/get_job_response_200_type_0_raw_flow.py +8 -0
  28. windmill_api/models/get_job_response_200_type_1_raw_flow.py +8 -0
  29. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_raw_flow.py +8 -0
  30. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_raw_flow.py +8 -0
  31. windmill_api/models/list_completed_jobs_response_200_item_raw_flow.py +8 -0
  32. windmill_api/models/list_conversation_messages_response_200_item.py +103 -0
  33. windmill_api/models/list_conversation_messages_response_200_item_message_type.py +10 -0
  34. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_raw_flow.py +8 -0
  35. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_raw_flow.py +8 -0
  36. windmill_api/models/list_flow_conversations_response_200_item.py +107 -0
  37. windmill_api/models/list_jobs_response_200_item_type_0_raw_flow.py +8 -0
  38. windmill_api/models/list_jobs_response_200_item_type_1_raw_flow.py +8 -0
  39. windmill_api/models/list_queue_response_200_item_raw_flow.py +8 -0
  40. windmill_api/models/list_user_workspaces_response_200_workspaces_item.py +7 -0
  41. windmill_api/models/open_flow_value.py +8 -0
  42. windmill_api/models/open_flow_w_path_value.py +8 -0
  43. windmill_api/models/queued_job_raw_flow.py +8 -0
  44. windmill_api/models/run_and_stream_flow_by_path_json_body.py +44 -0
  45. windmill_api/models/run_and_stream_script_by_hash_json_body.py +44 -0
  46. windmill_api/models/run_and_stream_script_by_path_json_body.py +44 -0
  47. windmill_api/models/run_flow_preview_and_wait_result_json_body_value.py +8 -0
  48. windmill_api/models/run_flow_preview_json_body_value.py +8 -0
  49. windmill_api/models/user_workspace_list_workspaces_item.py +7 -0
  50. {windmill_api-1.554.1.dist-info → windmill_api-1.555.0.dist-info}/METADATA +1 -1
  51. {windmill_api-1.554.1.dist-info → windmill_api-1.555.0.dist-info}/RECORD +53 -33
  52. {windmill_api-1.554.1.dist-info → windmill_api-1.555.0.dist-info}/LICENSE +0 -0
  53. {windmill_api-1.554.1.dist-info → windmill_api-1.555.0.dist-info}/WHEEL +0 -0
@@ -35,6 +35,7 @@ class ListJobsResponse200ItemType1RawFlow:
35
35
  cache_ttl (Union[Unset, float]):
36
36
  priority (Union[Unset, float]):
37
37
  early_return (Union[Unset, str]):
38
+ chat_input_enabled (Union[Unset, bool]): Whether this flow accepts chat-style input
38
39
  """
39
40
 
40
41
  modules: List["ListJobsResponse200ItemType1RawFlowModulesItem"]
@@ -48,6 +49,7 @@ class ListJobsResponse200ItemType1RawFlow:
48
49
  cache_ttl: Union[Unset, float] = UNSET
49
50
  priority: Union[Unset, float] = UNSET
50
51
  early_return: Union[Unset, str] = UNSET
52
+ chat_input_enabled: Union[Unset, bool] = UNSET
51
53
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
52
54
 
53
55
  def to_dict(self) -> Dict[str, Any]:
@@ -73,6 +75,7 @@ class ListJobsResponse200ItemType1RawFlow:
73
75
  cache_ttl = self.cache_ttl
74
76
  priority = self.priority
75
77
  early_return = self.early_return
78
+ chat_input_enabled = self.chat_input_enabled
76
79
 
77
80
  field_dict: Dict[str, Any] = {}
78
81
  field_dict.update(self.additional_properties)
@@ -101,6 +104,8 @@ class ListJobsResponse200ItemType1RawFlow:
101
104
  field_dict["priority"] = priority
102
105
  if early_return is not UNSET:
103
106
  field_dict["early_return"] = early_return
107
+ if chat_input_enabled is not UNSET:
108
+ field_dict["chat_input_enabled"] = chat_input_enabled
104
109
 
105
110
  return field_dict
106
111
 
@@ -154,6 +159,8 @@ class ListJobsResponse200ItemType1RawFlow:
154
159
 
155
160
  early_return = d.pop("early_return", UNSET)
156
161
 
162
+ chat_input_enabled = d.pop("chat_input_enabled", UNSET)
163
+
157
164
  list_jobs_response_200_item_type_1_raw_flow = cls(
158
165
  modules=modules,
159
166
  failure_module=failure_module,
@@ -166,6 +173,7 @@ class ListJobsResponse200ItemType1RawFlow:
166
173
  cache_ttl=cache_ttl,
167
174
  priority=priority,
168
175
  early_return=early_return,
176
+ chat_input_enabled=chat_input_enabled,
169
177
  )
170
178
 
171
179
  list_jobs_response_200_item_type_1_raw_flow.additional_properties = d
@@ -33,6 +33,7 @@ class ListQueueResponse200ItemRawFlow:
33
33
  cache_ttl (Union[Unset, float]):
34
34
  priority (Union[Unset, float]):
35
35
  early_return (Union[Unset, str]):
36
+ chat_input_enabled (Union[Unset, bool]): Whether this flow accepts chat-style input
36
37
  """
37
38
 
38
39
  modules: List["ListQueueResponse200ItemRawFlowModulesItem"]
@@ -46,6 +47,7 @@ class ListQueueResponse200ItemRawFlow:
46
47
  cache_ttl: Union[Unset, float] = UNSET
47
48
  priority: Union[Unset, float] = UNSET
48
49
  early_return: Union[Unset, str] = UNSET
50
+ chat_input_enabled: Union[Unset, bool] = UNSET
49
51
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
50
52
 
51
53
  def to_dict(self) -> Dict[str, Any]:
@@ -71,6 +73,7 @@ class ListQueueResponse200ItemRawFlow:
71
73
  cache_ttl = self.cache_ttl
72
74
  priority = self.priority
73
75
  early_return = self.early_return
76
+ chat_input_enabled = self.chat_input_enabled
74
77
 
75
78
  field_dict: Dict[str, Any] = {}
76
79
  field_dict.update(self.additional_properties)
@@ -99,6 +102,8 @@ class ListQueueResponse200ItemRawFlow:
99
102
  field_dict["priority"] = priority
100
103
  if early_return is not UNSET:
101
104
  field_dict["early_return"] = early_return
105
+ if chat_input_enabled is not UNSET:
106
+ field_dict["chat_input_enabled"] = chat_input_enabled
102
107
 
103
108
  return field_dict
104
109
 
@@ -152,6 +157,8 @@ class ListQueueResponse200ItemRawFlow:
152
157
 
153
158
  early_return = d.pop("early_return", UNSET)
154
159
 
160
+ chat_input_enabled = d.pop("chat_input_enabled", UNSET)
161
+
155
162
  list_queue_response_200_item_raw_flow = cls(
156
163
  modules=modules,
157
164
  failure_module=failure_module,
@@ -164,6 +171,7 @@ class ListQueueResponse200ItemRawFlow:
164
171
  cache_ttl=cache_ttl,
165
172
  priority=priority,
166
173
  early_return=early_return,
174
+ chat_input_enabled=chat_input_enabled,
167
175
  )
168
176
 
169
177
  list_queue_response_200_item_raw_flow.additional_properties = d
@@ -22,6 +22,7 @@ class ListUserWorkspacesResponse200WorkspacesItem:
22
22
  name (str):
23
23
  username (str):
24
24
  color (str):
25
+ disabled (bool):
25
26
  operator_settings (Union[Unset, None, ListUserWorkspacesResponse200WorkspacesItemOperatorSettings]):
26
27
  parent_workspace_id (Union[Unset, None, str]):
27
28
  created_by (Union[Unset, None, str]):
@@ -31,6 +32,7 @@ class ListUserWorkspacesResponse200WorkspacesItem:
31
32
  name: str
32
33
  username: str
33
34
  color: str
35
+ disabled: bool
34
36
  operator_settings: Union[Unset, None, "ListUserWorkspacesResponse200WorkspacesItemOperatorSettings"] = UNSET
35
37
  parent_workspace_id: Union[Unset, None, str] = UNSET
36
38
  created_by: Union[Unset, None, str] = UNSET
@@ -41,6 +43,7 @@ class ListUserWorkspacesResponse200WorkspacesItem:
41
43
  name = self.name
42
44
  username = self.username
43
45
  color = self.color
46
+ disabled = self.disabled
44
47
  operator_settings: Union[Unset, None, Dict[str, Any]] = UNSET
45
48
  if not isinstance(self.operator_settings, Unset):
46
49
  operator_settings = self.operator_settings.to_dict() if self.operator_settings else None
@@ -56,6 +59,7 @@ class ListUserWorkspacesResponse200WorkspacesItem:
56
59
  "name": name,
57
60
  "username": username,
58
61
  "color": color,
62
+ "disabled": disabled,
59
63
  }
60
64
  )
61
65
  if operator_settings is not UNSET:
@@ -82,6 +86,8 @@ class ListUserWorkspacesResponse200WorkspacesItem:
82
86
 
83
87
  color = d.pop("color")
84
88
 
89
+ disabled = d.pop("disabled")
90
+
85
91
  _operator_settings = d.pop("operator_settings", UNSET)
86
92
  operator_settings: Union[Unset, None, ListUserWorkspacesResponse200WorkspacesItemOperatorSettings]
87
93
  if _operator_settings is None:
@@ -102,6 +108,7 @@ class ListUserWorkspacesResponse200WorkspacesItem:
102
108
  name=name,
103
109
  username=username,
104
110
  color=color,
111
+ disabled=disabled,
105
112
  operator_settings=operator_settings,
106
113
  parent_workspace_id=parent_workspace_id,
107
114
  created_by=created_by,
@@ -29,6 +29,7 @@ class OpenFlowValue:
29
29
  cache_ttl (Union[Unset, float]):
30
30
  priority (Union[Unset, float]):
31
31
  early_return (Union[Unset, str]):
32
+ chat_input_enabled (Union[Unset, bool]): Whether this flow accepts chat-style input
32
33
  """
33
34
 
34
35
  modules: List["OpenFlowValueModulesItem"]
@@ -42,6 +43,7 @@ class OpenFlowValue:
42
43
  cache_ttl: Union[Unset, float] = UNSET
43
44
  priority: Union[Unset, float] = UNSET
44
45
  early_return: Union[Unset, str] = UNSET
46
+ chat_input_enabled: Union[Unset, bool] = UNSET
45
47
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
46
48
 
47
49
  def to_dict(self) -> Dict[str, Any]:
@@ -67,6 +69,7 @@ class OpenFlowValue:
67
69
  cache_ttl = self.cache_ttl
68
70
  priority = self.priority
69
71
  early_return = self.early_return
72
+ chat_input_enabled = self.chat_input_enabled
70
73
 
71
74
  field_dict: Dict[str, Any] = {}
72
75
  field_dict.update(self.additional_properties)
@@ -95,6 +98,8 @@ class OpenFlowValue:
95
98
  field_dict["priority"] = priority
96
99
  if early_return is not UNSET:
97
100
  field_dict["early_return"] = early_return
101
+ if chat_input_enabled is not UNSET:
102
+ field_dict["chat_input_enabled"] = chat_input_enabled
98
103
 
99
104
  return field_dict
100
105
 
@@ -142,6 +147,8 @@ class OpenFlowValue:
142
147
 
143
148
  early_return = d.pop("early_return", UNSET)
144
149
 
150
+ chat_input_enabled = d.pop("chat_input_enabled", UNSET)
151
+
145
152
  open_flow_value = cls(
146
153
  modules=modules,
147
154
  failure_module=failure_module,
@@ -154,6 +161,7 @@ class OpenFlowValue:
154
161
  cache_ttl=cache_ttl,
155
162
  priority=priority,
156
163
  early_return=early_return,
164
+ chat_input_enabled=chat_input_enabled,
157
165
  )
158
166
 
159
167
  open_flow_value.additional_properties = d
@@ -29,6 +29,7 @@ class OpenFlowWPathValue:
29
29
  cache_ttl (Union[Unset, float]):
30
30
  priority (Union[Unset, float]):
31
31
  early_return (Union[Unset, str]):
32
+ chat_input_enabled (Union[Unset, bool]): Whether this flow accepts chat-style input
32
33
  """
33
34
 
34
35
  modules: List["OpenFlowWPathValueModulesItem"]
@@ -42,6 +43,7 @@ class OpenFlowWPathValue:
42
43
  cache_ttl: Union[Unset, float] = UNSET
43
44
  priority: Union[Unset, float] = UNSET
44
45
  early_return: Union[Unset, str] = UNSET
46
+ chat_input_enabled: Union[Unset, bool] = UNSET
45
47
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
46
48
 
47
49
  def to_dict(self) -> Dict[str, Any]:
@@ -67,6 +69,7 @@ class OpenFlowWPathValue:
67
69
  cache_ttl = self.cache_ttl
68
70
  priority = self.priority
69
71
  early_return = self.early_return
72
+ chat_input_enabled = self.chat_input_enabled
70
73
 
71
74
  field_dict: Dict[str, Any] = {}
72
75
  field_dict.update(self.additional_properties)
@@ -95,6 +98,8 @@ class OpenFlowWPathValue:
95
98
  field_dict["priority"] = priority
96
99
  if early_return is not UNSET:
97
100
  field_dict["early_return"] = early_return
101
+ if chat_input_enabled is not UNSET:
102
+ field_dict["chat_input_enabled"] = chat_input_enabled
98
103
 
99
104
  return field_dict
100
105
 
@@ -142,6 +147,8 @@ class OpenFlowWPathValue:
142
147
 
143
148
  early_return = d.pop("early_return", UNSET)
144
149
 
150
+ chat_input_enabled = d.pop("chat_input_enabled", UNSET)
151
+
145
152
  open_flow_w_path_value = cls(
146
153
  modules=modules,
147
154
  failure_module=failure_module,
@@ -154,6 +161,7 @@ class OpenFlowWPathValue:
154
161
  cache_ttl=cache_ttl,
155
162
  priority=priority,
156
163
  early_return=early_return,
164
+ chat_input_enabled=chat_input_enabled,
157
165
  )
158
166
 
159
167
  open_flow_w_path_value.additional_properties = d
@@ -29,6 +29,7 @@ class QueuedJobRawFlow:
29
29
  cache_ttl (Union[Unset, float]):
30
30
  priority (Union[Unset, float]):
31
31
  early_return (Union[Unset, str]):
32
+ chat_input_enabled (Union[Unset, bool]): Whether this flow accepts chat-style input
32
33
  """
33
34
 
34
35
  modules: List["QueuedJobRawFlowModulesItem"]
@@ -42,6 +43,7 @@ class QueuedJobRawFlow:
42
43
  cache_ttl: Union[Unset, float] = UNSET
43
44
  priority: Union[Unset, float] = UNSET
44
45
  early_return: Union[Unset, str] = UNSET
46
+ chat_input_enabled: Union[Unset, bool] = UNSET
45
47
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
46
48
 
47
49
  def to_dict(self) -> Dict[str, Any]:
@@ -67,6 +69,7 @@ class QueuedJobRawFlow:
67
69
  cache_ttl = self.cache_ttl
68
70
  priority = self.priority
69
71
  early_return = self.early_return
72
+ chat_input_enabled = self.chat_input_enabled
70
73
 
71
74
  field_dict: Dict[str, Any] = {}
72
75
  field_dict.update(self.additional_properties)
@@ -95,6 +98,8 @@ class QueuedJobRawFlow:
95
98
  field_dict["priority"] = priority
96
99
  if early_return is not UNSET:
97
100
  field_dict["early_return"] = early_return
101
+ if chat_input_enabled is not UNSET:
102
+ field_dict["chat_input_enabled"] = chat_input_enabled
98
103
 
99
104
  return field_dict
100
105
 
@@ -142,6 +147,8 @@ class QueuedJobRawFlow:
142
147
 
143
148
  early_return = d.pop("early_return", UNSET)
144
149
 
150
+ chat_input_enabled = d.pop("chat_input_enabled", UNSET)
151
+
145
152
  queued_job_raw_flow = cls(
146
153
  modules=modules,
147
154
  failure_module=failure_module,
@@ -154,6 +161,7 @@ class QueuedJobRawFlow:
154
161
  cache_ttl=cache_ttl,
155
162
  priority=priority,
156
163
  early_return=early_return,
164
+ chat_input_enabled=chat_input_enabled,
157
165
  )
158
166
 
159
167
  queued_job_raw_flow.additional_properties = d
@@ -0,0 +1,44 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ T = TypeVar("T", bound="RunAndStreamFlowByPathJsonBody")
7
+
8
+
9
+ @_attrs_define
10
+ class RunAndStreamFlowByPathJsonBody:
11
+ """The arguments to pass to the script or flow"""
12
+
13
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
14
+
15
+ def to_dict(self) -> Dict[str, Any]:
16
+ field_dict: Dict[str, Any] = {}
17
+ field_dict.update(self.additional_properties)
18
+ field_dict.update({})
19
+
20
+ return field_dict
21
+
22
+ @classmethod
23
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
24
+ d = src_dict.copy()
25
+ run_and_stream_flow_by_path_json_body = cls()
26
+
27
+ run_and_stream_flow_by_path_json_body.additional_properties = d
28
+ return run_and_stream_flow_by_path_json_body
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
@@ -0,0 +1,44 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ T = TypeVar("T", bound="RunAndStreamScriptByHashJsonBody")
7
+
8
+
9
+ @_attrs_define
10
+ class RunAndStreamScriptByHashJsonBody:
11
+ """The arguments to pass to the script or flow"""
12
+
13
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
14
+
15
+ def to_dict(self) -> Dict[str, Any]:
16
+ field_dict: Dict[str, Any] = {}
17
+ field_dict.update(self.additional_properties)
18
+ field_dict.update({})
19
+
20
+ return field_dict
21
+
22
+ @classmethod
23
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
24
+ d = src_dict.copy()
25
+ run_and_stream_script_by_hash_json_body = cls()
26
+
27
+ run_and_stream_script_by_hash_json_body.additional_properties = d
28
+ return run_and_stream_script_by_hash_json_body
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
@@ -0,0 +1,44 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ T = TypeVar("T", bound="RunAndStreamScriptByPathJsonBody")
7
+
8
+
9
+ @_attrs_define
10
+ class RunAndStreamScriptByPathJsonBody:
11
+ """The arguments to pass to the script or flow"""
12
+
13
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
14
+
15
+ def to_dict(self) -> Dict[str, Any]:
16
+ field_dict: Dict[str, Any] = {}
17
+ field_dict.update(self.additional_properties)
18
+ field_dict.update({})
19
+
20
+ return field_dict
21
+
22
+ @classmethod
23
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
24
+ d = src_dict.copy()
25
+ run_and_stream_script_by_path_json_body = cls()
26
+
27
+ run_and_stream_script_by_path_json_body.additional_properties = d
28
+ return run_and_stream_script_by_path_json_body
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
@@ -35,6 +35,7 @@ class RunFlowPreviewAndWaitResultJsonBodyValue:
35
35
  cache_ttl (Union[Unset, float]):
36
36
  priority (Union[Unset, float]):
37
37
  early_return (Union[Unset, str]):
38
+ chat_input_enabled (Union[Unset, bool]): Whether this flow accepts chat-style input
38
39
  """
39
40
 
40
41
  modules: List["RunFlowPreviewAndWaitResultJsonBodyValueModulesItem"]
@@ -48,6 +49,7 @@ class RunFlowPreviewAndWaitResultJsonBodyValue:
48
49
  cache_ttl: Union[Unset, float] = UNSET
49
50
  priority: Union[Unset, float] = UNSET
50
51
  early_return: Union[Unset, str] = UNSET
52
+ chat_input_enabled: Union[Unset, bool] = UNSET
51
53
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
52
54
 
53
55
  def to_dict(self) -> Dict[str, Any]:
@@ -73,6 +75,7 @@ class RunFlowPreviewAndWaitResultJsonBodyValue:
73
75
  cache_ttl = self.cache_ttl
74
76
  priority = self.priority
75
77
  early_return = self.early_return
78
+ chat_input_enabled = self.chat_input_enabled
76
79
 
77
80
  field_dict: Dict[str, Any] = {}
78
81
  field_dict.update(self.additional_properties)
@@ -101,6 +104,8 @@ class RunFlowPreviewAndWaitResultJsonBodyValue:
101
104
  field_dict["priority"] = priority
102
105
  if early_return is not UNSET:
103
106
  field_dict["early_return"] = early_return
107
+ if chat_input_enabled is not UNSET:
108
+ field_dict["chat_input_enabled"] = chat_input_enabled
104
109
 
105
110
  return field_dict
106
111
 
@@ -156,6 +161,8 @@ class RunFlowPreviewAndWaitResultJsonBodyValue:
156
161
 
157
162
  early_return = d.pop("early_return", UNSET)
158
163
 
164
+ chat_input_enabled = d.pop("chat_input_enabled", UNSET)
165
+
159
166
  run_flow_preview_and_wait_result_json_body_value = cls(
160
167
  modules=modules,
161
168
  failure_module=failure_module,
@@ -168,6 +175,7 @@ class RunFlowPreviewAndWaitResultJsonBodyValue:
168
175
  cache_ttl=cache_ttl,
169
176
  priority=priority,
170
177
  early_return=early_return,
178
+ chat_input_enabled=chat_input_enabled,
171
179
  )
172
180
 
173
181
  run_flow_preview_and_wait_result_json_body_value.additional_properties = d
@@ -31,6 +31,7 @@ class RunFlowPreviewJsonBodyValue:
31
31
  cache_ttl (Union[Unset, float]):
32
32
  priority (Union[Unset, float]):
33
33
  early_return (Union[Unset, str]):
34
+ chat_input_enabled (Union[Unset, bool]): Whether this flow accepts chat-style input
34
35
  """
35
36
 
36
37
  modules: List["RunFlowPreviewJsonBodyValueModulesItem"]
@@ -44,6 +45,7 @@ class RunFlowPreviewJsonBodyValue:
44
45
  cache_ttl: Union[Unset, float] = UNSET
45
46
  priority: Union[Unset, float] = UNSET
46
47
  early_return: Union[Unset, str] = UNSET
48
+ chat_input_enabled: Union[Unset, bool] = UNSET
47
49
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
48
50
 
49
51
  def to_dict(self) -> Dict[str, Any]:
@@ -69,6 +71,7 @@ class RunFlowPreviewJsonBodyValue:
69
71
  cache_ttl = self.cache_ttl
70
72
  priority = self.priority
71
73
  early_return = self.early_return
74
+ chat_input_enabled = self.chat_input_enabled
72
75
 
73
76
  field_dict: Dict[str, Any] = {}
74
77
  field_dict.update(self.additional_properties)
@@ -97,6 +100,8 @@ class RunFlowPreviewJsonBodyValue:
97
100
  field_dict["priority"] = priority
98
101
  if early_return is not UNSET:
99
102
  field_dict["early_return"] = early_return
103
+ if chat_input_enabled is not UNSET:
104
+ field_dict["chat_input_enabled"] = chat_input_enabled
100
105
 
101
106
  return field_dict
102
107
 
@@ -146,6 +151,8 @@ class RunFlowPreviewJsonBodyValue:
146
151
 
147
152
  early_return = d.pop("early_return", UNSET)
148
153
 
154
+ chat_input_enabled = d.pop("chat_input_enabled", UNSET)
155
+
149
156
  run_flow_preview_json_body_value = cls(
150
157
  modules=modules,
151
158
  failure_module=failure_module,
@@ -158,6 +165,7 @@ class RunFlowPreviewJsonBodyValue:
158
165
  cache_ttl=cache_ttl,
159
166
  priority=priority,
160
167
  early_return=early_return,
168
+ chat_input_enabled=chat_input_enabled,
161
169
  )
162
170
 
163
171
  run_flow_preview_json_body_value.additional_properties = d
@@ -22,6 +22,7 @@ class UserWorkspaceListWorkspacesItem:
22
22
  name (str):
23
23
  username (str):
24
24
  color (str):
25
+ disabled (bool):
25
26
  operator_settings (Union[Unset, None, UserWorkspaceListWorkspacesItemOperatorSettings]):
26
27
  parent_workspace_id (Union[Unset, None, str]):
27
28
  created_by (Union[Unset, None, str]):
@@ -31,6 +32,7 @@ class UserWorkspaceListWorkspacesItem:
31
32
  name: str
32
33
  username: str
33
34
  color: str
35
+ disabled: bool
34
36
  operator_settings: Union[Unset, None, "UserWorkspaceListWorkspacesItemOperatorSettings"] = UNSET
35
37
  parent_workspace_id: Union[Unset, None, str] = UNSET
36
38
  created_by: Union[Unset, None, str] = UNSET
@@ -41,6 +43,7 @@ class UserWorkspaceListWorkspacesItem:
41
43
  name = self.name
42
44
  username = self.username
43
45
  color = self.color
46
+ disabled = self.disabled
44
47
  operator_settings: Union[Unset, None, Dict[str, Any]] = UNSET
45
48
  if not isinstance(self.operator_settings, Unset):
46
49
  operator_settings = self.operator_settings.to_dict() if self.operator_settings else None
@@ -56,6 +59,7 @@ class UserWorkspaceListWorkspacesItem:
56
59
  "name": name,
57
60
  "username": username,
58
61
  "color": color,
62
+ "disabled": disabled,
59
63
  }
60
64
  )
61
65
  if operator_settings is not UNSET:
@@ -82,6 +86,8 @@ class UserWorkspaceListWorkspacesItem:
82
86
 
83
87
  color = d.pop("color")
84
88
 
89
+ disabled = d.pop("disabled")
90
+
85
91
  _operator_settings = d.pop("operator_settings", UNSET)
86
92
  operator_settings: Union[Unset, None, UserWorkspaceListWorkspacesItemOperatorSettings]
87
93
  if _operator_settings is None:
@@ -100,6 +106,7 @@ class UserWorkspaceListWorkspacesItem:
100
106
  name=name,
101
107
  username=username,
102
108
  color=color,
109
+ disabled=disabled,
103
110
  operator_settings=operator_settings,
104
111
  parent_workspace_id=parent_workspace_id,
105
112
  created_by=created_by,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: windmill-api
3
- Version: 1.554.1
3
+ Version: 1.555.0
4
4
  Summary: A client library for accessing Windmill API
5
5
  License: Apache-2.0
6
6
  Author: Ruben Fiszel