@knowledge-stack/ksapi 1.20.0 → 1.21.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/.openapi-generator/FILES +3 -2
- 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 +8 -8
- package/dist/apis/DocumentsApi.d.ts +12 -12
- package/dist/apis/DocumentsApi.js +2 -2
- package/dist/apis/FoldersApi.d.ts +17 -15
- package/dist/apis/FoldersApi.js +7 -4
- package/dist/apis/InvitesApi.d.ts +5 -5
- package/dist/apis/PathPartsApi.d.ts +70 -8
- package/dist/apis/PathPartsApi.js +76 -2
- package/dist/apis/SectionsApi.d.ts +4 -4
- package/dist/apis/TagsApi.d.ts +6 -68
- package/dist/apis/TagsApi.js +0 -72
- 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 +8 -8
- package/dist/esm/apis/DocumentsApi.d.ts +12 -12
- package/dist/esm/apis/DocumentsApi.js +2 -2
- package/dist/esm/apis/FoldersApi.d.ts +17 -15
- package/dist/esm/apis/FoldersApi.js +7 -4
- package/dist/esm/apis/InvitesApi.d.ts +5 -5
- package/dist/esm/apis/PathPartsApi.d.ts +70 -8
- package/dist/esm/apis/PathPartsApi.js +77 -3
- package/dist/esm/apis/SectionsApi.d.ts +4 -4
- package/dist/esm/apis/TagsApi.d.ts +6 -68
- package/dist/esm/apis/TagsApi.js +1 -73
- 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/BulkTagRequest.d.ts +47 -0
- package/dist/esm/models/BulkTagRequest.js +49 -0
- package/dist/esm/models/ChunkMetadataInput.d.ts +1 -1
- package/dist/esm/models/ChunkMetadataOutput.d.ts +1 -1
- 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/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/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 +16 -9
- package/dist/esm/models/FolderDocumentResponse.js +3 -0
- 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 +10 -3
- package/dist/esm/models/PathPartResponse.js +3 -0
- package/dist/esm/models/PathPartTagsResponse.d.ts +48 -0
- package/dist/esm/models/PathPartTagsResponse.js +45 -0
- 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 +3 -2
- package/dist/esm/models/index.js +3 -2
- package/dist/models/BulkTagRequest.d.ts +47 -0
- package/dist/models/BulkTagRequest.js +57 -0
- package/dist/models/ChunkMetadataInput.d.ts +1 -1
- package/dist/models/ChunkMetadataOutput.d.ts +1 -1
- 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/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/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 +16 -9
- package/dist/models/FolderDocumentResponse.js +3 -0
- 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 +10 -3
- package/dist/models/PathPartResponse.js +3 -0
- package/dist/models/PathPartTagsResponse.d.ts +48 -0
- package/dist/models/PathPartTagsResponse.js +53 -0
- 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 +3 -2
- package/dist/models/index.js +3 -2
- 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 +8 -8
- package/src/apis/DocumentsApi.ts +12 -12
- package/src/apis/FoldersApi.ts +21 -15
- package/src/apis/InvitesApi.ts +5 -5
- package/src/apis/PathPartsApi.ts +159 -7
- package/src/apis/SectionsApi.ts +4 -4
- package/src/apis/TagsApi.ts +5 -151
- 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/BulkTagRequest.ts +87 -0
- package/src/models/ChunkMetadataInput.ts +1 -1
- package/src/models/ChunkMetadataOutput.ts +1 -1
- package/src/models/ChunkResponse.ts +4 -4
- package/src/models/ChunkSearchRequest.ts +5 -8
- 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/DocumentVersionMetadata.ts +13 -7
- package/src/models/DocumentVersionMetadataUpdate.ts +6 -6
- package/src/models/DocumentVersionResponse.ts +3 -3
- package/src/models/FolderDocumentResponse.ts +24 -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 +18 -3
- package/src/models/PathPartTagsResponse.ts +91 -0
- 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 +3 -2
- package/dist/esm/models/TagPathPartRequest.d.ts +0 -47
- package/dist/esm/models/TagPathPartRequest.js +0 -44
- package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -41
- package/dist/esm/models/ValidationErrorLocInner.js +0 -32
- package/dist/models/TagPathPartRequest.d.ts +0 -47
- package/dist/models/TagPathPartRequest.js +0 -52
- package/dist/models/ValidationErrorLocInner.d.ts +0 -41
- package/dist/models/ValidationErrorLocInner.js +0 -40
- package/src/models/TagPathPartRequest.ts +0 -83
- 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
|
*/
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { DocumentOrigin } from './DocumentOrigin';
|
|
13
13
|
import type { PartType } from './PartType';
|
|
14
|
+
import type { TagResponse } from './TagResponse';
|
|
14
15
|
import type { DocumentType } from './DocumentType';
|
|
15
16
|
import type { DocumentVersionResponse } from './DocumentVersionResponse';
|
|
16
17
|
/**
|
|
@@ -41,7 +42,7 @@ export interface FolderDocumentResponse {
|
|
|
41
42
|
*/
|
|
42
43
|
name: string;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
*
|
|
45
46
|
* @type {PartType}
|
|
46
47
|
* @memberof FolderDocumentResponse
|
|
47
48
|
*/
|
|
@@ -51,13 +52,13 @@ export interface FolderDocumentResponse {
|
|
|
51
52
|
* @type {string}
|
|
52
53
|
* @memberof FolderDocumentResponse
|
|
53
54
|
*/
|
|
54
|
-
parentPathId: string;
|
|
55
|
+
parentPathId: string | null;
|
|
55
56
|
/**
|
|
56
57
|
* ID of the underlying object
|
|
57
58
|
* @type {string}
|
|
58
59
|
* @memberof FolderDocumentResponse
|
|
59
60
|
*/
|
|
60
|
-
metadataObjId: string;
|
|
61
|
+
metadataObjId: string | null;
|
|
61
62
|
/**
|
|
62
63
|
* Full materialized path from root
|
|
63
64
|
* @type {string}
|
|
@@ -70,6 +71,12 @@ export interface FolderDocumentResponse {
|
|
|
70
71
|
* @memberof FolderDocumentResponse
|
|
71
72
|
*/
|
|
72
73
|
systemManaged: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Tags attached to this path part
|
|
76
|
+
* @type {Array<TagResponse>}
|
|
77
|
+
* @memberof FolderDocumentResponse
|
|
78
|
+
*/
|
|
79
|
+
tags?: Array<TagResponse> | null;
|
|
73
80
|
/**
|
|
74
81
|
* Creation timestamp
|
|
75
82
|
* @type {Date}
|
|
@@ -87,21 +94,21 @@ export interface FolderDocumentResponse {
|
|
|
87
94
|
* @type {string}
|
|
88
95
|
* @memberof FolderDocumentResponse
|
|
89
96
|
*/
|
|
90
|
-
folderId?: string;
|
|
97
|
+
folderId?: string | null;
|
|
91
98
|
/**
|
|
92
99
|
* Document ID (present for documents)
|
|
93
100
|
* @type {string}
|
|
94
101
|
* @memberof FolderDocumentResponse
|
|
95
102
|
*/
|
|
96
|
-
documentId?: string;
|
|
103
|
+
documentId?: string | null;
|
|
97
104
|
/**
|
|
98
|
-
*
|
|
105
|
+
*
|
|
99
106
|
* @type {DocumentType}
|
|
100
107
|
* @memberof FolderDocumentResponse
|
|
101
108
|
*/
|
|
102
109
|
documentType?: DocumentType;
|
|
103
110
|
/**
|
|
104
|
-
*
|
|
111
|
+
*
|
|
105
112
|
* @type {DocumentOrigin}
|
|
106
113
|
* @memberof FolderDocumentResponse
|
|
107
114
|
*/
|
|
@@ -111,9 +118,9 @@ export interface FolderDocumentResponse {
|
|
|
111
118
|
* @type {string}
|
|
112
119
|
* @memberof FolderDocumentResponse
|
|
113
120
|
*/
|
|
114
|
-
activeVersionId?: string;
|
|
121
|
+
activeVersionId?: string | null;
|
|
115
122
|
/**
|
|
116
|
-
*
|
|
123
|
+
*
|
|
117
124
|
* @type {DocumentVersionResponse}
|
|
118
125
|
* @memberof FolderDocumentResponse
|
|
119
126
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { DocumentOriginFromJSON, DocumentOriginToJSON, } from './DocumentOrigin';
|
|
15
15
|
import { PartTypeFromJSON, PartTypeToJSON, } from './PartType';
|
|
16
|
+
import { TagResponseFromJSON, TagResponseToJSON, } from './TagResponse';
|
|
16
17
|
import { DocumentTypeFromJSON, DocumentTypeToJSON, } from './DocumentType';
|
|
17
18
|
import { DocumentVersionResponseFromJSON, DocumentVersionResponseToJSON, } from './DocumentVersionResponse';
|
|
18
19
|
/**
|
|
@@ -56,6 +57,7 @@ export function FolderDocumentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
57
|
'metadataObjId': json['metadata_obj_id'],
|
|
57
58
|
'materializedPath': json['materialized_path'],
|
|
58
59
|
'systemManaged': json['system_managed'],
|
|
60
|
+
'tags': json['tags'] == null ? undefined : (json['tags'].map(TagResponseFromJSON)),
|
|
59
61
|
'createdAt': (new Date(json['created_at'])),
|
|
60
62
|
'updatedAt': (new Date(json['updated_at'])),
|
|
61
63
|
'folderId': json['folder_id'] == null ? undefined : json['folder_id'],
|
|
@@ -82,6 +84,7 @@ export function FolderDocumentResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
82
84
|
'metadata_obj_id': value['metadataObjId'],
|
|
83
85
|
'materialized_path': value['materializedPath'],
|
|
84
86
|
'system_managed': value['systemManaged'],
|
|
87
|
+
'tags': value['tags'] == null ? undefined : (value['tags'].map(TagResponseToJSON)),
|
|
85
88
|
'created_at': value['createdAt'].toISOString(),
|
|
86
89
|
'updated_at': value['updatedAt'].toISOString(),
|
|
87
90
|
'folder_id': value['folderId'],
|
|
@@ -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 = {};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PartType } from './PartType';
|
|
13
|
+
import type { TagResponse } from './TagResponse';
|
|
13
14
|
/**
|
|
14
15
|
* Generic path part response model.
|
|
15
16
|
* @export
|
|
@@ -29,7 +30,7 @@ export interface PathPartResponse {
|
|
|
29
30
|
*/
|
|
30
31
|
name: string;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
*
|
|
33
34
|
* @type {PartType}
|
|
34
35
|
* @memberof PathPartResponse
|
|
35
36
|
*/
|
|
@@ -39,13 +40,13 @@ export interface PathPartResponse {
|
|
|
39
40
|
* @type {string}
|
|
40
41
|
* @memberof PathPartResponse
|
|
41
42
|
*/
|
|
42
|
-
parentPathId: string;
|
|
43
|
+
parentPathId: string | null;
|
|
43
44
|
/**
|
|
44
45
|
* ID of the underlying object
|
|
45
46
|
* @type {string}
|
|
46
47
|
* @memberof PathPartResponse
|
|
47
48
|
*/
|
|
48
|
-
metadataObjId: string;
|
|
49
|
+
metadataObjId: string | null;
|
|
49
50
|
/**
|
|
50
51
|
* Full materialized path from root
|
|
51
52
|
* @type {string}
|
|
@@ -58,6 +59,12 @@ export interface PathPartResponse {
|
|
|
58
59
|
* @memberof PathPartResponse
|
|
59
60
|
*/
|
|
60
61
|
systemManaged: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Tags attached to this path part
|
|
64
|
+
* @type {Array<TagResponse>}
|
|
65
|
+
* @memberof PathPartResponse
|
|
66
|
+
*/
|
|
67
|
+
tags?: Array<TagResponse> | null;
|
|
61
68
|
/**
|
|
62
69
|
* Creation timestamp
|
|
63
70
|
* @type {Date}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { PartTypeFromJSON, PartTypeToJSON, } from './PartType';
|
|
15
|
+
import { TagResponseFromJSON, TagResponseToJSON, } from './TagResponse';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the PathPartResponse interface.
|
|
17
18
|
*/
|
|
@@ -51,6 +52,7 @@ export function PathPartResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
52
|
'metadataObjId': json['metadata_obj_id'],
|
|
52
53
|
'materializedPath': json['materialized_path'],
|
|
53
54
|
'systemManaged': json['system_managed'],
|
|
55
|
+
'tags': json['tags'] == null ? undefined : (json['tags'].map(TagResponseFromJSON)),
|
|
54
56
|
'createdAt': (new Date(json['created_at'])),
|
|
55
57
|
'updatedAt': (new Date(json['updated_at'])),
|
|
56
58
|
};
|
|
@@ -70,6 +72,7 @@ export function PathPartResponseToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
70
72
|
'metadata_obj_id': value['metadataObjId'],
|
|
71
73
|
'materialized_path': value['materializedPath'],
|
|
72
74
|
'system_managed': value['systemManaged'],
|
|
75
|
+
'tags': value['tags'] == null ? undefined : (value['tags'].map(TagResponseToJSON)),
|
|
73
76
|
'created_at': value['createdAt'].toISOString(),
|
|
74
77
|
'updated_at': value['updatedAt'].toISOString(),
|
|
75
78
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { TagResponse } from './TagResponse';
|
|
13
|
+
/**
|
|
14
|
+
* Response containing the current tags for a path part.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PathPartTagsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface PathPartTagsResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Tags attached to the path part
|
|
21
|
+
* @type {Array<TagResponse>}
|
|
22
|
+
* @memberof PathPartTagsResponse
|
|
23
|
+
*/
|
|
24
|
+
tags: Array<TagResponse>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PathPartTagsResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPathPartTagsResponse(value: object): value is PathPartTagsResponse;
|
|
30
|
+
export declare function PathPartTagsResponseFromJSON(json: any): PathPartTagsResponse;
|
|
31
|
+
export declare function PathPartTagsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PathPartTagsResponse;
|
|
32
|
+
export declare function PathPartTagsResponseToJSON(json: any): PathPartTagsResponse;
|
|
33
|
+
export declare function PathPartTagsResponseToJSONTyped(value?: PathPartTagsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
export declare const PathPartTagsResponsePropertyValidationAttributesMap: {
|
|
35
|
+
[property: string]: {
|
|
36
|
+
maxLength?: number;
|
|
37
|
+
minLength?: number;
|
|
38
|
+
pattern?: string;
|
|
39
|
+
maximum?: number;
|
|
40
|
+
exclusiveMaximum?: boolean;
|
|
41
|
+
minimum?: number;
|
|
42
|
+
exclusiveMinimum?: boolean;
|
|
43
|
+
multipleOf?: number;
|
|
44
|
+
maxItems?: number;
|
|
45
|
+
minItems?: number;
|
|
46
|
+
uniqueItems?: boolean;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { TagResponseFromJSON, TagResponseToJSON, } from './TagResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PathPartTagsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPathPartTagsResponse(value) {
|
|
19
|
+
if (!('tags' in value) || value['tags'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function PathPartTagsResponseFromJSON(json) {
|
|
24
|
+
return PathPartTagsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function PathPartTagsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'tags': (json['tags'].map(TagResponseFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PathPartTagsResponseToJSON(json) {
|
|
35
|
+
return PathPartTagsResponseToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PathPartTagsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'tags': (value['tags'].map(TagResponseToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export const PathPartTagsResponsePropertyValidationAttributesMap = {};
|
|
@@ -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.
|