@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
|
@@ -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.
|
|
@@ -20,13 +20,13 @@ export interface UpdateFolderRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateFolderRequest
|
|
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 UpdateFolderRequest
|
|
28
28
|
*/
|
|
29
|
-
parentPathPartId?: string;
|
|
29
|
+
parentPathPartId?: string | null;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the UpdateFolderRequest interface.
|
|
@@ -20,19 +20,19 @@ export interface UpdateSectionRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateSectionRequest
|
|
22
22
|
*/
|
|
23
|
-
name?: string;
|
|
23
|
+
name?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
* New page number (must be > 0)
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof UpdateSectionRequest
|
|
28
28
|
*/
|
|
29
|
-
pageNumber?: number;
|
|
29
|
+
pageNumber?: number | null;
|
|
30
30
|
/**
|
|
31
31
|
* Move after this sibling PathPart ID
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateSectionRequest
|
|
34
34
|
*/
|
|
35
|
-
prevSiblingPathId?: string;
|
|
35
|
+
prevSiblingPathId?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
* Set to true to move to head of sibling list. This is needed since prev_sibling_path_id = None means no update
|
|
38
38
|
* @type {boolean}
|
|
@@ -20,19 +20,19 @@ export interface UpdateTagRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateTagRequest
|
|
22
22
|
*/
|
|
23
|
-
name?: string;
|
|
23
|
+
name?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
* New tag color as 6-character hex string
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateTagRequest
|
|
28
28
|
*/
|
|
29
|
-
color?: string;
|
|
29
|
+
color?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
* New tag description (empty string to clear)
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateTagRequest
|
|
34
34
|
*/
|
|
35
|
-
description?: string;
|
|
35
|
+
description?: string | null;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the UpdateTagRequest interface.
|
|
@@ -21,9 +21,9 @@ export interface UpdateTenantRequest {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof UpdateTenantRequest
|
|
23
23
|
*/
|
|
24
|
-
name?: string;
|
|
24
|
+
name?: string | null;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
*
|
|
27
27
|
* @type {OAuth2Config}
|
|
28
28
|
* @memberof UpdateTenantRequest
|
|
29
29
|
*/
|
|
@@ -20,13 +20,13 @@ export interface UpdateThreadRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateThreadRequest
|
|
22
22
|
*/
|
|
23
|
-
title?: string;
|
|
23
|
+
title?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
* Parent thread ID. Set to a UUID to link, or null to clear.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateThreadRequest
|
|
28
28
|
*/
|
|
29
|
-
parentThreadId?: string;
|
|
29
|
+
parentThreadId?: string | null;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the UpdateThreadRequest interface.
|
|
@@ -28,9 +28,9 @@ export interface UserResponse {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof UserResponse
|
|
30
30
|
*/
|
|
31
|
-
email: string;
|
|
31
|
+
email: string | null;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
*
|
|
34
34
|
* @type {IdpType}
|
|
35
35
|
* @memberof UserResponse
|
|
36
36
|
*/
|
|
@@ -42,7 +42,7 @@ export interface UserResponse {
|
|
|
42
42
|
*/
|
|
43
43
|
currentTenantId: string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
*
|
|
46
46
|
* @type {TenantUserRole}
|
|
47
47
|
* @memberof UserResponse
|
|
48
48
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { LocationInner } from './LocationInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import type { ValidationErrorLocInner } from './ValidationErrorLocInner';
|
|
|
18
18
|
export interface ValidationError {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<LocationInner>}
|
|
22
22
|
* @memberof ValidationError
|
|
23
23
|
*/
|
|
24
|
-
loc: Array<
|
|
24
|
+
loc: Array<LocationInner>;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { LocationInnerFromJSON, LocationInnerToJSON, } from './LocationInner';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the ValidationError interface.
|
|
17
17
|
*/
|
|
@@ -32,7 +32,7 @@ export function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'loc': (json['loc'].map(
|
|
35
|
+
'loc': (json['loc'].map(LocationInnerFromJSON)),
|
|
36
36
|
'msg': json['msg'],
|
|
37
37
|
'type': json['type'],
|
|
38
38
|
'input': json['input'] == null ? undefined : json['input'],
|
|
@@ -47,7 +47,7 @@ export function ValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
'loc': (value['loc'].map(
|
|
50
|
+
'loc': (value['loc'].map(LocationInnerToJSON)),
|
|
51
51
|
'msg': value['msg'],
|
|
52
52
|
'type': value['type'],
|
|
53
53
|
'input': value['input'],
|
|
@@ -45,13 +45,13 @@ export interface WorkflowDetailResponse {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof WorkflowDetailResponse
|
|
47
47
|
*/
|
|
48
|
-
lastActivity?: string;
|
|
48
|
+
lastActivity?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof WorkflowDetailResponse
|
|
53
53
|
*/
|
|
54
|
-
error?: string;
|
|
54
|
+
error?: string | null;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {Date}
|
|
@@ -81,7 +81,7 @@ export interface WorkflowDetailResponse {
|
|
|
81
81
|
* @type {Date}
|
|
82
82
|
* @memberof WorkflowDetailResponse
|
|
83
83
|
*/
|
|
84
|
-
closeTime?: Date;
|
|
84
|
+
closeTime?: Date | null;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {string}
|
|
@@ -105,7 +105,7 @@ export interface WorkflowDetailResponse {
|
|
|
105
105
|
* @type {number}
|
|
106
106
|
* @memberof WorkflowDetailResponse
|
|
107
107
|
*/
|
|
108
|
-
chunksProcessed?: number;
|
|
108
|
+
chunksProcessed?: number | null;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* Check if a given object implements the WorkflowDetailResponse interface.
|
|
@@ -45,13 +45,13 @@ export interface WorkflowSummaryResponse {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof WorkflowSummaryResponse
|
|
47
47
|
*/
|
|
48
|
-
lastActivity?: string;
|
|
48
|
+
lastActivity?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof WorkflowSummaryResponse
|
|
53
53
|
*/
|
|
54
|
-
error?: string;
|
|
54
|
+
error?: string | null;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {Date}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './BulkTagRequest';
|
|
1
2
|
export * from './ChunkLineageResponse';
|
|
2
3
|
export * from './ChunkMetadataInput';
|
|
3
4
|
export * from './ChunkMetadataOutput';
|
|
@@ -38,6 +39,7 @@ export * from './InviteUserRequest';
|
|
|
38
39
|
export * from './LineageEdgeResponse';
|
|
39
40
|
export * from './LineageGraphResponse';
|
|
40
41
|
export * from './LineageNodeResponse';
|
|
42
|
+
export * from './LocationInner';
|
|
41
43
|
export * from './MessageRole';
|
|
42
44
|
export * from './OAuth2Config';
|
|
43
45
|
export * from './PaginatedResponseDocumentContentPathPart';
|
|
@@ -59,6 +61,7 @@ export * from './PasswordResetRequest';
|
|
|
59
61
|
export * from './PasswordResetWithTokenRequest';
|
|
60
62
|
export * from './PathOrder';
|
|
61
63
|
export * from './PathPartResponse';
|
|
64
|
+
export * from './PathPartTagsResponse';
|
|
62
65
|
export * from './PermissionCapability';
|
|
63
66
|
export * from './PermissionResponse';
|
|
64
67
|
export * from './PipelineState';
|
|
@@ -69,7 +72,6 @@ export * from './RootResponse';
|
|
|
69
72
|
export * from './ScoredChunkResponse';
|
|
70
73
|
export * from './SectionResponse';
|
|
71
74
|
export * from './SignInRequest';
|
|
72
|
-
export * from './TagPathPartRequest';
|
|
73
75
|
export * from './TagResponse';
|
|
74
76
|
export * from './TenantResponse';
|
|
75
77
|
export * from './TenantUserInTenantResponse';
|
|
@@ -88,7 +90,6 @@ export * from './UpdateThreadRequest';
|
|
|
88
90
|
export * from './UpdateUserRequest';
|
|
89
91
|
export * from './UserResponse';
|
|
90
92
|
export * from './ValidationError';
|
|
91
|
-
export * from './ValidationErrorLocInner';
|
|
92
93
|
export * from './WorkflowAction';
|
|
93
94
|
export * from './WorkflowActionResponse';
|
|
94
95
|
export * from './WorkflowDetailResponse';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './BulkTagRequest';
|
|
3
4
|
export * from './ChunkLineageResponse';
|
|
4
5
|
export * from './ChunkMetadataInput';
|
|
5
6
|
export * from './ChunkMetadataOutput';
|
|
@@ -40,6 +41,7 @@ export * from './InviteUserRequest';
|
|
|
40
41
|
export * from './LineageEdgeResponse';
|
|
41
42
|
export * from './LineageGraphResponse';
|
|
42
43
|
export * from './LineageNodeResponse';
|
|
44
|
+
export * from './LocationInner';
|
|
43
45
|
export * from './MessageRole';
|
|
44
46
|
export * from './OAuth2Config';
|
|
45
47
|
export * from './PaginatedResponseDocumentContentPathPart';
|
|
@@ -61,6 +63,7 @@ export * from './PasswordResetRequest';
|
|
|
61
63
|
export * from './PasswordResetWithTokenRequest';
|
|
62
64
|
export * from './PathOrder';
|
|
63
65
|
export * from './PathPartResponse';
|
|
66
|
+
export * from './PathPartTagsResponse';
|
|
64
67
|
export * from './PermissionCapability';
|
|
65
68
|
export * from './PermissionResponse';
|
|
66
69
|
export * from './PipelineState';
|
|
@@ -71,7 +74,6 @@ export * from './RootResponse';
|
|
|
71
74
|
export * from './ScoredChunkResponse';
|
|
72
75
|
export * from './SectionResponse';
|
|
73
76
|
export * from './SignInRequest';
|
|
74
|
-
export * from './TagPathPartRequest';
|
|
75
77
|
export * from './TagResponse';
|
|
76
78
|
export * from './TenantResponse';
|
|
77
79
|
export * from './TenantUserInTenantResponse';
|
|
@@ -90,7 +92,6 @@ export * from './UpdateThreadRequest';
|
|
|
90
92
|
export * from './UpdateUserRequest';
|
|
91
93
|
export * from './UserResponse';
|
|
92
94
|
export * from './ValidationError';
|
|
93
|
-
export * from './ValidationErrorLocInner';
|
|
94
95
|
export * from './WorkflowAction';
|
|
95
96
|
export * from './WorkflowActionResponse';
|
|
96
97
|
export * from './WorkflowDetailResponse';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Request to bulk add or remove tags from a path part.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BulkTagRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface BulkTagRequest {
|
|
18
|
+
/**
|
|
19
|
+
* List of tag IDs to add/remove
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BulkTagRequest
|
|
22
|
+
*/
|
|
23
|
+
tagIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BulkTagRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBulkTagRequest(value: object): value is BulkTagRequest;
|
|
29
|
+
export declare function BulkTagRequestFromJSON(json: any): BulkTagRequest;
|
|
30
|
+
export declare function BulkTagRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BulkTagRequest;
|
|
31
|
+
export declare function BulkTagRequestToJSON(json: any): BulkTagRequest;
|
|
32
|
+
export declare function BulkTagRequestToJSONTyped(value?: BulkTagRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
export declare const BulkTagRequestPropertyValidationAttributesMap: {
|
|
34
|
+
[property: string]: {
|
|
35
|
+
maxLength?: number;
|
|
36
|
+
minLength?: number;
|
|
37
|
+
pattern?: string;
|
|
38
|
+
maximum?: number;
|
|
39
|
+
exclusiveMaximum?: boolean;
|
|
40
|
+
minimum?: number;
|
|
41
|
+
exclusiveMinimum?: boolean;
|
|
42
|
+
multipleOf?: number;
|
|
43
|
+
maxItems?: number;
|
|
44
|
+
minItems?: number;
|
|
45
|
+
uniqueItems?: boolean;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
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.BulkTagRequestPropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfBulkTagRequest = instanceOfBulkTagRequest;
|
|
18
|
+
exports.BulkTagRequestFromJSON = BulkTagRequestFromJSON;
|
|
19
|
+
exports.BulkTagRequestFromJSONTyped = BulkTagRequestFromJSONTyped;
|
|
20
|
+
exports.BulkTagRequestToJSON = BulkTagRequestToJSON;
|
|
21
|
+
exports.BulkTagRequestToJSONTyped = BulkTagRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BulkTagRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBulkTagRequest(value) {
|
|
26
|
+
if (!('tagIds' in value) || value['tagIds'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function BulkTagRequestFromJSON(json) {
|
|
31
|
+
return BulkTagRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function BulkTagRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'tagIds': json['tag_ids'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function BulkTagRequestToJSON(json) {
|
|
42
|
+
return BulkTagRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function BulkTagRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'tag_ids': value['tagIds'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.BulkTagRequestPropertyValidationAttributesMap = {
|
|
53
|
+
tagIds: {
|
|
54
|
+
maxItems: 10,
|
|
55
|
+
uniqueItems: false,
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -42,13 +42,13 @@ export interface ChunkResponse {
|
|
|
42
42
|
*/
|
|
43
43
|
content: string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
*
|
|
46
46
|
* @type {ChunkType}
|
|
47
47
|
* @memberof ChunkResponse
|
|
48
48
|
*/
|
|
49
49
|
chunkType: ChunkType;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
*
|
|
52
52
|
* @type {ChunkMetadataOutput}
|
|
53
53
|
* @memberof ChunkResponse
|
|
54
54
|
*/
|
|
@@ -64,13 +64,13 @@ export interface ChunkResponse {
|
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof ChunkResponse
|
|
66
66
|
*/
|
|
67
|
-
prevSiblingPathId?: string;
|
|
67
|
+
prevSiblingPathId?: string | null;
|
|
68
68
|
/**
|
|
69
69
|
* Next sibling PathPart ID
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof ChunkResponse
|
|
72
72
|
*/
|
|
73
|
-
nextSiblingPathId?: string;
|
|
73
|
+
nextSiblingPathId?: string | null;
|
|
74
74
|
/**
|
|
75
75
|
* Full materialized path from root
|
|
76
76
|
* @type {string}
|