graphlit-client 1.0.20250625001 → 1.0.20250627002
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.
- package/README.md +235 -5
- package/dist/client.d.ts +24 -1
- package/dist/client.js +280 -55
- package/dist/generated/graphql-documents.d.ts +19 -0
- package/dist/generated/graphql-documents.js +1161 -0
- package/dist/generated/graphql-types.d.ts +1940 -85
- package/dist/generated/graphql-types.js +51 -0
- package/dist/streaming/llm-formatters.js +68 -5
- package/dist/streaming/providers.d.ts +18 -13
- package/dist/streaming/providers.js +690 -167
- package/dist/streaming/ui-event-adapter.d.ts +7 -0
- package/dist/streaming/ui-event-adapter.js +55 -0
- package/dist/types/internal.d.ts +11 -0
- package/dist/types/ui-events.d.ts +9 -0
- package/package.json +1 -1
@@ -555,6 +555,141 @@ export const UpdateCollection = gql `
|
|
555
555
|
}
|
556
556
|
}
|
557
557
|
`;
|
558
|
+
export const CountConnectors = gql `
|
559
|
+
query CountConnectors($filter: ConnectorFilter, $correlationId: String) {
|
560
|
+
countConnectors(filter: $filter, correlationId: $correlationId) {
|
561
|
+
count
|
562
|
+
}
|
563
|
+
}
|
564
|
+
`;
|
565
|
+
export const CreateConnector = gql `
|
566
|
+
mutation CreateConnector($connector: ConnectorInput!) {
|
567
|
+
createConnector(connector: $connector) {
|
568
|
+
id
|
569
|
+
name
|
570
|
+
state
|
571
|
+
type
|
572
|
+
}
|
573
|
+
}
|
574
|
+
`;
|
575
|
+
export const DeleteConnector = gql `
|
576
|
+
mutation DeleteConnector($id: ID!) {
|
577
|
+
deleteConnector(id: $id) {
|
578
|
+
id
|
579
|
+
state
|
580
|
+
}
|
581
|
+
}
|
582
|
+
`;
|
583
|
+
export const GetConnector = gql `
|
584
|
+
query GetConnector($id: ID!, $correlationId: String) {
|
585
|
+
connector(id: $id, correlationId: $correlationId) {
|
586
|
+
id
|
587
|
+
name
|
588
|
+
creationDate
|
589
|
+
relevance
|
590
|
+
owner {
|
591
|
+
id
|
592
|
+
}
|
593
|
+
state
|
594
|
+
type
|
595
|
+
authentication {
|
596
|
+
type
|
597
|
+
microsoft {
|
598
|
+
tenantId
|
599
|
+
clientId
|
600
|
+
clientSecret
|
601
|
+
}
|
602
|
+
google {
|
603
|
+
clientId
|
604
|
+
clientSecret
|
605
|
+
}
|
606
|
+
arcade {
|
607
|
+
authorizationId
|
608
|
+
}
|
609
|
+
}
|
610
|
+
integration {
|
611
|
+
type
|
612
|
+
uri
|
613
|
+
slack {
|
614
|
+
token
|
615
|
+
channel
|
616
|
+
}
|
617
|
+
email {
|
618
|
+
from
|
619
|
+
subject
|
620
|
+
to
|
621
|
+
}
|
622
|
+
twitter {
|
623
|
+
consumerKey
|
624
|
+
consumerSecret
|
625
|
+
accessTokenKey
|
626
|
+
accessTokenSecret
|
627
|
+
}
|
628
|
+
}
|
629
|
+
}
|
630
|
+
}
|
631
|
+
`;
|
632
|
+
export const QueryConnectors = gql `
|
633
|
+
query QueryConnectors($filter: ConnectorFilter, $correlationId: String) {
|
634
|
+
connectors(filter: $filter, correlationId: $correlationId) {
|
635
|
+
results {
|
636
|
+
id
|
637
|
+
name
|
638
|
+
creationDate
|
639
|
+
relevance
|
640
|
+
owner {
|
641
|
+
id
|
642
|
+
}
|
643
|
+
state
|
644
|
+
type
|
645
|
+
authentication {
|
646
|
+
type
|
647
|
+
microsoft {
|
648
|
+
tenantId
|
649
|
+
clientId
|
650
|
+
clientSecret
|
651
|
+
}
|
652
|
+
google {
|
653
|
+
clientId
|
654
|
+
clientSecret
|
655
|
+
}
|
656
|
+
arcade {
|
657
|
+
authorizationId
|
658
|
+
}
|
659
|
+
}
|
660
|
+
integration {
|
661
|
+
type
|
662
|
+
uri
|
663
|
+
slack {
|
664
|
+
token
|
665
|
+
channel
|
666
|
+
}
|
667
|
+
email {
|
668
|
+
from
|
669
|
+
subject
|
670
|
+
to
|
671
|
+
}
|
672
|
+
twitter {
|
673
|
+
consumerKey
|
674
|
+
consumerSecret
|
675
|
+
accessTokenKey
|
676
|
+
accessTokenSecret
|
677
|
+
}
|
678
|
+
}
|
679
|
+
}
|
680
|
+
}
|
681
|
+
}
|
682
|
+
`;
|
683
|
+
export const UpdateConnector = gql `
|
684
|
+
mutation UpdateConnector($connector: ConnectorUpdateInput!) {
|
685
|
+
updateConnector(connector: $connector) {
|
686
|
+
id
|
687
|
+
name
|
688
|
+
state
|
689
|
+
type
|
690
|
+
}
|
691
|
+
}
|
692
|
+
`;
|
558
693
|
export const CountContents = gql `
|
559
694
|
query CountContents($filter: ContentFilter, $correlationId: String) {
|
560
695
|
countContents(filter: $filter, correlationId: $correlationId) {
|
@@ -5400,6 +5535,31 @@ export const RetrieveSources = gql `
|
|
5400
5535
|
}
|
5401
5536
|
}
|
5402
5537
|
`;
|
5538
|
+
export const RetrieveView = gql `
|
5539
|
+
mutation RetrieveView($prompt: String!, $id: ID!, $retrievalStrategy: RetrievalStrategyInput, $rerankingStrategy: RerankingStrategyInput, $correlationId: String) {
|
5540
|
+
retrieveView(
|
5541
|
+
prompt: $prompt
|
5542
|
+
id: $id
|
5543
|
+
retrievalStrategy: $retrievalStrategy
|
5544
|
+
rerankingStrategy: $rerankingStrategy
|
5545
|
+
correlationId: $correlationId
|
5546
|
+
) {
|
5547
|
+
results {
|
5548
|
+
type
|
5549
|
+
content {
|
5550
|
+
id
|
5551
|
+
}
|
5552
|
+
text
|
5553
|
+
metadata
|
5554
|
+
relevance
|
5555
|
+
startTime
|
5556
|
+
endTime
|
5557
|
+
pageNumber
|
5558
|
+
frameNumber
|
5559
|
+
}
|
5560
|
+
}
|
5561
|
+
}
|
5562
|
+
`;
|
5403
5563
|
export const ReviseContent = gql `
|
5404
5564
|
mutation ReviseContent($prompt: String!, $content: EntityReferenceInput!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
|
5405
5565
|
reviseContent(
|
@@ -6230,13 +6390,16 @@ export const GetFeed = gql `
|
|
6230
6390
|
clientId
|
6231
6391
|
clientSecret
|
6232
6392
|
refreshToken
|
6393
|
+
connectorId
|
6233
6394
|
}
|
6234
6395
|
oneDrive {
|
6396
|
+
authenticationType
|
6235
6397
|
folderId
|
6236
6398
|
files
|
6237
6399
|
clientId
|
6238
6400
|
clientSecret
|
6239
6401
|
refreshToken
|
6402
|
+
connectorId
|
6240
6403
|
}
|
6241
6404
|
googleDrive {
|
6242
6405
|
authenticationType
|
@@ -6246,6 +6409,7 @@ export const GetFeed = gql `
|
|
6246
6409
|
clientId
|
6247
6410
|
clientSecret
|
6248
6411
|
serviceAccountJson
|
6412
|
+
connectorId
|
6249
6413
|
}
|
6250
6414
|
dropbox {
|
6251
6415
|
path
|
@@ -6262,11 +6426,13 @@ export const GetFeed = gql `
|
|
6262
6426
|
redirectUri
|
6263
6427
|
}
|
6264
6428
|
github {
|
6429
|
+
authenticationType
|
6265
6430
|
uri
|
6266
6431
|
repositoryOwner
|
6267
6432
|
repositoryName
|
6268
6433
|
refreshToken
|
6269
6434
|
personalAccessToken
|
6435
|
+
connectorId
|
6270
6436
|
}
|
6271
6437
|
readLimit
|
6272
6438
|
}
|
@@ -6279,9 +6445,11 @@ export const GetFeed = gql `
|
|
6279
6445
|
excludeSentItems
|
6280
6446
|
includeDeletedItems
|
6281
6447
|
inboxOnly
|
6448
|
+
authenticationType
|
6282
6449
|
refreshToken
|
6283
6450
|
clientId
|
6284
6451
|
clientSecret
|
6452
|
+
connectorId
|
6285
6453
|
}
|
6286
6454
|
microsoft {
|
6287
6455
|
type
|
@@ -6289,9 +6457,11 @@ export const GetFeed = gql `
|
|
6289
6457
|
excludeSentItems
|
6290
6458
|
includeDeletedItems
|
6291
6459
|
inboxOnly
|
6460
|
+
authenticationType
|
6292
6461
|
refreshToken
|
6293
6462
|
clientId
|
6294
6463
|
clientSecret
|
6464
|
+
connectorId
|
6295
6465
|
}
|
6296
6466
|
readLimit
|
6297
6467
|
}
|
@@ -6338,17 +6508,21 @@ export const GetFeed = gql `
|
|
6338
6508
|
calendarId
|
6339
6509
|
beforeDate
|
6340
6510
|
afterDate
|
6511
|
+
authenticationType
|
6341
6512
|
refreshToken
|
6342
6513
|
clientId
|
6343
6514
|
clientSecret
|
6515
|
+
connectorId
|
6344
6516
|
}
|
6345
6517
|
microsoft {
|
6346
6518
|
calendarId
|
6347
6519
|
beforeDate
|
6348
6520
|
afterDate
|
6521
|
+
authenticationType
|
6349
6522
|
refreshToken
|
6350
6523
|
clientId
|
6351
6524
|
clientSecret
|
6525
|
+
connectorId
|
6352
6526
|
}
|
6353
6527
|
readLimit
|
6354
6528
|
}
|
@@ -6465,6 +6639,26 @@ export const QueryBoxFolders = gql `
|
|
6465
6639
|
}
|
6466
6640
|
}
|
6467
6641
|
`;
|
6642
|
+
export const QueryDiscordChannels = gql `
|
6643
|
+
query QueryDiscordChannels($properties: DiscordChannelsInput!) {
|
6644
|
+
discordChannels(properties: $properties) {
|
6645
|
+
results {
|
6646
|
+
channelName
|
6647
|
+
channelId
|
6648
|
+
}
|
6649
|
+
}
|
6650
|
+
}
|
6651
|
+
`;
|
6652
|
+
export const QueryDiscordGuilds = gql `
|
6653
|
+
query QueryDiscordGuilds($properties: DiscordGuildsInput!) {
|
6654
|
+
discordGuilds(properties: $properties) {
|
6655
|
+
results {
|
6656
|
+
guildName
|
6657
|
+
guildId
|
6658
|
+
}
|
6659
|
+
}
|
6660
|
+
}
|
6661
|
+
`;
|
6468
6662
|
export const QueryDropboxFolders = gql `
|
6469
6663
|
query QueryDropboxFolders($properties: DropboxFoldersInput!, $folderPath: String) {
|
6470
6664
|
dropboxFolders(properties: $properties, folderPath: $folderPath) {
|
@@ -6526,13 +6720,16 @@ export const QueryFeeds = gql `
|
|
6526
6720
|
clientId
|
6527
6721
|
clientSecret
|
6528
6722
|
refreshToken
|
6723
|
+
connectorId
|
6529
6724
|
}
|
6530
6725
|
oneDrive {
|
6726
|
+
authenticationType
|
6531
6727
|
folderId
|
6532
6728
|
files
|
6533
6729
|
clientId
|
6534
6730
|
clientSecret
|
6535
6731
|
refreshToken
|
6732
|
+
connectorId
|
6536
6733
|
}
|
6537
6734
|
googleDrive {
|
6538
6735
|
authenticationType
|
@@ -6542,6 +6739,7 @@ export const QueryFeeds = gql `
|
|
6542
6739
|
clientId
|
6543
6740
|
clientSecret
|
6544
6741
|
serviceAccountJson
|
6742
|
+
connectorId
|
6545
6743
|
}
|
6546
6744
|
dropbox {
|
6547
6745
|
path
|
@@ -6558,11 +6756,13 @@ export const QueryFeeds = gql `
|
|
6558
6756
|
redirectUri
|
6559
6757
|
}
|
6560
6758
|
github {
|
6759
|
+
authenticationType
|
6561
6760
|
uri
|
6562
6761
|
repositoryOwner
|
6563
6762
|
repositoryName
|
6564
6763
|
refreshToken
|
6565
6764
|
personalAccessToken
|
6765
|
+
connectorId
|
6566
6766
|
}
|
6567
6767
|
readLimit
|
6568
6768
|
}
|
@@ -6575,9 +6775,11 @@ export const QueryFeeds = gql `
|
|
6575
6775
|
excludeSentItems
|
6576
6776
|
includeDeletedItems
|
6577
6777
|
inboxOnly
|
6778
|
+
authenticationType
|
6578
6779
|
refreshToken
|
6579
6780
|
clientId
|
6580
6781
|
clientSecret
|
6782
|
+
connectorId
|
6581
6783
|
}
|
6582
6784
|
microsoft {
|
6583
6785
|
type
|
@@ -6585,9 +6787,11 @@ export const QueryFeeds = gql `
|
|
6585
6787
|
excludeSentItems
|
6586
6788
|
includeDeletedItems
|
6587
6789
|
inboxOnly
|
6790
|
+
authenticationType
|
6588
6791
|
refreshToken
|
6589
6792
|
clientId
|
6590
6793
|
clientSecret
|
6794
|
+
connectorId
|
6591
6795
|
}
|
6592
6796
|
readLimit
|
6593
6797
|
}
|
@@ -6634,17 +6838,21 @@ export const QueryFeeds = gql `
|
|
6634
6838
|
calendarId
|
6635
6839
|
beforeDate
|
6636
6840
|
afterDate
|
6841
|
+
authenticationType
|
6637
6842
|
refreshToken
|
6638
6843
|
clientId
|
6639
6844
|
clientSecret
|
6845
|
+
connectorId
|
6640
6846
|
}
|
6641
6847
|
microsoft {
|
6642
6848
|
calendarId
|
6643
6849
|
beforeDate
|
6644
6850
|
afterDate
|
6851
|
+
authenticationType
|
6645
6852
|
refreshToken
|
6646
6853
|
clientId
|
6647
6854
|
clientSecret
|
6855
|
+
connectorId
|
6648
6856
|
}
|
6649
6857
|
readLimit
|
6650
6858
|
}
|
@@ -9442,6 +9650,9 @@ export const GetUser = gql `
|
|
9442
9650
|
clientId
|
9443
9651
|
clientSecret
|
9444
9652
|
}
|
9653
|
+
arcade {
|
9654
|
+
authorizationId
|
9655
|
+
}
|
9445
9656
|
}
|
9446
9657
|
integration {
|
9447
9658
|
type
|
@@ -9496,6 +9707,9 @@ export const GetUserByIdentifier = gql `
|
|
9496
9707
|
clientId
|
9497
9708
|
clientSecret
|
9498
9709
|
}
|
9710
|
+
arcade {
|
9711
|
+
authorizationId
|
9712
|
+
}
|
9499
9713
|
}
|
9500
9714
|
integration {
|
9501
9715
|
type
|
@@ -9551,6 +9765,9 @@ export const QueryUsers = gql `
|
|
9551
9765
|
clientId
|
9552
9766
|
clientSecret
|
9553
9767
|
}
|
9768
|
+
arcade {
|
9769
|
+
authorizationId
|
9770
|
+
}
|
9554
9771
|
}
|
9555
9772
|
integration {
|
9556
9773
|
type
|
@@ -9588,6 +9805,940 @@ export const UpdateUser = gql `
|
|
9588
9805
|
}
|
9589
9806
|
}
|
9590
9807
|
`;
|
9808
|
+
export const CountViews = gql `
|
9809
|
+
query CountViews($filter: ViewFilter, $correlationId: String) {
|
9810
|
+
countViews(filter: $filter, correlationId: $correlationId) {
|
9811
|
+
count
|
9812
|
+
}
|
9813
|
+
}
|
9814
|
+
`;
|
9815
|
+
export const CreateView = gql `
|
9816
|
+
mutation CreateView($view: ViewInput!) {
|
9817
|
+
createView(view: $view) {
|
9818
|
+
id
|
9819
|
+
name
|
9820
|
+
state
|
9821
|
+
type
|
9822
|
+
filter {
|
9823
|
+
dateRange {
|
9824
|
+
from
|
9825
|
+
to
|
9826
|
+
}
|
9827
|
+
inLast
|
9828
|
+
creationDateRange {
|
9829
|
+
from
|
9830
|
+
to
|
9831
|
+
}
|
9832
|
+
createdInLast
|
9833
|
+
types
|
9834
|
+
fileTypes
|
9835
|
+
formats
|
9836
|
+
fileExtensions
|
9837
|
+
similarContents {
|
9838
|
+
id
|
9839
|
+
}
|
9840
|
+
contents {
|
9841
|
+
id
|
9842
|
+
}
|
9843
|
+
feeds {
|
9844
|
+
id
|
9845
|
+
}
|
9846
|
+
workflows {
|
9847
|
+
id
|
9848
|
+
}
|
9849
|
+
collections {
|
9850
|
+
id
|
9851
|
+
}
|
9852
|
+
users {
|
9853
|
+
id
|
9854
|
+
}
|
9855
|
+
observations {
|
9856
|
+
type
|
9857
|
+
observable {
|
9858
|
+
id
|
9859
|
+
}
|
9860
|
+
states
|
9861
|
+
}
|
9862
|
+
or {
|
9863
|
+
feeds {
|
9864
|
+
id
|
9865
|
+
}
|
9866
|
+
workflows {
|
9867
|
+
id
|
9868
|
+
}
|
9869
|
+
collections {
|
9870
|
+
id
|
9871
|
+
}
|
9872
|
+
users {
|
9873
|
+
id
|
9874
|
+
}
|
9875
|
+
observations {
|
9876
|
+
type
|
9877
|
+
observable {
|
9878
|
+
id
|
9879
|
+
}
|
9880
|
+
states
|
9881
|
+
}
|
9882
|
+
}
|
9883
|
+
and {
|
9884
|
+
feeds {
|
9885
|
+
id
|
9886
|
+
}
|
9887
|
+
workflows {
|
9888
|
+
id
|
9889
|
+
}
|
9890
|
+
collections {
|
9891
|
+
id
|
9892
|
+
}
|
9893
|
+
users {
|
9894
|
+
id
|
9895
|
+
}
|
9896
|
+
observations {
|
9897
|
+
type
|
9898
|
+
observable {
|
9899
|
+
id
|
9900
|
+
}
|
9901
|
+
states
|
9902
|
+
}
|
9903
|
+
}
|
9904
|
+
}
|
9905
|
+
augmentedFilter {
|
9906
|
+
dateRange {
|
9907
|
+
from
|
9908
|
+
to
|
9909
|
+
}
|
9910
|
+
inLast
|
9911
|
+
creationDateRange {
|
9912
|
+
from
|
9913
|
+
to
|
9914
|
+
}
|
9915
|
+
createdInLast
|
9916
|
+
types
|
9917
|
+
fileTypes
|
9918
|
+
formats
|
9919
|
+
fileExtensions
|
9920
|
+
similarContents {
|
9921
|
+
id
|
9922
|
+
}
|
9923
|
+
contents {
|
9924
|
+
id
|
9925
|
+
}
|
9926
|
+
feeds {
|
9927
|
+
id
|
9928
|
+
}
|
9929
|
+
workflows {
|
9930
|
+
id
|
9931
|
+
}
|
9932
|
+
collections {
|
9933
|
+
id
|
9934
|
+
}
|
9935
|
+
users {
|
9936
|
+
id
|
9937
|
+
}
|
9938
|
+
observations {
|
9939
|
+
type
|
9940
|
+
observable {
|
9941
|
+
id
|
9942
|
+
}
|
9943
|
+
states
|
9944
|
+
}
|
9945
|
+
or {
|
9946
|
+
feeds {
|
9947
|
+
id
|
9948
|
+
}
|
9949
|
+
workflows {
|
9950
|
+
id
|
9951
|
+
}
|
9952
|
+
collections {
|
9953
|
+
id
|
9954
|
+
}
|
9955
|
+
users {
|
9956
|
+
id
|
9957
|
+
}
|
9958
|
+
observations {
|
9959
|
+
type
|
9960
|
+
observable {
|
9961
|
+
id
|
9962
|
+
}
|
9963
|
+
states
|
9964
|
+
}
|
9965
|
+
}
|
9966
|
+
and {
|
9967
|
+
feeds {
|
9968
|
+
id
|
9969
|
+
}
|
9970
|
+
workflows {
|
9971
|
+
id
|
9972
|
+
}
|
9973
|
+
collections {
|
9974
|
+
id
|
9975
|
+
}
|
9976
|
+
users {
|
9977
|
+
id
|
9978
|
+
}
|
9979
|
+
observations {
|
9980
|
+
type
|
9981
|
+
observable {
|
9982
|
+
id
|
9983
|
+
}
|
9984
|
+
states
|
9985
|
+
}
|
9986
|
+
}
|
9987
|
+
}
|
9988
|
+
}
|
9989
|
+
}
|
9990
|
+
`;
|
9991
|
+
export const DeleteAllViews = gql `
|
9992
|
+
mutation DeleteAllViews($filter: ViewFilter, $isSynchronous: Boolean, $correlationId: String) {
|
9993
|
+
deleteAllViews(
|
9994
|
+
filter: $filter
|
9995
|
+
isSynchronous: $isSynchronous
|
9996
|
+
correlationId: $correlationId
|
9997
|
+
) {
|
9998
|
+
id
|
9999
|
+
state
|
10000
|
+
}
|
10001
|
+
}
|
10002
|
+
`;
|
10003
|
+
export const DeleteView = gql `
|
10004
|
+
mutation DeleteView($id: ID!) {
|
10005
|
+
deleteView(id: $id) {
|
10006
|
+
id
|
10007
|
+
state
|
10008
|
+
}
|
10009
|
+
}
|
10010
|
+
`;
|
10011
|
+
export const DeleteViews = gql `
|
10012
|
+
mutation DeleteViews($ids: [ID!]!, $isSynchronous: Boolean) {
|
10013
|
+
deleteViews(ids: $ids, isSynchronous: $isSynchronous) {
|
10014
|
+
id
|
10015
|
+
state
|
10016
|
+
}
|
10017
|
+
}
|
10018
|
+
`;
|
10019
|
+
export const GetView = gql `
|
10020
|
+
query GetView($id: ID!, $correlationId: String) {
|
10021
|
+
view(id: $id, correlationId: $correlationId) {
|
10022
|
+
id
|
10023
|
+
name
|
10024
|
+
creationDate
|
10025
|
+
relevance
|
10026
|
+
owner {
|
10027
|
+
id
|
10028
|
+
}
|
10029
|
+
state
|
10030
|
+
type
|
10031
|
+
filter {
|
10032
|
+
dateRange {
|
10033
|
+
from
|
10034
|
+
to
|
10035
|
+
}
|
10036
|
+
inLast
|
10037
|
+
creationDateRange {
|
10038
|
+
from
|
10039
|
+
to
|
10040
|
+
}
|
10041
|
+
createdInLast
|
10042
|
+
types
|
10043
|
+
fileTypes
|
10044
|
+
formats
|
10045
|
+
fileExtensions
|
10046
|
+
similarContents {
|
10047
|
+
id
|
10048
|
+
}
|
10049
|
+
contents {
|
10050
|
+
id
|
10051
|
+
}
|
10052
|
+
feeds {
|
10053
|
+
id
|
10054
|
+
}
|
10055
|
+
workflows {
|
10056
|
+
id
|
10057
|
+
}
|
10058
|
+
collections {
|
10059
|
+
id
|
10060
|
+
}
|
10061
|
+
users {
|
10062
|
+
id
|
10063
|
+
}
|
10064
|
+
observations {
|
10065
|
+
type
|
10066
|
+
observable {
|
10067
|
+
id
|
10068
|
+
}
|
10069
|
+
states
|
10070
|
+
}
|
10071
|
+
or {
|
10072
|
+
feeds {
|
10073
|
+
id
|
10074
|
+
}
|
10075
|
+
workflows {
|
10076
|
+
id
|
10077
|
+
}
|
10078
|
+
collections {
|
10079
|
+
id
|
10080
|
+
}
|
10081
|
+
users {
|
10082
|
+
id
|
10083
|
+
}
|
10084
|
+
observations {
|
10085
|
+
type
|
10086
|
+
observable {
|
10087
|
+
id
|
10088
|
+
}
|
10089
|
+
states
|
10090
|
+
}
|
10091
|
+
}
|
10092
|
+
and {
|
10093
|
+
feeds {
|
10094
|
+
id
|
10095
|
+
}
|
10096
|
+
workflows {
|
10097
|
+
id
|
10098
|
+
}
|
10099
|
+
collections {
|
10100
|
+
id
|
10101
|
+
}
|
10102
|
+
users {
|
10103
|
+
id
|
10104
|
+
}
|
10105
|
+
observations {
|
10106
|
+
type
|
10107
|
+
observable {
|
10108
|
+
id
|
10109
|
+
}
|
10110
|
+
states
|
10111
|
+
}
|
10112
|
+
}
|
10113
|
+
}
|
10114
|
+
augmentedFilter {
|
10115
|
+
dateRange {
|
10116
|
+
from
|
10117
|
+
to
|
10118
|
+
}
|
10119
|
+
inLast
|
10120
|
+
creationDateRange {
|
10121
|
+
from
|
10122
|
+
to
|
10123
|
+
}
|
10124
|
+
createdInLast
|
10125
|
+
types
|
10126
|
+
fileTypes
|
10127
|
+
formats
|
10128
|
+
fileExtensions
|
10129
|
+
similarContents {
|
10130
|
+
id
|
10131
|
+
}
|
10132
|
+
contents {
|
10133
|
+
id
|
10134
|
+
}
|
10135
|
+
feeds {
|
10136
|
+
id
|
10137
|
+
}
|
10138
|
+
workflows {
|
10139
|
+
id
|
10140
|
+
}
|
10141
|
+
collections {
|
10142
|
+
id
|
10143
|
+
}
|
10144
|
+
users {
|
10145
|
+
id
|
10146
|
+
}
|
10147
|
+
observations {
|
10148
|
+
type
|
10149
|
+
observable {
|
10150
|
+
id
|
10151
|
+
}
|
10152
|
+
states
|
10153
|
+
}
|
10154
|
+
or {
|
10155
|
+
feeds {
|
10156
|
+
id
|
10157
|
+
}
|
10158
|
+
workflows {
|
10159
|
+
id
|
10160
|
+
}
|
10161
|
+
collections {
|
10162
|
+
id
|
10163
|
+
}
|
10164
|
+
users {
|
10165
|
+
id
|
10166
|
+
}
|
10167
|
+
observations {
|
10168
|
+
type
|
10169
|
+
observable {
|
10170
|
+
id
|
10171
|
+
}
|
10172
|
+
states
|
10173
|
+
}
|
10174
|
+
}
|
10175
|
+
and {
|
10176
|
+
feeds {
|
10177
|
+
id
|
10178
|
+
}
|
10179
|
+
workflows {
|
10180
|
+
id
|
10181
|
+
}
|
10182
|
+
collections {
|
10183
|
+
id
|
10184
|
+
}
|
10185
|
+
users {
|
10186
|
+
id
|
10187
|
+
}
|
10188
|
+
observations {
|
10189
|
+
type
|
10190
|
+
observable {
|
10191
|
+
id
|
10192
|
+
}
|
10193
|
+
states
|
10194
|
+
}
|
10195
|
+
}
|
10196
|
+
}
|
10197
|
+
}
|
10198
|
+
}
|
10199
|
+
`;
|
10200
|
+
export const QueryViews = gql `
|
10201
|
+
query QueryViews($filter: ViewFilter, $correlationId: String) {
|
10202
|
+
views(filter: $filter, correlationId: $correlationId) {
|
10203
|
+
results {
|
10204
|
+
id
|
10205
|
+
name
|
10206
|
+
creationDate
|
10207
|
+
relevance
|
10208
|
+
owner {
|
10209
|
+
id
|
10210
|
+
}
|
10211
|
+
state
|
10212
|
+
type
|
10213
|
+
filter {
|
10214
|
+
dateRange {
|
10215
|
+
from
|
10216
|
+
to
|
10217
|
+
}
|
10218
|
+
inLast
|
10219
|
+
creationDateRange {
|
10220
|
+
from
|
10221
|
+
to
|
10222
|
+
}
|
10223
|
+
createdInLast
|
10224
|
+
types
|
10225
|
+
fileTypes
|
10226
|
+
formats
|
10227
|
+
fileExtensions
|
10228
|
+
similarContents {
|
10229
|
+
id
|
10230
|
+
}
|
10231
|
+
contents {
|
10232
|
+
id
|
10233
|
+
}
|
10234
|
+
feeds {
|
10235
|
+
id
|
10236
|
+
}
|
10237
|
+
workflows {
|
10238
|
+
id
|
10239
|
+
}
|
10240
|
+
collections {
|
10241
|
+
id
|
10242
|
+
}
|
10243
|
+
users {
|
10244
|
+
id
|
10245
|
+
}
|
10246
|
+
observations {
|
10247
|
+
type
|
10248
|
+
observable {
|
10249
|
+
id
|
10250
|
+
}
|
10251
|
+
states
|
10252
|
+
}
|
10253
|
+
or {
|
10254
|
+
feeds {
|
10255
|
+
id
|
10256
|
+
}
|
10257
|
+
workflows {
|
10258
|
+
id
|
10259
|
+
}
|
10260
|
+
collections {
|
10261
|
+
id
|
10262
|
+
}
|
10263
|
+
users {
|
10264
|
+
id
|
10265
|
+
}
|
10266
|
+
observations {
|
10267
|
+
type
|
10268
|
+
observable {
|
10269
|
+
id
|
10270
|
+
}
|
10271
|
+
states
|
10272
|
+
}
|
10273
|
+
}
|
10274
|
+
and {
|
10275
|
+
feeds {
|
10276
|
+
id
|
10277
|
+
}
|
10278
|
+
workflows {
|
10279
|
+
id
|
10280
|
+
}
|
10281
|
+
collections {
|
10282
|
+
id
|
10283
|
+
}
|
10284
|
+
users {
|
10285
|
+
id
|
10286
|
+
}
|
10287
|
+
observations {
|
10288
|
+
type
|
10289
|
+
observable {
|
10290
|
+
id
|
10291
|
+
}
|
10292
|
+
states
|
10293
|
+
}
|
10294
|
+
}
|
10295
|
+
}
|
10296
|
+
augmentedFilter {
|
10297
|
+
dateRange {
|
10298
|
+
from
|
10299
|
+
to
|
10300
|
+
}
|
10301
|
+
inLast
|
10302
|
+
creationDateRange {
|
10303
|
+
from
|
10304
|
+
to
|
10305
|
+
}
|
10306
|
+
createdInLast
|
10307
|
+
types
|
10308
|
+
fileTypes
|
10309
|
+
formats
|
10310
|
+
fileExtensions
|
10311
|
+
similarContents {
|
10312
|
+
id
|
10313
|
+
}
|
10314
|
+
contents {
|
10315
|
+
id
|
10316
|
+
}
|
10317
|
+
feeds {
|
10318
|
+
id
|
10319
|
+
}
|
10320
|
+
workflows {
|
10321
|
+
id
|
10322
|
+
}
|
10323
|
+
collections {
|
10324
|
+
id
|
10325
|
+
}
|
10326
|
+
users {
|
10327
|
+
id
|
10328
|
+
}
|
10329
|
+
observations {
|
10330
|
+
type
|
10331
|
+
observable {
|
10332
|
+
id
|
10333
|
+
}
|
10334
|
+
states
|
10335
|
+
}
|
10336
|
+
or {
|
10337
|
+
feeds {
|
10338
|
+
id
|
10339
|
+
}
|
10340
|
+
workflows {
|
10341
|
+
id
|
10342
|
+
}
|
10343
|
+
collections {
|
10344
|
+
id
|
10345
|
+
}
|
10346
|
+
users {
|
10347
|
+
id
|
10348
|
+
}
|
10349
|
+
observations {
|
10350
|
+
type
|
10351
|
+
observable {
|
10352
|
+
id
|
10353
|
+
}
|
10354
|
+
states
|
10355
|
+
}
|
10356
|
+
}
|
10357
|
+
and {
|
10358
|
+
feeds {
|
10359
|
+
id
|
10360
|
+
}
|
10361
|
+
workflows {
|
10362
|
+
id
|
10363
|
+
}
|
10364
|
+
collections {
|
10365
|
+
id
|
10366
|
+
}
|
10367
|
+
users {
|
10368
|
+
id
|
10369
|
+
}
|
10370
|
+
observations {
|
10371
|
+
type
|
10372
|
+
observable {
|
10373
|
+
id
|
10374
|
+
}
|
10375
|
+
states
|
10376
|
+
}
|
10377
|
+
}
|
10378
|
+
}
|
10379
|
+
}
|
10380
|
+
}
|
10381
|
+
}
|
10382
|
+
`;
|
10383
|
+
export const UpdateView = gql `
|
10384
|
+
mutation UpdateView($view: ViewUpdateInput!) {
|
10385
|
+
updateView(view: $view) {
|
10386
|
+
id
|
10387
|
+
name
|
10388
|
+
state
|
10389
|
+
type
|
10390
|
+
filter {
|
10391
|
+
dateRange {
|
10392
|
+
from
|
10393
|
+
to
|
10394
|
+
}
|
10395
|
+
inLast
|
10396
|
+
creationDateRange {
|
10397
|
+
from
|
10398
|
+
to
|
10399
|
+
}
|
10400
|
+
createdInLast
|
10401
|
+
types
|
10402
|
+
fileTypes
|
10403
|
+
formats
|
10404
|
+
fileExtensions
|
10405
|
+
similarContents {
|
10406
|
+
id
|
10407
|
+
}
|
10408
|
+
contents {
|
10409
|
+
id
|
10410
|
+
}
|
10411
|
+
feeds {
|
10412
|
+
id
|
10413
|
+
}
|
10414
|
+
workflows {
|
10415
|
+
id
|
10416
|
+
}
|
10417
|
+
collections {
|
10418
|
+
id
|
10419
|
+
}
|
10420
|
+
users {
|
10421
|
+
id
|
10422
|
+
}
|
10423
|
+
observations {
|
10424
|
+
type
|
10425
|
+
observable {
|
10426
|
+
id
|
10427
|
+
}
|
10428
|
+
states
|
10429
|
+
}
|
10430
|
+
or {
|
10431
|
+
feeds {
|
10432
|
+
id
|
10433
|
+
}
|
10434
|
+
workflows {
|
10435
|
+
id
|
10436
|
+
}
|
10437
|
+
collections {
|
10438
|
+
id
|
10439
|
+
}
|
10440
|
+
users {
|
10441
|
+
id
|
10442
|
+
}
|
10443
|
+
observations {
|
10444
|
+
type
|
10445
|
+
observable {
|
10446
|
+
id
|
10447
|
+
}
|
10448
|
+
states
|
10449
|
+
}
|
10450
|
+
}
|
10451
|
+
and {
|
10452
|
+
feeds {
|
10453
|
+
id
|
10454
|
+
}
|
10455
|
+
workflows {
|
10456
|
+
id
|
10457
|
+
}
|
10458
|
+
collections {
|
10459
|
+
id
|
10460
|
+
}
|
10461
|
+
users {
|
10462
|
+
id
|
10463
|
+
}
|
10464
|
+
observations {
|
10465
|
+
type
|
10466
|
+
observable {
|
10467
|
+
id
|
10468
|
+
}
|
10469
|
+
states
|
10470
|
+
}
|
10471
|
+
}
|
10472
|
+
}
|
10473
|
+
augmentedFilter {
|
10474
|
+
dateRange {
|
10475
|
+
from
|
10476
|
+
to
|
10477
|
+
}
|
10478
|
+
inLast
|
10479
|
+
creationDateRange {
|
10480
|
+
from
|
10481
|
+
to
|
10482
|
+
}
|
10483
|
+
createdInLast
|
10484
|
+
types
|
10485
|
+
fileTypes
|
10486
|
+
formats
|
10487
|
+
fileExtensions
|
10488
|
+
similarContents {
|
10489
|
+
id
|
10490
|
+
}
|
10491
|
+
contents {
|
10492
|
+
id
|
10493
|
+
}
|
10494
|
+
feeds {
|
10495
|
+
id
|
10496
|
+
}
|
10497
|
+
workflows {
|
10498
|
+
id
|
10499
|
+
}
|
10500
|
+
collections {
|
10501
|
+
id
|
10502
|
+
}
|
10503
|
+
users {
|
10504
|
+
id
|
10505
|
+
}
|
10506
|
+
observations {
|
10507
|
+
type
|
10508
|
+
observable {
|
10509
|
+
id
|
10510
|
+
}
|
10511
|
+
states
|
10512
|
+
}
|
10513
|
+
or {
|
10514
|
+
feeds {
|
10515
|
+
id
|
10516
|
+
}
|
10517
|
+
workflows {
|
10518
|
+
id
|
10519
|
+
}
|
10520
|
+
collections {
|
10521
|
+
id
|
10522
|
+
}
|
10523
|
+
users {
|
10524
|
+
id
|
10525
|
+
}
|
10526
|
+
observations {
|
10527
|
+
type
|
10528
|
+
observable {
|
10529
|
+
id
|
10530
|
+
}
|
10531
|
+
states
|
10532
|
+
}
|
10533
|
+
}
|
10534
|
+
and {
|
10535
|
+
feeds {
|
10536
|
+
id
|
10537
|
+
}
|
10538
|
+
workflows {
|
10539
|
+
id
|
10540
|
+
}
|
10541
|
+
collections {
|
10542
|
+
id
|
10543
|
+
}
|
10544
|
+
users {
|
10545
|
+
id
|
10546
|
+
}
|
10547
|
+
observations {
|
10548
|
+
type
|
10549
|
+
observable {
|
10550
|
+
id
|
10551
|
+
}
|
10552
|
+
states
|
10553
|
+
}
|
10554
|
+
}
|
10555
|
+
}
|
10556
|
+
}
|
10557
|
+
}
|
10558
|
+
`;
|
10559
|
+
export const UpsertView = gql `
|
10560
|
+
mutation UpsertView($view: ViewInput!) {
|
10561
|
+
upsertView(view: $view) {
|
10562
|
+
id
|
10563
|
+
name
|
10564
|
+
state
|
10565
|
+
type
|
10566
|
+
filter {
|
10567
|
+
dateRange {
|
10568
|
+
from
|
10569
|
+
to
|
10570
|
+
}
|
10571
|
+
inLast
|
10572
|
+
creationDateRange {
|
10573
|
+
from
|
10574
|
+
to
|
10575
|
+
}
|
10576
|
+
createdInLast
|
10577
|
+
types
|
10578
|
+
fileTypes
|
10579
|
+
formats
|
10580
|
+
fileExtensions
|
10581
|
+
similarContents {
|
10582
|
+
id
|
10583
|
+
}
|
10584
|
+
contents {
|
10585
|
+
id
|
10586
|
+
}
|
10587
|
+
feeds {
|
10588
|
+
id
|
10589
|
+
}
|
10590
|
+
workflows {
|
10591
|
+
id
|
10592
|
+
}
|
10593
|
+
collections {
|
10594
|
+
id
|
10595
|
+
}
|
10596
|
+
users {
|
10597
|
+
id
|
10598
|
+
}
|
10599
|
+
observations {
|
10600
|
+
type
|
10601
|
+
observable {
|
10602
|
+
id
|
10603
|
+
}
|
10604
|
+
states
|
10605
|
+
}
|
10606
|
+
or {
|
10607
|
+
feeds {
|
10608
|
+
id
|
10609
|
+
}
|
10610
|
+
workflows {
|
10611
|
+
id
|
10612
|
+
}
|
10613
|
+
collections {
|
10614
|
+
id
|
10615
|
+
}
|
10616
|
+
users {
|
10617
|
+
id
|
10618
|
+
}
|
10619
|
+
observations {
|
10620
|
+
type
|
10621
|
+
observable {
|
10622
|
+
id
|
10623
|
+
}
|
10624
|
+
states
|
10625
|
+
}
|
10626
|
+
}
|
10627
|
+
and {
|
10628
|
+
feeds {
|
10629
|
+
id
|
10630
|
+
}
|
10631
|
+
workflows {
|
10632
|
+
id
|
10633
|
+
}
|
10634
|
+
collections {
|
10635
|
+
id
|
10636
|
+
}
|
10637
|
+
users {
|
10638
|
+
id
|
10639
|
+
}
|
10640
|
+
observations {
|
10641
|
+
type
|
10642
|
+
observable {
|
10643
|
+
id
|
10644
|
+
}
|
10645
|
+
states
|
10646
|
+
}
|
10647
|
+
}
|
10648
|
+
}
|
10649
|
+
augmentedFilter {
|
10650
|
+
dateRange {
|
10651
|
+
from
|
10652
|
+
to
|
10653
|
+
}
|
10654
|
+
inLast
|
10655
|
+
creationDateRange {
|
10656
|
+
from
|
10657
|
+
to
|
10658
|
+
}
|
10659
|
+
createdInLast
|
10660
|
+
types
|
10661
|
+
fileTypes
|
10662
|
+
formats
|
10663
|
+
fileExtensions
|
10664
|
+
similarContents {
|
10665
|
+
id
|
10666
|
+
}
|
10667
|
+
contents {
|
10668
|
+
id
|
10669
|
+
}
|
10670
|
+
feeds {
|
10671
|
+
id
|
10672
|
+
}
|
10673
|
+
workflows {
|
10674
|
+
id
|
10675
|
+
}
|
10676
|
+
collections {
|
10677
|
+
id
|
10678
|
+
}
|
10679
|
+
users {
|
10680
|
+
id
|
10681
|
+
}
|
10682
|
+
observations {
|
10683
|
+
type
|
10684
|
+
observable {
|
10685
|
+
id
|
10686
|
+
}
|
10687
|
+
states
|
10688
|
+
}
|
10689
|
+
or {
|
10690
|
+
feeds {
|
10691
|
+
id
|
10692
|
+
}
|
10693
|
+
workflows {
|
10694
|
+
id
|
10695
|
+
}
|
10696
|
+
collections {
|
10697
|
+
id
|
10698
|
+
}
|
10699
|
+
users {
|
10700
|
+
id
|
10701
|
+
}
|
10702
|
+
observations {
|
10703
|
+
type
|
10704
|
+
observable {
|
10705
|
+
id
|
10706
|
+
}
|
10707
|
+
states
|
10708
|
+
}
|
10709
|
+
}
|
10710
|
+
and {
|
10711
|
+
feeds {
|
10712
|
+
id
|
10713
|
+
}
|
10714
|
+
workflows {
|
10715
|
+
id
|
10716
|
+
}
|
10717
|
+
collections {
|
10718
|
+
id
|
10719
|
+
}
|
10720
|
+
users {
|
10721
|
+
id
|
10722
|
+
}
|
10723
|
+
observations {
|
10724
|
+
type
|
10725
|
+
observable {
|
10726
|
+
id
|
10727
|
+
}
|
10728
|
+
states
|
10729
|
+
}
|
10730
|
+
}
|
10731
|
+
}
|
10732
|
+
}
|
10733
|
+
}
|
10734
|
+
`;
|
10735
|
+
export const ViewExists = gql `
|
10736
|
+
query ViewExists($filter: ViewFilter, $correlationId: String) {
|
10737
|
+
viewExists(filter: $filter, correlationId: $correlationId) {
|
10738
|
+
result
|
10739
|
+
}
|
10740
|
+
}
|
10741
|
+
`;
|
9591
10742
|
export const CountWorkflows = gql `
|
9592
10743
|
query CountWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
9593
10744
|
countWorkflows(filter: $filter, correlationId: $correlationId) {
|
@@ -9762,6 +10913,8 @@ export const CreateWorkflow = gql `
|
|
9762
10913
|
excludedLinks
|
9763
10914
|
allowedFiles
|
9764
10915
|
excludedFiles
|
10916
|
+
allowedContentTypes
|
10917
|
+
excludedContentTypes
|
9765
10918
|
allowContentDomain
|
9766
10919
|
maximumLinks
|
9767
10920
|
}
|
@@ -10008,6 +11161,8 @@ export const GetWorkflow = gql `
|
|
10008
11161
|
excludedLinks
|
10009
11162
|
allowedFiles
|
10010
11163
|
excludedFiles
|
11164
|
+
allowedContentTypes
|
11165
|
+
excludedContentTypes
|
10011
11166
|
allowContentDomain
|
10012
11167
|
maximumLinks
|
10013
11168
|
}
|
@@ -10227,6 +11382,8 @@ export const QueryWorkflows = gql `
|
|
10227
11382
|
excludedLinks
|
10228
11383
|
allowedFiles
|
10229
11384
|
excludedFiles
|
11385
|
+
allowedContentTypes
|
11386
|
+
excludedContentTypes
|
10230
11387
|
allowContentDomain
|
10231
11388
|
maximumLinks
|
10232
11389
|
}
|
@@ -10441,6 +11598,8 @@ export const UpdateWorkflow = gql `
|
|
10441
11598
|
excludedLinks
|
10442
11599
|
allowedFiles
|
10443
11600
|
excludedFiles
|
11601
|
+
allowedContentTypes
|
11602
|
+
excludedContentTypes
|
10444
11603
|
allowContentDomain
|
10445
11604
|
maximumLinks
|
10446
11605
|
}
|
@@ -10654,6 +11813,8 @@ export const UpsertWorkflow = gql `
|
|
10654
11813
|
excludedLinks
|
10655
11814
|
allowedFiles
|
10656
11815
|
excludedFiles
|
11816
|
+
allowedContentTypes
|
11817
|
+
excludedContentTypes
|
10657
11818
|
allowContentDomain
|
10658
11819
|
maximumLinks
|
10659
11820
|
}
|