@knowledge-stack/ksapi 1.23.4 → 1.24.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 +125 -6
- package/.openapi-generator/VERSION +1 -1
- package/README.md +274 -28
- package/dist/apis/AuthApi.d.ts +117 -0
- package/dist/apis/AuthApi.js +137 -47
- package/dist/apis/ChunkLineagesApi.d.ts +38 -0
- package/dist/apis/ChunkLineagesApi.js +42 -15
- package/dist/apis/ChunksApi.d.ts +78 -4
- package/dist/apis/ChunksApi.js +85 -31
- package/dist/apis/DefaultApi.d.ts +20 -0
- package/dist/apis/DefaultApi.js +28 -10
- package/dist/apis/DocumentVersionsApi.d.ts +99 -9
- package/dist/apis/DocumentVersionsApi.js +100 -37
- package/dist/apis/DocumentsApi.d.ts +80 -0
- package/dist/apis/DocumentsApi.js +84 -30
- package/dist/apis/FoldersApi.d.ts +92 -9
- package/dist/apis/FoldersApi.js +86 -32
- package/dist/apis/InvitesApi.d.ts +51 -0
- package/dist/apis/InvitesApi.js +56 -20
- package/dist/apis/PathPartsApi.d.ts +54 -0
- package/dist/apis/PathPartsApi.js +56 -20
- package/dist/apis/SectionsApi.d.ts +49 -0
- package/dist/apis/SectionsApi.js +56 -20
- package/dist/apis/TagsApi.d.ts +62 -0
- package/dist/apis/TagsApi.js +70 -25
- package/dist/apis/TenantsApi.d.ts +172 -5
- package/dist/apis/TenantsApi.js +179 -31
- package/dist/apis/ThreadMessagesApi.d.ts +41 -0
- package/dist/apis/ThreadMessagesApi.js +42 -15
- package/dist/apis/ThreadsApi.d.ts +77 -0
- package/dist/apis/ThreadsApi.js +84 -30
- package/dist/apis/UserPermissionsApi.d.ts +54 -0
- package/dist/apis/UserPermissionsApi.js +56 -20
- package/dist/apis/UsersApi.d.ts +23 -0
- package/dist/apis/UsersApi.js +28 -10
- package/dist/apis/WorkflowsApi.d.ts +38 -0
- package/dist/apis/WorkflowsApi.js +42 -15
- package/dist/esm/apis/AuthApi.d.ts +117 -0
- package/dist/esm/apis/AuthApi.js +137 -47
- package/dist/esm/apis/ChunkLineagesApi.d.ts +38 -0
- package/dist/esm/apis/ChunkLineagesApi.js +42 -15
- package/dist/esm/apis/ChunksApi.d.ts +78 -4
- package/dist/esm/apis/ChunksApi.js +85 -31
- package/dist/esm/apis/DefaultApi.d.ts +20 -0
- package/dist/esm/apis/DefaultApi.js +28 -10
- package/dist/esm/apis/DocumentVersionsApi.d.ts +99 -9
- package/dist/esm/apis/DocumentVersionsApi.js +101 -38
- package/dist/esm/apis/DocumentsApi.d.ts +80 -0
- package/dist/esm/apis/DocumentsApi.js +84 -30
- package/dist/esm/apis/FoldersApi.d.ts +92 -9
- package/dist/esm/apis/FoldersApi.js +87 -33
- package/dist/esm/apis/InvitesApi.d.ts +51 -0
- package/dist/esm/apis/InvitesApi.js +56 -20
- package/dist/esm/apis/PathPartsApi.d.ts +54 -0
- package/dist/esm/apis/PathPartsApi.js +56 -20
- package/dist/esm/apis/SectionsApi.d.ts +49 -0
- package/dist/esm/apis/SectionsApi.js +56 -20
- package/dist/esm/apis/TagsApi.d.ts +62 -0
- package/dist/esm/apis/TagsApi.js +70 -25
- package/dist/esm/apis/TenantsApi.d.ts +172 -5
- package/dist/esm/apis/TenantsApi.js +180 -32
- package/dist/esm/apis/ThreadMessagesApi.d.ts +41 -0
- package/dist/esm/apis/ThreadMessagesApi.js +42 -15
- package/dist/esm/apis/ThreadsApi.d.ts +77 -0
- package/dist/esm/apis/ThreadsApi.js +84 -30
- package/dist/esm/apis/UserPermissionsApi.d.ts +54 -0
- package/dist/esm/apis/UserPermissionsApi.js +56 -20
- package/dist/esm/apis/UsersApi.d.ts +23 -0
- package/dist/esm/apis/UsersApi.js +28 -10
- package/dist/esm/apis/WorkflowsApi.d.ts +38 -0
- package/dist/esm/apis/WorkflowsApi.js +42 -15
- package/dist/esm/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
- package/dist/esm/models/{DocumentContentPathPart.js → ChunkContentItem.js} +17 -16
- package/dist/esm/models/ChunkResponse.d.ts +6 -0
- package/dist/esm/models/ChunkResponse.js +2 -0
- package/dist/esm/models/DocumentResponse.d.ts +13 -0
- package/dist/esm/models/DocumentResponse.js +8 -0
- package/dist/esm/models/FolderResponse.d.ts +13 -0
- package/dist/esm/models/FolderResponse.js +8 -0
- package/dist/esm/models/FolderResponseOrDocumentResponse.d.ts +27 -0
- package/dist/esm/models/FolderResponseOrDocumentResponse.js +47 -0
- package/dist/esm/models/InviteResponse.d.ts +7 -0
- package/dist/esm/models/InviteResponse.js +5 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +70 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +70 -0
- package/dist/esm/models/PaginatedResponseTenantUserResponse.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseTenantUserInTenantResponse.js → PaginatedResponseTenantUserResponse.js} +12 -12
- package/dist/esm/models/ScoredChunkResponse.d.ts +6 -0
- package/dist/esm/models/ScoredChunkResponse.js +2 -0
- package/dist/esm/models/SectionContentItem.d.ts +114 -0
- package/dist/esm/models/SectionContentItem.js +86 -0
- package/dist/esm/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
- package/dist/esm/models/SectionContentItemOrChunkContentItem.js +47 -0
- package/dist/esm/models/TenantUserEditRequest.d.ts +48 -0
- package/dist/esm/models/TenantUserEditRequest.js +45 -0
- package/dist/esm/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
- package/dist/esm/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +13 -9
- package/dist/esm/models/index.d.ts +9 -6
- package/dist/esm/models/index.js +9 -6
- package/dist/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
- package/dist/models/{DocumentContentPathPart.js → ChunkContentItem.js} +23 -22
- package/dist/models/ChunkResponse.d.ts +6 -0
- package/dist/models/ChunkResponse.js +2 -0
- package/dist/models/DocumentResponse.d.ts +13 -0
- package/dist/models/DocumentResponse.js +9 -1
- package/dist/models/FolderResponse.d.ts +13 -0
- package/dist/models/FolderResponse.js +9 -1
- package/dist/models/FolderResponseOrDocumentResponse.d.ts +27 -0
- package/dist/models/FolderResponseOrDocumentResponse.js +53 -0
- package/dist/models/InviteResponse.d.ts +7 -0
- package/dist/models/InviteResponse.js +5 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +78 -0
- package/dist/models/PaginatedResponseTenantUserResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseTenantUserResponse.js +78 -0
- package/dist/models/ScoredChunkResponse.d.ts +6 -0
- package/dist/models/ScoredChunkResponse.js +2 -0
- package/dist/models/SectionContentItem.d.ts +114 -0
- package/dist/models/SectionContentItem.js +94 -0
- package/dist/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
- package/dist/models/SectionContentItemOrChunkContentItem.js +53 -0
- package/dist/models/TenantUserEditRequest.d.ts +48 -0
- package/dist/models/TenantUserEditRequest.js +53 -0
- package/dist/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
- package/dist/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +19 -15
- package/dist/models/index.d.ts +9 -6
- package/dist/models/index.js +9 -6
- package/docs/AuthApi.md +707 -0
- package/docs/BulkTagRequest.md +35 -0
- package/docs/ChunkContentItem.md +59 -0
- package/docs/ChunkLineageResponse.md +41 -0
- package/docs/ChunkLineagesApi.md +230 -0
- package/docs/ChunkMetadataInput.md +37 -0
- package/docs/ChunkMetadataOutput.md +37 -0
- package/docs/ChunkResponse.md +63 -0
- package/docs/ChunkSearchRequest.md +47 -0
- package/docs/ChunkType.md +33 -0
- package/docs/ChunksApi.md +446 -0
- package/docs/ClearVersionContentsResponse.md +35 -0
- package/docs/CreateChunkLineageRequest.md +37 -0
- package/docs/CreateChunkRequest.md +43 -0
- package/docs/CreateDocumentRequest.md +41 -0
- package/docs/CreateFolderRequest.md +37 -0
- package/docs/CreatePasswordUserRequest.md +36 -0
- package/docs/CreatePermissionRequest.md +40 -0
- package/docs/CreateSectionRequest.md +41 -0
- package/docs/CreateTagRequest.md +39 -0
- package/docs/CreateTenantRequest.md +37 -0
- package/docs/CreateThreadMessageRequest.md +37 -0
- package/docs/CreateThreadRequest.md +37 -0
- package/docs/DefaultApi.md +128 -0
- package/docs/DocumentOrigin.md +33 -0
- package/docs/DocumentResponse.md +63 -0
- package/docs/DocumentType.md +33 -0
- package/docs/DocumentVersionMetadata.md +47 -0
- package/docs/DocumentVersionMetadataUpdate.md +47 -0
- package/docs/DocumentVersionResponse.md +57 -0
- package/docs/DocumentVersionsApi.md +530 -0
- package/docs/DocumentsApi.md +464 -0
- package/docs/EmailSentResponse.md +34 -0
- package/docs/EmailVerificationRequest.md +34 -0
- package/docs/EmbeddingModel.md +33 -0
- package/docs/FolderResponse.md +55 -0
- package/docs/FolderResponseOrDocumentResponse.md +62 -0
- package/docs/FoldersApi.md +473 -0
- package/docs/HTTPValidationError.md +34 -0
- package/docs/HealthCheckResponse.md +36 -0
- package/docs/IdpType.md +33 -0
- package/docs/IngestDocumentResponse.md +39 -0
- package/docs/InviteResponse.md +53 -0
- package/docs/InviteStatus.md +32 -0
- package/docs/InviteUserRequest.md +38 -0
- package/docs/InvitesApi.md +305 -0
- package/docs/LineageEdgeResponse.md +37 -0
- package/docs/LineageGraphResponse.md +37 -0
- package/docs/LineageNodeResponse.md +47 -0
- package/docs/LocationInner.md +32 -0
- package/docs/MessageRole.md +33 -0
- package/docs/OAuth2Config.md +41 -0
- package/docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md +40 -0
- package/docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md +40 -0
- package/docs/PaginatedResponseDocumentResponse.md +40 -0
- package/docs/PaginatedResponseDocumentVersionResponse.md +40 -0
- package/docs/PaginatedResponseFolderResponse.md +40 -0
- package/docs/PaginatedResponseInviteResponse.md +40 -0
- package/docs/PaginatedResponsePathPartResponse.md +40 -0
- package/docs/PaginatedResponsePermissionResponse.md +40 -0
- package/docs/PaginatedResponseTagResponse.md +40 -0
- package/docs/PaginatedResponseTenantResponse.md +40 -0
- package/docs/PaginatedResponseTenantUserResponse.md +40 -0
- package/docs/PaginatedResponseThreadMessageResponse.md +40 -0
- package/docs/PaginatedResponseThreadResponse.md +40 -0
- package/docs/PaginatedResponseWorkflowSummaryResponse.md +40 -0
- package/docs/PartType.md +33 -0
- package/docs/PasswordResetRequest.md +36 -0
- package/docs/PasswordResetWithTokenRequest.md +36 -0
- package/docs/PathOrder.md +33 -0
- package/docs/PathPartResponse.md +53 -0
- package/docs/PathPartTagsResponse.md +35 -0
- package/docs/PathPartsApi.md +314 -0
- package/docs/PermissionCapability.md +33 -0
- package/docs/PermissionResponse.md +48 -0
- package/docs/PipelineState.md +45 -0
- package/docs/PipelineStatus.md +33 -0
- package/docs/Polygon.md +41 -0
- package/docs/PolygonReference.md +37 -0
- package/docs/RootResponse.md +36 -0
- package/docs/ScoredChunkResponse.md +65 -0
- package/docs/SectionContentItem.md +55 -0
- package/docs/SectionContentItemOrChunkContentItem.md +60 -0
- package/docs/SectionResponse.md +57 -0
- package/docs/SectionsApi.md +299 -0
- package/docs/SignInRequest.md +38 -0
- package/docs/TagResponse.md +47 -0
- package/docs/TagsApi.md +374 -0
- package/docs/TenantResponse.md +39 -0
- package/docs/TenantUserEditRequest.md +35 -0
- package/docs/TenantUserResponse.md +43 -0
- package/docs/TenantUserRole.md +33 -0
- package/docs/TenantsApi.md +605 -0
- package/docs/ThreadMessageResponse.md +53 -0
- package/docs/ThreadMessagesApi.md +239 -0
- package/docs/ThreadResponse.md +49 -0
- package/docs/ThreadsApi.md +455 -0
- package/docs/UpdateChunkContentRequest.md +37 -0
- package/docs/UpdateChunkMetadataRequest.md +35 -0
- package/docs/UpdateDocumentRequest.md +39 -0
- package/docs/UpdateFolderRequest.md +37 -0
- package/docs/UpdatePermissionRequest.md +36 -0
- package/docs/UpdateSectionRequest.md +41 -0
- package/docs/UpdateTagRequest.md +39 -0
- package/docs/UpdateTenantRequest.md +37 -0
- package/docs/UpdateThreadRequest.md +37 -0
- package/docs/UpdateUserRequest.md +34 -0
- package/docs/UserPermissionsApi.md +314 -0
- package/docs/UserResponse.md +44 -0
- package/docs/UsersApi.md +149 -0
- package/docs/ValidationError.md +42 -0
- package/docs/WorkflowAction.md +33 -0
- package/docs/WorkflowActionResponse.md +39 -0
- package/docs/WorkflowDetailResponse.md +63 -0
- package/docs/WorkflowSummaryResponse.md +49 -0
- package/docs/WorkflowsApi.md +230 -0
- package/package.json +1 -1
- package/src/apis/AuthApi.ts +214 -47
- package/src/apis/ChunkLineagesApi.ts +68 -15
- package/src/apis/ChunksApi.ts +137 -33
- package/src/apis/DefaultApi.ts +40 -10
- package/src/apis/DocumentVersionsApi.ts +170 -45
- package/src/apis/DocumentsApi.ts +140 -30
- package/src/apis/FoldersApi.ts +153 -40
- package/src/apis/InvitesApi.ts +91 -20
- package/src/apis/PathPartsApi.ts +94 -20
- package/src/apis/SectionsApi.ts +89 -20
- package/src/apis/TagsApi.ts +112 -25
- package/src/apis/TenantsApi.ts +339 -37
- package/src/apis/ThreadMessagesApi.ts +71 -15
- package/src/apis/ThreadsApi.ts +137 -30
- package/src/apis/UserPermissionsApi.ts +94 -20
- package/src/apis/UsersApi.ts +43 -10
- package/src/apis/WorkflowsApi.ts +68 -15
- package/src/models/{DocumentContentPathPart.ts → ChunkContentItem.ts} +42 -53
- package/src/models/ChunkResponse.ts +8 -0
- package/src/models/DocumentResponse.ts +16 -0
- package/src/models/FolderResponse.ts +18 -0
- package/src/models/FolderResponseOrDocumentResponse.ts +72 -0
- package/src/models/InviteResponse.ts +19 -0
- package/src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts +130 -0
- package/src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts +130 -0
- package/src/models/{PaginatedResponseFolderDocumentResponse.ts → PaginatedResponseTenantUserResponse.ts} +25 -25
- package/src/models/ScoredChunkResponse.ts +8 -0
- package/src/models/SectionContentItem.ts +181 -0
- package/src/models/SectionContentItemOrChunkContentItem.ts +72 -0
- package/src/models/TenantUserEditRequest.ts +93 -0
- package/src/models/{TenantUserInTenantResponse.ts → TenantUserResponse.ts} +24 -15
- package/src/models/index.ts +9 -6
- package/dist/esm/models/FolderDocumentResponse.d.ts +0 -157
- package/dist/esm/models/FolderDocumentResponse.js +0 -99
- package/dist/esm/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
- package/dist/esm/models/PaginatedResponseDocumentContentPathPart.js +0 -70
- package/dist/esm/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
- package/dist/esm/models/PaginatedResponseFolderDocumentResponse.js +0 -70
- package/dist/esm/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
- package/dist/models/FolderDocumentResponse.d.ts +0 -157
- package/dist/models/FolderDocumentResponse.js +0 -107
- package/dist/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
- package/dist/models/PaginatedResponseDocumentContentPathPart.js +0 -78
- package/dist/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
- package/dist/models/PaginatedResponseFolderDocumentResponse.js +0 -78
- package/dist/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
- package/dist/models/PaginatedResponseTenantUserInTenantResponse.js +0 -78
- package/src/models/FolderDocumentResponse.ts +0 -267
- package/src/models/PaginatedResponseDocumentContentPathPart.ts +0 -130
- package/src/models/PaginatedResponseTenantUserInTenantResponse.ts +0 -130
|
@@ -27,10 +27,9 @@ import { BulkTagRequestToJSON, PaginatedResponsePathPartResponseFromJSON, PathPa
|
|
|
27
27
|
*/
|
|
28
28
|
export class PathPartsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* Bulk Add Path Part Tags Handler
|
|
30
|
+
* Creates request options for bulkAddPathPartTags without sending the request
|
|
32
31
|
*/
|
|
33
|
-
|
|
32
|
+
bulkAddPathPartTagsRequestOpts(requestParameters) {
|
|
34
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
34
|
if (requestParameters['pathPartId'] == null) {
|
|
36
35
|
throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling bulkAddPathPartTags().');
|
|
@@ -43,13 +42,23 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
43
42
|
headerParameters['Content-Type'] = 'application/json';
|
|
44
43
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
45
44
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
46
|
-
|
|
45
|
+
return {
|
|
47
46
|
path: urlPath,
|
|
48
47
|
method: 'POST',
|
|
49
48
|
headers: headerParameters,
|
|
50
49
|
query: queryParameters,
|
|
51
50
|
body: BulkTagRequestToJSON(requestParameters['bulkTagRequest']),
|
|
52
|
-
}
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
}
|
|
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
|
+
bulkAddPathPartTagsRaw(requestParameters, initOverrides) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const requestOptions = yield this.bulkAddPathPartTagsRequestOpts(requestParameters);
|
|
61
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
53
62
|
return new runtime.JSONApiResponse(response, (jsonValue) => PathPartTagsResponseFromJSON(jsonValue));
|
|
54
63
|
});
|
|
55
64
|
}
|
|
@@ -64,10 +73,9 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
64
73
|
});
|
|
65
74
|
}
|
|
66
75
|
/**
|
|
67
|
-
*
|
|
68
|
-
* Bulk Remove Path Part Tags Handler
|
|
76
|
+
* Creates request options for bulkRemovePathPartTags without sending the request
|
|
69
77
|
*/
|
|
70
|
-
|
|
78
|
+
bulkRemovePathPartTagsRequestOpts(requestParameters) {
|
|
71
79
|
return __awaiter(this, void 0, void 0, function* () {
|
|
72
80
|
if (requestParameters['pathPartId'] == null) {
|
|
73
81
|
throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling bulkRemovePathPartTags().');
|
|
@@ -80,13 +88,23 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
80
88
|
headerParameters['Content-Type'] = 'application/json';
|
|
81
89
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
82
90
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
83
|
-
|
|
91
|
+
return {
|
|
84
92
|
path: urlPath,
|
|
85
93
|
method: 'DELETE',
|
|
86
94
|
headers: headerParameters,
|
|
87
95
|
query: queryParameters,
|
|
88
96
|
body: BulkTagRequestToJSON(requestParameters['bulkTagRequest']),
|
|
89
|
-
}
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Bulk remove tags from a path part. Silently ignores tags that aren\'t attached. Requires write permission on the target path part.
|
|
102
|
+
* Bulk Remove Path Part Tags Handler
|
|
103
|
+
*/
|
|
104
|
+
bulkRemovePathPartTagsRaw(requestParameters, initOverrides) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const requestOptions = yield this.bulkRemovePathPartTagsRequestOpts(requestParameters);
|
|
107
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
90
108
|
return new runtime.JSONApiResponse(response, (jsonValue) => PathPartTagsResponseFromJSON(jsonValue));
|
|
91
109
|
});
|
|
92
110
|
}
|
|
@@ -101,10 +119,9 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
101
119
|
});
|
|
102
120
|
}
|
|
103
121
|
/**
|
|
104
|
-
*
|
|
105
|
-
* Get Path Part Handler
|
|
122
|
+
* Creates request options for getPathPart without sending the request
|
|
106
123
|
*/
|
|
107
|
-
|
|
124
|
+
getPathPartRequestOpts(requestParameters) {
|
|
108
125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
109
126
|
if (requestParameters['pathPartId'] == null) {
|
|
110
127
|
throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling getPathPart().');
|
|
@@ -113,12 +130,22 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
113
130
|
const headerParameters = {};
|
|
114
131
|
let urlPath = `/v1/path-parts/{path_part_id}`;
|
|
115
132
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
116
|
-
|
|
133
|
+
return {
|
|
117
134
|
path: urlPath,
|
|
118
135
|
method: 'GET',
|
|
119
136
|
headers: headerParameters,
|
|
120
137
|
query: queryParameters,
|
|
121
|
-
}
|
|
138
|
+
};
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Get a path part by its ID. Returns the path part with its attached tag IDs.
|
|
143
|
+
* Get Path Part Handler
|
|
144
|
+
*/
|
|
145
|
+
getPathPartRaw(requestParameters, initOverrides) {
|
|
146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
+
const requestOptions = yield this.getPathPartRequestOpts(requestParameters);
|
|
148
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
122
149
|
return new runtime.JSONApiResponse(response, (jsonValue) => PathPartResponseFromJSON(jsonValue));
|
|
123
150
|
});
|
|
124
151
|
}
|
|
@@ -133,10 +160,9 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
133
160
|
});
|
|
134
161
|
}
|
|
135
162
|
/**
|
|
136
|
-
*
|
|
137
|
-
* List Path Parts Handler
|
|
163
|
+
* Creates request options for listPathParts without sending the request
|
|
138
164
|
*/
|
|
139
|
-
|
|
165
|
+
listPathPartsRequestOpts(requestParameters) {
|
|
140
166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
141
167
|
const queryParameters = {};
|
|
142
168
|
if (requestParameters['parentPathId'] != null) {
|
|
@@ -156,12 +182,22 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
156
182
|
}
|
|
157
183
|
const headerParameters = {};
|
|
158
184
|
let urlPath = `/v1/path-parts`;
|
|
159
|
-
|
|
185
|
+
return {
|
|
160
186
|
path: urlPath,
|
|
161
187
|
method: 'GET',
|
|
162
188
|
headers: headerParameters,
|
|
163
189
|
query: queryParameters,
|
|
164
|
-
}
|
|
190
|
+
};
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* List path parts (folders) under a parent with traversal. This is a generic endpoint for traversing the folder hierarchy. It returns only FOLDER type path parts. - If parent_path_id is not provided, lists contents of the root folder. - max_depth controls how deep to traverse (1 = direct children only). - sort_order controls the ordering: LOGICAL (linked-list), NAME, UPDATED_AT, CREATED_AT. For listing folder contents that includes documents with enriched metadata, use GET /folders/{folder_id}/contents instead.
|
|
195
|
+
* List Path Parts Handler
|
|
196
|
+
*/
|
|
197
|
+
listPathPartsRaw(requestParameters, initOverrides) {
|
|
198
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
+
const requestOptions = yield this.listPathPartsRequestOpts(requestParameters);
|
|
200
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
165
201
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResponsePathPartResponseFromJSON(jsonValue));
|
|
166
202
|
});
|
|
167
203
|
}
|
|
@@ -35,6 +35,14 @@ export interface UpdateSectionOperationRequest {
|
|
|
35
35
|
* @interface SectionsApiInterface
|
|
36
36
|
*/
|
|
37
37
|
export interface SectionsApiInterface {
|
|
38
|
+
/**
|
|
39
|
+
* Creates request options for createSection without sending the request
|
|
40
|
+
* @param {CreateSectionRequest} createSectionRequest
|
|
41
|
+
* @param {string} [ksUat]
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
* @memberof SectionsApiInterface
|
|
44
|
+
*/
|
|
45
|
+
createSectionRequestOpts(requestParameters: CreateSectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
38
46
|
/**
|
|
39
47
|
* Create a new section. The section is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). If prev_sibling_path_id is provided, the section is inserted after that sibling; otherwise it is appended to the end of the sibling list.
|
|
40
48
|
* @summary Create Section Handler
|
|
@@ -50,6 +58,14 @@ export interface SectionsApiInterface {
|
|
|
50
58
|
* Create Section Handler
|
|
51
59
|
*/
|
|
52
60
|
createSection(requestParameters: CreateSectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SectionResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Creates request options for deleteSection without sending the request
|
|
63
|
+
* @param {string} sectionId
|
|
64
|
+
* @param {string} [ksUat]
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
* @memberof SectionsApiInterface
|
|
67
|
+
*/
|
|
68
|
+
deleteSectionRequestOpts(requestParameters: DeleteSectionRequest): Promise<runtime.RequestOpts>;
|
|
53
69
|
/**
|
|
54
70
|
* Delete a section and all its children. WARNING: This cascades to all child sections due to parent_id ON DELETE CASCADE.
|
|
55
71
|
* @summary Delete Section Handler
|
|
@@ -65,6 +81,14 @@ export interface SectionsApiInterface {
|
|
|
65
81
|
* Delete Section Handler
|
|
66
82
|
*/
|
|
67
83
|
deleteSection(requestParameters: DeleteSectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Creates request options for getSection without sending the request
|
|
86
|
+
* @param {string} sectionId
|
|
87
|
+
* @param {string} [ksUat]
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
* @memberof SectionsApiInterface
|
|
90
|
+
*/
|
|
91
|
+
getSectionRequestOpts(requestParameters: GetSectionRequest): Promise<runtime.RequestOpts>;
|
|
68
92
|
/**
|
|
69
93
|
* Get a section by its ID.
|
|
70
94
|
* @summary Get Section Handler
|
|
@@ -80,6 +104,15 @@ export interface SectionsApiInterface {
|
|
|
80
104
|
* Get Section Handler
|
|
81
105
|
*/
|
|
82
106
|
getSection(requestParameters: GetSectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SectionResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* Creates request options for updateSection without sending the request
|
|
109
|
+
* @param {string} sectionId
|
|
110
|
+
* @param {UpdateSectionRequest} updateSectionRequest
|
|
111
|
+
* @param {string} [ksUat]
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
* @memberof SectionsApiInterface
|
|
114
|
+
*/
|
|
115
|
+
updateSectionRequestOpts(requestParameters: UpdateSectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
83
116
|
/**
|
|
84
117
|
* Update a section. Can update name, page_number, and/or reorder within siblings. To move: provide prev_sibling_path_id OR move_to_head (not both). Moving is only allowed within the same document version. Note: Section names can contain any characters. The corresponding path_part.name will be automatically normalized by a database trigger.
|
|
85
118
|
* @summary Update Section Handler
|
|
@@ -101,6 +134,10 @@ export interface SectionsApiInterface {
|
|
|
101
134
|
*
|
|
102
135
|
*/
|
|
103
136
|
export declare class SectionsApi extends runtime.BaseAPI implements SectionsApiInterface {
|
|
137
|
+
/**
|
|
138
|
+
* Creates request options for createSection without sending the request
|
|
139
|
+
*/
|
|
140
|
+
createSectionRequestOpts(requestParameters: CreateSectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
104
141
|
/**
|
|
105
142
|
* Create a new section. The section is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). If prev_sibling_path_id is provided, the section is inserted after that sibling; otherwise it is appended to the end of the sibling list.
|
|
106
143
|
* Create Section Handler
|
|
@@ -111,6 +148,10 @@ export declare class SectionsApi extends runtime.BaseAPI implements SectionsApiI
|
|
|
111
148
|
* Create Section Handler
|
|
112
149
|
*/
|
|
113
150
|
createSection(requestParameters: CreateSectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SectionResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* Creates request options for deleteSection without sending the request
|
|
153
|
+
*/
|
|
154
|
+
deleteSectionRequestOpts(requestParameters: DeleteSectionRequest): Promise<runtime.RequestOpts>;
|
|
114
155
|
/**
|
|
115
156
|
* Delete a section and all its children. WARNING: This cascades to all child sections due to parent_id ON DELETE CASCADE.
|
|
116
157
|
* Delete Section Handler
|
|
@@ -121,6 +162,10 @@ export declare class SectionsApi extends runtime.BaseAPI implements SectionsApiI
|
|
|
121
162
|
* Delete Section Handler
|
|
122
163
|
*/
|
|
123
164
|
deleteSection(requestParameters: DeleteSectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
165
|
+
/**
|
|
166
|
+
* Creates request options for getSection without sending the request
|
|
167
|
+
*/
|
|
168
|
+
getSectionRequestOpts(requestParameters: GetSectionRequest): Promise<runtime.RequestOpts>;
|
|
124
169
|
/**
|
|
125
170
|
* Get a section by its ID.
|
|
126
171
|
* Get Section Handler
|
|
@@ -131,6 +176,10 @@ export declare class SectionsApi extends runtime.BaseAPI implements SectionsApiI
|
|
|
131
176
|
* Get Section Handler
|
|
132
177
|
*/
|
|
133
178
|
getSection(requestParameters: GetSectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SectionResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* Creates request options for updateSection without sending the request
|
|
181
|
+
*/
|
|
182
|
+
updateSectionRequestOpts(requestParameters: UpdateSectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
134
183
|
/**
|
|
135
184
|
* Update a section. Can update name, page_number, and/or reorder within siblings. To move: provide prev_sibling_path_id OR move_to_head (not both). Moving is only allowed within the same document version. Note: Section names can contain any characters. The corresponding path_part.name will be automatically normalized by a database trigger.
|
|
136
185
|
* Update Section Handler
|
|
@@ -27,10 +27,9 @@ import { CreateSectionRequestToJSON, SectionResponseFromJSON, UpdateSectionReque
|
|
|
27
27
|
*/
|
|
28
28
|
export class SectionsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* Create Section Handler
|
|
30
|
+
* Creates request options for createSection without sending the request
|
|
32
31
|
*/
|
|
33
|
-
|
|
32
|
+
createSectionRequestOpts(requestParameters) {
|
|
34
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
34
|
if (requestParameters['createSectionRequest'] == null) {
|
|
36
35
|
throw new runtime.RequiredError('createSectionRequest', 'Required parameter "createSectionRequest" was null or undefined when calling createSection().');
|
|
@@ -39,13 +38,23 @@ export class SectionsApi extends runtime.BaseAPI {
|
|
|
39
38
|
const headerParameters = {};
|
|
40
39
|
headerParameters['Content-Type'] = 'application/json';
|
|
41
40
|
let urlPath = `/v1/sections`;
|
|
42
|
-
|
|
41
|
+
return {
|
|
43
42
|
path: urlPath,
|
|
44
43
|
method: 'POST',
|
|
45
44
|
headers: headerParameters,
|
|
46
45
|
query: queryParameters,
|
|
47
46
|
body: CreateSectionRequestToJSON(requestParameters['createSectionRequest']),
|
|
48
|
-
}
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Create a new section. The section is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). If prev_sibling_path_id is provided, the section is inserted after that sibling; otherwise it is appended to the end of the sibling list.
|
|
52
|
+
* Create Section Handler
|
|
53
|
+
*/
|
|
54
|
+
createSectionRaw(requestParameters, initOverrides) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const requestOptions = yield this.createSectionRequestOpts(requestParameters);
|
|
57
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
49
58
|
return new runtime.JSONApiResponse(response, (jsonValue) => SectionResponseFromJSON(jsonValue));
|
|
50
59
|
});
|
|
51
60
|
}
|
|
@@ -60,10 +69,9 @@ export class SectionsApi extends runtime.BaseAPI {
|
|
|
60
69
|
});
|
|
61
70
|
}
|
|
62
71
|
/**
|
|
63
|
-
*
|
|
64
|
-
* Delete Section Handler
|
|
72
|
+
* Creates request options for deleteSection without sending the request
|
|
65
73
|
*/
|
|
66
|
-
|
|
74
|
+
deleteSectionRequestOpts(requestParameters) {
|
|
67
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
68
76
|
if (requestParameters['sectionId'] == null) {
|
|
69
77
|
throw new runtime.RequiredError('sectionId', 'Required parameter "sectionId" was null or undefined when calling deleteSection().');
|
|
@@ -72,12 +80,22 @@ export class SectionsApi extends runtime.BaseAPI {
|
|
|
72
80
|
const headerParameters = {};
|
|
73
81
|
let urlPath = `/v1/sections/{section_id}`;
|
|
74
82
|
urlPath = urlPath.replace(`{${"section_id"}}`, encodeURIComponent(String(requestParameters['sectionId'])));
|
|
75
|
-
|
|
83
|
+
return {
|
|
76
84
|
path: urlPath,
|
|
77
85
|
method: 'DELETE',
|
|
78
86
|
headers: headerParameters,
|
|
79
87
|
query: queryParameters,
|
|
80
|
-
}
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Delete a section and all its children. WARNING: This cascades to all child sections due to parent_id ON DELETE CASCADE.
|
|
93
|
+
* Delete Section Handler
|
|
94
|
+
*/
|
|
95
|
+
deleteSectionRaw(requestParameters, initOverrides) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
const requestOptions = yield this.deleteSectionRequestOpts(requestParameters);
|
|
98
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
81
99
|
return new runtime.VoidApiResponse(response);
|
|
82
100
|
});
|
|
83
101
|
}
|
|
@@ -91,10 +109,9 @@ export class SectionsApi extends runtime.BaseAPI {
|
|
|
91
109
|
});
|
|
92
110
|
}
|
|
93
111
|
/**
|
|
94
|
-
*
|
|
95
|
-
* Get Section Handler
|
|
112
|
+
* Creates request options for getSection without sending the request
|
|
96
113
|
*/
|
|
97
|
-
|
|
114
|
+
getSectionRequestOpts(requestParameters) {
|
|
98
115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
99
116
|
if (requestParameters['sectionId'] == null) {
|
|
100
117
|
throw new runtime.RequiredError('sectionId', 'Required parameter "sectionId" was null or undefined when calling getSection().');
|
|
@@ -103,12 +120,22 @@ export class SectionsApi extends runtime.BaseAPI {
|
|
|
103
120
|
const headerParameters = {};
|
|
104
121
|
let urlPath = `/v1/sections/{section_id}`;
|
|
105
122
|
urlPath = urlPath.replace(`{${"section_id"}}`, encodeURIComponent(String(requestParameters['sectionId'])));
|
|
106
|
-
|
|
123
|
+
return {
|
|
107
124
|
path: urlPath,
|
|
108
125
|
method: 'GET',
|
|
109
126
|
headers: headerParameters,
|
|
110
127
|
query: queryParameters,
|
|
111
|
-
}
|
|
128
|
+
};
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Get a section by its ID.
|
|
133
|
+
* Get Section Handler
|
|
134
|
+
*/
|
|
135
|
+
getSectionRaw(requestParameters, initOverrides) {
|
|
136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
137
|
+
const requestOptions = yield this.getSectionRequestOpts(requestParameters);
|
|
138
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
112
139
|
return new runtime.JSONApiResponse(response, (jsonValue) => SectionResponseFromJSON(jsonValue));
|
|
113
140
|
});
|
|
114
141
|
}
|
|
@@ -123,10 +150,9 @@ export class SectionsApi extends runtime.BaseAPI {
|
|
|
123
150
|
});
|
|
124
151
|
}
|
|
125
152
|
/**
|
|
126
|
-
*
|
|
127
|
-
* Update Section Handler
|
|
153
|
+
* Creates request options for updateSection without sending the request
|
|
128
154
|
*/
|
|
129
|
-
|
|
155
|
+
updateSectionRequestOpts(requestParameters) {
|
|
130
156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
131
157
|
if (requestParameters['sectionId'] == null) {
|
|
132
158
|
throw new runtime.RequiredError('sectionId', 'Required parameter "sectionId" was null or undefined when calling updateSection().');
|
|
@@ -139,13 +165,23 @@ export class SectionsApi extends runtime.BaseAPI {
|
|
|
139
165
|
headerParameters['Content-Type'] = 'application/json';
|
|
140
166
|
let urlPath = `/v1/sections/{section_id}`;
|
|
141
167
|
urlPath = urlPath.replace(`{${"section_id"}}`, encodeURIComponent(String(requestParameters['sectionId'])));
|
|
142
|
-
|
|
168
|
+
return {
|
|
143
169
|
path: urlPath,
|
|
144
170
|
method: 'PATCH',
|
|
145
171
|
headers: headerParameters,
|
|
146
172
|
query: queryParameters,
|
|
147
173
|
body: UpdateSectionRequestToJSON(requestParameters['updateSectionRequest']),
|
|
148
|
-
}
|
|
174
|
+
};
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Update a section. Can update name, page_number, and/or reorder within siblings. To move: provide prev_sibling_path_id OR move_to_head (not both). Moving is only allowed within the same document version. Note: Section names can contain any characters. The corresponding path_part.name will be automatically normalized by a database trigger.
|
|
179
|
+
* Update Section Handler
|
|
180
|
+
*/
|
|
181
|
+
updateSectionRaw(requestParameters, initOverrides) {
|
|
182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
const requestOptions = yield this.updateSectionRequestOpts(requestParameters);
|
|
184
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
149
185
|
return new runtime.JSONApiResponse(response, (jsonValue) => SectionResponseFromJSON(jsonValue));
|
|
150
186
|
});
|
|
151
187
|
}
|
|
@@ -40,6 +40,14 @@ export interface UpdateTagOperationRequest {
|
|
|
40
40
|
* @interface TagsApiInterface
|
|
41
41
|
*/
|
|
42
42
|
export interface TagsApiInterface {
|
|
43
|
+
/**
|
|
44
|
+
* Creates request options for createTag without sending the request
|
|
45
|
+
* @param {CreateTagRequest} createTagRequest
|
|
46
|
+
* @param {string} [ksUat]
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
* @memberof TagsApiInterface
|
|
49
|
+
*/
|
|
50
|
+
createTagRequestOpts(requestParameters: CreateTagOperationRequest): Promise<runtime.RequestOpts>;
|
|
43
51
|
/**
|
|
44
52
|
* Create a new tag for the current tenant. Requires ADMIN or OWNER role.
|
|
45
53
|
* @summary Create Tag Handler
|
|
@@ -55,6 +63,14 @@ export interface TagsApiInterface {
|
|
|
55
63
|
* Create Tag Handler
|
|
56
64
|
*/
|
|
57
65
|
createTag(requestParameters: CreateTagOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TagResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Creates request options for deleteTag without sending the request
|
|
68
|
+
* @param {string} tagId
|
|
69
|
+
* @param {string} [ksUat]
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
* @memberof TagsApiInterface
|
|
72
|
+
*/
|
|
73
|
+
deleteTagRequestOpts(requestParameters: DeleteTagRequest): Promise<runtime.RequestOpts>;
|
|
58
74
|
/**
|
|
59
75
|
* Delete a tag and all its path_part associations. Requires ADMIN or OWNER role.
|
|
60
76
|
* @summary Delete Tag Handler
|
|
@@ -70,6 +86,14 @@ export interface TagsApiInterface {
|
|
|
70
86
|
* Delete Tag Handler
|
|
71
87
|
*/
|
|
72
88
|
deleteTag(requestParameters: DeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Creates request options for getTag without sending the request
|
|
91
|
+
* @param {string} tagId
|
|
92
|
+
* @param {string} [ksUat]
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
* @memberof TagsApiInterface
|
|
95
|
+
*/
|
|
96
|
+
getTagRequestOpts(requestParameters: GetTagRequest): Promise<runtime.RequestOpts>;
|
|
73
97
|
/**
|
|
74
98
|
* Get a tag by its ID.
|
|
75
99
|
* @summary Get Tag Handler
|
|
@@ -85,6 +109,15 @@ export interface TagsApiInterface {
|
|
|
85
109
|
* Get Tag Handler
|
|
86
110
|
*/
|
|
87
111
|
getTag(requestParameters: GetTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TagResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Creates request options for listTags without sending the request
|
|
114
|
+
* @param {number} [limit] Number of items per page
|
|
115
|
+
* @param {number} [offset] Number of items to skip
|
|
116
|
+
* @param {string} [ksUat]
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
* @memberof TagsApiInterface
|
|
119
|
+
*/
|
|
120
|
+
listTagsRequestOpts(requestParameters: ListTagsRequest): Promise<runtime.RequestOpts>;
|
|
88
121
|
/**
|
|
89
122
|
* List all tags for the current tenant.
|
|
90
123
|
* @summary List Tags Handler
|
|
@@ -101,6 +134,15 @@ export interface TagsApiInterface {
|
|
|
101
134
|
* List Tags Handler
|
|
102
135
|
*/
|
|
103
136
|
listTags(requestParameters: ListTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseTagResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* Creates request options for updateTag without sending the request
|
|
139
|
+
* @param {string} tagId
|
|
140
|
+
* @param {UpdateTagRequest} updateTagRequest
|
|
141
|
+
* @param {string} [ksUat]
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
* @memberof TagsApiInterface
|
|
144
|
+
*/
|
|
145
|
+
updateTagRequestOpts(requestParameters: UpdateTagOperationRequest): Promise<runtime.RequestOpts>;
|
|
104
146
|
/**
|
|
105
147
|
* Update a tag (name, color, and/or description). Requires ADMIN or OWNER role.
|
|
106
148
|
* @summary Update Tag Handler
|
|
@@ -122,6 +164,10 @@ export interface TagsApiInterface {
|
|
|
122
164
|
*
|
|
123
165
|
*/
|
|
124
166
|
export declare class TagsApi extends runtime.BaseAPI implements TagsApiInterface {
|
|
167
|
+
/**
|
|
168
|
+
* Creates request options for createTag without sending the request
|
|
169
|
+
*/
|
|
170
|
+
createTagRequestOpts(requestParameters: CreateTagOperationRequest): Promise<runtime.RequestOpts>;
|
|
125
171
|
/**
|
|
126
172
|
* Create a new tag for the current tenant. Requires ADMIN or OWNER role.
|
|
127
173
|
* Create Tag Handler
|
|
@@ -132,6 +178,10 @@ export declare class TagsApi extends runtime.BaseAPI implements TagsApiInterface
|
|
|
132
178
|
* Create Tag Handler
|
|
133
179
|
*/
|
|
134
180
|
createTag(requestParameters: CreateTagOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TagResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* Creates request options for deleteTag without sending the request
|
|
183
|
+
*/
|
|
184
|
+
deleteTagRequestOpts(requestParameters: DeleteTagRequest): Promise<runtime.RequestOpts>;
|
|
135
185
|
/**
|
|
136
186
|
* Delete a tag and all its path_part associations. Requires ADMIN or OWNER role.
|
|
137
187
|
* Delete Tag Handler
|
|
@@ -142,6 +192,10 @@ export declare class TagsApi extends runtime.BaseAPI implements TagsApiInterface
|
|
|
142
192
|
* Delete Tag Handler
|
|
143
193
|
*/
|
|
144
194
|
deleteTag(requestParameters: DeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
195
|
+
/**
|
|
196
|
+
* Creates request options for getTag without sending the request
|
|
197
|
+
*/
|
|
198
|
+
getTagRequestOpts(requestParameters: GetTagRequest): Promise<runtime.RequestOpts>;
|
|
145
199
|
/**
|
|
146
200
|
* Get a tag by its ID.
|
|
147
201
|
* Get Tag Handler
|
|
@@ -152,6 +206,10 @@ export declare class TagsApi extends runtime.BaseAPI implements TagsApiInterface
|
|
|
152
206
|
* Get Tag Handler
|
|
153
207
|
*/
|
|
154
208
|
getTag(requestParameters: GetTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TagResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* Creates request options for listTags without sending the request
|
|
211
|
+
*/
|
|
212
|
+
listTagsRequestOpts(requestParameters: ListTagsRequest): Promise<runtime.RequestOpts>;
|
|
155
213
|
/**
|
|
156
214
|
* List all tags for the current tenant.
|
|
157
215
|
* List Tags Handler
|
|
@@ -162,6 +220,10 @@ export declare class TagsApi extends runtime.BaseAPI implements TagsApiInterface
|
|
|
162
220
|
* List Tags Handler
|
|
163
221
|
*/
|
|
164
222
|
listTags(requestParameters?: ListTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseTagResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* Creates request options for updateTag without sending the request
|
|
225
|
+
*/
|
|
226
|
+
updateTagRequestOpts(requestParameters: UpdateTagOperationRequest): Promise<runtime.RequestOpts>;
|
|
165
227
|
/**
|
|
166
228
|
* Update a tag (name, color, and/or description). Requires ADMIN or OWNER role.
|
|
167
229
|
* Update Tag Handler
|