graphlit-client 1.0.20250625001__py3-none-any.whl → 1.0.20250627001__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.
- graphlit_api/__init__.py +556 -0
- graphlit_api/client.py +205 -0
- graphlit_api/count_connectors.py +21 -0
- graphlit_api/count_views.py +19 -0
- graphlit_api/create_connector.py +25 -0
- graphlit_api/create_view.py +316 -0
- graphlit_api/create_workflow.py +6 -0
- graphlit_api/delete_connector.py +23 -0
- graphlit_api/delete_view.py +21 -0
- graphlit_api/enums.py +46 -0
- graphlit_api/get_connector.py +88 -0
- graphlit_api/get_feed.py +32 -1
- graphlit_api/get_user.py +5 -0
- graphlit_api/get_user_by_identifier.py +7 -0
- graphlit_api/get_view.py +321 -0
- graphlit_api/get_workflow.py +6 -0
- graphlit_api/input_types.py +143 -21
- graphlit_api/operations.py +937 -0
- graphlit_api/query_connectors.py +93 -0
- graphlit_api/query_feeds.py +32 -1
- graphlit_api/query_users.py +5 -0
- graphlit_api/query_views.py +330 -0
- graphlit_api/query_workflows.py +6 -0
- graphlit_api/update_connector.py +25 -0
- graphlit_api/update_view.py +316 -0
- graphlit_api/update_workflow.py +6 -0
- graphlit_api/upsert_workflow.py +6 -0
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627001.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627001.dist-info}/RECORD +32 -20
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627001.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627001.dist-info}/licenses/LICENSE +0 -0
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627001.dist-info}/top_level.txt +0 -0
graphlit_api/get_feed.py
CHANGED
@@ -12,8 +12,13 @@ from .enums import (
|
|
12
12
|
FeedListingTypes,
|
13
13
|
FeedServiceTypes,
|
14
14
|
FeedTypes,
|
15
|
+
GoogleCalendarAuthenticationTypes,
|
15
16
|
GoogleDriveAuthenticationTypes,
|
17
|
+
GoogleEmailAuthenticationTypes,
|
18
|
+
MicrosoftCalendarAuthenticationTypes,
|
19
|
+
MicrosoftEmailAuthenticationTypes,
|
16
20
|
NotionTypes,
|
21
|
+
OneDriveAuthenticationTypes,
|
17
22
|
SearchServiceTypes,
|
18
23
|
SharePointAuthenticationTypes,
|
19
24
|
SiteTypes,
|
@@ -115,7 +120,7 @@ class GetFeedFeedSiteGoogle(BaseModel):
|
|
115
120
|
|
116
121
|
|
117
122
|
class GetFeedFeedSiteSharePoint(BaseModel):
|
118
|
-
authentication_type: SharePointAuthenticationTypes = Field(
|
123
|
+
authentication_type: Optional[SharePointAuthenticationTypes] = Field(
|
119
124
|
alias="authenticationType"
|
120
125
|
)
|
121
126
|
account_name: str = Field(alias="accountName")
|
@@ -125,14 +130,19 @@ class GetFeedFeedSiteSharePoint(BaseModel):
|
|
125
130
|
client_id: Optional[str] = Field(alias="clientId")
|
126
131
|
client_secret: Optional[str] = Field(alias="clientSecret")
|
127
132
|
refresh_token: Optional[str] = Field(alias="refreshToken")
|
133
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
128
134
|
|
129
135
|
|
130
136
|
class GetFeedFeedSiteOneDrive(BaseModel):
|
137
|
+
authentication_type: Optional[OneDriveAuthenticationTypes] = Field(
|
138
|
+
alias="authenticationType"
|
139
|
+
)
|
131
140
|
folder_id: Optional[str] = Field(alias="folderId")
|
132
141
|
files: Optional[List[Optional[str]]]
|
133
142
|
client_id: str = Field(alias="clientId")
|
134
143
|
client_secret: str = Field(alias="clientSecret")
|
135
144
|
refresh_token: str = Field(alias="refreshToken")
|
145
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
136
146
|
|
137
147
|
|
138
148
|
class GetFeedFeedSiteGoogleDrive(BaseModel):
|
@@ -145,6 +155,7 @@ class GetFeedFeedSiteGoogleDrive(BaseModel):
|
|
145
155
|
client_id: Optional[str] = Field(alias="clientId")
|
146
156
|
client_secret: Optional[str] = Field(alias="clientSecret")
|
147
157
|
service_account_json: Optional[str] = Field(alias="serviceAccountJson")
|
158
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
148
159
|
|
149
160
|
|
150
161
|
class GetFeedFeedSiteDropbox(BaseModel):
|
@@ -164,11 +175,15 @@ class GetFeedFeedSiteBox(BaseModel):
|
|
164
175
|
|
165
176
|
|
166
177
|
class GetFeedFeedSiteGithub(BaseModel):
|
178
|
+
authentication_type: Optional[OneDriveAuthenticationTypes] = Field(
|
179
|
+
alias="authenticationType"
|
180
|
+
)
|
167
181
|
uri: Optional[Any]
|
168
182
|
repository_owner: str = Field(alias="repositoryOwner")
|
169
183
|
repository_name: str = Field(alias="repositoryName")
|
170
184
|
refresh_token: Optional[str] = Field(alias="refreshToken")
|
171
185
|
personal_access_token: Optional[str] = Field(alias="personalAccessToken")
|
186
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
172
187
|
|
173
188
|
|
174
189
|
class GetFeedFeedEmail(BaseModel):
|
@@ -185,9 +200,13 @@ class GetFeedFeedEmailGoogle(BaseModel):
|
|
185
200
|
exclude_sent_items: Optional[bool] = Field(alias="excludeSentItems")
|
186
201
|
include_deleted_items: Optional[bool] = Field(alias="includeDeletedItems")
|
187
202
|
inbox_only: Optional[bool] = Field(alias="inboxOnly")
|
203
|
+
authentication_type: Optional[GoogleEmailAuthenticationTypes] = Field(
|
204
|
+
alias="authenticationType"
|
205
|
+
)
|
188
206
|
refresh_token: Optional[str] = Field(alias="refreshToken")
|
189
207
|
client_id: str = Field(alias="clientId")
|
190
208
|
client_secret: str = Field(alias="clientSecret")
|
209
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
191
210
|
|
192
211
|
|
193
212
|
class GetFeedFeedEmailMicrosoft(BaseModel):
|
@@ -196,9 +215,13 @@ class GetFeedFeedEmailMicrosoft(BaseModel):
|
|
196
215
|
exclude_sent_items: Optional[bool] = Field(alias="excludeSentItems")
|
197
216
|
include_deleted_items: Optional[bool] = Field(alias="includeDeletedItems")
|
198
217
|
inbox_only: Optional[bool] = Field(alias="inboxOnly")
|
218
|
+
authentication_type: Optional[MicrosoftEmailAuthenticationTypes] = Field(
|
219
|
+
alias="authenticationType"
|
220
|
+
)
|
199
221
|
refresh_token: str = Field(alias="refreshToken")
|
200
222
|
client_id: str = Field(alias="clientId")
|
201
223
|
client_secret: str = Field(alias="clientSecret")
|
224
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
202
225
|
|
203
226
|
|
204
227
|
class GetFeedFeedIssue(BaseModel):
|
@@ -262,18 +285,26 @@ class GetFeedFeedCalendarGoogle(BaseModel):
|
|
262
285
|
calendar_id: Optional[str] = Field(alias="calendarId")
|
263
286
|
before_date: Optional[Any] = Field(alias="beforeDate")
|
264
287
|
after_date: Optional[Any] = Field(alias="afterDate")
|
288
|
+
authentication_type: Optional[GoogleCalendarAuthenticationTypes] = Field(
|
289
|
+
alias="authenticationType"
|
290
|
+
)
|
265
291
|
refresh_token: str = Field(alias="refreshToken")
|
266
292
|
client_id: str = Field(alias="clientId")
|
267
293
|
client_secret: str = Field(alias="clientSecret")
|
294
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
268
295
|
|
269
296
|
|
270
297
|
class GetFeedFeedCalendarMicrosoft(BaseModel):
|
271
298
|
calendar_id: Optional[str] = Field(alias="calendarId")
|
272
299
|
before_date: Optional[Any] = Field(alias="beforeDate")
|
273
300
|
after_date: Optional[Any] = Field(alias="afterDate")
|
301
|
+
authentication_type: Optional[MicrosoftCalendarAuthenticationTypes] = Field(
|
302
|
+
alias="authenticationType"
|
303
|
+
)
|
274
304
|
refresh_token: str = Field(alias="refreshToken")
|
275
305
|
client_id: str = Field(alias="clientId")
|
276
306
|
client_secret: str = Field(alias="clientSecret")
|
307
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
277
308
|
|
278
309
|
|
279
310
|
class GetFeedFeedRss(BaseModel):
|
graphlit_api/get_user.py
CHANGED
@@ -49,6 +49,7 @@ class GetUserUserConnectorsAuthentication(BaseModel):
|
|
49
49
|
type: AuthenticationServiceTypes
|
50
50
|
microsoft: Optional["GetUserUserConnectorsAuthenticationMicrosoft"]
|
51
51
|
google: Optional["GetUserUserConnectorsAuthenticationGoogle"]
|
52
|
+
arcade: Optional["GetUserUserConnectorsAuthenticationArcade"]
|
52
53
|
|
53
54
|
|
54
55
|
class GetUserUserConnectorsAuthenticationMicrosoft(BaseModel):
|
@@ -62,6 +63,10 @@ class GetUserUserConnectorsAuthenticationGoogle(BaseModel):
|
|
62
63
|
client_secret: str = Field(alias="clientSecret")
|
63
64
|
|
64
65
|
|
66
|
+
class GetUserUserConnectorsAuthenticationArcade(BaseModel):
|
67
|
+
authorization_id: str = Field(alias="authorizationId")
|
68
|
+
|
69
|
+
|
65
70
|
class GetUserUserConnectorsIntegration(BaseModel):
|
66
71
|
type: IntegrationServiceTypes
|
67
72
|
uri: Optional[str]
|
@@ -59,6 +59,9 @@ class GetUserByIdentifierUserByIdentifierConnectorsAuthentication(BaseModel):
|
|
59
59
|
google: Optional[
|
60
60
|
"GetUserByIdentifierUserByIdentifierConnectorsAuthenticationGoogle"
|
61
61
|
]
|
62
|
+
arcade: Optional[
|
63
|
+
"GetUserByIdentifierUserByIdentifierConnectorsAuthenticationArcade"
|
64
|
+
]
|
62
65
|
|
63
66
|
|
64
67
|
class GetUserByIdentifierUserByIdentifierConnectorsAuthenticationMicrosoft(BaseModel):
|
@@ -72,6 +75,10 @@ class GetUserByIdentifierUserByIdentifierConnectorsAuthenticationGoogle(BaseMode
|
|
72
75
|
client_secret: str = Field(alias="clientSecret")
|
73
76
|
|
74
77
|
|
78
|
+
class GetUserByIdentifierUserByIdentifierConnectorsAuthenticationArcade(BaseModel):
|
79
|
+
authorization_id: str = Field(alias="authorizationId")
|
80
|
+
|
81
|
+
|
75
82
|
class GetUserByIdentifierUserByIdentifierConnectorsIntegration(BaseModel):
|
76
83
|
type: IntegrationServiceTypes
|
77
84
|
uri: Optional[str]
|
graphlit_api/get_view.py
ADDED
@@ -0,0 +1,321 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import Any, List, Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
from .enums import ContentTypes, EntityState, FileTypes, ObservableTypes, ViewTypes
|
10
|
+
|
11
|
+
|
12
|
+
class GetView(BaseModel):
|
13
|
+
view: Optional["GetViewView"]
|
14
|
+
|
15
|
+
|
16
|
+
class GetViewView(BaseModel):
|
17
|
+
id: str
|
18
|
+
name: str
|
19
|
+
creation_date: Any = Field(alias="creationDate")
|
20
|
+
relevance: Optional[float]
|
21
|
+
owner: "GetViewViewOwner"
|
22
|
+
state: EntityState
|
23
|
+
type: Optional[ViewTypes]
|
24
|
+
filter: Optional["GetViewViewFilter"]
|
25
|
+
augmented_filter: Optional["GetViewViewAugmentedFilter"] = Field(
|
26
|
+
alias="augmentedFilter"
|
27
|
+
)
|
28
|
+
|
29
|
+
|
30
|
+
class GetViewViewOwner(BaseModel):
|
31
|
+
id: str
|
32
|
+
|
33
|
+
|
34
|
+
class GetViewViewFilter(BaseModel):
|
35
|
+
date_range: Optional["GetViewViewFilterDateRange"] = Field(alias="dateRange")
|
36
|
+
in_last: Optional[Any] = Field(alias="inLast")
|
37
|
+
creation_date_range: Optional["GetViewViewFilterCreationDateRange"] = Field(
|
38
|
+
alias="creationDateRange"
|
39
|
+
)
|
40
|
+
created_in_last: Optional[Any] = Field(alias="createdInLast")
|
41
|
+
types: Optional[List[ContentTypes]]
|
42
|
+
file_types: Optional[List[Optional[FileTypes]]] = Field(alias="fileTypes")
|
43
|
+
formats: Optional[List[Optional[str]]]
|
44
|
+
file_extensions: Optional[List[str]] = Field(alias="fileExtensions")
|
45
|
+
similar_contents: Optional[List["GetViewViewFilterSimilarContents"]] = Field(
|
46
|
+
alias="similarContents"
|
47
|
+
)
|
48
|
+
contents: Optional[List["GetViewViewFilterContents"]]
|
49
|
+
feeds: Optional[List["GetViewViewFilterFeeds"]]
|
50
|
+
workflows: Optional[List["GetViewViewFilterWorkflows"]]
|
51
|
+
collections: Optional[List["GetViewViewFilterCollections"]]
|
52
|
+
users: Optional[List["GetViewViewFilterUsers"]]
|
53
|
+
observations: Optional[List["GetViewViewFilterObservations"]]
|
54
|
+
or_: Optional[List["GetViewViewFilterOr"]] = Field(alias="or")
|
55
|
+
and_: Optional[List["GetViewViewFilterAnd"]] = Field(alias="and")
|
56
|
+
|
57
|
+
|
58
|
+
class GetViewViewFilterDateRange(BaseModel):
|
59
|
+
from_: Optional[Any] = Field(alias="from")
|
60
|
+
to: Optional[Any]
|
61
|
+
|
62
|
+
|
63
|
+
class GetViewViewFilterCreationDateRange(BaseModel):
|
64
|
+
from_: Optional[Any] = Field(alias="from")
|
65
|
+
to: Optional[Any]
|
66
|
+
|
67
|
+
|
68
|
+
class GetViewViewFilterSimilarContents(BaseModel):
|
69
|
+
id: str
|
70
|
+
|
71
|
+
|
72
|
+
class GetViewViewFilterContents(BaseModel):
|
73
|
+
id: str
|
74
|
+
|
75
|
+
|
76
|
+
class GetViewViewFilterFeeds(BaseModel):
|
77
|
+
id: str
|
78
|
+
|
79
|
+
|
80
|
+
class GetViewViewFilterWorkflows(BaseModel):
|
81
|
+
id: str
|
82
|
+
|
83
|
+
|
84
|
+
class GetViewViewFilterCollections(BaseModel):
|
85
|
+
id: str
|
86
|
+
|
87
|
+
|
88
|
+
class GetViewViewFilterUsers(BaseModel):
|
89
|
+
id: str
|
90
|
+
|
91
|
+
|
92
|
+
class GetViewViewFilterObservations(BaseModel):
|
93
|
+
type: ObservableTypes
|
94
|
+
observable: "GetViewViewFilterObservationsObservable"
|
95
|
+
states: Optional[List[Optional[EntityState]]]
|
96
|
+
|
97
|
+
|
98
|
+
class GetViewViewFilterObservationsObservable(BaseModel):
|
99
|
+
id: str
|
100
|
+
|
101
|
+
|
102
|
+
class GetViewViewFilterOr(BaseModel):
|
103
|
+
feeds: Optional[List["GetViewViewFilterOrFeeds"]]
|
104
|
+
workflows: Optional[List["GetViewViewFilterOrWorkflows"]]
|
105
|
+
collections: Optional[List["GetViewViewFilterOrCollections"]]
|
106
|
+
users: Optional[List["GetViewViewFilterOrUsers"]]
|
107
|
+
observations: Optional[List["GetViewViewFilterOrObservations"]]
|
108
|
+
|
109
|
+
|
110
|
+
class GetViewViewFilterOrFeeds(BaseModel):
|
111
|
+
id: str
|
112
|
+
|
113
|
+
|
114
|
+
class GetViewViewFilterOrWorkflows(BaseModel):
|
115
|
+
id: str
|
116
|
+
|
117
|
+
|
118
|
+
class GetViewViewFilterOrCollections(BaseModel):
|
119
|
+
id: str
|
120
|
+
|
121
|
+
|
122
|
+
class GetViewViewFilterOrUsers(BaseModel):
|
123
|
+
id: str
|
124
|
+
|
125
|
+
|
126
|
+
class GetViewViewFilterOrObservations(BaseModel):
|
127
|
+
type: ObservableTypes
|
128
|
+
observable: "GetViewViewFilterOrObservationsObservable"
|
129
|
+
states: Optional[List[Optional[EntityState]]]
|
130
|
+
|
131
|
+
|
132
|
+
class GetViewViewFilterOrObservationsObservable(BaseModel):
|
133
|
+
id: str
|
134
|
+
|
135
|
+
|
136
|
+
class GetViewViewFilterAnd(BaseModel):
|
137
|
+
feeds: Optional[List["GetViewViewFilterAndFeeds"]]
|
138
|
+
workflows: Optional[List["GetViewViewFilterAndWorkflows"]]
|
139
|
+
collections: Optional[List["GetViewViewFilterAndCollections"]]
|
140
|
+
users: Optional[List["GetViewViewFilterAndUsers"]]
|
141
|
+
observations: Optional[List["GetViewViewFilterAndObservations"]]
|
142
|
+
|
143
|
+
|
144
|
+
class GetViewViewFilterAndFeeds(BaseModel):
|
145
|
+
id: str
|
146
|
+
|
147
|
+
|
148
|
+
class GetViewViewFilterAndWorkflows(BaseModel):
|
149
|
+
id: str
|
150
|
+
|
151
|
+
|
152
|
+
class GetViewViewFilterAndCollections(BaseModel):
|
153
|
+
id: str
|
154
|
+
|
155
|
+
|
156
|
+
class GetViewViewFilterAndUsers(BaseModel):
|
157
|
+
id: str
|
158
|
+
|
159
|
+
|
160
|
+
class GetViewViewFilterAndObservations(BaseModel):
|
161
|
+
type: ObservableTypes
|
162
|
+
observable: "GetViewViewFilterAndObservationsObservable"
|
163
|
+
states: Optional[List[Optional[EntityState]]]
|
164
|
+
|
165
|
+
|
166
|
+
class GetViewViewFilterAndObservationsObservable(BaseModel):
|
167
|
+
id: str
|
168
|
+
|
169
|
+
|
170
|
+
class GetViewViewAugmentedFilter(BaseModel):
|
171
|
+
date_range: Optional["GetViewViewAugmentedFilterDateRange"] = Field(
|
172
|
+
alias="dateRange"
|
173
|
+
)
|
174
|
+
in_last: Optional[Any] = Field(alias="inLast")
|
175
|
+
creation_date_range: Optional["GetViewViewAugmentedFilterCreationDateRange"] = (
|
176
|
+
Field(alias="creationDateRange")
|
177
|
+
)
|
178
|
+
created_in_last: Optional[Any] = Field(alias="createdInLast")
|
179
|
+
types: Optional[List[ContentTypes]]
|
180
|
+
file_types: Optional[List[Optional[FileTypes]]] = Field(alias="fileTypes")
|
181
|
+
formats: Optional[List[Optional[str]]]
|
182
|
+
file_extensions: Optional[List[str]] = Field(alias="fileExtensions")
|
183
|
+
similar_contents: Optional[List["GetViewViewAugmentedFilterSimilarContents"]] = (
|
184
|
+
Field(alias="similarContents")
|
185
|
+
)
|
186
|
+
contents: Optional[List["GetViewViewAugmentedFilterContents"]]
|
187
|
+
feeds: Optional[List["GetViewViewAugmentedFilterFeeds"]]
|
188
|
+
workflows: Optional[List["GetViewViewAugmentedFilterWorkflows"]]
|
189
|
+
collections: Optional[List["GetViewViewAugmentedFilterCollections"]]
|
190
|
+
users: Optional[List["GetViewViewAugmentedFilterUsers"]]
|
191
|
+
observations: Optional[List["GetViewViewAugmentedFilterObservations"]]
|
192
|
+
or_: Optional[List["GetViewViewAugmentedFilterOr"]] = Field(alias="or")
|
193
|
+
and_: Optional[List["GetViewViewAugmentedFilterAnd"]] = Field(alias="and")
|
194
|
+
|
195
|
+
|
196
|
+
class GetViewViewAugmentedFilterDateRange(BaseModel):
|
197
|
+
from_: Optional[Any] = Field(alias="from")
|
198
|
+
to: Optional[Any]
|
199
|
+
|
200
|
+
|
201
|
+
class GetViewViewAugmentedFilterCreationDateRange(BaseModel):
|
202
|
+
from_: Optional[Any] = Field(alias="from")
|
203
|
+
to: Optional[Any]
|
204
|
+
|
205
|
+
|
206
|
+
class GetViewViewAugmentedFilterSimilarContents(BaseModel):
|
207
|
+
id: str
|
208
|
+
|
209
|
+
|
210
|
+
class GetViewViewAugmentedFilterContents(BaseModel):
|
211
|
+
id: str
|
212
|
+
|
213
|
+
|
214
|
+
class GetViewViewAugmentedFilterFeeds(BaseModel):
|
215
|
+
id: str
|
216
|
+
|
217
|
+
|
218
|
+
class GetViewViewAugmentedFilterWorkflows(BaseModel):
|
219
|
+
id: str
|
220
|
+
|
221
|
+
|
222
|
+
class GetViewViewAugmentedFilterCollections(BaseModel):
|
223
|
+
id: str
|
224
|
+
|
225
|
+
|
226
|
+
class GetViewViewAugmentedFilterUsers(BaseModel):
|
227
|
+
id: str
|
228
|
+
|
229
|
+
|
230
|
+
class GetViewViewAugmentedFilterObservations(BaseModel):
|
231
|
+
type: ObservableTypes
|
232
|
+
observable: "GetViewViewAugmentedFilterObservationsObservable"
|
233
|
+
states: Optional[List[Optional[EntityState]]]
|
234
|
+
|
235
|
+
|
236
|
+
class GetViewViewAugmentedFilterObservationsObservable(BaseModel):
|
237
|
+
id: str
|
238
|
+
|
239
|
+
|
240
|
+
class GetViewViewAugmentedFilterOr(BaseModel):
|
241
|
+
feeds: Optional[List["GetViewViewAugmentedFilterOrFeeds"]]
|
242
|
+
workflows: Optional[List["GetViewViewAugmentedFilterOrWorkflows"]]
|
243
|
+
collections: Optional[List["GetViewViewAugmentedFilterOrCollections"]]
|
244
|
+
users: Optional[List["GetViewViewAugmentedFilterOrUsers"]]
|
245
|
+
observations: Optional[List["GetViewViewAugmentedFilterOrObservations"]]
|
246
|
+
|
247
|
+
|
248
|
+
class GetViewViewAugmentedFilterOrFeeds(BaseModel):
|
249
|
+
id: str
|
250
|
+
|
251
|
+
|
252
|
+
class GetViewViewAugmentedFilterOrWorkflows(BaseModel):
|
253
|
+
id: str
|
254
|
+
|
255
|
+
|
256
|
+
class GetViewViewAugmentedFilterOrCollections(BaseModel):
|
257
|
+
id: str
|
258
|
+
|
259
|
+
|
260
|
+
class GetViewViewAugmentedFilterOrUsers(BaseModel):
|
261
|
+
id: str
|
262
|
+
|
263
|
+
|
264
|
+
class GetViewViewAugmentedFilterOrObservations(BaseModel):
|
265
|
+
type: ObservableTypes
|
266
|
+
observable: "GetViewViewAugmentedFilterOrObservationsObservable"
|
267
|
+
states: Optional[List[Optional[EntityState]]]
|
268
|
+
|
269
|
+
|
270
|
+
class GetViewViewAugmentedFilterOrObservationsObservable(BaseModel):
|
271
|
+
id: str
|
272
|
+
|
273
|
+
|
274
|
+
class GetViewViewAugmentedFilterAnd(BaseModel):
|
275
|
+
feeds: Optional[List["GetViewViewAugmentedFilterAndFeeds"]]
|
276
|
+
workflows: Optional[List["GetViewViewAugmentedFilterAndWorkflows"]]
|
277
|
+
collections: Optional[List["GetViewViewAugmentedFilterAndCollections"]]
|
278
|
+
users: Optional[List["GetViewViewAugmentedFilterAndUsers"]]
|
279
|
+
observations: Optional[List["GetViewViewAugmentedFilterAndObservations"]]
|
280
|
+
|
281
|
+
|
282
|
+
class GetViewViewAugmentedFilterAndFeeds(BaseModel):
|
283
|
+
id: str
|
284
|
+
|
285
|
+
|
286
|
+
class GetViewViewAugmentedFilterAndWorkflows(BaseModel):
|
287
|
+
id: str
|
288
|
+
|
289
|
+
|
290
|
+
class GetViewViewAugmentedFilterAndCollections(BaseModel):
|
291
|
+
id: str
|
292
|
+
|
293
|
+
|
294
|
+
class GetViewViewAugmentedFilterAndUsers(BaseModel):
|
295
|
+
id: str
|
296
|
+
|
297
|
+
|
298
|
+
class GetViewViewAugmentedFilterAndObservations(BaseModel):
|
299
|
+
type: ObservableTypes
|
300
|
+
observable: "GetViewViewAugmentedFilterAndObservationsObservable"
|
301
|
+
states: Optional[List[Optional[EntityState]]]
|
302
|
+
|
303
|
+
|
304
|
+
class GetViewViewAugmentedFilterAndObservationsObservable(BaseModel):
|
305
|
+
id: str
|
306
|
+
|
307
|
+
|
308
|
+
GetView.model_rebuild()
|
309
|
+
GetViewView.model_rebuild()
|
310
|
+
GetViewViewFilter.model_rebuild()
|
311
|
+
GetViewViewFilterObservations.model_rebuild()
|
312
|
+
GetViewViewFilterOr.model_rebuild()
|
313
|
+
GetViewViewFilterOrObservations.model_rebuild()
|
314
|
+
GetViewViewFilterAnd.model_rebuild()
|
315
|
+
GetViewViewFilterAndObservations.model_rebuild()
|
316
|
+
GetViewViewAugmentedFilter.model_rebuild()
|
317
|
+
GetViewViewAugmentedFilterObservations.model_rebuild()
|
318
|
+
GetViewViewAugmentedFilterOr.model_rebuild()
|
319
|
+
GetViewViewAugmentedFilterOrObservations.model_rebuild()
|
320
|
+
GetViewViewAugmentedFilterAnd.model_rebuild()
|
321
|
+
GetViewViewAugmentedFilterAndObservations.model_rebuild()
|
graphlit_api/get_workflow.py
CHANGED
@@ -325,6 +325,12 @@ class GetWorkflowWorkflowEnrichmentLink(BaseModel):
|
|
325
325
|
excluded_links: Optional[List[LinkTypes]] = Field(alias="excludedLinks")
|
326
326
|
allowed_files: Optional[List[FileTypes]] = Field(alias="allowedFiles")
|
327
327
|
excluded_files: Optional[List[FileTypes]] = Field(alias="excludedFiles")
|
328
|
+
allowed_content_types: Optional[List[ContentTypes]] = Field(
|
329
|
+
alias="allowedContentTypes"
|
330
|
+
)
|
331
|
+
excluded_content_types: Optional[List[ContentTypes]] = Field(
|
332
|
+
alias="excludedContentTypes"
|
333
|
+
)
|
328
334
|
allow_content_domain: Optional[bool] = Field(alias="allowContentDomain")
|
329
335
|
maximum_links: Optional[int] = Field(alias="maximumLinks")
|
330
336
|
|