graphlit-client 1.0.20260131001 → 1.0.20260202002

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;
@@ -1719,40 +1719,6 @@ export const GetContent = gql `
1719
1719
  validAt
1720
1720
  invalidAt
1721
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
1722
  category
1757
1723
  confidence
1758
1724
  }
@@ -2619,40 +2585,6 @@ export const LookupContents = gql `
2619
2585
  validAt
2620
2586
  invalidAt
2621
2587
  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
2588
  category
2657
2589
  confidence
2658
2590
  }
@@ -5651,40 +5583,6 @@ export const GetConversation = gql `
5651
5583
  validAt
5652
5584
  invalidAt
5653
5585
  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
5586
  category
5689
5587
  confidence
5690
5588
  }
@@ -7086,10 +6984,15 @@ export const RetrieveFacts = gql `
7086
6984
  results {
7087
6985
  fact {
7088
6986
  id
6987
+ creationDate
6988
+ owner {
6989
+ id
6990
+ }
6991
+ state
7089
6992
  text
7090
6993
  validAt
7091
6994
  invalidAt
7092
- state
6995
+ relevance
7093
6996
  mentions {
7094
6997
  type
7095
6998
  observable {
@@ -7801,6 +7704,88 @@ export const UpdateConversation = gql `
7801
7704
  }
7802
7705
  }
7803
7706
  `;
7707
+ export const CountEmotions = gql `
7708
+ query CountEmotions($filter: EmotionFilter, $correlationId: String) {
7709
+ countEmotions(filter: $filter, correlationId: $correlationId) {
7710
+ count
7711
+ }
7712
+ }
7713
+ `;
7714
+ export const CreateEmotion = gql `
7715
+ mutation CreateEmotion($emotion: EmotionInput!) {
7716
+ createEmotion(emotion: $emotion) {
7717
+ id
7718
+ name
7719
+ }
7720
+ }
7721
+ `;
7722
+ export const DeleteAllEmotions = gql `
7723
+ mutation DeleteAllEmotions($filter: EmotionFilter, $isSynchronous: Boolean, $correlationId: String) {
7724
+ deleteAllEmotions(
7725
+ filter: $filter
7726
+ isSynchronous: $isSynchronous
7727
+ correlationId: $correlationId
7728
+ ) {
7729
+ id
7730
+ state
7731
+ }
7732
+ }
7733
+ `;
7734
+ export const DeleteEmotion = gql `
7735
+ mutation DeleteEmotion($id: ID!) {
7736
+ deleteEmotion(id: $id) {
7737
+ id
7738
+ state
7739
+ }
7740
+ }
7741
+ `;
7742
+ export const DeleteEmotions = gql `
7743
+ mutation DeleteEmotions($ids: [ID!]!, $isSynchronous: Boolean) {
7744
+ deleteEmotions(ids: $ids, isSynchronous: $isSynchronous) {
7745
+ id
7746
+ state
7747
+ }
7748
+ }
7749
+ `;
7750
+ export const GetEmotion = gql `
7751
+ query GetEmotion($id: ID!, $correlationId: String) {
7752
+ emotion(id: $id, correlationId: $correlationId) {
7753
+ id
7754
+ name
7755
+ description
7756
+ creationDate
7757
+ feeds {
7758
+ id
7759
+ name
7760
+ }
7761
+ }
7762
+ }
7763
+ `;
7764
+ export const QueryEmotions = gql `
7765
+ query QueryEmotions($filter: EmotionFilter, $correlationId: String) {
7766
+ emotions(filter: $filter, correlationId: $correlationId) {
7767
+ results {
7768
+ id
7769
+ name
7770
+ description
7771
+ creationDate
7772
+ relevance
7773
+ feeds {
7774
+ id
7775
+ name
7776
+ }
7777
+ }
7778
+ }
7779
+ }
7780
+ `;
7781
+ export const UpdateEmotion = gql `
7782
+ mutation UpdateEmotion($emotion: EmotionUpdateInput!) {
7783
+ updateEmotion(emotion: $emotion) {
7784
+ id
7785
+ name
7786
+ }
7787
+ }
7788
+ `;
7804
7789
  export const CountEvents = gql `
7805
7790
  query CountEvents($filter: EventFilter, $correlationId: String) {
7806
7791
  countEvents(filter: $filter, correlationId: $correlationId) {
@@ -8143,6 +8128,7 @@ export const GetFact = gql `
8143
8128
  owner {
8144
8129
  id
8145
8130
  }
8131
+ state
8146
8132
  text
8147
8133
  validAt
8148
8134
  invalidAt
@@ -8195,6 +8181,7 @@ export const QueryFacts = gql `
8195
8181
  owner {
8196
8182
  id
8197
8183
  }
8184
+ state
8198
8185
  text
8199
8186
  validAt
8200
8187
  invalidAt
@@ -8248,6 +8235,7 @@ export const QueryFactsClusters = gql `
8248
8235
  owner {
8249
8236
  id
8250
8237
  }
8238
+ state
8251
8239
  text
8252
8240
  validAt
8253
8241
  invalidAt
@@ -15587,6 +15575,8 @@ export const GetSpecification = gql `
15587
15575
  enableSummarization
15588
15576
  enableEntityExtraction
15589
15577
  enableFactExtraction
15578
+ entityExtractionLimit
15579
+ factExtractionLimit
15590
15580
  messagesWeight
15591
15581
  contentsWeight
15592
15582
  }
@@ -15972,6 +15962,8 @@ export const QuerySpecifications = gql `
15972
15962
  enableSummarization
15973
15963
  enableEntityExtraction
15974
15964
  enableFactExtraction
15965
+ entityExtractionLimit
15966
+ factExtractionLimit
15975
15967
  messagesWeight
15976
15968
  contentsWeight
15977
15969
  }
@@ -17639,6 +17631,9 @@ export const CreateWorkflow = gql `
17639
17631
  entityBudget
17640
17632
  extractionType
17641
17633
  }
17634
+ hume {
17635
+ confidenceThreshold
17636
+ }
17642
17637
  }
17643
17638
  }
17644
17639
  }
@@ -17930,6 +17925,9 @@ export const GetWorkflow = gql `
17930
17925
  entityBudget
17931
17926
  extractionType
17932
17927
  }
17928
+ hume {
17929
+ confidenceThreshold
17930
+ }
17933
17931
  }
17934
17932
  }
17935
17933
  }
@@ -18195,6 +18193,9 @@ export const QueryWorkflows = gql `
18195
18193
  entityBudget
18196
18194
  extractionType
18197
18195
  }
18196
+ hume {
18197
+ confidenceThreshold
18198
+ }
18198
18199
  }
18199
18200
  }
18200
18201
  }
@@ -18454,6 +18455,9 @@ export const UpdateWorkflow = gql `
18454
18455
  entityBudget
18455
18456
  extractionType
18456
18457
  }
18458
+ hume {
18459
+ confidenceThreshold
18460
+ }
18457
18461
  }
18458
18462
  }
18459
18463
  }
@@ -18712,6 +18716,9 @@ export const UpsertWorkflow = gql `
18712
18716
  entityBudget
18713
18717
  extractionType
18714
18718
  }
18719
+ hume {
18720
+ confidenceThreshold
18721
+ }
18715
18722
  }
18716
18723
  }
18717
18724
  }
@@ -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. */
@@ -4478,6 +4599,8 @@ export type EntityExtractionMetadata = {
4478
4599
  __typename?: 'EntityExtractionMetadata';
4479
4600
  /** The extracted categories. */
4480
4601
  categories?: Maybe<Array<Maybe<Observable>>>;
4602
+ /** The extracted emotions. */
4603
+ emotions?: Maybe<Array<Maybe<Observable>>>;
4481
4604
  /** The extracted events. */
4482
4605
  events?: Maybe<Array<Maybe<Observable>>>;
4483
4606
  /** The extracted investment funds. */
@@ -4529,6 +4652,8 @@ export declare enum EntityExtractionServiceTypes {
4529
4652
  AzureCognitiveServicesImage = "AZURE_COGNITIVE_SERVICES_IMAGE",
4530
4653
  /** Azure AI Language, fka Azure Cognitive Services Text */
4531
4654
  AzureCognitiveServicesText = "AZURE_COGNITIVE_SERVICES_TEXT",
4655
+ /** Hume AI Emotion */
4656
+ HumeEmotion = "HUME_EMOTION",
4532
4657
  /** LLM Image */
4533
4658
  ModelImage = "MODEL_IMAGE",
4534
4659
  /** LLM Text */
@@ -4721,6 +4846,8 @@ export declare enum EntityTypes {
4721
4846
  Content = "CONTENT",
4722
4847
  /** Chatbot conversation */
4723
4848
  Conversation = "CONVERSATION",
4849
+ /** Emotion */
4850
+ Emotion = "EMOTION",
4724
4851
  /** Event */
4725
4852
  Event = "EVENT",
4726
4853
  /** Fact */
@@ -6115,6 +6242,8 @@ export declare enum FileTypes {
6115
6242
  PointCloud = "POINT_CLOUD",
6116
6243
  /** Shape file */
6117
6244
  Shape = "SHAPE",
6245
+ /** Subtitles */
6246
+ Subtitles = "SUBTITLES",
6118
6247
  /** Unknown file */
6119
6248
  Unknown = "UNKNOWN",
6120
6249
  /** Video file */
@@ -7803,6 +7932,17 @@ export type HubSpotTasksFeedPropertiesUpdateInput = {
7803
7932
  /** HubSpot OAuth2 refresh token. */
7804
7933
  refreshToken?: InputMaybe<Scalars['String']['input']>;
7805
7934
  };
7935
+ /** Represents Hume AI emotion extraction properties. */
7936
+ export type HumeExtractionProperties = {
7937
+ __typename?: 'HumeExtractionProperties';
7938
+ /** The confidence threshold for emotion extraction. */
7939
+ confidenceThreshold?: Maybe<Scalars['Float']['output']>;
7940
+ };
7941
+ /** Represents Hume AI emotion extraction properties. */
7942
+ export type HumeExtractionPropertiesInput = {
7943
+ /** The confidence threshold for emotion extraction. */
7944
+ confidenceThreshold?: InputMaybe<Scalars['Float']['input']>;
7945
+ };
7806
7946
  /** Represents an embedded image in a text page. */
7807
7947
  export type ImageChunk = {
7808
7948
  __typename?: 'ImageChunk';
@@ -12098,6 +12238,8 @@ export type Mutation = {
12098
12238
  createConnector?: Maybe<Connector>;
12099
12239
  /** Creates a new conversation. */
12100
12240
  createConversation?: Maybe<Conversation>;
12241
+ /** Creates a new emotion. */
12242
+ createEmotion?: Maybe<Emotion>;
12101
12243
  /** Creates a new event. */
12102
12244
  createEvent?: Maybe<Event>;
12103
12245
  /** Creates a new fact. */
@@ -12168,6 +12310,8 @@ export type Mutation = {
12168
12310
  deleteAllContents?: Maybe<Array<Maybe<Content>>>;
12169
12311
  /** Bulk deletes conversations based on the provided filter criteria. */
12170
12312
  deleteAllConversations?: Maybe<Array<Maybe<Conversation>>>;
12313
+ /** Bulk deletes emotions based on the provided filter criteria. */
12314
+ deleteAllEmotions?: Maybe<Array<Maybe<Emotion>>>;
12171
12315
  /** Bulk deletes events based on the provided filter criteria. */
12172
12316
  deleteAllEvents?: Maybe<Array<Maybe<Event>>>;
12173
12317
  /** Bulk deletes facts based on the provided filter criteria. */
@@ -12238,6 +12382,10 @@ export type Mutation = {
12238
12382
  deleteConversation?: Maybe<Conversation>;
12239
12383
  /** Bulk deletes conversations. */
12240
12384
  deleteConversations?: Maybe<Array<Maybe<Conversation>>>;
12385
+ /** Deletes an emotion. */
12386
+ deleteEmotion?: Maybe<Emotion>;
12387
+ /** Bulk deletes emotions. */
12388
+ deleteEmotions?: Maybe<Array<Maybe<Emotion>>>;
12241
12389
  /** Deletes an event. */
12242
12390
  deleteEvent?: Maybe<Event>;
12243
12391
  /** Bulk deletes events. */
@@ -12480,6 +12628,8 @@ export type Mutation = {
12480
12628
  updateContent?: Maybe<Content>;
12481
12629
  /** Updates an existing conversation. */
12482
12630
  updateConversation?: Maybe<Conversation>;
12631
+ /** Updates an emotion. */
12632
+ updateEmotion?: Maybe<Emotion>;
12483
12633
  /** Updates an event. */
12484
12634
  updateEvent?: Maybe<Event>;
12485
12635
  /** Updates a fact. */
@@ -12542,6 +12692,8 @@ export type Mutation = {
12542
12692
  upsertAlert?: Maybe<Alert>;
12543
12693
  /** Upserts a category. */
12544
12694
  upsertCategory?: Maybe<Category>;
12695
+ /** Upserts an emotion. */
12696
+ upsertEmotion?: Maybe<Emotion>;
12545
12697
  /** Upserts a label. */
12546
12698
  upsertLabel?: Maybe<Label>;
12547
12699
  /** Upserts an LLM specification. */
@@ -12613,6 +12765,9 @@ export type MutationCreateConversationArgs = {
12613
12765
  conversation: ConversationInput;
12614
12766
  correlationId?: InputMaybe<Scalars['String']['input']>;
12615
12767
  };
12768
+ export type MutationCreateEmotionArgs = {
12769
+ emotion: EmotionInput;
12770
+ };
12616
12771
  export type MutationCreateEventArgs = {
12617
12772
  event: EventInput;
12618
12773
  };
@@ -12730,6 +12885,11 @@ export type MutationDeleteAllConversationsArgs = {
12730
12885
  filter?: InputMaybe<ConversationFilter>;
12731
12886
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
12732
12887
  };
12888
+ export type MutationDeleteAllEmotionsArgs = {
12889
+ correlationId?: InputMaybe<Scalars['String']['input']>;
12890
+ filter?: InputMaybe<EmotionFilter>;
12891
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
12892
+ };
12733
12893
  export type MutationDeleteAllEventsArgs = {
12734
12894
  correlationId?: InputMaybe<Scalars['String']['input']>;
12735
12895
  filter?: InputMaybe<EventFilter>;
@@ -12891,6 +13051,13 @@ export type MutationDeleteConversationsArgs = {
12891
13051
  ids: Array<Scalars['ID']['input']>;
12892
13052
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
12893
13053
  };
13054
+ export type MutationDeleteEmotionArgs = {
13055
+ id: Scalars['ID']['input'];
13056
+ };
13057
+ export type MutationDeleteEmotionsArgs = {
13058
+ ids: Array<Scalars['ID']['input']>;
13059
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
13060
+ };
12894
13061
  export type MutationDeleteEventArgs = {
12895
13062
  id: Scalars['ID']['input'];
12896
13063
  };
@@ -13477,6 +13644,9 @@ export type MutationUpdateContentArgs = {
13477
13644
  export type MutationUpdateConversationArgs = {
13478
13645
  conversation: ConversationUpdateInput;
13479
13646
  };
13647
+ export type MutationUpdateEmotionArgs = {
13648
+ emotion: EmotionUpdateInput;
13649
+ };
13480
13650
  export type MutationUpdateEventArgs = {
13481
13651
  event: EventUpdateInput;
13482
13652
  };
@@ -13571,6 +13741,10 @@ export type MutationUpsertCategoryArgs = {
13571
13741
  category: CategoryInput;
13572
13742
  correlationId?: InputMaybe<Scalars['String']['input']>;
13573
13743
  };
13744
+ export type MutationUpsertEmotionArgs = {
13745
+ correlationId?: InputMaybe<Scalars['String']['input']>;
13746
+ emotion: EmotionInput;
13747
+ };
13574
13748
  export type MutationUpsertLabelArgs = {
13575
13749
  correlationId?: InputMaybe<Scalars['String']['input']>;
13576
13750
  label: LabelInput;
@@ -13784,6 +13958,8 @@ export type ObservableResults = {
13784
13958
  export declare enum ObservableTypes {
13785
13959
  /** Category */
13786
13960
  Category = "CATEGORY",
13961
+ /** Emotion */
13962
+ Emotion = "EMOTION",
13787
13963
  /** Event */
13788
13964
  Event = "EVENT",
13789
13965
  /** Investment */
@@ -16292,6 +16468,8 @@ export type Query = {
16292
16468
  countContents?: Maybe<CountResult>;
16293
16469
  /** Counts conversations based on the provided filter criteria. */
16294
16470
  countConversations?: Maybe<CountResult>;
16471
+ /** Counts emotions based on the provided filter criteria. */
16472
+ countEmotions?: Maybe<CountResult>;
16295
16473
  /** Counts events based on the provided filter criteria. */
16296
16474
  countEvents?: Maybe<CountResult>;
16297
16475
  /** Counts facts based on the provided filter criteria. */
@@ -16354,6 +16532,10 @@ export type Query = {
16354
16532
  discordGuilds?: Maybe<DiscordGuildResults>;
16355
16533
  /** Retrieves available Dropbox folders. */
16356
16534
  dropboxFolders?: Maybe<DropboxFolderResults>;
16535
+ /** Lookup an emotion given its ID. */
16536
+ emotion?: Maybe<Emotion>;
16537
+ /** Retrieves emotions based on the provided filter criteria. */
16538
+ emotions?: Maybe<EmotionResults>;
16357
16539
  /** Lookup an event given its ID. */
16358
16540
  event?: Maybe<Event>;
16359
16541
  /** Retrieves events based on the provided filter criteria. */
@@ -16643,6 +16825,10 @@ export type QueryCountConversationsArgs = {
16643
16825
  correlationId?: InputMaybe<Scalars['String']['input']>;
16644
16826
  filter?: InputMaybe<ConversationFilter>;
16645
16827
  };
16828
+ export type QueryCountEmotionsArgs = {
16829
+ correlationId?: InputMaybe<Scalars['String']['input']>;
16830
+ filter?: InputMaybe<EmotionFilter>;
16831
+ };
16646
16832
  export type QueryCountEventsArgs = {
16647
16833
  correlationId?: InputMaybe<Scalars['String']['input']>;
16648
16834
  filter?: InputMaybe<EventFilter>;
@@ -16765,6 +16951,15 @@ export type QueryDropboxFoldersArgs = {
16765
16951
  folderPath?: InputMaybe<Scalars['String']['input']>;
16766
16952
  properties: DropboxFoldersInput;
16767
16953
  };
16954
+ export type QueryEmotionArgs = {
16955
+ correlationId?: InputMaybe<Scalars['String']['input']>;
16956
+ id: Scalars['ID']['input'];
16957
+ };
16958
+ export type QueryEmotionsArgs = {
16959
+ correlationId?: InputMaybe<Scalars['String']['input']>;
16960
+ facets?: InputMaybe<Array<EmotionFacetInput>>;
16961
+ filter?: InputMaybe<EmotionFilter>;
16962
+ };
16768
16963
  export type QueryEventArgs = {
16769
16964
  correlationId?: InputMaybe<Scalars['String']['input']>;
16770
16965
  id: Scalars['ID']['input'];
@@ -22212,50 +22407,8 @@ export type GetContentQuery = {
22212
22407
  validAt?: any | null;
22213
22408
  invalidAt?: any | null;
22214
22409
  state: EntityState;
22215
- sourceType?: SourceTypes | null;
22216
22410
  category?: FactCategory | null;
22217
22411
  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
22412
  } | null> | null;
22260
22413
  workflow?: {
22261
22414
  __typename?: 'Workflow';
@@ -23228,50 +23381,8 @@ export type LookupContentsQuery = {
23228
23381
  validAt?: any | null;
23229
23382
  invalidAt?: any | null;
23230
23383
  state: EntityState;
23231
- sourceType?: SourceTypes | null;
23232
23384
  category?: FactCategory | null;
23233
23385
  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
23386
  } | null> | null;
23276
23387
  workflow?: {
23277
23388
  __typename?: 'Workflow';
@@ -26646,50 +26757,8 @@ export type GetConversationQuery = {
26646
26757
  validAt?: any | null;
26647
26758
  invalidAt?: any | null;
26648
26759
  state: EntityState;
26649
- sourceType?: SourceTypes | null;
26650
26760
  category?: FactCategory | null;
26651
26761
  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
26762
  } | null> | null;
26694
26763
  } | null;
26695
26764
  };
@@ -28289,13 +28358,19 @@ export type RetrieveFactsMutation = {
28289
28358
  fact: {
28290
28359
  __typename?: 'Fact';
28291
28360
  id: string;
28361
+ creationDate: any;
28362
+ state: EntityState;
28292
28363
  text: string;
28293
28364
  validAt?: any | null;
28294
28365
  invalidAt?: any | null;
28295
- state: EntityState;
28366
+ relevance?: number | null;
28296
28367
  sourceType?: SourceTypes | null;
28297
28368
  category?: FactCategory | null;
28298
28369
  confidence?: number | null;
28370
+ owner: {
28371
+ __typename?: 'Owner';
28372
+ id: string;
28373
+ };
28299
28374
  mentions?: Array<{
28300
28375
  __typename?: 'MentionReference';
28301
28376
  type?: ObservableTypes | null;
@@ -29061,6 +29136,117 @@ export type UpdateConversationMutation = {
29061
29136
  type?: ConversationTypes | null;
29062
29137
  } | null;
29063
29138
  };
29139
+ export type CountEmotionsQueryVariables = Exact<{
29140
+ filter?: InputMaybe<EmotionFilter>;
29141
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29142
+ }>;
29143
+ export type CountEmotionsQuery = {
29144
+ __typename?: 'Query';
29145
+ countEmotions?: {
29146
+ __typename?: 'CountResult';
29147
+ count?: any | null;
29148
+ } | null;
29149
+ };
29150
+ export type CreateEmotionMutationVariables = Exact<{
29151
+ emotion: EmotionInput;
29152
+ }>;
29153
+ export type CreateEmotionMutation = {
29154
+ __typename?: 'Mutation';
29155
+ createEmotion?: {
29156
+ __typename?: 'Emotion';
29157
+ id: string;
29158
+ name: string;
29159
+ } | null;
29160
+ };
29161
+ export type DeleteAllEmotionsMutationVariables = Exact<{
29162
+ filter?: InputMaybe<EmotionFilter>;
29163
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
29164
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29165
+ }>;
29166
+ export type DeleteAllEmotionsMutation = {
29167
+ __typename?: 'Mutation';
29168
+ deleteAllEmotions?: Array<{
29169
+ __typename?: 'Emotion';
29170
+ id: string;
29171
+ state: EntityState;
29172
+ } | null> | null;
29173
+ };
29174
+ export type DeleteEmotionMutationVariables = Exact<{
29175
+ id: Scalars['ID']['input'];
29176
+ }>;
29177
+ export type DeleteEmotionMutation = {
29178
+ __typename?: 'Mutation';
29179
+ deleteEmotion?: {
29180
+ __typename?: 'Emotion';
29181
+ id: string;
29182
+ state: EntityState;
29183
+ } | null;
29184
+ };
29185
+ export type DeleteEmotionsMutationVariables = Exact<{
29186
+ ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
29187
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
29188
+ }>;
29189
+ export type DeleteEmotionsMutation = {
29190
+ __typename?: 'Mutation';
29191
+ deleteEmotions?: Array<{
29192
+ __typename?: 'Emotion';
29193
+ id: string;
29194
+ state: EntityState;
29195
+ } | null> | null;
29196
+ };
29197
+ export type GetEmotionQueryVariables = Exact<{
29198
+ id: Scalars['ID']['input'];
29199
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29200
+ }>;
29201
+ export type GetEmotionQuery = {
29202
+ __typename?: 'Query';
29203
+ emotion?: {
29204
+ __typename?: 'Emotion';
29205
+ id: string;
29206
+ name: string;
29207
+ description?: string | null;
29208
+ creationDate: any;
29209
+ feeds?: Array<{
29210
+ __typename?: 'Feed';
29211
+ id: string;
29212
+ name: string;
29213
+ } | null> | null;
29214
+ } | null;
29215
+ };
29216
+ export type QueryEmotionsQueryVariables = Exact<{
29217
+ filter?: InputMaybe<EmotionFilter>;
29218
+ correlationId?: InputMaybe<Scalars['String']['input']>;
29219
+ }>;
29220
+ export type QueryEmotionsQuery = {
29221
+ __typename?: 'Query';
29222
+ emotions?: {
29223
+ __typename?: 'EmotionResults';
29224
+ results?: Array<{
29225
+ __typename?: 'Emotion';
29226
+ id: string;
29227
+ name: string;
29228
+ description?: string | null;
29229
+ creationDate: any;
29230
+ relevance?: number | null;
29231
+ feeds?: Array<{
29232
+ __typename?: 'Feed';
29233
+ id: string;
29234
+ name: string;
29235
+ } | null> | null;
29236
+ } | null> | null;
29237
+ } | null;
29238
+ };
29239
+ export type UpdateEmotionMutationVariables = Exact<{
29240
+ emotion: EmotionUpdateInput;
29241
+ }>;
29242
+ export type UpdateEmotionMutation = {
29243
+ __typename?: 'Mutation';
29244
+ updateEmotion?: {
29245
+ __typename?: 'Emotion';
29246
+ id: string;
29247
+ name: string;
29248
+ } | null;
29249
+ };
29064
29250
  export type CountEventsQueryVariables = Exact<{
29065
29251
  filter?: InputMaybe<EventFilter>;
29066
29252
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -29477,6 +29663,7 @@ export type GetFactQuery = {
29477
29663
  __typename?: 'Fact';
29478
29664
  id: string;
29479
29665
  creationDate: any;
29666
+ state: EntityState;
29480
29667
  text: string;
29481
29668
  validAt?: any | null;
29482
29669
  invalidAt?: any | null;
@@ -29543,6 +29730,7 @@ export type QueryFactsQuery = {
29543
29730
  __typename?: 'Fact';
29544
29731
  id: string;
29545
29732
  creationDate: any;
29733
+ state: EntityState;
29546
29734
  text: string;
29547
29735
  validAt?: any | null;
29548
29736
  invalidAt?: any | null;
@@ -29611,6 +29799,7 @@ export type QueryFactsClustersQuery = {
29611
29799
  __typename?: 'Fact';
29612
29800
  id: string;
29613
29801
  creationDate: any;
29802
+ state: EntityState;
29614
29803
  text: string;
29615
29804
  validAt?: any | null;
29616
29805
  invalidAt?: any | null;
@@ -38542,6 +38731,8 @@ export type GetSpecificationQuery = {
38542
38731
  enableSummarization?: boolean | null;
38543
38732
  enableEntityExtraction?: boolean | null;
38544
38733
  enableFactExtraction?: boolean | null;
38734
+ entityExtractionLimit?: number | null;
38735
+ factExtractionLimit?: number | null;
38545
38736
  messagesWeight?: number | null;
38546
38737
  contentsWeight?: number | null;
38547
38738
  } | null;
@@ -38974,6 +39165,8 @@ export type QuerySpecificationsQuery = {
38974
39165
  enableSummarization?: boolean | null;
38975
39166
  enableEntityExtraction?: boolean | null;
38976
39167
  enableFactExtraction?: boolean | null;
39168
+ entityExtractionLimit?: number | null;
39169
+ factExtractionLimit?: number | null;
38977
39170
  messagesWeight?: number | null;
38978
39171
  contentsWeight?: number | null;
38979
39172
  } | null;
@@ -41074,6 +41267,10 @@ export type CreateWorkflowMutation = {
41074
41267
  id: string;
41075
41268
  } | null;
41076
41269
  } | null;
41270
+ hume?: {
41271
+ __typename?: 'HumeExtractionProperties';
41272
+ confidenceThreshold?: number | null;
41273
+ } | null;
41077
41274
  } | null;
41078
41275
  } | null> | null;
41079
41276
  } | null;
@@ -41439,6 +41636,10 @@ export type GetWorkflowQuery = {
41439
41636
  id: string;
41440
41637
  } | null;
41441
41638
  } | null;
41639
+ hume?: {
41640
+ __typename?: 'HumeExtractionProperties';
41641
+ confidenceThreshold?: number | null;
41642
+ } | null;
41442
41643
  } | null;
41443
41644
  } | null> | null;
41444
41645
  } | null;
@@ -41771,6 +41972,10 @@ export type QueryWorkflowsQuery = {
41771
41972
  id: string;
41772
41973
  } | null;
41773
41974
  } | null;
41975
+ hume?: {
41976
+ __typename?: 'HumeExtractionProperties';
41977
+ confidenceThreshold?: number | null;
41978
+ } | null;
41774
41979
  } | null;
41775
41980
  } | null> | null;
41776
41981
  } | null;
@@ -42094,6 +42299,10 @@ export type UpdateWorkflowMutation = {
42094
42299
  id: string;
42095
42300
  } | null;
42096
42301
  } | null;
42302
+ hume?: {
42303
+ __typename?: 'HumeExtractionProperties';
42304
+ confidenceThreshold?: number | null;
42305
+ } | null;
42097
42306
  } | null;
42098
42307
  } | null> | null;
42099
42308
  } | null;
@@ -42416,6 +42625,10 @@ export type UpsertWorkflowMutation = {
42416
42625
  id: string;
42417
42626
  } | null;
42418
42627
  } | null;
42628
+ hume?: {
42629
+ __typename?: 'HumeExtractionProperties';
42630
+ confidenceThreshold?: number | null;
42631
+ } | null;
42419
42632
  } | null;
42420
42633
  } | null> | null;
42421
42634
  } | 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.20260202002",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",