graphlit-client 1.0.20260131001 → 1.0.20260202001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1862,6 +1862,60 @@ declare class Graphlit {
1862
1862
  * @returns The enrichment result.
1863
1863
  */
1864
1864
  enrichPlaces(connector: Types.EntityEnrichmentConnectorInput, filter?: Types.PlaceFilter, correlationId?: string): Promise<Types.EnrichPlacesMutation>;
1865
+ /**
1866
+ * Creates an emotion entity.
1867
+ * @param emotion - The emotion to create.
1868
+ * @returns The created emotion.
1869
+ */
1870
+ createEmotion(emotion: Types.EmotionInput): Promise<Types.CreateEmotionMutation>;
1871
+ /**
1872
+ * Updates an emotion entity.
1873
+ * @param emotion - The emotion to update.
1874
+ * @returns The updated emotion.
1875
+ */
1876
+ updateEmotion(emotion: Types.EmotionUpdateInput): Promise<Types.UpdateEmotionMutation>;
1877
+ /**
1878
+ * Deletes an emotion entity.
1879
+ * @param id - The ID of the emotion to delete.
1880
+ * @returns The deleted emotion.
1881
+ */
1882
+ deleteEmotion(id: string): Promise<Types.DeleteEmotionMutation>;
1883
+ /**
1884
+ * Deletes multiple emotion entities.
1885
+ * @param ids - The IDs of the emotions to delete.
1886
+ * @param isSynchronous - Whether this mutation is synchronous.
1887
+ * @returns The deleted emotions.
1888
+ */
1889
+ deleteEmotions(ids: string[], isSynchronous?: boolean): Promise<Types.DeleteEmotionsMutation>;
1890
+ /**
1891
+ * Deletes all emotions based on the provided filter criteria.
1892
+ * @param filter - The filter criteria to apply when deleting emotions.
1893
+ * @param isSynchronous - Whether this mutation is synchronous.
1894
+ * @param correlationId - The tenant correlation identifier, optional.
1895
+ * @returns The result of the deletion.
1896
+ */
1897
+ deleteAllEmotions(filter?: Types.EmotionFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllEmotionsMutation>;
1898
+ /**
1899
+ * Lookup an emotion given its ID.
1900
+ * @param id - ID of the emotion.
1901
+ * @param correlationId - The tenant correlation identifier, optional.
1902
+ * @returns The emotion.
1903
+ */
1904
+ getEmotion(id: string, correlationId?: string): Promise<Types.GetEmotionQuery>;
1905
+ /**
1906
+ * Retrieves emotions based on the provided filter criteria.
1907
+ * @param filter - The filter criteria to apply when retrieving emotions.
1908
+ * @param correlationId - The tenant correlation identifier, optional.
1909
+ * @returns The emotions.
1910
+ */
1911
+ queryEmotions(filter?: Types.EmotionFilter, correlationId?: string): Promise<Types.QueryEmotionsQuery>;
1912
+ /**
1913
+ * Counts emotions based on the provided filter criteria.
1914
+ * @param filter - The filter criteria to apply when counting emotions.
1915
+ * @param correlationId - The tenant correlation identifier, optional.
1916
+ * @returns The count of emotions.
1917
+ */
1918
+ countEmotions(filter?: Types.EmotionFilter, correlationId?: string): Promise<Types.CountEmotionsQuery>;
1865
1919
  /**
1866
1920
  * Creates an event entity.
1867
1921
  * @param event - The event to create.
package/dist/client.js CHANGED
@@ -3168,6 +3168,83 @@ class Graphlit {
3168
3168
  correlationId: correlationId,
3169
3169
  });
3170
3170
  }
3171
+ /**
3172
+ * Creates an emotion entity.
3173
+ * @param emotion - The emotion to create.
3174
+ * @returns The created emotion.
3175
+ */
3176
+ async createEmotion(emotion) {
3177
+ return this.mutateAndCheckError(Documents.CreateEmotion, { emotion: emotion });
3178
+ }
3179
+ /**
3180
+ * Updates an emotion entity.
3181
+ * @param emotion - The emotion to update.
3182
+ * @returns The updated emotion.
3183
+ */
3184
+ async updateEmotion(emotion) {
3185
+ return this.mutateAndCheckError(Documents.UpdateEmotion, { emotion: emotion });
3186
+ }
3187
+ /**
3188
+ * Deletes an emotion entity.
3189
+ * @param id - The ID of the emotion to delete.
3190
+ * @returns The deleted emotion.
3191
+ */
3192
+ async deleteEmotion(id) {
3193
+ return this.mutateAndCheckError(Documents.DeleteEmotion, { id: id });
3194
+ }
3195
+ /**
3196
+ * Deletes multiple emotion entities.
3197
+ * @param ids - The IDs of the emotions to delete.
3198
+ * @param isSynchronous - Whether this mutation is synchronous.
3199
+ * @returns The deleted emotions.
3200
+ */
3201
+ async deleteEmotions(ids, isSynchronous) {
3202
+ return this.mutateAndCheckError(Documents.DeleteEmotions, { ids: ids, isSynchronous: isSynchronous });
3203
+ }
3204
+ /**
3205
+ * Deletes all emotions based on the provided filter criteria.
3206
+ * @param filter - The filter criteria to apply when deleting emotions.
3207
+ * @param isSynchronous - Whether this mutation is synchronous.
3208
+ * @param correlationId - The tenant correlation identifier, optional.
3209
+ * @returns The result of the deletion.
3210
+ */
3211
+ async deleteAllEmotions(filter, isSynchronous, correlationId) {
3212
+ return this.mutateAndCheckError(Documents.DeleteAllEmotions, {
3213
+ filter: filter,
3214
+ isSynchronous: isSynchronous,
3215
+ correlationId: correlationId,
3216
+ });
3217
+ }
3218
+ /**
3219
+ * Lookup an emotion given its ID.
3220
+ * @param id - ID of the emotion.
3221
+ * @param correlationId - The tenant correlation identifier, optional.
3222
+ * @returns The emotion.
3223
+ */
3224
+ async getEmotion(id, correlationId) {
3225
+ return this.queryAndCheckError(Documents.GetEmotion, { id: id, correlationId: correlationId });
3226
+ }
3227
+ /**
3228
+ * Retrieves emotions based on the provided filter criteria.
3229
+ * @param filter - The filter criteria to apply when retrieving emotions.
3230
+ * @param correlationId - The tenant correlation identifier, optional.
3231
+ * @returns The emotions.
3232
+ */
3233
+ async queryEmotions(filter, correlationId) {
3234
+ return this.queryAndCheckError(Documents.QueryEmotions, { filter: filter, correlationId: correlationId });
3235
+ }
3236
+ /**
3237
+ * Counts emotions based on the provided filter criteria.
3238
+ * @param filter - The filter criteria to apply when counting emotions.
3239
+ * @param correlationId - The tenant correlation identifier, optional.
3240
+ * @returns The count of emotions.
3241
+ */
3242
+ async countEmotions(filter, correlationId) {
3243
+ return this.queryAndCheckError(Documents.CountEmotions, {
3244
+ filter: filter,
3245
+ correlationId: correlationId,
3246
+ });
3247
+ }
3171
3248
  /**
3172
3249
  * Creates an event entity.
3173
3250
  * @param event - The event to create.
@@ -99,6 +99,14 @@ export declare const ReviseImage: import("graphql").DocumentNode;
99
99
  export declare const ReviseText: import("graphql").DocumentNode;
100
100
  export declare const SuggestConversation: import("graphql").DocumentNode;
101
101
  export declare const UpdateConversation: import("graphql").DocumentNode;
102
+ export declare const CountEmotions: import("graphql").DocumentNode;
103
+ export declare const CreateEmotion: import("graphql").DocumentNode;
104
+ export declare const DeleteAllEmotions: import("graphql").DocumentNode;
105
+ export declare const DeleteEmotion: import("graphql").DocumentNode;
106
+ export declare const DeleteEmotions: import("graphql").DocumentNode;
107
+ export declare const GetEmotion: import("graphql").DocumentNode;
108
+ export declare const QueryEmotions: import("graphql").DocumentNode;
109
+ export declare const UpdateEmotion: import("graphql").DocumentNode;
102
110
  export declare const CountEvents: import("graphql").DocumentNode;
103
111
  export declare const CreateEvent: import("graphql").DocumentNode;
104
112
  export declare const DeleteAllEvents: import("graphql").DocumentNode;
@@ -1718,41 +1718,6 @@ export const GetContent = gql `
1718
1718
  text
1719
1719
  validAt
1720
1720
  invalidAt
1721
- state
1722
- mentions {
1723
- type
1724
- observable {
1725
- id
1726
- name
1727
- }
1728
- start
1729
- end
1730
- }
1731
- assertions {
1732
- text
1733
- mentions {
1734
- type
1735
- observable {
1736
- id
1737
- name
1738
- }
1739
- start
1740
- end
1741
- }
1742
- }
1743
- feeds {
1744
- id
1745
- name
1746
- }
1747
- content {
1748
- id
1749
- name
1750
- }
1751
- conversation {
1752
- id
1753
- name
1754
- }
1755
- sourceType
1756
1721
  category
1757
1722
  confidence
1758
1723
  }
@@ -2618,41 +2583,6 @@ export const LookupContents = gql `
2618
2583
  text
2619
2584
  validAt
2620
2585
  invalidAt
2621
- state
2622
- mentions {
2623
- type
2624
- observable {
2625
- id
2626
- name
2627
- }
2628
- start
2629
- end
2630
- }
2631
- assertions {
2632
- text
2633
- mentions {
2634
- type
2635
- observable {
2636
- id
2637
- name
2638
- }
2639
- start
2640
- end
2641
- }
2642
- }
2643
- feeds {
2644
- id
2645
- name
2646
- }
2647
- content {
2648
- id
2649
- name
2650
- }
2651
- conversation {
2652
- id
2653
- name
2654
- }
2655
- sourceType
2656
2586
  category
2657
2587
  confidence
2658
2588
  }
@@ -5650,41 +5580,6 @@ export const GetConversation = gql `
5650
5580
  text
5651
5581
  validAt
5652
5582
  invalidAt
5653
- state
5654
- mentions {
5655
- type
5656
- observable {
5657
- id
5658
- name
5659
- }
5660
- start
5661
- end
5662
- }
5663
- assertions {
5664
- text
5665
- mentions {
5666
- type
5667
- observable {
5668
- id
5669
- name
5670
- }
5671
- start
5672
- end
5673
- }
5674
- }
5675
- feeds {
5676
- id
5677
- name
5678
- }
5679
- content {
5680
- id
5681
- name
5682
- }
5683
- conversation {
5684
- id
5685
- name
5686
- }
5687
- sourceType
5688
5583
  category
5689
5584
  confidence
5690
5585
  }
@@ -7086,10 +6981,14 @@ export const RetrieveFacts = gql `
7086
6981
  results {
7087
6982
  fact {
7088
6983
  id
6984
+ creationDate
6985
+ owner {
6986
+ id
6987
+ }
7089
6988
  text
7090
6989
  validAt
7091
6990
  invalidAt
7092
- state
6991
+ relevance
7093
6992
  mentions {
7094
6993
  type
7095
6994
  observable {
@@ -7801,6 +7700,88 @@ export const UpdateConversation = gql `
7801
7700
  }
7802
7701
  }
7803
7702
  `;
7703
+ export const CountEmotions = gql `
7704
+ query CountEmotions($filter: EmotionFilter, $correlationId: String) {
7705
+ countEmotions(filter: $filter, correlationId: $correlationId) {
7706
+ count
7707
+ }
7708
+ }
7709
+ `;
7710
+ export const CreateEmotion = gql `
7711
+ mutation CreateEmotion($emotion: EmotionInput!) {
7712
+ createEmotion(emotion: $emotion) {
7713
+ id
7714
+ name
7715
+ }
7716
+ }
7717
+ `;
7718
+ export const DeleteAllEmotions = gql `
7719
+ mutation DeleteAllEmotions($filter: EmotionFilter, $isSynchronous: Boolean, $correlationId: String) {
7720
+ deleteAllEmotions(
7721
+ filter: $filter
7722
+ isSynchronous: $isSynchronous
7723
+ correlationId: $correlationId
7724
+ ) {
7725
+ id
7726
+ state
7727
+ }
7728
+ }
7729
+ `;
7730
+ export const DeleteEmotion = gql `
7731
+ mutation DeleteEmotion($id: ID!) {
7732
+ deleteEmotion(id: $id) {
7733
+ id
7734
+ state
7735
+ }
7736
+ }
7737
+ `;
7738
+ export const DeleteEmotions = gql `
7739
+ mutation DeleteEmotions($ids: [ID!]!, $isSynchronous: Boolean) {
7740
+ deleteEmotions(ids: $ids, isSynchronous: $isSynchronous) {
7741
+ id
7742
+ state
7743
+ }
7744
+ }
7745
+ `;
7746
+ export const GetEmotion = gql `
7747
+ query GetEmotion($id: ID!, $correlationId: String) {
7748
+ emotion(id: $id, correlationId: $correlationId) {
7749
+ id
7750
+ name
7751
+ description
7752
+ creationDate
7753
+ feeds {
7754
+ id
7755
+ name
7756
+ }
7757
+ }
7758
+ }
7759
+ `;
7760
+ export const QueryEmotions = gql `
7761
+ query QueryEmotions($filter: EmotionFilter, $correlationId: String) {
7762
+ emotions(filter: $filter, correlationId: $correlationId) {
7763
+ results {
7764
+ id
7765
+ name
7766
+ description
7767
+ creationDate
7768
+ relevance
7769
+ feeds {
7770
+ id
7771
+ name
7772
+ }
7773
+ }
7774
+ }
7775
+ }
7776
+ `;
7777
+ export const UpdateEmotion = gql `
7778
+ mutation UpdateEmotion($emotion: EmotionUpdateInput!) {
7779
+ updateEmotion(emotion: $emotion) {
7780
+ id
7781
+ name
7782
+ }
7783
+ }
7784
+ `;
7804
7785
  export const CountEvents = gql `
7805
7786
  query CountEvents($filter: EventFilter, $correlationId: String) {
7806
7787
  countEvents(filter: $filter, correlationId: $correlationId) {
@@ -15587,6 +15568,8 @@ export const GetSpecification = gql `
15587
15568
  enableSummarization
15588
15569
  enableEntityExtraction
15589
15570
  enableFactExtraction
15571
+ entityExtractionLimit
15572
+ factExtractionLimit
15590
15573
  messagesWeight
15591
15574
  contentsWeight
15592
15575
  }
@@ -15972,6 +15955,8 @@ export const QuerySpecifications = gql `
15972
15955
  enableSummarization
15973
15956
  enableEntityExtraction
15974
15957
  enableFactExtraction
15958
+ entityExtractionLimit
15959
+ factExtractionLimit
15975
15960
  messagesWeight
15976
15961
  contentsWeight
15977
15962
  }
@@ -17639,6 +17624,9 @@ export const CreateWorkflow = gql `
17639
17624
  entityBudget
17640
17625
  extractionType
17641
17626
  }
17627
+ hume {
17628
+ confidenceThreshold
17629
+ }
17642
17630
  }
17643
17631
  }
17644
17632
  }
@@ -17930,6 +17918,9 @@ export const GetWorkflow = gql `
17930
17918
  entityBudget
17931
17919
  extractionType
17932
17920
  }
17921
+ hume {
17922
+ confidenceThreshold
17923
+ }
17933
17924
  }
17934
17925
  }
17935
17926
  }
@@ -18195,6 +18186,9 @@ export const QueryWorkflows = gql `
18195
18186
  entityBudget
18196
18187
  extractionType
18197
18188
  }
18189
+ hume {
18190
+ confidenceThreshold
18191
+ }
18198
18192
  }
18199
18193
  }
18200
18194
  }
@@ -18454,6 +18448,9 @@ export const UpdateWorkflow = gql `
18454
18448
  entityBudget
18455
18449
  extractionType
18456
18450
  }
18451
+ hume {
18452
+ confidenceThreshold
18453
+ }
18457
18454
  }
18458
18455
  }
18459
18456
  }
@@ -18712,6 +18709,9 @@ export const UpsertWorkflow = gql `
18712
18709
  entityBudget
18713
18710
  extractionType
18714
18711
  }
18712
+ hume {
18713
+ confidenceThreshold
18714
+ }
18715
18715
  }
18716
18716
  }
18717
18717
  }
@@ -3417,6 +3417,10 @@ export type ConversationStrategy = {
3417
3417
  enableFactExtraction?: Maybe<Scalars['Boolean']['output']>;
3418
3418
  /** Enable summarization of conversation turns. Also auto-generates the conversation name on the first turn. */
3419
3419
  enableSummarization?: Maybe<Scalars['Boolean']['output']>;
3420
+ /** The maximum number of entities to extract from conversation turns. */
3421
+ entityExtractionLimit?: Maybe<Scalars['Int']['output']>;
3422
+ /** The maximum number of facts to extract from conversation turns. */
3423
+ factExtractionLimit?: Maybe<Scalars['Int']['output']>;
3420
3424
  /** Flatten content citations such that only one citation is embedded per content. */
3421
3425
  flattenCitations?: Maybe<Scalars['Boolean']['output']>;
3422
3426
  /** The maximum number of retrieval user messages to provide with prompt context. Defaults to 5. */
@@ -3440,6 +3444,10 @@ export type ConversationStrategyInput = {
3440
3444
  enableFactExtraction?: InputMaybe<Scalars['Boolean']['input']>;
3441
3445
  /** Enable summarization of conversation turns. Also auto-generates the conversation name on the first turn. */
3442
3446
  enableSummarization?: InputMaybe<Scalars['Boolean']['input']>;
3447
+ /** The maximum number of entities to extract from conversation turns. */
3448
+ entityExtractionLimit?: InputMaybe<Scalars['Int']['input']>;
3449
+ /** The maximum number of facts to extract from conversation turns. */
3450
+ factExtractionLimit?: InputMaybe<Scalars['Int']['input']>;
3443
3451
  /** Flatten content citations such that only one citation is embedded per content. */
3444
3452
  flattenCitations?: InputMaybe<Scalars['Boolean']['input']>;
3445
3453
  /** The maximum number of retrieval user messages to provide with prompt context. Defaults to 5. */
@@ -3470,6 +3478,10 @@ export type ConversationStrategyUpdateInput = {
3470
3478
  enableFactExtraction?: InputMaybe<Scalars['Boolean']['input']>;
3471
3479
  /** Enable summarization of conversation turns. Also auto-generates the conversation name on the first turn. */
3472
3480
  enableSummarization?: InputMaybe<Scalars['Boolean']['input']>;
3481
+ /** The maximum number of entities to extract from conversation turns. */
3482
+ entityExtractionLimit?: InputMaybe<Scalars['Int']['input']>;
3483
+ /** The maximum number of facts to extract from conversation turns. */
3484
+ factExtractionLimit?: InputMaybe<Scalars['Int']['input']>;
3473
3485
  /** Flatten content citations such that only one citation is embedded per content. */
3474
3486
  flattenCitations?: InputMaybe<Scalars['Boolean']['input']>;
3475
3487
  /** The maximum number of retrieval user messages to provide with prompt context. Defaults to 5. */
@@ -4337,6 +4349,111 @@ export type EmbeddingsStrategyInput = {
4337
4349
  /** The LLM specification used for text embeddings, optional. */
4338
4350
  textSpecification?: InputMaybe<EntityReferenceInput>;
4339
4351
  };
4352
+ /** Represents an emotion detected in content. */
4353
+ export type Emotion = {
4354
+ __typename?: 'Emotion';
4355
+ /** The creation date of the emotion. */
4356
+ creationDate: Scalars['DateTime']['output'];
4357
+ /** The emotion description. */
4358
+ description?: Maybe<Scalars['String']['output']>;
4359
+ /** The feeds that discovered this emotion. */
4360
+ feeds?: Maybe<Array<Maybe<Feed>>>;
4361
+ /** The ID of the emotion. */
4362
+ id: Scalars['ID']['output'];
4363
+ /** The modified date of the emotion. */
4364
+ modifiedDate?: Maybe<Scalars['DateTime']['output']>;
4365
+ /** The name of the emotion. */
4366
+ name: Scalars['String']['output'];
4367
+ /** The relevance score of the emotion. */
4368
+ relevance?: Maybe<Scalars['Float']['output']>;
4369
+ /** The state of the emotion (i.e. created, enabled). */
4370
+ state: EntityState;
4371
+ };
4372
+ /** Represents an emotion facet. */
4373
+ export type EmotionFacet = {
4374
+ __typename?: 'EmotionFacet';
4375
+ /** The facet count. */
4376
+ count?: Maybe<Scalars['Long']['output']>;
4377
+ /** The emotion facet type. */
4378
+ facet?: Maybe<EmotionFacetTypes>;
4379
+ /** The facet value range. */
4380
+ range?: Maybe<StringRange>;
4381
+ /** The facet value type. */
4382
+ type?: Maybe<FacetValueTypes>;
4383
+ /** The facet value. */
4384
+ value?: Maybe<Scalars['String']['output']>;
4385
+ };
4386
+ /** Represents the configuration for emotion facets. */
4387
+ export type EmotionFacetInput = {
4388
+ /** The emotion facet type. */
4389
+ facet?: InputMaybe<EmotionFacetTypes>;
4390
+ /** The facet time interval. */
4391
+ timeInterval?: InputMaybe<TimeIntervalTypes>;
4392
+ /** The facet time offset (in hours). */
4393
+ timeOffset?: InputMaybe<Scalars['Int']['input']>;
4394
+ };
4395
+ /** Emotion facet types */
4396
+ export declare enum EmotionFacetTypes {
4397
+ /** Creation Date */
4398
+ CreationDate = "CREATION_DATE"
4399
+ }
4400
+ /** Represents a filter for emotions. */
4401
+ export type EmotionFilter = {
4402
+ /** Filter by creation date recent timespan. For example, a timespan of one day will return emotion(s) created in the last 24 hours. */
4403
+ createdInLast?: InputMaybe<Scalars['TimeSpan']['input']>;
4404
+ /** Filter emotion(s) by their creation date range. */
4405
+ creationDateRange?: InputMaybe<DateRangeFilter>;
4406
+ /** The sort direction for query results. */
4407
+ direction?: InputMaybe<OrderDirectionTypes>;
4408
+ /** Whether to disable inheritance from project to owner, upon emotion retrieval. Defaults to False. */
4409
+ disableInheritance?: InputMaybe<Scalars['Boolean']['input']>;
4410
+ /** Filter by feed identifiers that created these emotions. */
4411
+ feeds?: InputMaybe<Array<EntityReferenceFilter>>;
4412
+ /** Filter emotion(s) by their unique ID. */
4413
+ id?: InputMaybe<Scalars['ID']['input']>;
4414
+ /** Limit the number of emotion(s) to be returned. Defaults to 100. */
4415
+ limit?: InputMaybe<Scalars['Int']['input']>;
4416
+ /** Filter emotion(s) by their modified date range. */
4417
+ modifiedDateRange?: InputMaybe<DateRangeFilter>;
4418
+ /** Filter by modified date recent timespan. For example, a timespan of one day will return emotion(s) modified in the last 24 hours. */
4419
+ modifiedInLast?: InputMaybe<Scalars['TimeSpan']['input']>;
4420
+ /** Filter emotion(s) by their name. */
4421
+ name?: InputMaybe<Scalars['String']['input']>;
4422
+ /** Skip the specified number of emotion(s) from the beginning of the result set. Only supported on keyword search. */
4423
+ offset?: InputMaybe<Scalars['Int']['input']>;
4424
+ /** The sort order for query results. */
4425
+ orderBy?: InputMaybe<OrderByTypes>;
4426
+ /** The relevance score threshold for vector and hybrid search. Results below this threshold will be filtered out. Hybrid search defaults to 0.006. Vector search defaults to 0.54, or 0.78 for OpenAI Ada-002, or 0.61 for Google embedding models. Not applicable to keyword search. */
4427
+ relevanceThreshold?: InputMaybe<Scalars['Float']['input']>;
4428
+ /** Filter emotion(s) by searching for similar text. */
4429
+ search?: InputMaybe<Scalars['String']['input']>;
4430
+ /** Filter emotion(s) by their states. */
4431
+ states?: InputMaybe<Array<EntityState>>;
4432
+ };
4433
+ /** Represents an emotion. */
4434
+ export type EmotionInput = {
4435
+ /** The emotion description. */
4436
+ description?: InputMaybe<Scalars['String']['input']>;
4437
+ /** The name of the emotion. */
4438
+ name: Scalars['String']['input'];
4439
+ };
4440
+ /** Represents emotion query results. */
4441
+ export type EmotionResults = {
4442
+ __typename?: 'EmotionResults';
4443
+ /** The emotion facets. */
4444
+ facets?: Maybe<Array<Maybe<EmotionFacet>>>;
4445
+ /** The emotion results. */
4446
+ results?: Maybe<Array<Maybe<Emotion>>>;
4447
+ };
4448
+ /** Represents an emotion. */
4449
+ export type EmotionUpdateInput = {
4450
+ /** The emotion description. */
4451
+ description?: InputMaybe<Scalars['String']['input']>;
4452
+ /** The ID of the emotion to update. */
4453
+ id: Scalars['ID']['input'];
4454
+ /** The name of the emotion. */
4455
+ name?: InputMaybe<Scalars['String']['input']>;
4456
+ };
4340
4457
  /** Represents an enrichment workflow job. */
4341
4458
  export type EnrichmentWorkflowJob = {
4342
4459
  __typename?: 'EnrichmentWorkflowJob';
@@ -4443,6 +4560,8 @@ export type EntityExtractionConnector = {
4443
4560
  extractedTypes?: Maybe<Array<ObservableTypes>>;
4444
4561
  /** The file types to allow for entity extraction. */
4445
4562
  fileTypes?: Maybe<Array<FileTypes>>;
4563
+ /** The specific properties for Hume AI emotion extraction. */
4564
+ hume?: Maybe<HumeExtractionProperties>;
4446
4565
  /** The specific properties for LLM image entity extraction. */
4447
4566
  modelImage?: Maybe<ModelImageExtractionProperties>;
4448
4567
  /** The specific properties for LLM text entity extraction. */
@@ -4466,6 +4585,8 @@ export type EntityExtractionConnectorInput = {
4466
4585
  extractedTypes?: InputMaybe<Array<ObservableTypes>>;
4467
4586
  /** The file types to allow for entity extraction. */
4468
4587
  fileTypes?: InputMaybe<Array<FileTypes>>;
4588
+ /** The specific properties for Hume AI emotion extraction. */
4589
+ hume?: InputMaybe<HumeExtractionPropertiesInput>;
4469
4590
  /** The specific properties for LLM image entity extraction. */
4470
4591
  modelImage?: InputMaybe<ModelImageExtractionPropertiesInput>;
4471
4592
  /** The specific properties for LLM text entity extraction. */
@@ -4529,6 +4650,8 @@ export declare enum EntityExtractionServiceTypes {
4529
4650
  AzureCognitiveServicesImage = "AZURE_COGNITIVE_SERVICES_IMAGE",
4530
4651
  /** Azure AI Language, fka Azure Cognitive Services Text */
4531
4652
  AzureCognitiveServicesText = "AZURE_COGNITIVE_SERVICES_TEXT",
4653
+ /** Hume AI Emotion */
4654
+ HumeEmotion = "HUME_EMOTION",
4532
4655
  /** LLM Image */
4533
4656
  ModelImage = "MODEL_IMAGE",
4534
4657
  /** LLM Text */
@@ -4721,6 +4844,8 @@ export declare enum EntityTypes {
4721
4844
  Content = "CONTENT",
4722
4845
  /** Chatbot conversation */
4723
4846
  Conversation = "CONVERSATION",
4847
+ /** Emotion */
4848
+ Emotion = "EMOTION",
4724
4849
  /** Event */
4725
4850
  Event = "EVENT",
4726
4851
  /** Fact */
@@ -6115,6 +6240,8 @@ export declare enum FileTypes {
6115
6240
  PointCloud = "POINT_CLOUD",
6116
6241
  /** Shape file */
6117
6242
  Shape = "SHAPE",
6243
+ /** Subtitles */
6244
+ Subtitles = "SUBTITLES",
6118
6245
  /** Unknown file */
6119
6246
  Unknown = "UNKNOWN",
6120
6247
  /** Video file */
@@ -7803,6 +7930,17 @@ export type HubSpotTasksFeedPropertiesUpdateInput = {
7803
7930
  /** HubSpot OAuth2 refresh token. */
7804
7931
  refreshToken?: InputMaybe<Scalars['String']['input']>;
7805
7932
  };
7933
+ /** Represents Hume AI emotion extraction properties. */
7934
+ export type HumeExtractionProperties = {
7935
+ __typename?: 'HumeExtractionProperties';
7936
+ /** The confidence threshold for emotion extraction. */
7937
+ confidenceThreshold?: Maybe<Scalars['Float']['output']>;
7938
+ };
7939
+ /** Represents Hume AI emotion extraction properties. */
7940
+ export type HumeExtractionPropertiesInput = {
7941
+ /** The confidence threshold for emotion extraction. */
7942
+ confidenceThreshold?: InputMaybe<Scalars['Float']['input']>;
7943
+ };
7806
7944
  /** Represents an embedded image in a text page. */
7807
7945
  export type ImageChunk = {
7808
7946
  __typename?: 'ImageChunk';
@@ -12098,6 +12236,8 @@ export type Mutation = {
12098
12236
  createConnector?: Maybe<Connector>;
12099
12237
  /** Creates a new conversation. */
12100
12238
  createConversation?: Maybe<Conversation>;
12239
+ /** Creates a new emotion. */
12240
+ createEmotion?: Maybe<Emotion>;
12101
12241
  /** Creates a new event. */
12102
12242
  createEvent?: Maybe<Event>;
12103
12243
  /** Creates a new fact. */
@@ -12168,6 +12308,8 @@ export type Mutation = {
12168
12308
  deleteAllContents?: Maybe<Array<Maybe<Content>>>;
12169
12309
  /** Bulk deletes conversations based on the provided filter criteria. */
12170
12310
  deleteAllConversations?: Maybe<Array<Maybe<Conversation>>>;
12311
+ /** Bulk deletes emotions based on the provided filter criteria. */
12312
+ deleteAllEmotions?: Maybe<Array<Maybe<Emotion>>>;
12171
12313
  /** Bulk deletes events based on the provided filter criteria. */
12172
12314
  deleteAllEvents?: Maybe<Array<Maybe<Event>>>;
12173
12315
  /** Bulk deletes facts based on the provided filter criteria. */
@@ -12238,6 +12380,10 @@ export type Mutation = {
12238
12380
  deleteConversation?: Maybe<Conversation>;
12239
12381
  /** Bulk deletes conversations. */
12240
12382
  deleteConversations?: Maybe<Array<Maybe<Conversation>>>;
12383
+ /** Deletes an emotion. */
12384
+ deleteEmotion?: Maybe<Emotion>;
12385
+ /** Bulk deletes emotions. */
12386
+ deleteEmotions?: Maybe<Array<Maybe<Emotion>>>;
12241
12387
  /** Deletes an event. */
12242
12388
  deleteEvent?: Maybe<Event>;
12243
12389
  /** Bulk deletes events. */
@@ -12480,6 +12626,8 @@ export type Mutation = {
12480
12626
  updateContent?: Maybe<Content>;
12481
12627
  /** Updates an existing conversation. */
12482
12628
  updateConversation?: Maybe<Conversation>;
12629
+ /** Updates an emotion. */
12630
+ updateEmotion?: Maybe<Emotion>;
12483
12631
  /** Updates an event. */
12484
12632
  updateEvent?: Maybe<Event>;
12485
12633
  /** Updates a fact. */
@@ -12542,6 +12690,8 @@ export type Mutation = {
12542
12690
  upsertAlert?: Maybe<Alert>;
12543
12691
  /** Upserts a category. */
12544
12692
  upsertCategory?: Maybe<Category>;
12693
+ /** Upserts an emotion. */
12694
+ upsertEmotion?: Maybe<Emotion>;
12545
12695
  /** Upserts a label. */
12546
12696
  upsertLabel?: Maybe<Label>;
12547
12697
  /** Upserts an LLM specification. */
@@ -12613,6 +12763,9 @@ export type MutationCreateConversationArgs = {
12613
12763
  conversation: ConversationInput;
12614
12764
  correlationId?: InputMaybe<Scalars['String']['input']>;
12615
12765
  };
12766
+ export type MutationCreateEmotionArgs = {
12767
+ emotion: EmotionInput;
12768
+ };
12616
12769
  export type MutationCreateEventArgs = {
12617
12770
  event: EventInput;
12618
12771
  };
@@ -12730,6 +12883,11 @@ export type MutationDeleteAllConversationsArgs = {
12730
12883
  filter?: InputMaybe<ConversationFilter>;
12731
12884
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
12732
12885
  };
12886
+ export type MutationDeleteAllEmotionsArgs = {
12887
+ correlationId?: InputMaybe<Scalars['String']['input']>;
12888
+ filter?: InputMaybe<EmotionFilter>;
12889
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
12890
+ };
12733
12891
  export type MutationDeleteAllEventsArgs = {
12734
12892
  correlationId?: InputMaybe<Scalars['String']['input']>;
12735
12893
  filter?: InputMaybe<EventFilter>;
@@ -12891,6 +13049,13 @@ export type MutationDeleteConversationsArgs = {
12891
13049
  ids: Array<Scalars['ID']['input']>;
12892
13050
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
12893
13051
  };
13052
+ export type MutationDeleteEmotionArgs = {
13053
+ id: Scalars['ID']['input'];
13054
+ };
13055
+ export type MutationDeleteEmotionsArgs = {
13056
+ ids: Array<Scalars['ID']['input']>;
13057
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
13058
+ };
12894
13059
  export type MutationDeleteEventArgs = {
12895
13060
  id: Scalars['ID']['input'];
12896
13061
  };
@@ -13477,6 +13642,9 @@ export type MutationUpdateContentArgs = {
13477
13642
  export type MutationUpdateConversationArgs = {
13478
13643
  conversation: ConversationUpdateInput;
13479
13644
  };
13645
+ export type MutationUpdateEmotionArgs = {
13646
+ emotion: EmotionUpdateInput;
13647
+ };
13480
13648
  export type MutationUpdateEventArgs = {
13481
13649
  event: EventUpdateInput;
13482
13650
  };
@@ -13571,6 +13739,10 @@ export type MutationUpsertCategoryArgs = {
13571
13739
  category: CategoryInput;
13572
13740
  correlationId?: InputMaybe<Scalars['String']['input']>;
13573
13741
  };
13742
+ export type MutationUpsertEmotionArgs = {
13743
+ correlationId?: InputMaybe<Scalars['String']['input']>;
13744
+ emotion: EmotionInput;
13745
+ };
13574
13746
  export type MutationUpsertLabelArgs = {
13575
13747
  correlationId?: InputMaybe<Scalars['String']['input']>;
13576
13748
  label: LabelInput;
@@ -13784,6 +13956,8 @@ export type ObservableResults = {
13784
13956
  export declare enum ObservableTypes {
13785
13957
  /** Category */
13786
13958
  Category = "CATEGORY",
13959
+ /** Emotion */
13960
+ Emotion = "EMOTION",
13787
13961
  /** Event */
13788
13962
  Event = "EVENT",
13789
13963
  /** Investment */
@@ -16292,6 +16466,8 @@ export type Query = {
16292
16466
  countContents?: Maybe<CountResult>;
16293
16467
  /** Counts conversations based on the provided filter criteria. */
16294
16468
  countConversations?: Maybe<CountResult>;
16469
+ /** Counts emotions based on the provided filter criteria. */
16470
+ countEmotions?: Maybe<CountResult>;
16295
16471
  /** Counts events based on the provided filter criteria. */
16296
16472
  countEvents?: Maybe<CountResult>;
16297
16473
  /** Counts facts based on the provided filter criteria. */
@@ -16354,6 +16530,10 @@ export type Query = {
16354
16530
  discordGuilds?: Maybe<DiscordGuildResults>;
16355
16531
  /** Retrieves available Dropbox folders. */
16356
16532
  dropboxFolders?: Maybe<DropboxFolderResults>;
16533
+ /** Lookup an emotion given its ID. */
16534
+ emotion?: Maybe<Emotion>;
16535
+ /** Retrieves emotions based on the provided filter criteria. */
16536
+ emotions?: Maybe<EmotionResults>;
16357
16537
  /** Lookup an event given its ID. */
16358
16538
  event?: Maybe<Event>;
16359
16539
  /** Retrieves events based on the provided filter criteria. */
@@ -16643,6 +16823,10 @@ export type QueryCountConversationsArgs = {
16643
16823
  correlationId?: InputMaybe<Scalars['String']['input']>;
16644
16824
  filter?: InputMaybe<ConversationFilter>;
16645
16825
  };
16826
+ export type QueryCountEmotionsArgs = {
16827
+ correlationId?: InputMaybe<Scalars['String']['input']>;
16828
+ filter?: InputMaybe<EmotionFilter>;
16829
+ };
16646
16830
  export type QueryCountEventsArgs = {
16647
16831
  correlationId?: InputMaybe<Scalars['String']['input']>;
16648
16832
  filter?: InputMaybe<EventFilter>;
@@ -16765,6 +16949,15 @@ export type QueryDropboxFoldersArgs = {
16765
16949
  folderPath?: InputMaybe<Scalars['String']['input']>;
16766
16950
  properties: DropboxFoldersInput;
16767
16951
  };
16952
+ export type QueryEmotionArgs = {
16953
+ correlationId?: InputMaybe<Scalars['String']['input']>;
16954
+ id: Scalars['ID']['input'];
16955
+ };
16956
+ export type QueryEmotionsArgs = {
16957
+ correlationId?: InputMaybe<Scalars['String']['input']>;
16958
+ facets?: InputMaybe<Array<EmotionFacetInput>>;
16959
+ filter?: InputMaybe<EmotionFilter>;
16960
+ };
16768
16961
  export type QueryEventArgs = {
16769
16962
  correlationId?: InputMaybe<Scalars['String']['input']>;
16770
16963
  id: Scalars['ID']['input'];
@@ -22211,51 +22404,8 @@ export type GetContentQuery = {
22211
22404
  text: string;
22212
22405
  validAt?: any | null;
22213
22406
  invalidAt?: any | null;
22214
- state: EntityState;
22215
- sourceType?: SourceTypes | null;
22216
22407
  category?: FactCategory | null;
22217
22408
  confidence?: number | null;
22218
- mentions?: Array<{
22219
- __typename?: 'MentionReference';
22220
- type?: ObservableTypes | null;
22221
- start?: number | null;
22222
- end?: number | null;
22223
- observable?: {
22224
- __typename?: 'NamedEntityReference';
22225
- id: string;
22226
- name?: string | null;
22227
- } | null;
22228
- } | null> | null;
22229
- assertions?: Array<{
22230
- __typename?: 'FactAssertion';
22231
- text: string;
22232
- mentions?: Array<{
22233
- __typename?: 'MentionReference';
22234
- type?: ObservableTypes | null;
22235
- start?: number | null;
22236
- end?: number | null;
22237
- observable?: {
22238
- __typename?: 'NamedEntityReference';
22239
- id: string;
22240
- name?: string | null;
22241
- } | null;
22242
- } | null> | null;
22243
- } | null> | null;
22244
- feeds?: Array<{
22245
- __typename?: 'Feed';
22246
- id: string;
22247
- name: string;
22248
- } | null> | null;
22249
- content?: {
22250
- __typename?: 'Content';
22251
- id: string;
22252
- name: string;
22253
- } | null;
22254
- conversation?: {
22255
- __typename?: 'Conversation';
22256
- id: string;
22257
- name: string;
22258
- } | null;
22259
22409
  } | null> | null;
22260
22410
  workflow?: {
22261
22411
  __typename?: 'Workflow';
@@ -23227,51 +23377,8 @@ export type LookupContentsQuery = {
23227
23377
  text: string;
23228
23378
  validAt?: any | null;
23229
23379
  invalidAt?: any | null;
23230
- state: EntityState;
23231
- sourceType?: SourceTypes | null;
23232
23380
  category?: FactCategory | null;
23233
23381
  confidence?: number | null;
23234
- mentions?: Array<{
23235
- __typename?: 'MentionReference';
23236
- type?: ObservableTypes | null;
23237
- start?: number | null;
23238
- end?: number | null;
23239
- observable?: {
23240
- __typename?: 'NamedEntityReference';
23241
- id: string;
23242
- name?: string | null;
23243
- } | null;
23244
- } | null> | null;
23245
- assertions?: Array<{
23246
- __typename?: 'FactAssertion';
23247
- text: string;
23248
- mentions?: Array<{
23249
- __typename?: 'MentionReference';
23250
- type?: ObservableTypes | null;
23251
- start?: number | null;
23252
- end?: number | null;
23253
- observable?: {
23254
- __typename?: 'NamedEntityReference';
23255
- id: string;
23256
- name?: string | null;
23257
- } | null;
23258
- } | null> | null;
23259
- } | null> | null;
23260
- feeds?: Array<{
23261
- __typename?: 'Feed';
23262
- id: string;
23263
- name: string;
23264
- } | null> | null;
23265
- content?: {
23266
- __typename?: 'Content';
23267
- id: string;
23268
- name: string;
23269
- } | null;
23270
- conversation?: {
23271
- __typename?: 'Conversation';
23272
- id: string;
23273
- name: string;
23274
- } | null;
23275
23382
  } | null> | null;
23276
23383
  workflow?: {
23277
23384
  __typename?: 'Workflow';
@@ -26645,51 +26752,8 @@ export type GetConversationQuery = {
26645
26752
  text: string;
26646
26753
  validAt?: any | null;
26647
26754
  invalidAt?: any | null;
26648
- state: EntityState;
26649
- sourceType?: SourceTypes | null;
26650
26755
  category?: FactCategory | null;
26651
26756
  confidence?: number | null;
26652
- mentions?: Array<{
26653
- __typename?: 'MentionReference';
26654
- type?: ObservableTypes | null;
26655
- start?: number | null;
26656
- end?: number | null;
26657
- observable?: {
26658
- __typename?: 'NamedEntityReference';
26659
- id: string;
26660
- name?: string | null;
26661
- } | null;
26662
- } | null> | null;
26663
- assertions?: Array<{
26664
- __typename?: 'FactAssertion';
26665
- text: string;
26666
- mentions?: Array<{
26667
- __typename?: 'MentionReference';
26668
- type?: ObservableTypes | null;
26669
- start?: number | null;
26670
- end?: number | null;
26671
- observable?: {
26672
- __typename?: 'NamedEntityReference';
26673
- id: string;
26674
- name?: string | null;
26675
- } | null;
26676
- } | null> | null;
26677
- } | null> | null;
26678
- feeds?: Array<{
26679
- __typename?: 'Feed';
26680
- id: string;
26681
- name: string;
26682
- } | null> | null;
26683
- content?: {
26684
- __typename?: 'Content';
26685
- id: string;
26686
- name: string;
26687
- } | null;
26688
- conversation?: {
26689
- __typename?: 'Conversation';
26690
- id: string;
26691
- name: string;
26692
- } | null;
26693
26757
  } | null> | null;
26694
26758
  } | null;
26695
26759
  };
@@ -28289,13 +28353,18 @@ export type RetrieveFactsMutation = {
28289
28353
  fact: {
28290
28354
  __typename?: 'Fact';
28291
28355
  id: string;
28356
+ creationDate: any;
28292
28357
  text: string;
28293
28358
  validAt?: any | null;
28294
28359
  invalidAt?: any | null;
28295
- state: EntityState;
28360
+ relevance?: number | null;
28296
28361
  sourceType?: SourceTypes | null;
28297
28362
  category?: FactCategory | null;
28298
28363
  confidence?: number | null;
28364
+ owner: {
28365
+ __typename?: 'Owner';
28366
+ id: string;
28367
+ };
28299
28368
  mentions?: Array<{
28300
28369
  __typename?: 'MentionReference';
28301
28370
  type?: ObservableTypes | null;
@@ -29061,6 +29130,117 @@ export type UpdateConversationMutation = {
29061
29130
  type?: ConversationTypes | null;
29062
29131
  } | null;
29063
29132
  };
29133
+ export type CountEmotionsQueryVariables = Exact<{
29134
+ filter?: InputMaybe<EmotionFilter>;
29135
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29136
+ }>;
29137
+ export type CountEmotionsQuery = {
29138
+ __typename?: 'Query';
29139
+ countEmotions?: {
29140
+ __typename?: 'CountResult';
29141
+ count?: any | null;
29142
+ } | null;
29143
+ };
29144
+ export type CreateEmotionMutationVariables = Exact<{
29145
+ emotion: EmotionInput;
29146
+ }>;
29147
+ export type CreateEmotionMutation = {
29148
+ __typename?: 'Mutation';
29149
+ createEmotion?: {
29150
+ __typename?: 'Emotion';
29151
+ id: string;
29152
+ name: string;
29153
+ } | null;
29154
+ };
29155
+ export type DeleteAllEmotionsMutationVariables = Exact<{
29156
+ filter?: InputMaybe<EmotionFilter>;
29157
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
29158
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29159
+ }>;
29160
+ export type DeleteAllEmotionsMutation = {
29161
+ __typename?: 'Mutation';
29162
+ deleteAllEmotions?: Array<{
29163
+ __typename?: 'Emotion';
29164
+ id: string;
29165
+ state: EntityState;
29166
+ } | null> | null;
29167
+ };
29168
+ export type DeleteEmotionMutationVariables = Exact<{
29169
+ id: Scalars['ID']['input'];
29170
+ }>;
29171
+ export type DeleteEmotionMutation = {
29172
+ __typename?: 'Mutation';
29173
+ deleteEmotion?: {
29174
+ __typename?: 'Emotion';
29175
+ id: string;
29176
+ state: EntityState;
29177
+ } | null;
29178
+ };
29179
+ export type DeleteEmotionsMutationVariables = Exact<{
29180
+ ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
29181
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
29182
+ }>;
29183
+ export type DeleteEmotionsMutation = {
29184
+ __typename?: 'Mutation';
29185
+ deleteEmotions?: Array<{
29186
+ __typename?: 'Emotion';
29187
+ id: string;
29188
+ state: EntityState;
29189
+ } | null> | null;
29190
+ };
29191
+ export type GetEmotionQueryVariables = Exact<{
29192
+ id: Scalars['ID']['input'];
29193
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29194
+ }>;
29195
+ export type GetEmotionQuery = {
29196
+ __typename?: 'Query';
29197
+ emotion?: {
29198
+ __typename?: 'Emotion';
29199
+ id: string;
29200
+ name: string;
29201
+ description?: string | null;
29202
+ creationDate: any;
29203
+ feeds?: Array<{
29204
+ __typename?: 'Feed';
29205
+ id: string;
29206
+ name: string;
29207
+ } | null> | null;
29208
+ } | null;
29209
+ };
29210
+ export type QueryEmotionsQueryVariables = Exact<{
29211
+ filter?: InputMaybe<EmotionFilter>;
29212
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29213
+ }>;
29214
+ export type QueryEmotionsQuery = {
29215
+ __typename?: 'Query';
29216
+ emotions?: {
29217
+ __typename?: 'EmotionResults';
29218
+ results?: Array<{
29219
+ __typename?: 'Emotion';
29220
+ id: string;
29221
+ name: string;
29222
+ description?: string | null;
29223
+ creationDate: any;
29224
+ relevance?: number | null;
29225
+ feeds?: Array<{
29226
+ __typename?: 'Feed';
29227
+ id: string;
29228
+ name: string;
29229
+ } | null> | null;
29230
+ } | null> | null;
29231
+ } | null;
29232
+ };
29233
+ export type UpdateEmotionMutationVariables = Exact<{
29234
+ emotion: EmotionUpdateInput;
29235
+ }>;
29236
+ export type UpdateEmotionMutation = {
29237
+ __typename?: 'Mutation';
29238
+ updateEmotion?: {
29239
+ __typename?: 'Emotion';
29240
+ id: string;
29241
+ name: string;
29242
+ } | null;
29243
+ };
29064
29244
  export type CountEventsQueryVariables = Exact<{
29065
29245
  filter?: InputMaybe<EventFilter>;
29066
29246
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -38542,6 +38722,8 @@ export type GetSpecificationQuery = {
38542
38722
  enableSummarization?: boolean | null;
38543
38723
  enableEntityExtraction?: boolean | null;
38544
38724
  enableFactExtraction?: boolean | null;
38725
+ entityExtractionLimit?: number | null;
38726
+ factExtractionLimit?: number | null;
38545
38727
  messagesWeight?: number | null;
38546
38728
  contentsWeight?: number | null;
38547
38729
  } | null;
@@ -38974,6 +39156,8 @@ export type QuerySpecificationsQuery = {
38974
39156
  enableSummarization?: boolean | null;
38975
39157
  enableEntityExtraction?: boolean | null;
38976
39158
  enableFactExtraction?: boolean | null;
39159
+ entityExtractionLimit?: number | null;
39160
+ factExtractionLimit?: number | null;
38977
39161
  messagesWeight?: number | null;
38978
39162
  contentsWeight?: number | null;
38979
39163
  } | null;
@@ -41074,6 +41258,10 @@ export type CreateWorkflowMutation = {
41074
41258
  id: string;
41075
41259
  } | null;
41076
41260
  } | null;
41261
+ hume?: {
41262
+ __typename?: 'HumeExtractionProperties';
41263
+ confidenceThreshold?: number | null;
41264
+ } | null;
41077
41265
  } | null;
41078
41266
  } | null> | null;
41079
41267
  } | null;
@@ -41439,6 +41627,10 @@ export type GetWorkflowQuery = {
41439
41627
  id: string;
41440
41628
  } | null;
41441
41629
  } | null;
41630
+ hume?: {
41631
+ __typename?: 'HumeExtractionProperties';
41632
+ confidenceThreshold?: number | null;
41633
+ } | null;
41442
41634
  } | null;
41443
41635
  } | null> | null;
41444
41636
  } | null;
@@ -41771,6 +41963,10 @@ export type QueryWorkflowsQuery = {
41771
41963
  id: string;
41772
41964
  } | null;
41773
41965
  } | null;
41966
+ hume?: {
41967
+ __typename?: 'HumeExtractionProperties';
41968
+ confidenceThreshold?: number | null;
41969
+ } | null;
41774
41970
  } | null;
41775
41971
  } | null> | null;
41776
41972
  } | null;
@@ -42094,6 +42290,10 @@ export type UpdateWorkflowMutation = {
42094
42290
  id: string;
42095
42291
  } | null;
42096
42292
  } | null;
42293
+ hume?: {
42294
+ __typename?: 'HumeExtractionProperties';
42295
+ confidenceThreshold?: number | null;
42296
+ } | null;
42097
42297
  } | null;
42098
42298
  } | null> | null;
42099
42299
  } | null;
@@ -42416,6 +42616,10 @@ export type UpsertWorkflowMutation = {
42416
42616
  id: string;
42417
42617
  } | null;
42418
42618
  } | null;
42619
+ hume?: {
42620
+ __typename?: 'HumeExtractionProperties';
42621
+ confidenceThreshold?: number | null;
42622
+ } | null;
42419
42623
  } | null;
42420
42624
  } | null> | null;
42421
42625
  } | null;
@@ -708,6 +708,12 @@ export var EmbeddingTypes;
708
708
  /** Video embeddings */
709
709
  EmbeddingTypes["Video"] = "VIDEO";
710
710
  })(EmbeddingTypes || (EmbeddingTypes = {}));
711
+ /** Emotion facet types */
712
+ export var EmotionFacetTypes;
713
+ (function (EmotionFacetTypes) {
714
+ /** Creation Date */
715
+ EmotionFacetTypes["CreationDate"] = "CREATION_DATE";
716
+ })(EmotionFacetTypes || (EmotionFacetTypes = {}));
711
717
  /** Entity enrichment service types */
712
718
  export var EntityEnrichmentServiceTypes;
713
719
  (function (EntityEnrichmentServiceTypes) {
@@ -731,6 +737,8 @@ export var EntityExtractionServiceTypes;
731
737
  EntityExtractionServiceTypes["AzureCognitiveServicesImage"] = "AZURE_COGNITIVE_SERVICES_IMAGE";
732
738
  /** Azure AI Language, fka Azure Cognitive Services Text */
733
739
  EntityExtractionServiceTypes["AzureCognitiveServicesText"] = "AZURE_COGNITIVE_SERVICES_TEXT";
740
+ /** Hume AI Emotion */
741
+ EntityExtractionServiceTypes["HumeEmotion"] = "HUME_EMOTION";
734
742
  /** LLM Image */
735
743
  EntityExtractionServiceTypes["ModelImage"] = "MODEL_IMAGE";
736
744
  /** LLM Text */
@@ -824,6 +832,8 @@ export var EntityTypes;
824
832
  EntityTypes["Content"] = "CONTENT";
825
833
  /** Chatbot conversation */
826
834
  EntityTypes["Conversation"] = "CONVERSATION";
835
+ /** Emotion */
836
+ EntityTypes["Emotion"] = "EMOTION";
827
837
  /** Event */
828
838
  EntityTypes["Event"] = "EVENT";
829
839
  /** Fact */
@@ -1269,6 +1279,8 @@ export var FileTypes;
1269
1279
  FileTypes["PointCloud"] = "POINT_CLOUD";
1270
1280
  /** Shape file */
1271
1281
  FileTypes["Shape"] = "SHAPE";
1282
+ /** Subtitles */
1283
+ FileTypes["Subtitles"] = "SUBTITLES";
1272
1284
  /** Unknown file */
1273
1285
  FileTypes["Unknown"] = "UNKNOWN";
1274
1286
  /** Video file */
@@ -1952,6 +1964,8 @@ export var ObservableTypes;
1952
1964
  (function (ObservableTypes) {
1953
1965
  /** Category */
1954
1966
  ObservableTypes["Category"] = "CATEGORY";
1967
+ /** Emotion */
1968
+ ObservableTypes["Emotion"] = "EMOTION";
1955
1969
  /** Event */
1956
1970
  ObservableTypes["Event"] = "EVENT";
1957
1971
  /** Investment */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260131001",
3
+ "version": "1.0.20260202001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",