@knowledge-stack/ksapi 1.145.0 → 1.146.0

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.145.0
1
+ # @knowledge-stack/ksapi@1.146.0
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -673,7 +673,7 @@ and is automatically generated by the
673
673
  [OpenAPI Generator](https://openapi-generator.tech) project:
674
674
 
675
675
  - API version: `0.1.0`
676
- - Package version: `1.145.0`
676
+ - Package version: `1.146.0`
677
677
  - Generator version: `7.21.0`
678
678
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
679
679
 
@@ -54,6 +54,12 @@ export interface ChunkContentItem {
54
54
  * @memberof ChunkContentItem
55
55
  */
56
56
  depth: number;
57
+ /**
58
+ * 0-based ordinal of this chunk, counting CHUNK rows in DFS order from the traversal root. Usable directly as a read start/end coordinate. Null on endpoints that do not compute traversal ordinals.
59
+ * @type {number}
60
+ * @memberof ChunkContentItem
61
+ */
62
+ chunkStartIndex?: number | null;
57
63
  /**
58
64
  * Chunk content
59
65
  * @type {string}
@@ -63,6 +63,7 @@ export function ChunkContentItemFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'parentPathId': json['parent_path_id'],
64
64
  'metadataObjId': json['metadata_obj_id'],
65
65
  'depth': json['depth'],
66
+ 'chunkStartIndex': json['chunk_start_index'] == null ? undefined : json['chunk_start_index'],
66
67
  'content': json['content'] == null ? undefined : json['content'],
67
68
  'chunkType': json['chunk_type'] == null ? undefined : ChunkTypeFromJSON(json['chunk_type']),
68
69
  'chunkMetadata': json['chunk_metadata'] == null ? undefined : ChunkMetadataFromJSON(json['chunk_metadata']),
@@ -87,6 +88,7 @@ export function ChunkContentItemToJSONTyped(value, ignoreDiscriminator = false)
87
88
  'parent_path_id': value['parentPathId'],
88
89
  'metadata_obj_id': value['metadataObjId'],
89
90
  'depth': value['depth'],
91
+ 'chunk_start_index': value['chunkStartIndex'],
90
92
  'content': value['content'],
91
93
  'chunk_type': ChunkTypeToJSON(value['chunkType']),
92
94
  'chunk_metadata': ChunkMetadataToJSON(value['chunkMetadata']),
@@ -52,6 +52,18 @@ export interface SectionContentItem {
52
52
  * @memberof SectionContentItem
53
53
  */
54
54
  depth: number;
55
+ /**
56
+ * 0-based ordinal of the first chunk in this section's subtree, counting CHUNK rows in DFS order from the traversal root. Null when the section has no chunk anywhere below it, and on endpoints that do not compute traversal ordinals.
57
+ * @type {number}
58
+ * @memberof SectionContentItem
59
+ */
60
+ chunkStartIndex?: number | null;
61
+ /**
62
+ * 0-based ordinal of the last chunk in this section's subtree, inclusive. Chunks outside the section — a later sibling, or a chunk attached to an ancestor — are excluded, so the span covers only this section's own content. Null under the same conditions as chunk_start_index.
63
+ * @type {number}
64
+ * @memberof SectionContentItem
65
+ */
66
+ chunkEndIndex?: number | null;
55
67
  /**
56
68
  * Section page number
57
69
  * @type {number}
@@ -61,6 +61,8 @@ export function SectionContentItemFromJSONTyped(json, ignoreDiscriminator) {
61
61
  'parentPathId': json['parent_path_id'],
62
62
  'metadataObjId': json['metadata_obj_id'],
63
63
  'depth': json['depth'],
64
+ 'chunkStartIndex': json['chunk_start_index'] == null ? undefined : json['chunk_start_index'],
65
+ 'chunkEndIndex': json['chunk_end_index'] == null ? undefined : json['chunk_end_index'],
64
66
  'pageNumber': json['page_number'] == null ? undefined : json['page_number'],
65
67
  'materializedPath': json['materialized_path'],
66
68
  'systemManaged': json['system_managed'],
@@ -83,6 +85,8 @@ export function SectionContentItemToJSONTyped(value, ignoreDiscriminator = false
83
85
  'parent_path_id': value['parentPathId'],
84
86
  'metadata_obj_id': value['metadataObjId'],
85
87
  'depth': value['depth'],
88
+ 'chunk_start_index': value['chunkStartIndex'],
89
+ 'chunk_end_index': value['chunkEndIndex'],
86
90
  'page_number': value['pageNumber'],
87
91
  'materialized_path': value['materializedPath'],
88
92
  'system_managed': value['systemManaged'],
@@ -54,6 +54,12 @@ export interface ChunkContentItem {
54
54
  * @memberof ChunkContentItem
55
55
  */
56
56
  depth: number;
57
+ /**
58
+ * 0-based ordinal of this chunk, counting CHUNK rows in DFS order from the traversal root. Usable directly as a read start/end coordinate. Null on endpoints that do not compute traversal ordinals.
59
+ * @type {number}
60
+ * @memberof ChunkContentItem
61
+ */
62
+ chunkStartIndex?: number | null;
57
63
  /**
58
64
  * Chunk content
59
65
  * @type {string}
@@ -71,6 +71,7 @@ function ChunkContentItemFromJSONTyped(json, ignoreDiscriminator) {
71
71
  'parentPathId': json['parent_path_id'],
72
72
  'metadataObjId': json['metadata_obj_id'],
73
73
  'depth': json['depth'],
74
+ 'chunkStartIndex': json['chunk_start_index'] == null ? undefined : json['chunk_start_index'],
74
75
  'content': json['content'] == null ? undefined : json['content'],
75
76
  'chunkType': json['chunk_type'] == null ? undefined : (0, ChunkType_1.ChunkTypeFromJSON)(json['chunk_type']),
76
77
  'chunkMetadata': json['chunk_metadata'] == null ? undefined : (0, ChunkMetadata_1.ChunkMetadataFromJSON)(json['chunk_metadata']),
@@ -95,6 +96,7 @@ function ChunkContentItemToJSONTyped(value, ignoreDiscriminator = false) {
95
96
  'parent_path_id': value['parentPathId'],
96
97
  'metadata_obj_id': value['metadataObjId'],
97
98
  'depth': value['depth'],
99
+ 'chunk_start_index': value['chunkStartIndex'],
98
100
  'content': value['content'],
99
101
  'chunk_type': (0, ChunkType_1.ChunkTypeToJSON)(value['chunkType']),
100
102
  'chunk_metadata': (0, ChunkMetadata_1.ChunkMetadataToJSON)(value['chunkMetadata']),
@@ -52,6 +52,18 @@ export interface SectionContentItem {
52
52
  * @memberof SectionContentItem
53
53
  */
54
54
  depth: number;
55
+ /**
56
+ * 0-based ordinal of the first chunk in this section's subtree, counting CHUNK rows in DFS order from the traversal root. Null when the section has no chunk anywhere below it, and on endpoints that do not compute traversal ordinals.
57
+ * @type {number}
58
+ * @memberof SectionContentItem
59
+ */
60
+ chunkStartIndex?: number | null;
61
+ /**
62
+ * 0-based ordinal of the last chunk in this section's subtree, inclusive. Chunks outside the section — a later sibling, or a chunk attached to an ancestor — are excluded, so the span covers only this section's own content. Null under the same conditions as chunk_start_index.
63
+ * @type {number}
64
+ * @memberof SectionContentItem
65
+ */
66
+ chunkEndIndex?: number | null;
55
67
  /**
56
68
  * Section page number
57
69
  * @type {number}
@@ -69,6 +69,8 @@ function SectionContentItemFromJSONTyped(json, ignoreDiscriminator) {
69
69
  'parentPathId': json['parent_path_id'],
70
70
  'metadataObjId': json['metadata_obj_id'],
71
71
  'depth': json['depth'],
72
+ 'chunkStartIndex': json['chunk_start_index'] == null ? undefined : json['chunk_start_index'],
73
+ 'chunkEndIndex': json['chunk_end_index'] == null ? undefined : json['chunk_end_index'],
72
74
  'pageNumber': json['page_number'] == null ? undefined : json['page_number'],
73
75
  'materializedPath': json['materialized_path'],
74
76
  'systemManaged': json['system_managed'],
@@ -91,6 +93,8 @@ function SectionContentItemToJSONTyped(value, ignoreDiscriminator = false) {
91
93
  'parent_path_id': value['parentPathId'],
92
94
  'metadata_obj_id': value['metadataObjId'],
93
95
  'depth': value['depth'],
96
+ 'chunk_start_index': value['chunkStartIndex'],
97
+ 'chunk_end_index': value['chunkEndIndex'],
94
98
  'page_number': value['pageNumber'],
95
99
  'materialized_path': value['materializedPath'],
96
100
  'system_managed': value['systemManaged'],
@@ -13,6 +13,7 @@ Name | Type
13
13
  `parentPathId` | string
14
14
  `metadataObjId` | string
15
15
  `depth` | number
16
+ `chunkStartIndex` | number
16
17
  `content` | string
17
18
  `chunkType` | [ChunkType](ChunkType.md)
18
19
  `chunkMetadata` | [ChunkMetadata](ChunkMetadata.md)
@@ -35,6 +36,7 @@ const example = {
35
36
  "parentPathId": null,
36
37
  "metadataObjId": null,
37
38
  "depth": null,
39
+ "chunkStartIndex": null,
38
40
  "content": null,
39
41
  "chunkType": null,
40
42
  "chunkMetadata": null,
@@ -13,6 +13,8 @@ Name | Type
13
13
  `parentPathId` | string
14
14
  `metadataObjId` | string
15
15
  `depth` | number
16
+ `chunkStartIndex` | number
17
+ `chunkEndIndex` | number
16
18
  `pageNumber` | number
17
19
  `materializedPath` | string
18
20
  `systemManaged` | boolean
@@ -33,6 +35,8 @@ const example = {
33
35
  "parentPathId": null,
34
36
  "metadataObjId": null,
35
37
  "depth": null,
38
+ "chunkStartIndex": null,
39
+ "chunkEndIndex": null,
36
40
  "pageNumber": null,
37
41
  "materializedPath": null,
38
42
  "systemManaged": null,
@@ -12,6 +12,8 @@ Name | Type
12
12
  `parentPathId` | string
13
13
  `metadataObjId` | string
14
14
  `depth` | number
15
+ `chunkStartIndex` | number
16
+ `chunkEndIndex` | number
15
17
  `pageNumber` | number
16
18
  `materializedPath` | string
17
19
  `systemManaged` | boolean
@@ -35,6 +37,8 @@ const example = {
35
37
  "parentPathId": null,
36
38
  "metadataObjId": null,
37
39
  "depth": null,
40
+ "chunkStartIndex": null,
41
+ "chunkEndIndex": null,
38
42
  "pageNumber": null,
39
43
  "materializedPath": null,
40
44
  "systemManaged": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.145.0",
3
+ "version": "1.146.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -77,6 +77,12 @@ export interface ChunkContentItem {
77
77
  * @memberof ChunkContentItem
78
78
  */
79
79
  depth: number;
80
+ /**
81
+ * 0-based ordinal of this chunk, counting CHUNK rows in DFS order from the traversal root. Usable directly as a read start/end coordinate. Null on endpoints that do not compute traversal ordinals.
82
+ * @type {number}
83
+ * @memberof ChunkContentItem
84
+ */
85
+ chunkStartIndex?: number | null;
80
86
  /**
81
87
  * Chunk content
82
88
  * @type {string}
@@ -188,6 +194,7 @@ export function ChunkContentItemFromJSONTyped(json: any, ignoreDiscriminator: bo
188
194
  'parentPathId': json['parent_path_id'],
189
195
  'metadataObjId': json['metadata_obj_id'],
190
196
  'depth': json['depth'],
197
+ 'chunkStartIndex': json['chunk_start_index'] == null ? undefined : json['chunk_start_index'],
191
198
  'content': json['content'] == null ? undefined : json['content'],
192
199
  'chunkType': json['chunk_type'] == null ? undefined : ChunkTypeFromJSON(json['chunk_type']),
193
200
  'chunkMetadata': json['chunk_metadata'] == null ? undefined : ChunkMetadataFromJSON(json['chunk_metadata']),
@@ -216,6 +223,7 @@ export function ChunkContentItemToJSONTyped(value?: ChunkContentItem | null, ign
216
223
  'parent_path_id': value['parentPathId'],
217
224
  'metadata_obj_id': value['metadataObjId'],
218
225
  'depth': value['depth'],
226
+ 'chunk_start_index': value['chunkStartIndex'],
219
227
  'content': value['content'],
220
228
  'chunk_type': ChunkTypeToJSON(value['chunkType']),
221
229
  'chunk_metadata': ChunkMetadataToJSON(value['chunkMetadata']),
@@ -63,6 +63,18 @@ export interface SectionContentItem {
63
63
  * @memberof SectionContentItem
64
64
  */
65
65
  depth: number;
66
+ /**
67
+ * 0-based ordinal of the first chunk in this section's subtree, counting CHUNK rows in DFS order from the traversal root. Null when the section has no chunk anywhere below it, and on endpoints that do not compute traversal ordinals.
68
+ * @type {number}
69
+ * @memberof SectionContentItem
70
+ */
71
+ chunkStartIndex?: number | null;
72
+ /**
73
+ * 0-based ordinal of the last chunk in this section's subtree, inclusive. Chunks outside the section — a later sibling, or a chunk attached to an ancestor — are excluded, so the span covers only this section's own content. Null under the same conditions as chunk_start_index.
74
+ * @type {number}
75
+ * @memberof SectionContentItem
76
+ */
77
+ chunkEndIndex?: number | null;
66
78
  /**
67
79
  * Section page number
68
80
  * @type {number}
@@ -162,6 +174,8 @@ export function SectionContentItemFromJSONTyped(json: any, ignoreDiscriminator:
162
174
  'parentPathId': json['parent_path_id'],
163
175
  'metadataObjId': json['metadata_obj_id'],
164
176
  'depth': json['depth'],
177
+ 'chunkStartIndex': json['chunk_start_index'] == null ? undefined : json['chunk_start_index'],
178
+ 'chunkEndIndex': json['chunk_end_index'] == null ? undefined : json['chunk_end_index'],
165
179
  'pageNumber': json['page_number'] == null ? undefined : json['page_number'],
166
180
  'materializedPath': json['materialized_path'],
167
181
  'systemManaged': json['system_managed'],
@@ -188,6 +202,8 @@ export function SectionContentItemToJSONTyped(value?: SectionContentItem | null,
188
202
  'parent_path_id': value['parentPathId'],
189
203
  'metadata_obj_id': value['metadataObjId'],
190
204
  'depth': value['depth'],
205
+ 'chunk_start_index': value['chunkStartIndex'],
206
+ 'chunk_end_index': value['chunkEndIndex'],
191
207
  'page_number': value['pageNumber'],
192
208
  'materialized_path': value['materializedPath'],
193
209
  'system_managed': value['systemManaged'],