windmill-api 1.464.0__py3-none-any.whl → 1.465.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 (57) hide show
  1. windmill_api/api/sqs_trigger/__init__.py +0 -0
  2. windmill_api/api/sqs_trigger/create_sqs_trigger.py +105 -0
  3. windmill_api/api/sqs_trigger/delete_sqs_trigger.py +101 -0
  4. windmill_api/api/sqs_trigger/exists_sqs_trigger.py +160 -0
  5. windmill_api/api/sqs_trigger/get_sqs_trigger.py +166 -0
  6. windmill_api/api/sqs_trigger/list_sqs_triggers.py +237 -0
  7. windmill_api/api/sqs_trigger/set_sqs_trigger_enabled.py +113 -0
  8. windmill_api/api/sqs_trigger/test_sqs_connection.py +105 -0
  9. windmill_api/api/sqs_trigger/update_sqs_trigger.py +113 -0
  10. windmill_api/models/add_granular_acls_kind.py +1 -0
  11. windmill_api/models/capture_config_trigger_kind.py +1 -0
  12. windmill_api/models/capture_trigger_kind.py +1 -0
  13. windmill_api/models/create_sqs_trigger_json_body.py +107 -0
  14. windmill_api/models/edit_sqs_trigger.py +105 -0
  15. windmill_api/models/get_capture_configs_response_200_item_trigger_kind.py +1 -0
  16. windmill_api/models/get_capture_response_200_trigger_kind.py +1 -0
  17. windmill_api/models/get_granular_acls_kind.py +1 -0
  18. windmill_api/models/get_http_trigger_response_200.py +21 -21
  19. windmill_api/models/get_kafka_trigger_response_200.py +47 -47
  20. windmill_api/models/get_nats_trigger_response_200.py +47 -47
  21. windmill_api/models/get_postgres_trigger_response_200.py +21 -21
  22. windmill_api/models/get_sqs_trigger_response_200.py +183 -0
  23. windmill_api/models/get_sqs_trigger_response_200_extra_perms.py +44 -0
  24. windmill_api/models/get_triggers_count_of_flow_response_200.py +8 -0
  25. windmill_api/models/get_triggers_count_of_script_response_200.py +8 -0
  26. windmill_api/models/get_used_triggers_response_200.py +7 -0
  27. windmill_api/models/get_websocket_trigger_response_200.py +21 -21
  28. windmill_api/models/http_trigger.py +21 -21
  29. windmill_api/models/kafka_trigger.py +47 -47
  30. windmill_api/models/list_captures_response_200_item_trigger_kind.py +1 -0
  31. windmill_api/models/list_captures_trigger_kind.py +1 -0
  32. windmill_api/models/list_http_triggers_response_200_item.py +21 -21
  33. windmill_api/models/list_kafka_triggers_response_200_item.py +47 -47
  34. windmill_api/models/list_nats_triggers_response_200_item.py +47 -47
  35. windmill_api/models/list_postgres_triggers_response_200_item.py +21 -21
  36. windmill_api/models/list_sqs_triggers_response_200_item.py +183 -0
  37. windmill_api/models/list_sqs_triggers_response_200_item_extra_perms.py +44 -0
  38. windmill_api/models/list_websocket_triggers_response_200_item.py +21 -21
  39. windmill_api/models/nats_trigger.py +47 -47
  40. windmill_api/models/new_sqs_trigger.py +107 -0
  41. windmill_api/models/ping_capture_config_trigger_kind.py +1 -0
  42. windmill_api/models/postgres_trigger.py +21 -21
  43. windmill_api/models/remove_granular_acls_kind.py +1 -0
  44. windmill_api/models/set_capture_config_json_body_trigger_kind.py +1 -0
  45. windmill_api/models/set_sqs_trigger_enabled_json_body.py +58 -0
  46. windmill_api/models/sqs_trigger.py +183 -0
  47. windmill_api/models/sqs_trigger_extra_perms.py +44 -0
  48. windmill_api/models/test_sqs_connection_json_body.py +64 -0
  49. windmill_api/models/test_sqs_connection_json_body_connection.py +44 -0
  50. windmill_api/models/trigger_extra_property.py +22 -0
  51. windmill_api/models/triggers_count.py +8 -0
  52. windmill_api/models/update_sqs_trigger_json_body.py +105 -0
  53. windmill_api/models/websocket_trigger.py +21 -21
  54. {windmill_api-1.464.0.dist-info → windmill_api-1.465.0.dist-info}/METADATA +1 -1
  55. {windmill_api-1.464.0.dist-info → windmill_api-1.465.0.dist-info}/RECORD +57 -35
  56. {windmill_api-1.464.0.dist-info → windmill_api-1.465.0.dist-info}/LICENSE +0 -0
  57. {windmill_api-1.464.0.dist-info → windmill_api-1.465.0.dist-info}/WHEEL +0 -0
@@ -18,48 +18,47 @@ T = TypeVar("T", bound="GetPostgresTriggerResponse200")
18
18
  class GetPostgresTriggerResponse200:
19
19
  """
20
20
  Attributes:
21
- path (str):
22
- script_path (str):
23
- is_flow (bool):
24
21
  enabled (bool):
25
22
  postgres_resource_path (str):
26
23
  publication_name (str):
27
24
  replication_slot_name (str):
25
+ path (str):
26
+ script_path (str):
28
27
  email (str):
29
28
  extra_perms (GetPostgresTriggerResponse200ExtraPerms):
30
29
  workspace_id (str):
31
30
  edited_by (str):
32
31
  edited_at (datetime.datetime):
32
+ is_flow (bool):
33
33
  server_id (Union[Unset, str]):
34
34
  error (Union[Unset, str]):
35
35
  last_server_ping (Union[Unset, datetime.datetime]):
36
36
  """
37
37
 
38
- path: str
39
- script_path: str
40
- is_flow: bool
41
38
  enabled: bool
42
39
  postgres_resource_path: str
43
40
  publication_name: str
44
41
  replication_slot_name: str
42
+ path: str
43
+ script_path: str
45
44
  email: str
46
45
  extra_perms: "GetPostgresTriggerResponse200ExtraPerms"
47
46
  workspace_id: str
48
47
  edited_by: str
49
48
  edited_at: datetime.datetime
49
+ is_flow: bool
50
50
  server_id: Union[Unset, str] = UNSET
51
51
  error: Union[Unset, str] = UNSET
52
52
  last_server_ping: Union[Unset, datetime.datetime] = UNSET
53
53
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
54
54
 
55
55
  def to_dict(self) -> Dict[str, Any]:
56
- path = self.path
57
- script_path = self.script_path
58
- is_flow = self.is_flow
59
56
  enabled = self.enabled
60
57
  postgres_resource_path = self.postgres_resource_path
61
58
  publication_name = self.publication_name
62
59
  replication_slot_name = self.replication_slot_name
60
+ path = self.path
61
+ script_path = self.script_path
63
62
  email = self.email
64
63
  extra_perms = self.extra_perms.to_dict()
65
64
 
@@ -67,6 +66,7 @@ class GetPostgresTriggerResponse200:
67
66
  edited_by = self.edited_by
68
67
  edited_at = self.edited_at.isoformat()
69
68
 
69
+ is_flow = self.is_flow
70
70
  server_id = self.server_id
71
71
  error = self.error
72
72
  last_server_ping: Union[Unset, str] = UNSET
@@ -77,18 +77,18 @@ class GetPostgresTriggerResponse200:
77
77
  field_dict.update(self.additional_properties)
78
78
  field_dict.update(
79
79
  {
80
- "path": path,
81
- "script_path": script_path,
82
- "is_flow": is_flow,
83
80
  "enabled": enabled,
84
81
  "postgres_resource_path": postgres_resource_path,
85
82
  "publication_name": publication_name,
86
83
  "replication_slot_name": replication_slot_name,
84
+ "path": path,
85
+ "script_path": script_path,
87
86
  "email": email,
88
87
  "extra_perms": extra_perms,
89
88
  "workspace_id": workspace_id,
90
89
  "edited_by": edited_by,
91
90
  "edited_at": edited_at,
91
+ "is_flow": is_flow,
92
92
  }
93
93
  )
94
94
  if server_id is not UNSET:
@@ -105,12 +105,6 @@ class GetPostgresTriggerResponse200:
105
105
  from ..models.get_postgres_trigger_response_200_extra_perms import GetPostgresTriggerResponse200ExtraPerms
106
106
 
107
107
  d = src_dict.copy()
108
- path = d.pop("path")
109
-
110
- script_path = d.pop("script_path")
111
-
112
- is_flow = d.pop("is_flow")
113
-
114
108
  enabled = d.pop("enabled")
115
109
 
116
110
  postgres_resource_path = d.pop("postgres_resource_path")
@@ -119,6 +113,10 @@ class GetPostgresTriggerResponse200:
119
113
 
120
114
  replication_slot_name = d.pop("replication_slot_name")
121
115
 
116
+ path = d.pop("path")
117
+
118
+ script_path = d.pop("script_path")
119
+
122
120
  email = d.pop("email")
123
121
 
124
122
  extra_perms = GetPostgresTriggerResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
@@ -129,6 +127,8 @@ class GetPostgresTriggerResponse200:
129
127
 
130
128
  edited_at = isoparse(d.pop("edited_at"))
131
129
 
130
+ is_flow = d.pop("is_flow")
131
+
132
132
  server_id = d.pop("server_id", UNSET)
133
133
 
134
134
  error = d.pop("error", UNSET)
@@ -141,18 +141,18 @@ class GetPostgresTriggerResponse200:
141
141
  last_server_ping = isoparse(_last_server_ping)
142
142
 
143
143
  get_postgres_trigger_response_200 = cls(
144
- path=path,
145
- script_path=script_path,
146
- is_flow=is_flow,
147
144
  enabled=enabled,
148
145
  postgres_resource_path=postgres_resource_path,
149
146
  publication_name=publication_name,
150
147
  replication_slot_name=replication_slot_name,
148
+ path=path,
149
+ script_path=script_path,
151
150
  email=email,
152
151
  extra_perms=extra_perms,
153
152
  workspace_id=workspace_id,
154
153
  edited_by=edited_by,
155
154
  edited_at=edited_at,
155
+ is_flow=is_flow,
156
156
  server_id=server_id,
157
157
  error=error,
158
158
  last_server_ping=last_server_ping,
@@ -0,0 +1,183 @@
1
+ import datetime
2
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+ from dateutil.parser import isoparse
7
+
8
+ from ..types import UNSET, Unset
9
+
10
+ if TYPE_CHECKING:
11
+ from ..models.get_sqs_trigger_response_200_extra_perms import GetSqsTriggerResponse200ExtraPerms
12
+
13
+
14
+ T = TypeVar("T", bound="GetSqsTriggerResponse200")
15
+
16
+
17
+ @_attrs_define
18
+ class GetSqsTriggerResponse200:
19
+ """
20
+ Attributes:
21
+ queue_url (str):
22
+ aws_resource_path (str):
23
+ enabled (bool):
24
+ path (str):
25
+ script_path (str):
26
+ email (str):
27
+ extra_perms (GetSqsTriggerResponse200ExtraPerms):
28
+ workspace_id (str):
29
+ edited_by (str):
30
+ edited_at (datetime.datetime):
31
+ is_flow (bool):
32
+ message_attributes (Union[Unset, List[str]]):
33
+ server_id (Union[Unset, str]):
34
+ last_server_ping (Union[Unset, datetime.datetime]):
35
+ error (Union[Unset, str]):
36
+ """
37
+
38
+ queue_url: str
39
+ aws_resource_path: str
40
+ enabled: bool
41
+ path: str
42
+ script_path: str
43
+ email: str
44
+ extra_perms: "GetSqsTriggerResponse200ExtraPerms"
45
+ workspace_id: str
46
+ edited_by: str
47
+ edited_at: datetime.datetime
48
+ is_flow: bool
49
+ message_attributes: Union[Unset, List[str]] = UNSET
50
+ server_id: Union[Unset, str] = UNSET
51
+ last_server_ping: Union[Unset, datetime.datetime] = UNSET
52
+ error: Union[Unset, str] = UNSET
53
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ queue_url = self.queue_url
57
+ aws_resource_path = self.aws_resource_path
58
+ enabled = self.enabled
59
+ path = self.path
60
+ script_path = self.script_path
61
+ email = self.email
62
+ extra_perms = self.extra_perms.to_dict()
63
+
64
+ workspace_id = self.workspace_id
65
+ edited_by = self.edited_by
66
+ edited_at = self.edited_at.isoformat()
67
+
68
+ is_flow = self.is_flow
69
+ message_attributes: Union[Unset, List[str]] = UNSET
70
+ if not isinstance(self.message_attributes, Unset):
71
+ message_attributes = self.message_attributes
72
+
73
+ server_id = self.server_id
74
+ last_server_ping: Union[Unset, str] = UNSET
75
+ if not isinstance(self.last_server_ping, Unset):
76
+ last_server_ping = self.last_server_ping.isoformat()
77
+
78
+ error = self.error
79
+
80
+ field_dict: Dict[str, Any] = {}
81
+ field_dict.update(self.additional_properties)
82
+ field_dict.update(
83
+ {
84
+ "queue_url": queue_url,
85
+ "aws_resource_path": aws_resource_path,
86
+ "enabled": enabled,
87
+ "path": path,
88
+ "script_path": script_path,
89
+ "email": email,
90
+ "extra_perms": extra_perms,
91
+ "workspace_id": workspace_id,
92
+ "edited_by": edited_by,
93
+ "edited_at": edited_at,
94
+ "is_flow": is_flow,
95
+ }
96
+ )
97
+ if message_attributes is not UNSET:
98
+ field_dict["message_attributes"] = message_attributes
99
+ if server_id is not UNSET:
100
+ field_dict["server_id"] = server_id
101
+ if last_server_ping is not UNSET:
102
+ field_dict["last_server_ping"] = last_server_ping
103
+ if error is not UNSET:
104
+ field_dict["error"] = error
105
+
106
+ return field_dict
107
+
108
+ @classmethod
109
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
110
+ from ..models.get_sqs_trigger_response_200_extra_perms import GetSqsTriggerResponse200ExtraPerms
111
+
112
+ d = src_dict.copy()
113
+ queue_url = d.pop("queue_url")
114
+
115
+ aws_resource_path = d.pop("aws_resource_path")
116
+
117
+ enabled = d.pop("enabled")
118
+
119
+ path = d.pop("path")
120
+
121
+ script_path = d.pop("script_path")
122
+
123
+ email = d.pop("email")
124
+
125
+ extra_perms = GetSqsTriggerResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
126
+
127
+ workspace_id = d.pop("workspace_id")
128
+
129
+ edited_by = d.pop("edited_by")
130
+
131
+ edited_at = isoparse(d.pop("edited_at"))
132
+
133
+ is_flow = d.pop("is_flow")
134
+
135
+ message_attributes = cast(List[str], d.pop("message_attributes", UNSET))
136
+
137
+ server_id = d.pop("server_id", UNSET)
138
+
139
+ _last_server_ping = d.pop("last_server_ping", UNSET)
140
+ last_server_ping: Union[Unset, datetime.datetime]
141
+ if isinstance(_last_server_ping, Unset):
142
+ last_server_ping = UNSET
143
+ else:
144
+ last_server_ping = isoparse(_last_server_ping)
145
+
146
+ error = d.pop("error", UNSET)
147
+
148
+ get_sqs_trigger_response_200 = cls(
149
+ queue_url=queue_url,
150
+ aws_resource_path=aws_resource_path,
151
+ enabled=enabled,
152
+ path=path,
153
+ script_path=script_path,
154
+ email=email,
155
+ extra_perms=extra_perms,
156
+ workspace_id=workspace_id,
157
+ edited_by=edited_by,
158
+ edited_at=edited_at,
159
+ is_flow=is_flow,
160
+ message_attributes=message_attributes,
161
+ server_id=server_id,
162
+ last_server_ping=last_server_ping,
163
+ error=error,
164
+ )
165
+
166
+ get_sqs_trigger_response_200.additional_properties = d
167
+ return get_sqs_trigger_response_200
168
+
169
+ @property
170
+ def additional_keys(self) -> List[str]:
171
+ return list(self.additional_properties.keys())
172
+
173
+ def __getitem__(self, key: str) -> Any:
174
+ return self.additional_properties[key]
175
+
176
+ def __setitem__(self, key: str, value: Any) -> None:
177
+ self.additional_properties[key] = value
178
+
179
+ def __delitem__(self, key: str) -> None:
180
+ del self.additional_properties[key]
181
+
182
+ def __contains__(self, key: str) -> bool:
183
+ 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="GetSqsTriggerResponse200ExtraPerms")
7
+
8
+
9
+ @_attrs_define
10
+ class GetSqsTriggerResponse200ExtraPerms:
11
+ """ """
12
+
13
+ additional_properties: Dict[str, bool] = _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
+ get_sqs_trigger_response_200_extra_perms = cls()
26
+
27
+ get_sqs_trigger_response_200_extra_perms.additional_properties = d
28
+ return get_sqs_trigger_response_200_extra_perms
29
+
30
+ @property
31
+ def additional_keys(self) -> List[str]:
32
+ return list(self.additional_properties.keys())
33
+
34
+ def __getitem__(self, key: str) -> bool:
35
+ return self.additional_properties[key]
36
+
37
+ def __setitem__(self, key: str, value: bool) -> 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
@@ -27,6 +27,7 @@ class GetTriggersCountOfFlowResponse200:
27
27
  postgres_count (Union[Unset, float]):
28
28
  kafka_count (Union[Unset, float]):
29
29
  nats_count (Union[Unset, float]):
30
+ sqs_count (Union[Unset, float]):
30
31
  """
31
32
 
32
33
  primary_schedule: Union[Unset, "GetTriggersCountOfFlowResponse200PrimarySchedule"] = UNSET
@@ -38,6 +39,7 @@ class GetTriggersCountOfFlowResponse200:
38
39
  postgres_count: Union[Unset, float] = UNSET
39
40
  kafka_count: Union[Unset, float] = UNSET
40
41
  nats_count: Union[Unset, float] = UNSET
42
+ sqs_count: Union[Unset, float] = UNSET
41
43
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
42
44
 
43
45
  def to_dict(self) -> Dict[str, Any]:
@@ -53,6 +55,7 @@ class GetTriggersCountOfFlowResponse200:
53
55
  postgres_count = self.postgres_count
54
56
  kafka_count = self.kafka_count
55
57
  nats_count = self.nats_count
58
+ sqs_count = self.sqs_count
56
59
 
57
60
  field_dict: Dict[str, Any] = {}
58
61
  field_dict.update(self.additional_properties)
@@ -75,6 +78,8 @@ class GetTriggersCountOfFlowResponse200:
75
78
  field_dict["kafka_count"] = kafka_count
76
79
  if nats_count is not UNSET:
77
80
  field_dict["nats_count"] = nats_count
81
+ if sqs_count is not UNSET:
82
+ field_dict["sqs_count"] = sqs_count
78
83
 
79
84
  return field_dict
80
85
 
@@ -108,6 +113,8 @@ class GetTriggersCountOfFlowResponse200:
108
113
 
109
114
  nats_count = d.pop("nats_count", UNSET)
110
115
 
116
+ sqs_count = d.pop("sqs_count", UNSET)
117
+
111
118
  get_triggers_count_of_flow_response_200 = cls(
112
119
  primary_schedule=primary_schedule,
113
120
  schedule_count=schedule_count,
@@ -118,6 +125,7 @@ class GetTriggersCountOfFlowResponse200:
118
125
  postgres_count=postgres_count,
119
126
  kafka_count=kafka_count,
120
127
  nats_count=nats_count,
128
+ sqs_count=sqs_count,
121
129
  )
122
130
 
123
131
  get_triggers_count_of_flow_response_200.additional_properties = d
@@ -27,6 +27,7 @@ class GetTriggersCountOfScriptResponse200:
27
27
  postgres_count (Union[Unset, float]):
28
28
  kafka_count (Union[Unset, float]):
29
29
  nats_count (Union[Unset, float]):
30
+ sqs_count (Union[Unset, float]):
30
31
  """
31
32
 
32
33
  primary_schedule: Union[Unset, "GetTriggersCountOfScriptResponse200PrimarySchedule"] = UNSET
@@ -38,6 +39,7 @@ class GetTriggersCountOfScriptResponse200:
38
39
  postgres_count: Union[Unset, float] = UNSET
39
40
  kafka_count: Union[Unset, float] = UNSET
40
41
  nats_count: Union[Unset, float] = UNSET
42
+ sqs_count: Union[Unset, float] = UNSET
41
43
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
42
44
 
43
45
  def to_dict(self) -> Dict[str, Any]:
@@ -53,6 +55,7 @@ class GetTriggersCountOfScriptResponse200:
53
55
  postgres_count = self.postgres_count
54
56
  kafka_count = self.kafka_count
55
57
  nats_count = self.nats_count
58
+ sqs_count = self.sqs_count
56
59
 
57
60
  field_dict: Dict[str, Any] = {}
58
61
  field_dict.update(self.additional_properties)
@@ -75,6 +78,8 @@ class GetTriggersCountOfScriptResponse200:
75
78
  field_dict["kafka_count"] = kafka_count
76
79
  if nats_count is not UNSET:
77
80
  field_dict["nats_count"] = nats_count
81
+ if sqs_count is not UNSET:
82
+ field_dict["sqs_count"] = sqs_count
78
83
 
79
84
  return field_dict
80
85
 
@@ -108,6 +113,8 @@ class GetTriggersCountOfScriptResponse200:
108
113
 
109
114
  nats_count = d.pop("nats_count", UNSET)
110
115
 
116
+ sqs_count = d.pop("sqs_count", UNSET)
117
+
111
118
  get_triggers_count_of_script_response_200 = cls(
112
119
  primary_schedule=primary_schedule,
113
120
  schedule_count=schedule_count,
@@ -118,6 +125,7 @@ class GetTriggersCountOfScriptResponse200:
118
125
  postgres_count=postgres_count,
119
126
  kafka_count=kafka_count,
120
127
  nats_count=nats_count,
128
+ sqs_count=sqs_count,
121
129
  )
122
130
 
123
131
  get_triggers_count_of_script_response_200.additional_properties = d
@@ -15,6 +15,7 @@ class GetUsedTriggersResponse200:
15
15
  kafka_used (bool):
16
16
  nats_used (bool):
17
17
  postgres_used (bool):
18
+ sqs_used (bool):
18
19
  """
19
20
 
20
21
  http_routes_used: bool
@@ -22,6 +23,7 @@ class GetUsedTriggersResponse200:
22
23
  kafka_used: bool
23
24
  nats_used: bool
24
25
  postgres_used: bool
26
+ sqs_used: bool
25
27
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
26
28
 
27
29
  def to_dict(self) -> Dict[str, Any]:
@@ -30,6 +32,7 @@ class GetUsedTriggersResponse200:
30
32
  kafka_used = self.kafka_used
31
33
  nats_used = self.nats_used
32
34
  postgres_used = self.postgres_used
35
+ sqs_used = self.sqs_used
33
36
 
34
37
  field_dict: Dict[str, Any] = {}
35
38
  field_dict.update(self.additional_properties)
@@ -40,6 +43,7 @@ class GetUsedTriggersResponse200:
40
43
  "kafka_used": kafka_used,
41
44
  "nats_used": nats_used,
42
45
  "postgres_used": postgres_used,
46
+ "sqs_used": sqs_used,
43
47
  }
44
48
  )
45
49
 
@@ -58,12 +62,15 @@ class GetUsedTriggersResponse200:
58
62
 
59
63
  postgres_used = d.pop("postgres_used")
60
64
 
65
+ sqs_used = d.pop("sqs_used")
66
+
61
67
  get_used_triggers_response_200 = cls(
62
68
  http_routes_used=http_routes_used,
63
69
  websocket_used=websocket_used,
64
70
  kafka_used=kafka_used,
65
71
  nats_used=nats_used,
66
72
  postgres_used=postgres_used,
73
+ sqs_used=sqs_used,
67
74
  )
68
75
 
69
76
  get_used_triggers_response_200.additional_properties = d
@@ -28,18 +28,18 @@ T = TypeVar("T", bound="GetWebsocketTriggerResponse200")
28
28
  class GetWebsocketTriggerResponse200:
29
29
  """
30
30
  Attributes:
31
- path (str):
32
- script_path (str):
33
31
  url (str):
34
- is_flow (bool):
35
32
  enabled (bool):
36
33
  filters (List['GetWebsocketTriggerResponse200FiltersItem']):
37
34
  can_return_message (bool):
35
+ path (str):
36
+ script_path (str):
38
37
  email (str):
39
38
  extra_perms (GetWebsocketTriggerResponse200ExtraPerms):
40
39
  workspace_id (str):
41
40
  edited_by (str):
42
41
  edited_at (datetime.datetime):
42
+ is_flow (bool):
43
43
  server_id (Union[Unset, str]):
44
44
  last_server_ping (Union[Unset, datetime.datetime]):
45
45
  error (Union[Unset, str]):
@@ -48,18 +48,18 @@ class GetWebsocketTriggerResponse200:
48
48
  url_runnable_args (Union[Unset, GetWebsocketTriggerResponse200UrlRunnableArgs]):
49
49
  """
50
50
 
51
- path: str
52
- script_path: str
53
51
  url: str
54
- is_flow: bool
55
52
  enabled: bool
56
53
  filters: List["GetWebsocketTriggerResponse200FiltersItem"]
57
54
  can_return_message: bool
55
+ path: str
56
+ script_path: str
58
57
  email: str
59
58
  extra_perms: "GetWebsocketTriggerResponse200ExtraPerms"
60
59
  workspace_id: str
61
60
  edited_by: str
62
61
  edited_at: datetime.datetime
62
+ is_flow: bool
63
63
  server_id: Union[Unset, str] = UNSET
64
64
  last_server_ping: Union[Unset, datetime.datetime] = UNSET
65
65
  error: Union[Unset, str] = UNSET
@@ -80,10 +80,7 @@ class GetWebsocketTriggerResponse200:
80
80
  GetWebsocketTriggerResponse200InitialMessagesItemType0,
81
81
  )
82
82
 
83
- path = self.path
84
- script_path = self.script_path
85
83
  url = self.url
86
- is_flow = self.is_flow
87
84
  enabled = self.enabled
88
85
  filters = []
89
86
  for filters_item_data in self.filters:
@@ -92,6 +89,8 @@ class GetWebsocketTriggerResponse200:
92
89
  filters.append(filters_item)
93
90
 
94
91
  can_return_message = self.can_return_message
92
+ path = self.path
93
+ script_path = self.script_path
95
94
  email = self.email
96
95
  extra_perms = self.extra_perms.to_dict()
97
96
 
@@ -99,6 +98,7 @@ class GetWebsocketTriggerResponse200:
99
98
  edited_by = self.edited_by
100
99
  edited_at = self.edited_at.isoformat()
101
100
 
101
+ is_flow = self.is_flow
102
102
  server_id = self.server_id
103
103
  last_server_ping: Union[Unset, str] = UNSET
104
104
  if not isinstance(self.last_server_ping, Unset):
@@ -127,18 +127,18 @@ class GetWebsocketTriggerResponse200:
127
127
  field_dict.update(self.additional_properties)
128
128
  field_dict.update(
129
129
  {
130
- "path": path,
131
- "script_path": script_path,
132
130
  "url": url,
133
- "is_flow": is_flow,
134
131
  "enabled": enabled,
135
132
  "filters": filters,
136
133
  "can_return_message": can_return_message,
134
+ "path": path,
135
+ "script_path": script_path,
137
136
  "email": email,
138
137
  "extra_perms": extra_perms,
139
138
  "workspace_id": workspace_id,
140
139
  "edited_by": edited_by,
141
140
  "edited_at": edited_at,
141
+ "is_flow": is_flow,
142
142
  }
143
143
  )
144
144
  if server_id is not UNSET:
@@ -169,14 +169,8 @@ class GetWebsocketTriggerResponse200:
169
169
  )
170
170
 
171
171
  d = src_dict.copy()
172
- path = d.pop("path")
173
-
174
- script_path = d.pop("script_path")
175
-
176
172
  url = d.pop("url")
177
173
 
178
- is_flow = d.pop("is_flow")
179
-
180
174
  enabled = d.pop("enabled")
181
175
 
182
176
  filters = []
@@ -188,6 +182,10 @@ class GetWebsocketTriggerResponse200:
188
182
 
189
183
  can_return_message = d.pop("can_return_message")
190
184
 
185
+ path = d.pop("path")
186
+
187
+ script_path = d.pop("script_path")
188
+
191
189
  email = d.pop("email")
192
190
 
193
191
  extra_perms = GetWebsocketTriggerResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
@@ -198,6 +196,8 @@ class GetWebsocketTriggerResponse200:
198
196
 
199
197
  edited_at = isoparse(d.pop("edited_at"))
200
198
 
199
+ is_flow = d.pop("is_flow")
200
+
201
201
  server_id = d.pop("server_id", UNSET)
202
202
 
203
203
  _last_server_ping = d.pop("last_server_ping", UNSET)
@@ -247,18 +247,18 @@ class GetWebsocketTriggerResponse200:
247
247
  url_runnable_args = GetWebsocketTriggerResponse200UrlRunnableArgs.from_dict(_url_runnable_args)
248
248
 
249
249
  get_websocket_trigger_response_200 = cls(
250
- path=path,
251
- script_path=script_path,
252
250
  url=url,
253
- is_flow=is_flow,
254
251
  enabled=enabled,
255
252
  filters=filters,
256
253
  can_return_message=can_return_message,
254
+ path=path,
255
+ script_path=script_path,
257
256
  email=email,
258
257
  extra_perms=extra_perms,
259
258
  workspace_id=workspace_id,
260
259
  edited_by=edited_by,
261
260
  edited_at=edited_at,
261
+ is_flow=is_flow,
262
262
  server_id=server_id,
263
263
  last_server_ping=last_server_ping,
264
264
  error=error,