graphlit-client 1.0.20241228001 → 1.0.20241229001

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
@@ -53,7 +53,7 @@ declare class Graphlit {
53
53
  summarizeContents(summarizations: [Types.SummarizationStrategyInput], filter?: Types.ContentFilter, correlationId?: string): Promise<Types.SummarizeContentsMutation>;
54
54
  extractText(prompt: string, text: string, tools: Types.ToolDefinitionInput[], specification?: Types.EntityReferenceInput, textType?: Types.TextTypes, correlationId?: string): Promise<Types.ExtractTextMutation>;
55
55
  extractContents(prompt: string, tools: Types.ToolDefinitionInput[], specification?: Types.EntityReferenceInput, filter?: Types.ContentFilter, correlationId?: string): Promise<Types.ExtractContentsMutation>;
56
- publishContents(publishPrompt: string, connector: Types.ContentPublishingConnectorInput, summaryPrompt?: string, summarySpecification?: Types.EntityReferenceInput, publishSpecification?: Types.EntityReferenceInput, name?: string, filter?: Types.ContentFilter, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishContentsMutation>;
56
+ publishContents(publishPrompt: string, connector: Types.ContentPublishingConnectorInput, summaryPrompt?: string, summarySpecification?: Types.EntityReferenceInput, publishSpecification?: Types.EntityReferenceInput, name?: string, filter?: Types.ContentFilter, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, includeDetails?: string, correlationId?: string): Promise<Types.PublishContentsMutation>;
57
57
  publishText(text: string, textType: Types.TextTypes, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishTextMutation>;
58
58
  getContent(id: string): Promise<Types.GetContentQuery>;
59
59
  queryContents(filter?: Types.ContentFilter): Promise<Types.QueryContentsQuery>;
package/dist/client.js CHANGED
@@ -323,9 +323,9 @@ class Graphlit {
323
323
  return this.mutateAndCheckError(Documents.ExtractContents, { prompt: prompt, filter: filter, specification: specification, tools: tools, correlationId: correlationId });
324
324
  });
325
325
  }
326
- publishContents(publishPrompt, connector, summaryPrompt, summarySpecification, publishSpecification, name, filter, workflow, isSynchronous, correlationId) {
326
+ publishContents(publishPrompt, connector, summaryPrompt, summarySpecification, publishSpecification, name, filter, workflow, isSynchronous, includeDetails, correlationId) {
327
327
  return __awaiter(this, void 0, void 0, function* () {
328
- return this.mutateAndCheckError(Documents.PublishContents, { summaryPrompt: summaryPrompt, summarySpecification: summarySpecification, connector: connector, publishPrompt: publishPrompt, publishSpecification: publishSpecification, name: name, filter: filter, workflow: workflow, isSynchronous: isSynchronous, correlationId: correlationId });
328
+ return this.mutateAndCheckError(Documents.PublishContents, { summaryPrompt: summaryPrompt, summarySpecification: summarySpecification, connector: connector, publishPrompt: publishPrompt, publishSpecification: publishSpecification, name: name, filter: filter, workflow: workflow, isSynchronous: isSynchronous, includeDetails: includeDetails, correlationId: correlationId });
329
329
  });
330
330
  }
331
331
  publishText(text, textType, connector, name, workflow, isSynchronous, correlationId) {
@@ -1367,12 +1367,13 @@ exports.IsContentDone = (0, graphql_tag_1.default) `
1367
1367
  }
1368
1368
  `;
1369
1369
  exports.PublishContents = (0, graphql_tag_1.default) `
1370
- mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) {
1370
+ mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $includeDetails: Boolean, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) {
1371
1371
  publishContents(
1372
1372
  summaryPrompt: $summaryPrompt
1373
1373
  publishPrompt: $publishPrompt
1374
1374
  connector: $connector
1375
1375
  filter: $filter
1376
+ includeDetails: $includeDetails
1376
1377
  isSynchronous: $isSynchronous
1377
1378
  correlationId: $correlationId
1378
1379
  name: $name
@@ -1380,48 +1381,129 @@ exports.PublishContents = (0, graphql_tag_1.default) `
1380
1381
  publishSpecification: $publishSpecification
1381
1382
  workflow: $workflow
1382
1383
  ) {
1383
- id
1384
- name
1385
- state
1386
- type
1387
- fileType
1388
- mimeType
1389
- uri
1390
- collections {
1384
+ content {
1391
1385
  id
1392
1386
  name
1393
- }
1394
- observations {
1395
- id
1387
+ state
1388
+ originalDate
1389
+ identifier
1390
+ markdown
1391
+ uri
1396
1392
  type
1397
- observable {
1398
- id
1399
- name
1393
+ fileType
1394
+ mimeType
1395
+ format
1396
+ formatName
1397
+ fileExtension
1398
+ fileName
1399
+ fileSize
1400
+ masterUri
1401
+ imageUri
1402
+ textUri
1403
+ audioUri
1404
+ transcriptUri
1405
+ summary
1406
+ customSummary
1407
+ keywords
1408
+ bullets
1409
+ headlines
1410
+ posts
1411
+ chapters
1412
+ questions
1413
+ video {
1414
+ width
1415
+ height
1416
+ duration
1417
+ make
1418
+ model
1419
+ software
1420
+ title
1421
+ description
1422
+ keywords
1423
+ author
1400
1424
  }
1401
- related {
1425
+ audio {
1426
+ keywords
1427
+ author
1428
+ series
1429
+ episode
1430
+ episodeType
1431
+ season
1432
+ publisher
1433
+ copyright
1434
+ genre
1435
+ title
1436
+ description
1437
+ bitrate
1438
+ channels
1439
+ sampleRate
1440
+ bitsPerSample
1441
+ duration
1442
+ }
1443
+ image {
1444
+ width
1445
+ height
1446
+ resolutionX
1447
+ resolutionY
1448
+ bitsPerComponent
1449
+ components
1450
+ projectionType
1451
+ orientation
1452
+ description
1453
+ make
1454
+ model
1455
+ software
1456
+ lens
1457
+ focalLength
1458
+ exposureTime
1459
+ fNumber
1460
+ iso
1461
+ heading
1462
+ pitch
1463
+ }
1464
+ document {
1465
+ title
1466
+ subject
1467
+ summary
1468
+ author
1469
+ publisher
1470
+ description
1471
+ keywords
1472
+ pageCount
1473
+ worksheetCount
1474
+ slideCount
1475
+ wordCount
1476
+ lineCount
1477
+ paragraphCount
1478
+ isEncrypted
1479
+ hasDigitalSignature
1480
+ }
1481
+ }
1482
+ details {
1483
+ contents {
1402
1484
  id
1403
- name
1404
1485
  }
1405
- relatedType
1406
- relation
1407
- occurrences {
1408
- type
1409
- confidence
1410
- startTime
1411
- endTime
1412
- pageIndex
1413
- boundingBox {
1414
- left
1415
- top
1416
- width
1417
- height
1486
+ summaries {
1487
+ index
1488
+ relevance
1489
+ chunks {
1490
+ index
1491
+ pageIndex
1492
+ rowIndex
1493
+ columnIndex
1494
+ confidence
1495
+ text
1496
+ role
1497
+ relevance
1418
1498
  }
1419
1499
  }
1420
- state
1500
+ text
1501
+ textType
1502
+ summarySpecification
1503
+ publishSpecification
1504
+ summaryTime
1505
+ publishTime
1421
1506
  }
1422
- textUri
1423
- audioUri
1424
- markdown
1425
1507
  }
1426
1508
  }
1427
1509
  `;
@@ -1439,45 +1521,99 @@ exports.PublishText = (0, graphql_tag_1.default) `
1439
1521
  id
1440
1522
  name
1441
1523
  state
1524
+ originalDate
1525
+ identifier
1526
+ markdown
1527
+ uri
1442
1528
  type
1443
1529
  fileType
1444
1530
  mimeType
1445
- uri
1446
- collections {
1447
- id
1448
- name
1449
- }
1450
- observations {
1451
- id
1452
- type
1453
- observable {
1454
- id
1455
- name
1456
- }
1457
- related {
1458
- id
1459
- name
1460
- }
1461
- relatedType
1462
- relation
1463
- occurrences {
1464
- type
1465
- confidence
1466
- startTime
1467
- endTime
1468
- pageIndex
1469
- boundingBox {
1470
- left
1471
- top
1472
- width
1473
- height
1474
- }
1475
- }
1476
- state
1477
- }
1531
+ format
1532
+ formatName
1533
+ fileExtension
1534
+ fileName
1535
+ fileSize
1536
+ masterUri
1537
+ imageUri
1478
1538
  textUri
1479
1539
  audioUri
1480
- markdown
1540
+ transcriptUri
1541
+ summary
1542
+ customSummary
1543
+ keywords
1544
+ bullets
1545
+ headlines
1546
+ posts
1547
+ chapters
1548
+ questions
1549
+ video {
1550
+ width
1551
+ height
1552
+ duration
1553
+ make
1554
+ model
1555
+ software
1556
+ title
1557
+ description
1558
+ keywords
1559
+ author
1560
+ }
1561
+ audio {
1562
+ keywords
1563
+ author
1564
+ series
1565
+ episode
1566
+ episodeType
1567
+ season
1568
+ publisher
1569
+ copyright
1570
+ genre
1571
+ title
1572
+ description
1573
+ bitrate
1574
+ channels
1575
+ sampleRate
1576
+ bitsPerSample
1577
+ duration
1578
+ }
1579
+ image {
1580
+ width
1581
+ height
1582
+ resolutionX
1583
+ resolutionY
1584
+ bitsPerComponent
1585
+ components
1586
+ projectionType
1587
+ orientation
1588
+ description
1589
+ make
1590
+ model
1591
+ software
1592
+ lens
1593
+ focalLength
1594
+ exposureTime
1595
+ fNumber
1596
+ iso
1597
+ heading
1598
+ pitch
1599
+ }
1600
+ document {
1601
+ title
1602
+ subject
1603
+ summary
1604
+ author
1605
+ publisher
1606
+ description
1607
+ keywords
1608
+ pageCount
1609
+ worksheetCount
1610
+ slideCount
1611
+ wordCount
1612
+ lineCount
1613
+ paragraphCount
1614
+ isEncrypted
1615
+ hasDigitalSignature
1616
+ }
1481
1617
  }
1482
1618
  }
1483
1619
  `;
@@ -3894,45 +4030,99 @@ exports.PublishConversation = (0, graphql_tag_1.default) `
3894
4030
  id
3895
4031
  name
3896
4032
  state
4033
+ originalDate
4034
+ identifier
4035
+ markdown
4036
+ uri
3897
4037
  type
3898
4038
  fileType
3899
4039
  mimeType
3900
- uri
3901
- collections {
3902
- id
3903
- name
3904
- }
3905
- observations {
3906
- id
3907
- type
3908
- observable {
3909
- id
3910
- name
3911
- }
3912
- related {
3913
- id
3914
- name
3915
- }
3916
- relatedType
3917
- relation
3918
- occurrences {
3919
- type
3920
- confidence
3921
- startTime
3922
- endTime
3923
- pageIndex
3924
- boundingBox {
3925
- left
3926
- top
3927
- width
3928
- height
3929
- }
3930
- }
3931
- state
3932
- }
4040
+ format
4041
+ formatName
4042
+ fileExtension
4043
+ fileName
4044
+ fileSize
4045
+ masterUri
4046
+ imageUri
3933
4047
  textUri
3934
4048
  audioUri
3935
- markdown
4049
+ transcriptUri
4050
+ summary
4051
+ customSummary
4052
+ keywords
4053
+ bullets
4054
+ headlines
4055
+ posts
4056
+ chapters
4057
+ questions
4058
+ video {
4059
+ width
4060
+ height
4061
+ duration
4062
+ make
4063
+ model
4064
+ software
4065
+ title
4066
+ description
4067
+ keywords
4068
+ author
4069
+ }
4070
+ audio {
4071
+ keywords
4072
+ author
4073
+ series
4074
+ episode
4075
+ episodeType
4076
+ season
4077
+ publisher
4078
+ copyright
4079
+ genre
4080
+ title
4081
+ description
4082
+ bitrate
4083
+ channels
4084
+ sampleRate
4085
+ bitsPerSample
4086
+ duration
4087
+ }
4088
+ image {
4089
+ width
4090
+ height
4091
+ resolutionX
4092
+ resolutionY
4093
+ bitsPerComponent
4094
+ components
4095
+ projectionType
4096
+ orientation
4097
+ description
4098
+ make
4099
+ model
4100
+ software
4101
+ lens
4102
+ focalLength
4103
+ exposureTime
4104
+ fNumber
4105
+ iso
4106
+ heading
4107
+ pitch
4108
+ }
4109
+ document {
4110
+ title
4111
+ subject
4112
+ summary
4113
+ author
4114
+ publisher
4115
+ description
4116
+ keywords
4117
+ pageCount
4118
+ worksheetCount
4119
+ slideCount
4120
+ wordCount
4121
+ lineCount
4122
+ paragraphCount
4123
+ isEncrypted
4124
+ hasDigitalSignature
4125
+ }
3936
4126
  }
3937
4127
  }
3938
4128
  `;
@@ -7183,7 +7183,7 @@ export type Mutation = {
7183
7183
  /** Prompts one or more LLM specifications, 10 maximum. */
7184
7184
  promptSpecifications?: Maybe<Array<Maybe<PromptCompletion>>>;
7185
7185
  /** Publish contents based on the provided filter criteria into different content format. */
7186
- publishContents?: Maybe<Content>;
7186
+ publishContents?: Maybe<PublishContents>;
7187
7187
  /** Publish conversation. */
7188
7188
  publishConversation?: Maybe<Content>;
7189
7189
  /** Publish text into different content format. */
@@ -7858,6 +7858,7 @@ export type MutationPublishContentsArgs = {
7858
7858
  connector: ContentPublishingConnectorInput;
7859
7859
  correlationId?: InputMaybe<Scalars['String']['input']>;
7860
7860
  filter?: InputMaybe<ContentFilter>;
7861
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
7861
7862
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
7862
7863
  name?: InputMaybe<Scalars['String']['input']>;
7863
7864
  publishPrompt: Scalars['String']['input'];
@@ -9883,6 +9884,34 @@ export type PromptSummarization = {
9883
9884
  /** The summarization type. */
9884
9885
  type: SummarizationTypes;
9885
9886
  };
9887
+ /** Represents a publish contents result. */
9888
+ export type PublishContents = {
9889
+ __typename?: 'PublishContents';
9890
+ /** The published content. */
9891
+ content?: Maybe<Content>;
9892
+ /** The publishing details for debugging purposes. */
9893
+ details?: Maybe<PublishingDetails>;
9894
+ };
9895
+ /** Represents the publishing details. */
9896
+ export type PublishingDetails = {
9897
+ __typename?: 'PublishingDetails';
9898
+ /** The retrieved contents. */
9899
+ contents?: Maybe<Array<Maybe<EntityReference>>>;
9900
+ /** JSON representation of the LLM publish specification. */
9901
+ publishSpecification?: Maybe<Scalars['String']['output']>;
9902
+ /** The time to publish the summaries. */
9903
+ publishTime?: Maybe<Scalars['TimeSpan']['output']>;
9904
+ /** The list of content summaries. */
9905
+ summaries?: Maybe<Array<Maybe<TextPage>>>;
9906
+ /** JSON representation of the LLM summary specification. */
9907
+ summarySpecification?: Maybe<Scalars['String']['output']>;
9908
+ /** The time to summarize the retrieved contents. */
9909
+ summaryTime?: Maybe<Scalars['TimeSpan']['output']>;
9910
+ /** The published text. */
9911
+ text?: Maybe<Scalars['String']['output']>;
9912
+ /** The published text type. */
9913
+ textType?: Maybe<TextTypes>;
9914
+ };
9886
9915
  export type Query = {
9887
9916
  __typename?: 'Query';
9888
9917
  /** Lookup an alert given its ID. */
@@ -13950,6 +13979,7 @@ export type PublishContentsMutationVariables = Exact<{
13950
13979
  publishPrompt: Scalars['String']['input'];
13951
13980
  connector: ContentPublishingConnectorInput;
13952
13981
  filter?: InputMaybe<ContentFilter>;
13982
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
13953
13983
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
13954
13984
  correlationId?: InputMaybe<Scalars['String']['input']>;
13955
13985
  name?: InputMaybe<Scalars['String']['input']>;
@@ -13960,55 +13990,139 @@ export type PublishContentsMutationVariables = Exact<{
13960
13990
  export type PublishContentsMutation = {
13961
13991
  __typename?: 'Mutation';
13962
13992
  publishContents?: {
13963
- __typename?: 'Content';
13964
- id: string;
13965
- name: string;
13966
- state: EntityState;
13967
- type?: ContentTypes | null;
13968
- fileType?: FileTypes | null;
13969
- mimeType?: string | null;
13970
- uri?: any | null;
13971
- textUri?: any | null;
13972
- audioUri?: any | null;
13973
- markdown?: string | null;
13974
- collections?: Array<{
13975
- __typename?: 'Collection';
13993
+ __typename?: 'PublishContents';
13994
+ content?: {
13995
+ __typename?: 'Content';
13976
13996
  id: string;
13977
13997
  name: string;
13978
- } | null> | null;
13979
- observations?: Array<{
13980
- __typename?: 'Observation';
13981
- id: string;
13982
- type: ObservableTypes;
13983
- relatedType?: ObservableTypes | null;
13984
- relation?: string | null;
13985
13998
  state: EntityState;
13986
- observable: {
13987
- __typename?: 'NamedEntityReference';
13988
- id: string;
13989
- name?: string | null;
13990
- };
13991
- related?: {
13992
- __typename?: 'NamedEntityReference';
13993
- id: string;
13994
- name?: string | null;
13999
+ originalDate?: any | null;
14000
+ identifier?: string | null;
14001
+ markdown?: string | null;
14002
+ uri?: any | null;
14003
+ type?: ContentTypes | null;
14004
+ fileType?: FileTypes | null;
14005
+ mimeType?: string | null;
14006
+ format?: string | null;
14007
+ formatName?: string | null;
14008
+ fileExtension?: string | null;
14009
+ fileName?: string | null;
14010
+ fileSize?: any | null;
14011
+ masterUri?: any | null;
14012
+ imageUri?: any | null;
14013
+ textUri?: any | null;
14014
+ audioUri?: any | null;
14015
+ transcriptUri?: any | null;
14016
+ summary?: string | null;
14017
+ customSummary?: string | null;
14018
+ keywords?: Array<string> | null;
14019
+ bullets?: Array<string> | null;
14020
+ headlines?: Array<string> | null;
14021
+ posts?: Array<string> | null;
14022
+ chapters?: Array<string> | null;
14023
+ questions?: Array<string> | null;
14024
+ video?: {
14025
+ __typename?: 'VideoMetadata';
14026
+ width?: number | null;
14027
+ height?: number | null;
14028
+ duration?: any | null;
14029
+ make?: string | null;
14030
+ model?: string | null;
14031
+ software?: string | null;
14032
+ title?: string | null;
14033
+ description?: string | null;
14034
+ keywords?: Array<string | null> | null;
14035
+ author?: string | null;
13995
14036
  } | null;
13996
- occurrences?: Array<{
13997
- __typename?: 'ObservationOccurrence';
13998
- type?: OccurrenceTypes | null;
13999
- confidence?: number | null;
14000
- startTime?: any | null;
14001
- endTime?: any | null;
14002
- pageIndex?: number | null;
14003
- boundingBox?: {
14004
- __typename?: 'BoundingBox';
14005
- left?: number | null;
14006
- top?: number | null;
14007
- width?: number | null;
14008
- height?: number | null;
14009
- } | null;
14037
+ audio?: {
14038
+ __typename?: 'AudioMetadata';
14039
+ keywords?: Array<string | null> | null;
14040
+ author?: string | null;
14041
+ series?: string | null;
14042
+ episode?: string | null;
14043
+ episodeType?: string | null;
14044
+ season?: string | null;
14045
+ publisher?: string | null;
14046
+ copyright?: string | null;
14047
+ genre?: string | null;
14048
+ title?: string | null;
14049
+ description?: string | null;
14050
+ bitrate?: number | null;
14051
+ channels?: number | null;
14052
+ sampleRate?: number | null;
14053
+ bitsPerSample?: number | null;
14054
+ duration?: any | null;
14055
+ } | null;
14056
+ image?: {
14057
+ __typename?: 'ImageMetadata';
14058
+ width?: number | null;
14059
+ height?: number | null;
14060
+ resolutionX?: number | null;
14061
+ resolutionY?: number | null;
14062
+ bitsPerComponent?: number | null;
14063
+ components?: number | null;
14064
+ projectionType?: ImageProjectionTypes | null;
14065
+ orientation?: OrientationTypes | null;
14066
+ description?: string | null;
14067
+ make?: string | null;
14068
+ model?: string | null;
14069
+ software?: string | null;
14070
+ lens?: string | null;
14071
+ focalLength?: number | null;
14072
+ exposureTime?: string | null;
14073
+ fNumber?: string | null;
14074
+ iso?: string | null;
14075
+ heading?: number | null;
14076
+ pitch?: number | null;
14077
+ } | null;
14078
+ document?: {
14079
+ __typename?: 'DocumentMetadata';
14080
+ title?: string | null;
14081
+ subject?: string | null;
14082
+ summary?: string | null;
14083
+ author?: string | null;
14084
+ publisher?: string | null;
14085
+ description?: string | null;
14086
+ keywords?: Array<string | null> | null;
14087
+ pageCount?: number | null;
14088
+ worksheetCount?: number | null;
14089
+ slideCount?: number | null;
14090
+ wordCount?: number | null;
14091
+ lineCount?: number | null;
14092
+ paragraphCount?: number | null;
14093
+ isEncrypted?: boolean | null;
14094
+ hasDigitalSignature?: boolean | null;
14095
+ } | null;
14096
+ } | null;
14097
+ details?: {
14098
+ __typename?: 'PublishingDetails';
14099
+ text?: string | null;
14100
+ textType?: TextTypes | null;
14101
+ summarySpecification?: string | null;
14102
+ publishSpecification?: string | null;
14103
+ summaryTime?: any | null;
14104
+ publishTime?: any | null;
14105
+ contents?: Array<{
14106
+ __typename?: 'EntityReference';
14107
+ id: string;
14010
14108
  } | null> | null;
14011
- } | null> | null;
14109
+ summaries?: Array<{
14110
+ __typename?: 'TextPage';
14111
+ index?: number | null;
14112
+ relevance?: number | null;
14113
+ chunks?: Array<{
14114
+ __typename?: 'TextChunk';
14115
+ index?: number | null;
14116
+ pageIndex?: number | null;
14117
+ rowIndex?: number | null;
14118
+ columnIndex?: number | null;
14119
+ confidence?: number | null;
14120
+ text?: string | null;
14121
+ role?: TextRoles | null;
14122
+ relevance?: number | null;
14123
+ } | null> | null;
14124
+ } | null> | null;
14125
+ } | null;
14012
14126
  } | null;
14013
14127
  };
14014
14128
  export type PublishTextMutationVariables = Exact<{
@@ -14027,51 +14141,103 @@ export type PublishTextMutation = {
14027
14141
  id: string;
14028
14142
  name: string;
14029
14143
  state: EntityState;
14144
+ originalDate?: any | null;
14145
+ identifier?: string | null;
14146
+ markdown?: string | null;
14147
+ uri?: any | null;
14030
14148
  type?: ContentTypes | null;
14031
14149
  fileType?: FileTypes | null;
14032
14150
  mimeType?: string | null;
14033
- uri?: any | null;
14151
+ format?: string | null;
14152
+ formatName?: string | null;
14153
+ fileExtension?: string | null;
14154
+ fileName?: string | null;
14155
+ fileSize?: any | null;
14156
+ masterUri?: any | null;
14157
+ imageUri?: any | null;
14034
14158
  textUri?: any | null;
14035
14159
  audioUri?: any | null;
14036
- markdown?: string | null;
14037
- collections?: Array<{
14038
- __typename?: 'Collection';
14039
- id: string;
14040
- name: string;
14041
- } | null> | null;
14042
- observations?: Array<{
14043
- __typename?: 'Observation';
14044
- id: string;
14045
- type: ObservableTypes;
14046
- relatedType?: ObservableTypes | null;
14047
- relation?: string | null;
14048
- state: EntityState;
14049
- observable: {
14050
- __typename?: 'NamedEntityReference';
14051
- id: string;
14052
- name?: string | null;
14053
- };
14054
- related?: {
14055
- __typename?: 'NamedEntityReference';
14056
- id: string;
14057
- name?: string | null;
14058
- } | null;
14059
- occurrences?: Array<{
14060
- __typename?: 'ObservationOccurrence';
14061
- type?: OccurrenceTypes | null;
14062
- confidence?: number | null;
14063
- startTime?: any | null;
14064
- endTime?: any | null;
14065
- pageIndex?: number | null;
14066
- boundingBox?: {
14067
- __typename?: 'BoundingBox';
14068
- left?: number | null;
14069
- top?: number | null;
14070
- width?: number | null;
14071
- height?: number | null;
14072
- } | null;
14073
- } | null> | null;
14074
- } | null> | null;
14160
+ transcriptUri?: any | null;
14161
+ summary?: string | null;
14162
+ customSummary?: string | null;
14163
+ keywords?: Array<string> | null;
14164
+ bullets?: Array<string> | null;
14165
+ headlines?: Array<string> | null;
14166
+ posts?: Array<string> | null;
14167
+ chapters?: Array<string> | null;
14168
+ questions?: Array<string> | null;
14169
+ video?: {
14170
+ __typename?: 'VideoMetadata';
14171
+ width?: number | null;
14172
+ height?: number | null;
14173
+ duration?: any | null;
14174
+ make?: string | null;
14175
+ model?: string | null;
14176
+ software?: string | null;
14177
+ title?: string | null;
14178
+ description?: string | null;
14179
+ keywords?: Array<string | null> | null;
14180
+ author?: string | null;
14181
+ } | null;
14182
+ audio?: {
14183
+ __typename?: 'AudioMetadata';
14184
+ keywords?: Array<string | null> | null;
14185
+ author?: string | null;
14186
+ series?: string | null;
14187
+ episode?: string | null;
14188
+ episodeType?: string | null;
14189
+ season?: string | null;
14190
+ publisher?: string | null;
14191
+ copyright?: string | null;
14192
+ genre?: string | null;
14193
+ title?: string | null;
14194
+ description?: string | null;
14195
+ bitrate?: number | null;
14196
+ channels?: number | null;
14197
+ sampleRate?: number | null;
14198
+ bitsPerSample?: number | null;
14199
+ duration?: any | null;
14200
+ } | null;
14201
+ image?: {
14202
+ __typename?: 'ImageMetadata';
14203
+ width?: number | null;
14204
+ height?: number | null;
14205
+ resolutionX?: number | null;
14206
+ resolutionY?: number | null;
14207
+ bitsPerComponent?: number | null;
14208
+ components?: number | null;
14209
+ projectionType?: ImageProjectionTypes | null;
14210
+ orientation?: OrientationTypes | null;
14211
+ description?: string | null;
14212
+ make?: string | null;
14213
+ model?: string | null;
14214
+ software?: string | null;
14215
+ lens?: string | null;
14216
+ focalLength?: number | null;
14217
+ exposureTime?: string | null;
14218
+ fNumber?: string | null;
14219
+ iso?: string | null;
14220
+ heading?: number | null;
14221
+ pitch?: number | null;
14222
+ } | null;
14223
+ document?: {
14224
+ __typename?: 'DocumentMetadata';
14225
+ title?: string | null;
14226
+ subject?: string | null;
14227
+ summary?: string | null;
14228
+ author?: string | null;
14229
+ publisher?: string | null;
14230
+ description?: string | null;
14231
+ keywords?: Array<string | null> | null;
14232
+ pageCount?: number | null;
14233
+ worksheetCount?: number | null;
14234
+ slideCount?: number | null;
14235
+ wordCount?: number | null;
14236
+ lineCount?: number | null;
14237
+ paragraphCount?: number | null;
14238
+ isEncrypted?: boolean | null;
14239
+ hasDigitalSignature?: boolean | null;
14240
+ } | null;
14075
14241
  } | null;
14076
14242
  };
14077
14243
  export type QueryContentsQueryVariables = Exact<{
@@ -16784,51 +16950,103 @@ export type PublishConversationMutation = {
16784
16950
  id: string;
16785
16951
  name: string;
16786
16952
  state: EntityState;
16953
+ originalDate?: any | null;
16954
+ identifier?: string | null;
16955
+ markdown?: string | null;
16956
+ uri?: any | null;
16787
16957
  type?: ContentTypes | null;
16788
16958
  fileType?: FileTypes | null;
16789
16959
  mimeType?: string | null;
16790
- uri?: any | null;
16960
+ format?: string | null;
16961
+ formatName?: string | null;
16962
+ fileExtension?: string | null;
16963
+ fileName?: string | null;
16964
+ fileSize?: any | null;
16965
+ masterUri?: any | null;
16966
+ imageUri?: any | null;
16791
16967
  textUri?: any | null;
16792
16968
  audioUri?: any | null;
16793
- markdown?: string | null;
16794
- collections?: Array<{
16795
- __typename?: 'Collection';
16796
- id: string;
16797
- name: string;
16798
- } | null> | null;
16799
- observations?: Array<{
16800
- __typename?: 'Observation';
16801
- id: string;
16802
- type: ObservableTypes;
16803
- relatedType?: ObservableTypes | null;
16804
- relation?: string | null;
16805
- state: EntityState;
16806
- observable: {
16807
- __typename?: 'NamedEntityReference';
16808
- id: string;
16809
- name?: string | null;
16810
- };
16811
- related?: {
16812
- __typename?: 'NamedEntityReference';
16813
- id: string;
16814
- name?: string | null;
16815
- } | null;
16816
- occurrences?: Array<{
16817
- __typename?: 'ObservationOccurrence';
16818
- type?: OccurrenceTypes | null;
16819
- confidence?: number | null;
16820
- startTime?: any | null;
16821
- endTime?: any | null;
16822
- pageIndex?: number | null;
16823
- boundingBox?: {
16824
- __typename?: 'BoundingBox';
16825
- left?: number | null;
16826
- top?: number | null;
16827
- width?: number | null;
16828
- height?: number | null;
16829
- } | null;
16830
- } | null> | null;
16831
- } | null> | null;
16969
+ transcriptUri?: any | null;
16970
+ summary?: string | null;
16971
+ customSummary?: string | null;
16972
+ keywords?: Array<string> | null;
16973
+ bullets?: Array<string> | null;
16974
+ headlines?: Array<string> | null;
16975
+ posts?: Array<string> | null;
16976
+ chapters?: Array<string> | null;
16977
+ questions?: Array<string> | null;
16978
+ video?: {
16979
+ __typename?: 'VideoMetadata';
16980
+ width?: number | null;
16981
+ height?: number | null;
16982
+ duration?: any | null;
16983
+ make?: string | null;
16984
+ model?: string | null;
16985
+ software?: string | null;
16986
+ title?: string | null;
16987
+ description?: string | null;
16988
+ keywords?: Array<string | null> | null;
16989
+ author?: string | null;
16990
+ } | null;
16991
+ audio?: {
16992
+ __typename?: 'AudioMetadata';
16993
+ keywords?: Array<string | null> | null;
16994
+ author?: string | null;
16995
+ series?: string | null;
16996
+ episode?: string | null;
16997
+ episodeType?: string | null;
16998
+ season?: string | null;
16999
+ publisher?: string | null;
17000
+ copyright?: string | null;
17001
+ genre?: string | null;
17002
+ title?: string | null;
17003
+ description?: string | null;
17004
+ bitrate?: number | null;
17005
+ channels?: number | null;
17006
+ sampleRate?: number | null;
17007
+ bitsPerSample?: number | null;
17008
+ duration?: any | null;
17009
+ } | null;
17010
+ image?: {
17011
+ __typename?: 'ImageMetadata';
17012
+ width?: number | null;
17013
+ height?: number | null;
17014
+ resolutionX?: number | null;
17015
+ resolutionY?: number | null;
17016
+ bitsPerComponent?: number | null;
17017
+ components?: number | null;
17018
+ projectionType?: ImageProjectionTypes | null;
17019
+ orientation?: OrientationTypes | null;
17020
+ description?: string | null;
17021
+ make?: string | null;
17022
+ model?: string | null;
17023
+ software?: string | null;
17024
+ lens?: string | null;
17025
+ focalLength?: number | null;
17026
+ exposureTime?: string | null;
17027
+ fNumber?: string | null;
17028
+ iso?: string | null;
17029
+ heading?: number | null;
17030
+ pitch?: number | null;
17031
+ } | null;
17032
+ document?: {
17033
+ __typename?: 'DocumentMetadata';
17034
+ title?: string | null;
17035
+ subject?: string | null;
17036
+ summary?: string | null;
17037
+ author?: string | null;
17038
+ publisher?: string | null;
17039
+ description?: string | null;
17040
+ keywords?: Array<string | null> | null;
17041
+ pageCount?: number | null;
17042
+ worksheetCount?: number | null;
17043
+ slideCount?: number | null;
17044
+ wordCount?: number | null;
17045
+ lineCount?: number | null;
17046
+ paragraphCount?: number | null;
17047
+ isEncrypted?: boolean | null;
17048
+ hasDigitalSignature?: boolean | null;
17049
+ } | null;
16832
17050
  } | null;
16833
17051
  };
16834
17052
  export type QueryConversationsQueryVariables = Exact<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241228001",
3
+ "version": "1.0.20241229001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",