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