graphlit-client 1.0.20240728001 → 1.0.20240808001

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.
@@ -566,6 +566,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
566
566
  workflowDuration
567
567
  uri
568
568
  description
569
+ identifier
569
570
  markdown
570
571
  address {
571
572
  streetAddress
@@ -950,6 +951,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
950
951
  workflowDuration
951
952
  uri
952
953
  description
954
+ identifier
953
955
  markdown
954
956
  address {
955
957
  streetAddress
@@ -1191,6 +1193,7 @@ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1191
1193
  workflowDuration
1192
1194
  uri
1193
1195
  description
1196
+ identifier
1194
1197
  markdown
1195
1198
  address {
1196
1199
  streetAddress
@@ -1579,6 +1582,7 @@ exports.GetConversation = (0, graphql_tag_1.default) `
1579
1582
  name
1580
1583
  state
1581
1584
  originalDate
1585
+ identifier
1582
1586
  uri
1583
1587
  type
1584
1588
  fileType
@@ -1755,6 +1759,73 @@ exports.GetConversation = (0, graphql_tag_1.default) `
1755
1759
  }
1756
1760
  }
1757
1761
  }
1762
+ augmentedFilter {
1763
+ dateRange {
1764
+ from
1765
+ to
1766
+ }
1767
+ creationDateRange {
1768
+ from
1769
+ to
1770
+ }
1771
+ types
1772
+ fileTypes
1773
+ contents {
1774
+ id
1775
+ }
1776
+ feeds {
1777
+ id
1778
+ }
1779
+ workflows {
1780
+ id
1781
+ }
1782
+ collections {
1783
+ id
1784
+ }
1785
+ observations {
1786
+ type
1787
+ observable {
1788
+ id
1789
+ }
1790
+ states
1791
+ }
1792
+ or {
1793
+ feeds {
1794
+ id
1795
+ }
1796
+ workflows {
1797
+ id
1798
+ }
1799
+ collections {
1800
+ id
1801
+ }
1802
+ observations {
1803
+ type
1804
+ observable {
1805
+ id
1806
+ }
1807
+ states
1808
+ }
1809
+ }
1810
+ and {
1811
+ feeds {
1812
+ id
1813
+ }
1814
+ workflows {
1815
+ id
1816
+ }
1817
+ collections {
1818
+ id
1819
+ }
1820
+ observations {
1821
+ type
1822
+ observable {
1823
+ id
1824
+ }
1825
+ states
1826
+ }
1827
+ }
1828
+ }
1758
1829
  }
1759
1830
  }
1760
1831
  `;
@@ -1774,6 +1845,7 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
1774
1845
  name
1775
1846
  state
1776
1847
  originalDate
1848
+ identifier
1777
1849
  uri
1778
1850
  type
1779
1851
  fileType
@@ -1964,6 +2036,7 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
1964
2036
  name
1965
2037
  state
1966
2038
  originalDate
2039
+ identifier
1967
2040
  uri
1968
2041
  type
1969
2042
  fileType
@@ -2140,6 +2213,73 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
2140
2213
  }
2141
2214
  }
2142
2215
  }
2216
+ augmentedFilter {
2217
+ dateRange {
2218
+ from
2219
+ to
2220
+ }
2221
+ creationDateRange {
2222
+ from
2223
+ to
2224
+ }
2225
+ types
2226
+ fileTypes
2227
+ contents {
2228
+ id
2229
+ }
2230
+ feeds {
2231
+ id
2232
+ }
2233
+ workflows {
2234
+ id
2235
+ }
2236
+ collections {
2237
+ id
2238
+ }
2239
+ observations {
2240
+ type
2241
+ observable {
2242
+ id
2243
+ }
2244
+ states
2245
+ }
2246
+ or {
2247
+ feeds {
2248
+ id
2249
+ }
2250
+ workflows {
2251
+ id
2252
+ }
2253
+ collections {
2254
+ id
2255
+ }
2256
+ observations {
2257
+ type
2258
+ observable {
2259
+ id
2260
+ }
2261
+ states
2262
+ }
2263
+ }
2264
+ and {
2265
+ feeds {
2266
+ id
2267
+ }
2268
+ workflows {
2269
+ id
2270
+ }
2271
+ collections {
2272
+ id
2273
+ }
2274
+ observations {
2275
+ type
2276
+ observable {
2277
+ id
2278
+ }
2279
+ states
2280
+ }
2281
+ }
2282
+ }
2143
2283
  }
2144
2284
  }
2145
2285
  }
@@ -3692,6 +3832,35 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
3692
3832
  temperature
3693
3833
  probability
3694
3834
  }
3835
+ mistral {
3836
+ tokenLimit
3837
+ completionTokenLimit
3838
+ model
3839
+ key
3840
+ modelName
3841
+ endpoint
3842
+ temperature
3843
+ probability
3844
+ }
3845
+ groq {
3846
+ tokenLimit
3847
+ completionTokenLimit
3848
+ model
3849
+ key
3850
+ modelName
3851
+ endpoint
3852
+ temperature
3853
+ probability
3854
+ }
3855
+ deepseek {
3856
+ tokenLimit
3857
+ completionTokenLimit
3858
+ model
3859
+ key
3860
+ modelName
3861
+ temperature
3862
+ probability
3863
+ }
3695
3864
  tools {
3696
3865
  name
3697
3866
  description
@@ -3717,6 +3886,7 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
3717
3886
  name
3718
3887
  state
3719
3888
  originalDate
3889
+ identifier
3720
3890
  uri
3721
3891
  type
3722
3892
  fileType
@@ -3919,6 +4089,35 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
3919
4089
  temperature
3920
4090
  probability
3921
4091
  }
4092
+ mistral {
4093
+ tokenLimit
4094
+ completionTokenLimit
4095
+ model
4096
+ key
4097
+ modelName
4098
+ endpoint
4099
+ temperature
4100
+ probability
4101
+ }
4102
+ groq {
4103
+ tokenLimit
4104
+ completionTokenLimit
4105
+ model
4106
+ key
4107
+ modelName
4108
+ endpoint
4109
+ temperature
4110
+ probability
4111
+ }
4112
+ deepseek {
4113
+ tokenLimit
4114
+ completionTokenLimit
4115
+ model
4116
+ key
4117
+ modelName
4118
+ temperature
4119
+ probability
4120
+ }
3922
4121
  tools {
3923
4122
  name
3924
4123
  description
@@ -4006,6 +4205,11 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
4006
4205
  email {
4007
4206
  includeAttachments
4008
4207
  }
4208
+ modelDocument {
4209
+ specification {
4210
+ id
4211
+ }
4212
+ }
4009
4213
  }
4010
4214
  }
4011
4215
  }
@@ -4173,6 +4377,11 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
4173
4377
  email {
4174
4378
  includeAttachments
4175
4379
  }
4380
+ modelDocument {
4381
+ specification {
4382
+ id
4383
+ }
4384
+ }
4176
4385
  }
4177
4386
  }
4178
4387
  }
@@ -4313,6 +4522,11 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
4313
4522
  email {
4314
4523
  includeAttachments
4315
4524
  }
4525
+ modelDocument {
4526
+ specification {
4527
+ id
4528
+ }
4529
+ }
4316
4530
  }
4317
4531
  }
4318
4532
  }
@@ -4448,6 +4662,11 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
4448
4662
  email {
4449
4663
  includeAttachments
4450
4664
  }
4665
+ modelDocument {
4666
+ specification {
4667
+ id
4668
+ }
4669
+ }
4451
4670
  }
4452
4671
  }
4453
4672
  }
@@ -437,7 +437,7 @@ export type AudioMetadata = {
437
437
  /** The audio description. */
438
438
  description?: Maybe<Scalars['String']['output']>;
439
439
  /** The audio duration. */
440
- duration?: Maybe<Scalars['String']['output']>;
440
+ duration?: Maybe<Scalars['TimeSpan']['output']>;
441
441
  /** The episode name, if podcast episode. */
442
442
  episode?: Maybe<Scalars['String']['output']>;
443
443
  /** The episode type, if podcast episode. */
@@ -1062,6 +1062,8 @@ export type Content = {
1062
1062
  headlines?: Maybe<Array<Scalars['String']['output']>>;
1063
1063
  /** The ID of the content. */
1064
1064
  id: Scalars['ID']['output'];
1065
+ /** The content external identifier. */
1066
+ identifier?: Maybe<Scalars['String']['output']>;
1065
1067
  /** The content image metadata. */
1066
1068
  image?: Maybe<ImageMetadata>;
1067
1069
  /** The image rendition URI of the content. For web pages, this will contain a PNG screenshot of the website. For images, this will contain a rescaled JPEG rendition of the content. */
@@ -1333,6 +1335,8 @@ export type ContentFilter = {
1333
1335
  h3?: InputMaybe<H3Filter>;
1334
1336
  /** Filter content(s) by their unique ID. */
1335
1337
  id?: InputMaybe<Scalars['ID']['input']>;
1338
+ /** Filter contents by their external identifier. */
1339
+ identifier?: InputMaybe<Scalars['String']['input']>;
1336
1340
  /** Limit the number of content(s) to be returned. */
1337
1341
  limit?: InputMaybe<Scalars['Int']['input']>;
1338
1342
  /** Filter by geo-location. */
@@ -1409,6 +1413,8 @@ export declare enum ContentIndexingServiceTypes {
1409
1413
  export type ContentInput = {
1410
1414
  /** The content description. */
1411
1415
  description?: InputMaybe<Scalars['String']['input']>;
1416
+ /** The content external identifier. */
1417
+ identifier?: InputMaybe<Scalars['String']['input']>;
1412
1418
  /** The name of the content. */
1413
1419
  name: Scalars['String']['input'];
1414
1420
  /** The content text. */
@@ -1520,6 +1526,8 @@ export type ContentUpdateInput = {
1520
1526
  headlines?: InputMaybe<Array<Scalars['String']['input']>>;
1521
1527
  /** The ID of the content to update. */
1522
1528
  id: Scalars['ID']['input'];
1529
+ /** The content external identifier. */
1530
+ identifier?: InputMaybe<Scalars['String']['input']>;
1523
1531
  /** The content image metadata. */
1524
1532
  image?: InputMaybe<ImageMetadataInput>;
1525
1533
  /** The content issue metadata. */
@@ -1548,6 +1556,8 @@ export type ContentUpdateInput = {
1548
1556
  /** Represents a conversation. */
1549
1557
  export type Conversation = {
1550
1558
  __typename?: 'Conversation';
1559
+ /** Filter augmented content for conversation. Augmented content will always be added as content sources, without regard to user prompt. */
1560
+ augmentedFilter?: Maybe<ContentCriteria>;
1551
1561
  /** The contents referenced by the conversation. */
1552
1562
  contents?: Maybe<Array<Maybe<Content>>>;
1553
1563
  /** The tenant correlation identifier. */
@@ -1626,6 +1636,8 @@ export type ConversationFilter = {
1626
1636
  };
1627
1637
  /** Represents a conversation. */
1628
1638
  export type ConversationInput = {
1639
+ /** Filter augmented content for conversation. Augmented content will always be added as content sources, without regard to user prompt. */
1640
+ augmentedFilter?: InputMaybe<ContentCriteriaInput>;
1629
1641
  /** Filter content for conversation. */
1630
1642
  filter?: InputMaybe<ContentCriteriaInput>;
1631
1643
  /** The name of the conversation. */
@@ -1742,6 +1754,8 @@ export declare enum ConversationTypes {
1742
1754
  }
1743
1755
  /** Represents a conversation. */
1744
1756
  export type ConversationUpdateInput = {
1757
+ /** Filter augmented content for conversation. Augmented content will always be added as content sources, without regard to user prompt. */
1758
+ augmentedFilter?: InputMaybe<ContentCriteriaInput>;
1745
1759
  /** Filter content for conversation. */
1746
1760
  filter?: InputMaybe<ContentCriteriaInput>;
1747
1761
  /** The ID of the conversation to update. */
@@ -3061,6 +3075,8 @@ export type FilePreparationConnector = {
3061
3075
  email?: Maybe<EmailPreparationProperties>;
3062
3076
  /** The file types to be prepared. */
3063
3077
  fileTypes?: Maybe<Array<FileTypes>>;
3078
+ /** The specific properties for LLM document preparation. */
3079
+ modelDocument?: Maybe<ModelDocumentPreparationProperties>;
3064
3080
  /** The file preparation service type. */
3065
3081
  type: FilePreparationServiceTypes;
3066
3082
  };
@@ -3076,6 +3092,8 @@ export type FilePreparationConnectorInput = {
3076
3092
  email?: InputMaybe<EmailPreparationPropertiesInput>;
3077
3093
  /** The file types to be prepared. */
3078
3094
  fileTypes?: InputMaybe<Array<FileTypes>>;
3095
+ /** The specific properties for LLM document preparation. */
3096
+ modelDocument?: InputMaybe<ModelDocumentPreparationInputProperties>;
3079
3097
  /** The file preparation service type. */
3080
3098
  type: FilePreparationServiceTypes;
3081
3099
  };
@@ -3085,10 +3103,12 @@ export declare enum FilePreparationServiceTypes {
3085
3103
  AzureDocumentIntelligence = "AZURE_DOCUMENT_INTELLIGENCE",
3086
3104
  /** Deepgram Audio Transcription */
3087
3105
  Deepgram = "DEEPGRAM",
3088
- /** Document */
3106
+ /** Document Preparation */
3089
3107
  Document = "DOCUMENT",
3090
- /** Email */
3091
- Email = "EMAIL"
3108
+ /** Email Preparation */
3109
+ Email = "EMAIL",
3110
+ /** LLM Document Extraction */
3111
+ ModelDocument = "MODEL_DOCUMENT"
3092
3112
  }
3093
3113
  /** File type */
3094
3114
  export declare enum FileTypes {
@@ -4408,6 +4428,17 @@ export declare enum MistralModels {
4408
4428
  /** Mixtral 8x7b Instruct */
4409
4429
  Mixtral_8X7BInstruct = "MIXTRAL_8X7B_INSTRUCT"
4410
4430
  }
4431
+ /** Represents the LLM document preparation properties. */
4432
+ export type ModelDocumentPreparationInputProperties = {
4433
+ /** The LLM specification, optional. */
4434
+ specification?: InputMaybe<EntityReferenceInput>;
4435
+ };
4436
+ /** Represents the LLM document preparation properties. */
4437
+ export type ModelDocumentPreparationProperties = {
4438
+ __typename?: 'ModelDocumentPreparationProperties';
4439
+ /** The LLM specification, optional. */
4440
+ specification?: Maybe<EntityReference>;
4441
+ };
4411
4442
  /** Represents an LLM image entity extraction connector. */
4412
4443
  export type ModelImageExtractionProperties = {
4413
4444
  __typename?: 'ModelImageExtractionProperties';
@@ -5491,6 +5522,8 @@ export declare enum OpenAiModels {
5491
5522
  Gpt4O_128K = "GPT4O_128K",
5492
5523
  /** GPT-4o 128k (2024-05-13 version) */
5493
5524
  Gpt4O_128K_20240513 = "GPT4O_128K_20240513",
5525
+ /** GPT-4o 128k (2024-08-06 version) */
5526
+ Gpt4O_128K_20240806 = "GPT4O_128K_20240806",
5494
5527
  /** GPT-4o Mini 128k (latest version) */
5495
5528
  Gpt4OMini_128K = "GPT4O_MINI_128K",
5496
5529
  /** GPT-4o Mini 128k (2024-07-18 version) */
@@ -8388,12 +8421,20 @@ export type TextPage = {
8388
8421
  };
8389
8422
  /** Text Roles */
8390
8423
  export declare enum TextRoles {
8424
+ /** Checkbox */
8425
+ Checkbox = "CHECKBOX",
8391
8426
  /** Code Block */
8392
8427
  Code = "CODE",
8393
8428
  /** @deprecated Use 'TableColumnHeader' instead. */
8394
8429
  ColumnHeader = "COLUMN_HEADER",
8395
8430
  /** @deprecated Use 'TableCornerHeader' instead. */
8396
8431
  CornerHeader = "CORNER_HEADER",
8432
+ /** Diagram */
8433
+ Diagram = "DIAGRAM",
8434
+ /** Equation */
8435
+ Equation = "EQUATION",
8436
+ /** Figure */
8437
+ Figure = "FIGURE",
8397
8438
  /** Footnote */
8398
8439
  Footnote = "FOOTNOTE",
8399
8440
  /** Heading 1 */
@@ -8414,6 +8455,10 @@ export declare enum TextRoles {
8414
8455
  PageHeader = "PAGE_HEADER",
8415
8456
  /** Page Number */
8416
8457
  PageNumber = "PAGE_NUMBER",
8458
+ /** Paragraph */
8459
+ Paragraph = "PARAGRAPH",
8460
+ /** RadioButton */
8461
+ RadioButton = "RADIO_BUTTON",
8417
8462
  /** @deprecated Use 'TableRowHeader' instead. */
8418
8463
  RowHeader = "ROW_HEADER",
8419
8464
  /** Section Heading */
@@ -8573,7 +8618,7 @@ export type VideoMetadata = {
8573
8618
  /** The audio description. */
8574
8619
  description?: Maybe<Scalars['String']['output']>;
8575
8620
  /** The video duration. */
8576
- duration?: Maybe<Scalars['String']['output']>;
8621
+ duration?: Maybe<Scalars['TimeSpan']['output']>;
8577
8622
  /** The video height. */
8578
8623
  height?: Maybe<Scalars['Int']['output']>;
8579
8624
  /** The episode keywords, if podcast episode. */
@@ -9538,6 +9583,7 @@ export type GetContentQuery = {
9538
9583
  workflowDuration?: any | null;
9539
9584
  uri?: any | null;
9540
9585
  description?: string | null;
9586
+ identifier?: string | null;
9541
9587
  markdown?: string | null;
9542
9588
  type?: ContentTypes | null;
9543
9589
  fileType?: FileTypes | null;
@@ -9579,7 +9625,7 @@ export type GetContentQuery = {
9579
9625
  __typename?: 'VideoMetadata';
9580
9626
  width?: number | null;
9581
9627
  height?: number | null;
9582
- duration?: string | null;
9628
+ duration?: any | null;
9583
9629
  make?: string | null;
9584
9630
  model?: string | null;
9585
9631
  software?: string | null;
@@ -9605,7 +9651,7 @@ export type GetContentQuery = {
9605
9651
  channels?: number | null;
9606
9652
  sampleRate?: number | null;
9607
9653
  bitsPerSample?: number | null;
9608
- duration?: string | null;
9654
+ duration?: any | null;
9609
9655
  } | null;
9610
9656
  image?: {
9611
9657
  __typename?: 'ImageMetadata';
@@ -9968,6 +10014,7 @@ export type QueryContentsQuery = {
9968
10014
  workflowDuration?: any | null;
9969
10015
  uri?: any | null;
9970
10016
  description?: string | null;
10017
+ identifier?: string | null;
9971
10018
  markdown?: string | null;
9972
10019
  type?: ContentTypes | null;
9973
10020
  fileType?: FileTypes | null;
@@ -10009,7 +10056,7 @@ export type QueryContentsQuery = {
10009
10056
  __typename?: 'VideoMetadata';
10010
10057
  width?: number | null;
10011
10058
  height?: number | null;
10012
- duration?: string | null;
10059
+ duration?: any | null;
10013
10060
  make?: string | null;
10014
10061
  model?: string | null;
10015
10062
  software?: string | null;
@@ -10035,7 +10082,7 @@ export type QueryContentsQuery = {
10035
10082
  channels?: number | null;
10036
10083
  sampleRate?: number | null;
10037
10084
  bitsPerSample?: number | null;
10038
- duration?: string | null;
10085
+ duration?: any | null;
10039
10086
  } | null;
10040
10087
  image?: {
10041
10088
  __typename?: 'ImageMetadata';
@@ -10243,6 +10290,7 @@ export type QueryContentsFacetsQuery = {
10243
10290
  workflowDuration?: any | null;
10244
10291
  uri?: any | null;
10245
10292
  description?: string | null;
10293
+ identifier?: string | null;
10246
10294
  markdown?: string | null;
10247
10295
  type?: ContentTypes | null;
10248
10296
  fileType?: FileTypes | null;
@@ -10284,7 +10332,7 @@ export type QueryContentsFacetsQuery = {
10284
10332
  __typename?: 'VideoMetadata';
10285
10333
  width?: number | null;
10286
10334
  height?: number | null;
10287
- duration?: string | null;
10335
+ duration?: any | null;
10288
10336
  make?: string | null;
10289
10337
  model?: string | null;
10290
10338
  software?: string | null;
@@ -10310,7 +10358,7 @@ export type QueryContentsFacetsQuery = {
10310
10358
  channels?: number | null;
10311
10359
  sampleRate?: number | null;
10312
10360
  bitsPerSample?: number | null;
10313
- duration?: string | null;
10361
+ duration?: any | null;
10314
10362
  } | null;
10315
10363
  image?: {
10316
10364
  __typename?: 'ImageMetadata';
@@ -10722,6 +10770,7 @@ export type GetConversationQuery = {
10722
10770
  name: string;
10723
10771
  state: EntityState;
10724
10772
  originalDate?: any | null;
10773
+ identifier?: string | null;
10725
10774
  uri?: any | null;
10726
10775
  type?: ContentTypes | null;
10727
10776
  fileType?: FileTypes | null;
@@ -10748,7 +10797,7 @@ export type GetConversationQuery = {
10748
10797
  __typename?: 'VideoMetadata';
10749
10798
  width?: number | null;
10750
10799
  height?: number | null;
10751
- duration?: string | null;
10800
+ duration?: any | null;
10752
10801
  make?: string | null;
10753
10802
  model?: string | null;
10754
10803
  software?: string | null;
@@ -10774,7 +10823,7 @@ export type GetConversationQuery = {
10774
10823
  channels?: number | null;
10775
10824
  sampleRate?: number | null;
10776
10825
  bitsPerSample?: number | null;
10777
- duration?: string | null;
10826
+ duration?: any | null;
10778
10827
  } | null;
10779
10828
  image?: {
10780
10829
  __typename?: 'ImageMetadata';
@@ -10912,6 +10961,94 @@ export type GetConversationQuery = {
10912
10961
  }> | null;
10913
10962
  }> | null;
10914
10963
  } | null;
10964
+ augmentedFilter?: {
10965
+ __typename?: 'ContentCriteria';
10966
+ types?: Array<ContentTypes> | null;
10967
+ fileTypes?: Array<FileTypes | null> | null;
10968
+ dateRange?: {
10969
+ __typename?: 'DateRange';
10970
+ from?: any | null;
10971
+ to?: any | null;
10972
+ } | null;
10973
+ creationDateRange?: {
10974
+ __typename?: 'DateRange';
10975
+ from?: any | null;
10976
+ to?: any | null;
10977
+ } | null;
10978
+ contents?: Array<{
10979
+ __typename?: 'EntityReference';
10980
+ id: string;
10981
+ }> | null;
10982
+ feeds?: Array<{
10983
+ __typename?: 'EntityReference';
10984
+ id: string;
10985
+ }> | null;
10986
+ workflows?: Array<{
10987
+ __typename?: 'EntityReference';
10988
+ id: string;
10989
+ }> | null;
10990
+ collections?: Array<{
10991
+ __typename?: 'EntityReference';
10992
+ id: string;
10993
+ }> | null;
10994
+ observations?: Array<{
10995
+ __typename?: 'ObservationCriteria';
10996
+ type: ObservableTypes;
10997
+ states?: Array<EntityState | null> | null;
10998
+ observable: {
10999
+ __typename?: 'EntityReference';
11000
+ id: string;
11001
+ };
11002
+ }> | null;
11003
+ or?: Array<{
11004
+ __typename?: 'ContentCriteriaLevel';
11005
+ feeds?: Array<{
11006
+ __typename?: 'EntityReference';
11007
+ id: string;
11008
+ }> | null;
11009
+ workflows?: Array<{
11010
+ __typename?: 'EntityReference';
11011
+ id: string;
11012
+ }> | null;
11013
+ collections?: Array<{
11014
+ __typename?: 'EntityReference';
11015
+ id: string;
11016
+ }> | null;
11017
+ observations?: Array<{
11018
+ __typename?: 'ObservationCriteria';
11019
+ type: ObservableTypes;
11020
+ states?: Array<EntityState | null> | null;
11021
+ observable: {
11022
+ __typename?: 'EntityReference';
11023
+ id: string;
11024
+ };
11025
+ }> | null;
11026
+ }> | null;
11027
+ and?: Array<{
11028
+ __typename?: 'ContentCriteriaLevel';
11029
+ feeds?: Array<{
11030
+ __typename?: 'EntityReference';
11031
+ id: string;
11032
+ }> | null;
11033
+ workflows?: Array<{
11034
+ __typename?: 'EntityReference';
11035
+ id: string;
11036
+ }> | null;
11037
+ collections?: Array<{
11038
+ __typename?: 'EntityReference';
11039
+ id: string;
11040
+ }> | null;
11041
+ observations?: Array<{
11042
+ __typename?: 'ObservationCriteria';
11043
+ type: ObservableTypes;
11044
+ states?: Array<EntityState | null> | null;
11045
+ observable: {
11046
+ __typename?: 'EntityReference';
11047
+ id: string;
11048
+ };
11049
+ }> | null;
11050
+ }> | null;
11051
+ } | null;
10915
11052
  } | null;
10916
11053
  };
10917
11054
  export type PromptConversationMutationVariables = Exact<{
@@ -10953,6 +11090,7 @@ export type PromptConversationMutation = {
10953
11090
  name: string;
10954
11091
  state: EntityState;
10955
11092
  originalDate?: any | null;
11093
+ identifier?: string | null;
10956
11094
  uri?: any | null;
10957
11095
  type?: ContentTypes | null;
10958
11096
  fileType?: FileTypes | null;
@@ -10979,7 +11117,7 @@ export type PromptConversationMutation = {
10979
11117
  __typename?: 'VideoMetadata';
10980
11118
  width?: number | null;
10981
11119
  height?: number | null;
10982
- duration?: string | null;
11120
+ duration?: any | null;
10983
11121
  make?: string | null;
10984
11122
  model?: string | null;
10985
11123
  software?: string | null;
@@ -11005,7 +11143,7 @@ export type PromptConversationMutation = {
11005
11143
  channels?: number | null;
11006
11144
  sampleRate?: number | null;
11007
11145
  bitsPerSample?: number | null;
11008
- duration?: string | null;
11146
+ duration?: any | null;
11009
11147
  } | null;
11010
11148
  image?: {
11011
11149
  __typename?: 'ImageMetadata';
@@ -11163,6 +11301,7 @@ export type QueryConversationsQuery = {
11163
11301
  name: string;
11164
11302
  state: EntityState;
11165
11303
  originalDate?: any | null;
11304
+ identifier?: string | null;
11166
11305
  uri?: any | null;
11167
11306
  type?: ContentTypes | null;
11168
11307
  fileType?: FileTypes | null;
@@ -11189,7 +11328,7 @@ export type QueryConversationsQuery = {
11189
11328
  __typename?: 'VideoMetadata';
11190
11329
  width?: number | null;
11191
11330
  height?: number | null;
11192
- duration?: string | null;
11331
+ duration?: any | null;
11193
11332
  make?: string | null;
11194
11333
  model?: string | null;
11195
11334
  software?: string | null;
@@ -11215,7 +11354,7 @@ export type QueryConversationsQuery = {
11215
11354
  channels?: number | null;
11216
11355
  sampleRate?: number | null;
11217
11356
  bitsPerSample?: number | null;
11218
- duration?: string | null;
11357
+ duration?: any | null;
11219
11358
  } | null;
11220
11359
  image?: {
11221
11360
  __typename?: 'ImageMetadata';
@@ -11353,6 +11492,94 @@ export type QueryConversationsQuery = {
11353
11492
  }> | null;
11354
11493
  }> | null;
11355
11494
  } | null;
11495
+ augmentedFilter?: {
11496
+ __typename?: 'ContentCriteria';
11497
+ types?: Array<ContentTypes> | null;
11498
+ fileTypes?: Array<FileTypes | null> | null;
11499
+ dateRange?: {
11500
+ __typename?: 'DateRange';
11501
+ from?: any | null;
11502
+ to?: any | null;
11503
+ } | null;
11504
+ creationDateRange?: {
11505
+ __typename?: 'DateRange';
11506
+ from?: any | null;
11507
+ to?: any | null;
11508
+ } | null;
11509
+ contents?: Array<{
11510
+ __typename?: 'EntityReference';
11511
+ id: string;
11512
+ }> | null;
11513
+ feeds?: Array<{
11514
+ __typename?: 'EntityReference';
11515
+ id: string;
11516
+ }> | null;
11517
+ workflows?: Array<{
11518
+ __typename?: 'EntityReference';
11519
+ id: string;
11520
+ }> | null;
11521
+ collections?: Array<{
11522
+ __typename?: 'EntityReference';
11523
+ id: string;
11524
+ }> | null;
11525
+ observations?: Array<{
11526
+ __typename?: 'ObservationCriteria';
11527
+ type: ObservableTypes;
11528
+ states?: Array<EntityState | null> | null;
11529
+ observable: {
11530
+ __typename?: 'EntityReference';
11531
+ id: string;
11532
+ };
11533
+ }> | null;
11534
+ or?: Array<{
11535
+ __typename?: 'ContentCriteriaLevel';
11536
+ feeds?: Array<{
11537
+ __typename?: 'EntityReference';
11538
+ id: string;
11539
+ }> | null;
11540
+ workflows?: Array<{
11541
+ __typename?: 'EntityReference';
11542
+ id: string;
11543
+ }> | null;
11544
+ collections?: Array<{
11545
+ __typename?: 'EntityReference';
11546
+ id: string;
11547
+ }> | null;
11548
+ observations?: Array<{
11549
+ __typename?: 'ObservationCriteria';
11550
+ type: ObservableTypes;
11551
+ states?: Array<EntityState | null> | null;
11552
+ observable: {
11553
+ __typename?: 'EntityReference';
11554
+ id: string;
11555
+ };
11556
+ }> | null;
11557
+ }> | null;
11558
+ and?: Array<{
11559
+ __typename?: 'ContentCriteriaLevel';
11560
+ feeds?: Array<{
11561
+ __typename?: 'EntityReference';
11562
+ id: string;
11563
+ }> | null;
11564
+ workflows?: Array<{
11565
+ __typename?: 'EntityReference';
11566
+ id: string;
11567
+ }> | null;
11568
+ collections?: Array<{
11569
+ __typename?: 'EntityReference';
11570
+ id: string;
11571
+ }> | null;
11572
+ observations?: Array<{
11573
+ __typename?: 'ObservationCriteria';
11574
+ type: ObservableTypes;
11575
+ states?: Array<EntityState | null> | null;
11576
+ observable: {
11577
+ __typename?: 'EntityReference';
11578
+ id: string;
11579
+ };
11580
+ }> | null;
11581
+ }> | null;
11582
+ } | null;
11356
11583
  } | null> | null;
11357
11584
  } | null;
11358
11585
  };
@@ -13276,6 +13503,38 @@ export type GetSpecificationQuery = {
13276
13503
  temperature?: number | null;
13277
13504
  probability?: number | null;
13278
13505
  } | null;
13506
+ mistral?: {
13507
+ __typename?: 'MistralModelProperties';
13508
+ tokenLimit?: number | null;
13509
+ completionTokenLimit?: number | null;
13510
+ model: MistralModels;
13511
+ key?: string | null;
13512
+ modelName?: string | null;
13513
+ endpoint?: any | null;
13514
+ temperature?: number | null;
13515
+ probability?: number | null;
13516
+ } | null;
13517
+ groq?: {
13518
+ __typename?: 'GroqModelProperties';
13519
+ tokenLimit?: number | null;
13520
+ completionTokenLimit?: number | null;
13521
+ model: GroqModels;
13522
+ key?: string | null;
13523
+ modelName?: string | null;
13524
+ endpoint?: any | null;
13525
+ temperature?: number | null;
13526
+ probability?: number | null;
13527
+ } | null;
13528
+ deepseek?: {
13529
+ __typename?: 'DeepseekModelProperties';
13530
+ tokenLimit?: number | null;
13531
+ completionTokenLimit?: number | null;
13532
+ model: DeepseekModels;
13533
+ key?: string | null;
13534
+ modelName?: string | null;
13535
+ temperature?: number | null;
13536
+ probability?: number | null;
13537
+ } | null;
13279
13538
  tools?: Array<{
13280
13539
  __typename?: 'ToolDefinition';
13281
13540
  name: string;
@@ -13323,6 +13582,7 @@ export type PromptSpecificationsMutation = {
13323
13582
  name: string;
13324
13583
  state: EntityState;
13325
13584
  originalDate?: any | null;
13585
+ identifier?: string | null;
13326
13586
  uri?: any | null;
13327
13587
  type?: ContentTypes | null;
13328
13588
  fileType?: FileTypes | null;
@@ -13349,7 +13609,7 @@ export type PromptSpecificationsMutation = {
13349
13609
  __typename?: 'VideoMetadata';
13350
13610
  width?: number | null;
13351
13611
  height?: number | null;
13352
- duration?: string | null;
13612
+ duration?: any | null;
13353
13613
  make?: string | null;
13354
13614
  model?: string | null;
13355
13615
  software?: string | null;
@@ -13375,7 +13635,7 @@ export type PromptSpecificationsMutation = {
13375
13635
  channels?: number | null;
13376
13636
  sampleRate?: number | null;
13377
13637
  bitsPerSample?: number | null;
13378
- duration?: string | null;
13638
+ duration?: any | null;
13379
13639
  } | null;
13380
13640
  image?: {
13381
13641
  __typename?: 'ImageMetadata';
@@ -13532,6 +13792,38 @@ export type QuerySpecificationsQuery = {
13532
13792
  temperature?: number | null;
13533
13793
  probability?: number | null;
13534
13794
  } | null;
13795
+ mistral?: {
13796
+ __typename?: 'MistralModelProperties';
13797
+ tokenLimit?: number | null;
13798
+ completionTokenLimit?: number | null;
13799
+ model: MistralModels;
13800
+ key?: string | null;
13801
+ modelName?: string | null;
13802
+ endpoint?: any | null;
13803
+ temperature?: number | null;
13804
+ probability?: number | null;
13805
+ } | null;
13806
+ groq?: {
13807
+ __typename?: 'GroqModelProperties';
13808
+ tokenLimit?: number | null;
13809
+ completionTokenLimit?: number | null;
13810
+ model: GroqModels;
13811
+ key?: string | null;
13812
+ modelName?: string | null;
13813
+ endpoint?: any | null;
13814
+ temperature?: number | null;
13815
+ probability?: number | null;
13816
+ } | null;
13817
+ deepseek?: {
13818
+ __typename?: 'DeepseekModelProperties';
13819
+ tokenLimit?: number | null;
13820
+ completionTokenLimit?: number | null;
13821
+ model: DeepseekModels;
13822
+ key?: string | null;
13823
+ modelName?: string | null;
13824
+ temperature?: number | null;
13825
+ probability?: number | null;
13826
+ } | null;
13535
13827
  tools?: Array<{
13536
13828
  __typename?: 'ToolDefinition';
13537
13829
  name: string;
@@ -13644,6 +13936,13 @@ export type CreateWorkflowMutation = {
13644
13936
  __typename?: 'EmailPreparationProperties';
13645
13937
  includeAttachments?: boolean | null;
13646
13938
  } | null;
13939
+ modelDocument?: {
13940
+ __typename?: 'ModelDocumentPreparationProperties';
13941
+ specification?: {
13942
+ __typename?: 'EntityReference';
13943
+ id: string;
13944
+ } | null;
13945
+ } | null;
13647
13946
  } | null;
13648
13947
  } | null> | null;
13649
13948
  } | null;
@@ -13857,6 +14156,13 @@ export type GetWorkflowQuery = {
13857
14156
  __typename?: 'EmailPreparationProperties';
13858
14157
  includeAttachments?: boolean | null;
13859
14158
  } | null;
14159
+ modelDocument?: {
14160
+ __typename?: 'ModelDocumentPreparationProperties';
14161
+ specification?: {
14162
+ __typename?: 'EntityReference';
14163
+ id: string;
14164
+ } | null;
14165
+ } | null;
13860
14166
  } | null;
13861
14167
  } | null> | null;
13862
14168
  } | null;
@@ -14036,6 +14342,13 @@ export type QueryWorkflowsQuery = {
14036
14342
  __typename?: 'EmailPreparationProperties';
14037
14343
  includeAttachments?: boolean | null;
14038
14344
  } | null;
14345
+ modelDocument?: {
14346
+ __typename?: 'ModelDocumentPreparationProperties';
14347
+ specification?: {
14348
+ __typename?: 'EntityReference';
14349
+ id: string;
14350
+ } | null;
14351
+ } | null;
14039
14352
  } | null;
14040
14353
  } | null> | null;
14041
14354
  } | null;
@@ -14208,6 +14521,13 @@ export type UpdateWorkflowMutation = {
14208
14521
  __typename?: 'EmailPreparationProperties';
14209
14522
  includeAttachments?: boolean | null;
14210
14523
  } | null;
14524
+ modelDocument?: {
14525
+ __typename?: 'ModelDocumentPreparationProperties';
14526
+ specification?: {
14527
+ __typename?: 'EntityReference';
14528
+ id: string;
14529
+ } | null;
14530
+ } | null;
14211
14531
  } | null;
14212
14532
  } | null> | null;
14213
14533
  } | null;
@@ -598,10 +598,12 @@ var FilePreparationServiceTypes;
598
598
  FilePreparationServiceTypes["AzureDocumentIntelligence"] = "AZURE_DOCUMENT_INTELLIGENCE";
599
599
  /** Deepgram Audio Transcription */
600
600
  FilePreparationServiceTypes["Deepgram"] = "DEEPGRAM";
601
- /** Document */
601
+ /** Document Preparation */
602
602
  FilePreparationServiceTypes["Document"] = "DOCUMENT";
603
- /** Email */
603
+ /** Email Preparation */
604
604
  FilePreparationServiceTypes["Email"] = "EMAIL";
605
+ /** LLM Document Extraction */
606
+ FilePreparationServiceTypes["ModelDocument"] = "MODEL_DOCUMENT";
605
607
  })(FilePreparationServiceTypes || (exports.FilePreparationServiceTypes = FilePreparationServiceTypes = {}));
606
608
  /** File type */
607
609
  var FileTypes;
@@ -935,6 +937,8 @@ var OpenAiModels;
935
937
  OpenAiModels["Gpt4O_128K"] = "GPT4O_128K";
936
938
  /** GPT-4o 128k (2024-05-13 version) */
937
939
  OpenAiModels["Gpt4O_128K_20240513"] = "GPT4O_128K_20240513";
940
+ /** GPT-4o 128k (2024-08-06 version) */
941
+ OpenAiModels["Gpt4O_128K_20240806"] = "GPT4O_128K_20240806";
938
942
  /** GPT-4o Mini 128k (latest version) */
939
943
  OpenAiModels["Gpt4OMini_128K"] = "GPT4O_MINI_128K";
940
944
  /** GPT-4o Mini 128k (2024-07-18 version) */
@@ -1217,12 +1221,20 @@ var SummarizationTypes;
1217
1221
  /** Text Roles */
1218
1222
  var TextRoles;
1219
1223
  (function (TextRoles) {
1224
+ /** Checkbox */
1225
+ TextRoles["Checkbox"] = "CHECKBOX";
1220
1226
  /** Code Block */
1221
1227
  TextRoles["Code"] = "CODE";
1222
1228
  /** @deprecated Use 'TableColumnHeader' instead. */
1223
1229
  TextRoles["ColumnHeader"] = "COLUMN_HEADER";
1224
1230
  /** @deprecated Use 'TableCornerHeader' instead. */
1225
1231
  TextRoles["CornerHeader"] = "CORNER_HEADER";
1232
+ /** Diagram */
1233
+ TextRoles["Diagram"] = "DIAGRAM";
1234
+ /** Equation */
1235
+ TextRoles["Equation"] = "EQUATION";
1236
+ /** Figure */
1237
+ TextRoles["Figure"] = "FIGURE";
1226
1238
  /** Footnote */
1227
1239
  TextRoles["Footnote"] = "FOOTNOTE";
1228
1240
  /** Heading 1 */
@@ -1243,6 +1255,10 @@ var TextRoles;
1243
1255
  TextRoles["PageHeader"] = "PAGE_HEADER";
1244
1256
  /** Page Number */
1245
1257
  TextRoles["PageNumber"] = "PAGE_NUMBER";
1258
+ /** Paragraph */
1259
+ TextRoles["Paragraph"] = "PARAGRAPH";
1260
+ /** RadioButton */
1261
+ TextRoles["RadioButton"] = "RADIO_BUTTON";
1246
1262
  /** @deprecated Use 'TableRowHeader' instead. */
1247
1263
  TextRoles["RowHeader"] = "ROW_HEADER";
1248
1264
  /** Section Heading */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240728001",
3
+ "version": "1.0.20240808001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",