graphlit-client 1.0.20250625001__py3-none-any.whl → 1.0.20250627002__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 +571 -0
- graphlit_api/client.py +267 -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_all_views.py +23 -0
- graphlit_api/delete_connector.py +23 -0
- graphlit_api/delete_view.py +21 -0
- graphlit_api/delete_views.py +23 -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 +970 -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_api/view_exists.py +19 -0
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627002.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627002.dist-info}/RECORD +35 -20
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627002.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627002.dist-info}/licenses/LICENSE +0 -0
- {graphlit_client-1.0.20250625001.dist-info → graphlit_client-1.0.20250627002.dist-info}/top_level.txt +0 -0
graphlit_api/operations.py
CHANGED
@@ -12,6 +12,7 @@ __all__ = [
|
|
12
12
|
"COUNT_ALERTS_GQL",
|
13
13
|
"COUNT_CATEGORIES_GQL",
|
14
14
|
"COUNT_COLLECTIONS_GQL",
|
15
|
+
"COUNT_CONNECTORS_GQL",
|
15
16
|
"COUNT_CONTENTS_GQL",
|
16
17
|
"COUNT_CONVERSATIONS_GQL",
|
17
18
|
"COUNT_EVENTS_GQL",
|
@@ -36,10 +37,12 @@ __all__ = [
|
|
36
37
|
"COUNT_SOFTWARES_GQL",
|
37
38
|
"COUNT_SPECIFICATIONS_GQL",
|
38
39
|
"COUNT_USERS_GQL",
|
40
|
+
"COUNT_VIEWS_GQL",
|
39
41
|
"COUNT_WORKFLOWS_GQL",
|
40
42
|
"CREATE_ALERT_GQL",
|
41
43
|
"CREATE_CATEGORY_GQL",
|
42
44
|
"CREATE_COLLECTION_GQL",
|
45
|
+
"CREATE_CONNECTOR_GQL",
|
43
46
|
"CREATE_CONVERSATION_GQL",
|
44
47
|
"CREATE_EVENT_GQL",
|
45
48
|
"CREATE_FEED_GQL",
|
@@ -64,6 +67,7 @@ __all__ = [
|
|
64
67
|
"CREATE_SOFTWARE_GQL",
|
65
68
|
"CREATE_SPECIFICATION_GQL",
|
66
69
|
"CREATE_USER_GQL",
|
70
|
+
"CREATE_VIEW_GQL",
|
67
71
|
"CREATE_WORKFLOW_GQL",
|
68
72
|
"DELETE_ALERTS_GQL",
|
69
73
|
"DELETE_ALERT_GQL",
|
@@ -93,11 +97,13 @@ __all__ = [
|
|
93
97
|
"DELETE_ALL_REPOS_GQL",
|
94
98
|
"DELETE_ALL_SOFTWARES_GQL",
|
95
99
|
"DELETE_ALL_SPECIFICATIONS_GQL",
|
100
|
+
"DELETE_ALL_VIEWS_GQL",
|
96
101
|
"DELETE_ALL_WORKFLOWS_GQL",
|
97
102
|
"DELETE_CATEGORIES_GQL",
|
98
103
|
"DELETE_CATEGORY_GQL",
|
99
104
|
"DELETE_COLLECTIONS_GQL",
|
100
105
|
"DELETE_COLLECTION_GQL",
|
106
|
+
"DELETE_CONNECTOR_GQL",
|
101
107
|
"DELETE_CONTENTS_GQL",
|
102
108
|
"DELETE_CONTENT_GQL",
|
103
109
|
"DELETE_CONVERSATIONS_GQL",
|
@@ -146,6 +152,8 @@ __all__ = [
|
|
146
152
|
"DELETE_SPECIFICATIONS_GQL",
|
147
153
|
"DELETE_SPECIFICATION_GQL",
|
148
154
|
"DELETE_USER_GQL",
|
155
|
+
"DELETE_VIEWS_GQL",
|
156
|
+
"DELETE_VIEW_GQL",
|
149
157
|
"DELETE_WORKFLOWS_GQL",
|
150
158
|
"DELETE_WORKFLOW_GQL",
|
151
159
|
"DESCRIBE_ENCODED_IMAGE_GQL",
|
@@ -163,6 +171,7 @@ __all__ = [
|
|
163
171
|
"GET_ALERT_GQL",
|
164
172
|
"GET_CATEGORY_GQL",
|
165
173
|
"GET_COLLECTION_GQL",
|
174
|
+
"GET_CONNECTOR_GQL",
|
166
175
|
"GET_CONTENT_GQL",
|
167
176
|
"GET_CONVERSATION_GQL",
|
168
177
|
"GET_EVENT_GQL",
|
@@ -190,6 +199,7 @@ __all__ = [
|
|
190
199
|
"GET_SPECIFICATION_GQL",
|
191
200
|
"GET_USER_BY_IDENTIFIER_GQL",
|
192
201
|
"GET_USER_GQL",
|
202
|
+
"GET_VIEW_GQL",
|
193
203
|
"GET_WORKFLOW_GQL",
|
194
204
|
"INGEST_BATCH_GQL",
|
195
205
|
"INGEST_ENCODED_FILE_GQL",
|
@@ -214,6 +224,7 @@ __all__ = [
|
|
214
224
|
"QUERY_BOX_FOLDERS_GQL",
|
215
225
|
"QUERY_CATEGORIES_GQL",
|
216
226
|
"QUERY_COLLECTIONS_GQL",
|
227
|
+
"QUERY_CONNECTORS_GQL",
|
217
228
|
"QUERY_CONTENTS_FACETS_GQL",
|
218
229
|
"QUERY_CONTENTS_GQL",
|
219
230
|
"QUERY_CONTENTS_GRAPH_GQL",
|
@@ -258,6 +269,7 @@ __all__ = [
|
|
258
269
|
"QUERY_TOKENS_GQL",
|
259
270
|
"QUERY_USAGE_GQL",
|
260
271
|
"QUERY_USERS_GQL",
|
272
|
+
"QUERY_VIEWS_GQL",
|
261
273
|
"QUERY_WORKFLOWS_GQL",
|
262
274
|
"REMOVE_CONTENTS_FROM_COLLECTION_GQL",
|
263
275
|
"RETRIEVE_SOURCES_GQL",
|
@@ -275,6 +287,7 @@ __all__ = [
|
|
275
287
|
"UPDATE_ALERT_GQL",
|
276
288
|
"UPDATE_CATEGORY_GQL",
|
277
289
|
"UPDATE_COLLECTION_GQL",
|
290
|
+
"UPDATE_CONNECTOR_GQL",
|
278
291
|
"UPDATE_CONTENT_GQL",
|
279
292
|
"UPDATE_CONVERSATION_GQL",
|
280
293
|
"UPDATE_EVENT_GQL",
|
@@ -301,11 +314,13 @@ __all__ = [
|
|
301
314
|
"UPDATE_SOFTWARE_GQL",
|
302
315
|
"UPDATE_SPECIFICATION_GQL",
|
303
316
|
"UPDATE_USER_GQL",
|
317
|
+
"UPDATE_VIEW_GQL",
|
304
318
|
"UPDATE_WORKFLOW_GQL",
|
305
319
|
"UPSERT_CATEGORY_GQL",
|
306
320
|
"UPSERT_LABEL_GQL",
|
307
321
|
"UPSERT_SPECIFICATION_GQL",
|
308
322
|
"UPSERT_WORKFLOW_GQL",
|
323
|
+
"VIEW_EXISTS_GQL",
|
309
324
|
"WORKFLOW_EXISTS_GQL",
|
310
325
|
]
|
311
326
|
|
@@ -894,6 +909,147 @@ mutation UpdateCollection($collection: CollectionUpdateInput!) {
|
|
894
909
|
}
|
895
910
|
"""
|
896
911
|
|
912
|
+
COUNT_CONNECTORS_GQL = """
|
913
|
+
query CountConnectors($filter: ConnectorFilter, $correlationId: String) {
|
914
|
+
countConnectors(filter: $filter, correlationId: $correlationId) {
|
915
|
+
count
|
916
|
+
}
|
917
|
+
}
|
918
|
+
"""
|
919
|
+
|
920
|
+
CREATE_CONNECTOR_GQL = """
|
921
|
+
mutation CreateConnector($connector: ConnectorInput!) {
|
922
|
+
createConnector(connector: $connector) {
|
923
|
+
id
|
924
|
+
name
|
925
|
+
state
|
926
|
+
type
|
927
|
+
}
|
928
|
+
}
|
929
|
+
"""
|
930
|
+
|
931
|
+
DELETE_CONNECTOR_GQL = """
|
932
|
+
mutation DeleteConnector($id: ID!) {
|
933
|
+
deleteConnector(id: $id) {
|
934
|
+
id
|
935
|
+
state
|
936
|
+
}
|
937
|
+
}
|
938
|
+
"""
|
939
|
+
|
940
|
+
GET_CONNECTOR_GQL = """
|
941
|
+
query GetConnector($id: ID!, $correlationId: String) {
|
942
|
+
connector(id: $id, correlationId: $correlationId) {
|
943
|
+
id
|
944
|
+
name
|
945
|
+
creationDate
|
946
|
+
relevance
|
947
|
+
owner {
|
948
|
+
id
|
949
|
+
}
|
950
|
+
state
|
951
|
+
type
|
952
|
+
authentication {
|
953
|
+
type
|
954
|
+
microsoft {
|
955
|
+
tenantId
|
956
|
+
clientId
|
957
|
+
clientSecret
|
958
|
+
}
|
959
|
+
google {
|
960
|
+
clientId
|
961
|
+
clientSecret
|
962
|
+
}
|
963
|
+
arcade {
|
964
|
+
authorizationId
|
965
|
+
}
|
966
|
+
}
|
967
|
+
integration {
|
968
|
+
type
|
969
|
+
uri
|
970
|
+
slack {
|
971
|
+
token
|
972
|
+
channel
|
973
|
+
}
|
974
|
+
email {
|
975
|
+
from
|
976
|
+
subject
|
977
|
+
to
|
978
|
+
}
|
979
|
+
twitter {
|
980
|
+
consumerKey
|
981
|
+
consumerSecret
|
982
|
+
accessTokenKey
|
983
|
+
accessTokenSecret
|
984
|
+
}
|
985
|
+
}
|
986
|
+
}
|
987
|
+
}
|
988
|
+
"""
|
989
|
+
|
990
|
+
QUERY_CONNECTORS_GQL = """
|
991
|
+
query QueryConnectors($filter: ConnectorFilter, $correlationId: String) {
|
992
|
+
connectors(filter: $filter, correlationId: $correlationId) {
|
993
|
+
results {
|
994
|
+
id
|
995
|
+
name
|
996
|
+
creationDate
|
997
|
+
relevance
|
998
|
+
owner {
|
999
|
+
id
|
1000
|
+
}
|
1001
|
+
state
|
1002
|
+
type
|
1003
|
+
authentication {
|
1004
|
+
type
|
1005
|
+
microsoft {
|
1006
|
+
tenantId
|
1007
|
+
clientId
|
1008
|
+
clientSecret
|
1009
|
+
}
|
1010
|
+
google {
|
1011
|
+
clientId
|
1012
|
+
clientSecret
|
1013
|
+
}
|
1014
|
+
arcade {
|
1015
|
+
authorizationId
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
integration {
|
1019
|
+
type
|
1020
|
+
uri
|
1021
|
+
slack {
|
1022
|
+
token
|
1023
|
+
channel
|
1024
|
+
}
|
1025
|
+
email {
|
1026
|
+
from
|
1027
|
+
subject
|
1028
|
+
to
|
1029
|
+
}
|
1030
|
+
twitter {
|
1031
|
+
consumerKey
|
1032
|
+
consumerSecret
|
1033
|
+
accessTokenKey
|
1034
|
+
accessTokenSecret
|
1035
|
+
}
|
1036
|
+
}
|
1037
|
+
}
|
1038
|
+
}
|
1039
|
+
}
|
1040
|
+
"""
|
1041
|
+
|
1042
|
+
UPDATE_CONNECTOR_GQL = """
|
1043
|
+
mutation UpdateConnector($connector: ConnectorUpdateInput!) {
|
1044
|
+
updateConnector(connector: $connector) {
|
1045
|
+
id
|
1046
|
+
name
|
1047
|
+
state
|
1048
|
+
type
|
1049
|
+
}
|
1050
|
+
}
|
1051
|
+
"""
|
1052
|
+
|
897
1053
|
COUNT_CONTENTS_GQL = """
|
898
1054
|
query CountContents($filter: ContentFilter, $correlationId: String) {
|
899
1055
|
countContents(filter: $filter, correlationId: $correlationId) {
|
@@ -6637,13 +6793,16 @@ query GetFeed($id: ID!, $correlationId: String) {
|
|
6637
6793
|
clientId
|
6638
6794
|
clientSecret
|
6639
6795
|
refreshToken
|
6796
|
+
connectorId
|
6640
6797
|
}
|
6641
6798
|
oneDrive {
|
6799
|
+
authenticationType
|
6642
6800
|
folderId
|
6643
6801
|
files
|
6644
6802
|
clientId
|
6645
6803
|
clientSecret
|
6646
6804
|
refreshToken
|
6805
|
+
connectorId
|
6647
6806
|
}
|
6648
6807
|
googleDrive {
|
6649
6808
|
authenticationType
|
@@ -6653,6 +6812,7 @@ query GetFeed($id: ID!, $correlationId: String) {
|
|
6653
6812
|
clientId
|
6654
6813
|
clientSecret
|
6655
6814
|
serviceAccountJson
|
6815
|
+
connectorId
|
6656
6816
|
}
|
6657
6817
|
dropbox {
|
6658
6818
|
path
|
@@ -6669,11 +6829,13 @@ query GetFeed($id: ID!, $correlationId: String) {
|
|
6669
6829
|
redirectUri
|
6670
6830
|
}
|
6671
6831
|
github {
|
6832
|
+
authenticationType
|
6672
6833
|
uri
|
6673
6834
|
repositoryOwner
|
6674
6835
|
repositoryName
|
6675
6836
|
refreshToken
|
6676
6837
|
personalAccessToken
|
6838
|
+
connectorId
|
6677
6839
|
}
|
6678
6840
|
readLimit
|
6679
6841
|
}
|
@@ -6686,9 +6848,11 @@ query GetFeed($id: ID!, $correlationId: String) {
|
|
6686
6848
|
excludeSentItems
|
6687
6849
|
includeDeletedItems
|
6688
6850
|
inboxOnly
|
6851
|
+
authenticationType
|
6689
6852
|
refreshToken
|
6690
6853
|
clientId
|
6691
6854
|
clientSecret
|
6855
|
+
connectorId
|
6692
6856
|
}
|
6693
6857
|
microsoft {
|
6694
6858
|
type
|
@@ -6696,9 +6860,11 @@ query GetFeed($id: ID!, $correlationId: String) {
|
|
6696
6860
|
excludeSentItems
|
6697
6861
|
includeDeletedItems
|
6698
6862
|
inboxOnly
|
6863
|
+
authenticationType
|
6699
6864
|
refreshToken
|
6700
6865
|
clientId
|
6701
6866
|
clientSecret
|
6867
|
+
connectorId
|
6702
6868
|
}
|
6703
6869
|
readLimit
|
6704
6870
|
}
|
@@ -6745,17 +6911,21 @@ query GetFeed($id: ID!, $correlationId: String) {
|
|
6745
6911
|
calendarId
|
6746
6912
|
beforeDate
|
6747
6913
|
afterDate
|
6914
|
+
authenticationType
|
6748
6915
|
refreshToken
|
6749
6916
|
clientId
|
6750
6917
|
clientSecret
|
6918
|
+
connectorId
|
6751
6919
|
}
|
6752
6920
|
microsoft {
|
6753
6921
|
calendarId
|
6754
6922
|
beforeDate
|
6755
6923
|
afterDate
|
6924
|
+
authenticationType
|
6756
6925
|
refreshToken
|
6757
6926
|
clientId
|
6758
6927
|
clientSecret
|
6928
|
+
connectorId
|
6759
6929
|
}
|
6760
6930
|
readLimit
|
6761
6931
|
}
|
@@ -6938,13 +7108,16 @@ query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
|
6938
7108
|
clientId
|
6939
7109
|
clientSecret
|
6940
7110
|
refreshToken
|
7111
|
+
connectorId
|
6941
7112
|
}
|
6942
7113
|
oneDrive {
|
7114
|
+
authenticationType
|
6943
7115
|
folderId
|
6944
7116
|
files
|
6945
7117
|
clientId
|
6946
7118
|
clientSecret
|
6947
7119
|
refreshToken
|
7120
|
+
connectorId
|
6948
7121
|
}
|
6949
7122
|
googleDrive {
|
6950
7123
|
authenticationType
|
@@ -6954,6 +7127,7 @@ query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
|
6954
7127
|
clientId
|
6955
7128
|
clientSecret
|
6956
7129
|
serviceAccountJson
|
7130
|
+
connectorId
|
6957
7131
|
}
|
6958
7132
|
dropbox {
|
6959
7133
|
path
|
@@ -6970,11 +7144,13 @@ query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
|
6970
7144
|
redirectUri
|
6971
7145
|
}
|
6972
7146
|
github {
|
7147
|
+
authenticationType
|
6973
7148
|
uri
|
6974
7149
|
repositoryOwner
|
6975
7150
|
repositoryName
|
6976
7151
|
refreshToken
|
6977
7152
|
personalAccessToken
|
7153
|
+
connectorId
|
6978
7154
|
}
|
6979
7155
|
readLimit
|
6980
7156
|
}
|
@@ -6987,9 +7163,11 @@ query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
|
6987
7163
|
excludeSentItems
|
6988
7164
|
includeDeletedItems
|
6989
7165
|
inboxOnly
|
7166
|
+
authenticationType
|
6990
7167
|
refreshToken
|
6991
7168
|
clientId
|
6992
7169
|
clientSecret
|
7170
|
+
connectorId
|
6993
7171
|
}
|
6994
7172
|
microsoft {
|
6995
7173
|
type
|
@@ -6997,9 +7175,11 @@ query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
|
6997
7175
|
excludeSentItems
|
6998
7176
|
includeDeletedItems
|
6999
7177
|
inboxOnly
|
7178
|
+
authenticationType
|
7000
7179
|
refreshToken
|
7001
7180
|
clientId
|
7002
7181
|
clientSecret
|
7182
|
+
connectorId
|
7003
7183
|
}
|
7004
7184
|
readLimit
|
7005
7185
|
}
|
@@ -7046,17 +7226,21 @@ query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
|
7046
7226
|
calendarId
|
7047
7227
|
beforeDate
|
7048
7228
|
afterDate
|
7229
|
+
authenticationType
|
7049
7230
|
refreshToken
|
7050
7231
|
clientId
|
7051
7232
|
clientSecret
|
7233
|
+
connectorId
|
7052
7234
|
}
|
7053
7235
|
microsoft {
|
7054
7236
|
calendarId
|
7055
7237
|
beforeDate
|
7056
7238
|
afterDate
|
7239
|
+
authenticationType
|
7057
7240
|
refreshToken
|
7058
7241
|
clientId
|
7059
7242
|
clientSecret
|
7243
|
+
connectorId
|
7060
7244
|
}
|
7061
7245
|
readLimit
|
7062
7246
|
}
|
@@ -10043,6 +10227,9 @@ query GetUser {
|
|
10043
10227
|
clientId
|
10044
10228
|
clientSecret
|
10045
10229
|
}
|
10230
|
+
arcade {
|
10231
|
+
authorizationId
|
10232
|
+
}
|
10046
10233
|
}
|
10047
10234
|
integration {
|
10048
10235
|
type
|
@@ -10098,6 +10285,9 @@ query GetUserByIdentifier($identifier: String!) {
|
|
10098
10285
|
clientId
|
10099
10286
|
clientSecret
|
10100
10287
|
}
|
10288
|
+
arcade {
|
10289
|
+
authorizationId
|
10290
|
+
}
|
10101
10291
|
}
|
10102
10292
|
integration {
|
10103
10293
|
type
|
@@ -10154,6 +10344,9 @@ query QueryUsers($filter: UserFilter, $correlationId: String) {
|
|
10154
10344
|
clientId
|
10155
10345
|
clientSecret
|
10156
10346
|
}
|
10347
|
+
arcade {
|
10348
|
+
authorizationId
|
10349
|
+
}
|
10157
10350
|
}
|
10158
10351
|
integration {
|
10159
10352
|
type
|
@@ -10193,6 +10386,773 @@ mutation UpdateUser($user: UserUpdateInput!) {
|
|
10193
10386
|
}
|
10194
10387
|
"""
|
10195
10388
|
|
10389
|
+
COUNT_VIEWS_GQL = """
|
10390
|
+
query CountViews($filter: ViewFilter, $correlationId: String) {
|
10391
|
+
countViews(filter: $filter, correlationId: $correlationId) {
|
10392
|
+
count
|
10393
|
+
}
|
10394
|
+
}
|
10395
|
+
"""
|
10396
|
+
|
10397
|
+
CREATE_VIEW_GQL = """
|
10398
|
+
mutation CreateView($view: ViewInput!) {
|
10399
|
+
createView(view: $view) {
|
10400
|
+
id
|
10401
|
+
name
|
10402
|
+
state
|
10403
|
+
type
|
10404
|
+
filter {
|
10405
|
+
dateRange {
|
10406
|
+
from
|
10407
|
+
to
|
10408
|
+
}
|
10409
|
+
inLast
|
10410
|
+
creationDateRange {
|
10411
|
+
from
|
10412
|
+
to
|
10413
|
+
}
|
10414
|
+
createdInLast
|
10415
|
+
types
|
10416
|
+
fileTypes
|
10417
|
+
formats
|
10418
|
+
fileExtensions
|
10419
|
+
similarContents {
|
10420
|
+
id
|
10421
|
+
}
|
10422
|
+
contents {
|
10423
|
+
id
|
10424
|
+
}
|
10425
|
+
feeds {
|
10426
|
+
id
|
10427
|
+
}
|
10428
|
+
workflows {
|
10429
|
+
id
|
10430
|
+
}
|
10431
|
+
collections {
|
10432
|
+
id
|
10433
|
+
}
|
10434
|
+
users {
|
10435
|
+
id
|
10436
|
+
}
|
10437
|
+
observations {
|
10438
|
+
type
|
10439
|
+
observable {
|
10440
|
+
id
|
10441
|
+
}
|
10442
|
+
states
|
10443
|
+
}
|
10444
|
+
or {
|
10445
|
+
feeds {
|
10446
|
+
id
|
10447
|
+
}
|
10448
|
+
workflows {
|
10449
|
+
id
|
10450
|
+
}
|
10451
|
+
collections {
|
10452
|
+
id
|
10453
|
+
}
|
10454
|
+
users {
|
10455
|
+
id
|
10456
|
+
}
|
10457
|
+
observations {
|
10458
|
+
type
|
10459
|
+
observable {
|
10460
|
+
id
|
10461
|
+
}
|
10462
|
+
states
|
10463
|
+
}
|
10464
|
+
}
|
10465
|
+
and {
|
10466
|
+
feeds {
|
10467
|
+
id
|
10468
|
+
}
|
10469
|
+
workflows {
|
10470
|
+
id
|
10471
|
+
}
|
10472
|
+
collections {
|
10473
|
+
id
|
10474
|
+
}
|
10475
|
+
users {
|
10476
|
+
id
|
10477
|
+
}
|
10478
|
+
observations {
|
10479
|
+
type
|
10480
|
+
observable {
|
10481
|
+
id
|
10482
|
+
}
|
10483
|
+
states
|
10484
|
+
}
|
10485
|
+
}
|
10486
|
+
}
|
10487
|
+
augmentedFilter {
|
10488
|
+
dateRange {
|
10489
|
+
from
|
10490
|
+
to
|
10491
|
+
}
|
10492
|
+
inLast
|
10493
|
+
creationDateRange {
|
10494
|
+
from
|
10495
|
+
to
|
10496
|
+
}
|
10497
|
+
createdInLast
|
10498
|
+
types
|
10499
|
+
fileTypes
|
10500
|
+
formats
|
10501
|
+
fileExtensions
|
10502
|
+
similarContents {
|
10503
|
+
id
|
10504
|
+
}
|
10505
|
+
contents {
|
10506
|
+
id
|
10507
|
+
}
|
10508
|
+
feeds {
|
10509
|
+
id
|
10510
|
+
}
|
10511
|
+
workflows {
|
10512
|
+
id
|
10513
|
+
}
|
10514
|
+
collections {
|
10515
|
+
id
|
10516
|
+
}
|
10517
|
+
users {
|
10518
|
+
id
|
10519
|
+
}
|
10520
|
+
observations {
|
10521
|
+
type
|
10522
|
+
observable {
|
10523
|
+
id
|
10524
|
+
}
|
10525
|
+
states
|
10526
|
+
}
|
10527
|
+
or {
|
10528
|
+
feeds {
|
10529
|
+
id
|
10530
|
+
}
|
10531
|
+
workflows {
|
10532
|
+
id
|
10533
|
+
}
|
10534
|
+
collections {
|
10535
|
+
id
|
10536
|
+
}
|
10537
|
+
users {
|
10538
|
+
id
|
10539
|
+
}
|
10540
|
+
observations {
|
10541
|
+
type
|
10542
|
+
observable {
|
10543
|
+
id
|
10544
|
+
}
|
10545
|
+
states
|
10546
|
+
}
|
10547
|
+
}
|
10548
|
+
and {
|
10549
|
+
feeds {
|
10550
|
+
id
|
10551
|
+
}
|
10552
|
+
workflows {
|
10553
|
+
id
|
10554
|
+
}
|
10555
|
+
collections {
|
10556
|
+
id
|
10557
|
+
}
|
10558
|
+
users {
|
10559
|
+
id
|
10560
|
+
}
|
10561
|
+
observations {
|
10562
|
+
type
|
10563
|
+
observable {
|
10564
|
+
id
|
10565
|
+
}
|
10566
|
+
states
|
10567
|
+
}
|
10568
|
+
}
|
10569
|
+
}
|
10570
|
+
}
|
10571
|
+
}
|
10572
|
+
"""
|
10573
|
+
|
10574
|
+
DELETE_ALL_VIEWS_GQL = """
|
10575
|
+
mutation DeleteAllViews($filter: ViewFilter, $isSynchronous: Boolean, $correlationId: String) {
|
10576
|
+
deleteAllViews(
|
10577
|
+
filter: $filter
|
10578
|
+
isSynchronous: $isSynchronous
|
10579
|
+
correlationId: $correlationId
|
10580
|
+
) {
|
10581
|
+
id
|
10582
|
+
state
|
10583
|
+
}
|
10584
|
+
}
|
10585
|
+
"""
|
10586
|
+
|
10587
|
+
DELETE_VIEW_GQL = """
|
10588
|
+
mutation DeleteView($id: ID!) {
|
10589
|
+
deleteView(id: $id) {
|
10590
|
+
id
|
10591
|
+
state
|
10592
|
+
}
|
10593
|
+
}
|
10594
|
+
"""
|
10595
|
+
|
10596
|
+
DELETE_VIEWS_GQL = """
|
10597
|
+
mutation DeleteViews($ids: [ID!]!, $isSynchronous: Boolean) {
|
10598
|
+
deleteViews(ids: $ids, isSynchronous: $isSynchronous) {
|
10599
|
+
id
|
10600
|
+
state
|
10601
|
+
}
|
10602
|
+
}
|
10603
|
+
"""
|
10604
|
+
|
10605
|
+
GET_VIEW_GQL = """
|
10606
|
+
query GetView($id: ID!, $correlationId: String) {
|
10607
|
+
view(id: $id, correlationId: $correlationId) {
|
10608
|
+
id
|
10609
|
+
name
|
10610
|
+
creationDate
|
10611
|
+
relevance
|
10612
|
+
owner {
|
10613
|
+
id
|
10614
|
+
}
|
10615
|
+
state
|
10616
|
+
type
|
10617
|
+
filter {
|
10618
|
+
dateRange {
|
10619
|
+
from
|
10620
|
+
to
|
10621
|
+
}
|
10622
|
+
inLast
|
10623
|
+
creationDateRange {
|
10624
|
+
from
|
10625
|
+
to
|
10626
|
+
}
|
10627
|
+
createdInLast
|
10628
|
+
types
|
10629
|
+
fileTypes
|
10630
|
+
formats
|
10631
|
+
fileExtensions
|
10632
|
+
similarContents {
|
10633
|
+
id
|
10634
|
+
}
|
10635
|
+
contents {
|
10636
|
+
id
|
10637
|
+
}
|
10638
|
+
feeds {
|
10639
|
+
id
|
10640
|
+
}
|
10641
|
+
workflows {
|
10642
|
+
id
|
10643
|
+
}
|
10644
|
+
collections {
|
10645
|
+
id
|
10646
|
+
}
|
10647
|
+
users {
|
10648
|
+
id
|
10649
|
+
}
|
10650
|
+
observations {
|
10651
|
+
type
|
10652
|
+
observable {
|
10653
|
+
id
|
10654
|
+
}
|
10655
|
+
states
|
10656
|
+
}
|
10657
|
+
or {
|
10658
|
+
feeds {
|
10659
|
+
id
|
10660
|
+
}
|
10661
|
+
workflows {
|
10662
|
+
id
|
10663
|
+
}
|
10664
|
+
collections {
|
10665
|
+
id
|
10666
|
+
}
|
10667
|
+
users {
|
10668
|
+
id
|
10669
|
+
}
|
10670
|
+
observations {
|
10671
|
+
type
|
10672
|
+
observable {
|
10673
|
+
id
|
10674
|
+
}
|
10675
|
+
states
|
10676
|
+
}
|
10677
|
+
}
|
10678
|
+
and {
|
10679
|
+
feeds {
|
10680
|
+
id
|
10681
|
+
}
|
10682
|
+
workflows {
|
10683
|
+
id
|
10684
|
+
}
|
10685
|
+
collections {
|
10686
|
+
id
|
10687
|
+
}
|
10688
|
+
users {
|
10689
|
+
id
|
10690
|
+
}
|
10691
|
+
observations {
|
10692
|
+
type
|
10693
|
+
observable {
|
10694
|
+
id
|
10695
|
+
}
|
10696
|
+
states
|
10697
|
+
}
|
10698
|
+
}
|
10699
|
+
}
|
10700
|
+
augmentedFilter {
|
10701
|
+
dateRange {
|
10702
|
+
from
|
10703
|
+
to
|
10704
|
+
}
|
10705
|
+
inLast
|
10706
|
+
creationDateRange {
|
10707
|
+
from
|
10708
|
+
to
|
10709
|
+
}
|
10710
|
+
createdInLast
|
10711
|
+
types
|
10712
|
+
fileTypes
|
10713
|
+
formats
|
10714
|
+
fileExtensions
|
10715
|
+
similarContents {
|
10716
|
+
id
|
10717
|
+
}
|
10718
|
+
contents {
|
10719
|
+
id
|
10720
|
+
}
|
10721
|
+
feeds {
|
10722
|
+
id
|
10723
|
+
}
|
10724
|
+
workflows {
|
10725
|
+
id
|
10726
|
+
}
|
10727
|
+
collections {
|
10728
|
+
id
|
10729
|
+
}
|
10730
|
+
users {
|
10731
|
+
id
|
10732
|
+
}
|
10733
|
+
observations {
|
10734
|
+
type
|
10735
|
+
observable {
|
10736
|
+
id
|
10737
|
+
}
|
10738
|
+
states
|
10739
|
+
}
|
10740
|
+
or {
|
10741
|
+
feeds {
|
10742
|
+
id
|
10743
|
+
}
|
10744
|
+
workflows {
|
10745
|
+
id
|
10746
|
+
}
|
10747
|
+
collections {
|
10748
|
+
id
|
10749
|
+
}
|
10750
|
+
users {
|
10751
|
+
id
|
10752
|
+
}
|
10753
|
+
observations {
|
10754
|
+
type
|
10755
|
+
observable {
|
10756
|
+
id
|
10757
|
+
}
|
10758
|
+
states
|
10759
|
+
}
|
10760
|
+
}
|
10761
|
+
and {
|
10762
|
+
feeds {
|
10763
|
+
id
|
10764
|
+
}
|
10765
|
+
workflows {
|
10766
|
+
id
|
10767
|
+
}
|
10768
|
+
collections {
|
10769
|
+
id
|
10770
|
+
}
|
10771
|
+
users {
|
10772
|
+
id
|
10773
|
+
}
|
10774
|
+
observations {
|
10775
|
+
type
|
10776
|
+
observable {
|
10777
|
+
id
|
10778
|
+
}
|
10779
|
+
states
|
10780
|
+
}
|
10781
|
+
}
|
10782
|
+
}
|
10783
|
+
}
|
10784
|
+
}
|
10785
|
+
"""
|
10786
|
+
|
10787
|
+
QUERY_VIEWS_GQL = """
|
10788
|
+
query QueryViews($filter: ViewFilter, $correlationId: String) {
|
10789
|
+
views(filter: $filter, correlationId: $correlationId) {
|
10790
|
+
results {
|
10791
|
+
id
|
10792
|
+
name
|
10793
|
+
creationDate
|
10794
|
+
relevance
|
10795
|
+
owner {
|
10796
|
+
id
|
10797
|
+
}
|
10798
|
+
state
|
10799
|
+
type
|
10800
|
+
filter {
|
10801
|
+
dateRange {
|
10802
|
+
from
|
10803
|
+
to
|
10804
|
+
}
|
10805
|
+
inLast
|
10806
|
+
creationDateRange {
|
10807
|
+
from
|
10808
|
+
to
|
10809
|
+
}
|
10810
|
+
createdInLast
|
10811
|
+
types
|
10812
|
+
fileTypes
|
10813
|
+
formats
|
10814
|
+
fileExtensions
|
10815
|
+
similarContents {
|
10816
|
+
id
|
10817
|
+
}
|
10818
|
+
contents {
|
10819
|
+
id
|
10820
|
+
}
|
10821
|
+
feeds {
|
10822
|
+
id
|
10823
|
+
}
|
10824
|
+
workflows {
|
10825
|
+
id
|
10826
|
+
}
|
10827
|
+
collections {
|
10828
|
+
id
|
10829
|
+
}
|
10830
|
+
users {
|
10831
|
+
id
|
10832
|
+
}
|
10833
|
+
observations {
|
10834
|
+
type
|
10835
|
+
observable {
|
10836
|
+
id
|
10837
|
+
}
|
10838
|
+
states
|
10839
|
+
}
|
10840
|
+
or {
|
10841
|
+
feeds {
|
10842
|
+
id
|
10843
|
+
}
|
10844
|
+
workflows {
|
10845
|
+
id
|
10846
|
+
}
|
10847
|
+
collections {
|
10848
|
+
id
|
10849
|
+
}
|
10850
|
+
users {
|
10851
|
+
id
|
10852
|
+
}
|
10853
|
+
observations {
|
10854
|
+
type
|
10855
|
+
observable {
|
10856
|
+
id
|
10857
|
+
}
|
10858
|
+
states
|
10859
|
+
}
|
10860
|
+
}
|
10861
|
+
and {
|
10862
|
+
feeds {
|
10863
|
+
id
|
10864
|
+
}
|
10865
|
+
workflows {
|
10866
|
+
id
|
10867
|
+
}
|
10868
|
+
collections {
|
10869
|
+
id
|
10870
|
+
}
|
10871
|
+
users {
|
10872
|
+
id
|
10873
|
+
}
|
10874
|
+
observations {
|
10875
|
+
type
|
10876
|
+
observable {
|
10877
|
+
id
|
10878
|
+
}
|
10879
|
+
states
|
10880
|
+
}
|
10881
|
+
}
|
10882
|
+
}
|
10883
|
+
augmentedFilter {
|
10884
|
+
dateRange {
|
10885
|
+
from
|
10886
|
+
to
|
10887
|
+
}
|
10888
|
+
inLast
|
10889
|
+
creationDateRange {
|
10890
|
+
from
|
10891
|
+
to
|
10892
|
+
}
|
10893
|
+
createdInLast
|
10894
|
+
types
|
10895
|
+
fileTypes
|
10896
|
+
formats
|
10897
|
+
fileExtensions
|
10898
|
+
similarContents {
|
10899
|
+
id
|
10900
|
+
}
|
10901
|
+
contents {
|
10902
|
+
id
|
10903
|
+
}
|
10904
|
+
feeds {
|
10905
|
+
id
|
10906
|
+
}
|
10907
|
+
workflows {
|
10908
|
+
id
|
10909
|
+
}
|
10910
|
+
collections {
|
10911
|
+
id
|
10912
|
+
}
|
10913
|
+
users {
|
10914
|
+
id
|
10915
|
+
}
|
10916
|
+
observations {
|
10917
|
+
type
|
10918
|
+
observable {
|
10919
|
+
id
|
10920
|
+
}
|
10921
|
+
states
|
10922
|
+
}
|
10923
|
+
or {
|
10924
|
+
feeds {
|
10925
|
+
id
|
10926
|
+
}
|
10927
|
+
workflows {
|
10928
|
+
id
|
10929
|
+
}
|
10930
|
+
collections {
|
10931
|
+
id
|
10932
|
+
}
|
10933
|
+
users {
|
10934
|
+
id
|
10935
|
+
}
|
10936
|
+
observations {
|
10937
|
+
type
|
10938
|
+
observable {
|
10939
|
+
id
|
10940
|
+
}
|
10941
|
+
states
|
10942
|
+
}
|
10943
|
+
}
|
10944
|
+
and {
|
10945
|
+
feeds {
|
10946
|
+
id
|
10947
|
+
}
|
10948
|
+
workflows {
|
10949
|
+
id
|
10950
|
+
}
|
10951
|
+
collections {
|
10952
|
+
id
|
10953
|
+
}
|
10954
|
+
users {
|
10955
|
+
id
|
10956
|
+
}
|
10957
|
+
observations {
|
10958
|
+
type
|
10959
|
+
observable {
|
10960
|
+
id
|
10961
|
+
}
|
10962
|
+
states
|
10963
|
+
}
|
10964
|
+
}
|
10965
|
+
}
|
10966
|
+
}
|
10967
|
+
}
|
10968
|
+
}
|
10969
|
+
"""
|
10970
|
+
|
10971
|
+
UPDATE_VIEW_GQL = """
|
10972
|
+
mutation UpdateView($view: ViewUpdateInput!) {
|
10973
|
+
updateView(view: $view) {
|
10974
|
+
id
|
10975
|
+
name
|
10976
|
+
state
|
10977
|
+
type
|
10978
|
+
filter {
|
10979
|
+
dateRange {
|
10980
|
+
from
|
10981
|
+
to
|
10982
|
+
}
|
10983
|
+
inLast
|
10984
|
+
creationDateRange {
|
10985
|
+
from
|
10986
|
+
to
|
10987
|
+
}
|
10988
|
+
createdInLast
|
10989
|
+
types
|
10990
|
+
fileTypes
|
10991
|
+
formats
|
10992
|
+
fileExtensions
|
10993
|
+
similarContents {
|
10994
|
+
id
|
10995
|
+
}
|
10996
|
+
contents {
|
10997
|
+
id
|
10998
|
+
}
|
10999
|
+
feeds {
|
11000
|
+
id
|
11001
|
+
}
|
11002
|
+
workflows {
|
11003
|
+
id
|
11004
|
+
}
|
11005
|
+
collections {
|
11006
|
+
id
|
11007
|
+
}
|
11008
|
+
users {
|
11009
|
+
id
|
11010
|
+
}
|
11011
|
+
observations {
|
11012
|
+
type
|
11013
|
+
observable {
|
11014
|
+
id
|
11015
|
+
}
|
11016
|
+
states
|
11017
|
+
}
|
11018
|
+
or {
|
11019
|
+
feeds {
|
11020
|
+
id
|
11021
|
+
}
|
11022
|
+
workflows {
|
11023
|
+
id
|
11024
|
+
}
|
11025
|
+
collections {
|
11026
|
+
id
|
11027
|
+
}
|
11028
|
+
users {
|
11029
|
+
id
|
11030
|
+
}
|
11031
|
+
observations {
|
11032
|
+
type
|
11033
|
+
observable {
|
11034
|
+
id
|
11035
|
+
}
|
11036
|
+
states
|
11037
|
+
}
|
11038
|
+
}
|
11039
|
+
and {
|
11040
|
+
feeds {
|
11041
|
+
id
|
11042
|
+
}
|
11043
|
+
workflows {
|
11044
|
+
id
|
11045
|
+
}
|
11046
|
+
collections {
|
11047
|
+
id
|
11048
|
+
}
|
11049
|
+
users {
|
11050
|
+
id
|
11051
|
+
}
|
11052
|
+
observations {
|
11053
|
+
type
|
11054
|
+
observable {
|
11055
|
+
id
|
11056
|
+
}
|
11057
|
+
states
|
11058
|
+
}
|
11059
|
+
}
|
11060
|
+
}
|
11061
|
+
augmentedFilter {
|
11062
|
+
dateRange {
|
11063
|
+
from
|
11064
|
+
to
|
11065
|
+
}
|
11066
|
+
inLast
|
11067
|
+
creationDateRange {
|
11068
|
+
from
|
11069
|
+
to
|
11070
|
+
}
|
11071
|
+
createdInLast
|
11072
|
+
types
|
11073
|
+
fileTypes
|
11074
|
+
formats
|
11075
|
+
fileExtensions
|
11076
|
+
similarContents {
|
11077
|
+
id
|
11078
|
+
}
|
11079
|
+
contents {
|
11080
|
+
id
|
11081
|
+
}
|
11082
|
+
feeds {
|
11083
|
+
id
|
11084
|
+
}
|
11085
|
+
workflows {
|
11086
|
+
id
|
11087
|
+
}
|
11088
|
+
collections {
|
11089
|
+
id
|
11090
|
+
}
|
11091
|
+
users {
|
11092
|
+
id
|
11093
|
+
}
|
11094
|
+
observations {
|
11095
|
+
type
|
11096
|
+
observable {
|
11097
|
+
id
|
11098
|
+
}
|
11099
|
+
states
|
11100
|
+
}
|
11101
|
+
or {
|
11102
|
+
feeds {
|
11103
|
+
id
|
11104
|
+
}
|
11105
|
+
workflows {
|
11106
|
+
id
|
11107
|
+
}
|
11108
|
+
collections {
|
11109
|
+
id
|
11110
|
+
}
|
11111
|
+
users {
|
11112
|
+
id
|
11113
|
+
}
|
11114
|
+
observations {
|
11115
|
+
type
|
11116
|
+
observable {
|
11117
|
+
id
|
11118
|
+
}
|
11119
|
+
states
|
11120
|
+
}
|
11121
|
+
}
|
11122
|
+
and {
|
11123
|
+
feeds {
|
11124
|
+
id
|
11125
|
+
}
|
11126
|
+
workflows {
|
11127
|
+
id
|
11128
|
+
}
|
11129
|
+
collections {
|
11130
|
+
id
|
11131
|
+
}
|
11132
|
+
users {
|
11133
|
+
id
|
11134
|
+
}
|
11135
|
+
observations {
|
11136
|
+
type
|
11137
|
+
observable {
|
11138
|
+
id
|
11139
|
+
}
|
11140
|
+
states
|
11141
|
+
}
|
11142
|
+
}
|
11143
|
+
}
|
11144
|
+
}
|
11145
|
+
}
|
11146
|
+
"""
|
11147
|
+
|
11148
|
+
VIEW_EXISTS_GQL = """
|
11149
|
+
query ViewExists($filter: ViewFilter, $correlationId: String) {
|
11150
|
+
viewExists(filter: $filter, correlationId: $correlationId) {
|
11151
|
+
result
|
11152
|
+
}
|
11153
|
+
}
|
11154
|
+
"""
|
11155
|
+
|
10196
11156
|
COUNT_WORKFLOWS_GQL = """
|
10197
11157
|
query CountWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
10198
11158
|
countWorkflows(filter: $filter, correlationId: $correlationId) {
|
@@ -10368,6 +11328,8 @@ mutation CreateWorkflow($workflow: WorkflowInput!) {
|
|
10368
11328
|
excludedLinks
|
10369
11329
|
allowedFiles
|
10370
11330
|
excludedFiles
|
11331
|
+
allowedContentTypes
|
11332
|
+
excludedContentTypes
|
10371
11333
|
allowContentDomain
|
10372
11334
|
maximumLinks
|
10373
11335
|
}
|
@@ -10618,6 +11580,8 @@ query GetWorkflow($id: ID!, $correlationId: String) {
|
|
10618
11580
|
excludedLinks
|
10619
11581
|
allowedFiles
|
10620
11582
|
excludedFiles
|
11583
|
+
allowedContentTypes
|
11584
|
+
excludedContentTypes
|
10621
11585
|
allowContentDomain
|
10622
11586
|
maximumLinks
|
10623
11587
|
}
|
@@ -10838,6 +11802,8 @@ query QueryWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
|
10838
11802
|
excludedLinks
|
10839
11803
|
allowedFiles
|
10840
11804
|
excludedFiles
|
11805
|
+
allowedContentTypes
|
11806
|
+
excludedContentTypes
|
10841
11807
|
allowContentDomain
|
10842
11808
|
maximumLinks
|
10843
11809
|
}
|
@@ -11053,6 +12019,8 @@ mutation UpdateWorkflow($workflow: WorkflowUpdateInput!) {
|
|
11053
12019
|
excludedLinks
|
11054
12020
|
allowedFiles
|
11055
12021
|
excludedFiles
|
12022
|
+
allowedContentTypes
|
12023
|
+
excludedContentTypes
|
11056
12024
|
allowContentDomain
|
11057
12025
|
maximumLinks
|
11058
12026
|
}
|
@@ -11267,6 +12235,8 @@ mutation UpsertWorkflow($workflow: WorkflowInput!) {
|
|
11267
12235
|
excludedLinks
|
11268
12236
|
allowedFiles
|
11269
12237
|
excludedFiles
|
12238
|
+
allowedContentTypes
|
12239
|
+
excludedContentTypes
|
11270
12240
|
allowContentDomain
|
11271
12241
|
maximumLinks
|
11272
12242
|
}
|