graphlit-client 1.0.20240426001 → 1.0.20240505001

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.SuggestConversation = 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.CreateCategory = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = void 0;
7
- exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.CreateProduct = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.CreatePlace = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.CreatePerson = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.CreateOrganization = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = 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.CreateEvent = exports.UpdateConversation = 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.QuerySoftware = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.CreateSoftware = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.CreateRepo = exports.Usage = exports.UpdateProject = exports.Project = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.Credits = 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) {
@@ -217,9 +236,21 @@ exports.CreateCategory = (0, graphql_tag_1.default) `
217
236
  }
218
237
  }
219
238
  `;
239
+ exports.DeleteAllCategories = (0, graphql_tag_1.default) `
240
+ mutation DeleteAllCategories($filter: CategoryFilter, $isSynchronous: Boolean, $correlationId: String) {
241
+ deleteAllCategories(
242
+ filter: $filter
243
+ isSynchronous: $isSynchronous
244
+ correlationId: $correlationId
245
+ ) {
246
+ id
247
+ state
248
+ }
249
+ }
250
+ `;
220
251
  exports.DeleteCategories = (0, graphql_tag_1.default) `
221
- mutation DeleteCategories($ids: [ID!]!) {
222
- deleteCategories(ids: $ids) {
252
+ mutation DeleteCategories($ids: [ID!]!, $isSynchronous: Boolean) {
253
+ deleteCategories(ids: $ids, isSynchronous: $isSynchronous) {
223
254
  id
224
255
  state
225
256
  }
@@ -238,15 +269,19 @@ exports.GetCategory = (0, graphql_tag_1.default) `
238
269
  category(id: $id) {
239
270
  id
240
271
  name
272
+ description
273
+ creationDate
241
274
  }
242
275
  }
243
276
  `;
244
277
  exports.QueryCategories = (0, graphql_tag_1.default) `
245
- query QueryCategories($filter: CategoryFilter!) {
278
+ query QueryCategories($filter: CategoryFilter) {
246
279
  categories(filter: $filter) {
247
280
  results {
248
281
  id
249
282
  name
283
+ description
284
+ creationDate
250
285
  }
251
286
  }
252
287
  }
@@ -273,6 +308,13 @@ exports.AddContentsToCollections = (0, graphql_tag_1.default) `
273
308
  }
274
309
  }
275
310
  `;
311
+ exports.CountCollections = (0, graphql_tag_1.default) `
312
+ query CountCollections($filter: CollectionFilter) {
313
+ countCollections(filter: $filter) {
314
+ count
315
+ }
316
+ }
317
+ `;
276
318
  exports.CreateCollection = (0, graphql_tag_1.default) `
277
319
  mutation CreateCollection($collection: CollectionInput!) {
278
320
  createCollection(collection: $collection) {
@@ -284,8 +326,12 @@ exports.CreateCollection = (0, graphql_tag_1.default) `
284
326
  }
285
327
  `;
286
328
  exports.DeleteAllCollections = (0, graphql_tag_1.default) `
287
- mutation DeleteAllCollections {
288
- deleteAllCollections {
329
+ mutation DeleteAllCollections($filter: CollectionFilter, $isSynchronous: Boolean, $correlationId: String) {
330
+ deleteAllCollections(
331
+ filter: $filter
332
+ isSynchronous: $isSynchronous
333
+ correlationId: $correlationId
334
+ ) {
289
335
  id
290
336
  state
291
337
  }
@@ -300,8 +346,8 @@ exports.DeleteCollection = (0, graphql_tag_1.default) `
300
346
  }
301
347
  `;
302
348
  exports.DeleteCollections = (0, graphql_tag_1.default) `
303
- mutation DeleteCollections($ids: [ID!]!) {
304
- deleteCollections(ids: $ids) {
349
+ mutation DeleteCollections($ids: [ID!]!, $isSynchronous: Boolean) {
350
+ deleteCollections(ids: $ids, isSynchronous: $isSynchronous) {
305
351
  id
306
352
  state
307
353
  }
@@ -369,9 +415,20 @@ exports.UpdateCollection = (0, graphql_tag_1.default) `
369
415
  }
370
416
  }
371
417
  `;
418
+ exports.CountContents = (0, graphql_tag_1.default) `
419
+ query CountContents($filter: ContentFilter) {
420
+ countContents(filter: $filter) {
421
+ count
422
+ }
423
+ }
424
+ `;
372
425
  exports.DeleteAllContents = (0, graphql_tag_1.default) `
373
- mutation DeleteAllContents {
374
- deleteAllContents {
426
+ mutation DeleteAllContents($filter: ContentFilter, $isSynchronous: Boolean, $correlationId: String) {
427
+ deleteAllContents(
428
+ filter: $filter
429
+ isSynchronous: $isSynchronous
430
+ correlationId: $correlationId
431
+ ) {
375
432
  id
376
433
  state
377
434
  }
@@ -386,8 +443,8 @@ exports.DeleteContent = (0, graphql_tag_1.default) `
386
443
  }
387
444
  `;
388
445
  exports.DeleteContents = (0, graphql_tag_1.default) `
389
- mutation DeleteContents($ids: [ID!]!) {
390
- deleteContents(ids: $ids) {
446
+ mutation DeleteContents($ids: [ID!]!, $isSynchronous: Boolean) {
447
+ deleteContents(ids: $ids, isSynchronous: $isSynchronous) {
391
448
  id
392
449
  state
393
450
  }
@@ -420,7 +477,6 @@ exports.GetContent = (0, graphql_tag_1.default) `
420
477
  content(id: $id) {
421
478
  id
422
479
  name
423
- description
424
480
  creationDate
425
481
  owner {
426
482
  id
@@ -430,6 +486,19 @@ exports.GetContent = (0, graphql_tag_1.default) `
430
486
  finishedDate
431
487
  workflowDuration
432
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
+ }
433
502
  type
434
503
  fileType
435
504
  mimeType
@@ -444,9 +513,13 @@ exports.GetContent = (0, graphql_tag_1.default) `
444
513
  width
445
514
  height
446
515
  duration
447
- software
448
516
  make
449
517
  model
518
+ software
519
+ title
520
+ description
521
+ keywords
522
+ author
450
523
  }
451
524
  audio {
452
525
  keywords
@@ -460,6 +533,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
460
533
  language
461
534
  genre
462
535
  title
536
+ description
463
537
  bitrate
464
538
  channels
465
539
  sampleRate
@@ -469,20 +543,31 @@ exports.GetContent = (0, graphql_tag_1.default) `
469
543
  image {
470
544
  width
471
545
  height
546
+ resolutionX
547
+ resolutionY
548
+ bitsPerComponent
549
+ components
550
+ projectionType
551
+ orientation
472
552
  description
473
- software
474
- identifier
475
553
  make
476
554
  model
555
+ software
556
+ lens
557
+ focalLength
558
+ exposureTime
559
+ fNumber
560
+ iso
561
+ heading
562
+ pitch
477
563
  }
478
564
  document {
479
565
  title
480
566
  subject
567
+ summary
481
568
  author
482
- software
483
569
  publisher
484
570
  description
485
- summary
486
571
  keywords
487
572
  pageCount
488
573
  worksheetCount
@@ -490,53 +575,78 @@ exports.GetContent = (0, graphql_tag_1.default) `
490
575
  wordCount
491
576
  lineCount
492
577
  paragraphCount
493
- characterCount
494
578
  isEncrypted
495
579
  hasDigitalSignature
496
580
  }
497
581
  email {
498
- subject
499
582
  identifier
583
+ subject
584
+ labels
500
585
  sensitivity
501
586
  priority
502
587
  importance
503
- labels
504
588
  from {
505
589
  name
506
- familyName
507
- givenName
508
590
  email
591
+ givenName
592
+ familyName
509
593
  }
510
594
  to {
511
595
  name
512
- familyName
513
- givenName
514
596
  email
597
+ givenName
598
+ familyName
515
599
  }
516
600
  cc {
517
601
  name
518
- familyName
519
- givenName
520
602
  email
603
+ givenName
604
+ familyName
521
605
  }
522
606
  bcc {
523
607
  name
524
- familyName
525
- givenName
526
608
  email
609
+ givenName
610
+ familyName
527
611
  }
528
612
  }
529
613
  issue {
614
+ identifier
530
615
  title
531
616
  project
532
617
  team
533
618
  status
534
619
  priority
535
620
  type
536
- identifier
537
621
  labels
538
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
+ }
539
648
  observations {
649
+ id
540
650
  type
541
651
  observable {
542
652
  id
@@ -545,36 +655,40 @@ exports.GetContent = (0, graphql_tag_1.default) `
545
655
  occurrences {
546
656
  type
547
657
  confidence
658
+ startTime
659
+ endTime
660
+ pageIndex
548
661
  boundingBox {
549
662
  left
550
663
  top
551
664
  width
552
665
  height
553
666
  }
554
- pageIndex
555
- startTime
556
- endTime
557
667
  }
558
- }
559
- parent {
560
- id
561
- }
562
- children {
563
- id
564
- }
565
- collections {
566
- id
567
- }
568
- feed {
569
- id
668
+ state
570
669
  }
571
670
  workflow {
572
671
  id
672
+ name
573
673
  }
574
- markdown
575
- links {
576
- uri
577
- 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
578
692
  }
579
693
  error
580
694
  }
@@ -599,11 +713,15 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
599
713
  fileType
600
714
  mimeType
601
715
  uri
716
+ collections {
717
+ id
718
+ name
719
+ }
602
720
  }
603
721
  }
604
722
  `;
605
723
  exports.IngestText = (0, graphql_tag_1.default) `
606
- 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) {
607
725
  ingestText(
608
726
  name: $name
609
727
  text: $text
@@ -611,8 +729,8 @@ exports.IngestText = (0, graphql_tag_1.default) `
611
729
  uri: $uri
612
730
  id: $id
613
731
  isSynchronous: $isSynchronous
614
- collections: $collections
615
732
  workflow: $workflow
733
+ collections: $collections
616
734
  correlationId: $correlationId
617
735
  ) {
618
736
  id
@@ -622,17 +740,21 @@ exports.IngestText = (0, graphql_tag_1.default) `
622
740
  fileType
623
741
  mimeType
624
742
  uri
743
+ collections {
744
+ id
745
+ name
746
+ }
625
747
  }
626
748
  }
627
749
  `;
628
750
  exports.IngestUri = (0, graphql_tag_1.default) `
629
- 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) {
630
752
  ingestUri(
631
753
  name: $name
632
754
  uri: $uri
633
755
  id: $id
634
- collections: $collections
635
756
  workflow: $workflow
757
+ collections: $collections
636
758
  isSynchronous: $isSynchronous
637
759
  correlationId: $correlationId
638
760
  ) {
@@ -643,6 +765,10 @@ exports.IngestUri = (0, graphql_tag_1.default) `
643
765
  fileType
644
766
  mimeType
645
767
  uri
768
+ collections {
769
+ id
770
+ name
771
+ }
646
772
  }
647
773
  }
648
774
  `;
@@ -654,18 +780,18 @@ exports.IsContentDone = (0, graphql_tag_1.default) `
654
780
  }
655
781
  `;
656
782
  exports.PublishContents = (0, graphql_tag_1.default) `
657
- 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) {
658
784
  publishContents(
659
785
  summaryPrompt: $summaryPrompt
660
786
  publishPrompt: $publishPrompt
661
787
  connector: $connector
662
788
  filter: $filter
789
+ isSynchronous: $isSynchronous
663
790
  correlationId: $correlationId
664
791
  name: $name
665
792
  summarySpecification: $summarySpecification
666
793
  publishSpecification: $publishSpecification
667
794
  workflow: $workflow
668
- isSynchronous: $isSynchronous
669
795
  ) {
670
796
  id
671
797
  name
@@ -674,6 +800,10 @@ exports.PublishContents = (0, graphql_tag_1.default) `
674
800
  fileType
675
801
  mimeType
676
802
  uri
803
+ collections {
804
+ id
805
+ name
806
+ }
677
807
  textUri
678
808
  audioUri
679
809
  markdown
@@ -681,15 +811,15 @@ exports.PublishContents = (0, graphql_tag_1.default) `
681
811
  }
682
812
  `;
683
813
  exports.PublishText = (0, graphql_tag_1.default) `
684
- 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) {
685
815
  publishText(
686
816
  text: $text
687
817
  textType: $textType
688
818
  connector: $connector
819
+ isSynchronous: $isSynchronous
689
820
  correlationId: $correlationId
690
821
  name: $name
691
822
  workflow: $workflow
692
- isSynchronous: $isSynchronous
693
823
  ) {
694
824
  id
695
825
  name
@@ -698,32 +828,18 @@ exports.PublishText = (0, graphql_tag_1.default) `
698
828
  fileType
699
829
  mimeType
700
830
  uri
831
+ collections {
832
+ id
833
+ name
834
+ }
701
835
  textUri
702
836
  audioUri
703
837
  markdown
704
838
  }
705
839
  }
706
840
  `;
707
- exports.QueryContentFacets = (0, graphql_tag_1.default) `
708
- query QueryContentFacets($filter: ContentFilter, $facets: [ContentFacetInput!]) {
709
- contents(filter: $filter, facets: $facets) {
710
- facets {
711
- facet
712
- type
713
- observable {
714
- type
715
- observable {
716
- id
717
- name
718
- }
719
- }
720
- count
721
- }
722
- }
723
- }
724
- `;
725
841
  exports.QueryContents = (0, graphql_tag_1.default) `
726
- query QueryContents($filter: ContentFilter) {
842
+ query QueryContents($filter: ContentFilter!) {
727
843
  contents(filter: $filter) {
728
844
  results {
729
845
  id
@@ -737,6 +853,19 @@ exports.QueryContents = (0, graphql_tag_1.default) `
737
853
  finishedDate
738
854
  workflowDuration
739
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
+ }
740
869
  type
741
870
  fileType
742
871
  mimeType
@@ -747,6 +876,168 @@ exports.QueryContents = (0, graphql_tag_1.default) `
747
876
  textUri
748
877
  audioUri
749
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
+ }
750
1041
  pages {
751
1042
  index
752
1043
  chunks {
@@ -766,13 +1057,60 @@ exports.QueryContents = (0, graphql_tag_1.default) `
766
1057
  text
767
1058
  relevance
768
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
769
1103
  video {
770
1104
  width
771
1105
  height
772
1106
  duration
773
- software
774
1107
  make
775
1108
  model
1109
+ software
1110
+ title
1111
+ description
1112
+ keywords
1113
+ author
776
1114
  }
777
1115
  audio {
778
1116
  keywords
@@ -786,6 +1124,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
786
1124
  language
787
1125
  genre
788
1126
  title
1127
+ description
789
1128
  bitrate
790
1129
  channels
791
1130
  sampleRate
@@ -795,20 +1134,31 @@ exports.QueryContents = (0, graphql_tag_1.default) `
795
1134
  image {
796
1135
  width
797
1136
  height
1137
+ resolutionX
1138
+ resolutionY
1139
+ bitsPerComponent
1140
+ components
1141
+ projectionType
1142
+ orientation
798
1143
  description
799
- software
800
- identifier
801
1144
  make
802
1145
  model
1146
+ software
1147
+ lens
1148
+ focalLength
1149
+ exposureTime
1150
+ fNumber
1151
+ iso
1152
+ heading
1153
+ pitch
803
1154
  }
804
1155
  document {
805
1156
  title
806
1157
  subject
1158
+ summary
807
1159
  author
808
- software
809
1160
  publisher
810
1161
  description
811
- summary
812
1162
  keywords
813
1163
  pageCount
814
1164
  worksheetCount
@@ -816,53 +1166,78 @@ exports.QueryContents = (0, graphql_tag_1.default) `
816
1166
  wordCount
817
1167
  lineCount
818
1168
  paragraphCount
819
- characterCount
820
1169
  isEncrypted
821
1170
  hasDigitalSignature
822
1171
  }
823
1172
  email {
824
- subject
825
1173
  identifier
1174
+ subject
1175
+ labels
826
1176
  sensitivity
827
1177
  priority
828
1178
  importance
829
- labels
830
1179
  from {
831
1180
  name
832
- familyName
833
- givenName
834
1181
  email
1182
+ givenName
1183
+ familyName
835
1184
  }
836
1185
  to {
837
1186
  name
838
- familyName
839
- givenName
840
1187
  email
1188
+ givenName
1189
+ familyName
841
1190
  }
842
1191
  cc {
843
1192
  name
844
- familyName
845
- givenName
846
1193
  email
1194
+ givenName
1195
+ familyName
847
1196
  }
848
1197
  bcc {
849
1198
  name
850
- familyName
851
- givenName
852
1199
  email
1200
+ givenName
1201
+ familyName
853
1202
  }
854
1203
  }
855
1204
  issue {
1205
+ identifier
856
1206
  title
857
1207
  project
858
1208
  team
859
1209
  status
860
1210
  priority
861
1211
  type
862
- identifier
863
1212
  labels
864
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
+ }
865
1239
  observations {
1240
+ id
866
1241
  type
867
1242
  observable {
868
1243
  id
@@ -871,38 +1246,77 @@ exports.QueryContents = (0, graphql_tag_1.default) `
871
1246
  occurrences {
872
1247
  type
873
1248
  confidence
1249
+ startTime
1250
+ endTime
1251
+ pageIndex
874
1252
  boundingBox {
875
1253
  left
876
1254
  top
877
1255
  width
878
1256
  height
879
1257
  }
880
- pageIndex
881
- startTime
882
- endTime
883
1258
  }
1259
+ state
884
1260
  }
885
- parent {
1261
+ workflow {
886
1262
  id
1263
+ name
887
1264
  }
888
- children {
889
- id
1265
+ pages {
1266
+ index
1267
+ chunks {
1268
+ index
1269
+ pageIndex
1270
+ rowIndex
1271
+ columnIndex
1272
+ confidence
1273
+ text
1274
+ role
1275
+ relevance
1276
+ }
890
1277
  }
891
- collections {
892
- id
1278
+ segments {
1279
+ startTime
1280
+ endTime
1281
+ text
1282
+ relevance
893
1283
  }
894
- feed {
895
- id
1284
+ error
1285
+ }
1286
+ facets {
1287
+ facet
1288
+ count
1289
+ type
1290
+ value
1291
+ range {
1292
+ from
1293
+ to
896
1294
  }
897
- 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 {
898
1311
  id
1312
+ name
1313
+ type
1314
+ metadata
899
1315
  }
900
- markdown
901
- links {
902
- uri
903
- linkType
1316
+ edges {
1317
+ from
1318
+ to
904
1319
  }
905
- error
906
1320
  }
907
1321
  }
908
1322
  }
@@ -940,6 +1354,10 @@ exports.UpdateContent = (0, graphql_tag_1.default) `
940
1354
  fileType
941
1355
  mimeType
942
1356
  uri
1357
+ collections {
1358
+ id
1359
+ name
1360
+ }
943
1361
  }
944
1362
  }
945
1363
  `;
@@ -963,6 +1381,13 @@ exports.CloseConversation = (0, graphql_tag_1.default) `
963
1381
  }
964
1382
  }
965
1383
  `;
1384
+ exports.CountConversations = (0, graphql_tag_1.default) `
1385
+ query CountConversations($filter: ConversationFilter) {
1386
+ countConversations(filter: $filter) {
1387
+ count
1388
+ }
1389
+ }
1390
+ `;
966
1391
  exports.CreateConversation = (0, graphql_tag_1.default) `
967
1392
  mutation CreateConversation($conversation: ConversationInput!, $correlationId: String) {
968
1393
  createConversation(conversation: $conversation, correlationId: $correlationId) {
@@ -974,8 +1399,12 @@ exports.CreateConversation = (0, graphql_tag_1.default) `
974
1399
  }
975
1400
  `;
976
1401
  exports.DeleteAllConversations = (0, graphql_tag_1.default) `
977
- mutation DeleteAllConversations {
978
- deleteAllConversations {
1402
+ mutation DeleteAllConversations($filter: ConversationFilter, $isSynchronous: Boolean, $correlationId: String) {
1403
+ deleteAllConversations(
1404
+ filter: $filter
1405
+ isSynchronous: $isSynchronous
1406
+ correlationId: $correlationId
1407
+ ) {
979
1408
  id
980
1409
  state
981
1410
  }
@@ -990,8 +1419,8 @@ exports.DeleteConversation = (0, graphql_tag_1.default) `
990
1419
  }
991
1420
  `;
992
1421
  exports.DeleteConversations = (0, graphql_tag_1.default) `
993
- mutation DeleteConversations($ids: [ID!]!) {
994
- deleteConversations(ids: $ids) {
1422
+ mutation DeleteConversations($ids: [ID!]!, $isSynchronous: Boolean) {
1423
+ deleteConversations(ids: $ids, isSynchronous: $isSynchronous) {
995
1424
  id
996
1425
  state
997
1426
  }
@@ -1016,6 +1445,13 @@ exports.GetConversation = (0, graphql_tag_1.default) `
1016
1445
  citations {
1017
1446
  content {
1018
1447
  id
1448
+ name
1449
+ state
1450
+ type
1451
+ fileType
1452
+ fileName
1453
+ originalDate
1454
+ uri
1019
1455
  }
1020
1456
  index
1021
1457
  text
@@ -1083,9 +1519,12 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
1083
1519
  content {
1084
1520
  id
1085
1521
  name
1522
+ state
1086
1523
  type
1087
1524
  fileType
1088
1525
  fileName
1526
+ originalDate
1527
+ uri
1089
1528
  }
1090
1529
  index
1091
1530
  text
@@ -1123,11 +1562,12 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
1123
1562
  }
1124
1563
  `;
1125
1564
  exports.PublishConversation = (0, graphql_tag_1.default) `
1126
- 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) {
1127
1566
  publishConversation(
1128
1567
  id: $id
1129
1568
  connector: $connector
1130
1569
  name: $name
1570
+ isSynchronous: $isSynchronous
1131
1571
  workflow: $workflow
1132
1572
  correlationId: $correlationId
1133
1573
  ) {
@@ -1138,6 +1578,10 @@ exports.PublishConversation = (0, graphql_tag_1.default) `
1138
1578
  fileType
1139
1579
  mimeType
1140
1580
  uri
1581
+ collections {
1582
+ id
1583
+ name
1584
+ }
1141
1585
  textUri
1142
1586
  audioUri
1143
1587
  markdown
@@ -1164,6 +1608,13 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
1164
1608
  citations {
1165
1609
  content {
1166
1610
  id
1611
+ name
1612
+ state
1613
+ type
1614
+ fileType
1615
+ fileName
1616
+ originalDate
1617
+ uri
1167
1618
  }
1168
1619
  index
1169
1620
  text
@@ -1235,6 +1686,13 @@ exports.UpdateConversation = (0, graphql_tag_1.default) `
1235
1686
  }
1236
1687
  }
1237
1688
  `;
1689
+ exports.CountEvents = (0, graphql_tag_1.default) `
1690
+ query CountEvents($filter: EventFilter) {
1691
+ countEvents(filter: $filter) {
1692
+ count
1693
+ }
1694
+ }
1695
+ `;
1238
1696
  exports.CreateEvent = (0, graphql_tag_1.default) `
1239
1697
  mutation CreateEvent($event: EventInput!) {
1240
1698
  createEvent(event: $event) {
@@ -1243,6 +1701,18 @@ exports.CreateEvent = (0, graphql_tag_1.default) `
1243
1701
  }
1244
1702
  }
1245
1703
  `;
1704
+ exports.DeleteAllEvents = (0, graphql_tag_1.default) `
1705
+ mutation DeleteAllEvents($filter: EventFilter, $isSynchronous: Boolean, $correlationId: String) {
1706
+ deleteAllEvents(
1707
+ filter: $filter
1708
+ isSynchronous: $isSynchronous
1709
+ correlationId: $correlationId
1710
+ ) {
1711
+ id
1712
+ state
1713
+ }
1714
+ }
1715
+ `;
1246
1716
  exports.DeleteEvent = (0, graphql_tag_1.default) `
1247
1717
  mutation DeleteEvent($id: ID!) {
1248
1718
  deleteEvent(id: $id) {
@@ -1252,8 +1722,8 @@ exports.DeleteEvent = (0, graphql_tag_1.default) `
1252
1722
  }
1253
1723
  `;
1254
1724
  exports.DeleteEvents = (0, graphql_tag_1.default) `
1255
- mutation DeleteEvents($ids: [ID!]!) {
1256
- deleteEvents(ids: $ids) {
1725
+ mutation DeleteEvents($ids: [ID!]!, $isSynchronous: Boolean) {
1726
+ deleteEvents(ids: $ids, isSynchronous: $isSynchronous) {
1257
1727
  id
1258
1728
  state
1259
1729
  }
@@ -1266,23 +1736,51 @@ exports.GetEvent = (0, graphql_tag_1.default) `
1266
1736
  name
1267
1737
  alternateNames
1268
1738
  creationDate
1739
+ address {
1740
+ streetAddress
1741
+ city
1742
+ region
1743
+ country
1744
+ postalCode
1745
+ }
1269
1746
  startDate
1270
1747
  endDate
1748
+ availabilityStartDate
1749
+ availabilityEndDate
1271
1750
  price
1751
+ minPrice
1752
+ maxPrice
1753
+ priceCurrency
1754
+ isAccessibleForFree
1755
+ typicalAgeRange
1272
1756
  }
1273
1757
  }
1274
1758
  `;
1275
1759
  exports.QueryEvents = (0, graphql_tag_1.default) `
1276
- query QueryEvents($filter: EventFilter!) {
1760
+ query QueryEvents($filter: EventFilter) {
1277
1761
  events(filter: $filter) {
1278
1762
  results {
1279
1763
  id
1280
1764
  name
1281
1765
  alternateNames
1282
1766
  creationDate
1767
+ address {
1768
+ streetAddress
1769
+ city
1770
+ region
1771
+ country
1772
+ postalCode
1773
+ }
1283
1774
  startDate
1284
1775
  endDate
1776
+ availabilityStartDate
1777
+ availabilityEndDate
1285
1778
  price
1779
+ minPrice
1780
+ maxPrice
1781
+ priceCurrency
1782
+ isAccessibleForFree
1783
+ typicalAgeRange
1286
1784
  }
1287
1785
  }
1288
1786
  }
@@ -1295,6 +1793,13 @@ exports.UpdateEvent = (0, graphql_tag_1.default) `
1295
1793
  }
1296
1794
  }
1297
1795
  `;
1796
+ exports.CountFeeds = (0, graphql_tag_1.default) `
1797
+ query CountFeeds($filter: FeedFilter) {
1798
+ countFeeds(filter: $filter) {
1799
+ count
1800
+ }
1801
+ }
1802
+ `;
1298
1803
  exports.CreateFeed = (0, graphql_tag_1.default) `
1299
1804
  mutation CreateFeed($feed: FeedInput!, $correlationId: String) {
1300
1805
  createFeed(feed: $feed, correlationId: $correlationId) {
@@ -1306,8 +1811,12 @@ exports.CreateFeed = (0, graphql_tag_1.default) `
1306
1811
  }
1307
1812
  `;
1308
1813
  exports.DeleteAllFeeds = (0, graphql_tag_1.default) `
1309
- mutation DeleteAllFeeds {
1310
- deleteAllFeeds {
1814
+ mutation DeleteAllFeeds($filter: FeedFilter, $isSynchronous: Boolean, $correlationId: String) {
1815
+ deleteAllFeeds(
1816
+ filter: $filter
1817
+ isSynchronous: $isSynchronous
1818
+ correlationId: $correlationId
1819
+ ) {
1311
1820
  id
1312
1821
  state
1313
1822
  }
@@ -1322,8 +1831,8 @@ exports.DeleteFeed = (0, graphql_tag_1.default) `
1322
1831
  }
1323
1832
  `;
1324
1833
  exports.DeleteFeeds = (0, graphql_tag_1.default) `
1325
- mutation DeleteFeeds($ids: [ID!]!) {
1326
- deleteFeeds(ids: $ids) {
1834
+ mutation DeleteFeeds($ids: [ID!]!, $isSynchronous: Boolean) {
1835
+ deleteFeeds(ids: $ids, isSynchronous: $isSynchronous) {
1327
1836
  id
1328
1837
  state
1329
1838
  }
@@ -1656,6 +2165,13 @@ exports.UpdateFeed = (0, graphql_tag_1.default) `
1656
2165
  }
1657
2166
  }
1658
2167
  `;
2168
+ exports.CountLabels = (0, graphql_tag_1.default) `
2169
+ query CountLabels($filter: LabelFilter) {
2170
+ countLabels(filter: $filter) {
2171
+ count
2172
+ }
2173
+ }
2174
+ `;
1659
2175
  exports.CreateLabel = (0, graphql_tag_1.default) `
1660
2176
  mutation CreateLabel($label: LabelInput!) {
1661
2177
  createLabel(label: $label) {
@@ -1664,6 +2180,18 @@ exports.CreateLabel = (0, graphql_tag_1.default) `
1664
2180
  }
1665
2181
  }
1666
2182
  `;
2183
+ exports.DeleteAllLabels = (0, graphql_tag_1.default) `
2184
+ mutation DeleteAllLabels($filter: LabelFilter, $isSynchronous: Boolean, $correlationId: String) {
2185
+ deleteAllLabels(
2186
+ filter: $filter
2187
+ isSynchronous: $isSynchronous
2188
+ correlationId: $correlationId
2189
+ ) {
2190
+ id
2191
+ state
2192
+ }
2193
+ }
2194
+ `;
1667
2195
  exports.DeleteLabel = (0, graphql_tag_1.default) `
1668
2196
  mutation DeleteLabel($id: ID!) {
1669
2197
  deleteLabel(id: $id) {
@@ -1673,8 +2201,8 @@ exports.DeleteLabel = (0, graphql_tag_1.default) `
1673
2201
  }
1674
2202
  `;
1675
2203
  exports.DeleteLabels = (0, graphql_tag_1.default) `
1676
- mutation DeleteLabels($ids: [ID!]!) {
1677
- deleteLabels(ids: $ids) {
2204
+ mutation DeleteLabels($ids: [ID!]!, $isSynchronous: Boolean) {
2205
+ deleteLabels(ids: $ids, isSynchronous: $isSynchronous) {
1678
2206
  id
1679
2207
  state
1680
2208
  }
@@ -1685,15 +2213,19 @@ exports.GetLabel = (0, graphql_tag_1.default) `
1685
2213
  label(id: $id) {
1686
2214
  id
1687
2215
  name
2216
+ description
2217
+ creationDate
1688
2218
  }
1689
2219
  }
1690
2220
  `;
1691
2221
  exports.QueryLabels = (0, graphql_tag_1.default) `
1692
- query QueryLabels($filter: LabelFilter!) {
2222
+ query QueryLabels($filter: LabelFilter) {
1693
2223
  labels(filter: $filter) {
1694
2224
  results {
1695
2225
  id
1696
2226
  name
2227
+ description
2228
+ creationDate
1697
2229
  }
1698
2230
  }
1699
2231
  }
@@ -1730,17 +2262,30 @@ exports.UpdateObservation = (0, graphql_tag_1.default) `
1730
2262
  }
1731
2263
  }
1732
2264
  `;
2265
+ exports.CountOrganizations = (0, graphql_tag_1.default) `
2266
+ query CountOrganizations($filter: OrganizationFilter) {
2267
+ countOrganizations(filter: $filter) {
2268
+ count
2269
+ }
2270
+ }
2271
+ `;
1733
2272
  exports.CreateOrganization = (0, graphql_tag_1.default) `
1734
2273
  mutation CreateOrganization($organization: OrganizationInput!) {
1735
2274
  createOrganization(organization: $organization) {
1736
2275
  id
1737
2276
  name
1738
- foundingDate
1739
- industries
1740
- revenue
1741
- revenueCurrency
1742
- investment
1743
- investmentCurrency
2277
+ }
2278
+ }
2279
+ `;
2280
+ exports.DeleteAllOrganizations = (0, graphql_tag_1.default) `
2281
+ mutation DeleteAllOrganizations($filter: OrganizationFilter, $isSynchronous: Boolean, $correlationId: String) {
2282
+ deleteAllOrganizations(
2283
+ filter: $filter
2284
+ isSynchronous: $isSynchronous
2285
+ correlationId: $correlationId
2286
+ ) {
2287
+ id
2288
+ state
1744
2289
  }
1745
2290
  }
1746
2291
  `;
@@ -1753,8 +2298,8 @@ exports.DeleteOrganization = (0, graphql_tag_1.default) `
1753
2298
  }
1754
2299
  `;
1755
2300
  exports.DeleteOrganizations = (0, graphql_tag_1.default) `
1756
- mutation DeleteOrganizations($ids: [ID!]!) {
1757
- deleteOrganizations(ids: $ids) {
2301
+ mutation DeleteOrganizations($ids: [ID!]!, $isSynchronous: Boolean) {
2302
+ deleteOrganizations(ids: $ids, isSynchronous: $isSynchronous) {
1758
2303
  id
1759
2304
  state
1760
2305
  }
@@ -1767,6 +2312,13 @@ exports.GetOrganization = (0, graphql_tag_1.default) `
1767
2312
  name
1768
2313
  alternateNames
1769
2314
  creationDate
2315
+ address {
2316
+ streetAddress
2317
+ city
2318
+ region
2319
+ country
2320
+ postalCode
2321
+ }
1770
2322
  foundingDate
1771
2323
  industries
1772
2324
  revenue
@@ -1777,13 +2329,20 @@ exports.GetOrganization = (0, graphql_tag_1.default) `
1777
2329
  }
1778
2330
  `;
1779
2331
  exports.QueryOrganizations = (0, graphql_tag_1.default) `
1780
- query QueryOrganizations($filter: OrganizationFilter!) {
2332
+ query QueryOrganizations($filter: OrganizationFilter) {
1781
2333
  organizations(filter: $filter) {
1782
2334
  results {
1783
2335
  id
1784
2336
  name
1785
2337
  alternateNames
1786
2338
  creationDate
2339
+ address {
2340
+ streetAddress
2341
+ city
2342
+ region
2343
+ country
2344
+ postalCode
2345
+ }
1787
2346
  foundingDate
1788
2347
  industries
1789
2348
  revenue
@@ -1799,12 +2358,13 @@ exports.UpdateOrganization = (0, graphql_tag_1.default) `
1799
2358
  updateOrganization(organization: $organization) {
1800
2359
  id
1801
2360
  name
1802
- foundingDate
1803
- industries
1804
- revenue
1805
- revenueCurrency
1806
- investment
1807
- investmentCurrency
2361
+ }
2362
+ }
2363
+ `;
2364
+ exports.CountPersons = (0, graphql_tag_1.default) `
2365
+ query CountPersons($filter: PersonFilter) {
2366
+ countPersons(filter: $filter) {
2367
+ count
1808
2368
  }
1809
2369
  }
1810
2370
  `;
@@ -1816,6 +2376,18 @@ exports.CreatePerson = (0, graphql_tag_1.default) `
1816
2376
  }
1817
2377
  }
1818
2378
  `;
2379
+ exports.DeleteAllPersons = (0, graphql_tag_1.default) `
2380
+ mutation DeleteAllPersons($filter: PersonFilter, $isSynchronous: Boolean, $correlationId: String) {
2381
+ deleteAllPersons(
2382
+ filter: $filter
2383
+ isSynchronous: $isSynchronous
2384
+ correlationId: $correlationId
2385
+ ) {
2386
+ id
2387
+ state
2388
+ }
2389
+ }
2390
+ `;
1819
2391
  exports.DeletePerson = (0, graphql_tag_1.default) `
1820
2392
  mutation DeletePerson($id: ID!) {
1821
2393
  deletePerson(id: $id) {
@@ -1825,8 +2397,8 @@ exports.DeletePerson = (0, graphql_tag_1.default) `
1825
2397
  }
1826
2398
  `;
1827
2399
  exports.DeletePersons = (0, graphql_tag_1.default) `
1828
- mutation DeletePersons($ids: [ID!]!) {
1829
- deletePersons(ids: $ids) {
2400
+ mutation DeletePersons($ids: [ID!]!, $isSynchronous: Boolean) {
2401
+ deletePersons(ids: $ids, isSynchronous: $isSynchronous) {
1830
2402
  id
1831
2403
  state
1832
2404
  }
@@ -1839,23 +2411,47 @@ exports.GetPerson = (0, graphql_tag_1.default) `
1839
2411
  name
1840
2412
  alternateNames
1841
2413
  creationDate
2414
+ address {
2415
+ streetAddress
2416
+ city
2417
+ region
2418
+ country
2419
+ postalCode
2420
+ }
1842
2421
  email
1843
2422
  givenName
1844
2423
  familyName
2424
+ phoneNumber
2425
+ birthDate
2426
+ title
2427
+ occupation
2428
+ education
1845
2429
  }
1846
2430
  }
1847
2431
  `;
1848
2432
  exports.QueryPersons = (0, graphql_tag_1.default) `
1849
- query QueryPersons($filter: PersonFilter!) {
2433
+ query QueryPersons($filter: PersonFilter) {
1850
2434
  persons(filter: $filter) {
1851
2435
  results {
1852
2436
  id
1853
2437
  name
1854
2438
  alternateNames
1855
2439
  creationDate
2440
+ address {
2441
+ streetAddress
2442
+ city
2443
+ region
2444
+ country
2445
+ postalCode
2446
+ }
1856
2447
  email
1857
2448
  givenName
1858
2449
  familyName
2450
+ phoneNumber
2451
+ birthDate
2452
+ title
2453
+ occupation
2454
+ education
1859
2455
  }
1860
2456
  }
1861
2457
  }
@@ -1868,6 +2464,13 @@ exports.UpdatePerson = (0, graphql_tag_1.default) `
1868
2464
  }
1869
2465
  }
1870
2466
  `;
2467
+ exports.CountPlaces = (0, graphql_tag_1.default) `
2468
+ query CountPlaces($filter: PlaceFilter) {
2469
+ countPlaces(filter: $filter) {
2470
+ count
2471
+ }
2472
+ }
2473
+ `;
1871
2474
  exports.CreatePlace = (0, graphql_tag_1.default) `
1872
2475
  mutation CreatePlace($place: PlaceInput!) {
1873
2476
  createPlace(place: $place) {
@@ -1876,6 +2479,18 @@ exports.CreatePlace = (0, graphql_tag_1.default) `
1876
2479
  }
1877
2480
  }
1878
2481
  `;
2482
+ exports.DeleteAllPlaces = (0, graphql_tag_1.default) `
2483
+ mutation DeleteAllPlaces($filter: PlaceFilter, $isSynchronous: Boolean, $correlationId: String) {
2484
+ deleteAllPlaces(
2485
+ filter: $filter
2486
+ isSynchronous: $isSynchronous
2487
+ correlationId: $correlationId
2488
+ ) {
2489
+ id
2490
+ state
2491
+ }
2492
+ }
2493
+ `;
1879
2494
  exports.DeletePlace = (0, graphql_tag_1.default) `
1880
2495
  mutation DeletePlace($id: ID!) {
1881
2496
  deletePlace(id: $id) {
@@ -1885,8 +2500,8 @@ exports.DeletePlace = (0, graphql_tag_1.default) `
1885
2500
  }
1886
2501
  `;
1887
2502
  exports.DeletePlaces = (0, graphql_tag_1.default) `
1888
- mutation DeletePlaces($ids: [ID!]!) {
1889
- deletePlaces(ids: $ids) {
2503
+ mutation DeletePlaces($ids: [ID!]!, $isSynchronous: Boolean) {
2504
+ deletePlaces(ids: $ids, isSynchronous: $isSynchronous) {
1890
2505
  id
1891
2506
  state
1892
2507
  }
@@ -1899,17 +2514,31 @@ exports.GetPlace = (0, graphql_tag_1.default) `
1899
2514
  name
1900
2515
  alternateNames
1901
2516
  creationDate
2517
+ address {
2518
+ streetAddress
2519
+ city
2520
+ region
2521
+ country
2522
+ postalCode
2523
+ }
1902
2524
  }
1903
2525
  }
1904
2526
  `;
1905
2527
  exports.QueryPlaces = (0, graphql_tag_1.default) `
1906
- query QueryPlaces($filter: PlaceFilter!) {
2528
+ query QueryPlaces($filter: PlaceFilter) {
1907
2529
  places(filter: $filter) {
1908
2530
  results {
1909
2531
  id
1910
2532
  name
1911
2533
  alternateNames
1912
2534
  creationDate
2535
+ address {
2536
+ streetAddress
2537
+ city
2538
+ region
2539
+ country
2540
+ postalCode
2541
+ }
1913
2542
  }
1914
2543
  }
1915
2544
  }
@@ -1922,6 +2551,13 @@ exports.UpdatePlace = (0, graphql_tag_1.default) `
1922
2551
  }
1923
2552
  }
1924
2553
  `;
2554
+ exports.CountProducts = (0, graphql_tag_1.default) `
2555
+ query CountProducts($filter: ProductFilter) {
2556
+ countProducts(filter: $filter) {
2557
+ count
2558
+ }
2559
+ }
2560
+ `;
1925
2561
  exports.CreateProduct = (0, graphql_tag_1.default) `
1926
2562
  mutation CreateProduct($product: ProductInput!) {
1927
2563
  createProduct(product: $product) {
@@ -1930,6 +2566,18 @@ exports.CreateProduct = (0, graphql_tag_1.default) `
1930
2566
  }
1931
2567
  }
1932
2568
  `;
2569
+ exports.DeleteAllProducts = (0, graphql_tag_1.default) `
2570
+ mutation DeleteAllProducts($filter: ProductFilter, $isSynchronous: Boolean, $correlationId: String) {
2571
+ deleteAllProducts(
2572
+ filter: $filter
2573
+ isSynchronous: $isSynchronous
2574
+ correlationId: $correlationId
2575
+ ) {
2576
+ id
2577
+ state
2578
+ }
2579
+ }
2580
+ `;
1933
2581
  exports.DeleteProduct = (0, graphql_tag_1.default) `
1934
2582
  mutation DeleteProduct($id: ID!) {
1935
2583
  deleteProduct(id: $id) {
@@ -1939,8 +2587,8 @@ exports.DeleteProduct = (0, graphql_tag_1.default) `
1939
2587
  }
1940
2588
  `;
1941
2589
  exports.DeleteProducts = (0, graphql_tag_1.default) `
1942
- mutation DeleteProducts($ids: [ID!]!) {
1943
- deleteProducts(ids: $ids) {
2590
+ mutation DeleteProducts($ids: [ID!]!, $isSynchronous: Boolean) {
2591
+ deleteProducts(ids: $ids, isSynchronous: $isSynchronous) {
1944
2592
  id
1945
2593
  state
1946
2594
  }
@@ -1953,6 +2601,13 @@ exports.GetProduct = (0, graphql_tag_1.default) `
1953
2601
  name
1954
2602
  alternateNames
1955
2603
  creationDate
2604
+ address {
2605
+ streetAddress
2606
+ city
2607
+ region
2608
+ country
2609
+ postalCode
2610
+ }
1956
2611
  manufacturer
1957
2612
  model
1958
2613
  brand
@@ -1964,13 +2619,20 @@ exports.GetProduct = (0, graphql_tag_1.default) `
1964
2619
  }
1965
2620
  `;
1966
2621
  exports.QueryProducts = (0, graphql_tag_1.default) `
1967
- query QueryProducts($filter: ProductFilter!) {
2622
+ query QueryProducts($filter: ProductFilter) {
1968
2623
  products(filter: $filter) {
1969
2624
  results {
1970
2625
  id
1971
2626
  name
1972
2627
  alternateNames
1973
2628
  creationDate
2629
+ address {
2630
+ streetAddress
2631
+ city
2632
+ region
2633
+ country
2634
+ postalCode
2635
+ }
1974
2636
  manufacturer
1975
2637
  model
1976
2638
  brand
@@ -1990,23 +2652,6 @@ exports.UpdateProduct = (0, graphql_tag_1.default) `
1990
2652
  }
1991
2653
  }
1992
2654
  `;
1993
- exports.Credits = (0, graphql_tag_1.default) `
1994
- query Credits($startDate: DateTime!, $duration: TimeSpan!) {
1995
- credits(startDate: $startDate, duration: $duration) {
1996
- correlationId
1997
- ownerId
1998
- credits
1999
- storageRatio
2000
- computeRatio
2001
- preparationRatio
2002
- extractionRatio
2003
- enrichmentRatio
2004
- publishingRatio
2005
- searchRatio
2006
- conversationRatio
2007
- }
2008
- }
2009
- `;
2010
2655
  exports.GetProject = (0, graphql_tag_1.default) `
2011
2656
  query GetProject {
2012
2657
  project {
@@ -2087,46 +2732,25 @@ exports.LookupUsage = (0, graphql_tag_1.default) `
2087
2732
  }
2088
2733
  }
2089
2734
  `;
2090
- exports.Project = (0, graphql_tag_1.default) `
2091
- query Project {
2092
- project {
2093
- id
2094
- name
2095
- creationDate
2096
- modifiedDate
2097
- state
2098
- environmentType
2099
- platform
2100
- region
2101
- workflow {
2102
- id
2103
- name
2104
- }
2105
- specification {
2106
- id
2107
- name
2108
- }
2109
- quota {
2110
- storage
2111
- contents
2112
- feeds
2113
- posts
2114
- conversations
2115
- }
2116
- callbackUri
2117
- }
2118
- }
2119
- `;
2120
- exports.UpdateProject = (0, graphql_tag_1.default) `
2121
- mutation UpdateProject($project: ProjectUpdateInput!) {
2122
- updateProject(project: $project) {
2123
- id
2124
- 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
2125
2749
  }
2126
2750
  }
2127
2751
  `;
2128
- exports.Usage = (0, graphql_tag_1.default) `
2129
- query Usage($startDate: DateTime!, $duration: TimeSpan!) {
2752
+ exports.QueryUsage = (0, graphql_tag_1.default) `
2753
+ query QueryUsage($startDate: DateTime!, $duration: TimeSpan!) {
2130
2754
  usage(startDate: $startDate, duration: $duration) {
2131
2755
  correlationId
2132
2756
  date
@@ -2158,6 +2782,21 @@ exports.Usage = (0, graphql_tag_1.default) `
2158
2782
  }
2159
2783
  }
2160
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
+ `;
2161
2800
  exports.CreateRepo = (0, graphql_tag_1.default) `
2162
2801
  mutation CreateRepo($repo: RepoInput!) {
2163
2802
  createRepo(repo: $repo) {
@@ -2166,6 +2805,18 @@ exports.CreateRepo = (0, graphql_tag_1.default) `
2166
2805
  }
2167
2806
  }
2168
2807
  `;
2808
+ exports.DeleteAllRepos = (0, graphql_tag_1.default) `
2809
+ mutation DeleteAllRepos($filter: RepoFilter, $isSynchronous: Boolean, $correlationId: String) {
2810
+ deleteAllRepos(
2811
+ filter: $filter
2812
+ isSynchronous: $isSynchronous
2813
+ correlationId: $correlationId
2814
+ ) {
2815
+ id
2816
+ state
2817
+ }
2818
+ }
2819
+ `;
2169
2820
  exports.DeleteRepo = (0, graphql_tag_1.default) `
2170
2821
  mutation DeleteRepo($id: ID!) {
2171
2822
  deleteRepo(id: $id) {
@@ -2175,8 +2826,8 @@ exports.DeleteRepo = (0, graphql_tag_1.default) `
2175
2826
  }
2176
2827
  `;
2177
2828
  exports.DeleteRepos = (0, graphql_tag_1.default) `
2178
- mutation DeleteRepos($ids: [ID!]!) {
2179
- deleteRepos(ids: $ids) {
2829
+ mutation DeleteRepos($ids: [ID!]!, $isSynchronous: Boolean) {
2830
+ deleteRepos(ids: $ids, isSynchronous: $isSynchronous) {
2180
2831
  id
2181
2832
  state
2182
2833
  }
@@ -2193,7 +2844,7 @@ exports.GetRepo = (0, graphql_tag_1.default) `
2193
2844
  }
2194
2845
  `;
2195
2846
  exports.QueryRepos = (0, graphql_tag_1.default) `
2196
- query QueryRepos($filter: RepoFilter!) {
2847
+ query QueryRepos($filter: RepoFilter) {
2197
2848
  repos(filter: $filter) {
2198
2849
  results {
2199
2850
  id
@@ -2212,6 +2863,13 @@ exports.UpdateRepo = (0, graphql_tag_1.default) `
2212
2863
  }
2213
2864
  }
2214
2865
  `;
2866
+ exports.CountSoftwares = (0, graphql_tag_1.default) `
2867
+ query CountSoftwares($filter: SoftwareFilter) {
2868
+ countSoftwares(filter: $filter) {
2869
+ count
2870
+ }
2871
+ }
2872
+ `;
2215
2873
  exports.CreateSoftware = (0, graphql_tag_1.default) `
2216
2874
  mutation CreateSoftware($software: SoftwareInput!) {
2217
2875
  createSoftware(software: $software) {
@@ -2220,6 +2878,18 @@ exports.CreateSoftware = (0, graphql_tag_1.default) `
2220
2878
  }
2221
2879
  }
2222
2880
  `;
2881
+ exports.DeleteAllSoftwares = (0, graphql_tag_1.default) `
2882
+ mutation DeleteAllSoftwares($filter: SoftwareFilter, $isSynchronous: Boolean, $correlationId: String) {
2883
+ deleteAllSoftwares(
2884
+ filter: $filter
2885
+ isSynchronous: $isSynchronous
2886
+ correlationId: $correlationId
2887
+ ) {
2888
+ id
2889
+ state
2890
+ }
2891
+ }
2892
+ `;
2223
2893
  exports.DeleteSoftware = (0, graphql_tag_1.default) `
2224
2894
  mutation DeleteSoftware($id: ID!) {
2225
2895
  deleteSoftware(id: $id) {
@@ -2229,8 +2899,8 @@ exports.DeleteSoftware = (0, graphql_tag_1.default) `
2229
2899
  }
2230
2900
  `;
2231
2901
  exports.DeleteSoftwares = (0, graphql_tag_1.default) `
2232
- mutation DeleteSoftwares($ids: [ID!]!) {
2233
- deleteSoftwares(ids: $ids) {
2902
+ mutation DeleteSoftwares($ids: [ID!]!, $isSynchronous: Boolean) {
2903
+ deleteSoftwares(ids: $ids, isSynchronous: $isSynchronous) {
2234
2904
  id
2235
2905
  state
2236
2906
  }
@@ -2248,8 +2918,8 @@ exports.GetSoftware = (0, graphql_tag_1.default) `
2248
2918
  }
2249
2919
  }
2250
2920
  `;
2251
- exports.QuerySoftware = (0, graphql_tag_1.default) `
2252
- query QuerySoftware($filter: SoftwareFilter!) {
2921
+ exports.QuerySoftwares = (0, graphql_tag_1.default) `
2922
+ query QuerySoftwares($filter: SoftwareFilter) {
2253
2923
  softwares(filter: $filter) {
2254
2924
  results {
2255
2925
  id
@@ -2270,6 +2940,13 @@ exports.UpdateSoftware = (0, graphql_tag_1.default) `
2270
2940
  }
2271
2941
  }
2272
2942
  `;
2943
+ exports.CountSpecifications = (0, graphql_tag_1.default) `
2944
+ query CountSpecifications($filter: SpecificationFilter) {
2945
+ countSpecifications(filter: $filter) {
2946
+ count
2947
+ }
2948
+ }
2949
+ `;
2273
2950
  exports.CreateSpecification = (0, graphql_tag_1.default) `
2274
2951
  mutation CreateSpecification($specification: SpecificationInput!) {
2275
2952
  createSpecification(specification: $specification) {
@@ -2281,6 +2958,18 @@ exports.CreateSpecification = (0, graphql_tag_1.default) `
2281
2958
  }
2282
2959
  }
2283
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
+ `;
2284
2973
  exports.DeleteSpecification = (0, graphql_tag_1.default) `
2285
2974
  mutation DeleteSpecification($id: ID!) {
2286
2975
  deleteSpecification(id: $id) {
@@ -2289,6 +2978,14 @@ exports.DeleteSpecification = (0, graphql_tag_1.default) `
2289
2978
  }
2290
2979
  }
2291
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
+ `;
2292
2989
  exports.GetSpecification = (0, graphql_tag_1.default) `
2293
2990
  query GetSpecification($id: ID!) {
2294
2991
  specification(id: $id) {
@@ -2303,6 +3000,9 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
2303
3000
  serviceType
2304
3001
  systemPrompt
2305
3002
  customGuidance
3003
+ customInstructions
3004
+ searchType
3005
+ numberSimilar
2306
3006
  strategy {
2307
3007
  type
2308
3008
  messageLimit
@@ -2340,6 +3040,15 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
2340
3040
  temperature
2341
3041
  probability
2342
3042
  }
3043
+ cohere {
3044
+ tokenLimit
3045
+ completionTokenLimit
3046
+ model
3047
+ key
3048
+ modelName
3049
+ temperature
3050
+ probability
3051
+ }
2343
3052
  anthropic {
2344
3053
  tokenLimit
2345
3054
  completionTokenLimit
@@ -2380,6 +3089,13 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
2380
3089
  citations {
2381
3090
  content {
2382
3091
  id
3092
+ name
3093
+ state
3094
+ type
3095
+ fileType
3096
+ fileName
3097
+ originalDate
3098
+ uri
2383
3099
  }
2384
3100
  index
2385
3101
  text
@@ -2414,6 +3130,9 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
2414
3130
  serviceType
2415
3131
  systemPrompt
2416
3132
  customGuidance
3133
+ customInstructions
3134
+ searchType
3135
+ numberSimilar
2417
3136
  strategy {
2418
3137
  type
2419
3138
  messageLimit
@@ -2451,6 +3170,15 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
2451
3170
  temperature
2452
3171
  probability
2453
3172
  }
3173
+ cohere {
3174
+ tokenLimit
3175
+ completionTokenLimit
3176
+ model
3177
+ key
3178
+ modelName
3179
+ temperature
3180
+ probability
3181
+ }
2454
3182
  anthropic {
2455
3183
  tokenLimit
2456
3184
  completionTokenLimit
@@ -2490,6 +3218,13 @@ exports.UpdateSpecification = (0, graphql_tag_1.default) `
2490
3218
  }
2491
3219
  }
2492
3220
  `;
3221
+ exports.CountWorkflows = (0, graphql_tag_1.default) `
3222
+ query CountWorkflows($filter: WorkflowFilter) {
3223
+ countWorkflows(filter: $filter) {
3224
+ count
3225
+ }
3226
+ }
3227
+ `;
2493
3228
  exports.CreateWorkflow = (0, graphql_tag_1.default) `
2494
3229
  mutation CreateWorkflow($workflow: WorkflowInput!) {
2495
3230
  createWorkflow(workflow: $workflow) {
@@ -2554,6 +3289,7 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
2554
3289
  openAIImage {
2555
3290
  confidenceThreshold
2556
3291
  detailLevel
3292
+ customInstructions
2557
3293
  }
2558
3294
  modelText {
2559
3295
  specification {
@@ -2596,8 +3332,12 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
2596
3332
  }
2597
3333
  `;
2598
3334
  exports.DeleteAllWorkflows = (0, graphql_tag_1.default) `
2599
- mutation DeleteAllWorkflows {
2600
- deleteAllWorkflows {
3335
+ mutation DeleteAllWorkflows($filter: WorkflowFilter, $isSynchronous: Boolean, $correlationId: String) {
3336
+ deleteAllWorkflows(
3337
+ filter: $filter
3338
+ isSynchronous: $isSynchronous
3339
+ correlationId: $correlationId
3340
+ ) {
2601
3341
  id
2602
3342
  state
2603
3343
  }
@@ -2612,8 +3352,8 @@ exports.DeleteWorkflow = (0, graphql_tag_1.default) `
2612
3352
  }
2613
3353
  `;
2614
3354
  exports.DeleteWorkflows = (0, graphql_tag_1.default) `
2615
- mutation DeleteWorkflows($ids: [ID!]!) {
2616
- deleteWorkflows(ids: $ids) {
3355
+ mutation DeleteWorkflows($ids: [ID!]!, $isSynchronous: Boolean) {
3356
+ deleteWorkflows(ids: $ids, isSynchronous: $isSynchronous) {
2617
3357
  id
2618
3358
  state
2619
3359
  }
@@ -2687,6 +3427,7 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
2687
3427
  openAIImage {
2688
3428
  confidenceThreshold
2689
3429
  detailLevel
3430
+ customInstructions
2690
3431
  }
2691
3432
  modelText {
2692
3433
  specification {
@@ -2797,6 +3538,7 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
2797
3538
  openAIImage {
2798
3539
  confidenceThreshold
2799
3540
  detailLevel
3541
+ customInstructions
2800
3542
  }
2801
3543
  modelText {
2802
3544
  specification {
@@ -2903,6 +3645,7 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
2903
3645
  openAIImage {
2904
3646
  confidenceThreshold
2905
3647
  detailLevel
3648
+ customInstructions
2906
3649
  }
2907
3650
  modelText {
2908
3651
  specification {