@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
|
@@ -59,13 +59,13 @@ export interface ScoredChunkResponse {
|
|
|
59
59
|
*/
|
|
60
60
|
content: string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
*
|
|
63
63
|
* @type {ChunkType}
|
|
64
64
|
* @memberof ScoredChunkResponse
|
|
65
65
|
*/
|
|
66
66
|
chunkType: ChunkType;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @type {ChunkMetadataOutput}
|
|
70
70
|
* @memberof ScoredChunkResponse
|
|
71
71
|
*/
|
|
@@ -81,13 +81,13 @@ export interface ScoredChunkResponse {
|
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @memberof ScoredChunkResponse
|
|
83
83
|
*/
|
|
84
|
-
prevSiblingPathId?: string;
|
|
84
|
+
prevSiblingPathId?: string | null;
|
|
85
85
|
/**
|
|
86
86
|
* Next sibling PathPart ID
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @memberof ScoredChunkResponse
|
|
89
89
|
*/
|
|
90
|
-
nextSiblingPathId?: string;
|
|
90
|
+
nextSiblingPathId?: string | null;
|
|
91
91
|
/**
|
|
92
92
|
* Full materialized path from root
|
|
93
93
|
* @type {string}
|
|
@@ -42,7 +42,7 @@ export interface SectionResponse {
|
|
|
42
42
|
* @type {number}
|
|
43
43
|
* @memberof SectionResponse
|
|
44
44
|
*/
|
|
45
|
-
pageNumber?: number;
|
|
45
|
+
pageNumber?: number | null;
|
|
46
46
|
/**
|
|
47
47
|
* Parent PathPart ID
|
|
48
48
|
* @type {string}
|
|
@@ -54,13 +54,13 @@ export interface SectionResponse {
|
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof SectionResponse
|
|
56
56
|
*/
|
|
57
|
-
prevSiblingPathId?: string;
|
|
57
|
+
prevSiblingPathId?: string | null;
|
|
58
58
|
/**
|
|
59
59
|
* Next sibling PathPart ID
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof SectionResponse
|
|
62
62
|
*/
|
|
63
|
-
nextSiblingPathId?: string;
|
|
63
|
+
nextSiblingPathId?: string | null;
|
|
64
64
|
/**
|
|
65
65
|
* Full materialized path from root
|
|
66
66
|
* @type {string}
|
|
@@ -38,9 +38,9 @@ export interface TenantUserInTenantResponse {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof TenantUserInTenantResponse
|
|
40
40
|
*/
|
|
41
|
-
email?: string;
|
|
41
|
+
email?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
*
|
|
44
44
|
* @type {TenantUserRole}
|
|
45
45
|
* @memberof TenantUserInTenantResponse
|
|
46
46
|
*/
|
|
@@ -46,17 +46,17 @@ export interface ThreadMessageResponse {
|
|
|
46
46
|
*/
|
|
47
47
|
sequence: number;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
*
|
|
50
50
|
* @type {MessageRole}
|
|
51
51
|
* @memberof ThreadMessageResponse
|
|
52
52
|
*/
|
|
53
53
|
role: MessageRole;
|
|
54
54
|
/**
|
|
55
55
|
* Structured message content
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {{ [key: string]: any; }}
|
|
57
57
|
* @memberof ThreadMessageResponse
|
|
58
58
|
*/
|
|
59
|
-
content:
|
|
59
|
+
content: { [key: string]: any; };
|
|
60
60
|
/**
|
|
61
61
|
* Thread's PathPart ID
|
|
62
62
|
* @type {string}
|
|
@@ -172,6 +172,3 @@ export const ThreadMessageResponsePropertyValidationAttributesMap: {
|
|
|
172
172
|
} = {
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export const ThreadMessageResponseAdditionalPropertiesValidationAttributes: { maxProperties?: number, minProperties?: number } = {
|
|
176
|
-
}
|
|
177
|
-
|
|
@@ -24,19 +24,19 @@ export interface UpdateDocumentRequest {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof UpdateDocumentRequest
|
|
26
26
|
*/
|
|
27
|
-
name?: string;
|
|
27
|
+
name?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
* New parent PathPart ID for move (must be a FOLDER type)
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof UpdateDocumentRequest
|
|
32
32
|
*/
|
|
33
|
-
parentPathPartId?: string;
|
|
33
|
+
parentPathPartId?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
* New active version ID
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof UpdateDocumentRequest
|
|
38
38
|
*/
|
|
39
|
-
activeVersionId?: string;
|
|
39
|
+
activeVersionId?: string | null;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -24,13 +24,13 @@ export interface UpdateFolderRequest {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof UpdateFolderRequest
|
|
26
26
|
*/
|
|
27
|
-
name?: string;
|
|
27
|
+
name?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
* New parent PathPart ID for move (must be a FOLDER type)
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof UpdateFolderRequest
|
|
32
32
|
*/
|
|
33
|
-
parentPathPartId?: string;
|
|
33
|
+
parentPathPartId?: string | null;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -24,19 +24,19 @@ export interface UpdateSectionRequest {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof UpdateSectionRequest
|
|
26
26
|
*/
|
|
27
|
-
name?: string;
|
|
27
|
+
name?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
* New page number (must be > 0)
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof UpdateSectionRequest
|
|
32
32
|
*/
|
|
33
|
-
pageNumber?: number;
|
|
33
|
+
pageNumber?: number | null;
|
|
34
34
|
/**
|
|
35
35
|
* Move after this sibling PathPart ID
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof UpdateSectionRequest
|
|
38
38
|
*/
|
|
39
|
-
prevSiblingPathId?: string;
|
|
39
|
+
prevSiblingPathId?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
* Set to true to move to head of sibling list. This is needed since prev_sibling_path_id = None means no update
|
|
42
42
|
* @type {boolean}
|
|
@@ -24,19 +24,19 @@ export interface UpdateTagRequest {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof UpdateTagRequest
|
|
26
26
|
*/
|
|
27
|
-
name?: string;
|
|
27
|
+
name?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
* New tag color as 6-character hex string
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof UpdateTagRequest
|
|
32
32
|
*/
|
|
33
|
-
color?: string;
|
|
33
|
+
color?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
* New tag description (empty string to clear)
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof UpdateTagRequest
|
|
38
38
|
*/
|
|
39
|
-
description?: string;
|
|
39
|
+
description?: string | null;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -32,9 +32,9 @@ export interface UpdateTenantRequest {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateTenantRequest
|
|
34
34
|
*/
|
|
35
|
-
name?: string;
|
|
35
|
+
name?: string | null;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
*
|
|
38
38
|
* @type {OAuth2Config}
|
|
39
39
|
* @memberof UpdateTenantRequest
|
|
40
40
|
*/
|
|
@@ -24,13 +24,13 @@ export interface UpdateThreadRequest {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof UpdateThreadRequest
|
|
26
26
|
*/
|
|
27
|
-
title?: string;
|
|
27
|
+
title?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
* Parent thread ID. Set to a UUID to link, or null to clear.
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof UpdateThreadRequest
|
|
32
32
|
*/
|
|
33
|
-
parentThreadId?: string;
|
|
33
|
+
parentThreadId?: string | null;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -45,9 +45,9 @@ export interface UserResponse {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof UserResponse
|
|
47
47
|
*/
|
|
48
|
-
email: string;
|
|
48
|
+
email: string | null;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
*
|
|
51
51
|
* @type {IdpType}
|
|
52
52
|
* @memberof UserResponse
|
|
53
53
|
*/
|
|
@@ -59,7 +59,7 @@ export interface UserResponse {
|
|
|
59
59
|
*/
|
|
60
60
|
currentTenantId: string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
*
|
|
63
63
|
* @type {TenantUserRole}
|
|
64
64
|
* @memberof UserResponse
|
|
65
65
|
*/
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { LocationInner } from './LocationInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
LocationInnerFromJSON,
|
|
19
|
+
LocationInnerFromJSONTyped,
|
|
20
|
+
LocationInnerToJSON,
|
|
21
|
+
LocationInnerToJSONTyped,
|
|
22
|
+
} from './LocationInner';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
export interface ValidationError {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {Array<
|
|
32
|
+
* @type {Array<LocationInner>}
|
|
33
33
|
* @memberof ValidationError
|
|
34
34
|
*/
|
|
35
|
-
loc: Array<
|
|
35
|
+
loc: Array<LocationInner>;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -79,7 +79,7 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
79
79
|
}
|
|
80
80
|
return {
|
|
81
81
|
|
|
82
|
-
'loc': ((json['loc'] as Array<any>).map(
|
|
82
|
+
'loc': ((json['loc'] as Array<any>).map(LocationInnerFromJSON)),
|
|
83
83
|
'msg': json['msg'],
|
|
84
84
|
'type': json['type'],
|
|
85
85
|
'input': json['input'] == null ? undefined : json['input'],
|
|
@@ -98,7 +98,7 @@ export function ValidationErrorToJSONTyped(value?: ValidationError | null, ignor
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'loc': ((value['loc'] as Array<any>).map(
|
|
101
|
+
'loc': ((value['loc'] as Array<any>).map(LocationInnerToJSON)),
|
|
102
102
|
'msg': value['msg'],
|
|
103
103
|
'type': value['type'],
|
|
104
104
|
'input': value['input'],
|
|
@@ -56,13 +56,13 @@ export interface WorkflowDetailResponse {
|
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof WorkflowDetailResponse
|
|
58
58
|
*/
|
|
59
|
-
lastActivity?: string;
|
|
59
|
+
lastActivity?: string | null;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof WorkflowDetailResponse
|
|
64
64
|
*/
|
|
65
|
-
error?: string;
|
|
65
|
+
error?: string | null;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {Date}
|
|
@@ -92,7 +92,7 @@ export interface WorkflowDetailResponse {
|
|
|
92
92
|
* @type {Date}
|
|
93
93
|
* @memberof WorkflowDetailResponse
|
|
94
94
|
*/
|
|
95
|
-
closeTime?: Date;
|
|
95
|
+
closeTime?: Date | null;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @type {string}
|
|
@@ -116,7 +116,7 @@ export interface WorkflowDetailResponse {
|
|
|
116
116
|
* @type {number}
|
|
117
117
|
* @memberof WorkflowDetailResponse
|
|
118
118
|
*/
|
|
119
|
-
chunksProcessed?: number;
|
|
119
|
+
chunksProcessed?: number | null;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
|
|
@@ -56,13 +56,13 @@ export interface WorkflowSummaryResponse {
|
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof WorkflowSummaryResponse
|
|
58
58
|
*/
|
|
59
|
-
lastActivity?: string;
|
|
59
|
+
lastActivity?: string | null;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof WorkflowSummaryResponse
|
|
64
64
|
*/
|
|
65
|
-
error?: string;
|
|
65
|
+
error?: string | null;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {Date}
|
package/src/models/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './ChunkMetadataOutput';
|
|
|
6
6
|
export * from './ChunkResponse';
|
|
7
7
|
export * from './ChunkSearchRequest';
|
|
8
8
|
export * from './ChunkType';
|
|
9
|
+
export * from './ClearVersionContentsResponse';
|
|
9
10
|
export * from './CreateChunkLineageRequest';
|
|
10
11
|
export * from './CreateChunkRequest';
|
|
11
12
|
export * from './CreateDocumentRequest';
|
|
@@ -39,6 +40,7 @@ export * from './InviteUserRequest';
|
|
|
39
40
|
export * from './LineageEdgeResponse';
|
|
40
41
|
export * from './LineageGraphResponse';
|
|
41
42
|
export * from './LineageNodeResponse';
|
|
43
|
+
export * from './LocationInner';
|
|
42
44
|
export * from './MessageRole';
|
|
43
45
|
export * from './OAuth2Config';
|
|
44
46
|
export * from './PaginatedResponseDocumentContentPathPart';
|
|
@@ -89,7 +91,6 @@ export * from './UpdateThreadRequest';
|
|
|
89
91
|
export * from './UpdateUserRequest';
|
|
90
92
|
export * from './UserResponse';
|
|
91
93
|
export * from './ValidationError';
|
|
92
|
-
export * from './ValidationErrorLocInner';
|
|
93
94
|
export * from './WorkflowAction';
|
|
94
95
|
export * from './WorkflowActionResponse';
|
|
95
96
|
export * from './WorkflowDetailResponse';
|
|
@@ -1,41 +0,0 @@
|
|
|
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 ValidationErrorLocInner
|
|
16
|
-
*/
|
|
17
|
-
export interface ValidationErrorLocInner {
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
21
|
-
*/
|
|
22
|
-
export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
|
|
23
|
-
export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
|
|
24
|
-
export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
|
|
25
|
-
export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
|
|
26
|
-
export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
|
|
27
|
-
export declare const ValidationErrorLocInnerPropertyValidationAttributesMap: {
|
|
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
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
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 ValidationErrorLocInner interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfValidationErrorLocInner(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function ValidationErrorLocInnerFromJSON(json) {
|
|
21
|
-
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
export function ValidationErrorLocInnerToJSON(json) {
|
|
27
|
-
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
export function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
30
|
-
return value;
|
|
31
|
-
}
|
|
32
|
-
export const ValidationErrorLocInnerPropertyValidationAttributesMap = {};
|
|
@@ -1,41 +0,0 @@
|
|
|
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 ValidationErrorLocInner
|
|
16
|
-
*/
|
|
17
|
-
export interface ValidationErrorLocInner {
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
21
|
-
*/
|
|
22
|
-
export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
|
|
23
|
-
export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
|
|
24
|
-
export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
|
|
25
|
-
export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
|
|
26
|
-
export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
|
|
27
|
-
export declare const ValidationErrorLocInnerPropertyValidationAttributesMap: {
|
|
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
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Knowledge Stack API
|
|
6
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ValidationErrorLocInnerPropertyValidationAttributesMap = void 0;
|
|
17
|
-
exports.instanceOfValidationErrorLocInner = instanceOfValidationErrorLocInner;
|
|
18
|
-
exports.ValidationErrorLocInnerFromJSON = ValidationErrorLocInnerFromJSON;
|
|
19
|
-
exports.ValidationErrorLocInnerFromJSONTyped = ValidationErrorLocInnerFromJSONTyped;
|
|
20
|
-
exports.ValidationErrorLocInnerToJSON = ValidationErrorLocInnerToJSON;
|
|
21
|
-
exports.ValidationErrorLocInnerToJSONTyped = ValidationErrorLocInnerToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfValidationErrorLocInner(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ValidationErrorLocInnerFromJSON(json) {
|
|
29
|
-
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
function ValidationErrorLocInnerToJSON(json) {
|
|
35
|
-
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
exports.ValidationErrorLocInnerPropertyValidationAttributesMap = {};
|
|
@@ -1,63 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ValidationErrorLocInner
|
|
20
|
-
*/
|
|
21
|
-
export interface ValidationErrorLocInner {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
26
|
-
*/
|
|
27
|
-
export function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner {
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner {
|
|
32
|
-
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner {
|
|
40
|
-
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export const ValidationErrorLocInnerPropertyValidationAttributesMap: {
|
|
48
|
-
[property: string]: {
|
|
49
|
-
maxLength?: number,
|
|
50
|
-
minLength?: number,
|
|
51
|
-
pattern?: string,
|
|
52
|
-
maximum?: number,
|
|
53
|
-
exclusiveMaximum?: boolean,
|
|
54
|
-
minimum?: number,
|
|
55
|
-
exclusiveMinimum?: boolean,
|
|
56
|
-
multipleOf?: number,
|
|
57
|
-
maxItems?: number,
|
|
58
|
-
minItems?: number,
|
|
59
|
-
uniqueItems?: boolean
|
|
60
|
-
}
|
|
61
|
-
} = {
|
|
62
|
-
}
|
|
63
|
-
|