@taico/client 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/types.d.ts +7484 -0
- package/dist/contracts/types.js +5 -0
- package/dist/src/client/core/ApiError.d.ts +10 -0
- package/dist/src/client/core/ApiError.js +16 -0
- package/dist/src/client/core/ApiRequestOptions.d.ts +13 -0
- package/dist/src/client/core/ApiRequestOptions.js +1 -0
- package/dist/src/client/core/ApiResult.d.ts +7 -0
- package/dist/src/client/core/ApiResult.js +1 -0
- package/dist/src/client/core/CancelablePromise.d.ts +20 -0
- package/dist/src/client/core/CancelablePromise.js +99 -0
- package/dist/src/client/core/OpenAPI.d.ts +16 -0
- package/dist/src/client/core/OpenAPI.js +11 -0
- package/dist/src/client/core/request.d.ts +30 -0
- package/dist/src/client/core/request.js +275 -0
- package/dist/src/client/index.d.ts +116 -0
- package/dist/src/client/index.js +42 -0
- package/dist/src/client/models/ActorResponseDto.d.ts +35 -0
- package/dist/src/client/models/ActorResponseDto.js +11 -0
- package/dist/src/client/models/AddParticipantDto.d.ts +6 -0
- package/dist/src/client/models/AddParticipantDto.js +1 -0
- package/dist/src/client/models/AgentListResponseDto.d.ts +23 -0
- package/dist/src/client/models/AgentListResponseDto.js +1 -0
- package/dist/src/client/models/AgentResponseDto.d.ts +91 -0
- package/dist/src/client/models/AgentResponseDto.js +15 -0
- package/dist/src/client/models/AgentRunListResponseDto.d.ts +19 -0
- package/dist/src/client/models/AgentRunListResponseDto.js +1 -0
- package/dist/src/client/models/AgentRunResponseDto.d.ts +40 -0
- package/dist/src/client/models/AgentRunResponseDto.js +1 -0
- package/dist/src/client/models/AnswerInputRequestDto.d.ts +6 -0
- package/dist/src/client/models/AnswerInputRequestDto.js +1 -0
- package/dist/src/client/models/AppendBlockDto.d.ts +6 -0
- package/dist/src/client/models/AppendBlockDto.js +1 -0
- package/dist/src/client/models/AppendThreadStateDto.d.ts +6 -0
- package/dist/src/client/models/AppendThreadStateDto.js +1 -0
- package/dist/src/client/models/ArtefactResponseDto.d.ts +22 -0
- package/dist/src/client/models/ArtefactResponseDto.js +1 -0
- package/dist/src/client/models/AssignTaskDto.d.ts +10 -0
- package/dist/src/client/models/AssignTaskDto.js +1 -0
- package/dist/src/client/models/AttachTaskDto.d.ts +6 -0
- package/dist/src/client/models/AttachTaskDto.js +1 -0
- package/dist/src/client/models/AuthJourneyResponseDto.d.ts +48 -0
- package/dist/src/client/models/AuthJourneyResponseDto.js +17 -0
- package/dist/src/client/models/AuthorizationServerMetadataDto.d.ts +38 -0
- package/dist/src/client/models/AuthorizationServerMetadataDto.js +1 -0
- package/dist/src/client/models/BlockListResponseDto.d.ts +7 -0
- package/dist/src/client/models/BlockListResponseDto.js +1 -0
- package/dist/src/client/models/BlockResponseDto.d.ts +43 -0
- package/dist/src/client/models/BlockResponseDto.js +1 -0
- package/dist/src/client/models/BlockSummaryDto.d.ts +39 -0
- package/dist/src/client/models/BlockSummaryDto.js +1 -0
- package/dist/src/client/models/BlockTreeResponseDto.d.ts +38 -0
- package/dist/src/client/models/BlockTreeResponseDto.js +1 -0
- package/dist/src/client/models/ChangePasswordRequestDto.d.ts +10 -0
- package/dist/src/client/models/ChangePasswordRequestDto.js +1 -0
- package/dist/src/client/models/ChangeTaskStatusDto.d.ts +21 -0
- package/dist/src/client/models/ChangeTaskStatusDto.js +13 -0
- package/dist/src/client/models/ClientRegistrationResponseDto.d.ts +43 -0
- package/dist/src/client/models/ClientRegistrationResponseDto.js +11 -0
- package/dist/src/client/models/CommentResponseDto.d.ts +27 -0
- package/dist/src/client/models/CommentResponseDto.js +1 -0
- package/dist/src/client/models/ConnectionFlowResponseDto.d.ts +44 -0
- package/dist/src/client/models/ConnectionFlowResponseDto.js +12 -0
- package/dist/src/client/models/ConnectionResponseDto.d.ts +38 -0
- package/dist/src/client/models/ConnectionResponseDto.js +1 -0
- package/dist/src/client/models/ConsentDecisionDto.d.ts +10 -0
- package/dist/src/client/models/ConsentDecisionDto.js +1 -0
- package/dist/src/client/models/ContextBlockSummaryResponseDto.d.ts +10 -0
- package/dist/src/client/models/ContextBlockSummaryResponseDto.js +1 -0
- package/dist/src/client/models/ContextTagResponseDto.d.ts +14 -0
- package/dist/src/client/models/ContextTagResponseDto.js +1 -0
- package/dist/src/client/models/CreateAgentDto.d.ts +71 -0
- package/dist/src/client/models/CreateAgentDto.js +15 -0
- package/dist/src/client/models/CreateAgentRunDto.d.ts +6 -0
- package/dist/src/client/models/CreateAgentRunDto.js +1 -0
- package/dist/src/client/models/CreateArtefactDto.d.ts +10 -0
- package/dist/src/client/models/CreateArtefactDto.js +1 -0
- package/dist/src/client/models/CreateBlockDto.d.ts +18 -0
- package/dist/src/client/models/CreateBlockDto.js +1 -0
- package/dist/src/client/models/CreateCommentDto.d.ts +6 -0
- package/dist/src/client/models/CreateCommentDto.js +1 -0
- package/dist/src/client/models/CreateConnectionDto.d.ts +26 -0
- package/dist/src/client/models/CreateConnectionDto.js +1 -0
- package/dist/src/client/models/CreateInputRequestDto.d.ts +10 -0
- package/dist/src/client/models/CreateInputRequestDto.js +1 -0
- package/dist/src/client/models/CreateMappingDto.d.ts +14 -0
- package/dist/src/client/models/CreateMappingDto.js +1 -0
- package/dist/src/client/models/CreateProjectDto.d.ts +18 -0
- package/dist/src/client/models/CreateProjectDto.js +1 -0
- package/dist/src/client/models/CreateScopeDto.d.ts +10 -0
- package/dist/src/client/models/CreateScopeDto.js +1 -0
- package/dist/src/client/models/CreateServerDto.d.ts +18 -0
- package/dist/src/client/models/CreateServerDto.js +1 -0
- package/dist/src/client/models/CreateTagDto.d.ts +6 -0
- package/dist/src/client/models/CreateTagDto.js +1 -0
- package/dist/src/client/models/CreateTaskDto.d.ts +26 -0
- package/dist/src/client/models/CreateTaskDto.js +1 -0
- package/dist/src/client/models/CreateThreadDto.d.ts +26 -0
- package/dist/src/client/models/CreateThreadDto.js +1 -0
- package/dist/src/client/models/DeleteConnectionResponseDto.d.ts +6 -0
- package/dist/src/client/models/DeleteConnectionResponseDto.js +1 -0
- package/dist/src/client/models/DeleteMappingResponseDto.d.ts +6 -0
- package/dist/src/client/models/DeleteMappingResponseDto.js +1 -0
- package/dist/src/client/models/DeleteScopeResponseDto.d.ts +6 -0
- package/dist/src/client/models/DeleteScopeResponseDto.js +1 -0
- package/dist/src/client/models/DeleteServerResponseDto.d.ts +6 -0
- package/dist/src/client/models/DeleteServerResponseDto.js +1 -0
- package/dist/src/client/models/FlowClientDto.d.ts +10 -0
- package/dist/src/client/models/FlowClientDto.js +1 -0
- package/dist/src/client/models/FlowServerDto.d.ts +14 -0
- package/dist/src/client/models/FlowServerDto.js +1 -0
- package/dist/src/client/models/GetConsentMetadataResponseDto.d.ts +51 -0
- package/dist/src/client/models/GetConsentMetadataResponseDto.js +17 -0
- package/dist/src/client/models/InputRequestResponseDto.d.ts +38 -0
- package/dist/src/client/models/InputRequestResponseDto.js +1 -0
- package/dist/src/client/models/IntrospectTokenRequestDto.d.ts +27 -0
- package/dist/src/client/models/IntrospectTokenRequestDto.js +11 -0
- package/dist/src/client/models/IntrospectTokenResponseDto.d.ts +62 -0
- package/dist/src/client/models/IntrospectTokenResponseDto.js +10 -0
- package/dist/src/client/models/IssueAccessTokenRequestDto.d.ts +14 -0
- package/dist/src/client/models/IssueAccessTokenRequestDto.js +1 -0
- package/dist/src/client/models/IssueAccessTokenResponseDto.d.ts +26 -0
- package/dist/src/client/models/IssueAccessTokenResponseDto.js +1 -0
- package/dist/src/client/models/IssuedAccessTokenResponseDto.d.ts +54 -0
- package/dist/src/client/models/IssuedAccessTokenResponseDto.js +1 -0
- package/dist/src/client/models/JwkResponseDto.d.ts +38 -0
- package/dist/src/client/models/JwkResponseDto.js +1 -0
- package/dist/src/client/models/JwksResponseDto.d.ts +7 -0
- package/dist/src/client/models/JwksResponseDto.js +1 -0
- package/dist/src/client/models/LoginRequestDto.d.ts +10 -0
- package/dist/src/client/models/LoginRequestDto.js +1 -0
- package/dist/src/client/models/LoginResponseDto.d.ts +11 -0
- package/dist/src/client/models/LoginResponseDto.js +1 -0
- package/dist/src/client/models/MappingResponseDto.d.ts +30 -0
- package/dist/src/client/models/MappingResponseDto.js +1 -0
- package/dist/src/client/models/McpFlowResponseDto.d.ts +61 -0
- package/dist/src/client/models/McpFlowResponseDto.js +17 -0
- package/dist/src/client/models/MetaTagResponseDto.d.ts +22 -0
- package/dist/src/client/models/MetaTagResponseDto.js +1 -0
- package/dist/src/client/models/MoveBlockDto.d.ts +6 -0
- package/dist/src/client/models/MoveBlockDto.js +1 -0
- package/dist/src/client/models/PatchAgentDto.d.ts +47 -0
- package/dist/src/client/models/PatchAgentDto.js +15 -0
- package/dist/src/client/models/PatchProjectDto.d.ts +10 -0
- package/dist/src/client/models/PatchProjectDto.js +1 -0
- package/dist/src/client/models/ProjectResponseDto.d.ts +38 -0
- package/dist/src/client/models/ProjectResponseDto.js +1 -0
- package/dist/src/client/models/ProtectedResourceMetadataResponseDto.d.ts +22 -0
- package/dist/src/client/models/ProtectedResourceMetadataResponseDto.js +1 -0
- package/dist/src/client/models/ReferenceContextBlockDto.d.ts +6 -0
- package/dist/src/client/models/ReferenceContextBlockDto.js +1 -0
- package/dist/src/client/models/RegisterClientDto.d.ts +71 -0
- package/dist/src/client/models/RegisterClientDto.js +11 -0
- package/dist/src/client/models/ReorderBlockDto.d.ts +6 -0
- package/dist/src/client/models/ReorderBlockDto.js +1 -0
- package/dist/src/client/models/ScopeDto.d.ts +10 -0
- package/dist/src/client/models/ScopeDto.js +1 -0
- package/dist/src/client/models/ScopeResponseDto.d.ts +22 -0
- package/dist/src/client/models/ScopeResponseDto.js +1 -0
- package/dist/src/client/models/ScopesResponseDto.d.ts +7 -0
- package/dist/src/client/models/ScopesResponseDto.js +1 -0
- package/dist/src/client/models/ServerListResponseDto.d.ts +19 -0
- package/dist/src/client/models/ServerListResponseDto.js +1 -0
- package/dist/src/client/models/ServerResponseDto.d.ts +30 -0
- package/dist/src/client/models/ServerResponseDto.js +1 -0
- package/dist/src/client/models/TagResponseDto.d.ts +14 -0
- package/dist/src/client/models/TagResponseDto.js +1 -0
- package/dist/src/client/models/TaskInfoDto.d.ts +10 -0
- package/dist/src/client/models/TaskInfoDto.js +1 -0
- package/dist/src/client/models/TaskListResponseDto.d.ts +23 -0
- package/dist/src/client/models/TaskListResponseDto.js +1 -0
- package/dist/src/client/models/TaskResponseDto.d.ts +78 -0
- package/dist/src/client/models/TaskResponseDto.js +13 -0
- package/dist/src/client/models/TaskSearchResultDto.d.ts +14 -0
- package/dist/src/client/models/TaskSearchResultDto.js +1 -0
- package/dist/src/client/models/TaskSummaryResponseDto.d.ts +56 -0
- package/dist/src/client/models/TaskSummaryResponseDto.js +13 -0
- package/dist/src/client/models/ThreadListItemResponseDto.d.ts +10 -0
- package/dist/src/client/models/ThreadListItemResponseDto.js +1 -0
- package/dist/src/client/models/ThreadListResponseDto.d.ts +23 -0
- package/dist/src/client/models/ThreadListResponseDto.js +1 -0
- package/dist/src/client/models/ThreadResponseDto.d.ts +54 -0
- package/dist/src/client/models/ThreadResponseDto.js +1 -0
- package/dist/src/client/models/ThreadStateResponseDto.d.ts +6 -0
- package/dist/src/client/models/ThreadStateResponseDto.js +1 -0
- package/dist/src/client/models/TokenExchangeRequestDto.d.ts +36 -0
- package/dist/src/client/models/TokenExchangeRequestDto.js +17 -0
- package/dist/src/client/models/TokenExchangeResponseDto.d.ts +22 -0
- package/dist/src/client/models/TokenExchangeResponseDto.js +1 -0
- package/dist/src/client/models/TokenRequestDto.d.ts +43 -0
- package/dist/src/client/models/TokenRequestDto.js +11 -0
- package/dist/src/client/models/TokenResponseDto.d.ts +30 -0
- package/dist/src/client/models/TokenResponseDto.js +10 -0
- package/dist/src/client/models/UpdateAgentRunDto.d.ts +14 -0
- package/dist/src/client/models/UpdateAgentRunDto.js +1 -0
- package/dist/src/client/models/UpdateBlockDto.d.ts +22 -0
- package/dist/src/client/models/UpdateBlockDto.js +1 -0
- package/dist/src/client/models/UpdateConnectionDto.d.ts +26 -0
- package/dist/src/client/models/UpdateConnectionDto.js +1 -0
- package/dist/src/client/models/UpdateServerDto.d.ts +14 -0
- package/dist/src/client/models/UpdateServerDto.js +1 -0
- package/dist/src/client/models/UpdateTaskDto.d.ts +26 -0
- package/dist/src/client/models/UpdateTaskDto.js +1 -0
- package/dist/src/client/models/UpdateThreadDto.d.ts +6 -0
- package/dist/src/client/models/UpdateThreadDto.js +1 -0
- package/dist/src/client/models/UpdateThreadStateDto.d.ts +6 -0
- package/dist/src/client/models/UpdateThreadStateDto.js +1 -0
- package/dist/src/client/models/UserResponseDto.d.ts +31 -0
- package/dist/src/client/models/UserResponseDto.js +11 -0
- package/dist/src/client/services/ActorsService.d.ts +19 -0
- package/dist/src/client/services/ActorsService.js +34 -0
- package/dist/src/client/services/AgentRunService.d.ts +39 -0
- package/dist/src/client/services/AgentRunService.js +82 -0
- package/dist/src/client/services/AgentService.d.ts +45 -0
- package/dist/src/client/services/AgentService.js +85 -0
- package/dist/src/client/services/AgentTokensService.d.ts +29 -0
- package/dist/src/client/services/AgentTokensService.js +54 -0
- package/dist/src/client/services/AppService.d.ts +9 -0
- package/dist/src/client/services/AppService.js +15 -0
- package/dist/src/client/services/AuthorizationJourneysService.d.ts +11 -0
- package/dist/src/client/services/AuthorizationJourneysService.js +22 -0
- package/dist/src/client/services/AuthorizationServerService.d.ts +123 -0
- package/dist/src/client/services/AuthorizationServerService.js +265 -0
- package/dist/src/client/services/ContextService.d.ts +129 -0
- package/dist/src/client/services/ContextService.js +263 -0
- package/dist/src/client/services/DiscoveryService.d.ts +29 -0
- package/dist/src/client/services/DiscoveryService.js +48 -0
- package/dist/src/client/services/JwksService.d.ts +11 -0
- package/dist/src/client/services/JwksService.js +16 -0
- package/dist/src/client/services/MetaProjectsService.d.ts +57 -0
- package/dist/src/client/services/MetaProjectsService.js +127 -0
- package/dist/src/client/services/MetaService.d.ts +31 -0
- package/dist/src/client/services/MetaService.js +61 -0
- package/dist/src/client/services/TaskService.d.ts +174 -0
- package/dist/src/client/services/TaskService.js +385 -0
- package/dist/src/client/services/ThreadsService.d.ts +114 -0
- package/dist/src/client/services/ThreadsService.js +266 -0
- package/dist/src/client/services/ToolsService.d.ts +146 -0
- package/dist/src/client/services/ToolsService.js +336 -0
- package/dist/src/client/services/WebAuthenticationService.d.ts +43 -0
- package/dist/src/client/services/WebAuthenticationService.js +77 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +4 -0
- package/package.json +42 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import type { AppendBlockDto } from '../models/AppendBlockDto.js';
|
|
2
|
+
import type { BlockListResponseDto } from '../models/BlockListResponseDto.js';
|
|
3
|
+
import type { BlockResponseDto } from '../models/BlockResponseDto.js';
|
|
4
|
+
import type { BlockTreeResponseDto } from '../models/BlockTreeResponseDto.js';
|
|
5
|
+
import type { CreateBlockDto } from '../models/CreateBlockDto.js';
|
|
6
|
+
import type { CreateTagDto } from '../models/CreateTagDto.js';
|
|
7
|
+
import type { MoveBlockDto } from '../models/MoveBlockDto.js';
|
|
8
|
+
import type { ReorderBlockDto } from '../models/ReorderBlockDto.js';
|
|
9
|
+
import type { UpdateBlockDto } from '../models/UpdateBlockDto.js';
|
|
10
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
11
|
+
export declare class ContextService {
|
|
12
|
+
/**
|
|
13
|
+
* Create a new wiki page
|
|
14
|
+
* @param requestBody
|
|
15
|
+
* @returns BlockResponseDto Context page created successfully
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static contextControllerCreateBlock(requestBody: CreateBlockDto): CancelablePromise<BlockResponseDto>;
|
|
19
|
+
/**
|
|
20
|
+
* List wiki pages without content
|
|
21
|
+
* @param tag Filter blocks by tag name
|
|
22
|
+
* @returns BlockListResponseDto List of wiki pages
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static contextControllerListBlocks(tag?: string): CancelablePromise<BlockListResponseDto>;
|
|
26
|
+
/**
|
|
27
|
+
* Get page hierarchy tree
|
|
28
|
+
* @returns BlockTreeResponseDto Page hierarchy tree
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static contextControllerGetBlockTree(): CancelablePromise<Array<BlockTreeResponseDto>>;
|
|
32
|
+
/**
|
|
33
|
+
* Fetch a wiki page by ID
|
|
34
|
+
* @param id Context block identifier
|
|
35
|
+
* @returns BlockResponseDto Context page retrieved successfully
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static contextControllerGetBlock(id: string): CancelablePromise<BlockResponseDto>;
|
|
39
|
+
/**
|
|
40
|
+
* Update an existing wiki page
|
|
41
|
+
* @param id Context block identifier
|
|
42
|
+
* @param requestBody
|
|
43
|
+
* @returns BlockResponseDto Context page updated successfully
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static contextControllerUpdateBlock(id: string, requestBody: UpdateBlockDto): CancelablePromise<BlockResponseDto>;
|
|
47
|
+
/**
|
|
48
|
+
* Delete a wiki page
|
|
49
|
+
* @param id Context block identifier
|
|
50
|
+
* @returns void
|
|
51
|
+
* @throws ApiError
|
|
52
|
+
*/
|
|
53
|
+
static contextControllerDeleteBlock(id: string): CancelablePromise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Append content to an existing wiki page
|
|
56
|
+
* @param id Context block identifier
|
|
57
|
+
* @param requestBody
|
|
58
|
+
* @returns BlockResponseDto Context page content appended successfully
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
static contextControllerAppendToBlock(id: string, requestBody: AppendBlockDto): CancelablePromise<BlockResponseDto>;
|
|
62
|
+
/**
|
|
63
|
+
* Reorder a page within siblings
|
|
64
|
+
* @param id Context block identifier
|
|
65
|
+
* @param requestBody
|
|
66
|
+
* @returns BlockResponseDto Page reordered successfully
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
static contextControllerReorderBlock(id: string, requestBody: ReorderBlockDto): CancelablePromise<BlockResponseDto>;
|
|
70
|
+
/**
|
|
71
|
+
* Move page to different parent
|
|
72
|
+
* @param id Context block identifier
|
|
73
|
+
* @param requestBody
|
|
74
|
+
* @returns BlockResponseDto Page moved successfully
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static contextControllerMoveBlock(id: string, requestBody: MoveBlockDto): CancelablePromise<BlockResponseDto>;
|
|
78
|
+
/**
|
|
79
|
+
* Add a tag to a wiki page
|
|
80
|
+
* @param id Context block identifier
|
|
81
|
+
* @param requestBody
|
|
82
|
+
* @returns BlockResponseDto Tag added to page successfully
|
|
83
|
+
* @throws ApiError
|
|
84
|
+
*/
|
|
85
|
+
static contextControllerAddTagToBlock(id: string, requestBody: CreateTagDto): CancelablePromise<BlockResponseDto>;
|
|
86
|
+
/**
|
|
87
|
+
* Remove a tag from a wiki page
|
|
88
|
+
* @param id
|
|
89
|
+
* @param tagId
|
|
90
|
+
* @returns BlockResponseDto Tag removed from page successfully
|
|
91
|
+
* @throws ApiError
|
|
92
|
+
*/
|
|
93
|
+
static contextControllerRemoveTagFromBlock(id: string, tagId: string): CancelablePromise<BlockResponseDto>;
|
|
94
|
+
/**
|
|
95
|
+
* @returns any
|
|
96
|
+
* @throws ApiError
|
|
97
|
+
*/
|
|
98
|
+
static contextControllerHandleMcpGet(): CancelablePromise<any>;
|
|
99
|
+
/**
|
|
100
|
+
* @returns any
|
|
101
|
+
* @throws ApiError
|
|
102
|
+
*/
|
|
103
|
+
static contextControllerHandleMcpPost(): CancelablePromise<any>;
|
|
104
|
+
/**
|
|
105
|
+
* @returns any
|
|
106
|
+
* @throws ApiError
|
|
107
|
+
*/
|
|
108
|
+
static contextControllerHandleMcpPut(): CancelablePromise<any>;
|
|
109
|
+
/**
|
|
110
|
+
* @returns any
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
static contextControllerHandleMcpDelete(): CancelablePromise<any>;
|
|
114
|
+
/**
|
|
115
|
+
* @returns any
|
|
116
|
+
* @throws ApiError
|
|
117
|
+
*/
|
|
118
|
+
static contextControllerHandleMcpPatch(): CancelablePromise<any>;
|
|
119
|
+
/**
|
|
120
|
+
* @returns any
|
|
121
|
+
* @throws ApiError
|
|
122
|
+
*/
|
|
123
|
+
static contextControllerHandleMcpOptions(): CancelablePromise<any>;
|
|
124
|
+
/**
|
|
125
|
+
* @returns any
|
|
126
|
+
* @throws ApiError
|
|
127
|
+
*/
|
|
128
|
+
static contextControllerHandleMcpHead(): CancelablePromise<any>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ContextService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new wiki page
|
|
6
|
+
* @param requestBody
|
|
7
|
+
* @returns BlockResponseDto Context page created successfully
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static contextControllerCreateBlock(requestBody) {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'POST',
|
|
13
|
+
url: '/api/v1/context/blocks',
|
|
14
|
+
body: requestBody,
|
|
15
|
+
mediaType: 'application/json',
|
|
16
|
+
errors: {
|
|
17
|
+
400: `Invalid input data`,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* List wiki pages without content
|
|
23
|
+
* @param tag Filter blocks by tag name
|
|
24
|
+
* @returns BlockListResponseDto List of wiki pages
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static contextControllerListBlocks(tag) {
|
|
28
|
+
return __request(OpenAPI, {
|
|
29
|
+
method: 'GET',
|
|
30
|
+
url: '/api/v1/context/blocks',
|
|
31
|
+
query: {
|
|
32
|
+
'tag': tag,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Get page hierarchy tree
|
|
38
|
+
* @returns BlockTreeResponseDto Page hierarchy tree
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static contextControllerGetBlockTree() {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/api/v1/context/blocks/tree',
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Fetch a wiki page by ID
|
|
49
|
+
* @param id Context block identifier
|
|
50
|
+
* @returns BlockResponseDto Context page retrieved successfully
|
|
51
|
+
* @throws ApiError
|
|
52
|
+
*/
|
|
53
|
+
static contextControllerGetBlock(id) {
|
|
54
|
+
return __request(OpenAPI, {
|
|
55
|
+
method: 'GET',
|
|
56
|
+
url: '/api/v1/context/blocks/{id}',
|
|
57
|
+
path: {
|
|
58
|
+
'id': id,
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Update an existing wiki page
|
|
64
|
+
* @param id Context block identifier
|
|
65
|
+
* @param requestBody
|
|
66
|
+
* @returns BlockResponseDto Context page updated successfully
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
static contextControllerUpdateBlock(id, requestBody) {
|
|
70
|
+
return __request(OpenAPI, {
|
|
71
|
+
method: 'PATCH',
|
|
72
|
+
url: '/api/v1/context/blocks/{id}',
|
|
73
|
+
path: {
|
|
74
|
+
'id': id,
|
|
75
|
+
},
|
|
76
|
+
body: requestBody,
|
|
77
|
+
mediaType: 'application/json',
|
|
78
|
+
errors: {
|
|
79
|
+
400: `No update fields provided`,
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Delete a wiki page
|
|
85
|
+
* @param id Context block identifier
|
|
86
|
+
* @returns void
|
|
87
|
+
* @throws ApiError
|
|
88
|
+
*/
|
|
89
|
+
static contextControllerDeleteBlock(id) {
|
|
90
|
+
return __request(OpenAPI, {
|
|
91
|
+
method: 'DELETE',
|
|
92
|
+
url: '/api/v1/context/blocks/{id}',
|
|
93
|
+
path: {
|
|
94
|
+
'id': id,
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Append content to an existing wiki page
|
|
100
|
+
* @param id Context block identifier
|
|
101
|
+
* @param requestBody
|
|
102
|
+
* @returns BlockResponseDto Context page content appended successfully
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static contextControllerAppendToBlock(id, requestBody) {
|
|
106
|
+
return __request(OpenAPI, {
|
|
107
|
+
method: 'POST',
|
|
108
|
+
url: '/api/v1/context/blocks/{id}/append',
|
|
109
|
+
path: {
|
|
110
|
+
'id': id,
|
|
111
|
+
},
|
|
112
|
+
body: requestBody,
|
|
113
|
+
mediaType: 'application/json',
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Reorder a page within siblings
|
|
118
|
+
* @param id Context block identifier
|
|
119
|
+
* @param requestBody
|
|
120
|
+
* @returns BlockResponseDto Page reordered successfully
|
|
121
|
+
* @throws ApiError
|
|
122
|
+
*/
|
|
123
|
+
static contextControllerReorderBlock(id, requestBody) {
|
|
124
|
+
return __request(OpenAPI, {
|
|
125
|
+
method: 'PATCH',
|
|
126
|
+
url: '/api/v1/context/blocks/{id}/reorder',
|
|
127
|
+
path: {
|
|
128
|
+
'id': id,
|
|
129
|
+
},
|
|
130
|
+
body: requestBody,
|
|
131
|
+
mediaType: 'application/json',
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Move page to different parent
|
|
136
|
+
* @param id Context block identifier
|
|
137
|
+
* @param requestBody
|
|
138
|
+
* @returns BlockResponseDto Page moved successfully
|
|
139
|
+
* @throws ApiError
|
|
140
|
+
*/
|
|
141
|
+
static contextControllerMoveBlock(id, requestBody) {
|
|
142
|
+
return __request(OpenAPI, {
|
|
143
|
+
method: 'PATCH',
|
|
144
|
+
url: '/api/v1/context/blocks/{id}/move',
|
|
145
|
+
path: {
|
|
146
|
+
'id': id,
|
|
147
|
+
},
|
|
148
|
+
body: requestBody,
|
|
149
|
+
mediaType: 'application/json',
|
|
150
|
+
errors: {
|
|
151
|
+
400: `Circular reference detected or parent not found`,
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Add a tag to a wiki page
|
|
157
|
+
* @param id Context block identifier
|
|
158
|
+
* @param requestBody
|
|
159
|
+
* @returns BlockResponseDto Tag added to page successfully
|
|
160
|
+
* @throws ApiError
|
|
161
|
+
*/
|
|
162
|
+
static contextControllerAddTagToBlock(id, requestBody) {
|
|
163
|
+
return __request(OpenAPI, {
|
|
164
|
+
method: 'POST',
|
|
165
|
+
url: '/api/v1/context/blocks/{id}/tags',
|
|
166
|
+
path: {
|
|
167
|
+
'id': id,
|
|
168
|
+
},
|
|
169
|
+
body: requestBody,
|
|
170
|
+
mediaType: 'application/json',
|
|
171
|
+
errors: {
|
|
172
|
+
400: `Invalid input data`,
|
|
173
|
+
},
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Remove a tag from a wiki page
|
|
178
|
+
* @param id
|
|
179
|
+
* @param tagId
|
|
180
|
+
* @returns BlockResponseDto Tag removed from page successfully
|
|
181
|
+
* @throws ApiError
|
|
182
|
+
*/
|
|
183
|
+
static contextControllerRemoveTagFromBlock(id, tagId) {
|
|
184
|
+
return __request(OpenAPI, {
|
|
185
|
+
method: 'DELETE',
|
|
186
|
+
url: '/api/v1/context/blocks/{id}/tags/{tagId}',
|
|
187
|
+
path: {
|
|
188
|
+
'id': id,
|
|
189
|
+
'tagId': tagId,
|
|
190
|
+
},
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @returns any
|
|
195
|
+
* @throws ApiError
|
|
196
|
+
*/
|
|
197
|
+
static contextControllerHandleMcpGet() {
|
|
198
|
+
return __request(OpenAPI, {
|
|
199
|
+
method: 'GET',
|
|
200
|
+
url: '/api/v1/context/blocks/mcp',
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @returns any
|
|
205
|
+
* @throws ApiError
|
|
206
|
+
*/
|
|
207
|
+
static contextControllerHandleMcpPost() {
|
|
208
|
+
return __request(OpenAPI, {
|
|
209
|
+
method: 'POST',
|
|
210
|
+
url: '/api/v1/context/blocks/mcp',
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* @returns any
|
|
215
|
+
* @throws ApiError
|
|
216
|
+
*/
|
|
217
|
+
static contextControllerHandleMcpPut() {
|
|
218
|
+
return __request(OpenAPI, {
|
|
219
|
+
method: 'PUT',
|
|
220
|
+
url: '/api/v1/context/blocks/mcp',
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @returns any
|
|
225
|
+
* @throws ApiError
|
|
226
|
+
*/
|
|
227
|
+
static contextControllerHandleMcpDelete() {
|
|
228
|
+
return __request(OpenAPI, {
|
|
229
|
+
method: 'DELETE',
|
|
230
|
+
url: '/api/v1/context/blocks/mcp',
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @returns any
|
|
235
|
+
* @throws ApiError
|
|
236
|
+
*/
|
|
237
|
+
static contextControllerHandleMcpPatch() {
|
|
238
|
+
return __request(OpenAPI, {
|
|
239
|
+
method: 'PATCH',
|
|
240
|
+
url: '/api/v1/context/blocks/mcp',
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* @returns any
|
|
245
|
+
* @throws ApiError
|
|
246
|
+
*/
|
|
247
|
+
static contextControllerHandleMcpOptions() {
|
|
248
|
+
return __request(OpenAPI, {
|
|
249
|
+
method: 'OPTIONS',
|
|
250
|
+
url: '/api/v1/context/blocks/mcp',
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* @returns any
|
|
255
|
+
* @throws ApiError
|
|
256
|
+
*/
|
|
257
|
+
static contextControllerHandleMcpHead() {
|
|
258
|
+
return __request(OpenAPI, {
|
|
259
|
+
method: 'HEAD',
|
|
260
|
+
url: '/api/v1/context/blocks/mcp',
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AuthorizationServerMetadataDto } from '../models/AuthorizationServerMetadataDto.js';
|
|
2
|
+
import type { ProtectedResourceMetadataResponseDto } from '../models/ProtectedResourceMetadataResponseDto.js';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
export declare class DiscoveryService {
|
|
5
|
+
/**
|
|
6
|
+
* Get the authorization server issuer URL
|
|
7
|
+
* Returns the configured authorization server issuer URL from environment configuration
|
|
8
|
+
* @returns any Issuer URL retrieved successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static discoveryControllerGetIssuer(): CancelablePromise<{
|
|
12
|
+
issuer?: string;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Expose OAuth 2.0 Authorization Server metadata for a registered MCP server version
|
|
16
|
+
* Provides discovery metadata (RFC 8414) for OAuth 2.0 clients integrating with a specific MCP server version. Accepts either the server UUID or the providedId.
|
|
17
|
+
* @param mcpServerId MCP server UUID or providedId
|
|
18
|
+
* @param version Semantic version of the MCP server
|
|
19
|
+
* @returns AuthorizationServerMetadataDto Authorization server metadata retrieved successfully
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
static discoveryControllerGetAuthorizationServerMetadata(mcpServerId: string, version: string): CancelablePromise<AuthorizationServerMetadataDto>;
|
|
23
|
+
/**
|
|
24
|
+
* @param path
|
|
25
|
+
* @returns ProtectedResourceMetadataResponseDto Protected resource metadata retrieved successfully
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static discoveryControllerAll(path: Array<string>): CancelablePromise<ProtectedResourceMetadataResponseDto>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class DiscoveryService {
|
|
4
|
+
/**
|
|
5
|
+
* Get the authorization server issuer URL
|
|
6
|
+
* Returns the configured authorization server issuer URL from environment configuration
|
|
7
|
+
* @returns any Issuer URL retrieved successfully
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static discoveryControllerGetIssuer() {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/.well-known/oauth-authorization-server/mcp/issuer',
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Expose OAuth 2.0 Authorization Server metadata for a registered MCP server version
|
|
18
|
+
* Provides discovery metadata (RFC 8414) for OAuth 2.0 clients integrating with a specific MCP server version. Accepts either the server UUID or the providedId.
|
|
19
|
+
* @param mcpServerId MCP server UUID or providedId
|
|
20
|
+
* @param version Semantic version of the MCP server
|
|
21
|
+
* @returns AuthorizationServerMetadataDto Authorization server metadata retrieved successfully
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static discoveryControllerGetAuthorizationServerMetadata(mcpServerId, version) {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '/.well-known/oauth-authorization-server/mcp/{mcpServerId}/{version}',
|
|
28
|
+
path: {
|
|
29
|
+
'mcpServerId': mcpServerId,
|
|
30
|
+
'version': version,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @param path
|
|
36
|
+
* @returns ProtectedResourceMetadataResponseDto Protected resource metadata retrieved successfully
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static discoveryControllerAll(path) {
|
|
40
|
+
return __request(OpenAPI, {
|
|
41
|
+
method: 'GET',
|
|
42
|
+
url: '/.well-known/oauth-protected-resource/{path}',
|
|
43
|
+
path: {
|
|
44
|
+
'path': path,
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JwksResponseDto } from '../models/JwksResponseDto.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class JwksService {
|
|
4
|
+
/**
|
|
5
|
+
* Get JSON Web Key Set (JWKS)
|
|
6
|
+
* Returns the public keys used to verify JWT signatures. This endpoint provides all valid (non-expired) keys to support key rotation.
|
|
7
|
+
* @returns JwksResponseDto JWKS retrieved successfully
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static jwksControllerGetJwks(): CancelablePromise<JwksResponseDto>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class JwksService {
|
|
4
|
+
/**
|
|
5
|
+
* Get JSON Web Key Set (JWKS)
|
|
6
|
+
* Returns the public keys used to verify JWT signatures. This endpoint provides all valid (non-expired) keys to support key rotation.
|
|
7
|
+
* @returns JwksResponseDto JWKS retrieved successfully
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static jwksControllerGetJwks() {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/.well-known/jwks.json',
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { CreateProjectDto } from '../models/CreateProjectDto.js';
|
|
2
|
+
import type { PatchProjectDto } from '../models/PatchProjectDto.js';
|
|
3
|
+
import type { ProjectResponseDto } from '../models/ProjectResponseDto.js';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
5
|
+
export declare class MetaProjectsService {
|
|
6
|
+
/**
|
|
7
|
+
* Create a new project
|
|
8
|
+
* @param requestBody
|
|
9
|
+
* @returns ProjectResponseDto Project created successfully
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static projectsControllerCreateProject(requestBody: CreateProjectDto): CancelablePromise<ProjectResponseDto>;
|
|
13
|
+
/**
|
|
14
|
+
* Get all projects
|
|
15
|
+
* @returns ProjectResponseDto List of all projects
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static projectsControllerGetAllProjects(): CancelablePromise<Array<ProjectResponseDto>>;
|
|
19
|
+
/**
|
|
20
|
+
* Search projects by name and description
|
|
21
|
+
* @param q Search query
|
|
22
|
+
* @param limit Maximum number of results
|
|
23
|
+
* @param threshold Match threshold (0-1)
|
|
24
|
+
* @returns ProjectResponseDto List of matching projects
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static projectsControllerSearchProjects(q: string, limit?: number, threshold?: number): CancelablePromise<Array<ProjectResponseDto>>;
|
|
28
|
+
/**
|
|
29
|
+
* Get project by slug
|
|
30
|
+
* @param slug
|
|
31
|
+
* @returns ProjectResponseDto Project found
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static projectsControllerGetProjectBySlug(slug: string): CancelablePromise<ProjectResponseDto>;
|
|
35
|
+
/**
|
|
36
|
+
* Get project by ID
|
|
37
|
+
* @param projectId
|
|
38
|
+
* @returns ProjectResponseDto Project found
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static projectsControllerGetProject(projectId: string): CancelablePromise<ProjectResponseDto>;
|
|
42
|
+
/**
|
|
43
|
+
* Update project (partial update)
|
|
44
|
+
* @param projectId
|
|
45
|
+
* @param requestBody
|
|
46
|
+
* @returns ProjectResponseDto Project updated successfully
|
|
47
|
+
* @throws ApiError
|
|
48
|
+
*/
|
|
49
|
+
static projectsControllerUpdateProject(projectId: string, requestBody: PatchProjectDto): CancelablePromise<ProjectResponseDto>;
|
|
50
|
+
/**
|
|
51
|
+
* Delete a project
|
|
52
|
+
* @param projectId
|
|
53
|
+
* @returns void
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
static projectsControllerDeleteProject(projectId: string): CancelablePromise<void>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class MetaProjectsService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new project
|
|
6
|
+
* @param requestBody
|
|
7
|
+
* @returns ProjectResponseDto Project created successfully
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static projectsControllerCreateProject(requestBody) {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'POST',
|
|
13
|
+
url: '/api/v1/meta/projects',
|
|
14
|
+
body: requestBody,
|
|
15
|
+
mediaType: 'application/json',
|
|
16
|
+
errors: {
|
|
17
|
+
400: `Invalid input data`,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Get all projects
|
|
23
|
+
* @returns ProjectResponseDto List of all projects
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static projectsControllerGetAllProjects() {
|
|
27
|
+
return __request(OpenAPI, {
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/api/v1/meta/projects',
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Search projects by name and description
|
|
34
|
+
* @param q Search query
|
|
35
|
+
* @param limit Maximum number of results
|
|
36
|
+
* @param threshold Match threshold (0-1)
|
|
37
|
+
* @returns ProjectResponseDto List of matching projects
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static projectsControllerSearchProjects(q, limit, threshold) {
|
|
41
|
+
return __request(OpenAPI, {
|
|
42
|
+
method: 'GET',
|
|
43
|
+
url: '/api/v1/meta/projects/search',
|
|
44
|
+
query: {
|
|
45
|
+
'q': q,
|
|
46
|
+
'limit': limit,
|
|
47
|
+
'threshold': threshold,
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get project by slug
|
|
53
|
+
* @param slug
|
|
54
|
+
* @returns ProjectResponseDto Project found
|
|
55
|
+
* @throws ApiError
|
|
56
|
+
*/
|
|
57
|
+
static projectsControllerGetProjectBySlug(slug) {
|
|
58
|
+
return __request(OpenAPI, {
|
|
59
|
+
method: 'GET',
|
|
60
|
+
url: '/api/v1/meta/projects/by-slug/{slug}',
|
|
61
|
+
path: {
|
|
62
|
+
'slug': slug,
|
|
63
|
+
},
|
|
64
|
+
errors: {
|
|
65
|
+
404: `Project not found`,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get project by ID
|
|
71
|
+
* @param projectId
|
|
72
|
+
* @returns ProjectResponseDto Project found
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
static projectsControllerGetProject(projectId) {
|
|
76
|
+
return __request(OpenAPI, {
|
|
77
|
+
method: 'GET',
|
|
78
|
+
url: '/api/v1/meta/projects/{projectId}',
|
|
79
|
+
path: {
|
|
80
|
+
'projectId': projectId,
|
|
81
|
+
},
|
|
82
|
+
errors: {
|
|
83
|
+
404: `Project not found`,
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Update project (partial update)
|
|
89
|
+
* @param projectId
|
|
90
|
+
* @param requestBody
|
|
91
|
+
* @returns ProjectResponseDto Project updated successfully
|
|
92
|
+
* @throws ApiError
|
|
93
|
+
*/
|
|
94
|
+
static projectsControllerUpdateProject(projectId, requestBody) {
|
|
95
|
+
return __request(OpenAPI, {
|
|
96
|
+
method: 'PATCH',
|
|
97
|
+
url: '/api/v1/meta/projects/{projectId}',
|
|
98
|
+
path: {
|
|
99
|
+
'projectId': projectId,
|
|
100
|
+
},
|
|
101
|
+
body: requestBody,
|
|
102
|
+
mediaType: 'application/json',
|
|
103
|
+
errors: {
|
|
104
|
+
400: `Invalid input data`,
|
|
105
|
+
404: `Project not found`,
|
|
106
|
+
},
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Delete a project
|
|
111
|
+
* @param projectId
|
|
112
|
+
* @returns void
|
|
113
|
+
* @throws ApiError
|
|
114
|
+
*/
|
|
115
|
+
static projectsControllerDeleteProject(projectId) {
|
|
116
|
+
return __request(OpenAPI, {
|
|
117
|
+
method: 'DELETE',
|
|
118
|
+
url: '/api/v1/meta/projects/{projectId}',
|
|
119
|
+
path: {
|
|
120
|
+
'projectId': projectId,
|
|
121
|
+
},
|
|
122
|
+
errors: {
|
|
123
|
+
404: `Project not found`,
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
}
|