graphlit-client 1.0.20241228002 → 1.0.20241229002

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.
@@ -1063,6 +1063,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
1063
1063
  }
1064
1064
  pages {
1065
1065
  index
1066
+ text
1066
1067
  relevance
1067
1068
  chunks {
1068
1069
  index
@@ -1367,12 +1368,13 @@ exports.IsContentDone = (0, graphql_tag_1.default) `
1367
1368
  }
1368
1369
  `;
1369
1370
  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) {
1371
+ 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
1372
  publishContents(
1372
1373
  summaryPrompt: $summaryPrompt
1373
1374
  publishPrompt: $publishPrompt
1374
1375
  connector: $connector
1375
1376
  filter: $filter
1377
+ includeDetails: $includeDetails
1376
1378
  isSynchronous: $isSynchronous
1377
1379
  correlationId: $correlationId
1378
1380
  name: $name
@@ -1482,20 +1484,7 @@ exports.PublishContents = (0, graphql_tag_1.default) `
1482
1484
  contents {
1483
1485
  id
1484
1486
  }
1485
- summaries {
1486
- index
1487
- relevance
1488
- chunks {
1489
- index
1490
- pageIndex
1491
- rowIndex
1492
- columnIndex
1493
- confidence
1494
- text
1495
- role
1496
- relevance
1497
- }
1498
- }
1487
+ summaries
1499
1488
  text
1500
1489
  textType
1501
1490
  summarySpecification
@@ -1836,6 +1825,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1836
1825
  }
1837
1826
  pages {
1838
1827
  index
1828
+ text
1839
1829
  relevance
1840
1830
  chunks {
1841
1831
  index
@@ -2085,6 +2075,7 @@ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
2085
2075
  }
2086
2076
  pages {
2087
2077
  index
2078
+ text
2088
2079
  relevance
2089
2080
  chunks {
2090
2081
  index
@@ -9896,13 +9896,13 @@ export type PublishContents = {
9896
9896
  export type PublishingDetails = {
9897
9897
  __typename?: 'PublishingDetails';
9898
9898
  /** The retrieved contents. */
9899
- contents?: Maybe<Array<Maybe<EntityReference>>>;
9899
+ contents?: Maybe<Array<EntityReference>>;
9900
9900
  /** JSON representation of the LLM publish specification. */
9901
9901
  publishSpecification?: Maybe<Scalars['String']['output']>;
9902
9902
  /** The time to publish the summaries. */
9903
9903
  publishTime?: Maybe<Scalars['TimeSpan']['output']>;
9904
9904
  /** The list of content summaries. */
9905
- summaries?: Maybe<Array<Maybe<TextPage>>>;
9905
+ summaries?: Maybe<Array<Scalars['String']['output']>>;
9906
9906
  /** JSON representation of the LLM summary specification. */
9907
9907
  summarySpecification?: Maybe<Scalars['String']['output']>;
9908
9908
  /** The time to summarize the retrieved contents. */
@@ -13632,6 +13632,7 @@ export type GetContentQuery = {
13632
13632
  pages?: Array<{
13633
13633
  __typename?: 'TextPage';
13634
13634
  index?: number | null;
13635
+ text?: string | null;
13635
13636
  relevance?: number | null;
13636
13637
  chunks?: Array<{
13637
13638
  __typename?: 'TextChunk';
@@ -13979,6 +13980,7 @@ export type PublishContentsMutationVariables = Exact<{
13979
13980
  publishPrompt: Scalars['String']['input'];
13980
13981
  connector: ContentPublishingConnectorInput;
13981
13982
  filter?: InputMaybe<ContentFilter>;
13983
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
13982
13984
  isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
13983
13985
  correlationId?: InputMaybe<Scalars['String']['input']>;
13984
13986
  name?: InputMaybe<Scalars['String']['input']>;
@@ -14095,6 +14097,7 @@ export type PublishContentsMutation = {
14095
14097
  } | null;
14096
14098
  details?: {
14097
14099
  __typename?: 'PublishingDetails';
14100
+ summaries?: Array<string> | null;
14098
14101
  text?: string | null;
14099
14102
  textType?: TextTypes | null;
14100
14103
  summarySpecification?: string | null;
@@ -14104,23 +14107,7 @@ export type PublishContentsMutation = {
14104
14107
  contents?: Array<{
14105
14108
  __typename?: 'EntityReference';
14106
14109
  id: string;
14107
- } | null> | null;
14108
- summaries?: Array<{
14109
- __typename?: 'TextPage';
14110
- index?: number | null;
14111
- relevance?: number | null;
14112
- chunks?: Array<{
14113
- __typename?: 'TextChunk';
14114
- index?: number | null;
14115
- pageIndex?: number | null;
14116
- rowIndex?: number | null;
14117
- columnIndex?: number | null;
14118
- confidence?: number | null;
14119
- text?: string | null;
14120
- role?: TextRoles | null;
14121
- relevance?: number | null;
14122
- } | null> | null;
14123
- } | null> | null;
14110
+ }> | null;
14124
14111
  } | null;
14125
14112
  } | null;
14126
14113
  };
@@ -14492,6 +14479,7 @@ export type QueryContentsQuery = {
14492
14479
  pages?: Array<{
14493
14480
  __typename?: 'TextPage';
14494
14481
  index?: number | null;
14482
+ text?: string | null;
14495
14483
  relevance?: number | null;
14496
14484
  chunks?: Array<{
14497
14485
  __typename?: 'TextChunk';
@@ -14776,6 +14764,7 @@ export type QueryContentsFacetsQuery = {
14776
14764
  pages?: Array<{
14777
14765
  __typename?: 'TextPage';
14778
14766
  index?: number | null;
14767
+ text?: string | null;
14779
14768
  relevance?: number | null;
14780
14769
  chunks?: Array<{
14781
14770
  __typename?: 'TextChunk';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241228002",
3
+ "version": "1.0.20241229002",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",