graphlit-client 1.0.20240803001 → 1.0.20240811001

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
  }
@@ -3746,6 +3886,7 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
3746
3886
  name
3747
3887
  state
3748
3888
  originalDate
3889
+ identifier
3749
3890
  uri
3750
3891
  type
3751
3892
  fileType
@@ -4064,6 +4205,11 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
4064
4205
  email {
4065
4206
  includeAttachments
4066
4207
  }
4208
+ modelDocument {
4209
+ specification {
4210
+ id
4211
+ }
4212
+ }
4067
4213
  }
4068
4214
  }
4069
4215
  }
@@ -4231,6 +4377,11 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
4231
4377
  email {
4232
4378
  includeAttachments
4233
4379
  }
4380
+ modelDocument {
4381
+ specification {
4382
+ id
4383
+ }
4384
+ }
4234
4385
  }
4235
4386
  }
4236
4387
  }
@@ -4371,6 +4522,11 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
4371
4522
  email {
4372
4523
  includeAttachments
4373
4524
  }
4525
+ modelDocument {
4526
+ specification {
4527
+ id
4528
+ }
4529
+ }
4374
4530
  }
4375
4531
  }
4376
4532
  }
@@ -4506,6 +4662,11 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
4506
4662
  email {
4507
4663
  includeAttachments
4508
4664
  }
4665
+ modelDocument {
4666
+ specification {
4667
+ id
4668
+ }
4669
+ }
4509
4670
  }
4510
4671
  }
4511
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,19 +3092,23 @@ 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
  };
3082
3100
  /** File preparation service type */
3083
3101
  export declare enum FilePreparationServiceTypes {
3084
- /** Azure Document Intelligence */
3102
+ /** Azure AI Document Intelligence */
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 Preparation */
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) */
@@ -8206,7 +8239,9 @@ export declare enum SpecificationTypes {
8206
8239
  /** Prompt completion */
8207
8240
  Completion = "COMPLETION",
8208
8241
  /** Data extraction */
8209
- Extraction = "EXTRACTION"
8242
+ Extraction = "EXTRACTION",
8243
+ /** Document preparation */
8244
+ Preparation = "PREPARATION"
8210
8245
  }
8211
8246
  /** Represents an LLM specification. */
8212
8247
  export type SpecificationUpdateInput = {
@@ -8388,12 +8423,20 @@ export type TextPage = {
8388
8423
  };
8389
8424
  /** Text Roles */
8390
8425
  export declare enum TextRoles {
8426
+ /** Checkbox */
8427
+ Checkbox = "CHECKBOX",
8391
8428
  /** Code Block */
8392
8429
  Code = "CODE",
8393
8430
  /** @deprecated Use 'TableColumnHeader' instead. */
8394
8431
  ColumnHeader = "COLUMN_HEADER",
8395
8432
  /** @deprecated Use 'TableCornerHeader' instead. */
8396
8433
  CornerHeader = "CORNER_HEADER",
8434
+ /** Diagram */
8435
+ Diagram = "DIAGRAM",
8436
+ /** Equation */
8437
+ Equation = "EQUATION",
8438
+ /** Figure */
8439
+ Figure = "FIGURE",
8397
8440
  /** Footnote */
8398
8441
  Footnote = "FOOTNOTE",
8399
8442
  /** Heading 1 */
@@ -8414,6 +8457,10 @@ export declare enum TextRoles {
8414
8457
  PageHeader = "PAGE_HEADER",
8415
8458
  /** Page Number */
8416
8459
  PageNumber = "PAGE_NUMBER",
8460
+ /** Paragraph */
8461
+ Paragraph = "PARAGRAPH",
8462
+ /** RadioButton */
8463
+ RadioButton = "RADIO_BUTTON",
8417
8464
  /** @deprecated Use 'TableRowHeader' instead. */
8418
8465
  RowHeader = "ROW_HEADER",
8419
8466
  /** Section Heading */
@@ -8573,7 +8620,7 @@ export type VideoMetadata = {
8573
8620
  /** The audio description. */
8574
8621
  description?: Maybe<Scalars['String']['output']>;
8575
8622
  /** The video duration. */
8576
- duration?: Maybe<Scalars['String']['output']>;
8623
+ duration?: Maybe<Scalars['TimeSpan']['output']>;
8577
8624
  /** The video height. */
8578
8625
  height?: Maybe<Scalars['Int']['output']>;
8579
8626
  /** The episode keywords, if podcast episode. */
@@ -9538,6 +9585,7 @@ export type GetContentQuery = {
9538
9585
  workflowDuration?: any | null;
9539
9586
  uri?: any | null;
9540
9587
  description?: string | null;
9588
+ identifier?: string | null;
9541
9589
  markdown?: string | null;
9542
9590
  type?: ContentTypes | null;
9543
9591
  fileType?: FileTypes | null;
@@ -9579,7 +9627,7 @@ export type GetContentQuery = {
9579
9627
  __typename?: 'VideoMetadata';
9580
9628
  width?: number | null;
9581
9629
  height?: number | null;
9582
- duration?: string | null;
9630
+ duration?: any | null;
9583
9631
  make?: string | null;
9584
9632
  model?: string | null;
9585
9633
  software?: string | null;
@@ -9605,7 +9653,7 @@ export type GetContentQuery = {
9605
9653
  channels?: number | null;
9606
9654
  sampleRate?: number | null;
9607
9655
  bitsPerSample?: number | null;
9608
- duration?: string | null;
9656
+ duration?: any | null;
9609
9657
  } | null;
9610
9658
  image?: {
9611
9659
  __typename?: 'ImageMetadata';
@@ -9968,6 +10016,7 @@ export type QueryContentsQuery = {
9968
10016
  workflowDuration?: any | null;
9969
10017
  uri?: any | null;
9970
10018
  description?: string | null;
10019
+ identifier?: string | null;
9971
10020
  markdown?: string | null;
9972
10021
  type?: ContentTypes | null;
9973
10022
  fileType?: FileTypes | null;
@@ -10009,7 +10058,7 @@ export type QueryContentsQuery = {
10009
10058
  __typename?: 'VideoMetadata';
10010
10059
  width?: number | null;
10011
10060
  height?: number | null;
10012
- duration?: string | null;
10061
+ duration?: any | null;
10013
10062
  make?: string | null;
10014
10063
  model?: string | null;
10015
10064
  software?: string | null;
@@ -10035,7 +10084,7 @@ export type QueryContentsQuery = {
10035
10084
  channels?: number | null;
10036
10085
  sampleRate?: number | null;
10037
10086
  bitsPerSample?: number | null;
10038
- duration?: string | null;
10087
+ duration?: any | null;
10039
10088
  } | null;
10040
10089
  image?: {
10041
10090
  __typename?: 'ImageMetadata';
@@ -10243,6 +10292,7 @@ export type QueryContentsFacetsQuery = {
10243
10292
  workflowDuration?: any | null;
10244
10293
  uri?: any | null;
10245
10294
  description?: string | null;
10295
+ identifier?: string | null;
10246
10296
  markdown?: string | null;
10247
10297
  type?: ContentTypes | null;
10248
10298
  fileType?: FileTypes | null;
@@ -10284,7 +10334,7 @@ export type QueryContentsFacetsQuery = {
10284
10334
  __typename?: 'VideoMetadata';
10285
10335
  width?: number | null;
10286
10336
  height?: number | null;
10287
- duration?: string | null;
10337
+ duration?: any | null;
10288
10338
  make?: string | null;
10289
10339
  model?: string | null;
10290
10340
  software?: string | null;
@@ -10310,7 +10360,7 @@ export type QueryContentsFacetsQuery = {
10310
10360
  channels?: number | null;
10311
10361
  sampleRate?: number | null;
10312
10362
  bitsPerSample?: number | null;
10313
- duration?: string | null;
10363
+ duration?: any | null;
10314
10364
  } | null;
10315
10365
  image?: {
10316
10366
  __typename?: 'ImageMetadata';
@@ -10722,6 +10772,7 @@ export type GetConversationQuery = {
10722
10772
  name: string;
10723
10773
  state: EntityState;
10724
10774
  originalDate?: any | null;
10775
+ identifier?: string | null;
10725
10776
  uri?: any | null;
10726
10777
  type?: ContentTypes | null;
10727
10778
  fileType?: FileTypes | null;
@@ -10748,7 +10799,7 @@ export type GetConversationQuery = {
10748
10799
  __typename?: 'VideoMetadata';
10749
10800
  width?: number | null;
10750
10801
  height?: number | null;
10751
- duration?: string | null;
10802
+ duration?: any | null;
10752
10803
  make?: string | null;
10753
10804
  model?: string | null;
10754
10805
  software?: string | null;
@@ -10774,7 +10825,7 @@ export type GetConversationQuery = {
10774
10825
  channels?: number | null;
10775
10826
  sampleRate?: number | null;
10776
10827
  bitsPerSample?: number | null;
10777
- duration?: string | null;
10828
+ duration?: any | null;
10778
10829
  } | null;
10779
10830
  image?: {
10780
10831
  __typename?: 'ImageMetadata';
@@ -10912,6 +10963,94 @@ export type GetConversationQuery = {
10912
10963
  }> | null;
10913
10964
  }> | null;
10914
10965
  } | null;
10966
+ augmentedFilter?: {
10967
+ __typename?: 'ContentCriteria';
10968
+ types?: Array<ContentTypes> | null;
10969
+ fileTypes?: Array<FileTypes | null> | null;
10970
+ dateRange?: {
10971
+ __typename?: 'DateRange';
10972
+ from?: any | null;
10973
+ to?: any | null;
10974
+ } | null;
10975
+ creationDateRange?: {
10976
+ __typename?: 'DateRange';
10977
+ from?: any | null;
10978
+ to?: any | null;
10979
+ } | null;
10980
+ contents?: Array<{
10981
+ __typename?: 'EntityReference';
10982
+ id: string;
10983
+ }> | null;
10984
+ feeds?: Array<{
10985
+ __typename?: 'EntityReference';
10986
+ id: string;
10987
+ }> | null;
10988
+ workflows?: Array<{
10989
+ __typename?: 'EntityReference';
10990
+ id: string;
10991
+ }> | null;
10992
+ collections?: Array<{
10993
+ __typename?: 'EntityReference';
10994
+ id: string;
10995
+ }> | null;
10996
+ observations?: Array<{
10997
+ __typename?: 'ObservationCriteria';
10998
+ type: ObservableTypes;
10999
+ states?: Array<EntityState | null> | null;
11000
+ observable: {
11001
+ __typename?: 'EntityReference';
11002
+ id: string;
11003
+ };
11004
+ }> | null;
11005
+ or?: Array<{
11006
+ __typename?: 'ContentCriteriaLevel';
11007
+ feeds?: Array<{
11008
+ __typename?: 'EntityReference';
11009
+ id: string;
11010
+ }> | null;
11011
+ workflows?: Array<{
11012
+ __typename?: 'EntityReference';
11013
+ id: string;
11014
+ }> | null;
11015
+ collections?: Array<{
11016
+ __typename?: 'EntityReference';
11017
+ id: string;
11018
+ }> | null;
11019
+ observations?: Array<{
11020
+ __typename?: 'ObservationCriteria';
11021
+ type: ObservableTypes;
11022
+ states?: Array<EntityState | null> | null;
11023
+ observable: {
11024
+ __typename?: 'EntityReference';
11025
+ id: string;
11026
+ };
11027
+ }> | null;
11028
+ }> | null;
11029
+ and?: Array<{
11030
+ __typename?: 'ContentCriteriaLevel';
11031
+ feeds?: Array<{
11032
+ __typename?: 'EntityReference';
11033
+ id: string;
11034
+ }> | null;
11035
+ workflows?: Array<{
11036
+ __typename?: 'EntityReference';
11037
+ id: string;
11038
+ }> | null;
11039
+ collections?: Array<{
11040
+ __typename?: 'EntityReference';
11041
+ id: string;
11042
+ }> | null;
11043
+ observations?: Array<{
11044
+ __typename?: 'ObservationCriteria';
11045
+ type: ObservableTypes;
11046
+ states?: Array<EntityState | null> | null;
11047
+ observable: {
11048
+ __typename?: 'EntityReference';
11049
+ id: string;
11050
+ };
11051
+ }> | null;
11052
+ }> | null;
11053
+ } | null;
10915
11054
  } | null;
10916
11055
  };
10917
11056
  export type PromptConversationMutationVariables = Exact<{
@@ -10953,6 +11092,7 @@ export type PromptConversationMutation = {
10953
11092
  name: string;
10954
11093
  state: EntityState;
10955
11094
  originalDate?: any | null;
11095
+ identifier?: string | null;
10956
11096
  uri?: any | null;
10957
11097
  type?: ContentTypes | null;
10958
11098
  fileType?: FileTypes | null;
@@ -10979,7 +11119,7 @@ export type PromptConversationMutation = {
10979
11119
  __typename?: 'VideoMetadata';
10980
11120
  width?: number | null;
10981
11121
  height?: number | null;
10982
- duration?: string | null;
11122
+ duration?: any | null;
10983
11123
  make?: string | null;
10984
11124
  model?: string | null;
10985
11125
  software?: string | null;
@@ -11005,7 +11145,7 @@ export type PromptConversationMutation = {
11005
11145
  channels?: number | null;
11006
11146
  sampleRate?: number | null;
11007
11147
  bitsPerSample?: number | null;
11008
- duration?: string | null;
11148
+ duration?: any | null;
11009
11149
  } | null;
11010
11150
  image?: {
11011
11151
  __typename?: 'ImageMetadata';
@@ -11163,6 +11303,7 @@ export type QueryConversationsQuery = {
11163
11303
  name: string;
11164
11304
  state: EntityState;
11165
11305
  originalDate?: any | null;
11306
+ identifier?: string | null;
11166
11307
  uri?: any | null;
11167
11308
  type?: ContentTypes | null;
11168
11309
  fileType?: FileTypes | null;
@@ -11189,7 +11330,7 @@ export type QueryConversationsQuery = {
11189
11330
  __typename?: 'VideoMetadata';
11190
11331
  width?: number | null;
11191
11332
  height?: number | null;
11192
- duration?: string | null;
11333
+ duration?: any | null;
11193
11334
  make?: string | null;
11194
11335
  model?: string | null;
11195
11336
  software?: string | null;
@@ -11215,7 +11356,7 @@ export type QueryConversationsQuery = {
11215
11356
  channels?: number | null;
11216
11357
  sampleRate?: number | null;
11217
11358
  bitsPerSample?: number | null;
11218
- duration?: string | null;
11359
+ duration?: any | null;
11219
11360
  } | null;
11220
11361
  image?: {
11221
11362
  __typename?: 'ImageMetadata';
@@ -11353,6 +11494,94 @@ export type QueryConversationsQuery = {
11353
11494
  }> | null;
11354
11495
  }> | null;
11355
11496
  } | null;
11497
+ augmentedFilter?: {
11498
+ __typename?: 'ContentCriteria';
11499
+ types?: Array<ContentTypes> | null;
11500
+ fileTypes?: Array<FileTypes | null> | null;
11501
+ dateRange?: {
11502
+ __typename?: 'DateRange';
11503
+ from?: any | null;
11504
+ to?: any | null;
11505
+ } | null;
11506
+ creationDateRange?: {
11507
+ __typename?: 'DateRange';
11508
+ from?: any | null;
11509
+ to?: any | null;
11510
+ } | null;
11511
+ contents?: Array<{
11512
+ __typename?: 'EntityReference';
11513
+ id: string;
11514
+ }> | null;
11515
+ feeds?: Array<{
11516
+ __typename?: 'EntityReference';
11517
+ id: string;
11518
+ }> | null;
11519
+ workflows?: Array<{
11520
+ __typename?: 'EntityReference';
11521
+ id: string;
11522
+ }> | null;
11523
+ collections?: Array<{
11524
+ __typename?: 'EntityReference';
11525
+ id: string;
11526
+ }> | null;
11527
+ observations?: Array<{
11528
+ __typename?: 'ObservationCriteria';
11529
+ type: ObservableTypes;
11530
+ states?: Array<EntityState | null> | null;
11531
+ observable: {
11532
+ __typename?: 'EntityReference';
11533
+ id: string;
11534
+ };
11535
+ }> | null;
11536
+ or?: Array<{
11537
+ __typename?: 'ContentCriteriaLevel';
11538
+ feeds?: Array<{
11539
+ __typename?: 'EntityReference';
11540
+ id: string;
11541
+ }> | null;
11542
+ workflows?: Array<{
11543
+ __typename?: 'EntityReference';
11544
+ id: string;
11545
+ }> | null;
11546
+ collections?: Array<{
11547
+ __typename?: 'EntityReference';
11548
+ id: string;
11549
+ }> | null;
11550
+ observations?: Array<{
11551
+ __typename?: 'ObservationCriteria';
11552
+ type: ObservableTypes;
11553
+ states?: Array<EntityState | null> | null;
11554
+ observable: {
11555
+ __typename?: 'EntityReference';
11556
+ id: string;
11557
+ };
11558
+ }> | null;
11559
+ }> | null;
11560
+ and?: Array<{
11561
+ __typename?: 'ContentCriteriaLevel';
11562
+ feeds?: Array<{
11563
+ __typename?: 'EntityReference';
11564
+ id: string;
11565
+ }> | null;
11566
+ workflows?: Array<{
11567
+ __typename?: 'EntityReference';
11568
+ id: string;
11569
+ }> | null;
11570
+ collections?: Array<{
11571
+ __typename?: 'EntityReference';
11572
+ id: string;
11573
+ }> | null;
11574
+ observations?: Array<{
11575
+ __typename?: 'ObservationCriteria';
11576
+ type: ObservableTypes;
11577
+ states?: Array<EntityState | null> | null;
11578
+ observable: {
11579
+ __typename?: 'EntityReference';
11580
+ id: string;
11581
+ };
11582
+ }> | null;
11583
+ }> | null;
11584
+ } | null;
11356
11585
  } | null> | null;
11357
11586
  } | null;
11358
11587
  };
@@ -13355,6 +13584,7 @@ export type PromptSpecificationsMutation = {
13355
13584
  name: string;
13356
13585
  state: EntityState;
13357
13586
  originalDate?: any | null;
13587
+ identifier?: string | null;
13358
13588
  uri?: any | null;
13359
13589
  type?: ContentTypes | null;
13360
13590
  fileType?: FileTypes | null;
@@ -13381,7 +13611,7 @@ export type PromptSpecificationsMutation = {
13381
13611
  __typename?: 'VideoMetadata';
13382
13612
  width?: number | null;
13383
13613
  height?: number | null;
13384
- duration?: string | null;
13614
+ duration?: any | null;
13385
13615
  make?: string | null;
13386
13616
  model?: string | null;
13387
13617
  software?: string | null;
@@ -13407,7 +13637,7 @@ export type PromptSpecificationsMutation = {
13407
13637
  channels?: number | null;
13408
13638
  sampleRate?: number | null;
13409
13639
  bitsPerSample?: number | null;
13410
- duration?: string | null;
13640
+ duration?: any | null;
13411
13641
  } | null;
13412
13642
  image?: {
13413
13643
  __typename?: 'ImageMetadata';
@@ -13708,6 +13938,13 @@ export type CreateWorkflowMutation = {
13708
13938
  __typename?: 'EmailPreparationProperties';
13709
13939
  includeAttachments?: boolean | null;
13710
13940
  } | null;
13941
+ modelDocument?: {
13942
+ __typename?: 'ModelDocumentPreparationProperties';
13943
+ specification?: {
13944
+ __typename?: 'EntityReference';
13945
+ id: string;
13946
+ } | null;
13947
+ } | null;
13711
13948
  } | null;
13712
13949
  } | null> | null;
13713
13950
  } | null;
@@ -13921,6 +14158,13 @@ export type GetWorkflowQuery = {
13921
14158
  __typename?: 'EmailPreparationProperties';
13922
14159
  includeAttachments?: boolean | null;
13923
14160
  } | null;
14161
+ modelDocument?: {
14162
+ __typename?: 'ModelDocumentPreparationProperties';
14163
+ specification?: {
14164
+ __typename?: 'EntityReference';
14165
+ id: string;
14166
+ } | null;
14167
+ } | null;
13924
14168
  } | null;
13925
14169
  } | null> | null;
13926
14170
  } | null;
@@ -14100,6 +14344,13 @@ export type QueryWorkflowsQuery = {
14100
14344
  __typename?: 'EmailPreparationProperties';
14101
14345
  includeAttachments?: boolean | null;
14102
14346
  } | null;
14347
+ modelDocument?: {
14348
+ __typename?: 'ModelDocumentPreparationProperties';
14349
+ specification?: {
14350
+ __typename?: 'EntityReference';
14351
+ id: string;
14352
+ } | null;
14353
+ } | null;
14103
14354
  } | null;
14104
14355
  } | null> | null;
14105
14356
  } | null;
@@ -14272,6 +14523,13 @@ export type UpdateWorkflowMutation = {
14272
14523
  __typename?: 'EmailPreparationProperties';
14273
14524
  includeAttachments?: boolean | null;
14274
14525
  } | null;
14526
+ modelDocument?: {
14527
+ __typename?: 'ModelDocumentPreparationProperties';
14528
+ specification?: {
14529
+ __typename?: 'EntityReference';
14530
+ id: string;
14531
+ } | null;
14532
+ } | null;
14275
14533
  } | null;
14276
14534
  } | null> | null;
14277
14535
  } | null;
@@ -594,14 +594,16 @@ var FeedTypes;
594
594
  /** File preparation service type */
595
595
  var FilePreparationServiceTypes;
596
596
  (function (FilePreparationServiceTypes) {
597
- /** Azure Document Intelligence */
597
+ /** Azure AI Document Intelligence */
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 Preparation */
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) */
@@ -1193,6 +1197,8 @@ var SpecificationTypes;
1193
1197
  SpecificationTypes["Completion"] = "COMPLETION";
1194
1198
  /** Data extraction */
1195
1199
  SpecificationTypes["Extraction"] = "EXTRACTION";
1200
+ /** Document preparation */
1201
+ SpecificationTypes["Preparation"] = "PREPARATION";
1196
1202
  })(SpecificationTypes || (exports.SpecificationTypes = SpecificationTypes = {}));
1197
1203
  /** Summarization type */
1198
1204
  var SummarizationTypes;
@@ -1217,12 +1223,20 @@ var SummarizationTypes;
1217
1223
  /** Text Roles */
1218
1224
  var TextRoles;
1219
1225
  (function (TextRoles) {
1226
+ /** Checkbox */
1227
+ TextRoles["Checkbox"] = "CHECKBOX";
1220
1228
  /** Code Block */
1221
1229
  TextRoles["Code"] = "CODE";
1222
1230
  /** @deprecated Use 'TableColumnHeader' instead. */
1223
1231
  TextRoles["ColumnHeader"] = "COLUMN_HEADER";
1224
1232
  /** @deprecated Use 'TableCornerHeader' instead. */
1225
1233
  TextRoles["CornerHeader"] = "CORNER_HEADER";
1234
+ /** Diagram */
1235
+ TextRoles["Diagram"] = "DIAGRAM";
1236
+ /** Equation */
1237
+ TextRoles["Equation"] = "EQUATION";
1238
+ /** Figure */
1239
+ TextRoles["Figure"] = "FIGURE";
1226
1240
  /** Footnote */
1227
1241
  TextRoles["Footnote"] = "FOOTNOTE";
1228
1242
  /** Heading 1 */
@@ -1243,6 +1257,10 @@ var TextRoles;
1243
1257
  TextRoles["PageHeader"] = "PAGE_HEADER";
1244
1258
  /** Page Number */
1245
1259
  TextRoles["PageNumber"] = "PAGE_NUMBER";
1260
+ /** Paragraph */
1261
+ TextRoles["Paragraph"] = "PARAGRAPH";
1262
+ /** RadioButton */
1263
+ TextRoles["RadioButton"] = "RADIO_BUTTON";
1246
1264
  /** @deprecated Use 'TableRowHeader' instead. */
1247
1265
  TextRoles["RowHeader"] = "ROW_HEADER";
1248
1266
  /** Section Heading */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240803001",
3
+ "version": "1.0.20240811001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",