@knowledge-stack/ksapi 1.10.0 → 1.11.1

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.
Files changed (43) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/dist/apis/ChunkLineagesApi.d.ts +117 -0
  4. package/dist/apis/ChunkLineagesApi.js +140 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/esm/apis/ChunkLineagesApi.d.ts +117 -0
  8. package/dist/esm/apis/ChunkLineagesApi.js +136 -0
  9. package/dist/esm/apis/index.d.ts +1 -0
  10. package/dist/esm/apis/index.js +1 -0
  11. package/dist/esm/models/ChunkLineageResponse.d.ts +65 -0
  12. package/dist/esm/models/ChunkLineageResponse.js +56 -0
  13. package/dist/esm/models/CreateChunkLineageRequest.d.ts +53 -0
  14. package/dist/esm/models/CreateChunkLineageRequest.js +53 -0
  15. package/dist/esm/models/LineageEdgeResponse.d.ts +53 -0
  16. package/dist/esm/models/LineageEdgeResponse.js +48 -0
  17. package/dist/esm/models/LineageGraphResponse.d.ts +55 -0
  18. package/dist/esm/models/LineageGraphResponse.js +50 -0
  19. package/dist/esm/models/LineageNodeResponse.d.ts +85 -0
  20. package/dist/esm/models/LineageNodeResponse.js +70 -0
  21. package/dist/esm/models/index.d.ts +5 -0
  22. package/dist/esm/models/index.js +5 -0
  23. package/dist/models/ChunkLineageResponse.d.ts +65 -0
  24. package/dist/models/ChunkLineageResponse.js +64 -0
  25. package/dist/models/CreateChunkLineageRequest.d.ts +53 -0
  26. package/dist/models/CreateChunkLineageRequest.js +61 -0
  27. package/dist/models/LineageEdgeResponse.d.ts +53 -0
  28. package/dist/models/LineageEdgeResponse.js +56 -0
  29. package/dist/models/LineageGraphResponse.d.ts +55 -0
  30. package/dist/models/LineageGraphResponse.js +58 -0
  31. package/dist/models/LineageNodeResponse.d.ts +85 -0
  32. package/dist/models/LineageNodeResponse.js +78 -0
  33. package/dist/models/index.d.ts +5 -0
  34. package/dist/models/index.js +5 -0
  35. package/package.json +1 -1
  36. package/src/apis/ChunkLineagesApi.ts +254 -0
  37. package/src/apis/index.ts +1 -0
  38. package/src/models/ChunkLineageResponse.ts +110 -0
  39. package/src/models/CreateChunkLineageRequest.ts +96 -0
  40. package/src/models/LineageEdgeResponse.ts +92 -0
  41. package/src/models/LineageGraphResponse.ts +107 -0
  42. package/src/models/LineageNodeResponse.ts +154 -0
  43. package/src/models/index.ts +5 -0
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ChunkLineageResponse interface.
16
+ */
17
+ export function instanceOfChunkLineageResponse(value) {
18
+ if (!('parentChunkId' in value) || value['parentChunkId'] === undefined)
19
+ return false;
20
+ if (!('chunkId' in value) || value['chunkId'] === undefined)
21
+ return false;
22
+ if (!('tenantId' in value) || value['tenantId'] === undefined)
23
+ return false;
24
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function ChunkLineageResponseFromJSON(json) {
29
+ return ChunkLineageResponseFromJSONTyped(json, false);
30
+ }
31
+ export function ChunkLineageResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'parentChunkId': json['parent_chunk_id'],
37
+ 'chunkId': json['chunk_id'],
38
+ 'tenantId': json['tenant_id'],
39
+ 'createdAt': (new Date(json['created_at'])),
40
+ };
41
+ }
42
+ export function ChunkLineageResponseToJSON(json) {
43
+ return ChunkLineageResponseToJSONTyped(json, false);
44
+ }
45
+ export function ChunkLineageResponseToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'parent_chunk_id': value['parentChunkId'],
51
+ 'chunk_id': value['chunkId'],
52
+ 'tenant_id': value['tenantId'],
53
+ 'created_at': value['createdAt'].toISOString(),
54
+ };
55
+ }
56
+ export const ChunkLineageResponsePropertyValidationAttributesMap = {};
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Request to batch-create lineage edges for a child chunk.
14
+ * @export
15
+ * @interface CreateChunkLineageRequest
16
+ */
17
+ export interface CreateChunkLineageRequest {
18
+ /**
19
+ * Child chunk ID
20
+ * @type {string}
21
+ * @memberof CreateChunkLineageRequest
22
+ */
23
+ chunkId: string;
24
+ /**
25
+ * List of parent chunk IDs
26
+ * @type {Array<string>}
27
+ * @memberof CreateChunkLineageRequest
28
+ */
29
+ parentChunkIds: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CreateChunkLineageRequest interface.
33
+ */
34
+ export declare function instanceOfCreateChunkLineageRequest(value: object): value is CreateChunkLineageRequest;
35
+ export declare function CreateChunkLineageRequestFromJSON(json: any): CreateChunkLineageRequest;
36
+ export declare function CreateChunkLineageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateChunkLineageRequest;
37
+ export declare function CreateChunkLineageRequestToJSON(json: any): CreateChunkLineageRequest;
38
+ export declare function CreateChunkLineageRequestToJSONTyped(value?: CreateChunkLineageRequest | null, ignoreDiscriminator?: boolean): any;
39
+ export declare const CreateChunkLineageRequestPropertyValidationAttributesMap: {
40
+ [property: string]: {
41
+ maxLength?: number;
42
+ minLength?: number;
43
+ pattern?: string;
44
+ maximum?: number;
45
+ exclusiveMaximum?: boolean;
46
+ minimum?: number;
47
+ exclusiveMinimum?: boolean;
48
+ multipleOf?: number;
49
+ maxItems?: number;
50
+ minItems?: number;
51
+ uniqueItems?: boolean;
52
+ };
53
+ };
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the CreateChunkLineageRequest interface.
16
+ */
17
+ export function instanceOfCreateChunkLineageRequest(value) {
18
+ if (!('chunkId' in value) || value['chunkId'] === undefined)
19
+ return false;
20
+ if (!('parentChunkIds' in value) || value['parentChunkIds'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function CreateChunkLineageRequestFromJSON(json) {
25
+ return CreateChunkLineageRequestFromJSONTyped(json, false);
26
+ }
27
+ export function CreateChunkLineageRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'chunkId': json['chunk_id'],
33
+ 'parentChunkIds': json['parent_chunk_ids'],
34
+ };
35
+ }
36
+ export function CreateChunkLineageRequestToJSON(json) {
37
+ return CreateChunkLineageRequestToJSONTyped(json, false);
38
+ }
39
+ export function CreateChunkLineageRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'chunk_id': value['chunkId'],
45
+ 'parent_chunk_ids': value['parentChunkIds'],
46
+ };
47
+ }
48
+ export const CreateChunkLineageRequestPropertyValidationAttributesMap = {
49
+ parentChunkIds: {
50
+ minItems: 1,
51
+ uniqueItems: false,
52
+ },
53
+ };
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * An edge in the lineage graph.
14
+ * @export
15
+ * @interface LineageEdgeResponse
16
+ */
17
+ export interface LineageEdgeResponse {
18
+ /**
19
+ * Parent chunk ID (source)
20
+ * @type {string}
21
+ * @memberof LineageEdgeResponse
22
+ */
23
+ parentChunkId: string;
24
+ /**
25
+ * Child chunk ID (derived)
26
+ * @type {string}
27
+ * @memberof LineageEdgeResponse
28
+ */
29
+ chunkId: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LineageEdgeResponse interface.
33
+ */
34
+ export declare function instanceOfLineageEdgeResponse(value: object): value is LineageEdgeResponse;
35
+ export declare function LineageEdgeResponseFromJSON(json: any): LineageEdgeResponse;
36
+ export declare function LineageEdgeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LineageEdgeResponse;
37
+ export declare function LineageEdgeResponseToJSON(json: any): LineageEdgeResponse;
38
+ export declare function LineageEdgeResponseToJSONTyped(value?: LineageEdgeResponse | null, ignoreDiscriminator?: boolean): any;
39
+ export declare const LineageEdgeResponsePropertyValidationAttributesMap: {
40
+ [property: string]: {
41
+ maxLength?: number;
42
+ minLength?: number;
43
+ pattern?: string;
44
+ maximum?: number;
45
+ exclusiveMaximum?: boolean;
46
+ minimum?: number;
47
+ exclusiveMinimum?: boolean;
48
+ multipleOf?: number;
49
+ maxItems?: number;
50
+ minItems?: number;
51
+ uniqueItems?: boolean;
52
+ };
53
+ };
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the LineageEdgeResponse interface.
16
+ */
17
+ export function instanceOfLineageEdgeResponse(value) {
18
+ if (!('parentChunkId' in value) || value['parentChunkId'] === undefined)
19
+ return false;
20
+ if (!('chunkId' in value) || value['chunkId'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function LineageEdgeResponseFromJSON(json) {
25
+ return LineageEdgeResponseFromJSONTyped(json, false);
26
+ }
27
+ export function LineageEdgeResponseFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'parentChunkId': json['parent_chunk_id'],
33
+ 'chunkId': json['chunk_id'],
34
+ };
35
+ }
36
+ export function LineageEdgeResponseToJSON(json) {
37
+ return LineageEdgeResponseToJSONTyped(json, false);
38
+ }
39
+ export function LineageEdgeResponseToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'parent_chunk_id': value['parentChunkId'],
45
+ 'chunk_id': value['chunkId'],
46
+ };
47
+ }
48
+ export const LineageEdgeResponsePropertyValidationAttributesMap = {};
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LineageEdgeResponse } from './LineageEdgeResponse';
13
+ import type { LineageNodeResponse } from './LineageNodeResponse';
14
+ /**
15
+ * Complete lineage graph with nodes and edges.
16
+ * @export
17
+ * @interface LineageGraphResponse
18
+ */
19
+ export interface LineageGraphResponse {
20
+ /**
21
+ * Chunk nodes in the graph
22
+ * @type {Array<LineageNodeResponse>}
23
+ * @memberof LineageGraphResponse
24
+ */
25
+ nodes: Array<LineageNodeResponse>;
26
+ /**
27
+ * Lineage edges in the graph
28
+ * @type {Array<LineageEdgeResponse>}
29
+ * @memberof LineageGraphResponse
30
+ */
31
+ edges: Array<LineageEdgeResponse>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the LineageGraphResponse interface.
35
+ */
36
+ export declare function instanceOfLineageGraphResponse(value: object): value is LineageGraphResponse;
37
+ export declare function LineageGraphResponseFromJSON(json: any): LineageGraphResponse;
38
+ export declare function LineageGraphResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LineageGraphResponse;
39
+ export declare function LineageGraphResponseToJSON(json: any): LineageGraphResponse;
40
+ export declare function LineageGraphResponseToJSONTyped(value?: LineageGraphResponse | null, ignoreDiscriminator?: boolean): any;
41
+ export declare const LineageGraphResponsePropertyValidationAttributesMap: {
42
+ [property: string]: {
43
+ maxLength?: number;
44
+ minLength?: number;
45
+ pattern?: string;
46
+ maximum?: number;
47
+ exclusiveMaximum?: boolean;
48
+ minimum?: number;
49
+ exclusiveMinimum?: boolean;
50
+ multipleOf?: number;
51
+ maxItems?: number;
52
+ minItems?: number;
53
+ uniqueItems?: boolean;
54
+ };
55
+ };
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { LineageEdgeResponseFromJSON, LineageEdgeResponseToJSON, } from './LineageEdgeResponse';
15
+ import { LineageNodeResponseFromJSON, LineageNodeResponseToJSON, } from './LineageNodeResponse';
16
+ /**
17
+ * Check if a given object implements the LineageGraphResponse interface.
18
+ */
19
+ export function instanceOfLineageGraphResponse(value) {
20
+ if (!('nodes' in value) || value['nodes'] === undefined)
21
+ return false;
22
+ if (!('edges' in value) || value['edges'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function LineageGraphResponseFromJSON(json) {
27
+ return LineageGraphResponseFromJSONTyped(json, false);
28
+ }
29
+ export function LineageGraphResponseFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'nodes': (json['nodes'].map(LineageNodeResponseFromJSON)),
35
+ 'edges': (json['edges'].map(LineageEdgeResponseFromJSON)),
36
+ };
37
+ }
38
+ export function LineageGraphResponseToJSON(json) {
39
+ return LineageGraphResponseToJSONTyped(json, false);
40
+ }
41
+ export function LineageGraphResponseToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'nodes': (value['nodes'].map(LineageNodeResponseToJSON)),
47
+ 'edges': (value['edges'].map(LineageEdgeResponseToJSON)),
48
+ };
49
+ }
50
+ export const LineageGraphResponsePropertyValidationAttributesMap = {};
@@ -0,0 +1,85 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ChunkMetadataOutput } from './ChunkMetadataOutput';
13
+ import type { ChunkType } from './ChunkType';
14
+ /**
15
+ * A node in the lineage graph (enriched chunk).
16
+ * @export
17
+ * @interface LineageNodeResponse
18
+ */
19
+ export interface LineageNodeResponse {
20
+ /**
21
+ * Chunk ID
22
+ * @type {string}
23
+ * @memberof LineageNodeResponse
24
+ */
25
+ id: string;
26
+ /**
27
+ * Chunk text content
28
+ * @type {string}
29
+ * @memberof LineageNodeResponse
30
+ */
31
+ content: string;
32
+ /**
33
+ * Type of chunk content
34
+ * @type {ChunkType}
35
+ * @memberof LineageNodeResponse
36
+ */
37
+ chunkType: ChunkType;
38
+ /**
39
+ * Chunk metadata
40
+ * @type {ChunkMetadataOutput}
41
+ * @memberof LineageNodeResponse
42
+ */
43
+ chunkMetadata: ChunkMetadataOutput;
44
+ /**
45
+ * Tenant ID
46
+ * @type {string}
47
+ * @memberof LineageNodeResponse
48
+ */
49
+ tenantId: string;
50
+ /**
51
+ * Creation timestamp
52
+ * @type {Date}
53
+ * @memberof LineageNodeResponse
54
+ */
55
+ createdAt: Date;
56
+ /**
57
+ * Last update timestamp
58
+ * @type {Date}
59
+ * @memberof LineageNodeResponse
60
+ */
61
+ updatedAt: Date;
62
+ }
63
+ /**
64
+ * Check if a given object implements the LineageNodeResponse interface.
65
+ */
66
+ export declare function instanceOfLineageNodeResponse(value: object): value is LineageNodeResponse;
67
+ export declare function LineageNodeResponseFromJSON(json: any): LineageNodeResponse;
68
+ export declare function LineageNodeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LineageNodeResponse;
69
+ export declare function LineageNodeResponseToJSON(json: any): LineageNodeResponse;
70
+ export declare function LineageNodeResponseToJSONTyped(value?: LineageNodeResponse | null, ignoreDiscriminator?: boolean): any;
71
+ export declare const LineageNodeResponsePropertyValidationAttributesMap: {
72
+ [property: string]: {
73
+ maxLength?: number;
74
+ minLength?: number;
75
+ pattern?: string;
76
+ maximum?: number;
77
+ exclusiveMaximum?: boolean;
78
+ minimum?: number;
79
+ exclusiveMinimum?: boolean;
80
+ multipleOf?: number;
81
+ maxItems?: number;
82
+ minItems?: number;
83
+ uniqueItems?: boolean;
84
+ };
85
+ };
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ChunkMetadataOutputFromJSON, ChunkMetadataOutputToJSON, } from './ChunkMetadataOutput';
15
+ import { ChunkTypeFromJSON, ChunkTypeToJSON, } from './ChunkType';
16
+ /**
17
+ * Check if a given object implements the LineageNodeResponse interface.
18
+ */
19
+ export function instanceOfLineageNodeResponse(value) {
20
+ if (!('id' in value) || value['id'] === undefined)
21
+ return false;
22
+ if (!('content' in value) || value['content'] === undefined)
23
+ return false;
24
+ if (!('chunkType' in value) || value['chunkType'] === undefined)
25
+ return false;
26
+ if (!('chunkMetadata' in value) || value['chunkMetadata'] === undefined)
27
+ return false;
28
+ if (!('tenantId' in value) || value['tenantId'] === undefined)
29
+ return false;
30
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
31
+ return false;
32
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ export function LineageNodeResponseFromJSON(json) {
37
+ return LineageNodeResponseFromJSONTyped(json, false);
38
+ }
39
+ export function LineageNodeResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'content': json['content'],
46
+ 'chunkType': ChunkTypeFromJSON(json['chunk_type']),
47
+ 'chunkMetadata': ChunkMetadataOutputFromJSON(json['chunk_metadata']),
48
+ 'tenantId': json['tenant_id'],
49
+ 'createdAt': (new Date(json['created_at'])),
50
+ 'updatedAt': (new Date(json['updated_at'])),
51
+ };
52
+ }
53
+ export function LineageNodeResponseToJSON(json) {
54
+ return LineageNodeResponseToJSONTyped(json, false);
55
+ }
56
+ export function LineageNodeResponseToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'id': value['id'],
62
+ 'content': value['content'],
63
+ 'chunk_type': ChunkTypeToJSON(value['chunkType']),
64
+ 'chunk_metadata': ChunkMetadataOutputToJSON(value['chunkMetadata']),
65
+ 'tenant_id': value['tenantId'],
66
+ 'created_at': value['createdAt'].toISOString(),
67
+ 'updated_at': value['updatedAt'].toISOString(),
68
+ };
69
+ }
70
+ export const LineageNodeResponsePropertyValidationAttributesMap = {};
@@ -1,7 +1,9 @@
1
+ export * from './ChunkLineageResponse';
1
2
  export * from './ChunkMetadataInput';
2
3
  export * from './ChunkMetadataOutput';
3
4
  export * from './ChunkResponse';
4
5
  export * from './ChunkType';
6
+ export * from './CreateChunkLineageRequest';
5
7
  export * from './CreateChunkRequest';
6
8
  export * from './CreateDocumentRequest';
7
9
  export * from './CreateFolderRequest';
@@ -25,6 +27,9 @@ export * from './IdpType';
25
27
  export * from './InviteResponse';
26
28
  export * from './InviteStatus';
27
29
  export * from './InviteUserRequest';
30
+ export * from './LineageEdgeResponse';
31
+ export * from './LineageGraphResponse';
32
+ export * from './LineageNodeResponse';
28
33
  export * from './MessageRole';
29
34
  export * from './OAuth2Config';
30
35
  export * from './PaginatedResponseDocumentContentPathPart';
@@ -1,9 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './ChunkLineageResponse';
3
4
  export * from './ChunkMetadataInput';
4
5
  export * from './ChunkMetadataOutput';
5
6
  export * from './ChunkResponse';
6
7
  export * from './ChunkType';
8
+ export * from './CreateChunkLineageRequest';
7
9
  export * from './CreateChunkRequest';
8
10
  export * from './CreateDocumentRequest';
9
11
  export * from './CreateFolderRequest';
@@ -27,6 +29,9 @@ export * from './IdpType';
27
29
  export * from './InviteResponse';
28
30
  export * from './InviteStatus';
29
31
  export * from './InviteUserRequest';
32
+ export * from './LineageEdgeResponse';
33
+ export * from './LineageGraphResponse';
34
+ export * from './LineageNodeResponse';
30
35
  export * from './MessageRole';
31
36
  export * from './OAuth2Config';
32
37
  export * from './PaginatedResponseDocumentContentPathPart';
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Single chunk lineage edge response.
14
+ * @export
15
+ * @interface ChunkLineageResponse
16
+ */
17
+ export interface ChunkLineageResponse {
18
+ /**
19
+ * Parent chunk ID
20
+ * @type {string}
21
+ * @memberof ChunkLineageResponse
22
+ */
23
+ parentChunkId: string;
24
+ /**
25
+ * Child chunk ID
26
+ * @type {string}
27
+ * @memberof ChunkLineageResponse
28
+ */
29
+ chunkId: string;
30
+ /**
31
+ * Tenant ID
32
+ * @type {string}
33
+ * @memberof ChunkLineageResponse
34
+ */
35
+ tenantId: string;
36
+ /**
37
+ * Creation timestamp
38
+ * @type {Date}
39
+ * @memberof ChunkLineageResponse
40
+ */
41
+ createdAt: Date;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ChunkLineageResponse interface.
45
+ */
46
+ export declare function instanceOfChunkLineageResponse(value: object): value is ChunkLineageResponse;
47
+ export declare function ChunkLineageResponseFromJSON(json: any): ChunkLineageResponse;
48
+ export declare function ChunkLineageResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChunkLineageResponse;
49
+ export declare function ChunkLineageResponseToJSON(json: any): ChunkLineageResponse;
50
+ export declare function ChunkLineageResponseToJSONTyped(value?: ChunkLineageResponse | null, ignoreDiscriminator?: boolean): any;
51
+ export declare const ChunkLineageResponsePropertyValidationAttributesMap: {
52
+ [property: string]: {
53
+ maxLength?: number;
54
+ minLength?: number;
55
+ pattern?: string;
56
+ maximum?: number;
57
+ exclusiveMaximum?: boolean;
58
+ minimum?: number;
59
+ exclusiveMinimum?: boolean;
60
+ multipleOf?: number;
61
+ maxItems?: number;
62
+ minItems?: number;
63
+ uniqueItems?: boolean;
64
+ };
65
+ };