@taico/client 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/types.d.ts +3176 -1732
- package/dist/src/client/index.d.ts +23 -3
- package/dist/src/client/index.js +6 -0
- package/dist/src/client/models/CreateProjectDto.d.ts +1 -1
- package/dist/src/client/models/CreateScheduledTaskDto.d.ts +14 -0
- package/dist/src/client/models/CreateScheduledTaskDto.js +1 -0
- package/dist/src/client/models/CreateSecretDto.d.ts +14 -0
- package/dist/src/client/models/CreateSecretDto.js +1 -0
- package/dist/src/client/models/CreateServerDto.d.ts +21 -0
- package/dist/src/client/models/CreateServerDto.js +11 -1
- package/dist/src/client/models/CreateTaskBlueprintDto.d.ts +22 -0
- package/dist/src/client/models/CreateTaskBlueprintDto.js +1 -0
- package/dist/src/client/models/CreateThreadDto.d.ts +2 -2
- package/dist/src/client/models/CreateThreadMessageDto.d.ts +6 -0
- package/dist/src/client/models/CreateThreadMessageDto.js +1 -0
- package/dist/src/client/models/IntrospectTokenResponseDto.d.ts +22 -22
- package/dist/src/client/models/IntrospectTokenResponseDto.js +1 -1
- package/dist/src/client/models/ListThreadMessagesResponseDto.d.ts +19 -0
- package/dist/src/client/models/ListThreadMessagesResponseDto.js +1 -0
- package/dist/src/client/models/OnboardingRequestDto.d.ts +18 -0
- package/dist/src/client/models/OnboardingRequestDto.js +1 -0
- package/dist/src/client/models/OnboardingStatusResponseDto.d.ts +6 -0
- package/dist/src/client/models/OnboardingStatusResponseDto.js +1 -0
- package/dist/src/client/models/PatchAgentDto.d.ts +25 -1
- package/dist/src/client/models/PatchProjectDto.d.ts +1 -1
- package/dist/src/client/models/ScheduledTaskListResponseDto.d.ts +19 -0
- package/dist/src/client/models/ScheduledTaskListResponseDto.js +1 -0
- package/dist/src/client/models/ScheduledTaskResponseDto.d.ts +43 -0
- package/dist/src/client/models/ScheduledTaskResponseDto.js +1 -0
- package/dist/src/client/models/SecretResponseDto.d.ts +34 -0
- package/dist/src/client/models/SecretResponseDto.js +1 -0
- package/dist/src/client/models/SecretValueResponseDto.d.ts +14 -0
- package/dist/src/client/models/SecretValueResponseDto.js +1 -0
- package/dist/src/client/models/ServerResponseDto.d.ts +21 -0
- package/dist/src/client/models/ServerResponseDto.js +11 -1
- package/dist/src/client/models/TaskBlueprintListResponseDto.d.ts +19 -0
- package/dist/src/client/models/TaskBlueprintListResponseDto.js +1 -0
- package/dist/src/client/models/TaskBlueprintResponseDto.d.ts +48 -0
- package/dist/src/client/models/TaskBlueprintResponseDto.js +1 -0
- package/dist/src/client/models/ThreadListItemResponseDto.d.ts +4 -0
- package/dist/src/client/models/ThreadMessageResponseDto.d.ts +31 -0
- package/dist/src/client/models/ThreadMessageResponseDto.js +1 -0
- package/dist/src/client/models/ThreadResponseDto.d.ts +6 -2
- package/dist/src/client/models/UpdateScheduledTaskDto.d.ts +10 -0
- package/dist/src/client/models/UpdateScheduledTaskDto.js +1 -0
- package/dist/src/client/models/UpdateSecretDto.d.ts +14 -0
- package/dist/src/client/models/UpdateSecretDto.js +1 -0
- package/dist/src/client/models/UpdateServerDto.d.ts +21 -0
- package/dist/src/client/models/UpdateServerDto.js +11 -1
- package/dist/src/client/models/UpdateTaskBlueprintDto.d.ts +22 -0
- package/dist/src/client/models/UpdateTaskBlueprintDto.js +1 -0
- package/dist/src/client/models/UserResponseDto.d.ts +4 -0
- package/dist/src/client/services/AgentService.d.ts +1 -1
- package/dist/src/client/services/AgentService.js +1 -1
- package/dist/src/client/services/AuthorizationServerService.d.ts +2 -2
- package/dist/src/client/services/AuthorizationServerService.js +2 -2
- package/dist/src/client/services/ScheduledTasksService.d.ts +45 -0
- package/dist/src/client/services/ScheduledTasksService.js +98 -0
- package/dist/src/client/services/SecretsService.d.ts +49 -0
- package/dist/src/client/services/SecretsService.js +104 -0
- package/dist/src/client/services/TaskBlueprintsService.d.ts +52 -0
- package/dist/src/client/services/TaskBlueprintsService.js +115 -0
- package/dist/src/client/services/ThreadsService.d.ts +27 -0
- package/dist/src/client/services/ThreadsService.js +61 -0
- package/dist/src/client/services/WebAuthenticationService.d.ts +23 -0
- package/dist/src/client/services/WebAuthenticationService.js +42 -0
- package/package.json +4 -2
|
@@ -38,11 +38,15 @@ export type { CreateConnectionDto } from './models/CreateConnectionDto.js';
|
|
|
38
38
|
export type { CreateInputRequestDto } from './models/CreateInputRequestDto.js';
|
|
39
39
|
export type { CreateMappingDto } from './models/CreateMappingDto.js';
|
|
40
40
|
export type { CreateProjectDto } from './models/CreateProjectDto.js';
|
|
41
|
+
export type { CreateScheduledTaskDto } from './models/CreateScheduledTaskDto.js';
|
|
41
42
|
export type { CreateScopeDto } from './models/CreateScopeDto.js';
|
|
42
|
-
export type {
|
|
43
|
+
export type { CreateSecretDto } from './models/CreateSecretDto.js';
|
|
44
|
+
export { CreateServerDto } from './models/CreateServerDto.js';
|
|
43
45
|
export type { CreateTagDto } from './models/CreateTagDto.js';
|
|
46
|
+
export type { CreateTaskBlueprintDto } from './models/CreateTaskBlueprintDto.js';
|
|
44
47
|
export type { CreateTaskDto } from './models/CreateTaskDto.js';
|
|
45
48
|
export type { CreateThreadDto } from './models/CreateThreadDto.js';
|
|
49
|
+
export type { CreateThreadMessageDto } from './models/CreateThreadMessageDto.js';
|
|
46
50
|
export type { DeleteConnectionResponseDto } from './models/DeleteConnectionResponseDto.js';
|
|
47
51
|
export type { DeleteMappingResponseDto } from './models/DeleteMappingResponseDto.js';
|
|
48
52
|
export type { DeleteScopeResponseDto } from './models/DeleteScopeResponseDto.js';
|
|
@@ -58,12 +62,15 @@ export type { IssueAccessTokenResponseDto } from './models/IssueAccessTokenRespo
|
|
|
58
62
|
export type { IssuedAccessTokenResponseDto } from './models/IssuedAccessTokenResponseDto.js';
|
|
59
63
|
export type { JwkResponseDto } from './models/JwkResponseDto.js';
|
|
60
64
|
export type { JwksResponseDto } from './models/JwksResponseDto.js';
|
|
65
|
+
export type { ListThreadMessagesResponseDto } from './models/ListThreadMessagesResponseDto.js';
|
|
61
66
|
export type { LoginRequestDto } from './models/LoginRequestDto.js';
|
|
62
67
|
export type { LoginResponseDto } from './models/LoginResponseDto.js';
|
|
63
68
|
export type { MappingResponseDto } from './models/MappingResponseDto.js';
|
|
64
69
|
export { McpFlowResponseDto } from './models/McpFlowResponseDto.js';
|
|
65
70
|
export type { MetaTagResponseDto } from './models/MetaTagResponseDto.js';
|
|
66
71
|
export type { MoveBlockDto } from './models/MoveBlockDto.js';
|
|
72
|
+
export type { OnboardingRequestDto } from './models/OnboardingRequestDto.js';
|
|
73
|
+
export type { OnboardingStatusResponseDto } from './models/OnboardingStatusResponseDto.js';
|
|
67
74
|
export { PatchAgentDto } from './models/PatchAgentDto.js';
|
|
68
75
|
export type { PatchProjectDto } from './models/PatchProjectDto.js';
|
|
69
76
|
export type { ProjectResponseDto } from './models/ProjectResponseDto.js';
|
|
@@ -71,12 +78,18 @@ export type { ProtectedResourceMetadataResponseDto } from './models/ProtectedRes
|
|
|
71
78
|
export type { ReferenceContextBlockDto } from './models/ReferenceContextBlockDto.js';
|
|
72
79
|
export { RegisterClientDto } from './models/RegisterClientDto.js';
|
|
73
80
|
export type { ReorderBlockDto } from './models/ReorderBlockDto.js';
|
|
81
|
+
export type { ScheduledTaskListResponseDto } from './models/ScheduledTaskListResponseDto.js';
|
|
82
|
+
export type { ScheduledTaskResponseDto } from './models/ScheduledTaskResponseDto.js';
|
|
74
83
|
export type { ScopeDto } from './models/ScopeDto.js';
|
|
75
84
|
export type { ScopeResponseDto } from './models/ScopeResponseDto.js';
|
|
76
85
|
export type { ScopesResponseDto } from './models/ScopesResponseDto.js';
|
|
86
|
+
export type { SecretResponseDto } from './models/SecretResponseDto.js';
|
|
87
|
+
export type { SecretValueResponseDto } from './models/SecretValueResponseDto.js';
|
|
77
88
|
export type { ServerListResponseDto } from './models/ServerListResponseDto.js';
|
|
78
|
-
export
|
|
89
|
+
export { ServerResponseDto } from './models/ServerResponseDto.js';
|
|
79
90
|
export type { TagResponseDto } from './models/TagResponseDto.js';
|
|
91
|
+
export type { TaskBlueprintListResponseDto } from './models/TaskBlueprintListResponseDto.js';
|
|
92
|
+
export type { TaskBlueprintResponseDto } from './models/TaskBlueprintResponseDto.js';
|
|
80
93
|
export type { TaskInfoDto } from './models/TaskInfoDto.js';
|
|
81
94
|
export type { TaskListResponseDto } from './models/TaskListResponseDto.js';
|
|
82
95
|
export { TaskResponseDto } from './models/TaskResponseDto.js';
|
|
@@ -84,6 +97,7 @@ export type { TaskSearchResultDto } from './models/TaskSearchResultDto.js';
|
|
|
84
97
|
export { TaskSummaryResponseDto } from './models/TaskSummaryResponseDto.js';
|
|
85
98
|
export type { ThreadListItemResponseDto } from './models/ThreadListItemResponseDto.js';
|
|
86
99
|
export type { ThreadListResponseDto } from './models/ThreadListResponseDto.js';
|
|
100
|
+
export type { ThreadMessageResponseDto } from './models/ThreadMessageResponseDto.js';
|
|
87
101
|
export type { ThreadResponseDto } from './models/ThreadResponseDto.js';
|
|
88
102
|
export type { ThreadStateResponseDto } from './models/ThreadStateResponseDto.js';
|
|
89
103
|
export { TokenExchangeRequestDto } from './models/TokenExchangeRequestDto.js';
|
|
@@ -93,7 +107,10 @@ export { TokenResponseDto } from './models/TokenResponseDto.js';
|
|
|
93
107
|
export type { UpdateAgentRunDto } from './models/UpdateAgentRunDto.js';
|
|
94
108
|
export type { UpdateBlockDto } from './models/UpdateBlockDto.js';
|
|
95
109
|
export type { UpdateConnectionDto } from './models/UpdateConnectionDto.js';
|
|
96
|
-
export type {
|
|
110
|
+
export type { UpdateScheduledTaskDto } from './models/UpdateScheduledTaskDto.js';
|
|
111
|
+
export type { UpdateSecretDto } from './models/UpdateSecretDto.js';
|
|
112
|
+
export { UpdateServerDto } from './models/UpdateServerDto.js';
|
|
113
|
+
export type { UpdateTaskBlueprintDto } from './models/UpdateTaskBlueprintDto.js';
|
|
97
114
|
export type { UpdateTaskDto } from './models/UpdateTaskDto.js';
|
|
98
115
|
export type { UpdateThreadDto } from './models/UpdateThreadDto.js';
|
|
99
116
|
export type { UpdateThreadStateDto } from './models/UpdateThreadStateDto.js';
|
|
@@ -110,7 +127,10 @@ export { DiscoveryService } from './services/DiscoveryService.js';
|
|
|
110
127
|
export { JwksService } from './services/JwksService.js';
|
|
111
128
|
export { MetaService } from './services/MetaService.js';
|
|
112
129
|
export { MetaProjectsService } from './services/MetaProjectsService.js';
|
|
130
|
+
export { ScheduledTasksService } from './services/ScheduledTasksService.js';
|
|
131
|
+
export { SecretsService } from './services/SecretsService.js';
|
|
113
132
|
export { TaskService } from './services/TaskService.js';
|
|
133
|
+
export { TaskBlueprintsService } from './services/TaskBlueprintsService.js';
|
|
114
134
|
export { ThreadsService } from './services/ThreadsService.js';
|
|
115
135
|
export { ToolsService } from './services/ToolsService.js';
|
|
116
136
|
export { WebAuthenticationService } from './services/WebAuthenticationService.js';
|
package/dist/src/client/index.js
CHANGED
|
@@ -12,17 +12,20 @@ export { ChangeTaskStatusDto } from './models/ChangeTaskStatusDto.js';
|
|
|
12
12
|
export { ClientRegistrationResponseDto } from './models/ClientRegistrationResponseDto.js';
|
|
13
13
|
export { ConnectionFlowResponseDto } from './models/ConnectionFlowResponseDto.js';
|
|
14
14
|
export { CreateAgentDto } from './models/CreateAgentDto.js';
|
|
15
|
+
export { CreateServerDto } from './models/CreateServerDto.js';
|
|
15
16
|
export { GetConsentMetadataResponseDto } from './models/GetConsentMetadataResponseDto.js';
|
|
16
17
|
export { IntrospectTokenRequestDto } from './models/IntrospectTokenRequestDto.js';
|
|
17
18
|
export { IntrospectTokenResponseDto } from './models/IntrospectTokenResponseDto.js';
|
|
18
19
|
export { McpFlowResponseDto } from './models/McpFlowResponseDto.js';
|
|
19
20
|
export { PatchAgentDto } from './models/PatchAgentDto.js';
|
|
20
21
|
export { RegisterClientDto } from './models/RegisterClientDto.js';
|
|
22
|
+
export { ServerResponseDto } from './models/ServerResponseDto.js';
|
|
21
23
|
export { TaskResponseDto } from './models/TaskResponseDto.js';
|
|
22
24
|
export { TaskSummaryResponseDto } from './models/TaskSummaryResponseDto.js';
|
|
23
25
|
export { TokenExchangeRequestDto } from './models/TokenExchangeRequestDto.js';
|
|
24
26
|
export { TokenRequestDto } from './models/TokenRequestDto.js';
|
|
25
27
|
export { TokenResponseDto } from './models/TokenResponseDto.js';
|
|
28
|
+
export { UpdateServerDto } from './models/UpdateServerDto.js';
|
|
26
29
|
export { UserResponseDto } from './models/UserResponseDto.js';
|
|
27
30
|
export { ActorsService } from './services/ActorsService.js';
|
|
28
31
|
export { AgentService } from './services/AgentService.js';
|
|
@@ -36,7 +39,10 @@ export { DiscoveryService } from './services/DiscoveryService.js';
|
|
|
36
39
|
export { JwksService } from './services/JwksService.js';
|
|
37
40
|
export { MetaService } from './services/MetaService.js';
|
|
38
41
|
export { MetaProjectsService } from './services/MetaProjectsService.js';
|
|
42
|
+
export { ScheduledTasksService } from './services/ScheduledTasksService.js';
|
|
43
|
+
export { SecretsService } from './services/SecretsService.js';
|
|
39
44
|
export { TaskService } from './services/TaskService.js';
|
|
45
|
+
export { TaskBlueprintsService } from './services/TaskBlueprintsService.js';
|
|
40
46
|
export { ThreadsService } from './services/ThreadsService.js';
|
|
41
47
|
export { ToolsService } from './services/ToolsService.js';
|
|
42
48
|
export { WebAuthenticationService } from './services/WebAuthenticationService.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type CreateScheduledTaskDto = {
|
|
2
|
+
/**
|
|
3
|
+
* ID of the task blueprint to schedule
|
|
4
|
+
*/
|
|
5
|
+
taskBlueprintId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Cron expression for scheduling (e.g., "0 9 * * 1-5" for weekdays at 9am)
|
|
8
|
+
*/
|
|
9
|
+
cronExpression: string;
|
|
10
|
+
/**
|
|
11
|
+
* Whether the scheduled task is enabled
|
|
12
|
+
*/
|
|
13
|
+
enabled?: boolean;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type CreateSecretDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Unique name for the secret
|
|
4
|
+
*/
|
|
5
|
+
name: string;
|
|
6
|
+
/**
|
|
7
|
+
* Human-readable description of the secret
|
|
8
|
+
*/
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The secret value (will be encrypted at rest)
|
|
12
|
+
*/
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,8 +11,29 @@ export type CreateServerDto = {
|
|
|
11
11
|
* Short description of the MCP server
|
|
12
12
|
*/
|
|
13
13
|
description: string;
|
|
14
|
+
/**
|
|
15
|
+
* Transport type of the MCP server
|
|
16
|
+
*/
|
|
17
|
+
type: CreateServerDto.type;
|
|
14
18
|
/**
|
|
15
19
|
* URL that MCP Clients will use to connect to the server
|
|
16
20
|
*/
|
|
17
21
|
url?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Command used to start a stdio MCP server
|
|
24
|
+
*/
|
|
25
|
+
cmd?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Arguments passed to the stdio command
|
|
28
|
+
*/
|
|
29
|
+
args?: Array<string>;
|
|
18
30
|
};
|
|
31
|
+
export declare namespace CreateServerDto {
|
|
32
|
+
/**
|
|
33
|
+
* Transport type of the MCP server
|
|
34
|
+
*/
|
|
35
|
+
enum type {
|
|
36
|
+
HTTP = "http",
|
|
37
|
+
STDIO = "stdio"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var CreateServerDto;
|
|
2
|
+
(function (CreateServerDto) {
|
|
3
|
+
/**
|
|
4
|
+
* Transport type of the MCP server
|
|
5
|
+
*/
|
|
6
|
+
let type;
|
|
7
|
+
(function (type) {
|
|
8
|
+
type["HTTP"] = "http";
|
|
9
|
+
type["STDIO"] = "stdio";
|
|
10
|
+
})(type = CreateServerDto.type || (CreateServerDto.type = {}));
|
|
11
|
+
})(CreateServerDto || (CreateServerDto = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type CreateTaskBlueprintDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Name of the task blueprint
|
|
4
|
+
*/
|
|
5
|
+
name: string;
|
|
6
|
+
/**
|
|
7
|
+
* Detailed description of the task blueprint
|
|
8
|
+
*/
|
|
9
|
+
description: string;
|
|
10
|
+
/**
|
|
11
|
+
* ID or slug of the default assignee for tasks created from this blueprint
|
|
12
|
+
*/
|
|
13
|
+
assigneeActorId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Array of tag names to associate with tasks created from this blueprint
|
|
16
|
+
*/
|
|
17
|
+
tagNames?: Array<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Array of task IDs that tasks created from this blueprint should depend on
|
|
20
|
+
*/
|
|
21
|
+
dependsOnIds?: Array<string>;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,9 +4,9 @@ export type CreateThreadDto = {
|
|
|
4
4
|
*/
|
|
5
5
|
title?: string;
|
|
6
6
|
/**
|
|
7
|
-
* Parent task ID - the task that this thread belongs to
|
|
7
|
+
* Parent task ID - the task that this thread belongs to (optional for headless threads)
|
|
8
8
|
*/
|
|
9
|
-
parentTaskId
|
|
9
|
+
parentTaskId?: string;
|
|
10
10
|
/**
|
|
11
11
|
* Array of tag names to associate with the thread
|
|
12
12
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,37 +4,37 @@ export type IntrospectTokenResponseDto = {
|
|
|
4
4
|
*/
|
|
5
5
|
active: boolean;
|
|
6
6
|
/**
|
|
7
|
-
* Token type, always Bearer for MCP clients
|
|
7
|
+
* Token type, always Bearer for MCP clients. Only present when active is true.
|
|
8
8
|
*/
|
|
9
|
-
token_type
|
|
9
|
+
token_type?: IntrospectTokenResponseDto.token_type;
|
|
10
10
|
/**
|
|
11
|
-
* Client identifier associated with the token
|
|
11
|
+
* Client identifier associated with the token. Only present when active is true.
|
|
12
12
|
*/
|
|
13
|
-
client_id
|
|
13
|
+
client_id?: string;
|
|
14
14
|
/**
|
|
15
|
-
* Subject of the token (resource owner or actor)
|
|
15
|
+
* Subject of the token (resource owner or actor). Only present when active is true.
|
|
16
16
|
*/
|
|
17
|
-
sub
|
|
17
|
+
sub?: Record<string, any>;
|
|
18
18
|
/**
|
|
19
|
-
* Audience that should accept this token
|
|
19
|
+
* Audience that should accept this token. Only present when active is true.
|
|
20
20
|
*/
|
|
21
|
-
aud
|
|
21
|
+
aud?: (string | Array<string>);
|
|
22
22
|
/**
|
|
23
|
-
* Issuer that minted the token
|
|
23
|
+
* Issuer that minted the token. Only present when active is true.
|
|
24
24
|
*/
|
|
25
|
-
iss
|
|
25
|
+
iss?: Record<string, any>;
|
|
26
26
|
/**
|
|
27
|
-
* Unique token identifier for replay detection
|
|
27
|
+
* Unique token identifier for replay detection. Only present when active is true.
|
|
28
28
|
*/
|
|
29
|
-
jti
|
|
29
|
+
jti?: Record<string, any>;
|
|
30
30
|
/**
|
|
31
|
-
* Expiration timestamp (seconds since Unix epoch)
|
|
31
|
+
* Expiration timestamp (seconds since Unix epoch). Only present when active is true.
|
|
32
32
|
*/
|
|
33
|
-
exp
|
|
33
|
+
exp?: Record<string, any>;
|
|
34
34
|
/**
|
|
35
|
-
* Issued-at timestamp (seconds since Unix epoch)
|
|
35
|
+
* Issued-at timestamp (seconds since Unix epoch). Only present when active is true.
|
|
36
36
|
*/
|
|
37
|
-
iat
|
|
37
|
+
iat?: Record<string, any>;
|
|
38
38
|
/**
|
|
39
39
|
* Granted scopes (space-delimited) for display purposes
|
|
40
40
|
*/
|
|
@@ -42,19 +42,19 @@ export type IntrospectTokenResponseDto = {
|
|
|
42
42
|
/**
|
|
43
43
|
* MCP server identifier the token is scoped to
|
|
44
44
|
*/
|
|
45
|
-
mcp_server_identifier
|
|
45
|
+
mcp_server_identifier?: Record<string, any>;
|
|
46
46
|
/**
|
|
47
|
-
* Resource URL that was used during authorization
|
|
47
|
+
* Resource URL that was used during authorization. Only present when active is true.
|
|
48
48
|
*/
|
|
49
|
-
resource
|
|
49
|
+
resource?: Record<string, any>;
|
|
50
50
|
/**
|
|
51
|
-
* Version of the MCP server contract
|
|
51
|
+
* Version of the MCP server contract. Only present when active is true.
|
|
52
52
|
*/
|
|
53
|
-
version
|
|
53
|
+
version?: Record<string, any>;
|
|
54
54
|
};
|
|
55
55
|
export declare namespace IntrospectTokenResponseDto {
|
|
56
56
|
/**
|
|
57
|
-
* Token type, always Bearer for MCP clients
|
|
57
|
+
* Token type, always Bearer for MCP clients. Only present when active is true.
|
|
58
58
|
*/
|
|
59
59
|
enum token_type {
|
|
60
60
|
BEARER = "Bearer"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ThreadMessageResponseDto } from './ThreadMessageResponseDto.js';
|
|
2
|
+
export type ListThreadMessagesResponseDto = {
|
|
3
|
+
/**
|
|
4
|
+
* List of messages
|
|
5
|
+
*/
|
|
6
|
+
items: Array<ThreadMessageResponseDto>;
|
|
7
|
+
/**
|
|
8
|
+
* Total number of messages
|
|
9
|
+
*/
|
|
10
|
+
total: number;
|
|
11
|
+
/**
|
|
12
|
+
* Current page number
|
|
13
|
+
*/
|
|
14
|
+
page: number;
|
|
15
|
+
/**
|
|
16
|
+
* Number of items per page
|
|
17
|
+
*/
|
|
18
|
+
limit: number;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type OnboardingRequestDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Email address for the first admin user
|
|
4
|
+
*/
|
|
5
|
+
email: string;
|
|
6
|
+
/**
|
|
7
|
+
* Display name for the first admin user
|
|
8
|
+
*/
|
|
9
|
+
displayName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Slug/username for the first admin user
|
|
12
|
+
*/
|
|
13
|
+
slug: string;
|
|
14
|
+
/**
|
|
15
|
+
* Password for the first admin user (minimum 8 characters)
|
|
16
|
+
*/
|
|
17
|
+
password: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export type PatchAgentDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Updated actor slug for the agent
|
|
4
|
+
*/
|
|
5
|
+
slug?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Updated actor display name for the agent
|
|
8
|
+
*/
|
|
9
|
+
name?: string;
|
|
2
10
|
/**
|
|
3
11
|
* Core instructions/persona for this agent
|
|
4
12
|
*/
|
|
@@ -23,14 +31,30 @@ export type PatchAgentDto = {
|
|
|
23
31
|
* Type of agent (provider)
|
|
24
32
|
*/
|
|
25
33
|
type?: PatchAgentDto.type;
|
|
34
|
+
/**
|
|
35
|
+
* Short description of what this agent does
|
|
36
|
+
*/
|
|
37
|
+
description?: string | null;
|
|
26
38
|
/**
|
|
27
39
|
* Introduction field for semantic matching - describes what this agent is good at and when to assign them tasks
|
|
28
40
|
*/
|
|
29
|
-
introduction?: string;
|
|
41
|
+
introduction?: string | null;
|
|
30
42
|
/**
|
|
31
43
|
* Optional avatar URL for the agent actor
|
|
32
44
|
*/
|
|
33
45
|
avatarUrl?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* List of tool identifiers this agent is allowed to use
|
|
48
|
+
*/
|
|
49
|
+
allowedTools?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Whether this agent is available for assignment
|
|
52
|
+
*/
|
|
53
|
+
isActive?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Max number of tasks this agent can process in parallel
|
|
56
|
+
*/
|
|
57
|
+
concurrencyLimit?: number | null;
|
|
34
58
|
};
|
|
35
59
|
export declare namespace PatchAgentDto {
|
|
36
60
|
/**
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ScheduledTaskResponseDto } from './ScheduledTaskResponseDto.js';
|
|
2
|
+
export type ScheduledTaskListResponseDto = {
|
|
3
|
+
/**
|
|
4
|
+
* List of scheduled tasks
|
|
5
|
+
*/
|
|
6
|
+
items: Array<ScheduledTaskResponseDto>;
|
|
7
|
+
/**
|
|
8
|
+
* Total number of scheduled tasks
|
|
9
|
+
*/
|
|
10
|
+
total: number;
|
|
11
|
+
/**
|
|
12
|
+
* Current page number
|
|
13
|
+
*/
|
|
14
|
+
page: number;
|
|
15
|
+
/**
|
|
16
|
+
* Number of items per page
|
|
17
|
+
*/
|
|
18
|
+
limit: number;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { TaskBlueprintResponseDto } from './TaskBlueprintResponseDto.js';
|
|
2
|
+
export type ScheduledTaskResponseDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier for the scheduled task
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* ID of the task blueprint
|
|
9
|
+
*/
|
|
10
|
+
taskBlueprintId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The task blueprint details
|
|
13
|
+
*/
|
|
14
|
+
taskBlueprint?: TaskBlueprintResponseDto;
|
|
15
|
+
/**
|
|
16
|
+
* Cron expression for scheduling
|
|
17
|
+
*/
|
|
18
|
+
cronExpression: string;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the scheduled task is enabled
|
|
21
|
+
*/
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Last execution timestamp
|
|
25
|
+
*/
|
|
26
|
+
lastRunAt?: Record<string, any> | null;
|
|
27
|
+
/**
|
|
28
|
+
* Next scheduled execution timestamp
|
|
29
|
+
*/
|
|
30
|
+
nextRunAt: string;
|
|
31
|
+
/**
|
|
32
|
+
* Row version for optimistic locking
|
|
33
|
+
*/
|
|
34
|
+
rowVersion: number;
|
|
35
|
+
/**
|
|
36
|
+
* Scheduled task creation timestamp
|
|
37
|
+
*/
|
|
38
|
+
createdAt: string;
|
|
39
|
+
/**
|
|
40
|
+
* Scheduled task last update timestamp
|
|
41
|
+
*/
|
|
42
|
+
updatedAt: string;
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type SecretResponseDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Secret identifier
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Name of the secret
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Human-readable description
|
|
12
|
+
*/
|
|
13
|
+
description?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the actor who created this secret
|
|
16
|
+
*/
|
|
17
|
+
createdByActorId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Slug of the actor who created this secret
|
|
20
|
+
*/
|
|
21
|
+
createdBy?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Row version for optimistic locking
|
|
24
|
+
*/
|
|
25
|
+
rowVersion: number;
|
|
26
|
+
/**
|
|
27
|
+
* ISO timestamp when the secret was created
|
|
28
|
+
*/
|
|
29
|
+
createdAt: string;
|
|
30
|
+
/**
|
|
31
|
+
* ISO timestamp when the secret was last updated
|
|
32
|
+
*/
|
|
33
|
+
updatedAt: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -15,10 +15,22 @@ export type ServerResponseDto = {
|
|
|
15
15
|
* Short description of the MCP server
|
|
16
16
|
*/
|
|
17
17
|
description: string;
|
|
18
|
+
/**
|
|
19
|
+
* Transport type of the MCP server
|
|
20
|
+
*/
|
|
21
|
+
type: ServerResponseDto.type;
|
|
18
22
|
/**
|
|
19
23
|
* URL that MCP Clients will use to connect to the server
|
|
20
24
|
*/
|
|
21
25
|
url?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Command used to start a stdio MCP server
|
|
28
|
+
*/
|
|
29
|
+
cmd?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Arguments passed to the stdio command
|
|
32
|
+
*/
|
|
33
|
+
args?: Array<string>;
|
|
22
34
|
/**
|
|
23
35
|
* Timestamp when the server was created
|
|
24
36
|
*/
|
|
@@ -28,3 +40,12 @@ export type ServerResponseDto = {
|
|
|
28
40
|
*/
|
|
29
41
|
updatedAt: string;
|
|
30
42
|
};
|
|
43
|
+
export declare namespace ServerResponseDto {
|
|
44
|
+
/**
|
|
45
|
+
* Transport type of the MCP server
|
|
46
|
+
*/
|
|
47
|
+
enum type {
|
|
48
|
+
HTTP = "http",
|
|
49
|
+
STDIO = "stdio"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var ServerResponseDto;
|
|
2
|
+
(function (ServerResponseDto) {
|
|
3
|
+
/**
|
|
4
|
+
* Transport type of the MCP server
|
|
5
|
+
*/
|
|
6
|
+
let type;
|
|
7
|
+
(function (type) {
|
|
8
|
+
type["HTTP"] = "http";
|
|
9
|
+
type["STDIO"] = "stdio";
|
|
10
|
+
})(type = ServerResponseDto.type || (ServerResponseDto.type = {}));
|
|
11
|
+
})(ServerResponseDto || (ServerResponseDto = {}));
|