v0-api 0.0.2 → 0.0.3
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/client.d.mts +28 -27
- package/dist/client.d.ts +28 -27
- package/dist/generated/components.d.mts +80 -68
- package/dist/generated/components.d.ts +80 -68
- package/dist/generated/components.js +157 -99
- package/dist/generated/components.mjs +156 -99
- package/dist/generated/mcp.d.mts +261 -0
- package/dist/generated/mcp.d.ts +261 -0
- package/dist/generated/mcp.js +554 -0
- package/dist/generated/mcp.mjs +524 -0
- package/dist/generated/schemas.d.mts +520 -151
- package/dist/generated/schemas.d.ts +520 -151
- package/dist/generated/schemas.js +106 -69
- package/dist/generated/schemas.mjs +100 -63
- package/dist/generated/types.d.mts +41 -0
- package/dist/generated/types.d.ts +41 -0
- package/dist/generated/types.js +12 -12
- package/dist/generated/types.mjs +12 -12
- package/dist/index.d.mts +50 -43
- package/dist/index.d.ts +50 -43
- package/dist/mcp.d.mts +1 -0
- package/dist/mcp.d.ts +1 -0
- package/dist/mcp.js +5 -0
- package/dist/mcp.mjs +1 -0
- package/dist/utils/fetcher.d.mts +1 -1
- package/dist/utils/fetcher.d.ts +1 -1
- package/dist/utils/mcp.d.mts +1 -0
- package/dist/utils/mcp.d.ts +1 -0
- package/dist/utils/mcp.js +2 -0
- package/dist/utils/mcp.mjs +1 -0
- package/package.json +14 -4
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import type { FetcherConfig } from "../utils/fetcher.mjs";
|
|
2
|
+
import client from "../utils/fetcher.mjs";
|
|
3
|
+
import type { CallToolResult } from "../utils/mcp.mjs";
|
|
4
|
+
import type { ChatsDeletePathParams, ChatsFavoritePathParams, ChatsFindQueryParams, ChatsForkPathParams, ChatsGetByIdPathParams, ChatsGetMetadataPathParams, ChatsResumePathParams, ChatsSendMessagePathParams, ChatsUpdatePathParams, DeploymentsFindErrorsPathParams, DeploymentsFindLogsPathParams, DeploymentsFindLogsQueryParams, ProjectsAssignPathParams, ProjectsGetByChatIdPathParams, RateLimitsFindQueryParams, UserGetBillingQueryParams } from "./types.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @description Create a new chat
|
|
7
|
+
* @summary Create Chat
|
|
8
|
+
* {@link /chats}
|
|
9
|
+
*/
|
|
10
|
+
export declare function chatsCreate({ config }: {
|
|
11
|
+
config?: Partial<FetcherConfig> & {
|
|
12
|
+
client?: typeof client;
|
|
13
|
+
};
|
|
14
|
+
}): Promise<Promise<CallToolResult>>;
|
|
15
|
+
/**
|
|
16
|
+
* @description Find all chats
|
|
17
|
+
* @summary Find Chats
|
|
18
|
+
* {@link /chats}
|
|
19
|
+
*/
|
|
20
|
+
export declare function chatsFind({ queryParams, config }: {
|
|
21
|
+
queryParams?: ChatsFindQueryParams | undefined;
|
|
22
|
+
config?: Partial<FetcherConfig> & {
|
|
23
|
+
client?: typeof client;
|
|
24
|
+
};
|
|
25
|
+
}): Promise<Promise<CallToolResult>>;
|
|
26
|
+
/**
|
|
27
|
+
* @description Initialize a new chat from files
|
|
28
|
+
* @summary Initialize Chat
|
|
29
|
+
* {@link /chats/init}
|
|
30
|
+
*/
|
|
31
|
+
export declare function chatsInitCreate({ config }: {
|
|
32
|
+
config?: Partial<FetcherConfig> & {
|
|
33
|
+
client?: typeof client;
|
|
34
|
+
};
|
|
35
|
+
}): Promise<Promise<CallToolResult>>;
|
|
36
|
+
/**
|
|
37
|
+
* @description Delete a chat
|
|
38
|
+
* @summary Delete Chat
|
|
39
|
+
* {@link /chats/:chatId}
|
|
40
|
+
*/
|
|
41
|
+
export declare function chatsDelete({ pathParams: { chatId }, config }: {
|
|
42
|
+
pathParams: ChatsDeletePathParams;
|
|
43
|
+
config?: Partial<FetcherConfig> & {
|
|
44
|
+
client?: typeof client;
|
|
45
|
+
};
|
|
46
|
+
}): Promise<Promise<CallToolResult>>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Get a chat
|
|
49
|
+
* @summary Get Chat
|
|
50
|
+
* {@link /chats/:chatId}
|
|
51
|
+
*/
|
|
52
|
+
export declare function chatsGetById({ pathParams: { chatId }, config }: {
|
|
53
|
+
pathParams: ChatsGetByIdPathParams;
|
|
54
|
+
config?: Partial<FetcherConfig> & {
|
|
55
|
+
client?: typeof client;
|
|
56
|
+
};
|
|
57
|
+
}): Promise<Promise<CallToolResult>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description Update a chat
|
|
60
|
+
* @summary Update Chat
|
|
61
|
+
* {@link /chats/:chatId}
|
|
62
|
+
*/
|
|
63
|
+
export declare function chatsUpdate({ pathParams: { chatId }, config }: {
|
|
64
|
+
pathParams: ChatsUpdatePathParams;
|
|
65
|
+
config?: Partial<FetcherConfig> & {
|
|
66
|
+
client?: typeof client;
|
|
67
|
+
};
|
|
68
|
+
}): Promise<Promise<CallToolResult>>;
|
|
69
|
+
/**
|
|
70
|
+
* @description Favorite a chat
|
|
71
|
+
* @summary Favorite Chat
|
|
72
|
+
* {@link /chats/:chatId/favorite}
|
|
73
|
+
*/
|
|
74
|
+
export declare function chatsFavorite({ pathParams: { chatId }, config }: {
|
|
75
|
+
pathParams: ChatsFavoritePathParams;
|
|
76
|
+
config?: Partial<FetcherConfig> & {
|
|
77
|
+
client?: typeof client;
|
|
78
|
+
};
|
|
79
|
+
}): Promise<Promise<CallToolResult>>;
|
|
80
|
+
/**
|
|
81
|
+
* @description Fork a version in a chat
|
|
82
|
+
* @summary Fork Chat
|
|
83
|
+
* {@link /chats/:chatId/fork}
|
|
84
|
+
*/
|
|
85
|
+
export declare function chatsFork({ pathParams: { chatId }, config }: {
|
|
86
|
+
pathParams: ChatsForkPathParams;
|
|
87
|
+
config?: Partial<FetcherConfig> & {
|
|
88
|
+
client?: typeof client;
|
|
89
|
+
};
|
|
90
|
+
}): Promise<Promise<CallToolResult>>;
|
|
91
|
+
/**
|
|
92
|
+
* @description Get the project for a chat
|
|
93
|
+
* @summary Get Project by Chat ID
|
|
94
|
+
* {@link /chats/:chatId/project}
|
|
95
|
+
*/
|
|
96
|
+
export declare function projectsGetByChatId({ pathParams: { chatId }, config }: {
|
|
97
|
+
pathParams: ProjectsGetByChatIdPathParams;
|
|
98
|
+
config?: Partial<FetcherConfig> & {
|
|
99
|
+
client?: typeof client;
|
|
100
|
+
};
|
|
101
|
+
}): Promise<Promise<CallToolResult>>;
|
|
102
|
+
/**
|
|
103
|
+
* @description Create a new message in a chat
|
|
104
|
+
* @summary Create Message
|
|
105
|
+
* {@link /chats/:chatId/messages}
|
|
106
|
+
*/
|
|
107
|
+
export declare function chatsSendMessage({ pathParams: { chatId }, config }: {
|
|
108
|
+
pathParams: ChatsSendMessagePathParams;
|
|
109
|
+
config?: Partial<FetcherConfig> & {
|
|
110
|
+
client?: typeof client;
|
|
111
|
+
};
|
|
112
|
+
}): Promise<Promise<CallToolResult>>;
|
|
113
|
+
/**
|
|
114
|
+
* @description Get the metadata for a chat
|
|
115
|
+
* @summary Get Chat Metadata
|
|
116
|
+
* {@link /chats/:chatId/metadata}
|
|
117
|
+
*/
|
|
118
|
+
export declare function chatsGetMetadata({ pathParams: { chatId }, config }: {
|
|
119
|
+
pathParams: ChatsGetMetadataPathParams;
|
|
120
|
+
config?: Partial<FetcherConfig> & {
|
|
121
|
+
client?: typeof client;
|
|
122
|
+
};
|
|
123
|
+
}): Promise<Promise<CallToolResult>>;
|
|
124
|
+
/**
|
|
125
|
+
* @description Resume a chat message
|
|
126
|
+
* @summary Resume Chat Message
|
|
127
|
+
* {@link /chats/:chatId/messages/:messageId/resume}
|
|
128
|
+
*/
|
|
129
|
+
export declare function chatsResume({ pathParams: { chatId, messageId }, config }: {
|
|
130
|
+
pathParams: ChatsResumePathParams;
|
|
131
|
+
config?: Partial<FetcherConfig> & {
|
|
132
|
+
client?: typeof client;
|
|
133
|
+
};
|
|
134
|
+
}): Promise<Promise<CallToolResult>>;
|
|
135
|
+
/**
|
|
136
|
+
* @description Find logs for a deployment
|
|
137
|
+
* @summary Find Deployment Logs
|
|
138
|
+
* {@link /deployments/:deploymentId/logs}
|
|
139
|
+
*/
|
|
140
|
+
export declare function deploymentsFindLogs({ pathParams: { deploymentId }, queryParams, config }: {
|
|
141
|
+
pathParams: DeploymentsFindLogsPathParams;
|
|
142
|
+
queryParams?: DeploymentsFindLogsQueryParams | undefined;
|
|
143
|
+
config?: Partial<FetcherConfig> & {
|
|
144
|
+
client?: typeof client;
|
|
145
|
+
};
|
|
146
|
+
}): Promise<Promise<CallToolResult>>;
|
|
147
|
+
/**
|
|
148
|
+
* @description Find errors for a deployment
|
|
149
|
+
* @summary Find Deployment Errors
|
|
150
|
+
* {@link /deployments/:deploymentId/errors}
|
|
151
|
+
*/
|
|
152
|
+
export declare function deploymentsFindErrors({ pathParams: { deploymentId }, config }: {
|
|
153
|
+
pathParams: DeploymentsFindErrorsPathParams;
|
|
154
|
+
config?: Partial<FetcherConfig> & {
|
|
155
|
+
client?: typeof client;
|
|
156
|
+
};
|
|
157
|
+
}): Promise<Promise<CallToolResult>>;
|
|
158
|
+
/**
|
|
159
|
+
* @description Find all Vercel projects
|
|
160
|
+
* @summary Find Vercel Projects
|
|
161
|
+
* {@link /integrations/vercel/projects}
|
|
162
|
+
*/
|
|
163
|
+
export declare function integrationsVercelProjectsFind({ config }: {
|
|
164
|
+
config?: Partial<FetcherConfig> & {
|
|
165
|
+
client?: typeof client;
|
|
166
|
+
};
|
|
167
|
+
}): Promise<Promise<CallToolResult>>;
|
|
168
|
+
/**
|
|
169
|
+
* @description Create a new Vercel project
|
|
170
|
+
* @summary Create Vercel Project
|
|
171
|
+
* {@link /integrations/vercel/projects}
|
|
172
|
+
*/
|
|
173
|
+
export declare function integrationsVercelProjectsCreate({ config }: {
|
|
174
|
+
config?: Partial<FetcherConfig> & {
|
|
175
|
+
client?: typeof client;
|
|
176
|
+
};
|
|
177
|
+
}): Promise<Promise<CallToolResult>>;
|
|
178
|
+
/**
|
|
179
|
+
* @description Find all projects
|
|
180
|
+
* @summary Find Projects
|
|
181
|
+
* {@link /projects}
|
|
182
|
+
*/
|
|
183
|
+
export declare function projectsFind({ config }: {
|
|
184
|
+
config?: Partial<FetcherConfig> & {
|
|
185
|
+
client?: typeof client;
|
|
186
|
+
};
|
|
187
|
+
}): Promise<Promise<CallToolResult>>;
|
|
188
|
+
/**
|
|
189
|
+
* @description Create a new project
|
|
190
|
+
* @summary Create Project
|
|
191
|
+
* {@link /projects}
|
|
192
|
+
*/
|
|
193
|
+
export declare function projectsCreate({ config }: {
|
|
194
|
+
config?: Partial<FetcherConfig> & {
|
|
195
|
+
client?: typeof client;
|
|
196
|
+
};
|
|
197
|
+
}): Promise<Promise<CallToolResult>>;
|
|
198
|
+
/**
|
|
199
|
+
* @description Assign a project to a chat
|
|
200
|
+
* @summary Assign Project to Chat
|
|
201
|
+
* {@link /projects/:projectId/assign}
|
|
202
|
+
*/
|
|
203
|
+
export declare function projectsAssign({ pathParams: { projectId }, config }: {
|
|
204
|
+
pathParams: ProjectsAssignPathParams;
|
|
205
|
+
config?: Partial<FetcherConfig> & {
|
|
206
|
+
client?: typeof client;
|
|
207
|
+
};
|
|
208
|
+
}): Promise<Promise<CallToolResult>>;
|
|
209
|
+
/**
|
|
210
|
+
* @description Find the rate limit for a scope
|
|
211
|
+
* @summary Find Rate Limit
|
|
212
|
+
* {@link /rate-limits}
|
|
213
|
+
*/
|
|
214
|
+
export declare function rateLimitsFind({ queryParams, config }: {
|
|
215
|
+
queryParams?: RateLimitsFindQueryParams | undefined;
|
|
216
|
+
config?: Partial<FetcherConfig> & {
|
|
217
|
+
client?: typeof client;
|
|
218
|
+
};
|
|
219
|
+
}): Promise<Promise<CallToolResult>>;
|
|
220
|
+
/**
|
|
221
|
+
* @description Get the user
|
|
222
|
+
* @summary Get User
|
|
223
|
+
* {@link /user}
|
|
224
|
+
*/
|
|
225
|
+
export declare function userGet({ config }: {
|
|
226
|
+
config?: Partial<FetcherConfig> & {
|
|
227
|
+
client?: typeof client;
|
|
228
|
+
};
|
|
229
|
+
}): Promise<Promise<CallToolResult>>;
|
|
230
|
+
/**
|
|
231
|
+
* @description Get the billing for the user
|
|
232
|
+
* @summary Get Billing
|
|
233
|
+
* {@link /user/billing}
|
|
234
|
+
*/
|
|
235
|
+
export declare function userGetBilling({ queryParams, config }: {
|
|
236
|
+
queryParams?: UserGetBillingQueryParams | undefined;
|
|
237
|
+
config?: Partial<FetcherConfig> & {
|
|
238
|
+
client?: typeof client;
|
|
239
|
+
};
|
|
240
|
+
}): Promise<Promise<CallToolResult>>;
|
|
241
|
+
/**
|
|
242
|
+
* @description Get the plan for the user
|
|
243
|
+
* @summary Get Plan
|
|
244
|
+
* {@link /user/plan}
|
|
245
|
+
*/
|
|
246
|
+
export declare function userGetPlan({ config }: {
|
|
247
|
+
config?: Partial<FetcherConfig> & {
|
|
248
|
+
client?: typeof client;
|
|
249
|
+
};
|
|
250
|
+
}): Promise<Promise<CallToolResult>>;
|
|
251
|
+
/**
|
|
252
|
+
* @description Get all scopes for the user
|
|
253
|
+
* @summary Get User Scopes
|
|
254
|
+
* {@link /user/scopes}
|
|
255
|
+
*/
|
|
256
|
+
export declare function userGetScopes({ config }: {
|
|
257
|
+
config?: Partial<FetcherConfig> & {
|
|
258
|
+
client?: typeof client;
|
|
259
|
+
};
|
|
260
|
+
}): Promise<Promise<CallToolResult>>;
|
|
261
|
+
export declare function initMcpTools<Server>(serverLike: Server, config: FetcherConfig): void;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import type { FetcherConfig } from "../utils/fetcher.js";
|
|
2
|
+
import client from "../utils/fetcher.js";
|
|
3
|
+
import type { CallToolResult } from "../utils/mcp.js";
|
|
4
|
+
import type { ChatsDeletePathParams, ChatsFavoritePathParams, ChatsFindQueryParams, ChatsForkPathParams, ChatsGetByIdPathParams, ChatsGetMetadataPathParams, ChatsResumePathParams, ChatsSendMessagePathParams, ChatsUpdatePathParams, DeploymentsFindErrorsPathParams, DeploymentsFindLogsPathParams, DeploymentsFindLogsQueryParams, ProjectsAssignPathParams, ProjectsGetByChatIdPathParams, RateLimitsFindQueryParams, UserGetBillingQueryParams } from "./types.js";
|
|
5
|
+
/**
|
|
6
|
+
* @description Create a new chat
|
|
7
|
+
* @summary Create Chat
|
|
8
|
+
* {@link /chats}
|
|
9
|
+
*/
|
|
10
|
+
export declare function chatsCreate({ config }: {
|
|
11
|
+
config?: Partial<FetcherConfig> & {
|
|
12
|
+
client?: typeof client;
|
|
13
|
+
};
|
|
14
|
+
}): Promise<Promise<CallToolResult>>;
|
|
15
|
+
/**
|
|
16
|
+
* @description Find all chats
|
|
17
|
+
* @summary Find Chats
|
|
18
|
+
* {@link /chats}
|
|
19
|
+
*/
|
|
20
|
+
export declare function chatsFind({ queryParams, config }: {
|
|
21
|
+
queryParams?: ChatsFindQueryParams | undefined;
|
|
22
|
+
config?: Partial<FetcherConfig> & {
|
|
23
|
+
client?: typeof client;
|
|
24
|
+
};
|
|
25
|
+
}): Promise<Promise<CallToolResult>>;
|
|
26
|
+
/**
|
|
27
|
+
* @description Initialize a new chat from files
|
|
28
|
+
* @summary Initialize Chat
|
|
29
|
+
* {@link /chats/init}
|
|
30
|
+
*/
|
|
31
|
+
export declare function chatsInitCreate({ config }: {
|
|
32
|
+
config?: Partial<FetcherConfig> & {
|
|
33
|
+
client?: typeof client;
|
|
34
|
+
};
|
|
35
|
+
}): Promise<Promise<CallToolResult>>;
|
|
36
|
+
/**
|
|
37
|
+
* @description Delete a chat
|
|
38
|
+
* @summary Delete Chat
|
|
39
|
+
* {@link /chats/:chatId}
|
|
40
|
+
*/
|
|
41
|
+
export declare function chatsDelete({ pathParams: { chatId }, config }: {
|
|
42
|
+
pathParams: ChatsDeletePathParams;
|
|
43
|
+
config?: Partial<FetcherConfig> & {
|
|
44
|
+
client?: typeof client;
|
|
45
|
+
};
|
|
46
|
+
}): Promise<Promise<CallToolResult>>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Get a chat
|
|
49
|
+
* @summary Get Chat
|
|
50
|
+
* {@link /chats/:chatId}
|
|
51
|
+
*/
|
|
52
|
+
export declare function chatsGetById({ pathParams: { chatId }, config }: {
|
|
53
|
+
pathParams: ChatsGetByIdPathParams;
|
|
54
|
+
config?: Partial<FetcherConfig> & {
|
|
55
|
+
client?: typeof client;
|
|
56
|
+
};
|
|
57
|
+
}): Promise<Promise<CallToolResult>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description Update a chat
|
|
60
|
+
* @summary Update Chat
|
|
61
|
+
* {@link /chats/:chatId}
|
|
62
|
+
*/
|
|
63
|
+
export declare function chatsUpdate({ pathParams: { chatId }, config }: {
|
|
64
|
+
pathParams: ChatsUpdatePathParams;
|
|
65
|
+
config?: Partial<FetcherConfig> & {
|
|
66
|
+
client?: typeof client;
|
|
67
|
+
};
|
|
68
|
+
}): Promise<Promise<CallToolResult>>;
|
|
69
|
+
/**
|
|
70
|
+
* @description Favorite a chat
|
|
71
|
+
* @summary Favorite Chat
|
|
72
|
+
* {@link /chats/:chatId/favorite}
|
|
73
|
+
*/
|
|
74
|
+
export declare function chatsFavorite({ pathParams: { chatId }, config }: {
|
|
75
|
+
pathParams: ChatsFavoritePathParams;
|
|
76
|
+
config?: Partial<FetcherConfig> & {
|
|
77
|
+
client?: typeof client;
|
|
78
|
+
};
|
|
79
|
+
}): Promise<Promise<CallToolResult>>;
|
|
80
|
+
/**
|
|
81
|
+
* @description Fork a version in a chat
|
|
82
|
+
* @summary Fork Chat
|
|
83
|
+
* {@link /chats/:chatId/fork}
|
|
84
|
+
*/
|
|
85
|
+
export declare function chatsFork({ pathParams: { chatId }, config }: {
|
|
86
|
+
pathParams: ChatsForkPathParams;
|
|
87
|
+
config?: Partial<FetcherConfig> & {
|
|
88
|
+
client?: typeof client;
|
|
89
|
+
};
|
|
90
|
+
}): Promise<Promise<CallToolResult>>;
|
|
91
|
+
/**
|
|
92
|
+
* @description Get the project for a chat
|
|
93
|
+
* @summary Get Project by Chat ID
|
|
94
|
+
* {@link /chats/:chatId/project}
|
|
95
|
+
*/
|
|
96
|
+
export declare function projectsGetByChatId({ pathParams: { chatId }, config }: {
|
|
97
|
+
pathParams: ProjectsGetByChatIdPathParams;
|
|
98
|
+
config?: Partial<FetcherConfig> & {
|
|
99
|
+
client?: typeof client;
|
|
100
|
+
};
|
|
101
|
+
}): Promise<Promise<CallToolResult>>;
|
|
102
|
+
/**
|
|
103
|
+
* @description Create a new message in a chat
|
|
104
|
+
* @summary Create Message
|
|
105
|
+
* {@link /chats/:chatId/messages}
|
|
106
|
+
*/
|
|
107
|
+
export declare function chatsSendMessage({ pathParams: { chatId }, config }: {
|
|
108
|
+
pathParams: ChatsSendMessagePathParams;
|
|
109
|
+
config?: Partial<FetcherConfig> & {
|
|
110
|
+
client?: typeof client;
|
|
111
|
+
};
|
|
112
|
+
}): Promise<Promise<CallToolResult>>;
|
|
113
|
+
/**
|
|
114
|
+
* @description Get the metadata for a chat
|
|
115
|
+
* @summary Get Chat Metadata
|
|
116
|
+
* {@link /chats/:chatId/metadata}
|
|
117
|
+
*/
|
|
118
|
+
export declare function chatsGetMetadata({ pathParams: { chatId }, config }: {
|
|
119
|
+
pathParams: ChatsGetMetadataPathParams;
|
|
120
|
+
config?: Partial<FetcherConfig> & {
|
|
121
|
+
client?: typeof client;
|
|
122
|
+
};
|
|
123
|
+
}): Promise<Promise<CallToolResult>>;
|
|
124
|
+
/**
|
|
125
|
+
* @description Resume a chat message
|
|
126
|
+
* @summary Resume Chat Message
|
|
127
|
+
* {@link /chats/:chatId/messages/:messageId/resume}
|
|
128
|
+
*/
|
|
129
|
+
export declare function chatsResume({ pathParams: { chatId, messageId }, config }: {
|
|
130
|
+
pathParams: ChatsResumePathParams;
|
|
131
|
+
config?: Partial<FetcherConfig> & {
|
|
132
|
+
client?: typeof client;
|
|
133
|
+
};
|
|
134
|
+
}): Promise<Promise<CallToolResult>>;
|
|
135
|
+
/**
|
|
136
|
+
* @description Find logs for a deployment
|
|
137
|
+
* @summary Find Deployment Logs
|
|
138
|
+
* {@link /deployments/:deploymentId/logs}
|
|
139
|
+
*/
|
|
140
|
+
export declare function deploymentsFindLogs({ pathParams: { deploymentId }, queryParams, config }: {
|
|
141
|
+
pathParams: DeploymentsFindLogsPathParams;
|
|
142
|
+
queryParams?: DeploymentsFindLogsQueryParams | undefined;
|
|
143
|
+
config?: Partial<FetcherConfig> & {
|
|
144
|
+
client?: typeof client;
|
|
145
|
+
};
|
|
146
|
+
}): Promise<Promise<CallToolResult>>;
|
|
147
|
+
/**
|
|
148
|
+
* @description Find errors for a deployment
|
|
149
|
+
* @summary Find Deployment Errors
|
|
150
|
+
* {@link /deployments/:deploymentId/errors}
|
|
151
|
+
*/
|
|
152
|
+
export declare function deploymentsFindErrors({ pathParams: { deploymentId }, config }: {
|
|
153
|
+
pathParams: DeploymentsFindErrorsPathParams;
|
|
154
|
+
config?: Partial<FetcherConfig> & {
|
|
155
|
+
client?: typeof client;
|
|
156
|
+
};
|
|
157
|
+
}): Promise<Promise<CallToolResult>>;
|
|
158
|
+
/**
|
|
159
|
+
* @description Find all Vercel projects
|
|
160
|
+
* @summary Find Vercel Projects
|
|
161
|
+
* {@link /integrations/vercel/projects}
|
|
162
|
+
*/
|
|
163
|
+
export declare function integrationsVercelProjectsFind({ config }: {
|
|
164
|
+
config?: Partial<FetcherConfig> & {
|
|
165
|
+
client?: typeof client;
|
|
166
|
+
};
|
|
167
|
+
}): Promise<Promise<CallToolResult>>;
|
|
168
|
+
/**
|
|
169
|
+
* @description Create a new Vercel project
|
|
170
|
+
* @summary Create Vercel Project
|
|
171
|
+
* {@link /integrations/vercel/projects}
|
|
172
|
+
*/
|
|
173
|
+
export declare function integrationsVercelProjectsCreate({ config }: {
|
|
174
|
+
config?: Partial<FetcherConfig> & {
|
|
175
|
+
client?: typeof client;
|
|
176
|
+
};
|
|
177
|
+
}): Promise<Promise<CallToolResult>>;
|
|
178
|
+
/**
|
|
179
|
+
* @description Find all projects
|
|
180
|
+
* @summary Find Projects
|
|
181
|
+
* {@link /projects}
|
|
182
|
+
*/
|
|
183
|
+
export declare function projectsFind({ config }: {
|
|
184
|
+
config?: Partial<FetcherConfig> & {
|
|
185
|
+
client?: typeof client;
|
|
186
|
+
};
|
|
187
|
+
}): Promise<Promise<CallToolResult>>;
|
|
188
|
+
/**
|
|
189
|
+
* @description Create a new project
|
|
190
|
+
* @summary Create Project
|
|
191
|
+
* {@link /projects}
|
|
192
|
+
*/
|
|
193
|
+
export declare function projectsCreate({ config }: {
|
|
194
|
+
config?: Partial<FetcherConfig> & {
|
|
195
|
+
client?: typeof client;
|
|
196
|
+
};
|
|
197
|
+
}): Promise<Promise<CallToolResult>>;
|
|
198
|
+
/**
|
|
199
|
+
* @description Assign a project to a chat
|
|
200
|
+
* @summary Assign Project to Chat
|
|
201
|
+
* {@link /projects/:projectId/assign}
|
|
202
|
+
*/
|
|
203
|
+
export declare function projectsAssign({ pathParams: { projectId }, config }: {
|
|
204
|
+
pathParams: ProjectsAssignPathParams;
|
|
205
|
+
config?: Partial<FetcherConfig> & {
|
|
206
|
+
client?: typeof client;
|
|
207
|
+
};
|
|
208
|
+
}): Promise<Promise<CallToolResult>>;
|
|
209
|
+
/**
|
|
210
|
+
* @description Find the rate limit for a scope
|
|
211
|
+
* @summary Find Rate Limit
|
|
212
|
+
* {@link /rate-limits}
|
|
213
|
+
*/
|
|
214
|
+
export declare function rateLimitsFind({ queryParams, config }: {
|
|
215
|
+
queryParams?: RateLimitsFindQueryParams | undefined;
|
|
216
|
+
config?: Partial<FetcherConfig> & {
|
|
217
|
+
client?: typeof client;
|
|
218
|
+
};
|
|
219
|
+
}): Promise<Promise<CallToolResult>>;
|
|
220
|
+
/**
|
|
221
|
+
* @description Get the user
|
|
222
|
+
* @summary Get User
|
|
223
|
+
* {@link /user}
|
|
224
|
+
*/
|
|
225
|
+
export declare function userGet({ config }: {
|
|
226
|
+
config?: Partial<FetcherConfig> & {
|
|
227
|
+
client?: typeof client;
|
|
228
|
+
};
|
|
229
|
+
}): Promise<Promise<CallToolResult>>;
|
|
230
|
+
/**
|
|
231
|
+
* @description Get the billing for the user
|
|
232
|
+
* @summary Get Billing
|
|
233
|
+
* {@link /user/billing}
|
|
234
|
+
*/
|
|
235
|
+
export declare function userGetBilling({ queryParams, config }: {
|
|
236
|
+
queryParams?: UserGetBillingQueryParams | undefined;
|
|
237
|
+
config?: Partial<FetcherConfig> & {
|
|
238
|
+
client?: typeof client;
|
|
239
|
+
};
|
|
240
|
+
}): Promise<Promise<CallToolResult>>;
|
|
241
|
+
/**
|
|
242
|
+
* @description Get the plan for the user
|
|
243
|
+
* @summary Get Plan
|
|
244
|
+
* {@link /user/plan}
|
|
245
|
+
*/
|
|
246
|
+
export declare function userGetPlan({ config }: {
|
|
247
|
+
config?: Partial<FetcherConfig> & {
|
|
248
|
+
client?: typeof client;
|
|
249
|
+
};
|
|
250
|
+
}): Promise<Promise<CallToolResult>>;
|
|
251
|
+
/**
|
|
252
|
+
* @description Get all scopes for the user
|
|
253
|
+
* @summary Get User Scopes
|
|
254
|
+
* {@link /user/scopes}
|
|
255
|
+
*/
|
|
256
|
+
export declare function userGetScopes({ config }: {
|
|
257
|
+
config?: Partial<FetcherConfig> & {
|
|
258
|
+
client?: typeof client;
|
|
259
|
+
};
|
|
260
|
+
}): Promise<Promise<CallToolResult>>;
|
|
261
|
+
export declare function initMcpTools<Server>(serverLike: Server, config: FetcherConfig): void;
|