graphlit-client 1.0.20240426002 → 1.0.20240505002

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.
@@ -3,10 +3,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = exports.SummarizeContents = exports.QueryContents = exports.QueryContentFacets = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestText = exports.IngestEncodedFile = exports.GetContent = exports.ExtractContents = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.AddContentsToCollections = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = void 0;
7
- exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.UpdateFeed = exports.QueryFeeds = exports.IsFeedDone = exports.GetFeed = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.UpdateConversation = exports.SuggestConversation = void 0;
8
- exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecification = exports.CreateSpecification = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.Usage = exports.UpdateProject = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.Credits = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = void 0;
6
+ exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = exports.SummarizeContents = exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestText = exports.IngestEncodedFile = exports.GetContent = exports.ExtractContents = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.CountContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.CountCollections = exports.AddContentsToCollections = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.CountCategories = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = exports.CountAlerts = void 0;
7
+ exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QueryFeeds = exports.IsFeedDone = exports.GetFeed = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = void 0;
8
+ exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = void 0;
9
+ exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = void 0;
9
10
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
11
+ exports.CountAlerts = (0, graphql_tag_1.default) `
12
+ query CountAlerts($filter: AlertFilter) {
13
+ countAlerts(filter: $filter) {
14
+ count
15
+ }
16
+ }
17
+ `;
10
18
  exports.CreateAlert = (0, graphql_tag_1.default) `
11
19
  mutation CreateAlert($alert: AlertInput!, $correlationId: String) {
12
20
  createAlert(alert: $alert, correlationId: $correlationId) {
@@ -26,16 +34,20 @@ exports.DeleteAlert = (0, graphql_tag_1.default) `
26
34
  }
27
35
  `;
28
36
  exports.DeleteAlerts = (0, graphql_tag_1.default) `
29
- mutation DeleteAlerts($ids: [ID!]!) {
30
- deleteAlerts(ids: $ids) {
37
+ mutation DeleteAlerts($ids: [ID!]!, $isSynchronous: Boolean) {
38
+ deleteAlerts(ids: $ids, isSynchronous: $isSynchronous) {
31
39
  id
32
40
  state
33
41
  }
34
42
  }
35
43
  `;
36
44
  exports.DeleteAllAlerts = (0, graphql_tag_1.default) `
37
- mutation DeleteAllAlerts {
38
- deleteAllAlerts {
45
+ mutation DeleteAllAlerts($filter: AlertFilter, $isSynchronous: Boolean, $correlationId: String) {
46
+ deleteAllAlerts(
47
+ filter: $filter
48
+ isSynchronous: $isSynchronous
49
+ correlationId: $correlationId
50
+ ) {
39
51
  id
40
52
  state
41
53
  }
@@ -209,6 +221,13 @@ exports.UpdateAlert = (0, graphql_tag_1.default) `
209
221
  }
210
222
  }
211
223
  `;
224
+ exports.CountCategories = (0, graphql_tag_1.default) `
225
+ query CountCategories($filter: CategoryFilter) {
226
+ countCategories(filter: $filter) {
227
+ count
228
+ }
229
+ }
230
+ `;
212
231
  exports.CreateCategory = (0, graphql_tag_1.default) `
213
232
  mutation CreateCategory($category: CategoryInput!) {
214
233
  createCategory(category: $category) {
@@ -218,16 +237,20 @@ exports.CreateCategory = (0, graphql_tag_1.default) `
218
237
  }
219
238
  `;
220
239
  exports.DeleteAllCategories = (0, graphql_tag_1.default) `
221
- mutation DeleteAllCategories($filter: CategoryFilter!) {
222
- deleteAllCategories(filter: $filter) {
240
+ mutation DeleteAllCategories($filter: CategoryFilter, $isSynchronous: Boolean, $correlationId: String) {
241
+ deleteAllCategories(
242
+ filter: $filter
243
+ isSynchronous: $isSynchronous
244
+ correlationId: $correlationId
245
+ ) {
223
246
  id
224
247
  state
225
248
  }
226
249
  }
227
250
  `;
228
251
  exports.DeleteCategories = (0, graphql_tag_1.default) `
229
- mutation DeleteCategories($ids: [ID!]!) {
230
- deleteCategories(ids: $ids) {
252
+ mutation DeleteCategories($ids: [ID!]!, $isSynchronous: Boolean) {
253
+ deleteCategories(ids: $ids, isSynchronous: $isSynchronous) {
231
254
  id
232
255
  state
233
256
  }
@@ -252,7 +275,7 @@ exports.GetCategory = (0, graphql_tag_1.default) `
252
275
  }
253
276
  `;
254
277
  exports.QueryCategories = (0, graphql_tag_1.default) `
255
- query QueryCategories($filter: CategoryFilter!) {
278
+ query QueryCategories($filter: CategoryFilter) {
256
279
  categories(filter: $filter) {
257
280
  results {
258
281
  id
@@ -285,6 +308,13 @@ exports.AddContentsToCollections = (0, graphql_tag_1.default) `
285
308
  }
286
309
  }
287
310
  `;
311
+ exports.CountCollections = (0, graphql_tag_1.default) `
312
+ query CountCollections($filter: CollectionFilter) {
313
+ countCollections(filter: $filter) {
314
+ count
315
+ }
316
+ }
317
+ `;
288
318
  exports.CreateCollection = (0, graphql_tag_1.default) `
289
319
  mutation CreateCollection($collection: CollectionInput!) {
290
320
  createCollection(collection: $collection) {
@@ -296,8 +326,12 @@ exports.CreateCollection = (0, graphql_tag_1.default) `
296
326
  }
297
327
  `;
298
328
  exports.DeleteAllCollections = (0, graphql_tag_1.default) `
299
- mutation DeleteAllCollections {
300
- deleteAllCollections {
329
+ mutation DeleteAllCollections($filter: CollectionFilter, $isSynchronous: Boolean, $correlationId: String) {
330
+ deleteAllCollections(
331
+ filter: $filter
332
+ isSynchronous: $isSynchronous
333
+ correlationId: $correlationId
334
+ ) {
301
335
  id
302
336
  state
303
337
  }
@@ -312,8 +346,8 @@ exports.DeleteCollection = (0, graphql_tag_1.default) `
312
346
  }
313
347
  `;
314
348
  exports.DeleteCollections = (0, graphql_tag_1.default) `
315
- mutation DeleteCollections($ids: [ID!]!) {
316
- deleteCollections(ids: $ids) {
349
+ mutation DeleteCollections($ids: [ID!]!, $isSynchronous: Boolean) {
350
+ deleteCollections(ids: $ids, isSynchronous: $isSynchronous) {
317
351
  id
318
352
  state
319
353
  }
@@ -381,9 +415,20 @@ exports.UpdateCollection = (0, graphql_tag_1.default) `
381
415
  }
382
416
  }
383
417
  `;
418
+ exports.CountContents = (0, graphql_tag_1.default) `
419
+ query CountContents($filter: ContentFilter) {
420
+ countContents(filter: $filter) {
421
+ count
422
+ }
423
+ }
424
+ `;
384
425
  exports.DeleteAllContents = (0, graphql_tag_1.default) `
385
- mutation DeleteAllContents {
386
- deleteAllContents {
426
+ mutation DeleteAllContents($filter: ContentFilter, $isSynchronous: Boolean, $correlationId: String) {
427
+ deleteAllContents(
428
+ filter: $filter
429
+ isSynchronous: $isSynchronous
430
+ correlationId: $correlationId
431
+ ) {
387
432
  id
388
433
  state
389
434
  }
@@ -398,8 +443,8 @@ exports.DeleteContent = (0, graphql_tag_1.default) `
398
443
  }
399
444
  `;
400
445
  exports.DeleteContents = (0, graphql_tag_1.default) `
401
- mutation DeleteContents($ids: [ID!]!) {
402
- deleteContents(ids: $ids) {
446
+ mutation DeleteContents($ids: [ID!]!, $isSynchronous: Boolean) {
447
+ deleteContents(ids: $ids, isSynchronous: $isSynchronous) {
403
448
  id
404
449
  state
405
450
  }
@@ -432,7 +477,6 @@ exports.GetContent = (0, graphql_tag_1.default) `
432
477
  content(id: $id) {
433
478
  id
434
479
  name
435
- description
436
480
  creationDate
437
481
  owner {
438
482
  id
@@ -442,6 +486,19 @@ exports.GetContent = (0, graphql_tag_1.default) `
442
486
  finishedDate
443
487
  workflowDuration
444
488
  uri
489
+ description
490
+ markdown
491
+ address {
492
+ streetAddress
493
+ city
494
+ region
495
+ country
496
+ postalCode
497
+ }
498
+ location {
499
+ latitude
500
+ longitude
501
+ }
445
502
  type
446
503
  fileType
447
504
  mimeType
@@ -456,9 +513,13 @@ exports.GetContent = (0, graphql_tag_1.default) `
456
513
  width
457
514
  height
458
515
  duration
459
- software
460
516
  make
461
517
  model
518
+ software
519
+ title
520
+ description
521
+ keywords
522
+ author
462
523
  }
463
524
  audio {
464
525
  keywords
@@ -472,6 +533,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
472
533
  language
473
534
  genre
474
535
  title
536
+ description
475
537
  bitrate
476
538
  channels
477
539
  sampleRate
@@ -481,20 +543,31 @@ exports.GetContent = (0, graphql_tag_1.default) `
481
543
  image {
482
544
  width
483
545
  height
546
+ resolutionX
547
+ resolutionY
548
+ bitsPerComponent
549
+ components
550
+ projectionType
551
+ orientation
484
552
  description
485
- software
486
- identifier
487
553
  make
488
554
  model
555
+ software
556
+ lens
557
+ focalLength
558
+ exposureTime
559
+ fNumber
560
+ iso
561
+ heading
562
+ pitch
489
563
  }
490
564
  document {
491
565
  title
492
566
  subject
567
+ summary
493
568
  author
494
- software
495
569
  publisher
496
570
  description
497
- summary
498
571
  keywords
499
572
  pageCount
500
573
  worksheetCount
@@ -502,53 +575,78 @@ exports.GetContent = (0, graphql_tag_1.default) `
502
575
  wordCount
503
576
  lineCount
504
577
  paragraphCount
505
- characterCount
506
578
  isEncrypted
507
579
  hasDigitalSignature
508
580
  }
509
581
  email {
510
- subject
511
582
  identifier
583
+ subject
584
+ labels
512
585
  sensitivity
513
586
  priority
514
587
  importance
515
- labels
516
588
  from {
517
589
  name
518
- familyName
519
- givenName
520
590
  email
591
+ givenName
592
+ familyName
521
593
  }
522
594
  to {
523
595
  name
524
- familyName
525
- givenName
526
596
  email
597
+ givenName
598
+ familyName
527
599
  }
528
600
  cc {
529
601
  name
530
- familyName
531
- givenName
532
602
  email
603
+ givenName
604
+ familyName
533
605
  }
534
606
  bcc {
535
607
  name
536
- familyName
537
- givenName
538
608
  email
609
+ givenName
610
+ familyName
539
611
  }
540
612
  }
541
613
  issue {
614
+ identifier
542
615
  title
543
616
  project
544
617
  team
545
618
  status
546
619
  priority
547
620
  type
548
- identifier
549
621
  labels
550
622
  }
623
+ package {
624
+ fileCount
625
+ folderCount
626
+ isEncrypted
627
+ }
628
+ parent {
629
+ id
630
+ name
631
+ }
632
+ children {
633
+ id
634
+ name
635
+ }
636
+ feed {
637
+ id
638
+ name
639
+ }
640
+ collections {
641
+ id
642
+ name
643
+ }
644
+ links {
645
+ uri
646
+ linkType
647
+ }
551
648
  observations {
649
+ id
552
650
  type
553
651
  observable {
554
652
  id
@@ -557,36 +655,40 @@ exports.GetContent = (0, graphql_tag_1.default) `
557
655
  occurrences {
558
656
  type
559
657
  confidence
658
+ startTime
659
+ endTime
660
+ pageIndex
560
661
  boundingBox {
561
662
  left
562
663
  top
563
664
  width
564
665
  height
565
666
  }
566
- pageIndex
567
- startTime
568
- endTime
569
667
  }
570
- }
571
- parent {
572
- id
573
- }
574
- children {
575
- id
576
- }
577
- collections {
578
- id
579
- }
580
- feed {
581
- id
668
+ state
582
669
  }
583
670
  workflow {
584
671
  id
672
+ name
585
673
  }
586
- markdown
587
- links {
588
- uri
589
- linkType
674
+ pages {
675
+ index
676
+ chunks {
677
+ index
678
+ pageIndex
679
+ rowIndex
680
+ columnIndex
681
+ confidence
682
+ text
683
+ role
684
+ relevance
685
+ }
686
+ }
687
+ segments {
688
+ startTime
689
+ endTime
690
+ text
691
+ relevance
590
692
  }
591
693
  error
592
694
  }
@@ -611,11 +713,15 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
611
713
  fileType
612
714
  mimeType
613
715
  uri
716
+ collections {
717
+ id
718
+ name
719
+ }
614
720
  }
615
721
  }
616
722
  `;
617
723
  exports.IngestText = (0, graphql_tag_1.default) `
618
- mutation IngestText($name: String!, $text: String!, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
724
+ mutation IngestText($name: String!, $text: String!, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
619
725
  ingestText(
620
726
  name: $name
621
727
  text: $text
@@ -623,8 +729,8 @@ exports.IngestText = (0, graphql_tag_1.default) `
623
729
  uri: $uri
624
730
  id: $id
625
731
  isSynchronous: $isSynchronous
626
- collections: $collections
627
732
  workflow: $workflow
733
+ collections: $collections
628
734
  correlationId: $correlationId
629
735
  ) {
630
736
  id
@@ -634,17 +740,21 @@ exports.IngestText = (0, graphql_tag_1.default) `
634
740
  fileType
635
741
  mimeType
636
742
  uri
743
+ collections {
744
+ id
745
+ name
746
+ }
637
747
  }
638
748
  }
639
749
  `;
640
750
  exports.IngestUri = (0, graphql_tag_1.default) `
641
- mutation IngestUri($name: String, $uri: URL!, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
751
+ mutation IngestUri($name: String, $uri: URL!, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
642
752
  ingestUri(
643
753
  name: $name
644
754
  uri: $uri
645
755
  id: $id
646
- collections: $collections
647
756
  workflow: $workflow
757
+ collections: $collections
648
758
  isSynchronous: $isSynchronous
649
759
  correlationId: $correlationId
650
760
  ) {
@@ -655,6 +765,10 @@ exports.IngestUri = (0, graphql_tag_1.default) `
655
765
  fileType
656
766
  mimeType
657
767
  uri
768
+ collections {
769
+ id
770
+ name
771
+ }
658
772
  }
659
773
  }
660
774
  `;
@@ -666,18 +780,18 @@ exports.IsContentDone = (0, graphql_tag_1.default) `
666
780
  }
667
781
  `;
668
782
  exports.PublishContents = (0, graphql_tag_1.default) `
669
- mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput, $isSynchronous: Boolean!) {
783
+ mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) {
670
784
  publishContents(
671
785
  summaryPrompt: $summaryPrompt
672
786
  publishPrompt: $publishPrompt
673
787
  connector: $connector
674
788
  filter: $filter
789
+ isSynchronous: $isSynchronous
675
790
  correlationId: $correlationId
676
791
  name: $name
677
792
  summarySpecification: $summarySpecification
678
793
  publishSpecification: $publishSpecification
679
794
  workflow: $workflow
680
- isSynchronous: $isSynchronous
681
795
  ) {
682
796
  id
683
797
  name
@@ -686,6 +800,10 @@ exports.PublishContents = (0, graphql_tag_1.default) `
686
800
  fileType
687
801
  mimeType
688
802
  uri
803
+ collections {
804
+ id
805
+ name
806
+ }
689
807
  textUri
690
808
  audioUri
691
809
  markdown
@@ -693,15 +811,15 @@ exports.PublishContents = (0, graphql_tag_1.default) `
693
811
  }
694
812
  `;
695
813
  exports.PublishText = (0, graphql_tag_1.default) `
696
- mutation PublishText($text: String!, $textType: TextTypes, $connector: ContentPublishingConnectorInput!, $correlationId: String, $name: String, $workflow: EntityReferenceInput, $isSynchronous: Boolean!) {
814
+ mutation PublishText($text: String!, $textType: TextTypes, $connector: ContentPublishingConnectorInput!, $isSynchronous: Boolean, $correlationId: String, $name: String, $workflow: EntityReferenceInput) {
697
815
  publishText(
698
816
  text: $text
699
817
  textType: $textType
700
818
  connector: $connector
819
+ isSynchronous: $isSynchronous
701
820
  correlationId: $correlationId
702
821
  name: $name
703
822
  workflow: $workflow
704
- isSynchronous: $isSynchronous
705
823
  ) {
706
824
  id
707
825
  name
@@ -710,32 +828,18 @@ exports.PublishText = (0, graphql_tag_1.default) `
710
828
  fileType
711
829
  mimeType
712
830
  uri
831
+ collections {
832
+ id
833
+ name
834
+ }
713
835
  textUri
714
836
  audioUri
715
837
  markdown
716
838
  }
717
839
  }
718
840
  `;
719
- exports.QueryContentFacets = (0, graphql_tag_1.default) `
720
- query QueryContentFacets($filter: ContentFilter, $facets: [ContentFacetInput!]) {
721
- contents(filter: $filter, facets: $facets) {
722
- facets {
723
- facet
724
- type
725
- observable {
726
- type
727
- observable {
728
- id
729
- name
730
- }
731
- }
732
- count
733
- }
734
- }
735
- }
736
- `;
737
841
  exports.QueryContents = (0, graphql_tag_1.default) `
738
- query QueryContents($filter: ContentFilter) {
842
+ query QueryContents($filter: ContentFilter!) {
739
843
  contents(filter: $filter) {
740
844
  results {
741
845
  id
@@ -749,6 +853,19 @@ exports.QueryContents = (0, graphql_tag_1.default) `
749
853
  finishedDate
750
854
  workflowDuration
751
855
  uri
856
+ description
857
+ markdown
858
+ address {
859
+ streetAddress
860
+ city
861
+ region
862
+ country
863
+ postalCode
864
+ }
865
+ location {
866
+ latitude
867
+ longitude
868
+ }
752
869
  type
753
870
  fileType
754
871
  mimeType
@@ -759,6 +876,168 @@ exports.QueryContents = (0, graphql_tag_1.default) `
759
876
  textUri
760
877
  audioUri
761
878
  transcriptUri
879
+ video {
880
+ width
881
+ height
882
+ duration
883
+ make
884
+ model
885
+ software
886
+ title
887
+ description
888
+ keywords
889
+ author
890
+ }
891
+ audio {
892
+ keywords
893
+ author
894
+ series
895
+ episode
896
+ episodeType
897
+ season
898
+ publisher
899
+ copyright
900
+ language
901
+ genre
902
+ title
903
+ description
904
+ bitrate
905
+ channels
906
+ sampleRate
907
+ bitsPerSample
908
+ duration
909
+ }
910
+ image {
911
+ width
912
+ height
913
+ resolutionX
914
+ resolutionY
915
+ bitsPerComponent
916
+ components
917
+ projectionType
918
+ orientation
919
+ description
920
+ make
921
+ model
922
+ software
923
+ lens
924
+ focalLength
925
+ exposureTime
926
+ fNumber
927
+ iso
928
+ heading
929
+ pitch
930
+ }
931
+ document {
932
+ title
933
+ subject
934
+ summary
935
+ author
936
+ publisher
937
+ description
938
+ keywords
939
+ pageCount
940
+ worksheetCount
941
+ slideCount
942
+ wordCount
943
+ lineCount
944
+ paragraphCount
945
+ isEncrypted
946
+ hasDigitalSignature
947
+ }
948
+ email {
949
+ identifier
950
+ subject
951
+ labels
952
+ sensitivity
953
+ priority
954
+ importance
955
+ from {
956
+ name
957
+ email
958
+ givenName
959
+ familyName
960
+ }
961
+ to {
962
+ name
963
+ email
964
+ givenName
965
+ familyName
966
+ }
967
+ cc {
968
+ name
969
+ email
970
+ givenName
971
+ familyName
972
+ }
973
+ bcc {
974
+ name
975
+ email
976
+ givenName
977
+ familyName
978
+ }
979
+ }
980
+ issue {
981
+ identifier
982
+ title
983
+ project
984
+ team
985
+ status
986
+ priority
987
+ type
988
+ labels
989
+ }
990
+ package {
991
+ fileCount
992
+ folderCount
993
+ isEncrypted
994
+ }
995
+ parent {
996
+ id
997
+ name
998
+ }
999
+ children {
1000
+ id
1001
+ name
1002
+ }
1003
+ feed {
1004
+ id
1005
+ name
1006
+ }
1007
+ collections {
1008
+ id
1009
+ name
1010
+ }
1011
+ links {
1012
+ uri
1013
+ linkType
1014
+ }
1015
+ observations {
1016
+ id
1017
+ type
1018
+ observable {
1019
+ id
1020
+ name
1021
+ }
1022
+ occurrences {
1023
+ type
1024
+ confidence
1025
+ startTime
1026
+ endTime
1027
+ pageIndex
1028
+ boundingBox {
1029
+ left
1030
+ top
1031
+ width
1032
+ height
1033
+ }
1034
+ }
1035
+ state
1036
+ }
1037
+ workflow {
1038
+ id
1039
+ name
1040
+ }
762
1041
  pages {
763
1042
  index
764
1043
  chunks {
@@ -778,13 +1057,60 @@ exports.QueryContents = (0, graphql_tag_1.default) `
778
1057
  text
779
1058
  relevance
780
1059
  }
1060
+ error
1061
+ }
1062
+ }
1063
+ }
1064
+ `;
1065
+ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1066
+ query QueryContentsFacets($filter: ContentFilter!, $facets: [ContentFacetInput!]) {
1067
+ contents(filter: $filter, facets: $facets) {
1068
+ results {
1069
+ id
1070
+ name
1071
+ creationDate
1072
+ owner {
1073
+ id
1074
+ }
1075
+ state
1076
+ originalDate
1077
+ finishedDate
1078
+ workflowDuration
1079
+ uri
1080
+ description
1081
+ markdown
1082
+ address {
1083
+ streetAddress
1084
+ city
1085
+ region
1086
+ country
1087
+ postalCode
1088
+ }
1089
+ location {
1090
+ latitude
1091
+ longitude
1092
+ }
1093
+ type
1094
+ fileType
1095
+ mimeType
1096
+ fileName
1097
+ fileSize
1098
+ masterUri
1099
+ imageUri
1100
+ textUri
1101
+ audioUri
1102
+ transcriptUri
781
1103
  video {
782
1104
  width
783
1105
  height
784
1106
  duration
785
- software
786
1107
  make
787
1108
  model
1109
+ software
1110
+ title
1111
+ description
1112
+ keywords
1113
+ author
788
1114
  }
789
1115
  audio {
790
1116
  keywords
@@ -798,6 +1124,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
798
1124
  language
799
1125
  genre
800
1126
  title
1127
+ description
801
1128
  bitrate
802
1129
  channels
803
1130
  sampleRate
@@ -807,20 +1134,31 @@ exports.QueryContents = (0, graphql_tag_1.default) `
807
1134
  image {
808
1135
  width
809
1136
  height
1137
+ resolutionX
1138
+ resolutionY
1139
+ bitsPerComponent
1140
+ components
1141
+ projectionType
1142
+ orientation
810
1143
  description
811
- software
812
- identifier
813
1144
  make
814
1145
  model
1146
+ software
1147
+ lens
1148
+ focalLength
1149
+ exposureTime
1150
+ fNumber
1151
+ iso
1152
+ heading
1153
+ pitch
815
1154
  }
816
1155
  document {
817
1156
  title
818
1157
  subject
1158
+ summary
819
1159
  author
820
- software
821
1160
  publisher
822
1161
  description
823
- summary
824
1162
  keywords
825
1163
  pageCount
826
1164
  worksheetCount
@@ -828,53 +1166,78 @@ exports.QueryContents = (0, graphql_tag_1.default) `
828
1166
  wordCount
829
1167
  lineCount
830
1168
  paragraphCount
831
- characterCount
832
1169
  isEncrypted
833
1170
  hasDigitalSignature
834
1171
  }
835
1172
  email {
836
- subject
837
1173
  identifier
1174
+ subject
1175
+ labels
838
1176
  sensitivity
839
1177
  priority
840
1178
  importance
841
- labels
842
1179
  from {
843
1180
  name
844
- familyName
845
- givenName
846
1181
  email
1182
+ givenName
1183
+ familyName
847
1184
  }
848
1185
  to {
849
1186
  name
850
- familyName
851
- givenName
852
1187
  email
1188
+ givenName
1189
+ familyName
853
1190
  }
854
1191
  cc {
855
1192
  name
856
- familyName
857
- givenName
858
1193
  email
1194
+ givenName
1195
+ familyName
859
1196
  }
860
1197
  bcc {
861
1198
  name
862
- familyName
863
- givenName
864
1199
  email
1200
+ givenName
1201
+ familyName
865
1202
  }
866
1203
  }
867
1204
  issue {
1205
+ identifier
868
1206
  title
869
1207
  project
870
1208
  team
871
1209
  status
872
1210
  priority
873
1211
  type
874
- identifier
875
1212
  labels
876
1213
  }
1214
+ package {
1215
+ fileCount
1216
+ folderCount
1217
+ isEncrypted
1218
+ }
1219
+ parent {
1220
+ id
1221
+ name
1222
+ }
1223
+ children {
1224
+ id
1225
+ name
1226
+ }
1227
+ feed {
1228
+ id
1229
+ name
1230
+ }
1231
+ collections {
1232
+ id
1233
+ name
1234
+ }
1235
+ links {
1236
+ uri
1237
+ linkType
1238
+ }
877
1239
  observations {
1240
+ id
878
1241
  type
879
1242
  observable {
880
1243
  id
@@ -883,38 +1246,77 @@ exports.QueryContents = (0, graphql_tag_1.default) `
883
1246
  occurrences {
884
1247
  type
885
1248
  confidence
1249
+ startTime
1250
+ endTime
1251
+ pageIndex
886
1252
  boundingBox {
887
1253
  left
888
1254
  top
889
1255
  width
890
1256
  height
891
1257
  }
892
- pageIndex
893
- startTime
894
- endTime
895
1258
  }
1259
+ state
896
1260
  }
897
- parent {
1261
+ workflow {
898
1262
  id
1263
+ name
899
1264
  }
900
- children {
901
- id
1265
+ pages {
1266
+ index
1267
+ chunks {
1268
+ index
1269
+ pageIndex
1270
+ rowIndex
1271
+ columnIndex
1272
+ confidence
1273
+ text
1274
+ role
1275
+ relevance
1276
+ }
902
1277
  }
903
- collections {
904
- id
1278
+ segments {
1279
+ startTime
1280
+ endTime
1281
+ text
1282
+ relevance
905
1283
  }
906
- feed {
907
- id
1284
+ error
1285
+ }
1286
+ facets {
1287
+ facet
1288
+ count
1289
+ type
1290
+ value
1291
+ range {
1292
+ from
1293
+ to
908
1294
  }
909
- workflow {
1295
+ observable {
1296
+ type
1297
+ observable {
1298
+ id
1299
+ name
1300
+ }
1301
+ }
1302
+ }
1303
+ }
1304
+ }
1305
+ `;
1306
+ exports.QueryContentsGraph = (0, graphql_tag_1.default) `
1307
+ query QueryContentsGraph($filter: ContentFilter!, $graph: ContentGraphInput) {
1308
+ contents(filter: $filter, graph: $graph) {
1309
+ graph {
1310
+ nodes {
910
1311
  id
1312
+ name
1313
+ type
1314
+ metadata
911
1315
  }
912
- markdown
913
- links {
914
- uri
915
- linkType
1316
+ edges {
1317
+ from
1318
+ to
916
1319
  }
917
- error
918
1320
  }
919
1321
  }
920
1322
  }
@@ -952,6 +1354,10 @@ exports.UpdateContent = (0, graphql_tag_1.default) `
952
1354
  fileType
953
1355
  mimeType
954
1356
  uri
1357
+ collections {
1358
+ id
1359
+ name
1360
+ }
955
1361
  }
956
1362
  }
957
1363
  `;
@@ -975,6 +1381,13 @@ exports.CloseConversation = (0, graphql_tag_1.default) `
975
1381
  }
976
1382
  }
977
1383
  `;
1384
+ exports.CountConversations = (0, graphql_tag_1.default) `
1385
+ query CountConversations($filter: ConversationFilter) {
1386
+ countConversations(filter: $filter) {
1387
+ count
1388
+ }
1389
+ }
1390
+ `;
978
1391
  exports.CreateConversation = (0, graphql_tag_1.default) `
979
1392
  mutation CreateConversation($conversation: ConversationInput!, $correlationId: String) {
980
1393
  createConversation(conversation: $conversation, correlationId: $correlationId) {
@@ -986,8 +1399,12 @@ exports.CreateConversation = (0, graphql_tag_1.default) `
986
1399
  }
987
1400
  `;
988
1401
  exports.DeleteAllConversations = (0, graphql_tag_1.default) `
989
- mutation DeleteAllConversations {
990
- deleteAllConversations {
1402
+ mutation DeleteAllConversations($filter: ConversationFilter, $isSynchronous: Boolean, $correlationId: String) {
1403
+ deleteAllConversations(
1404
+ filter: $filter
1405
+ isSynchronous: $isSynchronous
1406
+ correlationId: $correlationId
1407
+ ) {
991
1408
  id
992
1409
  state
993
1410
  }
@@ -1002,8 +1419,8 @@ exports.DeleteConversation = (0, graphql_tag_1.default) `
1002
1419
  }
1003
1420
  `;
1004
1421
  exports.DeleteConversations = (0, graphql_tag_1.default) `
1005
- mutation DeleteConversations($ids: [ID!]!) {
1006
- deleteConversations(ids: $ids) {
1422
+ mutation DeleteConversations($ids: [ID!]!, $isSynchronous: Boolean) {
1423
+ deleteConversations(ids: $ids, isSynchronous: $isSynchronous) {
1007
1424
  id
1008
1425
  state
1009
1426
  }
@@ -1028,6 +1445,13 @@ exports.GetConversation = (0, graphql_tag_1.default) `
1028
1445
  citations {
1029
1446
  content {
1030
1447
  id
1448
+ name
1449
+ state
1450
+ type
1451
+ fileType
1452
+ fileName
1453
+ originalDate
1454
+ uri
1031
1455
  }
1032
1456
  index
1033
1457
  text
@@ -1095,9 +1519,12 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
1095
1519
  content {
1096
1520
  id
1097
1521
  name
1522
+ state
1098
1523
  type
1099
1524
  fileType
1100
1525
  fileName
1526
+ originalDate
1527
+ uri
1101
1528
  }
1102
1529
  index
1103
1530
  text
@@ -1135,11 +1562,12 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
1135
1562
  }
1136
1563
  `;
1137
1564
  exports.PublishConversation = (0, graphql_tag_1.default) `
1138
- mutation PublishConversation($id: ID!, $connector: ContentPublishingConnectorInput!, $name: String, $workflow: EntityReferenceInput, $correlationId: String) {
1565
+ mutation PublishConversation($id: ID!, $connector: ContentPublishingConnectorInput!, $name: String, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $correlationId: String) {
1139
1566
  publishConversation(
1140
1567
  id: $id
1141
1568
  connector: $connector
1142
1569
  name: $name
1570
+ isSynchronous: $isSynchronous
1143
1571
  workflow: $workflow
1144
1572
  correlationId: $correlationId
1145
1573
  ) {
@@ -1150,6 +1578,10 @@ exports.PublishConversation = (0, graphql_tag_1.default) `
1150
1578
  fileType
1151
1579
  mimeType
1152
1580
  uri
1581
+ collections {
1582
+ id
1583
+ name
1584
+ }
1153
1585
  textUri
1154
1586
  audioUri
1155
1587
  markdown
@@ -1176,6 +1608,13 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
1176
1608
  citations {
1177
1609
  content {
1178
1610
  id
1611
+ name
1612
+ state
1613
+ type
1614
+ fileType
1615
+ fileName
1616
+ originalDate
1617
+ uri
1179
1618
  }
1180
1619
  index
1181
1620
  text
@@ -1247,6 +1686,13 @@ exports.UpdateConversation = (0, graphql_tag_1.default) `
1247
1686
  }
1248
1687
  }
1249
1688
  `;
1689
+ exports.CountEvents = (0, graphql_tag_1.default) `
1690
+ query CountEvents($filter: EventFilter) {
1691
+ countEvents(filter: $filter) {
1692
+ count
1693
+ }
1694
+ }
1695
+ `;
1250
1696
  exports.CreateEvent = (0, graphql_tag_1.default) `
1251
1697
  mutation CreateEvent($event: EventInput!) {
1252
1698
  createEvent(event: $event) {
@@ -1256,8 +1702,12 @@ exports.CreateEvent = (0, graphql_tag_1.default) `
1256
1702
  }
1257
1703
  `;
1258
1704
  exports.DeleteAllEvents = (0, graphql_tag_1.default) `
1259
- mutation DeleteAllEvents($filter: EventFilter!) {
1260
- deleteAllEvents(filter: $filter) {
1705
+ mutation DeleteAllEvents($filter: EventFilter, $isSynchronous: Boolean, $correlationId: String) {
1706
+ deleteAllEvents(
1707
+ filter: $filter
1708
+ isSynchronous: $isSynchronous
1709
+ correlationId: $correlationId
1710
+ ) {
1261
1711
  id
1262
1712
  state
1263
1713
  }
@@ -1272,8 +1722,8 @@ exports.DeleteEvent = (0, graphql_tag_1.default) `
1272
1722
  }
1273
1723
  `;
1274
1724
  exports.DeleteEvents = (0, graphql_tag_1.default) `
1275
- mutation DeleteEvents($ids: [ID!]!) {
1276
- deleteEvents(ids: $ids) {
1725
+ mutation DeleteEvents($ids: [ID!]!, $isSynchronous: Boolean) {
1726
+ deleteEvents(ids: $ids, isSynchronous: $isSynchronous) {
1277
1727
  id
1278
1728
  state
1279
1729
  }
@@ -1307,7 +1757,7 @@ exports.GetEvent = (0, graphql_tag_1.default) `
1307
1757
  }
1308
1758
  `;
1309
1759
  exports.QueryEvents = (0, graphql_tag_1.default) `
1310
- query QueryEvents($filter: EventFilter!) {
1760
+ query QueryEvents($filter: EventFilter) {
1311
1761
  events(filter: $filter) {
1312
1762
  results {
1313
1763
  id
@@ -1343,6 +1793,13 @@ exports.UpdateEvent = (0, graphql_tag_1.default) `
1343
1793
  }
1344
1794
  }
1345
1795
  `;
1796
+ exports.CountFeeds = (0, graphql_tag_1.default) `
1797
+ query CountFeeds($filter: FeedFilter) {
1798
+ countFeeds(filter: $filter) {
1799
+ count
1800
+ }
1801
+ }
1802
+ `;
1346
1803
  exports.CreateFeed = (0, graphql_tag_1.default) `
1347
1804
  mutation CreateFeed($feed: FeedInput!, $correlationId: String) {
1348
1805
  createFeed(feed: $feed, correlationId: $correlationId) {
@@ -1354,8 +1811,12 @@ exports.CreateFeed = (0, graphql_tag_1.default) `
1354
1811
  }
1355
1812
  `;
1356
1813
  exports.DeleteAllFeeds = (0, graphql_tag_1.default) `
1357
- mutation DeleteAllFeeds {
1358
- deleteAllFeeds {
1814
+ mutation DeleteAllFeeds($filter: FeedFilter, $isSynchronous: Boolean, $correlationId: String) {
1815
+ deleteAllFeeds(
1816
+ filter: $filter
1817
+ isSynchronous: $isSynchronous
1818
+ correlationId: $correlationId
1819
+ ) {
1359
1820
  id
1360
1821
  state
1361
1822
  }
@@ -1370,8 +1831,8 @@ exports.DeleteFeed = (0, graphql_tag_1.default) `
1370
1831
  }
1371
1832
  `;
1372
1833
  exports.DeleteFeeds = (0, graphql_tag_1.default) `
1373
- mutation DeleteFeeds($ids: [ID!]!) {
1374
- deleteFeeds(ids: $ids) {
1834
+ mutation DeleteFeeds($ids: [ID!]!, $isSynchronous: Boolean) {
1835
+ deleteFeeds(ids: $ids, isSynchronous: $isSynchronous) {
1375
1836
  id
1376
1837
  state
1377
1838
  }
@@ -1704,6 +2165,13 @@ exports.UpdateFeed = (0, graphql_tag_1.default) `
1704
2165
  }
1705
2166
  }
1706
2167
  `;
2168
+ exports.CountLabels = (0, graphql_tag_1.default) `
2169
+ query CountLabels($filter: LabelFilter) {
2170
+ countLabels(filter: $filter) {
2171
+ count
2172
+ }
2173
+ }
2174
+ `;
1707
2175
  exports.CreateLabel = (0, graphql_tag_1.default) `
1708
2176
  mutation CreateLabel($label: LabelInput!) {
1709
2177
  createLabel(label: $label) {
@@ -1713,8 +2181,12 @@ exports.CreateLabel = (0, graphql_tag_1.default) `
1713
2181
  }
1714
2182
  `;
1715
2183
  exports.DeleteAllLabels = (0, graphql_tag_1.default) `
1716
- mutation DeleteAllLabels($filter: LabelFilter!) {
1717
- deleteAllLabels(filter: $filter) {
2184
+ mutation DeleteAllLabels($filter: LabelFilter, $isSynchronous: Boolean, $correlationId: String) {
2185
+ deleteAllLabels(
2186
+ filter: $filter
2187
+ isSynchronous: $isSynchronous
2188
+ correlationId: $correlationId
2189
+ ) {
1718
2190
  id
1719
2191
  state
1720
2192
  }
@@ -1729,8 +2201,8 @@ exports.DeleteLabel = (0, graphql_tag_1.default) `
1729
2201
  }
1730
2202
  `;
1731
2203
  exports.DeleteLabels = (0, graphql_tag_1.default) `
1732
- mutation DeleteLabels($ids: [ID!]!) {
1733
- deleteLabels(ids: $ids) {
2204
+ mutation DeleteLabels($ids: [ID!]!, $isSynchronous: Boolean) {
2205
+ deleteLabels(ids: $ids, isSynchronous: $isSynchronous) {
1734
2206
  id
1735
2207
  state
1736
2208
  }
@@ -1747,7 +2219,7 @@ exports.GetLabel = (0, graphql_tag_1.default) `
1747
2219
  }
1748
2220
  `;
1749
2221
  exports.QueryLabels = (0, graphql_tag_1.default) `
1750
- query QueryLabels($filter: LabelFilter!) {
2222
+ query QueryLabels($filter: LabelFilter) {
1751
2223
  labels(filter: $filter) {
1752
2224
  results {
1753
2225
  id
@@ -1790,6 +2262,13 @@ exports.UpdateObservation = (0, graphql_tag_1.default) `
1790
2262
  }
1791
2263
  }
1792
2264
  `;
2265
+ exports.CountOrganizations = (0, graphql_tag_1.default) `
2266
+ query CountOrganizations($filter: OrganizationFilter) {
2267
+ countOrganizations(filter: $filter) {
2268
+ count
2269
+ }
2270
+ }
2271
+ `;
1793
2272
  exports.CreateOrganization = (0, graphql_tag_1.default) `
1794
2273
  mutation CreateOrganization($organization: OrganizationInput!) {
1795
2274
  createOrganization(organization: $organization) {
@@ -1799,8 +2278,12 @@ exports.CreateOrganization = (0, graphql_tag_1.default) `
1799
2278
  }
1800
2279
  `;
1801
2280
  exports.DeleteAllOrganizations = (0, graphql_tag_1.default) `
1802
- mutation DeleteAllOrganizations($filter: OrganizationFilter!) {
1803
- deleteAllOrganizations(filter: $filter) {
2281
+ mutation DeleteAllOrganizations($filter: OrganizationFilter, $isSynchronous: Boolean, $correlationId: String) {
2282
+ deleteAllOrganizations(
2283
+ filter: $filter
2284
+ isSynchronous: $isSynchronous
2285
+ correlationId: $correlationId
2286
+ ) {
1804
2287
  id
1805
2288
  state
1806
2289
  }
@@ -1815,8 +2298,8 @@ exports.DeleteOrganization = (0, graphql_tag_1.default) `
1815
2298
  }
1816
2299
  `;
1817
2300
  exports.DeleteOrganizations = (0, graphql_tag_1.default) `
1818
- mutation DeleteOrganizations($ids: [ID!]!) {
1819
- deleteOrganizations(ids: $ids) {
2301
+ mutation DeleteOrganizations($ids: [ID!]!, $isSynchronous: Boolean) {
2302
+ deleteOrganizations(ids: $ids, isSynchronous: $isSynchronous) {
1820
2303
  id
1821
2304
  state
1822
2305
  }
@@ -1846,7 +2329,7 @@ exports.GetOrganization = (0, graphql_tag_1.default) `
1846
2329
  }
1847
2330
  `;
1848
2331
  exports.QueryOrganizations = (0, graphql_tag_1.default) `
1849
- query QueryOrganizations($filter: OrganizationFilter!) {
2332
+ query QueryOrganizations($filter: OrganizationFilter) {
1850
2333
  organizations(filter: $filter) {
1851
2334
  results {
1852
2335
  id
@@ -1878,6 +2361,13 @@ exports.UpdateOrganization = (0, graphql_tag_1.default) `
1878
2361
  }
1879
2362
  }
1880
2363
  `;
2364
+ exports.CountPersons = (0, graphql_tag_1.default) `
2365
+ query CountPersons($filter: PersonFilter) {
2366
+ countPersons(filter: $filter) {
2367
+ count
2368
+ }
2369
+ }
2370
+ `;
1881
2371
  exports.CreatePerson = (0, graphql_tag_1.default) `
1882
2372
  mutation CreatePerson($person: PersonInput!) {
1883
2373
  createPerson(person: $person) {
@@ -1887,8 +2377,12 @@ exports.CreatePerson = (0, graphql_tag_1.default) `
1887
2377
  }
1888
2378
  `;
1889
2379
  exports.DeleteAllPersons = (0, graphql_tag_1.default) `
1890
- mutation DeleteAllPersons($filter: PersonFilter!) {
1891
- deleteAllPersons(filter: $filter) {
2380
+ mutation DeleteAllPersons($filter: PersonFilter, $isSynchronous: Boolean, $correlationId: String) {
2381
+ deleteAllPersons(
2382
+ filter: $filter
2383
+ isSynchronous: $isSynchronous
2384
+ correlationId: $correlationId
2385
+ ) {
1892
2386
  id
1893
2387
  state
1894
2388
  }
@@ -1903,8 +2397,8 @@ exports.DeletePerson = (0, graphql_tag_1.default) `
1903
2397
  }
1904
2398
  `;
1905
2399
  exports.DeletePersons = (0, graphql_tag_1.default) `
1906
- mutation DeletePersons($ids: [ID!]!) {
1907
- deletePersons(ids: $ids) {
2400
+ mutation DeletePersons($ids: [ID!]!, $isSynchronous: Boolean) {
2401
+ deletePersons(ids: $ids, isSynchronous: $isSynchronous) {
1908
2402
  id
1909
2403
  state
1910
2404
  }
@@ -1936,7 +2430,7 @@ exports.GetPerson = (0, graphql_tag_1.default) `
1936
2430
  }
1937
2431
  `;
1938
2432
  exports.QueryPersons = (0, graphql_tag_1.default) `
1939
- query QueryPersons($filter: PersonFilter!) {
2433
+ query QueryPersons($filter: PersonFilter) {
1940
2434
  persons(filter: $filter) {
1941
2435
  results {
1942
2436
  id
@@ -1970,6 +2464,13 @@ exports.UpdatePerson = (0, graphql_tag_1.default) `
1970
2464
  }
1971
2465
  }
1972
2466
  `;
2467
+ exports.CountPlaces = (0, graphql_tag_1.default) `
2468
+ query CountPlaces($filter: PlaceFilter) {
2469
+ countPlaces(filter: $filter) {
2470
+ count
2471
+ }
2472
+ }
2473
+ `;
1973
2474
  exports.CreatePlace = (0, graphql_tag_1.default) `
1974
2475
  mutation CreatePlace($place: PlaceInput!) {
1975
2476
  createPlace(place: $place) {
@@ -1979,8 +2480,12 @@ exports.CreatePlace = (0, graphql_tag_1.default) `
1979
2480
  }
1980
2481
  `;
1981
2482
  exports.DeleteAllPlaces = (0, graphql_tag_1.default) `
1982
- mutation DeleteAllPlaces($filter: PlaceFilter!) {
1983
- deleteAllPlaces(filter: $filter) {
2483
+ mutation DeleteAllPlaces($filter: PlaceFilter, $isSynchronous: Boolean, $correlationId: String) {
2484
+ deleteAllPlaces(
2485
+ filter: $filter
2486
+ isSynchronous: $isSynchronous
2487
+ correlationId: $correlationId
2488
+ ) {
1984
2489
  id
1985
2490
  state
1986
2491
  }
@@ -1995,8 +2500,8 @@ exports.DeletePlace = (0, graphql_tag_1.default) `
1995
2500
  }
1996
2501
  `;
1997
2502
  exports.DeletePlaces = (0, graphql_tag_1.default) `
1998
- mutation DeletePlaces($ids: [ID!]!) {
1999
- deletePlaces(ids: $ids) {
2503
+ mutation DeletePlaces($ids: [ID!]!, $isSynchronous: Boolean) {
2504
+ deletePlaces(ids: $ids, isSynchronous: $isSynchronous) {
2000
2505
  id
2001
2506
  state
2002
2507
  }
@@ -2020,7 +2525,7 @@ exports.GetPlace = (0, graphql_tag_1.default) `
2020
2525
  }
2021
2526
  `;
2022
2527
  exports.QueryPlaces = (0, graphql_tag_1.default) `
2023
- query QueryPlaces($filter: PlaceFilter!) {
2528
+ query QueryPlaces($filter: PlaceFilter) {
2024
2529
  places(filter: $filter) {
2025
2530
  results {
2026
2531
  id
@@ -2046,6 +2551,13 @@ exports.UpdatePlace = (0, graphql_tag_1.default) `
2046
2551
  }
2047
2552
  }
2048
2553
  `;
2554
+ exports.CountProducts = (0, graphql_tag_1.default) `
2555
+ query CountProducts($filter: ProductFilter) {
2556
+ countProducts(filter: $filter) {
2557
+ count
2558
+ }
2559
+ }
2560
+ `;
2049
2561
  exports.CreateProduct = (0, graphql_tag_1.default) `
2050
2562
  mutation CreateProduct($product: ProductInput!) {
2051
2563
  createProduct(product: $product) {
@@ -2055,8 +2567,12 @@ exports.CreateProduct = (0, graphql_tag_1.default) `
2055
2567
  }
2056
2568
  `;
2057
2569
  exports.DeleteAllProducts = (0, graphql_tag_1.default) `
2058
- mutation DeleteAllProducts($filter: ProductFilter!) {
2059
- deleteAllProducts(filter: $filter) {
2570
+ mutation DeleteAllProducts($filter: ProductFilter, $isSynchronous: Boolean, $correlationId: String) {
2571
+ deleteAllProducts(
2572
+ filter: $filter
2573
+ isSynchronous: $isSynchronous
2574
+ correlationId: $correlationId
2575
+ ) {
2060
2576
  id
2061
2577
  state
2062
2578
  }
@@ -2071,8 +2587,8 @@ exports.DeleteProduct = (0, graphql_tag_1.default) `
2071
2587
  }
2072
2588
  `;
2073
2589
  exports.DeleteProducts = (0, graphql_tag_1.default) `
2074
- mutation DeleteProducts($ids: [ID!]!) {
2075
- deleteProducts(ids: $ids) {
2590
+ mutation DeleteProducts($ids: [ID!]!, $isSynchronous: Boolean) {
2591
+ deleteProducts(ids: $ids, isSynchronous: $isSynchronous) {
2076
2592
  id
2077
2593
  state
2078
2594
  }
@@ -2103,7 +2619,7 @@ exports.GetProduct = (0, graphql_tag_1.default) `
2103
2619
  }
2104
2620
  `;
2105
2621
  exports.QueryProducts = (0, graphql_tag_1.default) `
2106
- query QueryProducts($filter: ProductFilter!) {
2622
+ query QueryProducts($filter: ProductFilter) {
2107
2623
  products(filter: $filter) {
2108
2624
  results {
2109
2625
  id
@@ -2136,23 +2652,6 @@ exports.UpdateProduct = (0, graphql_tag_1.default) `
2136
2652
  }
2137
2653
  }
2138
2654
  `;
2139
- exports.Credits = (0, graphql_tag_1.default) `
2140
- query Credits($startDate: DateTime!, $duration: TimeSpan!) {
2141
- credits(startDate: $startDate, duration: $duration) {
2142
- correlationId
2143
- ownerId
2144
- credits
2145
- storageRatio
2146
- computeRatio
2147
- preparationRatio
2148
- extractionRatio
2149
- enrichmentRatio
2150
- publishingRatio
2151
- searchRatio
2152
- conversationRatio
2153
- }
2154
- }
2155
- `;
2156
2655
  exports.GetProject = (0, graphql_tag_1.default) `
2157
2656
  query GetProject {
2158
2657
  project {
@@ -2233,16 +2732,25 @@ exports.LookupUsage = (0, graphql_tag_1.default) `
2233
2732
  }
2234
2733
  }
2235
2734
  `;
2236
- exports.UpdateProject = (0, graphql_tag_1.default) `
2237
- mutation UpdateProject($project: ProjectUpdateInput!) {
2238
- updateProject(project: $project) {
2239
- id
2240
- name
2735
+ exports.QueryCredits = (0, graphql_tag_1.default) `
2736
+ query QueryCredits($startDate: DateTime!, $duration: TimeSpan!) {
2737
+ credits(startDate: $startDate, duration: $duration) {
2738
+ correlationId
2739
+ ownerId
2740
+ credits
2741
+ storageRatio
2742
+ computeRatio
2743
+ preparationRatio
2744
+ extractionRatio
2745
+ enrichmentRatio
2746
+ publishingRatio
2747
+ searchRatio
2748
+ conversationRatio
2241
2749
  }
2242
2750
  }
2243
2751
  `;
2244
- exports.Usage = (0, graphql_tag_1.default) `
2245
- query Usage($startDate: DateTime!, $duration: TimeSpan!) {
2752
+ exports.QueryUsage = (0, graphql_tag_1.default) `
2753
+ query QueryUsage($startDate: DateTime!, $duration: TimeSpan!) {
2246
2754
  usage(startDate: $startDate, duration: $duration) {
2247
2755
  correlationId
2248
2756
  date
@@ -2274,6 +2782,21 @@ exports.Usage = (0, graphql_tag_1.default) `
2274
2782
  }
2275
2783
  }
2276
2784
  `;
2785
+ exports.UpdateProject = (0, graphql_tag_1.default) `
2786
+ mutation UpdateProject($project: ProjectUpdateInput!) {
2787
+ updateProject(project: $project) {
2788
+ id
2789
+ name
2790
+ }
2791
+ }
2792
+ `;
2793
+ exports.CountRepos = (0, graphql_tag_1.default) `
2794
+ query CountRepos($filter: RepoFilter) {
2795
+ countRepos(filter: $filter) {
2796
+ count
2797
+ }
2798
+ }
2799
+ `;
2277
2800
  exports.CreateRepo = (0, graphql_tag_1.default) `
2278
2801
  mutation CreateRepo($repo: RepoInput!) {
2279
2802
  createRepo(repo: $repo) {
@@ -2283,8 +2806,12 @@ exports.CreateRepo = (0, graphql_tag_1.default) `
2283
2806
  }
2284
2807
  `;
2285
2808
  exports.DeleteAllRepos = (0, graphql_tag_1.default) `
2286
- mutation DeleteAllRepos($filter: RepoFilter!) {
2287
- deleteAllRepos(filter: $filter) {
2809
+ mutation DeleteAllRepos($filter: RepoFilter, $isSynchronous: Boolean, $correlationId: String) {
2810
+ deleteAllRepos(
2811
+ filter: $filter
2812
+ isSynchronous: $isSynchronous
2813
+ correlationId: $correlationId
2814
+ ) {
2288
2815
  id
2289
2816
  state
2290
2817
  }
@@ -2299,8 +2826,8 @@ exports.DeleteRepo = (0, graphql_tag_1.default) `
2299
2826
  }
2300
2827
  `;
2301
2828
  exports.DeleteRepos = (0, graphql_tag_1.default) `
2302
- mutation DeleteRepos($ids: [ID!]!) {
2303
- deleteRepos(ids: $ids) {
2829
+ mutation DeleteRepos($ids: [ID!]!, $isSynchronous: Boolean) {
2830
+ deleteRepos(ids: $ids, isSynchronous: $isSynchronous) {
2304
2831
  id
2305
2832
  state
2306
2833
  }
@@ -2317,7 +2844,7 @@ exports.GetRepo = (0, graphql_tag_1.default) `
2317
2844
  }
2318
2845
  `;
2319
2846
  exports.QueryRepos = (0, graphql_tag_1.default) `
2320
- query QueryRepos($filter: RepoFilter!) {
2847
+ query QueryRepos($filter: RepoFilter) {
2321
2848
  repos(filter: $filter) {
2322
2849
  results {
2323
2850
  id
@@ -2336,6 +2863,13 @@ exports.UpdateRepo = (0, graphql_tag_1.default) `
2336
2863
  }
2337
2864
  }
2338
2865
  `;
2866
+ exports.CountSoftwares = (0, graphql_tag_1.default) `
2867
+ query CountSoftwares($filter: SoftwareFilter) {
2868
+ countSoftwares(filter: $filter) {
2869
+ count
2870
+ }
2871
+ }
2872
+ `;
2339
2873
  exports.CreateSoftware = (0, graphql_tag_1.default) `
2340
2874
  mutation CreateSoftware($software: SoftwareInput!) {
2341
2875
  createSoftware(software: $software) {
@@ -2345,8 +2879,12 @@ exports.CreateSoftware = (0, graphql_tag_1.default) `
2345
2879
  }
2346
2880
  `;
2347
2881
  exports.DeleteAllSoftwares = (0, graphql_tag_1.default) `
2348
- mutation DeleteAllSoftwares($filter: SoftwareFilter!) {
2349
- deleteAllSoftwares(filter: $filter) {
2882
+ mutation DeleteAllSoftwares($filter: SoftwareFilter, $isSynchronous: Boolean, $correlationId: String) {
2883
+ deleteAllSoftwares(
2884
+ filter: $filter
2885
+ isSynchronous: $isSynchronous
2886
+ correlationId: $correlationId
2887
+ ) {
2350
2888
  id
2351
2889
  state
2352
2890
  }
@@ -2361,8 +2899,8 @@ exports.DeleteSoftware = (0, graphql_tag_1.default) `
2361
2899
  }
2362
2900
  `;
2363
2901
  exports.DeleteSoftwares = (0, graphql_tag_1.default) `
2364
- mutation DeleteSoftwares($ids: [ID!]!) {
2365
- deleteSoftwares(ids: $ids) {
2902
+ mutation DeleteSoftwares($ids: [ID!]!, $isSynchronous: Boolean) {
2903
+ deleteSoftwares(ids: $ids, isSynchronous: $isSynchronous) {
2366
2904
  id
2367
2905
  state
2368
2906
  }
@@ -2381,7 +2919,7 @@ exports.GetSoftware = (0, graphql_tag_1.default) `
2381
2919
  }
2382
2920
  `;
2383
2921
  exports.QuerySoftwares = (0, graphql_tag_1.default) `
2384
- query QuerySoftwares($filter: SoftwareFilter!) {
2922
+ query QuerySoftwares($filter: SoftwareFilter) {
2385
2923
  softwares(filter: $filter) {
2386
2924
  results {
2387
2925
  id
@@ -2402,6 +2940,13 @@ exports.UpdateSoftware = (0, graphql_tag_1.default) `
2402
2940
  }
2403
2941
  }
2404
2942
  `;
2943
+ exports.CountSpecifications = (0, graphql_tag_1.default) `
2944
+ query CountSpecifications($filter: SpecificationFilter) {
2945
+ countSpecifications(filter: $filter) {
2946
+ count
2947
+ }
2948
+ }
2949
+ `;
2405
2950
  exports.CreateSpecification = (0, graphql_tag_1.default) `
2406
2951
  mutation CreateSpecification($specification: SpecificationInput!) {
2407
2952
  createSpecification(specification: $specification) {
@@ -2413,6 +2958,18 @@ exports.CreateSpecification = (0, graphql_tag_1.default) `
2413
2958
  }
2414
2959
  }
2415
2960
  `;
2961
+ exports.DeleteAllSpecifications = (0, graphql_tag_1.default) `
2962
+ mutation DeleteAllSpecifications($filter: SpecificationFilter, $isSynchronous: Boolean, $correlationId: String) {
2963
+ deleteAllSpecifications(
2964
+ filter: $filter
2965
+ isSynchronous: $isSynchronous
2966
+ correlationId: $correlationId
2967
+ ) {
2968
+ id
2969
+ state
2970
+ }
2971
+ }
2972
+ `;
2416
2973
  exports.DeleteSpecification = (0, graphql_tag_1.default) `
2417
2974
  mutation DeleteSpecification($id: ID!) {
2418
2975
  deleteSpecification(id: $id) {
@@ -2421,6 +2978,14 @@ exports.DeleteSpecification = (0, graphql_tag_1.default) `
2421
2978
  }
2422
2979
  }
2423
2980
  `;
2981
+ exports.DeleteSpecifications = (0, graphql_tag_1.default) `
2982
+ mutation DeleteSpecifications($ids: [ID!]!, $isSynchronous: Boolean) {
2983
+ deleteSpecifications(ids: $ids, isSynchronous: $isSynchronous) {
2984
+ id
2985
+ state
2986
+ }
2987
+ }
2988
+ `;
2424
2989
  exports.GetSpecification = (0, graphql_tag_1.default) `
2425
2990
  query GetSpecification($id: ID!) {
2426
2991
  specification(id: $id) {
@@ -2435,6 +3000,9 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
2435
3000
  serviceType
2436
3001
  systemPrompt
2437
3002
  customGuidance
3003
+ customInstructions
3004
+ searchType
3005
+ numberSimilar
2438
3006
  strategy {
2439
3007
  type
2440
3008
  messageLimit
@@ -2472,6 +3040,15 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
2472
3040
  temperature
2473
3041
  probability
2474
3042
  }
3043
+ cohere {
3044
+ tokenLimit
3045
+ completionTokenLimit
3046
+ model
3047
+ key
3048
+ modelName
3049
+ temperature
3050
+ probability
3051
+ }
2475
3052
  anthropic {
2476
3053
  tokenLimit
2477
3054
  completionTokenLimit
@@ -2512,6 +3089,13 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
2512
3089
  citations {
2513
3090
  content {
2514
3091
  id
3092
+ name
3093
+ state
3094
+ type
3095
+ fileType
3096
+ fileName
3097
+ originalDate
3098
+ uri
2515
3099
  }
2516
3100
  index
2517
3101
  text
@@ -2546,6 +3130,9 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
2546
3130
  serviceType
2547
3131
  systemPrompt
2548
3132
  customGuidance
3133
+ customInstructions
3134
+ searchType
3135
+ numberSimilar
2549
3136
  strategy {
2550
3137
  type
2551
3138
  messageLimit
@@ -2583,6 +3170,15 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
2583
3170
  temperature
2584
3171
  probability
2585
3172
  }
3173
+ cohere {
3174
+ tokenLimit
3175
+ completionTokenLimit
3176
+ model
3177
+ key
3178
+ modelName
3179
+ temperature
3180
+ probability
3181
+ }
2586
3182
  anthropic {
2587
3183
  tokenLimit
2588
3184
  completionTokenLimit
@@ -2622,6 +3218,13 @@ exports.UpdateSpecification = (0, graphql_tag_1.default) `
2622
3218
  }
2623
3219
  }
2624
3220
  `;
3221
+ exports.CountWorkflows = (0, graphql_tag_1.default) `
3222
+ query CountWorkflows($filter: WorkflowFilter) {
3223
+ countWorkflows(filter: $filter) {
3224
+ count
3225
+ }
3226
+ }
3227
+ `;
2625
3228
  exports.CreateWorkflow = (0, graphql_tag_1.default) `
2626
3229
  mutation CreateWorkflow($workflow: WorkflowInput!) {
2627
3230
  createWorkflow(workflow: $workflow) {
@@ -2686,6 +3289,7 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
2686
3289
  openAIImage {
2687
3290
  confidenceThreshold
2688
3291
  detailLevel
3292
+ customInstructions
2689
3293
  }
2690
3294
  modelText {
2691
3295
  specification {
@@ -2728,8 +3332,12 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
2728
3332
  }
2729
3333
  `;
2730
3334
  exports.DeleteAllWorkflows = (0, graphql_tag_1.default) `
2731
- mutation DeleteAllWorkflows {
2732
- deleteAllWorkflows {
3335
+ mutation DeleteAllWorkflows($filter: WorkflowFilter, $isSynchronous: Boolean, $correlationId: String) {
3336
+ deleteAllWorkflows(
3337
+ filter: $filter
3338
+ isSynchronous: $isSynchronous
3339
+ correlationId: $correlationId
3340
+ ) {
2733
3341
  id
2734
3342
  state
2735
3343
  }
@@ -2744,8 +3352,8 @@ exports.DeleteWorkflow = (0, graphql_tag_1.default) `
2744
3352
  }
2745
3353
  `;
2746
3354
  exports.DeleteWorkflows = (0, graphql_tag_1.default) `
2747
- mutation DeleteWorkflows($ids: [ID!]!) {
2748
- deleteWorkflows(ids: $ids) {
3355
+ mutation DeleteWorkflows($ids: [ID!]!, $isSynchronous: Boolean) {
3356
+ deleteWorkflows(ids: $ids, isSynchronous: $isSynchronous) {
2749
3357
  id
2750
3358
  state
2751
3359
  }
@@ -2819,6 +3427,7 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
2819
3427
  openAIImage {
2820
3428
  confidenceThreshold
2821
3429
  detailLevel
3430
+ customInstructions
2822
3431
  }
2823
3432
  modelText {
2824
3433
  specification {
@@ -2929,6 +3538,7 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
2929
3538
  openAIImage {
2930
3539
  confidenceThreshold
2931
3540
  detailLevel
3541
+ customInstructions
2932
3542
  }
2933
3543
  modelText {
2934
3544
  specification {
@@ -3035,6 +3645,7 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
3035
3645
  openAIImage {
3036
3646
  confidenceThreshold
3037
3647
  detailLevel
3648
+ customInstructions
3038
3649
  }
3039
3650
  modelText {
3040
3651
  specification {