@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,114 @@
|
|
|
1
|
+
import type { AddParticipantDto } from '../models/AddParticipantDto.js';
|
|
2
|
+
import type { AppendThreadStateDto } from '../models/AppendThreadStateDto.js';
|
|
3
|
+
import type { AttachTaskDto } from '../models/AttachTaskDto.js';
|
|
4
|
+
import type { CreateTagDto } from '../models/CreateTagDto.js';
|
|
5
|
+
import type { CreateThreadDto } from '../models/CreateThreadDto.js';
|
|
6
|
+
import type { ReferenceContextBlockDto } from '../models/ReferenceContextBlockDto.js';
|
|
7
|
+
import type { ThreadListResponseDto } from '../models/ThreadListResponseDto.js';
|
|
8
|
+
import type { ThreadResponseDto } from '../models/ThreadResponseDto.js';
|
|
9
|
+
import type { ThreadStateResponseDto } from '../models/ThreadStateResponseDto.js';
|
|
10
|
+
import type { UpdateThreadDto } from '../models/UpdateThreadDto.js';
|
|
11
|
+
import type { UpdateThreadStateDto } from '../models/UpdateThreadStateDto.js';
|
|
12
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
13
|
+
export declare class ThreadsService {
|
|
14
|
+
/**
|
|
15
|
+
* Create a new thread
|
|
16
|
+
* @param requestBody
|
|
17
|
+
* @returns ThreadResponseDto Thread created successfully
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static threadsControllerCreateThread(requestBody: CreateThreadDto): CancelablePromise<ThreadResponseDto>;
|
|
21
|
+
/**
|
|
22
|
+
* List all threads with lightweight retrieval
|
|
23
|
+
* @param page Page number (1-based)
|
|
24
|
+
* @param limit Number of items per page
|
|
25
|
+
* @returns ThreadListResponseDto Paginated list of threads
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static threadsControllerListThreads(page?: number, limit?: number): CancelablePromise<ThreadListResponseDto>;
|
|
29
|
+
/**
|
|
30
|
+
* Update thread title
|
|
31
|
+
* @param id Thread UUID
|
|
32
|
+
* @param requestBody
|
|
33
|
+
* @returns ThreadResponseDto Thread updated successfully
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
static threadsControllerUpdateThread(id: string, requestBody: UpdateThreadDto): CancelablePromise<ThreadResponseDto>;
|
|
37
|
+
/**
|
|
38
|
+
* Get a thread by ID with full details
|
|
39
|
+
* @param id Thread UUID
|
|
40
|
+
* @returns ThreadResponseDto Thread found
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
static threadsControllerGetThread(id: string): CancelablePromise<ThreadResponseDto>;
|
|
44
|
+
/**
|
|
45
|
+
* Delete a thread
|
|
46
|
+
* @param id Thread UUID
|
|
47
|
+
* @returns void
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static threadsControllerDeleteThread(id: string): CancelablePromise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Attach a task to the thread
|
|
53
|
+
* @param id Thread UUID
|
|
54
|
+
* @param requestBody
|
|
55
|
+
* @returns ThreadResponseDto Task attached successfully
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static threadsControllerAttachTask(id: string, requestBody: AttachTaskDto): CancelablePromise<ThreadResponseDto>;
|
|
59
|
+
/**
|
|
60
|
+
* Reference a context block in the thread
|
|
61
|
+
* @param id Thread UUID
|
|
62
|
+
* @param requestBody
|
|
63
|
+
* @returns ThreadResponseDto Context block referenced successfully
|
|
64
|
+
* @throws ApiError
|
|
65
|
+
*/
|
|
66
|
+
static threadsControllerReferenceContextBlock(id: string, requestBody: ReferenceContextBlockDto): CancelablePromise<ThreadResponseDto>;
|
|
67
|
+
/**
|
|
68
|
+
* Add a tag to a thread
|
|
69
|
+
* @param id Thread UUID
|
|
70
|
+
* @param requestBody
|
|
71
|
+
* @returns ThreadResponseDto Tag added to thread successfully
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
static threadsControllerAddTagToThread(id: string, requestBody: CreateTagDto): CancelablePromise<ThreadResponseDto>;
|
|
75
|
+
/**
|
|
76
|
+
* Remove a tag from a thread
|
|
77
|
+
* @param id
|
|
78
|
+
* @param tagId
|
|
79
|
+
* @returns ThreadResponseDto Tag removed from thread successfully
|
|
80
|
+
* @throws ApiError
|
|
81
|
+
*/
|
|
82
|
+
static threadsControllerRemoveTagFromThread(id: string, tagId: string): CancelablePromise<ThreadResponseDto>;
|
|
83
|
+
/**
|
|
84
|
+
* Add a participant to the thread
|
|
85
|
+
* @param id Thread UUID
|
|
86
|
+
* @param requestBody
|
|
87
|
+
* @returns ThreadResponseDto Participant added successfully
|
|
88
|
+
* @throws ApiError
|
|
89
|
+
*/
|
|
90
|
+
static threadsControllerAddParticipant(id: string, requestBody: AddParticipantDto): CancelablePromise<ThreadResponseDto>;
|
|
91
|
+
/**
|
|
92
|
+
* Get the state of a thread
|
|
93
|
+
* @param id Thread UUID
|
|
94
|
+
* @returns ThreadStateResponseDto Thread state retrieved successfully
|
|
95
|
+
* @throws ApiError
|
|
96
|
+
*/
|
|
97
|
+
static threadsControllerGetThreadState(id: string): CancelablePromise<ThreadStateResponseDto>;
|
|
98
|
+
/**
|
|
99
|
+
* Update the state of a thread
|
|
100
|
+
* @param id Thread UUID
|
|
101
|
+
* @param requestBody
|
|
102
|
+
* @returns ThreadStateResponseDto Thread state updated successfully
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static threadsControllerUpdateThreadState(id: string, requestBody: UpdateThreadStateDto): CancelablePromise<ThreadStateResponseDto>;
|
|
106
|
+
/**
|
|
107
|
+
* Append content to the state of a thread
|
|
108
|
+
* @param id Thread UUID
|
|
109
|
+
* @param requestBody
|
|
110
|
+
* @returns ThreadStateResponseDto Content appended to thread state successfully
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
static threadsControllerAppendThreadState(id: string, requestBody: AppendThreadStateDto): CancelablePromise<ThreadStateResponseDto>;
|
|
114
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ThreadsService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new thread
|
|
6
|
+
* @param requestBody
|
|
7
|
+
* @returns ThreadResponseDto Thread created successfully
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static threadsControllerCreateThread(requestBody) {
|
|
11
|
+
return __request(OpenAPI, {
|
|
12
|
+
method: 'POST',
|
|
13
|
+
url: '/api/v1/threads',
|
|
14
|
+
body: requestBody,
|
|
15
|
+
mediaType: 'application/json',
|
|
16
|
+
errors: {
|
|
17
|
+
400: `Invalid input data`,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* List all threads with lightweight retrieval
|
|
23
|
+
* @param page Page number (1-based)
|
|
24
|
+
* @param limit Number of items per page
|
|
25
|
+
* @returns ThreadListResponseDto Paginated list of threads
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static threadsControllerListThreads(page, limit) {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'GET',
|
|
31
|
+
url: '/api/v1/threads',
|
|
32
|
+
query: {
|
|
33
|
+
'page': page,
|
|
34
|
+
'limit': limit,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Update thread title
|
|
40
|
+
* @param id Thread UUID
|
|
41
|
+
* @param requestBody
|
|
42
|
+
* @returns ThreadResponseDto Thread updated successfully
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static threadsControllerUpdateThread(id, requestBody) {
|
|
46
|
+
return __request(OpenAPI, {
|
|
47
|
+
method: 'PATCH',
|
|
48
|
+
url: '/api/v1/threads/{id}',
|
|
49
|
+
path: {
|
|
50
|
+
'id': id,
|
|
51
|
+
},
|
|
52
|
+
body: requestBody,
|
|
53
|
+
mediaType: 'application/json',
|
|
54
|
+
errors: {
|
|
55
|
+
400: `Invalid input data`,
|
|
56
|
+
404: `Thread not found`,
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get a thread by ID with full details
|
|
62
|
+
* @param id Thread UUID
|
|
63
|
+
* @returns ThreadResponseDto Thread found
|
|
64
|
+
* @throws ApiError
|
|
65
|
+
*/
|
|
66
|
+
static threadsControllerGetThread(id) {
|
|
67
|
+
return __request(OpenAPI, {
|
|
68
|
+
method: 'GET',
|
|
69
|
+
url: '/api/v1/threads/{id}',
|
|
70
|
+
path: {
|
|
71
|
+
'id': id,
|
|
72
|
+
},
|
|
73
|
+
errors: {
|
|
74
|
+
404: `Thread not found`,
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Delete a thread
|
|
80
|
+
* @param id Thread UUID
|
|
81
|
+
* @returns void
|
|
82
|
+
* @throws ApiError
|
|
83
|
+
*/
|
|
84
|
+
static threadsControllerDeleteThread(id) {
|
|
85
|
+
return __request(OpenAPI, {
|
|
86
|
+
method: 'DELETE',
|
|
87
|
+
url: '/api/v1/threads/{id}',
|
|
88
|
+
path: {
|
|
89
|
+
'id': id,
|
|
90
|
+
},
|
|
91
|
+
errors: {
|
|
92
|
+
404: `Thread not found`,
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Attach a task to the thread
|
|
98
|
+
* @param id Thread UUID
|
|
99
|
+
* @param requestBody
|
|
100
|
+
* @returns ThreadResponseDto Task attached successfully
|
|
101
|
+
* @throws ApiError
|
|
102
|
+
*/
|
|
103
|
+
static threadsControllerAttachTask(id, requestBody) {
|
|
104
|
+
return __request(OpenAPI, {
|
|
105
|
+
method: 'POST',
|
|
106
|
+
url: '/api/v1/threads/{id}/tasks',
|
|
107
|
+
path: {
|
|
108
|
+
'id': id,
|
|
109
|
+
},
|
|
110
|
+
body: requestBody,
|
|
111
|
+
mediaType: 'application/json',
|
|
112
|
+
errors: {
|
|
113
|
+
400: `Invalid input data`,
|
|
114
|
+
404: `Thread or task not found`,
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Reference a context block in the thread
|
|
120
|
+
* @param id Thread UUID
|
|
121
|
+
* @param requestBody
|
|
122
|
+
* @returns ThreadResponseDto Context block referenced successfully
|
|
123
|
+
* @throws ApiError
|
|
124
|
+
*/
|
|
125
|
+
static threadsControllerReferenceContextBlock(id, requestBody) {
|
|
126
|
+
return __request(OpenAPI, {
|
|
127
|
+
method: 'POST',
|
|
128
|
+
url: '/api/v1/threads/{id}/context-blocks',
|
|
129
|
+
path: {
|
|
130
|
+
'id': id,
|
|
131
|
+
},
|
|
132
|
+
body: requestBody,
|
|
133
|
+
mediaType: 'application/json',
|
|
134
|
+
errors: {
|
|
135
|
+
400: `Invalid input data`,
|
|
136
|
+
404: `Thread or context block not found`,
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Add a tag to a thread
|
|
142
|
+
* @param id Thread UUID
|
|
143
|
+
* @param requestBody
|
|
144
|
+
* @returns ThreadResponseDto Tag added to thread successfully
|
|
145
|
+
* @throws ApiError
|
|
146
|
+
*/
|
|
147
|
+
static threadsControllerAddTagToThread(id, requestBody) {
|
|
148
|
+
return __request(OpenAPI, {
|
|
149
|
+
method: 'POST',
|
|
150
|
+
url: '/api/v1/threads/{id}/tags',
|
|
151
|
+
path: {
|
|
152
|
+
'id': id,
|
|
153
|
+
},
|
|
154
|
+
body: requestBody,
|
|
155
|
+
mediaType: 'application/json',
|
|
156
|
+
errors: {
|
|
157
|
+
400: `Invalid input data`,
|
|
158
|
+
404: `Thread not found`,
|
|
159
|
+
},
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Remove a tag from a thread
|
|
164
|
+
* @param id
|
|
165
|
+
* @param tagId
|
|
166
|
+
* @returns ThreadResponseDto Tag removed from thread successfully
|
|
167
|
+
* @throws ApiError
|
|
168
|
+
*/
|
|
169
|
+
static threadsControllerRemoveTagFromThread(id, tagId) {
|
|
170
|
+
return __request(OpenAPI, {
|
|
171
|
+
method: 'DELETE',
|
|
172
|
+
url: '/api/v1/threads/{id}/tags/{tagId}',
|
|
173
|
+
path: {
|
|
174
|
+
'id': id,
|
|
175
|
+
'tagId': tagId,
|
|
176
|
+
},
|
|
177
|
+
errors: {
|
|
178
|
+
404: `Thread not found`,
|
|
179
|
+
},
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Add a participant to the thread
|
|
184
|
+
* @param id Thread UUID
|
|
185
|
+
* @param requestBody
|
|
186
|
+
* @returns ThreadResponseDto Participant added successfully
|
|
187
|
+
* @throws ApiError
|
|
188
|
+
*/
|
|
189
|
+
static threadsControllerAddParticipant(id, requestBody) {
|
|
190
|
+
return __request(OpenAPI, {
|
|
191
|
+
method: 'POST',
|
|
192
|
+
url: '/api/v1/threads/{id}/participants',
|
|
193
|
+
path: {
|
|
194
|
+
'id': id,
|
|
195
|
+
},
|
|
196
|
+
body: requestBody,
|
|
197
|
+
mediaType: 'application/json',
|
|
198
|
+
errors: {
|
|
199
|
+
400: `Invalid input data`,
|
|
200
|
+
404: `Thread or actor not found`,
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Get the state of a thread
|
|
206
|
+
* @param id Thread UUID
|
|
207
|
+
* @returns ThreadStateResponseDto Thread state retrieved successfully
|
|
208
|
+
* @throws ApiError
|
|
209
|
+
*/
|
|
210
|
+
static threadsControllerGetThreadState(id) {
|
|
211
|
+
return __request(OpenAPI, {
|
|
212
|
+
method: 'GET',
|
|
213
|
+
url: '/api/v1/threads/{id}/state',
|
|
214
|
+
path: {
|
|
215
|
+
'id': id,
|
|
216
|
+
},
|
|
217
|
+
errors: {
|
|
218
|
+
404: `Thread not found`,
|
|
219
|
+
},
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Update the state of a thread
|
|
224
|
+
* @param id Thread UUID
|
|
225
|
+
* @param requestBody
|
|
226
|
+
* @returns ThreadStateResponseDto Thread state updated successfully
|
|
227
|
+
* @throws ApiError
|
|
228
|
+
*/
|
|
229
|
+
static threadsControllerUpdateThreadState(id, requestBody) {
|
|
230
|
+
return __request(OpenAPI, {
|
|
231
|
+
method: 'PATCH',
|
|
232
|
+
url: '/api/v1/threads/{id}/state',
|
|
233
|
+
path: {
|
|
234
|
+
'id': id,
|
|
235
|
+
},
|
|
236
|
+
body: requestBody,
|
|
237
|
+
mediaType: 'application/json',
|
|
238
|
+
errors: {
|
|
239
|
+
400: `Invalid input data`,
|
|
240
|
+
404: `Thread not found`,
|
|
241
|
+
},
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Append content to the state of a thread
|
|
246
|
+
* @param id Thread UUID
|
|
247
|
+
* @param requestBody
|
|
248
|
+
* @returns ThreadStateResponseDto Content appended to thread state successfully
|
|
249
|
+
* @throws ApiError
|
|
250
|
+
*/
|
|
251
|
+
static threadsControllerAppendThreadState(id, requestBody) {
|
|
252
|
+
return __request(OpenAPI, {
|
|
253
|
+
method: 'POST',
|
|
254
|
+
url: '/api/v1/threads/{id}/state/append',
|
|
255
|
+
path: {
|
|
256
|
+
'id': id,
|
|
257
|
+
},
|
|
258
|
+
body: requestBody,
|
|
259
|
+
mediaType: 'application/json',
|
|
260
|
+
errors: {
|
|
261
|
+
400: `Invalid input data`,
|
|
262
|
+
404: `Thread not found`,
|
|
263
|
+
},
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import type { ConnectionResponseDto } from '../models/ConnectionResponseDto.js';
|
|
2
|
+
import type { CreateConnectionDto } from '../models/CreateConnectionDto.js';
|
|
3
|
+
import type { CreateMappingDto } from '../models/CreateMappingDto.js';
|
|
4
|
+
import type { CreateScopeDto } from '../models/CreateScopeDto.js';
|
|
5
|
+
import type { CreateServerDto } from '../models/CreateServerDto.js';
|
|
6
|
+
import type { DeleteConnectionResponseDto } from '../models/DeleteConnectionResponseDto.js';
|
|
7
|
+
import type { DeleteMappingResponseDto } from '../models/DeleteMappingResponseDto.js';
|
|
8
|
+
import type { DeleteScopeResponseDto } from '../models/DeleteScopeResponseDto.js';
|
|
9
|
+
import type { DeleteServerResponseDto } from '../models/DeleteServerResponseDto.js';
|
|
10
|
+
import type { MappingResponseDto } from '../models/MappingResponseDto.js';
|
|
11
|
+
import type { ScopeResponseDto } from '../models/ScopeResponseDto.js';
|
|
12
|
+
import type { ServerListResponseDto } from '../models/ServerListResponseDto.js';
|
|
13
|
+
import type { ServerResponseDto } from '../models/ServerResponseDto.js';
|
|
14
|
+
import type { UpdateConnectionDto } from '../models/UpdateConnectionDto.js';
|
|
15
|
+
import type { UpdateServerDto } from '../models/UpdateServerDto.js';
|
|
16
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
17
|
+
export declare class ToolsService {
|
|
18
|
+
/**
|
|
19
|
+
* Register a new MCP server
|
|
20
|
+
* @param requestBody
|
|
21
|
+
* @returns ServerResponseDto Server created successfully
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static mcpRegistryControllerCreateServer(requestBody: CreateServerDto): CancelablePromise<ServerResponseDto>;
|
|
25
|
+
/**
|
|
26
|
+
* List all MCP servers with pagination
|
|
27
|
+
* @param page
|
|
28
|
+
* @param limit
|
|
29
|
+
* @returns ServerListResponseDto List of servers
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static mcpRegistryControllerListServers(page?: number, limit?: number): CancelablePromise<ServerListResponseDto>;
|
|
33
|
+
/**
|
|
34
|
+
* Get MCP server by UUID or provided ID
|
|
35
|
+
* @param serverId Server UUID or provided ID
|
|
36
|
+
* @returns ServerResponseDto Server found
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static mcpRegistryControllerGetServer(serverId: string): CancelablePromise<ServerResponseDto>;
|
|
40
|
+
/**
|
|
41
|
+
* Update MCP server details
|
|
42
|
+
* @param serverId Server UUID
|
|
43
|
+
* @param requestBody
|
|
44
|
+
* @returns ServerResponseDto Server updated successfully
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static mcpRegistryControllerUpdateServer(serverId: string, requestBody: UpdateServerDto): CancelablePromise<ServerResponseDto>;
|
|
48
|
+
/**
|
|
49
|
+
* Delete MCP server (must have no dependencies)
|
|
50
|
+
* @param serverId Server UUID
|
|
51
|
+
* @returns DeleteServerResponseDto Server deleted successfully
|
|
52
|
+
* @throws ApiError
|
|
53
|
+
*/
|
|
54
|
+
static mcpRegistryControllerDeleteServer(serverId: string): CancelablePromise<DeleteServerResponseDto>;
|
|
55
|
+
/**
|
|
56
|
+
* Create MCP scope(s) for a server
|
|
57
|
+
* @param serverId Server UUID
|
|
58
|
+
* @param requestBody Array of scopes to create
|
|
59
|
+
* @returns ScopeResponseDto Scope(s) created successfully
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
static mcpRegistryControllerCreateScopes(serverId: string, requestBody: Array<CreateScopeDto>): CancelablePromise<Array<ScopeResponseDto>>;
|
|
63
|
+
/**
|
|
64
|
+
* List all scopes for an MCP server
|
|
65
|
+
* @param serverId Server UUID
|
|
66
|
+
* @returns ScopeResponseDto List of scopes
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
static mcpRegistryControllerListScopes(serverId: string): CancelablePromise<Array<ScopeResponseDto>>;
|
|
70
|
+
/**
|
|
71
|
+
* Get a specific MCP scope
|
|
72
|
+
* @param serverId Server UUID
|
|
73
|
+
* @param scopeId Scope ID string
|
|
74
|
+
* @returns ScopeResponseDto Scope found
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static mcpRegistryControllerGetScope(serverId: string, scopeId: string): CancelablePromise<ScopeResponseDto>;
|
|
78
|
+
/**
|
|
79
|
+
* Delete MCP scope (must have no mappings)
|
|
80
|
+
* @param serverId Server UUID
|
|
81
|
+
* @param scopeId Scope ID string
|
|
82
|
+
* @returns DeleteScopeResponseDto Scope deleted successfully
|
|
83
|
+
* @throws ApiError
|
|
84
|
+
*/
|
|
85
|
+
static mcpRegistryControllerDeleteScope(serverId: string, scopeId: string): CancelablePromise<DeleteScopeResponseDto>;
|
|
86
|
+
/**
|
|
87
|
+
* Create OAuth connection for an MCP server
|
|
88
|
+
* @param serverId Server UUID
|
|
89
|
+
* @param requestBody
|
|
90
|
+
* @returns ConnectionResponseDto Connection created successfully
|
|
91
|
+
* @throws ApiError
|
|
92
|
+
*/
|
|
93
|
+
static mcpRegistryControllerCreateConnection(serverId: string, requestBody: CreateConnectionDto): CancelablePromise<ConnectionResponseDto>;
|
|
94
|
+
/**
|
|
95
|
+
* List all connections for an MCP server
|
|
96
|
+
* @param serverId Server UUID
|
|
97
|
+
* @returns ConnectionResponseDto List of connections
|
|
98
|
+
* @throws ApiError
|
|
99
|
+
*/
|
|
100
|
+
static mcpRegistryControllerListConnections(serverId: string): CancelablePromise<Array<ConnectionResponseDto>>;
|
|
101
|
+
/**
|
|
102
|
+
* Get a specific connection
|
|
103
|
+
* @param connectionId Connection UUID
|
|
104
|
+
* @returns ConnectionResponseDto Connection found
|
|
105
|
+
* @throws ApiError
|
|
106
|
+
*/
|
|
107
|
+
static mcpRegistryControllerGetConnection(connectionId: string): CancelablePromise<ConnectionResponseDto>;
|
|
108
|
+
/**
|
|
109
|
+
* Update connection details
|
|
110
|
+
* @param connectionId Connection UUID
|
|
111
|
+
* @param requestBody
|
|
112
|
+
* @returns ConnectionResponseDto Connection updated successfully
|
|
113
|
+
* @throws ApiError
|
|
114
|
+
*/
|
|
115
|
+
static mcpRegistryControllerUpdateConnection(connectionId: string, requestBody: UpdateConnectionDto): CancelablePromise<ConnectionResponseDto>;
|
|
116
|
+
/**
|
|
117
|
+
* Delete connection (must have no mappings)
|
|
118
|
+
* @param connectionId Connection UUID
|
|
119
|
+
* @returns DeleteConnectionResponseDto Connection deleted successfully
|
|
120
|
+
* @throws ApiError
|
|
121
|
+
*/
|
|
122
|
+
static mcpRegistryControllerDeleteConnection(connectionId: string): CancelablePromise<DeleteConnectionResponseDto>;
|
|
123
|
+
/**
|
|
124
|
+
* Create scope mapping
|
|
125
|
+
* @param serverId Server UUID
|
|
126
|
+
* @param requestBody
|
|
127
|
+
* @returns MappingResponseDto Mapping created successfully
|
|
128
|
+
* @throws ApiError
|
|
129
|
+
*/
|
|
130
|
+
static mcpRegistryControllerCreateMapping(serverId: string, requestBody: CreateMappingDto): CancelablePromise<MappingResponseDto>;
|
|
131
|
+
/**
|
|
132
|
+
* List downstream scopes for an MCP scope
|
|
133
|
+
* @param serverId Server UUID
|
|
134
|
+
* @param scopeId Scope ID string
|
|
135
|
+
* @returns MappingResponseDto List of mappings
|
|
136
|
+
* @throws ApiError
|
|
137
|
+
*/
|
|
138
|
+
static mcpRegistryControllerListMappings(serverId: string, scopeId: string): CancelablePromise<Array<MappingResponseDto>>;
|
|
139
|
+
/**
|
|
140
|
+
* Delete scope mapping
|
|
141
|
+
* @param mappingId Mapping UUID
|
|
142
|
+
* @returns DeleteMappingResponseDto Mapping deleted successfully
|
|
143
|
+
* @throws ApiError
|
|
144
|
+
*/
|
|
145
|
+
static mcpRegistryControllerDeleteMapping(mappingId: string): CancelablePromise<DeleteMappingResponseDto>;
|
|
146
|
+
}
|