@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.
Files changed (243) hide show
  1. package/dist/contracts/types.d.ts +7484 -0
  2. package/dist/contracts/types.js +5 -0
  3. package/dist/src/client/core/ApiError.d.ts +10 -0
  4. package/dist/src/client/core/ApiError.js +16 -0
  5. package/dist/src/client/core/ApiRequestOptions.d.ts +13 -0
  6. package/dist/src/client/core/ApiRequestOptions.js +1 -0
  7. package/dist/src/client/core/ApiResult.d.ts +7 -0
  8. package/dist/src/client/core/ApiResult.js +1 -0
  9. package/dist/src/client/core/CancelablePromise.d.ts +20 -0
  10. package/dist/src/client/core/CancelablePromise.js +99 -0
  11. package/dist/src/client/core/OpenAPI.d.ts +16 -0
  12. package/dist/src/client/core/OpenAPI.js +11 -0
  13. package/dist/src/client/core/request.d.ts +30 -0
  14. package/dist/src/client/core/request.js +275 -0
  15. package/dist/src/client/index.d.ts +116 -0
  16. package/dist/src/client/index.js +42 -0
  17. package/dist/src/client/models/ActorResponseDto.d.ts +35 -0
  18. package/dist/src/client/models/ActorResponseDto.js +11 -0
  19. package/dist/src/client/models/AddParticipantDto.d.ts +6 -0
  20. package/dist/src/client/models/AddParticipantDto.js +1 -0
  21. package/dist/src/client/models/AgentListResponseDto.d.ts +23 -0
  22. package/dist/src/client/models/AgentListResponseDto.js +1 -0
  23. package/dist/src/client/models/AgentResponseDto.d.ts +91 -0
  24. package/dist/src/client/models/AgentResponseDto.js +15 -0
  25. package/dist/src/client/models/AgentRunListResponseDto.d.ts +19 -0
  26. package/dist/src/client/models/AgentRunListResponseDto.js +1 -0
  27. package/dist/src/client/models/AgentRunResponseDto.d.ts +40 -0
  28. package/dist/src/client/models/AgentRunResponseDto.js +1 -0
  29. package/dist/src/client/models/AnswerInputRequestDto.d.ts +6 -0
  30. package/dist/src/client/models/AnswerInputRequestDto.js +1 -0
  31. package/dist/src/client/models/AppendBlockDto.d.ts +6 -0
  32. package/dist/src/client/models/AppendBlockDto.js +1 -0
  33. package/dist/src/client/models/AppendThreadStateDto.d.ts +6 -0
  34. package/dist/src/client/models/AppendThreadStateDto.js +1 -0
  35. package/dist/src/client/models/ArtefactResponseDto.d.ts +22 -0
  36. package/dist/src/client/models/ArtefactResponseDto.js +1 -0
  37. package/dist/src/client/models/AssignTaskDto.d.ts +10 -0
  38. package/dist/src/client/models/AssignTaskDto.js +1 -0
  39. package/dist/src/client/models/AttachTaskDto.d.ts +6 -0
  40. package/dist/src/client/models/AttachTaskDto.js +1 -0
  41. package/dist/src/client/models/AuthJourneyResponseDto.d.ts +48 -0
  42. package/dist/src/client/models/AuthJourneyResponseDto.js +17 -0
  43. package/dist/src/client/models/AuthorizationServerMetadataDto.d.ts +38 -0
  44. package/dist/src/client/models/AuthorizationServerMetadataDto.js +1 -0
  45. package/dist/src/client/models/BlockListResponseDto.d.ts +7 -0
  46. package/dist/src/client/models/BlockListResponseDto.js +1 -0
  47. package/dist/src/client/models/BlockResponseDto.d.ts +43 -0
  48. package/dist/src/client/models/BlockResponseDto.js +1 -0
  49. package/dist/src/client/models/BlockSummaryDto.d.ts +39 -0
  50. package/dist/src/client/models/BlockSummaryDto.js +1 -0
  51. package/dist/src/client/models/BlockTreeResponseDto.d.ts +38 -0
  52. package/dist/src/client/models/BlockTreeResponseDto.js +1 -0
  53. package/dist/src/client/models/ChangePasswordRequestDto.d.ts +10 -0
  54. package/dist/src/client/models/ChangePasswordRequestDto.js +1 -0
  55. package/dist/src/client/models/ChangeTaskStatusDto.d.ts +21 -0
  56. package/dist/src/client/models/ChangeTaskStatusDto.js +13 -0
  57. package/dist/src/client/models/ClientRegistrationResponseDto.d.ts +43 -0
  58. package/dist/src/client/models/ClientRegistrationResponseDto.js +11 -0
  59. package/dist/src/client/models/CommentResponseDto.d.ts +27 -0
  60. package/dist/src/client/models/CommentResponseDto.js +1 -0
  61. package/dist/src/client/models/ConnectionFlowResponseDto.d.ts +44 -0
  62. package/dist/src/client/models/ConnectionFlowResponseDto.js +12 -0
  63. package/dist/src/client/models/ConnectionResponseDto.d.ts +38 -0
  64. package/dist/src/client/models/ConnectionResponseDto.js +1 -0
  65. package/dist/src/client/models/ConsentDecisionDto.d.ts +10 -0
  66. package/dist/src/client/models/ConsentDecisionDto.js +1 -0
  67. package/dist/src/client/models/ContextBlockSummaryResponseDto.d.ts +10 -0
  68. package/dist/src/client/models/ContextBlockSummaryResponseDto.js +1 -0
  69. package/dist/src/client/models/ContextTagResponseDto.d.ts +14 -0
  70. package/dist/src/client/models/ContextTagResponseDto.js +1 -0
  71. package/dist/src/client/models/CreateAgentDto.d.ts +71 -0
  72. package/dist/src/client/models/CreateAgentDto.js +15 -0
  73. package/dist/src/client/models/CreateAgentRunDto.d.ts +6 -0
  74. package/dist/src/client/models/CreateAgentRunDto.js +1 -0
  75. package/dist/src/client/models/CreateArtefactDto.d.ts +10 -0
  76. package/dist/src/client/models/CreateArtefactDto.js +1 -0
  77. package/dist/src/client/models/CreateBlockDto.d.ts +18 -0
  78. package/dist/src/client/models/CreateBlockDto.js +1 -0
  79. package/dist/src/client/models/CreateCommentDto.d.ts +6 -0
  80. package/dist/src/client/models/CreateCommentDto.js +1 -0
  81. package/dist/src/client/models/CreateConnectionDto.d.ts +26 -0
  82. package/dist/src/client/models/CreateConnectionDto.js +1 -0
  83. package/dist/src/client/models/CreateInputRequestDto.d.ts +10 -0
  84. package/dist/src/client/models/CreateInputRequestDto.js +1 -0
  85. package/dist/src/client/models/CreateMappingDto.d.ts +14 -0
  86. package/dist/src/client/models/CreateMappingDto.js +1 -0
  87. package/dist/src/client/models/CreateProjectDto.d.ts +18 -0
  88. package/dist/src/client/models/CreateProjectDto.js +1 -0
  89. package/dist/src/client/models/CreateScopeDto.d.ts +10 -0
  90. package/dist/src/client/models/CreateScopeDto.js +1 -0
  91. package/dist/src/client/models/CreateServerDto.d.ts +18 -0
  92. package/dist/src/client/models/CreateServerDto.js +1 -0
  93. package/dist/src/client/models/CreateTagDto.d.ts +6 -0
  94. package/dist/src/client/models/CreateTagDto.js +1 -0
  95. package/dist/src/client/models/CreateTaskDto.d.ts +26 -0
  96. package/dist/src/client/models/CreateTaskDto.js +1 -0
  97. package/dist/src/client/models/CreateThreadDto.d.ts +26 -0
  98. package/dist/src/client/models/CreateThreadDto.js +1 -0
  99. package/dist/src/client/models/DeleteConnectionResponseDto.d.ts +6 -0
  100. package/dist/src/client/models/DeleteConnectionResponseDto.js +1 -0
  101. package/dist/src/client/models/DeleteMappingResponseDto.d.ts +6 -0
  102. package/dist/src/client/models/DeleteMappingResponseDto.js +1 -0
  103. package/dist/src/client/models/DeleteScopeResponseDto.d.ts +6 -0
  104. package/dist/src/client/models/DeleteScopeResponseDto.js +1 -0
  105. package/dist/src/client/models/DeleteServerResponseDto.d.ts +6 -0
  106. package/dist/src/client/models/DeleteServerResponseDto.js +1 -0
  107. package/dist/src/client/models/FlowClientDto.d.ts +10 -0
  108. package/dist/src/client/models/FlowClientDto.js +1 -0
  109. package/dist/src/client/models/FlowServerDto.d.ts +14 -0
  110. package/dist/src/client/models/FlowServerDto.js +1 -0
  111. package/dist/src/client/models/GetConsentMetadataResponseDto.d.ts +51 -0
  112. package/dist/src/client/models/GetConsentMetadataResponseDto.js +17 -0
  113. package/dist/src/client/models/InputRequestResponseDto.d.ts +38 -0
  114. package/dist/src/client/models/InputRequestResponseDto.js +1 -0
  115. package/dist/src/client/models/IntrospectTokenRequestDto.d.ts +27 -0
  116. package/dist/src/client/models/IntrospectTokenRequestDto.js +11 -0
  117. package/dist/src/client/models/IntrospectTokenResponseDto.d.ts +62 -0
  118. package/dist/src/client/models/IntrospectTokenResponseDto.js +10 -0
  119. package/dist/src/client/models/IssueAccessTokenRequestDto.d.ts +14 -0
  120. package/dist/src/client/models/IssueAccessTokenRequestDto.js +1 -0
  121. package/dist/src/client/models/IssueAccessTokenResponseDto.d.ts +26 -0
  122. package/dist/src/client/models/IssueAccessTokenResponseDto.js +1 -0
  123. package/dist/src/client/models/IssuedAccessTokenResponseDto.d.ts +54 -0
  124. package/dist/src/client/models/IssuedAccessTokenResponseDto.js +1 -0
  125. package/dist/src/client/models/JwkResponseDto.d.ts +38 -0
  126. package/dist/src/client/models/JwkResponseDto.js +1 -0
  127. package/dist/src/client/models/JwksResponseDto.d.ts +7 -0
  128. package/dist/src/client/models/JwksResponseDto.js +1 -0
  129. package/dist/src/client/models/LoginRequestDto.d.ts +10 -0
  130. package/dist/src/client/models/LoginRequestDto.js +1 -0
  131. package/dist/src/client/models/LoginResponseDto.d.ts +11 -0
  132. package/dist/src/client/models/LoginResponseDto.js +1 -0
  133. package/dist/src/client/models/MappingResponseDto.d.ts +30 -0
  134. package/dist/src/client/models/MappingResponseDto.js +1 -0
  135. package/dist/src/client/models/McpFlowResponseDto.d.ts +61 -0
  136. package/dist/src/client/models/McpFlowResponseDto.js +17 -0
  137. package/dist/src/client/models/MetaTagResponseDto.d.ts +22 -0
  138. package/dist/src/client/models/MetaTagResponseDto.js +1 -0
  139. package/dist/src/client/models/MoveBlockDto.d.ts +6 -0
  140. package/dist/src/client/models/MoveBlockDto.js +1 -0
  141. package/dist/src/client/models/PatchAgentDto.d.ts +47 -0
  142. package/dist/src/client/models/PatchAgentDto.js +15 -0
  143. package/dist/src/client/models/PatchProjectDto.d.ts +10 -0
  144. package/dist/src/client/models/PatchProjectDto.js +1 -0
  145. package/dist/src/client/models/ProjectResponseDto.d.ts +38 -0
  146. package/dist/src/client/models/ProjectResponseDto.js +1 -0
  147. package/dist/src/client/models/ProtectedResourceMetadataResponseDto.d.ts +22 -0
  148. package/dist/src/client/models/ProtectedResourceMetadataResponseDto.js +1 -0
  149. package/dist/src/client/models/ReferenceContextBlockDto.d.ts +6 -0
  150. package/dist/src/client/models/ReferenceContextBlockDto.js +1 -0
  151. package/dist/src/client/models/RegisterClientDto.d.ts +71 -0
  152. package/dist/src/client/models/RegisterClientDto.js +11 -0
  153. package/dist/src/client/models/ReorderBlockDto.d.ts +6 -0
  154. package/dist/src/client/models/ReorderBlockDto.js +1 -0
  155. package/dist/src/client/models/ScopeDto.d.ts +10 -0
  156. package/dist/src/client/models/ScopeDto.js +1 -0
  157. package/dist/src/client/models/ScopeResponseDto.d.ts +22 -0
  158. package/dist/src/client/models/ScopeResponseDto.js +1 -0
  159. package/dist/src/client/models/ScopesResponseDto.d.ts +7 -0
  160. package/dist/src/client/models/ScopesResponseDto.js +1 -0
  161. package/dist/src/client/models/ServerListResponseDto.d.ts +19 -0
  162. package/dist/src/client/models/ServerListResponseDto.js +1 -0
  163. package/dist/src/client/models/ServerResponseDto.d.ts +30 -0
  164. package/dist/src/client/models/ServerResponseDto.js +1 -0
  165. package/dist/src/client/models/TagResponseDto.d.ts +14 -0
  166. package/dist/src/client/models/TagResponseDto.js +1 -0
  167. package/dist/src/client/models/TaskInfoDto.d.ts +10 -0
  168. package/dist/src/client/models/TaskInfoDto.js +1 -0
  169. package/dist/src/client/models/TaskListResponseDto.d.ts +23 -0
  170. package/dist/src/client/models/TaskListResponseDto.js +1 -0
  171. package/dist/src/client/models/TaskResponseDto.d.ts +78 -0
  172. package/dist/src/client/models/TaskResponseDto.js +13 -0
  173. package/dist/src/client/models/TaskSearchResultDto.d.ts +14 -0
  174. package/dist/src/client/models/TaskSearchResultDto.js +1 -0
  175. package/dist/src/client/models/TaskSummaryResponseDto.d.ts +56 -0
  176. package/dist/src/client/models/TaskSummaryResponseDto.js +13 -0
  177. package/dist/src/client/models/ThreadListItemResponseDto.d.ts +10 -0
  178. package/dist/src/client/models/ThreadListItemResponseDto.js +1 -0
  179. package/dist/src/client/models/ThreadListResponseDto.d.ts +23 -0
  180. package/dist/src/client/models/ThreadListResponseDto.js +1 -0
  181. package/dist/src/client/models/ThreadResponseDto.d.ts +54 -0
  182. package/dist/src/client/models/ThreadResponseDto.js +1 -0
  183. package/dist/src/client/models/ThreadStateResponseDto.d.ts +6 -0
  184. package/dist/src/client/models/ThreadStateResponseDto.js +1 -0
  185. package/dist/src/client/models/TokenExchangeRequestDto.d.ts +36 -0
  186. package/dist/src/client/models/TokenExchangeRequestDto.js +17 -0
  187. package/dist/src/client/models/TokenExchangeResponseDto.d.ts +22 -0
  188. package/dist/src/client/models/TokenExchangeResponseDto.js +1 -0
  189. package/dist/src/client/models/TokenRequestDto.d.ts +43 -0
  190. package/dist/src/client/models/TokenRequestDto.js +11 -0
  191. package/dist/src/client/models/TokenResponseDto.d.ts +30 -0
  192. package/dist/src/client/models/TokenResponseDto.js +10 -0
  193. package/dist/src/client/models/UpdateAgentRunDto.d.ts +14 -0
  194. package/dist/src/client/models/UpdateAgentRunDto.js +1 -0
  195. package/dist/src/client/models/UpdateBlockDto.d.ts +22 -0
  196. package/dist/src/client/models/UpdateBlockDto.js +1 -0
  197. package/dist/src/client/models/UpdateConnectionDto.d.ts +26 -0
  198. package/dist/src/client/models/UpdateConnectionDto.js +1 -0
  199. package/dist/src/client/models/UpdateServerDto.d.ts +14 -0
  200. package/dist/src/client/models/UpdateServerDto.js +1 -0
  201. package/dist/src/client/models/UpdateTaskDto.d.ts +26 -0
  202. package/dist/src/client/models/UpdateTaskDto.js +1 -0
  203. package/dist/src/client/models/UpdateThreadDto.d.ts +6 -0
  204. package/dist/src/client/models/UpdateThreadDto.js +1 -0
  205. package/dist/src/client/models/UpdateThreadStateDto.d.ts +6 -0
  206. package/dist/src/client/models/UpdateThreadStateDto.js +1 -0
  207. package/dist/src/client/models/UserResponseDto.d.ts +31 -0
  208. package/dist/src/client/models/UserResponseDto.js +11 -0
  209. package/dist/src/client/services/ActorsService.d.ts +19 -0
  210. package/dist/src/client/services/ActorsService.js +34 -0
  211. package/dist/src/client/services/AgentRunService.d.ts +39 -0
  212. package/dist/src/client/services/AgentRunService.js +82 -0
  213. package/dist/src/client/services/AgentService.d.ts +45 -0
  214. package/dist/src/client/services/AgentService.js +85 -0
  215. package/dist/src/client/services/AgentTokensService.d.ts +29 -0
  216. package/dist/src/client/services/AgentTokensService.js +54 -0
  217. package/dist/src/client/services/AppService.d.ts +9 -0
  218. package/dist/src/client/services/AppService.js +15 -0
  219. package/dist/src/client/services/AuthorizationJourneysService.d.ts +11 -0
  220. package/dist/src/client/services/AuthorizationJourneysService.js +22 -0
  221. package/dist/src/client/services/AuthorizationServerService.d.ts +123 -0
  222. package/dist/src/client/services/AuthorizationServerService.js +265 -0
  223. package/dist/src/client/services/ContextService.d.ts +129 -0
  224. package/dist/src/client/services/ContextService.js +263 -0
  225. package/dist/src/client/services/DiscoveryService.d.ts +29 -0
  226. package/dist/src/client/services/DiscoveryService.js +48 -0
  227. package/dist/src/client/services/JwksService.d.ts +11 -0
  228. package/dist/src/client/services/JwksService.js +16 -0
  229. package/dist/src/client/services/MetaProjectsService.d.ts +57 -0
  230. package/dist/src/client/services/MetaProjectsService.js +127 -0
  231. package/dist/src/client/services/MetaService.d.ts +31 -0
  232. package/dist/src/client/services/MetaService.js +61 -0
  233. package/dist/src/client/services/TaskService.d.ts +174 -0
  234. package/dist/src/client/services/TaskService.js +385 -0
  235. package/dist/src/client/services/ThreadsService.d.ts +114 -0
  236. package/dist/src/client/services/ThreadsService.js +266 -0
  237. package/dist/src/client/services/ToolsService.d.ts +146 -0
  238. package/dist/src/client/services/ToolsService.js +336 -0
  239. package/dist/src/client/services/WebAuthenticationService.d.ts +43 -0
  240. package/dist/src/client/services/WebAuthenticationService.js +77 -0
  241. package/dist/src/index.d.ts +2 -0
  242. package/dist/src/index.js +4 -0
  243. package/package.json +42 -0
@@ -0,0 +1,10 @@
1
+ export type FlowClientDto = {
2
+ /**
3
+ * OAuth client identifier
4
+ */
5
+ clientId: string;
6
+ /**
7
+ * Human-readable name of the client application
8
+ */
9
+ clientName: string;
10
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ export type FlowServerDto = {
2
+ /**
3
+ * Server identifier used in API paths
4
+ */
5
+ providedId: string;
6
+ /**
7
+ * Human-readable name of the MCP server
8
+ */
9
+ name: string;
10
+ /**
11
+ * Description of what the MCP server does
12
+ */
13
+ description: string;
14
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,51 @@
1
+ import type { FlowClientDto } from './FlowClientDto.js';
2
+ import type { FlowServerDto } from './FlowServerDto.js';
3
+ export type GetConsentMetadataResponseDto = {
4
+ /**
5
+ * Unique identifier of the authorization flow
6
+ */
7
+ id: string;
8
+ /**
9
+ * Current status of the authorization flow
10
+ */
11
+ status: GetConsentMetadataResponseDto.status;
12
+ /**
13
+ * List of scopes being requested
14
+ */
15
+ scopes?: Array<string>;
16
+ /**
17
+ * Resource URL the client wants to access
18
+ */
19
+ resource?: string;
20
+ /**
21
+ * MCP server the client is requesting access to
22
+ */
23
+ server: FlowServerDto;
24
+ /**
25
+ * Client application requesting authorization
26
+ */
27
+ client: FlowClientDto;
28
+ /**
29
+ * Redirect URI provided in the authorization request
30
+ */
31
+ redirectUri: string;
32
+ /**
33
+ * Timestamp when the flow was created
34
+ */
35
+ createdAt: string;
36
+ };
37
+ export declare namespace GetConsentMetadataResponseDto {
38
+ /**
39
+ * Current status of the authorization flow
40
+ */
41
+ enum status {
42
+ CLIENT_NOT_REGISTERED = "CLIENT_NOT_REGISTERED",
43
+ CLIENT_REGISTERED = "CLIENT_REGISTERED",
44
+ AUTHORIZATION_REQUEST_STARTED = "AUTHORIZATION_REQUEST_STARTED",
45
+ USER_CONSENT_OK = "USER_CONSENT_OK",
46
+ USER_CONSENT_REJECTED = "USER_CONSENT_REJECTED",
47
+ WAITING_ON_DOWNSTREAM_AUTH = "WAITING_ON_DOWNSTREAM_AUTH",
48
+ AUTHORIZATION_CODE_ISSUED = "AUTHORIZATION_CODE_ISSUED",
49
+ AUTHORIZATION_CODE_EXCHANGED = "AUTHORIZATION_CODE_EXCHANGED"
50
+ }
51
+ }
@@ -0,0 +1,17 @@
1
+ export var GetConsentMetadataResponseDto;
2
+ (function (GetConsentMetadataResponseDto) {
3
+ /**
4
+ * Current status of the authorization flow
5
+ */
6
+ let status;
7
+ (function (status) {
8
+ status["CLIENT_NOT_REGISTERED"] = "CLIENT_NOT_REGISTERED";
9
+ status["CLIENT_REGISTERED"] = "CLIENT_REGISTERED";
10
+ status["AUTHORIZATION_REQUEST_STARTED"] = "AUTHORIZATION_REQUEST_STARTED";
11
+ status["USER_CONSENT_OK"] = "USER_CONSENT_OK";
12
+ status["USER_CONSENT_REJECTED"] = "USER_CONSENT_REJECTED";
13
+ status["WAITING_ON_DOWNSTREAM_AUTH"] = "WAITING_ON_DOWNSTREAM_AUTH";
14
+ status["AUTHORIZATION_CODE_ISSUED"] = "AUTHORIZATION_CODE_ISSUED";
15
+ status["AUTHORIZATION_CODE_EXCHANGED"] = "AUTHORIZATION_CODE_EXCHANGED";
16
+ })(status = GetConsentMetadataResponseDto.status || (GetConsentMetadataResponseDto.status = {}));
17
+ })(GetConsentMetadataResponseDto || (GetConsentMetadataResponseDto = {}));
@@ -0,0 +1,38 @@
1
+ export type InputRequestResponseDto = {
2
+ /**
3
+ * Unique identifier for the input request
4
+ */
5
+ id: string;
6
+ /**
7
+ * ID of the task this input request belongs to
8
+ */
9
+ taskId: string;
10
+ /**
11
+ * ID of the actor who asked the question
12
+ */
13
+ askedByActorId: string;
14
+ /**
15
+ * ID of the actor assigned to answer the question
16
+ */
17
+ assignedToActorId: string;
18
+ /**
19
+ * The question being asked
20
+ */
21
+ question: string;
22
+ /**
23
+ * The answer to the question
24
+ */
25
+ answer?: Record<string, any> | null;
26
+ /**
27
+ * Timestamp when the question was resolved
28
+ */
29
+ resolvedAt?: Record<string, any> | null;
30
+ /**
31
+ * Input request creation timestamp
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ * Input request last update timestamp
36
+ */
37
+ updatedAt: string;
38
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,27 @@
1
+ export type IntrospectTokenRequestDto = {
2
+ /**
3
+ * Access or refresh token that should be validated
4
+ */
5
+ token: string;
6
+ /**
7
+ * Hint to help the server determine the token lookup strategy
8
+ */
9
+ token_type_hint?: IntrospectTokenRequestDto.token_type_hint;
10
+ /**
11
+ * Client identifier for optional validation against the token claims. Per RFC 7662, this is not required - the client_id is extracted from the token itself.
12
+ */
13
+ client_id?: string;
14
+ /**
15
+ * Client secret for confidential clients (MCP clients typically omit this)
16
+ */
17
+ client_secret?: string | null;
18
+ };
19
+ export declare namespace IntrospectTokenRequestDto {
20
+ /**
21
+ * Hint to help the server determine the token lookup strategy
22
+ */
23
+ enum token_type_hint {
24
+ ACCESS_TOKEN = "access_token",
25
+ REFRESH_TOKEN = "refresh_token"
26
+ }
27
+ }
@@ -0,0 +1,11 @@
1
+ export var IntrospectTokenRequestDto;
2
+ (function (IntrospectTokenRequestDto) {
3
+ /**
4
+ * Hint to help the server determine the token lookup strategy
5
+ */
6
+ let token_type_hint;
7
+ (function (token_type_hint) {
8
+ token_type_hint["ACCESS_TOKEN"] = "access_token";
9
+ token_type_hint["REFRESH_TOKEN"] = "refresh_token";
10
+ })(token_type_hint = IntrospectTokenRequestDto.token_type_hint || (IntrospectTokenRequestDto.token_type_hint = {}));
11
+ })(IntrospectTokenRequestDto || (IntrospectTokenRequestDto = {}));
@@ -0,0 +1,62 @@
1
+ export type IntrospectTokenResponseDto = {
2
+ /**
3
+ * Indicates whether the token is currently valid
4
+ */
5
+ active: boolean;
6
+ /**
7
+ * Token type, always Bearer for MCP clients
8
+ */
9
+ token_type: IntrospectTokenResponseDto.token_type;
10
+ /**
11
+ * Client identifier associated with the token
12
+ */
13
+ client_id: string;
14
+ /**
15
+ * Subject of the token (resource owner or actor)
16
+ */
17
+ sub: Record<string, any>;
18
+ /**
19
+ * Audience that should accept this token
20
+ */
21
+ aud: (string | Array<string>);
22
+ /**
23
+ * Issuer that minted the token
24
+ */
25
+ iss: Record<string, any>;
26
+ /**
27
+ * Unique token identifier for replay detection
28
+ */
29
+ jti: Record<string, any>;
30
+ /**
31
+ * Expiration timestamp (seconds since Unix epoch)
32
+ */
33
+ exp: Record<string, any>;
34
+ /**
35
+ * Issued-at timestamp (seconds since Unix epoch)
36
+ */
37
+ iat: Record<string, any>;
38
+ /**
39
+ * Granted scopes (space-delimited) for display purposes
40
+ */
41
+ scope?: string;
42
+ /**
43
+ * MCP server identifier the token is scoped to
44
+ */
45
+ mcp_server_identifier: Record<string, any>;
46
+ /**
47
+ * Resource URL that was used during authorization
48
+ */
49
+ resource: Record<string, any>;
50
+ /**
51
+ * Version of the MCP server contract
52
+ */
53
+ version: Record<string, any>;
54
+ };
55
+ export declare namespace IntrospectTokenResponseDto {
56
+ /**
57
+ * Token type, always Bearer for MCP clients
58
+ */
59
+ enum token_type {
60
+ BEARER = "Bearer"
61
+ }
62
+ }
@@ -0,0 +1,10 @@
1
+ export var IntrospectTokenResponseDto;
2
+ (function (IntrospectTokenResponseDto) {
3
+ /**
4
+ * Token type, always Bearer for MCP clients
5
+ */
6
+ let token_type;
7
+ (function (token_type) {
8
+ token_type["BEARER"] = "Bearer";
9
+ })(token_type = IntrospectTokenResponseDto.token_type || (IntrospectTokenResponseDto.token_type = {}));
10
+ })(IntrospectTokenResponseDto || (IntrospectTokenResponseDto = {}));
@@ -0,0 +1,14 @@
1
+ export type IssueAccessTokenRequestDto = {
2
+ /**
3
+ * Human-readable name for this token (e.g., "CI/CD Pipeline Token")
4
+ */
5
+ name: string;
6
+ /**
7
+ * Scopes to grant to this token
8
+ */
9
+ scopes: Array<string>;
10
+ /**
11
+ * Number of days until token expires (default: 30, max: 365)
12
+ */
13
+ expirationDays?: number;
14
+ };
@@ -0,0 +1,26 @@
1
+ export type IssueAccessTokenResponseDto = {
2
+ /**
3
+ * Unique identifier for this token (can be used for revocation)
4
+ */
5
+ id: string;
6
+ /**
7
+ * Human-readable name for this token
8
+ */
9
+ name: string;
10
+ /**
11
+ * The raw JWT token - only shown once, store securely!
12
+ */
13
+ token: string;
14
+ /**
15
+ * Scopes granted to this token
16
+ */
17
+ scopes: Array<string>;
18
+ /**
19
+ * When this token expires (ISO 8601)
20
+ */
21
+ expiresAt: string;
22
+ /**
23
+ * When this token was created (ISO 8601)
24
+ */
25
+ createdAt: string;
26
+ };
@@ -0,0 +1,54 @@
1
+ export type IssuedAccessTokenResponseDto = {
2
+ /**
3
+ * Unique identifier for this token
4
+ */
5
+ id: string;
6
+ /**
7
+ * Human-readable name for this token
8
+ */
9
+ name: string;
10
+ /**
11
+ * Scopes granted to this token
12
+ */
13
+ scopes: Array<string>;
14
+ /**
15
+ * Subject actor ID this token is issued for (JWT sub claim)
16
+ */
17
+ sub: string;
18
+ /**
19
+ * Subject actor slug
20
+ */
21
+ subjectSlug: string;
22
+ /**
23
+ * Subject actor display name
24
+ */
25
+ subjectDisplayName: string;
26
+ /**
27
+ * Actor ID of the issuer (human who created this token)
28
+ */
29
+ issuedBy: string;
30
+ /**
31
+ * Display name of the issuer
32
+ */
33
+ issuedByDisplayName: string;
34
+ /**
35
+ * When this token expires (ISO 8601)
36
+ */
37
+ expiresAt: string;
38
+ /**
39
+ * When this token was created (ISO 8601)
40
+ */
41
+ createdAt: string;
42
+ /**
43
+ * When this token was revoked (ISO 8601), null if active
44
+ */
45
+ revokedAt?: string | null;
46
+ /**
47
+ * When this token was last used (ISO 8601), null if never used
48
+ */
49
+ lastUsedAt?: string | null;
50
+ /**
51
+ * Whether the token is still valid (not expired and not revoked)
52
+ */
53
+ isValid: boolean;
54
+ };
@@ -0,0 +1,38 @@
1
+ export type JwkResponseDto = {
2
+ /**
3
+ * Key type, for example RSA or EC.
4
+ */
5
+ kty: string;
6
+ /**
7
+ * Key usage indicating how the key can be used.
8
+ */
9
+ use: string;
10
+ /**
11
+ * Unique identifier for the key used for rotation.
12
+ */
13
+ kid: string;
14
+ /**
15
+ * Algorithm intended for use with this key.
16
+ */
17
+ alg: string;
18
+ /**
19
+ * RSA modulus encoded using base64url.
20
+ */
21
+ 'n'?: string;
22
+ /**
23
+ * RSA public exponent encoded using base64url.
24
+ */
25
+ 'e'?: string;
26
+ /**
27
+ * Public coordinate X for EC keys encoded using base64url.
28
+ */
29
+ 'x'?: string;
30
+ /**
31
+ * Public coordinate Y for EC keys encoded using base64url.
32
+ */
33
+ 'y'?: string;
34
+ /**
35
+ * Curve name for EC keys.
36
+ */
37
+ crv?: string;
38
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { JwkResponseDto } from './JwkResponseDto.js';
2
+ export type JwksResponseDto = {
3
+ /**
4
+ * Collection of JSON Web Keys currently valid for signature verification.
5
+ */
6
+ keys: Array<JwkResponseDto>;
7
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ export type LoginRequestDto = {
2
+ /**
3
+ * User email address
4
+ */
5
+ email: string;
6
+ /**
7
+ * User password
8
+ */
9
+ password: string;
10
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { UserResponseDto } from './UserResponseDto.js';
2
+ export type LoginResponseDto = {
3
+ /**
4
+ * Authenticated user information
5
+ */
6
+ user: UserResponseDto;
7
+ /**
8
+ * Access token expiration time in seconds
9
+ */
10
+ expiresIn: number;
11
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,30 @@
1
+ export type MappingResponseDto = {
2
+ /**
3
+ * System-generated UUID for the mapping
4
+ */
5
+ id: string;
6
+ /**
7
+ * MCP scope identifier
8
+ */
9
+ scopeId: string;
10
+ /**
11
+ * UUID of the MCP server
12
+ */
13
+ serverId: string;
14
+ /**
15
+ * UUID of the downstream OAuth connection
16
+ */
17
+ connectionId: string;
18
+ /**
19
+ * Downstream provider scope string
20
+ */
21
+ downstreamScope: string;
22
+ /**
23
+ * Timestamp when the mapping was created
24
+ */
25
+ createdAt: string;
26
+ /**
27
+ * Timestamp when the mapping was last updated
28
+ */
29
+ updatedAt: string;
30
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,61 @@
1
+ export type McpFlowResponseDto = {
2
+ /**
3
+ * System-generated UUID for the MCP authorization flow
4
+ */
5
+ id: string;
6
+ /**
7
+ * UUID of the authorization journey this flow belongs to
8
+ */
9
+ authorizationJourneyId: string;
10
+ /**
11
+ * UUID of the MCP server
12
+ */
13
+ serverId: string;
14
+ /**
15
+ * UUID of the registered MCP client
16
+ */
17
+ clientId: string;
18
+ /**
19
+ * Client name for display
20
+ */
21
+ clientName?: string | null;
22
+ /**
23
+ * Current status of the MCP authorization flow
24
+ */
25
+ status: McpFlowResponseDto.status;
26
+ /**
27
+ * Scopes requested by the client
28
+ */
29
+ scope?: string | null;
30
+ /**
31
+ * When the authorization code expires
32
+ */
33
+ authorizationCodeExpiresAt?: string | null;
34
+ /**
35
+ * Whether the authorization code has been used
36
+ */
37
+ authorizationCodeUsed: boolean;
38
+ /**
39
+ * Timestamp when the flow was created
40
+ */
41
+ createdAt: string;
42
+ /**
43
+ * Timestamp when the flow was last updated
44
+ */
45
+ updatedAt: string;
46
+ };
47
+ export declare namespace McpFlowResponseDto {
48
+ /**
49
+ * Current status of the MCP authorization flow
50
+ */
51
+ enum status {
52
+ CLIENT_NOT_REGISTERED = "CLIENT_NOT_REGISTERED",
53
+ CLIENT_REGISTERED = "CLIENT_REGISTERED",
54
+ AUTHORIZATION_REQUEST_STARTED = "AUTHORIZATION_REQUEST_STARTED",
55
+ USER_CONSENT_OK = "USER_CONSENT_OK",
56
+ USER_CONSENT_REJECTED = "USER_CONSENT_REJECTED",
57
+ WAITING_ON_DOWNSTREAM_AUTH = "WAITING_ON_DOWNSTREAM_AUTH",
58
+ AUTHORIZATION_CODE_ISSUED = "AUTHORIZATION_CODE_ISSUED",
59
+ AUTHORIZATION_CODE_EXCHANGED = "AUTHORIZATION_CODE_EXCHANGED"
60
+ }
61
+ }
@@ -0,0 +1,17 @@
1
+ export var McpFlowResponseDto;
2
+ (function (McpFlowResponseDto) {
3
+ /**
4
+ * Current status of the MCP authorization flow
5
+ */
6
+ let status;
7
+ (function (status) {
8
+ status["CLIENT_NOT_REGISTERED"] = "CLIENT_NOT_REGISTERED";
9
+ status["CLIENT_REGISTERED"] = "CLIENT_REGISTERED";
10
+ status["AUTHORIZATION_REQUEST_STARTED"] = "AUTHORIZATION_REQUEST_STARTED";
11
+ status["USER_CONSENT_OK"] = "USER_CONSENT_OK";
12
+ status["USER_CONSENT_REJECTED"] = "USER_CONSENT_REJECTED";
13
+ status["WAITING_ON_DOWNSTREAM_AUTH"] = "WAITING_ON_DOWNSTREAM_AUTH";
14
+ status["AUTHORIZATION_CODE_ISSUED"] = "AUTHORIZATION_CODE_ISSUED";
15
+ status["AUTHORIZATION_CODE_EXCHANGED"] = "AUTHORIZATION_CODE_EXCHANGED";
16
+ })(status = McpFlowResponseDto.status || (McpFlowResponseDto.status = {}));
17
+ })(McpFlowResponseDto || (McpFlowResponseDto = {}));
@@ -0,0 +1,22 @@
1
+ export type MetaTagResponseDto = {
2
+ /**
3
+ * Unique identifier of the tag
4
+ */
5
+ id: string;
6
+ /**
7
+ * Name of the tag
8
+ */
9
+ name: string;
10
+ /**
11
+ * Color for the tag (hex format)
12
+ */
13
+ color?: string;
14
+ /**
15
+ * When the tag was created
16
+ */
17
+ createdAt: string;
18
+ /**
19
+ * When the tag was last updated
20
+ */
21
+ updatedAt: string;
22
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export type MoveBlockDto = {
2
+ /**
3
+ * New parent page ID (null to move to root)
4
+ */
5
+ newParentId: Record<string, any> | null;
6
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,47 @@
1
+ export type PatchAgentDto = {
2
+ /**
3
+ * Core instructions/persona for this agent
4
+ */
5
+ systemPrompt?: string;
6
+ /**
7
+ * Provider ID to select a model runtime
8
+ */
9
+ providerId?: string;
10
+ /**
11
+ * Model ID used by the agent runtime
12
+ */
13
+ modelId?: string;
14
+ /**
15
+ * Task statuses that trigger agent activation. When a task transitions to one of these statuses AND matches any tagTriggers (if specified), the agent will be notified to process it. Common patterns: [NOT_STARTED] for new task pickup, [FOR_REVIEW] for review workflows, [IN_PROGRESS] for monitoring active work.
16
+ */
17
+ statusTriggers?: Array<'NOT_STARTED' | 'IN_PROGRESS' | 'FOR_REVIEW' | 'DONE'>;
18
+ /**
19
+ * Task tags that trigger agent activation (combined with statusTriggers using AND logic). When both a matching status AND tag are present, the agent activates. If empty, only status matching is required. Common examples: ["code"] for code-related tasks, ["review"] for review workflows, ["urgent"] for priority handling.
20
+ */
21
+ tagTriggers?: Array<string>;
22
+ /**
23
+ * Type of agent (provider)
24
+ */
25
+ type?: PatchAgentDto.type;
26
+ /**
27
+ * Introduction field for semantic matching - describes what this agent is good at and when to assign them tasks
28
+ */
29
+ introduction?: string;
30
+ /**
31
+ * Optional avatar URL for the agent actor
32
+ */
33
+ avatarUrl?: string | null;
34
+ };
35
+ export declare namespace PatchAgentDto {
36
+ /**
37
+ * Type of agent (provider)
38
+ */
39
+ enum type {
40
+ CLAUDE = "claude",
41
+ CODEX = "codex",
42
+ OPENCODE = "opencode",
43
+ ADK = "adk",
44
+ GITHUBCOPILOT = "githubcopilot",
45
+ OTHER = "other"
46
+ }
47
+ }
@@ -0,0 +1,15 @@
1
+ export var PatchAgentDto;
2
+ (function (PatchAgentDto) {
3
+ /**
4
+ * Type of agent (provider)
5
+ */
6
+ let type;
7
+ (function (type) {
8
+ type["CLAUDE"] = "claude";
9
+ type["CODEX"] = "codex";
10
+ type["OPENCODE"] = "opencode";
11
+ type["ADK"] = "adk";
12
+ type["GITHUBCOPILOT"] = "githubcopilot";
13
+ type["OTHER"] = "other";
14
+ })(type = PatchAgentDto.type || (PatchAgentDto.type = {}));
15
+ })(PatchAgentDto || (PatchAgentDto = {}));