@knowledge-stack/ksapi 1.19.5 → 1.20.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.
- package/.openapi-generator/FILES +2 -1
- package/README.md +2 -2
- package/dist/apis/AuthApi.d.ts +9 -9
- package/dist/apis/ChunkLineagesApi.d.ts +3 -3
- package/dist/apis/ChunksApi.d.ts +6 -6
- package/dist/apis/DocumentVersionsApi.d.ts +37 -8
- package/dist/apis/DocumentVersionsApi.js +32 -0
- package/dist/apis/DocumentsApi.d.ts +14 -14
- package/dist/apis/DocumentsApi.js +6 -6
- package/dist/apis/FoldersApi.d.ts +11 -11
- package/dist/apis/FoldersApi.js +2 -2
- package/dist/apis/InvitesApi.d.ts +5 -5
- package/dist/apis/PathPartsApi.d.ts +3 -3
- package/dist/apis/SectionsApi.d.ts +4 -4
- package/dist/apis/TagsApi.d.ts +7 -7
- package/dist/apis/TenantsApi.d.ts +6 -6
- package/dist/apis/ThreadMessagesApi.d.ts +4 -4
- package/dist/apis/ThreadsApi.d.ts +6 -6
- package/dist/apis/UserPermissionsApi.d.ts +4 -4
- package/dist/apis/UsersApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.d.ts +3 -3
- package/dist/esm/apis/AuthApi.d.ts +9 -9
- package/dist/esm/apis/ChunkLineagesApi.d.ts +3 -3
- package/dist/esm/apis/ChunksApi.d.ts +6 -6
- package/dist/esm/apis/DocumentVersionsApi.d.ts +37 -8
- package/dist/esm/apis/DocumentVersionsApi.js +33 -1
- package/dist/esm/apis/DocumentsApi.d.ts +14 -14
- package/dist/esm/apis/DocumentsApi.js +6 -6
- package/dist/esm/apis/FoldersApi.d.ts +11 -11
- package/dist/esm/apis/FoldersApi.js +2 -2
- package/dist/esm/apis/InvitesApi.d.ts +5 -5
- package/dist/esm/apis/PathPartsApi.d.ts +3 -3
- package/dist/esm/apis/SectionsApi.d.ts +4 -4
- package/dist/esm/apis/TagsApi.d.ts +7 -7
- package/dist/esm/apis/TenantsApi.d.ts +6 -6
- package/dist/esm/apis/ThreadMessagesApi.d.ts +4 -4
- package/dist/esm/apis/ThreadsApi.d.ts +6 -6
- package/dist/esm/apis/UserPermissionsApi.d.ts +4 -4
- package/dist/esm/apis/UsersApi.d.ts +2 -2
- package/dist/esm/apis/WorkflowsApi.d.ts +3 -3
- package/dist/esm/models/ChunkMetadataInput.d.ts +6 -0
- package/dist/esm/models/ChunkMetadataInput.js +2 -0
- package/dist/esm/models/ChunkMetadataOutput.d.ts +6 -0
- package/dist/esm/models/ChunkMetadataOutput.js +2 -0
- package/dist/esm/models/ChunkResponse.d.ts +4 -4
- package/dist/esm/models/ChunkSearchRequest.d.ts +5 -9
- package/dist/esm/models/ChunkSearchRequest.js +0 -1
- package/dist/esm/models/ClearVersionContentsResponse.d.ts +47 -0
- package/dist/esm/models/ClearVersionContentsResponse.js +44 -0
- package/dist/esm/models/CreateChunkRequest.d.ts +3 -3
- package/dist/esm/models/CreateDocumentRequest.d.ts +2 -2
- package/dist/esm/models/CreateSectionRequest.d.ts +2 -2
- package/dist/esm/models/CreateTagRequest.d.ts +1 -1
- package/dist/esm/models/CreateTenantRequest.d.ts +1 -1
- package/dist/esm/models/CreateThreadMessageRequest.d.ts +5 -7
- package/dist/esm/models/CreateThreadMessageRequest.js +0 -1
- package/dist/esm/models/CreateThreadRequest.d.ts +1 -1
- package/dist/esm/models/DocumentContentPathPart.d.ts +5 -5
- package/dist/esm/models/DocumentResponse.d.ts +4 -4
- package/dist/esm/models/DocumentType.d.ts +1 -0
- package/dist/esm/models/DocumentType.js +1 -0
- package/dist/esm/models/DocumentVersionMetadata.d.ts +12 -7
- package/dist/esm/models/DocumentVersionMetadata.js +3 -18
- package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +6 -6
- package/dist/esm/models/DocumentVersionResponse.d.ts +3 -3
- package/dist/esm/models/FolderDocumentResponse.d.ts +9 -9
- package/dist/esm/models/FolderResponse.d.ts +1 -1
- package/dist/esm/models/InviteResponse.d.ts +2 -2
- package/dist/esm/models/LineageNodeResponse.d.ts +2 -2
- package/dist/esm/models/LocationInner.d.ts +41 -0
- package/dist/esm/models/LocationInner.js +32 -0
- package/dist/esm/models/OAuth2Config.d.ts +5 -0
- package/dist/esm/models/OAuth2Config.js +3 -12
- package/dist/esm/models/PathPartResponse.d.ts +3 -3
- package/dist/esm/models/PipelineState.d.ts +5 -5
- package/dist/esm/models/PolygonReference.d.ts +1 -1
- package/dist/esm/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/esm/models/SectionResponse.d.ts +3 -3
- package/dist/esm/models/SignInRequest.d.ts +1 -1
- package/dist/esm/models/TagResponse.d.ts +1 -1
- package/dist/esm/models/TenantResponse.d.ts +1 -1
- package/dist/esm/models/TenantUserInTenantResponse.d.ts +2 -2
- package/dist/esm/models/ThreadMessageResponse.d.ts +5 -7
- package/dist/esm/models/ThreadMessageResponse.js +0 -1
- package/dist/esm/models/ThreadResponse.d.ts +1 -1
- package/dist/esm/models/UpdateChunkContentRequest.d.ts +1 -1
- package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +1 -1
- package/dist/esm/models/UpdateDocumentRequest.d.ts +3 -3
- package/dist/esm/models/UpdateFolderRequest.d.ts +2 -2
- package/dist/esm/models/UpdatePermissionRequest.d.ts +1 -1
- package/dist/esm/models/UpdateSectionRequest.d.ts +3 -3
- package/dist/esm/models/UpdateTagRequest.d.ts +3 -3
- package/dist/esm/models/UpdateTenantRequest.d.ts +2 -2
- package/dist/esm/models/UpdateThreadRequest.d.ts +2 -2
- package/dist/esm/models/UserResponse.d.ts +3 -3
- package/dist/esm/models/ValidationError.d.ts +3 -3
- package/dist/esm/models/ValidationError.js +3 -3
- package/dist/esm/models/WorkflowDetailResponse.d.ts +4 -4
- package/dist/esm/models/WorkflowSummaryResponse.d.ts +2 -2
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +2 -1
- package/dist/models/ChunkMetadataInput.d.ts +6 -0
- package/dist/models/ChunkMetadataInput.js +2 -0
- package/dist/models/ChunkMetadataOutput.d.ts +6 -0
- package/dist/models/ChunkMetadataOutput.js +2 -0
- package/dist/models/ChunkResponse.d.ts +4 -4
- package/dist/models/ChunkSearchRequest.d.ts +5 -9
- package/dist/models/ChunkSearchRequest.js +1 -2
- package/dist/models/ClearVersionContentsResponse.d.ts +47 -0
- package/dist/models/ClearVersionContentsResponse.js +52 -0
- package/dist/models/CreateChunkRequest.d.ts +3 -3
- package/dist/models/CreateDocumentRequest.d.ts +2 -2
- package/dist/models/CreateSectionRequest.d.ts +2 -2
- package/dist/models/CreateTagRequest.d.ts +1 -1
- package/dist/models/CreateTenantRequest.d.ts +1 -1
- package/dist/models/CreateThreadMessageRequest.d.ts +5 -7
- package/dist/models/CreateThreadMessageRequest.js +1 -2
- package/dist/models/CreateThreadRequest.d.ts +1 -1
- package/dist/models/DocumentContentPathPart.d.ts +5 -5
- package/dist/models/DocumentResponse.d.ts +4 -4
- package/dist/models/DocumentType.d.ts +1 -0
- package/dist/models/DocumentType.js +1 -0
- package/dist/models/DocumentVersionMetadata.d.ts +12 -7
- package/dist/models/DocumentVersionMetadata.js +4 -19
- package/dist/models/DocumentVersionMetadataUpdate.d.ts +6 -6
- package/dist/models/DocumentVersionResponse.d.ts +3 -3
- package/dist/models/FolderDocumentResponse.d.ts +9 -9
- package/dist/models/FolderResponse.d.ts +1 -1
- package/dist/models/InviteResponse.d.ts +2 -2
- package/dist/models/LineageNodeResponse.d.ts +2 -2
- package/dist/models/LocationInner.d.ts +41 -0
- package/dist/models/LocationInner.js +40 -0
- package/dist/models/OAuth2Config.d.ts +5 -0
- package/dist/models/OAuth2Config.js +4 -13
- package/dist/models/PathPartResponse.d.ts +3 -3
- package/dist/models/PipelineState.d.ts +5 -5
- package/dist/models/PolygonReference.d.ts +1 -1
- package/dist/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/models/SectionResponse.d.ts +3 -3
- package/dist/models/SignInRequest.d.ts +1 -1
- package/dist/models/TagResponse.d.ts +1 -1
- package/dist/models/TenantResponse.d.ts +1 -1
- package/dist/models/TenantUserInTenantResponse.d.ts +2 -2
- package/dist/models/ThreadMessageResponse.d.ts +5 -7
- package/dist/models/ThreadMessageResponse.js +1 -2
- package/dist/models/ThreadResponse.d.ts +1 -1
- package/dist/models/UpdateChunkContentRequest.d.ts +1 -1
- package/dist/models/UpdateChunkMetadataRequest.d.ts +1 -1
- package/dist/models/UpdateDocumentRequest.d.ts +3 -3
- package/dist/models/UpdateFolderRequest.d.ts +2 -2
- package/dist/models/UpdatePermissionRequest.d.ts +1 -1
- package/dist/models/UpdateSectionRequest.d.ts +3 -3
- package/dist/models/UpdateTagRequest.d.ts +3 -3
- package/dist/models/UpdateTenantRequest.d.ts +2 -2
- package/dist/models/UpdateThreadRequest.d.ts +2 -2
- package/dist/models/UserResponse.d.ts +3 -3
- package/dist/models/ValidationError.d.ts +3 -3
- package/dist/models/ValidationError.js +3 -3
- package/dist/models/WorkflowDetailResponse.d.ts +4 -4
- package/dist/models/WorkflowSummaryResponse.d.ts +2 -2
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/package.json +1 -1
- package/src/apis/AuthApi.ts +9 -9
- package/src/apis/ChunkLineagesApi.ts +3 -3
- package/src/apis/ChunksApi.ts +6 -6
- package/src/apis/DocumentVersionsApi.ts +71 -7
- package/src/apis/DocumentsApi.ts +19 -19
- package/src/apis/FoldersApi.ts +11 -11
- package/src/apis/InvitesApi.ts +5 -5
- package/src/apis/PathPartsApi.ts +3 -3
- package/src/apis/SectionsApi.ts +4 -4
- package/src/apis/TagsApi.ts +7 -7
- package/src/apis/TenantsApi.ts +6 -6
- package/src/apis/ThreadMessagesApi.ts +4 -4
- package/src/apis/ThreadsApi.ts +6 -6
- package/src/apis/UserPermissionsApi.ts +4 -4
- package/src/apis/UsersApi.ts +2 -2
- package/src/apis/WorkflowsApi.ts +3 -3
- package/src/models/ChunkMetadataInput.ts +8 -0
- package/src/models/ChunkMetadataOutput.ts +8 -0
- package/src/models/ChunkResponse.ts +4 -4
- package/src/models/ChunkSearchRequest.ts +5 -8
- package/src/models/ClearVersionContentsResponse.ts +83 -0
- package/src/models/CreateChunkRequest.ts +3 -3
- package/src/models/CreateDocumentRequest.ts +2 -2
- package/src/models/CreateSectionRequest.ts +2 -2
- package/src/models/CreateTagRequest.ts +1 -1
- package/src/models/CreateTenantRequest.ts +1 -1
- package/src/models/CreateThreadMessageRequest.ts +3 -6
- package/src/models/CreateThreadRequest.ts +1 -1
- package/src/models/DocumentContentPathPart.ts +5 -5
- package/src/models/DocumentResponse.ts +4 -4
- package/src/models/DocumentType.ts +1 -0
- package/src/models/DocumentVersionMetadata.ts +13 -7
- package/src/models/DocumentVersionMetadataUpdate.ts +6 -6
- package/src/models/DocumentVersionResponse.ts +3 -3
- package/src/models/FolderDocumentResponse.ts +9 -9
- package/src/models/FolderResponse.ts +1 -1
- package/src/models/InviteResponse.ts +2 -2
- package/src/models/LineageNodeResponse.ts +2 -2
- package/src/models/LocationInner.ts +63 -0
- package/src/models/OAuth2Config.ts +6 -0
- package/src/models/PathPartResponse.ts +3 -3
- package/src/models/PipelineState.ts +5 -5
- package/src/models/PolygonReference.ts +1 -1
- package/src/models/ScoredChunkResponse.ts +4 -4
- package/src/models/SectionResponse.ts +3 -3
- package/src/models/SignInRequest.ts +1 -1
- package/src/models/TagResponse.ts +1 -1
- package/src/models/TenantResponse.ts +1 -1
- package/src/models/TenantUserInTenantResponse.ts +2 -2
- package/src/models/ThreadMessageResponse.ts +3 -6
- package/src/models/ThreadResponse.ts +1 -1
- package/src/models/UpdateChunkContentRequest.ts +1 -1
- package/src/models/UpdateChunkMetadataRequest.ts +1 -1
- package/src/models/UpdateDocumentRequest.ts +3 -3
- package/src/models/UpdateFolderRequest.ts +2 -2
- package/src/models/UpdatePermissionRequest.ts +1 -1
- package/src/models/UpdateSectionRequest.ts +3 -3
- package/src/models/UpdateTagRequest.ts +3 -3
- package/src/models/UpdateTenantRequest.ts +2 -2
- package/src/models/UpdateThreadRequest.ts +2 -2
- package/src/models/UserResponse.ts +3 -3
- package/src/models/ValidationError.ts +10 -10
- package/src/models/WorkflowDetailResponse.ts +4 -4
- package/src/models/WorkflowSummaryResponse.ts +2 -2
- package/src/models/index.ts +2 -1
- package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -41
- package/dist/esm/models/ValidationErrorLocInner.js +0 -32
- package/dist/models/ValidationErrorLocInner.d.ts +0 -41
- package/dist/models/ValidationErrorLocInner.js +0 -40
- package/src/models/ValidationErrorLocInner.ts +0 -63
|
@@ -21,26 +21,27 @@ import type { PipelineState } from './PipelineState';
|
|
|
21
21
|
* @interface DocumentVersionMetadata
|
|
22
22
|
*/
|
|
23
23
|
export interface DocumentVersionMetadata {
|
|
24
|
+
[key: string]: any | any;
|
|
24
25
|
/**
|
|
25
26
|
* S3 URL to the source document (set by API on upload)
|
|
26
27
|
* @type {string}
|
|
27
28
|
* @memberof DocumentVersionMetadata
|
|
28
29
|
*/
|
|
29
|
-
sourceS3?: string;
|
|
30
|
+
sourceS3?: string | null;
|
|
30
31
|
/**
|
|
31
32
|
* S3 URL to watermark-removed source document
|
|
32
33
|
* @type {string}
|
|
33
34
|
* @memberof DocumentVersionMetadata
|
|
34
35
|
*/
|
|
35
|
-
cleanedSourceS3?: string;
|
|
36
|
+
cleanedSourceS3?: string | null;
|
|
36
37
|
/**
|
|
37
38
|
* S3 URL to the Docling JSON conversion output
|
|
38
39
|
* @type {string}
|
|
39
40
|
* @memberof DocumentVersionMetadata
|
|
40
41
|
*/
|
|
41
|
-
doclingJsonS3?: string;
|
|
42
|
+
doclingJsonS3?: string | null;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
*
|
|
44
45
|
* @type {PipelineState}
|
|
45
46
|
* @memberof DocumentVersionMetadata
|
|
46
47
|
*/
|
|
@@ -50,19 +51,19 @@ export interface DocumentVersionMetadata {
|
|
|
50
51
|
* @type {number}
|
|
51
52
|
* @memberof DocumentVersionMetadata
|
|
52
53
|
*/
|
|
53
|
-
totalPages?: number;
|
|
54
|
+
totalPages?: number | null;
|
|
54
55
|
/**
|
|
55
56
|
* Total number of sections created
|
|
56
57
|
* @type {number}
|
|
57
58
|
* @memberof DocumentVersionMetadata
|
|
58
59
|
*/
|
|
59
|
-
totalSections?: number;
|
|
60
|
+
totalSections?: number | null;
|
|
60
61
|
/**
|
|
61
62
|
* Total number of chunks created
|
|
62
63
|
* @type {number}
|
|
63
64
|
* @memberof DocumentVersionMetadata
|
|
64
65
|
*/
|
|
65
|
-
totalChunks?: number;
|
|
66
|
+
totalChunks?: number | null;
|
|
66
67
|
}
|
|
67
68
|
/**
|
|
68
69
|
* Check if a given object implements the DocumentVersionMetadata interface.
|
|
@@ -87,3 +88,7 @@ export declare const DocumentVersionMetadataPropertyValidationAttributesMap: {
|
|
|
87
88
|
uniqueItems?: boolean;
|
|
88
89
|
};
|
|
89
90
|
};
|
|
91
|
+
export declare const DocumentVersionMetadataAdditionalPropertiesValidationAttributes: {
|
|
92
|
+
maxProperties?: number;
|
|
93
|
+
minProperties?: number;
|
|
94
|
+
};
|
|
@@ -25,15 +25,7 @@ export function DocumentVersionMetadataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
25
|
if (json == null) {
|
|
26
26
|
return json;
|
|
27
27
|
}
|
|
28
|
-
return {
|
|
29
|
-
'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'],
|
|
30
|
-
'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'],
|
|
31
|
-
'doclingJsonS3': json['docling_json_s3'] == null ? undefined : json['docling_json_s3'],
|
|
32
|
-
'pipelineState': json['pipeline_state'] == null ? undefined : PipelineStateFromJSON(json['pipeline_state']),
|
|
33
|
-
'totalPages': json['total_pages'] == null ? undefined : json['total_pages'],
|
|
34
|
-
'totalSections': json['total_sections'] == null ? undefined : json['total_sections'],
|
|
35
|
-
'totalChunks': json['total_chunks'] == null ? undefined : json['total_chunks'],
|
|
36
|
-
};
|
|
28
|
+
return Object.assign(Object.assign({}, json), { 'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'], 'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'], 'doclingJsonS3': json['docling_json_s3'] == null ? undefined : json['docling_json_s3'], 'pipelineState': json['pipeline_state'] == null ? undefined : PipelineStateFromJSON(json['pipeline_state']), 'totalPages': json['total_pages'] == null ? undefined : json['total_pages'], 'totalSections': json['total_sections'] == null ? undefined : json['total_sections'], 'totalChunks': json['total_chunks'] == null ? undefined : json['total_chunks'] });
|
|
37
29
|
}
|
|
38
30
|
export function DocumentVersionMetadataToJSON(json) {
|
|
39
31
|
return DocumentVersionMetadataToJSONTyped(json, false);
|
|
@@ -42,14 +34,7 @@ export function DocumentVersionMetadataToJSONTyped(value, ignoreDiscriminator =
|
|
|
42
34
|
if (value == null) {
|
|
43
35
|
return value;
|
|
44
36
|
}
|
|
45
|
-
return {
|
|
46
|
-
'source_s3': value['sourceS3'],
|
|
47
|
-
'cleaned_source_s3': value['cleanedSourceS3'],
|
|
48
|
-
'docling_json_s3': value['doclingJsonS3'],
|
|
49
|
-
'pipeline_state': PipelineStateToJSON(value['pipelineState']),
|
|
50
|
-
'total_pages': value['totalPages'],
|
|
51
|
-
'total_sections': value['totalSections'],
|
|
52
|
-
'total_chunks': value['totalChunks'],
|
|
53
|
-
};
|
|
37
|
+
return Object.assign(Object.assign({}, value), { 'source_s3': value['sourceS3'], 'cleaned_source_s3': value['cleanedSourceS3'], 'docling_json_s3': value['doclingJsonS3'], 'pipeline_state': PipelineStateToJSON(value['pipelineState']), 'total_pages': value['totalPages'], 'total_sections': value['totalSections'], 'total_chunks': value['totalChunks'] });
|
|
54
38
|
}
|
|
55
39
|
export const DocumentVersionMetadataPropertyValidationAttributesMap = {};
|
|
40
|
+
export const DocumentVersionMetadataAdditionalPropertiesValidationAttributes = {};
|
|
@@ -24,19 +24,19 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof DocumentVersionMetadataUpdate
|
|
26
26
|
*/
|
|
27
|
-
sourceS3?: string;
|
|
27
|
+
sourceS3?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof DocumentVersionMetadataUpdate
|
|
32
32
|
*/
|
|
33
|
-
cleanedSourceS3?: string;
|
|
33
|
+
cleanedSourceS3?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof DocumentVersionMetadataUpdate
|
|
38
38
|
*/
|
|
39
|
-
doclingJsonS3?: string;
|
|
39
|
+
doclingJsonS3?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {PipelineState}
|
|
@@ -48,19 +48,19 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
48
48
|
* @type {number}
|
|
49
49
|
* @memberof DocumentVersionMetadataUpdate
|
|
50
50
|
*/
|
|
51
|
-
totalPages?: number;
|
|
51
|
+
totalPages?: number | null;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {number}
|
|
55
55
|
* @memberof DocumentVersionMetadataUpdate
|
|
56
56
|
*/
|
|
57
|
-
totalSections?: number;
|
|
57
|
+
totalSections?: number | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {number}
|
|
61
61
|
* @memberof DocumentVersionMetadataUpdate
|
|
62
62
|
*/
|
|
63
|
-
totalChunks?: number;
|
|
63
|
+
totalChunks?: number | null;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Check if a given object implements the DocumentVersionMetadataUpdate interface.
|
|
@@ -48,7 +48,7 @@ export interface DocumentVersionResponse {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof DocumentVersionResponse
|
|
50
50
|
*/
|
|
51
|
-
parentPathId: string;
|
|
51
|
+
parentPathId: string | null;
|
|
52
52
|
/**
|
|
53
53
|
* Full materialized path from root
|
|
54
54
|
* @type {string}
|
|
@@ -84,9 +84,9 @@ export interface DocumentVersionResponse {
|
|
|
84
84
|
* @type {string}
|
|
85
85
|
* @memberof DocumentVersionResponse
|
|
86
86
|
*/
|
|
87
|
-
assetS3Url?: string;
|
|
87
|
+
assetS3Url?: string | null;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @type {DocumentVersionMetadata}
|
|
91
91
|
* @memberof DocumentVersionResponse
|
|
92
92
|
*/
|
|
@@ -41,7 +41,7 @@ export interface FolderDocumentResponse {
|
|
|
41
41
|
*/
|
|
42
42
|
name: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
*
|
|
45
45
|
* @type {PartType}
|
|
46
46
|
* @memberof FolderDocumentResponse
|
|
47
47
|
*/
|
|
@@ -51,13 +51,13 @@ export interface FolderDocumentResponse {
|
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof FolderDocumentResponse
|
|
53
53
|
*/
|
|
54
|
-
parentPathId: string;
|
|
54
|
+
parentPathId: string | null;
|
|
55
55
|
/**
|
|
56
56
|
* ID of the underlying object
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof FolderDocumentResponse
|
|
59
59
|
*/
|
|
60
|
-
metadataObjId: string;
|
|
60
|
+
metadataObjId: string | null;
|
|
61
61
|
/**
|
|
62
62
|
* Full materialized path from root
|
|
63
63
|
* @type {string}
|
|
@@ -87,21 +87,21 @@ export interface FolderDocumentResponse {
|
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @memberof FolderDocumentResponse
|
|
89
89
|
*/
|
|
90
|
-
folderId?: string;
|
|
90
|
+
folderId?: string | null;
|
|
91
91
|
/**
|
|
92
92
|
* Document ID (present for documents)
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @memberof FolderDocumentResponse
|
|
95
95
|
*/
|
|
96
|
-
documentId?: string;
|
|
96
|
+
documentId?: string | null;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
*
|
|
99
99
|
* @type {DocumentType}
|
|
100
100
|
* @memberof FolderDocumentResponse
|
|
101
101
|
*/
|
|
102
102
|
documentType?: DocumentType;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
*
|
|
105
105
|
* @type {DocumentOrigin}
|
|
106
106
|
* @memberof FolderDocumentResponse
|
|
107
107
|
*/
|
|
@@ -111,9 +111,9 @@ export interface FolderDocumentResponse {
|
|
|
111
111
|
* @type {string}
|
|
112
112
|
* @memberof FolderDocumentResponse
|
|
113
113
|
*/
|
|
114
|
-
activeVersionId?: string;
|
|
114
|
+
activeVersionId?: string | null;
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
*
|
|
117
117
|
* @type {DocumentVersionResponse}
|
|
118
118
|
* @memberof FolderDocumentResponse
|
|
119
119
|
*/
|
|
@@ -44,7 +44,7 @@ export interface InviteResponse {
|
|
|
44
44
|
* @type {Date}
|
|
45
45
|
* @memberof InviteResponse
|
|
46
46
|
*/
|
|
47
|
-
acceptedAt?: Date;
|
|
47
|
+
acceptedAt?: Date | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {Date}
|
|
@@ -68,7 +68,7 @@ export interface InviteResponse {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof InviteResponse
|
|
70
70
|
*/
|
|
71
|
-
emailId?: string;
|
|
71
|
+
emailId?: string | null;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* Check if a given object implements the InviteResponse interface.
|
|
@@ -30,13 +30,13 @@ export interface LineageNodeResponse {
|
|
|
30
30
|
*/
|
|
31
31
|
content: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
*
|
|
34
34
|
* @type {ChunkType}
|
|
35
35
|
* @memberof LineageNodeResponse
|
|
36
36
|
*/
|
|
37
37
|
chunkType: ChunkType;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
*
|
|
40
40
|
* @type {ChunkMetadataOutput}
|
|
41
41
|
* @memberof LineageNodeResponse
|
|
42
42
|
*/
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LocationInner
|
|
16
|
+
*/
|
|
17
|
+
export interface LocationInner {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the LocationInner interface.
|
|
21
|
+
*/
|
|
22
|
+
export declare function instanceOfLocationInner(value: object): value is LocationInner;
|
|
23
|
+
export declare function LocationInnerFromJSON(json: any): LocationInner;
|
|
24
|
+
export declare function LocationInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationInner;
|
|
25
|
+
export declare function LocationInnerToJSON(json: any): LocationInner;
|
|
26
|
+
export declare function LocationInnerToJSONTyped(value?: LocationInner | null, ignoreDiscriminator?: boolean): any;
|
|
27
|
+
export declare const LocationInnerPropertyValidationAttributesMap: {
|
|
28
|
+
[property: string]: {
|
|
29
|
+
maxLength?: number;
|
|
30
|
+
minLength?: number;
|
|
31
|
+
pattern?: string;
|
|
32
|
+
maximum?: number;
|
|
33
|
+
exclusiveMaximum?: boolean;
|
|
34
|
+
minimum?: number;
|
|
35
|
+
exclusiveMinimum?: boolean;
|
|
36
|
+
multipleOf?: number;
|
|
37
|
+
maxItems?: number;
|
|
38
|
+
minItems?: number;
|
|
39
|
+
uniqueItems?: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
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 LocationInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfLocationInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function LocationInnerFromJSON(json) {
|
|
21
|
+
return LocationInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function LocationInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
export function LocationInnerToJSON(json) {
|
|
27
|
+
return LocationInnerToJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function LocationInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
export const LocationInnerPropertyValidationAttributesMap = {};
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* @interface OAuth2Config
|
|
16
16
|
*/
|
|
17
17
|
export interface OAuth2Config {
|
|
18
|
+
[key: string]: any | any;
|
|
18
19
|
/**
|
|
19
20
|
* OAuth2 client ID
|
|
20
21
|
* @type {string}
|
|
@@ -63,3 +64,7 @@ export declare const OAuth2ConfigPropertyValidationAttributesMap: {
|
|
|
63
64
|
uniqueItems?: boolean;
|
|
64
65
|
};
|
|
65
66
|
};
|
|
67
|
+
export declare const OAuth2ConfigAdditionalPropertiesValidationAttributes: {
|
|
68
|
+
maxProperties?: number;
|
|
69
|
+
minProperties?: number;
|
|
70
|
+
};
|
|
@@ -32,12 +32,7 @@ export function OAuth2ConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
|
-
return {
|
|
36
|
-
'clientId': json['client_id'],
|
|
37
|
-
'clientSecret': json['client_secret'],
|
|
38
|
-
'serverMetadataUrl': json['server_metadata_url'],
|
|
39
|
-
'scope': json['scope'],
|
|
40
|
-
};
|
|
35
|
+
return Object.assign(Object.assign({}, json), { 'clientId': json['client_id'], 'clientSecret': json['client_secret'], 'serverMetadataUrl': json['server_metadata_url'], 'scope': json['scope'] });
|
|
41
36
|
}
|
|
42
37
|
export function OAuth2ConfigToJSON(json) {
|
|
43
38
|
return OAuth2ConfigToJSONTyped(json, false);
|
|
@@ -46,11 +41,7 @@ export function OAuth2ConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
41
|
if (value == null) {
|
|
47
42
|
return value;
|
|
48
43
|
}
|
|
49
|
-
return {
|
|
50
|
-
'client_id': value['clientId'],
|
|
51
|
-
'client_secret': value['clientSecret'],
|
|
52
|
-
'server_metadata_url': value['serverMetadataUrl'],
|
|
53
|
-
'scope': value['scope'],
|
|
54
|
-
};
|
|
44
|
+
return Object.assign(Object.assign({}, value), { 'client_id': value['clientId'], 'client_secret': value['clientSecret'], 'server_metadata_url': value['serverMetadataUrl'], 'scope': value['scope'] });
|
|
55
45
|
}
|
|
56
46
|
export const OAuth2ConfigPropertyValidationAttributesMap = {};
|
|
47
|
+
export const OAuth2ConfigAdditionalPropertiesValidationAttributes = {};
|
|
@@ -29,7 +29,7 @@ export interface PathPartResponse {
|
|
|
29
29
|
*/
|
|
30
30
|
name: string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
*
|
|
33
33
|
* @type {PartType}
|
|
34
34
|
* @memberof PathPartResponse
|
|
35
35
|
*/
|
|
@@ -39,13 +39,13 @@ export interface PathPartResponse {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PathPartResponse
|
|
41
41
|
*/
|
|
42
|
-
parentPathId: string;
|
|
42
|
+
parentPathId: string | null;
|
|
43
43
|
/**
|
|
44
44
|
* ID of the underlying object
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof PathPartResponse
|
|
47
47
|
*/
|
|
48
|
-
metadataObjId: string;
|
|
48
|
+
metadataObjId: string | null;
|
|
49
49
|
/**
|
|
50
50
|
* Full materialized path from root
|
|
51
51
|
* @type {string}
|
|
@@ -17,7 +17,7 @@ import type { PipelineStatus } from './PipelineStatus';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface PipelineState {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
*
|
|
21
21
|
* @type {PipelineStatus}
|
|
22
22
|
* @memberof PipelineState
|
|
23
23
|
*/
|
|
@@ -33,25 +33,25 @@ export interface PipelineState {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof PipelineState
|
|
35
35
|
*/
|
|
36
|
-
lastActivity?: string;
|
|
36
|
+
lastActivity?: string | null;
|
|
37
37
|
/**
|
|
38
38
|
* Error message if pipeline failed
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PipelineState
|
|
41
41
|
*/
|
|
42
|
-
error?: string;
|
|
42
|
+
error?: string | null;
|
|
43
43
|
/**
|
|
44
44
|
* Temporal workflow ID for tracking the ingestion run
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof PipelineState
|
|
47
47
|
*/
|
|
48
|
-
temporalWorkflowId?: string;
|
|
48
|
+
temporalWorkflowId?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
* Number of chunks processed (for progress tracking)
|
|
51
51
|
* @type {number}
|
|
52
52
|
* @memberof PipelineState
|
|
53
53
|
*/
|
|
54
|
-
chunksProcessed?: number;
|
|
54
|
+
chunksProcessed?: number | null;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Check if a given object implements the PipelineState interface.
|
|
@@ -42,13 +42,13 @@ export interface ScoredChunkResponse {
|
|
|
42
42
|
*/
|
|
43
43
|
content: string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
*
|
|
46
46
|
* @type {ChunkType}
|
|
47
47
|
* @memberof ScoredChunkResponse
|
|
48
48
|
*/
|
|
49
49
|
chunkType: ChunkType;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
*
|
|
52
52
|
* @type {ChunkMetadataOutput}
|
|
53
53
|
* @memberof ScoredChunkResponse
|
|
54
54
|
*/
|
|
@@ -64,13 +64,13 @@ export interface ScoredChunkResponse {
|
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof ScoredChunkResponse
|
|
66
66
|
*/
|
|
67
|
-
prevSiblingPathId?: string;
|
|
67
|
+
prevSiblingPathId?: string | null;
|
|
68
68
|
/**
|
|
69
69
|
* Next sibling PathPart ID
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof ScoredChunkResponse
|
|
72
72
|
*/
|
|
73
|
-
nextSiblingPathId?: string;
|
|
73
|
+
nextSiblingPathId?: string | null;
|
|
74
74
|
/**
|
|
75
75
|
* Full materialized path from root
|
|
76
76
|
* @type {string}
|
|
@@ -38,7 +38,7 @@ export interface SectionResponse {
|
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof SectionResponse
|
|
40
40
|
*/
|
|
41
|
-
pageNumber?: number;
|
|
41
|
+
pageNumber?: number | null;
|
|
42
42
|
/**
|
|
43
43
|
* Parent PathPart ID
|
|
44
44
|
* @type {string}
|
|
@@ -50,13 +50,13 @@ export interface SectionResponse {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof SectionResponse
|
|
52
52
|
*/
|
|
53
|
-
prevSiblingPathId?: string;
|
|
53
|
+
prevSiblingPathId?: string | null;
|
|
54
54
|
/**
|
|
55
55
|
* Next sibling PathPart ID
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof SectionResponse
|
|
58
58
|
*/
|
|
59
|
-
nextSiblingPathId?: string;
|
|
59
|
+
nextSiblingPathId?: string | null;
|
|
60
60
|
/**
|
|
61
61
|
* Full materialized path from root
|
|
62
62
|
* @type {string}
|
|
@@ -27,9 +27,9 @@ export interface TenantUserInTenantResponse {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof TenantUserInTenantResponse
|
|
29
29
|
*/
|
|
30
|
-
email?: string;
|
|
30
|
+
email?: string | null;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
*
|
|
33
33
|
* @type {TenantUserRole}
|
|
34
34
|
* @memberof TenantUserInTenantResponse
|
|
35
35
|
*/
|
|
@@ -35,17 +35,19 @@ export interface ThreadMessageResponse {
|
|
|
35
35
|
*/
|
|
36
36
|
sequence: number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
*
|
|
39
39
|
* @type {MessageRole}
|
|
40
40
|
* @memberof ThreadMessageResponse
|
|
41
41
|
*/
|
|
42
42
|
role: MessageRole;
|
|
43
43
|
/**
|
|
44
44
|
* Structured message content
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {{ [key: string]: any; }}
|
|
46
46
|
* @memberof ThreadMessageResponse
|
|
47
47
|
*/
|
|
48
|
-
content:
|
|
48
|
+
content: {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
};
|
|
49
51
|
/**
|
|
50
52
|
* Thread's PathPart ID
|
|
51
53
|
* @type {string}
|
|
@@ -100,7 +102,3 @@ export declare const ThreadMessageResponsePropertyValidationAttributesMap: {
|
|
|
100
102
|
uniqueItems?: boolean;
|
|
101
103
|
};
|
|
102
104
|
};
|
|
103
|
-
export declare const ThreadMessageResponseAdditionalPropertiesValidationAttributes: {
|
|
104
|
-
maxProperties?: number;
|
|
105
|
-
minProperties?: number;
|
|
106
|
-
};
|
|
@@ -17,7 +17,7 @@ import type { ChunkMetadataInput } from './ChunkMetadataInput';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateChunkMetadataRequest {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
*
|
|
21
21
|
* @type {ChunkMetadataInput}
|
|
22
22
|
* @memberof UpdateChunkMetadataRequest
|
|
23
23
|
*/
|
|
@@ -20,19 +20,19 @@ export interface UpdateDocumentRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateDocumentRequest
|
|
22
22
|
*/
|
|
23
|
-
name?: string;
|
|
23
|
+
name?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
* New parent PathPart ID for move (must be a FOLDER type)
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateDocumentRequest
|
|
28
28
|
*/
|
|
29
|
-
parentPathPartId?: string;
|
|
29
|
+
parentPathPartId?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
* New active version ID
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateDocumentRequest
|
|
34
34
|
*/
|
|
35
|
-
activeVersionId?: string;
|
|
35
|
+
activeVersionId?: string | null;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the UpdateDocumentRequest interface.
|