@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
package/.openapi-generator/FILES
CHANGED
|
@@ -22,6 +22,7 @@ src/apis/UsersApi.ts
|
|
|
22
22
|
src/apis/WorkflowsApi.ts
|
|
23
23
|
src/apis/index.ts
|
|
24
24
|
src/index.ts
|
|
25
|
+
src/models/BulkTagRequest.ts
|
|
25
26
|
src/models/ChunkLineageResponse.ts
|
|
26
27
|
src/models/ChunkMetadataInput.ts
|
|
27
28
|
src/models/ChunkMetadataOutput.ts
|
|
@@ -62,6 +63,7 @@ src/models/InviteUserRequest.ts
|
|
|
62
63
|
src/models/LineageEdgeResponse.ts
|
|
63
64
|
src/models/LineageGraphResponse.ts
|
|
64
65
|
src/models/LineageNodeResponse.ts
|
|
66
|
+
src/models/LocationInner.ts
|
|
65
67
|
src/models/MessageRole.ts
|
|
66
68
|
src/models/OAuth2Config.ts
|
|
67
69
|
src/models/PaginatedResponseDocumentContentPathPart.ts
|
|
@@ -83,6 +85,7 @@ src/models/PasswordResetRequest.ts
|
|
|
83
85
|
src/models/PasswordResetWithTokenRequest.ts
|
|
84
86
|
src/models/PathOrder.ts
|
|
85
87
|
src/models/PathPartResponse.ts
|
|
88
|
+
src/models/PathPartTagsResponse.ts
|
|
86
89
|
src/models/PermissionCapability.ts
|
|
87
90
|
src/models/PermissionResponse.ts
|
|
88
91
|
src/models/PipelineState.ts
|
|
@@ -93,7 +96,6 @@ src/models/RootResponse.ts
|
|
|
93
96
|
src/models/ScoredChunkResponse.ts
|
|
94
97
|
src/models/SectionResponse.ts
|
|
95
98
|
src/models/SignInRequest.ts
|
|
96
|
-
src/models/TagPathPartRequest.ts
|
|
97
99
|
src/models/TagResponse.ts
|
|
98
100
|
src/models/TenantResponse.ts
|
|
99
101
|
src/models/TenantUserInTenantResponse.ts
|
|
@@ -112,7 +114,6 @@ src/models/UpdateThreadRequest.ts
|
|
|
112
114
|
src/models/UpdateUserRequest.ts
|
|
113
115
|
src/models/UserResponse.ts
|
|
114
116
|
src/models/ValidationError.ts
|
|
115
|
-
src/models/ValidationErrorLocInner.ts
|
|
116
117
|
src/models/WorkflowAction.ts
|
|
117
118
|
src/models/WorkflowActionResponse.ts
|
|
118
119
|
src/models/WorkflowDetailResponse.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @knowledge-stack/ksapi@1.
|
|
1
|
+
## @knowledge-stack/ksapi@1.21.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @knowledge-stack/ksapi@1.
|
|
39
|
+
npm install @knowledge-stack/ksapi@1.21.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/apis/AuthApi.d.ts
CHANGED
|
@@ -16,15 +16,15 @@ export interface CreatePasswordUserOperationRequest {
|
|
|
16
16
|
}
|
|
17
17
|
export interface InitiateSsoRequest {
|
|
18
18
|
provider: IdpType;
|
|
19
|
-
tenantId?: string;
|
|
19
|
+
tenantId?: string | null;
|
|
20
20
|
}
|
|
21
21
|
export interface Oauth2CallbackRequest {
|
|
22
22
|
provider: IdpType;
|
|
23
|
-
code?: string;
|
|
24
|
-
state?: string;
|
|
25
|
-
error?: string;
|
|
26
|
-
errorDescription?: string;
|
|
27
|
-
tenantId?: string;
|
|
23
|
+
code?: string | null;
|
|
24
|
+
state?: string | null;
|
|
25
|
+
error?: string | null;
|
|
26
|
+
errorDescription?: string | null;
|
|
27
|
+
tenantId?: string | null;
|
|
28
28
|
}
|
|
29
29
|
export interface PwEmailVerificationRequest {
|
|
30
30
|
emailVerificationRequest: EmailVerificationRequest;
|
|
@@ -33,12 +33,12 @@ export interface PwSigninRequest {
|
|
|
33
33
|
signInRequest: SignInRequest;
|
|
34
34
|
}
|
|
35
35
|
export interface RefreshUatRequest {
|
|
36
|
-
tenantId?: string;
|
|
37
|
-
ksUat?: string;
|
|
36
|
+
tenantId?: string | null;
|
|
37
|
+
ksUat?: string | null;
|
|
38
38
|
}
|
|
39
39
|
export interface ResetPasswordRequest {
|
|
40
40
|
passwordResetRequest: PasswordResetRequest;
|
|
41
|
-
ksUat?: string;
|
|
41
|
+
ksUat?: string | null;
|
|
42
42
|
}
|
|
43
43
|
export interface ResetPasswordWithTokenRequest {
|
|
44
44
|
passwordResetWithTokenRequest: PasswordResetWithTokenRequest;
|
|
@@ -13,17 +13,17 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ChunkLineageResponse, CreateChunkLineageRequest, LineageGraphResponse } from '../models/index';
|
|
14
14
|
export interface CreateChunkLineageOperationRequest {
|
|
15
15
|
createChunkLineageRequest: CreateChunkLineageRequest;
|
|
16
|
-
ksUat?: string;
|
|
16
|
+
ksUat?: string | null;
|
|
17
17
|
}
|
|
18
18
|
export interface DeleteChunkLineageRequest {
|
|
19
19
|
parentChunkId: string;
|
|
20
20
|
chunkId: string;
|
|
21
|
-
ksUat?: string;
|
|
21
|
+
ksUat?: string | null;
|
|
22
22
|
}
|
|
23
23
|
export interface GetChunkLineageRequest {
|
|
24
24
|
chunkId: string;
|
|
25
25
|
maxDepth?: number;
|
|
26
|
-
ksUat?: string;
|
|
26
|
+
ksUat?: string | null;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* ChunkLineagesApi - interface
|
package/dist/apis/ChunksApi.d.ts
CHANGED
|
@@ -13,29 +13,29 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ChunkResponse, ChunkSearchRequest, CreateChunkRequest, ScoredChunkResponse, UpdateChunkContentRequest, UpdateChunkMetadataRequest } from '../models/index';
|
|
14
14
|
export interface CreateChunkOperationRequest {
|
|
15
15
|
createChunkRequest: CreateChunkRequest;
|
|
16
|
-
ksUat?: string;
|
|
16
|
+
ksUat?: string | null;
|
|
17
17
|
}
|
|
18
18
|
export interface DeleteChunkRequest {
|
|
19
19
|
chunkId: string;
|
|
20
|
-
ksUat?: string;
|
|
20
|
+
ksUat?: string | null;
|
|
21
21
|
}
|
|
22
22
|
export interface GetChunkRequest {
|
|
23
23
|
chunkId: string;
|
|
24
|
-
ksUat?: string;
|
|
24
|
+
ksUat?: string | null;
|
|
25
25
|
}
|
|
26
26
|
export interface SearchChunksRequest {
|
|
27
27
|
chunkSearchRequest: ChunkSearchRequest;
|
|
28
|
-
ksUat?: string;
|
|
28
|
+
ksUat?: string | null;
|
|
29
29
|
}
|
|
30
30
|
export interface UpdateChunkContentOperationRequest {
|
|
31
31
|
chunkId: string;
|
|
32
32
|
updateChunkContentRequest: UpdateChunkContentRequest;
|
|
33
|
-
ksUat?: string;
|
|
33
|
+
ksUat?: string | null;
|
|
34
34
|
}
|
|
35
35
|
export interface UpdateChunkMetadataOperationRequest {
|
|
36
36
|
chunkId: string;
|
|
37
37
|
updateChunkMetadataRequest: UpdateChunkMetadataRequest;
|
|
38
|
-
ksUat?: string;
|
|
38
|
+
ksUat?: string | null;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* ChunksApi - interface
|
|
@@ -13,37 +13,37 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ClearVersionContentsResponse, DocumentVersionMetadataUpdate, DocumentVersionResponse, PaginatedResponseDocumentContentPathPart, PaginatedResponseDocumentVersionResponse } from '../models/index';
|
|
14
14
|
export interface ClearDocumentVersionContentsRequest {
|
|
15
15
|
versionId: string;
|
|
16
|
-
ksUat?: string;
|
|
16
|
+
ksUat?: string | null;
|
|
17
17
|
}
|
|
18
18
|
export interface CreateDocumentVersionRequest {
|
|
19
19
|
documentId: string;
|
|
20
|
-
ksUat?: string;
|
|
20
|
+
ksUat?: string | null;
|
|
21
21
|
}
|
|
22
22
|
export interface DeleteDocumentVersionRequest {
|
|
23
23
|
versionId: string;
|
|
24
|
-
ksUat?: string;
|
|
24
|
+
ksUat?: string | null;
|
|
25
25
|
}
|
|
26
26
|
export interface GetDocumentVersionRequest {
|
|
27
27
|
versionId: string;
|
|
28
|
-
ksUat?: string;
|
|
28
|
+
ksUat?: string | null;
|
|
29
29
|
}
|
|
30
30
|
export interface GetDocumentVersionContentsRequest {
|
|
31
31
|
versionId: string;
|
|
32
|
-
sectionId?: string;
|
|
32
|
+
sectionId?: string | null;
|
|
33
33
|
limit?: number;
|
|
34
34
|
offset?: number;
|
|
35
|
-
ksUat?: string;
|
|
35
|
+
ksUat?: string | null;
|
|
36
36
|
}
|
|
37
37
|
export interface ListDocumentVersionsRequest {
|
|
38
38
|
documentId: string;
|
|
39
39
|
limit?: number;
|
|
40
40
|
offset?: number;
|
|
41
|
-
ksUat?: string;
|
|
41
|
+
ksUat?: string | null;
|
|
42
42
|
}
|
|
43
43
|
export interface UpdateDocumentVersionMetadataRequest {
|
|
44
44
|
versionId: string;
|
|
45
45
|
documentVersionMetadataUpdate: DocumentVersionMetadataUpdate;
|
|
46
|
-
ksUat?: string;
|
|
46
|
+
ksUat?: string | null;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* DocumentVersionsApi - interface
|
|
@@ -13,33 +13,33 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { CreateDocumentRequest, DocumentResponse, IngestDocumentResponse, PaginatedResponseDocumentResponse, PathOrder, UpdateDocumentRequest } from '../models/index';
|
|
14
14
|
export interface CreateDocumentOperationRequest {
|
|
15
15
|
createDocumentRequest: CreateDocumentRequest;
|
|
16
|
-
ksUat?: string;
|
|
16
|
+
ksUat?: string | null;
|
|
17
17
|
}
|
|
18
18
|
export interface DeleteDocumentRequest {
|
|
19
19
|
documentId: string;
|
|
20
|
-
ksUat?: string;
|
|
20
|
+
ksUat?: string | null;
|
|
21
21
|
}
|
|
22
22
|
export interface GetDocumentRequest {
|
|
23
23
|
documentId: string;
|
|
24
|
-
ksUat?: string;
|
|
24
|
+
ksUat?: string | null;
|
|
25
25
|
}
|
|
26
26
|
export interface IngestDocumentRequest {
|
|
27
27
|
file: Blob;
|
|
28
28
|
pathPartId: string;
|
|
29
|
-
ksUat?: string;
|
|
30
|
-
name?: string;
|
|
29
|
+
ksUat?: string | null;
|
|
30
|
+
name?: string | null;
|
|
31
31
|
}
|
|
32
32
|
export interface ListDocumentsRequest {
|
|
33
|
-
parentPathPartId?: string;
|
|
33
|
+
parentPathPartId?: string | null;
|
|
34
34
|
sortOrder?: PathOrder;
|
|
35
35
|
limit?: number;
|
|
36
36
|
offset?: number;
|
|
37
|
-
ksUat?: string;
|
|
37
|
+
ksUat?: string | null;
|
|
38
38
|
}
|
|
39
39
|
export interface UpdateDocumentOperationRequest {
|
|
40
40
|
documentId: string;
|
|
41
41
|
updateDocumentRequest: UpdateDocumentRequest;
|
|
42
|
-
ksUat?: string;
|
|
42
|
+
ksUat?: string | null;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* DocumentsApi - interface
|
|
@@ -111,7 +111,7 @@ export interface DocumentsApiInterface {
|
|
|
111
111
|
*/
|
|
112
112
|
ingestDocument(requestParameters: IngestDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IngestDocumentResponse>;
|
|
113
113
|
/**
|
|
114
|
-
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents
|
|
114
|
+
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
|
|
115
115
|
* @summary List Documents Handler
|
|
116
116
|
* @param {string} [parentPathPartId] Parent PathPart ID (defaults to root)
|
|
117
117
|
* @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
|
|
@@ -124,7 +124,7 @@ export interface DocumentsApiInterface {
|
|
|
124
124
|
*/
|
|
125
125
|
listDocumentsRaw(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseDocumentResponse>>;
|
|
126
126
|
/**
|
|
127
|
-
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents
|
|
127
|
+
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
|
|
128
128
|
* List Documents Handler
|
|
129
129
|
*/
|
|
130
130
|
listDocuments(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseDocumentResponse>;
|
|
@@ -190,12 +190,12 @@ export declare class DocumentsApi extends runtime.BaseAPI implements DocumentsAp
|
|
|
190
190
|
*/
|
|
191
191
|
ingestDocument(requestParameters: IngestDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IngestDocumentResponse>;
|
|
192
192
|
/**
|
|
193
|
-
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents
|
|
193
|
+
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
|
|
194
194
|
* List Documents Handler
|
|
195
195
|
*/
|
|
196
196
|
listDocumentsRaw(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseDocumentResponse>>;
|
|
197
197
|
/**
|
|
198
|
-
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents
|
|
198
|
+
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
|
|
199
199
|
* List Documents Handler
|
|
200
200
|
*/
|
|
201
201
|
listDocuments(requestParameters?: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseDocumentResponse>;
|
|
@@ -185,7 +185,7 @@ class DocumentsApi extends runtime.BaseAPI {
|
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
|
-
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents
|
|
188
|
+
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
|
|
189
189
|
* List Documents Handler
|
|
190
190
|
*/
|
|
191
191
|
listDocumentsRaw(requestParameters, initOverrides) {
|
|
@@ -215,7 +215,7 @@ class DocumentsApi extends runtime.BaseAPI {
|
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
|
-
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents
|
|
218
|
+
* List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
|
|
219
219
|
* List Documents Handler
|
|
220
220
|
*/
|
|
221
221
|
listDocuments() {
|
|
@@ -13,35 +13,36 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { CreateFolderRequest, FolderResponse, PaginatedResponseFolderDocumentResponse, PaginatedResponseFolderResponse, PathOrder, UpdateFolderRequest } from '../models/index';
|
|
14
14
|
export interface CreateFolderOperationRequest {
|
|
15
15
|
createFolderRequest: CreateFolderRequest;
|
|
16
|
-
ksUat?: string;
|
|
16
|
+
ksUat?: string | null;
|
|
17
17
|
}
|
|
18
18
|
export interface DeleteFolderRequest {
|
|
19
19
|
folderId: string;
|
|
20
|
-
ksUat?: string;
|
|
20
|
+
ksUat?: string | null;
|
|
21
21
|
}
|
|
22
22
|
export interface GetFolderRequest {
|
|
23
23
|
folderId: string;
|
|
24
|
-
ksUat?: string;
|
|
24
|
+
ksUat?: string | null;
|
|
25
25
|
}
|
|
26
26
|
export interface ListFolderContentsRequest {
|
|
27
27
|
folderId: string;
|
|
28
28
|
maxDepth?: number;
|
|
29
29
|
sortOrder?: PathOrder;
|
|
30
|
+
withTags?: boolean;
|
|
30
31
|
limit?: number;
|
|
31
32
|
offset?: number;
|
|
32
|
-
ksUat?: string;
|
|
33
|
+
ksUat?: string | null;
|
|
33
34
|
}
|
|
34
35
|
export interface ListFoldersRequest {
|
|
35
|
-
parentPathPartId?: string;
|
|
36
|
+
parentPathPartId?: string | null;
|
|
36
37
|
sortOrder?: PathOrder;
|
|
37
38
|
limit?: number;
|
|
38
39
|
offset?: number;
|
|
39
|
-
ksUat?: string;
|
|
40
|
+
ksUat?: string | null;
|
|
40
41
|
}
|
|
41
42
|
export interface UpdateFolderOperationRequest {
|
|
42
43
|
folderId: string;
|
|
43
44
|
updateFolderRequest: UpdateFolderRequest;
|
|
44
|
-
ksUat?: string;
|
|
45
|
+
ksUat?: string | null;
|
|
45
46
|
}
|
|
46
47
|
/**
|
|
47
48
|
* FoldersApi - interface
|
|
@@ -96,11 +97,12 @@ export interface FoldersApiInterface {
|
|
|
96
97
|
*/
|
|
97
98
|
getFolder(requestParameters: GetFolderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FolderResponse>;
|
|
98
99
|
/**
|
|
99
|
-
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
100
|
+
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version When with_tags=true, each item includes a tags field with the full tag objects. This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
100
101
|
* @summary List Folder Contents Handler
|
|
101
102
|
* @param {string} folderId
|
|
102
103
|
* @param {number} [maxDepth] Maximum depth to traverse (1=direct children, default: 1)
|
|
103
104
|
* @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
|
|
105
|
+
* @param {boolean} [withTags] Include tag IDs for each item (default: false)
|
|
104
106
|
* @param {number} [limit] Number of items per page
|
|
105
107
|
* @param {number} [offset] Number of items to skip
|
|
106
108
|
* @param {string} [ksUat]
|
|
@@ -110,12 +112,12 @@ export interface FoldersApiInterface {
|
|
|
110
112
|
*/
|
|
111
113
|
listFolderContentsRaw(requestParameters: ListFolderContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseFolderDocumentResponse>>;
|
|
112
114
|
/**
|
|
113
|
-
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
115
|
+
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version When with_tags=true, each item includes a tags field with the full tag objects. This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
114
116
|
* List Folder Contents Handler
|
|
115
117
|
*/
|
|
116
118
|
listFolderContents(requestParameters: ListFolderContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderDocumentResponse>;
|
|
117
119
|
/**
|
|
118
|
-
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders
|
|
120
|
+
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
|
|
119
121
|
* @summary List Folders Handler
|
|
120
122
|
* @param {string} [parentPathPartId] Parent PathPart ID (defaults to root)
|
|
121
123
|
* @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
|
|
@@ -128,7 +130,7 @@ export interface FoldersApiInterface {
|
|
|
128
130
|
*/
|
|
129
131
|
listFoldersRaw(requestParameters: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseFolderResponse>>;
|
|
130
132
|
/**
|
|
131
|
-
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders
|
|
133
|
+
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
|
|
132
134
|
* List Folders Handler
|
|
133
135
|
*/
|
|
134
136
|
listFolders(requestParameters: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderResponse>;
|
|
@@ -184,22 +186,22 @@ export declare class FoldersApi extends runtime.BaseAPI implements FoldersApiInt
|
|
|
184
186
|
*/
|
|
185
187
|
getFolder(requestParameters: GetFolderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FolderResponse>;
|
|
186
188
|
/**
|
|
187
|
-
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
189
|
+
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version When with_tags=true, each item includes a tags field with the full tag objects. This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
188
190
|
* List Folder Contents Handler
|
|
189
191
|
*/
|
|
190
192
|
listFolderContentsRaw(requestParameters: ListFolderContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseFolderDocumentResponse>>;
|
|
191
193
|
/**
|
|
192
|
-
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
194
|
+
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version When with_tags=true, each item includes a tags field with the full tag objects. This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
193
195
|
* List Folder Contents Handler
|
|
194
196
|
*/
|
|
195
197
|
listFolderContents(requestParameters: ListFolderContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderDocumentResponse>;
|
|
196
198
|
/**
|
|
197
|
-
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders
|
|
199
|
+
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
|
|
198
200
|
* List Folders Handler
|
|
199
201
|
*/
|
|
200
202
|
listFoldersRaw(requestParameters: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseFolderResponse>>;
|
|
201
203
|
/**
|
|
202
|
-
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders
|
|
204
|
+
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
|
|
203
205
|
* List Folders Handler
|
|
204
206
|
*/
|
|
205
207
|
listFolders(requestParameters?: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderResponse>;
|
package/dist/apis/FoldersApi.js
CHANGED
|
@@ -126,7 +126,7 @@ class FoldersApi extends runtime.BaseAPI {
|
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
|
-
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
129
|
+
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version When with_tags=true, each item includes a tags field with the full tag objects. This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
130
130
|
* List Folder Contents Handler
|
|
131
131
|
*/
|
|
132
132
|
listFolderContentsRaw(requestParameters, initOverrides) {
|
|
@@ -141,6 +141,9 @@ class FoldersApi extends runtime.BaseAPI {
|
|
|
141
141
|
if (requestParameters['sortOrder'] != null) {
|
|
142
142
|
queryParameters['sort_order'] = requestParameters['sortOrder'];
|
|
143
143
|
}
|
|
144
|
+
if (requestParameters['withTags'] != null) {
|
|
145
|
+
queryParameters['with_tags'] = requestParameters['withTags'];
|
|
146
|
+
}
|
|
144
147
|
if (requestParameters['limit'] != null) {
|
|
145
148
|
queryParameters['limit'] = requestParameters['limit'];
|
|
146
149
|
}
|
|
@@ -160,7 +163,7 @@ class FoldersApi extends runtime.BaseAPI {
|
|
|
160
163
|
});
|
|
161
164
|
}
|
|
162
165
|
/**
|
|
163
|
-
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
166
|
+
* List all contents (folders and documents) under a folder. Returns enriched responses with: - Folders: basic folder metadata - Documents: full document metadata including document_type, document_origin, active_version When with_tags=true, each item includes a tags field with the full tag objects. This is the preferred way to list folder contents when you need document metadata. For generic path traversal of folders only, use GET /path-parts.
|
|
164
167
|
* List Folder Contents Handler
|
|
165
168
|
*/
|
|
166
169
|
listFolderContents(requestParameters, initOverrides) {
|
|
@@ -170,7 +173,7 @@ class FoldersApi extends runtime.BaseAPI {
|
|
|
170
173
|
});
|
|
171
174
|
}
|
|
172
175
|
/**
|
|
173
|
-
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders
|
|
176
|
+
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
|
|
174
177
|
* List Folders Handler
|
|
175
178
|
*/
|
|
176
179
|
listFoldersRaw(requestParameters, initOverrides) {
|
|
@@ -200,7 +203,7 @@ class FoldersApi extends runtime.BaseAPI {
|
|
|
200
203
|
});
|
|
201
204
|
}
|
|
202
205
|
/**
|
|
203
|
-
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders
|
|
206
|
+
* List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
|
|
204
207
|
* List Folders Handler
|
|
205
208
|
*/
|
|
206
209
|
listFolders() {
|
|
@@ -13,22 +13,22 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { InviteResponse, InviteStatus, InviteUserRequest, PaginatedResponseInviteResponse } from '../models/index';
|
|
14
14
|
export interface AcceptInviteRequest {
|
|
15
15
|
inviteId: string;
|
|
16
|
-
ksUat?: string;
|
|
16
|
+
ksUat?: string | null;
|
|
17
17
|
}
|
|
18
18
|
export interface CreateInviteRequest {
|
|
19
19
|
inviteUserRequest: InviteUserRequest;
|
|
20
|
-
ksUat?: string;
|
|
20
|
+
ksUat?: string | null;
|
|
21
21
|
}
|
|
22
22
|
export interface DeleteInviteRequest {
|
|
23
23
|
inviteId: string;
|
|
24
|
-
ksUat?: string;
|
|
24
|
+
ksUat?: string | null;
|
|
25
25
|
}
|
|
26
26
|
export interface ListInvitesRequest {
|
|
27
|
-
email?: string;
|
|
27
|
+
email?: string | null;
|
|
28
28
|
status?: InviteStatus;
|
|
29
29
|
limit?: number;
|
|
30
30
|
offset?: number;
|
|
31
|
-
ksUat?: string;
|
|
31
|
+
ksUat?: string | null;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* InvitesApi - interface
|
|
@@ -10,18 +10,28 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { PaginatedResponsePathPartResponse, PathOrder, PathPartResponse } from '../models/index';
|
|
13
|
+
import type { BulkTagRequest, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse } from '../models/index';
|
|
14
|
+
export interface BulkAddPathPartTagsRequest {
|
|
15
|
+
pathPartId: string;
|
|
16
|
+
bulkTagRequest: BulkTagRequest;
|
|
17
|
+
ksUat?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export interface BulkRemovePathPartTagsRequest {
|
|
20
|
+
pathPartId: string;
|
|
21
|
+
bulkTagRequest: BulkTagRequest;
|
|
22
|
+
ksUat?: string | null;
|
|
23
|
+
}
|
|
14
24
|
export interface GetPathPartRequest {
|
|
15
25
|
pathPartId: string;
|
|
16
|
-
ksUat?: string;
|
|
26
|
+
ksUat?: string | null;
|
|
17
27
|
}
|
|
18
28
|
export interface ListPathPartsRequest {
|
|
19
|
-
parentPathId?: string;
|
|
29
|
+
parentPathId?: string | null;
|
|
20
30
|
maxDepth?: number;
|
|
21
31
|
sortOrder?: PathOrder;
|
|
22
32
|
limit?: number;
|
|
23
33
|
offset?: number;
|
|
24
|
-
ksUat?: string;
|
|
34
|
+
ksUat?: string | null;
|
|
25
35
|
}
|
|
26
36
|
/**
|
|
27
37
|
* PathPartsApi - interface
|
|
@@ -31,7 +41,39 @@ export interface ListPathPartsRequest {
|
|
|
31
41
|
*/
|
|
32
42
|
export interface PathPartsApiInterface {
|
|
33
43
|
/**
|
|
34
|
-
*
|
|
44
|
+
* Bulk add tags to a path part. Idempotent — already-attached tags are skipped. Returns 400 if any tag_id doesn\'t exist (FK violation). Requires write permission on the target path part.
|
|
45
|
+
* @summary Bulk Add Path Part Tags Handler
|
|
46
|
+
* @param {string} pathPartId
|
|
47
|
+
* @param {BulkTagRequest} bulkTagRequest
|
|
48
|
+
* @param {string} [ksUat]
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
* @memberof PathPartsApiInterface
|
|
52
|
+
*/
|
|
53
|
+
bulkAddPathPartTagsRaw(requestParameters: BulkAddPathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartTagsResponse>>;
|
|
54
|
+
/**
|
|
55
|
+
* Bulk add tags to a path part. Idempotent — already-attached tags are skipped. Returns 400 if any tag_id doesn\'t exist (FK violation). Requires write permission on the target path part.
|
|
56
|
+
* Bulk Add Path Part Tags Handler
|
|
57
|
+
*/
|
|
58
|
+
bulkAddPathPartTags(requestParameters: BulkAddPathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Bulk remove tags from a path part. Silently ignores tags that aren\'t attached. Requires write permission on the target path part.
|
|
61
|
+
* @summary Bulk Remove Path Part Tags Handler
|
|
62
|
+
* @param {string} pathPartId
|
|
63
|
+
* @param {BulkTagRequest} bulkTagRequest
|
|
64
|
+
* @param {string} [ksUat]
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof PathPartsApiInterface
|
|
68
|
+
*/
|
|
69
|
+
bulkRemovePathPartTagsRaw(requestParameters: BulkRemovePathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartTagsResponse>>;
|
|
70
|
+
/**
|
|
71
|
+
* Bulk remove tags from a path part. Silently ignores tags that aren\'t attached. Requires write permission on the target path part.
|
|
72
|
+
* Bulk Remove Path Part Tags Handler
|
|
73
|
+
*/
|
|
74
|
+
bulkRemovePathPartTags(requestParameters: BulkRemovePathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Get a path part by its ID. Returns the path part with its attached tag IDs.
|
|
35
77
|
* @summary Get Path Part Handler
|
|
36
78
|
* @param {string} pathPartId
|
|
37
79
|
* @param {string} [ksUat]
|
|
@@ -41,7 +83,7 @@ export interface PathPartsApiInterface {
|
|
|
41
83
|
*/
|
|
42
84
|
getPathPartRaw(requestParameters: GetPathPartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartResponse>>;
|
|
43
85
|
/**
|
|
44
|
-
* Get a path part by its ID. Returns the path part
|
|
86
|
+
* Get a path part by its ID. Returns the path part with its attached tag IDs.
|
|
45
87
|
* Get Path Part Handler
|
|
46
88
|
*/
|
|
47
89
|
getPathPart(requestParameters: GetPathPartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartResponse>;
|
|
@@ -70,12 +112,32 @@ export interface PathPartsApiInterface {
|
|
|
70
112
|
*/
|
|
71
113
|
export declare class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterface {
|
|
72
114
|
/**
|
|
73
|
-
*
|
|
115
|
+
* Bulk add tags to a path part. Idempotent — already-attached tags are skipped. Returns 400 if any tag_id doesn\'t exist (FK violation). Requires write permission on the target path part.
|
|
116
|
+
* Bulk Add Path Part Tags Handler
|
|
117
|
+
*/
|
|
118
|
+
bulkAddPathPartTagsRaw(requestParameters: BulkAddPathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartTagsResponse>>;
|
|
119
|
+
/**
|
|
120
|
+
* Bulk add tags to a path part. Idempotent — already-attached tags are skipped. Returns 400 if any tag_id doesn\'t exist (FK violation). Requires write permission on the target path part.
|
|
121
|
+
* Bulk Add Path Part Tags Handler
|
|
122
|
+
*/
|
|
123
|
+
bulkAddPathPartTags(requestParameters: BulkAddPathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* Bulk remove tags from a path part. Silently ignores tags that aren\'t attached. Requires write permission on the target path part.
|
|
126
|
+
* Bulk Remove Path Part Tags Handler
|
|
127
|
+
*/
|
|
128
|
+
bulkRemovePathPartTagsRaw(requestParameters: BulkRemovePathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartTagsResponse>>;
|
|
129
|
+
/**
|
|
130
|
+
* Bulk remove tags from a path part. Silently ignores tags that aren\'t attached. Requires write permission on the target path part.
|
|
131
|
+
* Bulk Remove Path Part Tags Handler
|
|
132
|
+
*/
|
|
133
|
+
bulkRemovePathPartTags(requestParameters: BulkRemovePathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* Get a path part by its ID. Returns the path part with its attached tag IDs.
|
|
74
136
|
* Get Path Part Handler
|
|
75
137
|
*/
|
|
76
138
|
getPathPartRaw(requestParameters: GetPathPartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartResponse>>;
|
|
77
139
|
/**
|
|
78
|
-
* Get a path part by its ID. Returns the path part
|
|
140
|
+
* Get a path part by its ID. Returns the path part with its attached tag IDs.
|
|
79
141
|
* Get Path Part Handler
|
|
80
142
|
*/
|
|
81
143
|
getPathPart(requestParameters: GetPathPartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartResponse>;
|