graphlit-client 1.0.20250622004__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 +700 -0
- graphlit_api/client.py +297 -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 +903 -818
- graphlit_api/get_connector.py +88 -0
- graphlit_api/get_content.py +62 -0
- graphlit_api/get_feed.py +60 -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 +2902 -2632
- graphlit_api/lookup_contents.py +66 -0
- graphlit_api/operations.py +1209 -0
- graphlit_api/query_box_folders.py +25 -0
- graphlit_api/query_connectors.py +93 -0
- graphlit_api/query_contents.py +63 -0
- graphlit_api/query_contents_observations.py +67 -0
- graphlit_api/query_dropbox_folders.py +27 -0
- graphlit_api/query_feeds.py +60 -1
- graphlit_api/query_google_calendars.py +27 -0
- graphlit_api/query_google_drive_folders.py +29 -0
- graphlit_api/query_microsoft_calendars.py +29 -0
- 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.20250622004.dist-info → graphlit_client-1.0.20250627001.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250622004.dist-info → graphlit_client-1.0.20250627001.dist-info}/RECORD +41 -24
- {graphlit_client-1.0.20250622004.dist-info → graphlit_client-1.0.20250627001.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250622004.dist-info → graphlit_client-1.0.20250627001.dist-info}/licenses/LICENSE +0 -0
- {graphlit_client-1.0.20250622004.dist-info → graphlit_client-1.0.20250627001.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,88 @@
|
|
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 (
|
10
|
+
AuthenticationServiceTypes,
|
11
|
+
ConnectorTypes,
|
12
|
+
EntityState,
|
13
|
+
IntegrationServiceTypes,
|
14
|
+
)
|
15
|
+
|
16
|
+
|
17
|
+
class GetConnector(BaseModel):
|
18
|
+
connector: Optional["GetConnectorConnector"]
|
19
|
+
|
20
|
+
|
21
|
+
class GetConnectorConnector(BaseModel):
|
22
|
+
id: str
|
23
|
+
name: str
|
24
|
+
creation_date: Any = Field(alias="creationDate")
|
25
|
+
relevance: Optional[float]
|
26
|
+
owner: "GetConnectorConnectorOwner"
|
27
|
+
state: EntityState
|
28
|
+
type: Optional[ConnectorTypes]
|
29
|
+
authentication: Optional["GetConnectorConnectorAuthentication"]
|
30
|
+
integration: Optional["GetConnectorConnectorIntegration"]
|
31
|
+
|
32
|
+
|
33
|
+
class GetConnectorConnectorOwner(BaseModel):
|
34
|
+
id: str
|
35
|
+
|
36
|
+
|
37
|
+
class GetConnectorConnectorAuthentication(BaseModel):
|
38
|
+
type: AuthenticationServiceTypes
|
39
|
+
microsoft: Optional["GetConnectorConnectorAuthenticationMicrosoft"]
|
40
|
+
google: Optional["GetConnectorConnectorAuthenticationGoogle"]
|
41
|
+
arcade: Optional["GetConnectorConnectorAuthenticationArcade"]
|
42
|
+
|
43
|
+
|
44
|
+
class GetConnectorConnectorAuthenticationMicrosoft(BaseModel):
|
45
|
+
tenant_id: str = Field(alias="tenantId")
|
46
|
+
client_id: str = Field(alias="clientId")
|
47
|
+
client_secret: str = Field(alias="clientSecret")
|
48
|
+
|
49
|
+
|
50
|
+
class GetConnectorConnectorAuthenticationGoogle(BaseModel):
|
51
|
+
client_id: str = Field(alias="clientId")
|
52
|
+
client_secret: str = Field(alias="clientSecret")
|
53
|
+
|
54
|
+
|
55
|
+
class GetConnectorConnectorAuthenticationArcade(BaseModel):
|
56
|
+
authorization_id: str = Field(alias="authorizationId")
|
57
|
+
|
58
|
+
|
59
|
+
class GetConnectorConnectorIntegration(BaseModel):
|
60
|
+
type: IntegrationServiceTypes
|
61
|
+
uri: Optional[str]
|
62
|
+
slack: Optional["GetConnectorConnectorIntegrationSlack"]
|
63
|
+
email: Optional["GetConnectorConnectorIntegrationEmail"]
|
64
|
+
twitter: Optional["GetConnectorConnectorIntegrationTwitter"]
|
65
|
+
|
66
|
+
|
67
|
+
class GetConnectorConnectorIntegrationSlack(BaseModel):
|
68
|
+
token: str
|
69
|
+
channel: str
|
70
|
+
|
71
|
+
|
72
|
+
class GetConnectorConnectorIntegrationEmail(BaseModel):
|
73
|
+
from_: str = Field(alias="from")
|
74
|
+
subject: str
|
75
|
+
to: List[str]
|
76
|
+
|
77
|
+
|
78
|
+
class GetConnectorConnectorIntegrationTwitter(BaseModel):
|
79
|
+
consumer_key: str = Field(alias="consumerKey")
|
80
|
+
consumer_secret: str = Field(alias="consumerSecret")
|
81
|
+
access_token_key: str = Field(alias="accessTokenKey")
|
82
|
+
access_token_secret: str = Field(alias="accessTokenSecret")
|
83
|
+
|
84
|
+
|
85
|
+
GetConnector.model_rebuild()
|
86
|
+
GetConnectorConnector.model_rebuild()
|
87
|
+
GetConnectorConnectorAuthentication.model_rebuild()
|
88
|
+
GetConnectorConnectorIntegration.model_rebuild()
|
graphlit_api/get_content.py
CHANGED
@@ -7,6 +7,11 @@ from pydantic import Field
|
|
7
7
|
|
8
8
|
from .base_model import BaseModel
|
9
9
|
from .enums import (
|
10
|
+
CalendarAttendeeResponseStatus,
|
11
|
+
CalendarEventStatus,
|
12
|
+
CalendarEventVisibility,
|
13
|
+
CalendarRecurrencePattern,
|
14
|
+
CalendarReminderMethod,
|
10
15
|
ContentTypes,
|
11
16
|
EntityState,
|
12
17
|
FileTypes,
|
@@ -76,6 +81,7 @@ class GetContentContent(BaseModel):
|
|
76
81
|
image: Optional["GetContentContentImage"]
|
77
82
|
document: Optional["GetContentContentDocument"]
|
78
83
|
email: Optional["GetContentContentEmail"]
|
84
|
+
event: Optional["GetContentContentEvent"]
|
79
85
|
issue: Optional["GetContentContentIssue"]
|
80
86
|
package: Optional["GetContentContentPackage"]
|
81
87
|
language: Optional["GetContentContentLanguage"]
|
@@ -242,6 +248,61 @@ class GetContentContentEmailBcc(BaseModel):
|
|
242
248
|
family_name: Optional[str] = Field(alias="familyName")
|
243
249
|
|
244
250
|
|
251
|
+
class GetContentContentEvent(BaseModel):
|
252
|
+
event_identifier: Optional[str] = Field(alias="eventIdentifier")
|
253
|
+
calendar_identifier: Optional[str] = Field(alias="calendarIdentifier")
|
254
|
+
subject: Optional[str]
|
255
|
+
start_date_time: Optional[Any] = Field(alias="startDateTime")
|
256
|
+
end_date_time: Optional[Any] = Field(alias="endDateTime")
|
257
|
+
is_all_day: Optional[bool] = Field(alias="isAllDay")
|
258
|
+
timezone: Optional[str]
|
259
|
+
status: Optional[CalendarEventStatus]
|
260
|
+
visibility: Optional[CalendarEventVisibility]
|
261
|
+
meeting_link: Optional[str] = Field(alias="meetingLink")
|
262
|
+
organizer: Optional["GetContentContentEventOrganizer"]
|
263
|
+
attendees: Optional[List[Optional["GetContentContentEventAttendees"]]]
|
264
|
+
categories: Optional[List[Optional[str]]]
|
265
|
+
reminders: Optional[List[Optional["GetContentContentEventReminders"]]]
|
266
|
+
recurrence: Optional["GetContentContentEventRecurrence"]
|
267
|
+
recurring_event_identifier: Optional[str] = Field(alias="recurringEventIdentifier")
|
268
|
+
is_recurring: Optional[bool] = Field(alias="isRecurring")
|
269
|
+
|
270
|
+
|
271
|
+
class GetContentContentEventOrganizer(BaseModel):
|
272
|
+
name: Optional[str]
|
273
|
+
email: Optional[str]
|
274
|
+
is_optional: Optional[bool] = Field(alias="isOptional")
|
275
|
+
is_organizer: Optional[bool] = Field(alias="isOrganizer")
|
276
|
+
response_status: Optional[CalendarAttendeeResponseStatus] = Field(
|
277
|
+
alias="responseStatus"
|
278
|
+
)
|
279
|
+
|
280
|
+
|
281
|
+
class GetContentContentEventAttendees(BaseModel):
|
282
|
+
name: Optional[str]
|
283
|
+
email: Optional[str]
|
284
|
+
is_optional: Optional[bool] = Field(alias="isOptional")
|
285
|
+
is_organizer: Optional[bool] = Field(alias="isOrganizer")
|
286
|
+
response_status: Optional[CalendarAttendeeResponseStatus] = Field(
|
287
|
+
alias="responseStatus"
|
288
|
+
)
|
289
|
+
|
290
|
+
|
291
|
+
class GetContentContentEventReminders(BaseModel):
|
292
|
+
minutes_before: Optional[int] = Field(alias="minutesBefore")
|
293
|
+
method: Optional[CalendarReminderMethod]
|
294
|
+
|
295
|
+
|
296
|
+
class GetContentContentEventRecurrence(BaseModel):
|
297
|
+
pattern: Optional[CalendarRecurrencePattern]
|
298
|
+
interval: Optional[int]
|
299
|
+
count: Optional[int]
|
300
|
+
until: Optional[Any]
|
301
|
+
days_of_week: Optional[List[Optional[str]]] = Field(alias="daysOfWeek")
|
302
|
+
day_of_month: Optional[int] = Field(alias="dayOfMonth")
|
303
|
+
month_of_year: Optional[int] = Field(alias="monthOfYear")
|
304
|
+
|
305
|
+
|
245
306
|
class GetContentContentIssue(BaseModel):
|
246
307
|
identifier: Optional[str]
|
247
308
|
title: Optional[str]
|
@@ -379,6 +440,7 @@ class GetContentContentFrames(BaseModel):
|
|
379
440
|
GetContent.model_rebuild()
|
380
441
|
GetContentContent.model_rebuild()
|
381
442
|
GetContentContentEmail.model_rebuild()
|
443
|
+
GetContentContentEvent.model_rebuild()
|
382
444
|
GetContentContentObservations.model_rebuild()
|
383
445
|
GetContentContentObservationsOccurrences.model_rebuild()
|
384
446
|
GetContentContentPages.model_rebuild()
|
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,
|
@@ -40,6 +45,7 @@ class GetFeedFeed(BaseModel):
|
|
40
45
|
site: Optional["GetFeedFeedSite"]
|
41
46
|
email: Optional["GetFeedFeedEmail"]
|
42
47
|
issue: Optional["GetFeedFeedIssue"]
|
48
|
+
calendar: Optional["GetFeedFeedCalendar"]
|
43
49
|
rss: Optional["GetFeedFeedRss"]
|
44
50
|
web: Optional["GetFeedFeedWeb"]
|
45
51
|
search: Optional["GetFeedFeedSearch"]
|
@@ -114,7 +120,7 @@ class GetFeedFeedSiteGoogle(BaseModel):
|
|
114
120
|
|
115
121
|
|
116
122
|
class GetFeedFeedSiteSharePoint(BaseModel):
|
117
|
-
authentication_type: SharePointAuthenticationTypes = Field(
|
123
|
+
authentication_type: Optional[SharePointAuthenticationTypes] = Field(
|
118
124
|
alias="authenticationType"
|
119
125
|
)
|
120
126
|
account_name: str = Field(alias="accountName")
|
@@ -124,14 +130,19 @@ class GetFeedFeedSiteSharePoint(BaseModel):
|
|
124
130
|
client_id: Optional[str] = Field(alias="clientId")
|
125
131
|
client_secret: Optional[str] = Field(alias="clientSecret")
|
126
132
|
refresh_token: Optional[str] = Field(alias="refreshToken")
|
133
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
127
134
|
|
128
135
|
|
129
136
|
class GetFeedFeedSiteOneDrive(BaseModel):
|
137
|
+
authentication_type: Optional[OneDriveAuthenticationTypes] = Field(
|
138
|
+
alias="authenticationType"
|
139
|
+
)
|
130
140
|
folder_id: Optional[str] = Field(alias="folderId")
|
131
141
|
files: Optional[List[Optional[str]]]
|
132
142
|
client_id: str = Field(alias="clientId")
|
133
143
|
client_secret: str = Field(alias="clientSecret")
|
134
144
|
refresh_token: str = Field(alias="refreshToken")
|
145
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
135
146
|
|
136
147
|
|
137
148
|
class GetFeedFeedSiteGoogleDrive(BaseModel):
|
@@ -144,6 +155,7 @@ class GetFeedFeedSiteGoogleDrive(BaseModel):
|
|
144
155
|
client_id: Optional[str] = Field(alias="clientId")
|
145
156
|
client_secret: Optional[str] = Field(alias="clientSecret")
|
146
157
|
service_account_json: Optional[str] = Field(alias="serviceAccountJson")
|
158
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
147
159
|
|
148
160
|
|
149
161
|
class GetFeedFeedSiteDropbox(BaseModel):
|
@@ -163,11 +175,15 @@ class GetFeedFeedSiteBox(BaseModel):
|
|
163
175
|
|
164
176
|
|
165
177
|
class GetFeedFeedSiteGithub(BaseModel):
|
178
|
+
authentication_type: Optional[OneDriveAuthenticationTypes] = Field(
|
179
|
+
alias="authenticationType"
|
180
|
+
)
|
166
181
|
uri: Optional[Any]
|
167
182
|
repository_owner: str = Field(alias="repositoryOwner")
|
168
183
|
repository_name: str = Field(alias="repositoryName")
|
169
184
|
refresh_token: Optional[str] = Field(alias="refreshToken")
|
170
185
|
personal_access_token: Optional[str] = Field(alias="personalAccessToken")
|
186
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
171
187
|
|
172
188
|
|
173
189
|
class GetFeedFeedEmail(BaseModel):
|
@@ -184,9 +200,13 @@ class GetFeedFeedEmailGoogle(BaseModel):
|
|
184
200
|
exclude_sent_items: Optional[bool] = Field(alias="excludeSentItems")
|
185
201
|
include_deleted_items: Optional[bool] = Field(alias="includeDeletedItems")
|
186
202
|
inbox_only: Optional[bool] = Field(alias="inboxOnly")
|
203
|
+
authentication_type: Optional[GoogleEmailAuthenticationTypes] = Field(
|
204
|
+
alias="authenticationType"
|
205
|
+
)
|
187
206
|
refresh_token: Optional[str] = Field(alias="refreshToken")
|
188
207
|
client_id: str = Field(alias="clientId")
|
189
208
|
client_secret: str = Field(alias="clientSecret")
|
209
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
190
210
|
|
191
211
|
|
192
212
|
class GetFeedFeedEmailMicrosoft(BaseModel):
|
@@ -195,9 +215,13 @@ class GetFeedFeedEmailMicrosoft(BaseModel):
|
|
195
215
|
exclude_sent_items: Optional[bool] = Field(alias="excludeSentItems")
|
196
216
|
include_deleted_items: Optional[bool] = Field(alias="includeDeletedItems")
|
197
217
|
inbox_only: Optional[bool] = Field(alias="inboxOnly")
|
218
|
+
authentication_type: Optional[MicrosoftEmailAuthenticationTypes] = Field(
|
219
|
+
alias="authenticationType"
|
220
|
+
)
|
198
221
|
refresh_token: str = Field(alias="refreshToken")
|
199
222
|
client_id: str = Field(alias="clientId")
|
200
223
|
client_secret: str = Field(alias="clientSecret")
|
224
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
201
225
|
|
202
226
|
|
203
227
|
class GetFeedFeedIssue(BaseModel):
|
@@ -249,6 +273,40 @@ class GetFeedFeedIssueTrello(BaseModel):
|
|
249
273
|
type: TrelloTypes
|
250
274
|
|
251
275
|
|
276
|
+
class GetFeedFeedCalendar(BaseModel):
|
277
|
+
type: FeedServiceTypes
|
278
|
+
include_attachments: Optional[bool] = Field(alias="includeAttachments")
|
279
|
+
google: Optional["GetFeedFeedCalendarGoogle"]
|
280
|
+
microsoft: Optional["GetFeedFeedCalendarMicrosoft"]
|
281
|
+
read_limit: Optional[int] = Field(alias="readLimit")
|
282
|
+
|
283
|
+
|
284
|
+
class GetFeedFeedCalendarGoogle(BaseModel):
|
285
|
+
calendar_id: Optional[str] = Field(alias="calendarId")
|
286
|
+
before_date: Optional[Any] = Field(alias="beforeDate")
|
287
|
+
after_date: Optional[Any] = Field(alias="afterDate")
|
288
|
+
authentication_type: Optional[GoogleCalendarAuthenticationTypes] = Field(
|
289
|
+
alias="authenticationType"
|
290
|
+
)
|
291
|
+
refresh_token: str = Field(alias="refreshToken")
|
292
|
+
client_id: str = Field(alias="clientId")
|
293
|
+
client_secret: str = Field(alias="clientSecret")
|
294
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
295
|
+
|
296
|
+
|
297
|
+
class GetFeedFeedCalendarMicrosoft(BaseModel):
|
298
|
+
calendar_id: Optional[str] = Field(alias="calendarId")
|
299
|
+
before_date: Optional[Any] = Field(alias="beforeDate")
|
300
|
+
after_date: Optional[Any] = Field(alias="afterDate")
|
301
|
+
authentication_type: Optional[MicrosoftCalendarAuthenticationTypes] = Field(
|
302
|
+
alias="authenticationType"
|
303
|
+
)
|
304
|
+
refresh_token: str = Field(alias="refreshToken")
|
305
|
+
client_id: str = Field(alias="clientId")
|
306
|
+
client_secret: str = Field(alias="clientSecret")
|
307
|
+
connector_id: Optional[str] = Field(alias="connectorId")
|
308
|
+
|
309
|
+
|
252
310
|
class GetFeedFeedRss(BaseModel):
|
253
311
|
read_limit: Optional[int] = Field(alias="readLimit")
|
254
312
|
uri: Any
|
@@ -352,3 +410,4 @@ GetFeedFeed.model_rebuild()
|
|
352
410
|
GetFeedFeedSite.model_rebuild()
|
353
411
|
GetFeedFeedEmail.model_rebuild()
|
354
412
|
GetFeedFeedIssue.model_rebuild()
|
413
|
+
GetFeedFeedCalendar.model_rebuild()
|
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
|
|