v0-api 0.0.3 → 0.1.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.
Files changed (79) hide show
  1. package/dist/components.cjs +1498 -0
  2. package/dist/components.d.cts +1011 -0
  3. package/dist/components.d.cts.map +1 -0
  4. package/dist/components.d.mts +1011 -0
  5. package/dist/components.d.mts.map +1 -0
  6. package/dist/components.mjs +1435 -0
  7. package/dist/effect.cjs +1334 -0
  8. package/dist/effect.d.cts +970 -0
  9. package/dist/effect.d.cts.map +1 -0
  10. package/dist/effect.d.mts +970 -0
  11. package/dist/effect.d.mts.map +1 -0
  12. package/dist/effect.mjs +1312 -0
  13. package/dist/index.cjs +5132 -0
  14. package/dist/index.d.cts +11385 -0
  15. package/dist/index.d.cts.map +1 -0
  16. package/dist/index.d.mts +11378 -228
  17. package/dist/index.d.mts.map +1 -0
  18. package/dist/index.d.ts +11378 -228
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.mjs +4311 -7
  21. package/dist/schemas.cjs +3229 -0
  22. package/dist/schemas.d.cts +1856 -0
  23. package/dist/schemas.d.cts.map +1 -0
  24. package/dist/schemas.d.mts +1856 -0
  25. package/dist/schemas.d.mts.map +1 -0
  26. package/dist/schemas.mjs +2488 -0
  27. package/dist/types.cjs +420 -0
  28. package/dist/types.d.cts +8429 -0
  29. package/dist/types.d.cts.map +1 -0
  30. package/dist/types.d.mts +8429 -0
  31. package/dist/types.d.mts.map +1 -0
  32. package/dist/types.mjs +343 -0
  33. package/package.json +84 -31
  34. package/README.md +0 -3
  35. package/dist/client.d.mts +0 -58
  36. package/dist/client.d.ts +0 -58
  37. package/dist/client.js +0 -53
  38. package/dist/client.mjs +0 -46
  39. package/dist/generated/components.d.mts +0 -353
  40. package/dist/generated/components.d.ts +0 -353
  41. package/dist/generated/components.js +0 -449
  42. package/dist/generated/components.mjs +0 -419
  43. package/dist/generated/mcp.d.mts +0 -261
  44. package/dist/generated/mcp.d.ts +0 -261
  45. package/dist/generated/mcp.js +0 -554
  46. package/dist/generated/mcp.mjs +0 -524
  47. package/dist/generated/schemas.d.mts +0 -1484
  48. package/dist/generated/schemas.d.ts +0 -1484
  49. package/dist/generated/schemas.js +0 -1133
  50. package/dist/generated/schemas.mjs +0 -1125
  51. package/dist/generated/types.d.mts +0 -1669
  52. package/dist/generated/types.d.ts +0 -1669
  53. package/dist/generated/types.js +0 -93
  54. package/dist/generated/types.mjs +0 -90
  55. package/dist/index.js +0 -49
  56. package/dist/mcp.d.mts +0 -1
  57. package/dist/mcp.d.ts +0 -1
  58. package/dist/mcp.js +0 -5
  59. package/dist/mcp.mjs +0 -1
  60. package/dist/utils/fetch.d.mts +0 -18
  61. package/dist/utils/fetch.d.ts +0 -18
  62. package/dist/utils/fetch.js +0 -8
  63. package/dist/utils/fetch.mjs +0 -5
  64. package/dist/utils/fetcher.d.mts +0 -22
  65. package/dist/utils/fetcher.d.ts +0 -22
  66. package/dist/utils/fetcher.js +0 -68
  67. package/dist/utils/fetcher.mjs +0 -65
  68. package/dist/utils/lang.d.mts +0 -1
  69. package/dist/utils/lang.d.ts +0 -1
  70. package/dist/utils/lang.js +0 -9
  71. package/dist/utils/lang.mjs +0 -6
  72. package/dist/utils/mcp.d.mts +0 -1
  73. package/dist/utils/mcp.d.ts +0 -1
  74. package/dist/utils/mcp.js +0 -2
  75. package/dist/utils/mcp.mjs +0 -1
  76. package/dist/utils/types.d.mts +0 -3
  77. package/dist/utils/types.d.ts +0 -3
  78. package/dist/utils/types.js +0 -2
  79. package/dist/utils/types.mjs +0 -1
@@ -1,419 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
- import client from "../utils/fetcher.mjs";
6
- /**
7
- * @description Create a new chat
8
- * @summary Create Chat
9
- * {@link /chats}
10
- */
11
- export async function chatsCreate({ config = {} }) {
12
- const { client: request = client, ...requestConfig } = config;
13
- const data = await request({
14
- method: 'POST',
15
- url: `/chats`,
16
- ...requestConfig,
17
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
18
- });
19
- return data;
20
- }
21
- /**
22
- * @description Find all chats
23
- * @summary Find Chats
24
- * {@link /chats}
25
- */
26
- export async function chatsFind({ queryParams, config = {} }) {
27
- const { client: request = client, ...requestConfig } = config;
28
- const data = await request({ method: 'GET', url: `/chats`, queryParams, ...requestConfig });
29
- return data;
30
- }
31
- /**
32
- * @description Initialize a new chat from files
33
- * @summary Initialize Chat
34
- * {@link /chats/init}
35
- */
36
- export async function chatsInitCreate({ config = {} }) {
37
- const { client: request = client, ...requestConfig } = config;
38
- const data = await request({
39
- method: 'POST',
40
- url: `/chats/init`,
41
- ...requestConfig,
42
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
43
- });
44
- return data;
45
- }
46
- /**
47
- * @description Delete a chat
48
- * @summary Delete Chat
49
- * {@link /chats/:chatId}
50
- */
51
- export async function chatsDelete({ pathParams: { chatId }, config = {} }) {
52
- const { client: request = client, ...requestConfig } = config;
53
- if (!chatId) {
54
- throw new Error(`Missing required path parameter: chatId`);
55
- }
56
- const data = await request({ method: 'DELETE', url: `/chats/${chatId}`, ...requestConfig });
57
- return data;
58
- }
59
- /**
60
- * @description Get a chat
61
- * @summary Get Chat
62
- * {@link /chats/:chatId}
63
- */
64
- export async function chatsGetById({ pathParams: { chatId }, config = {} }) {
65
- const { client: request = client, ...requestConfig } = config;
66
- if (!chatId) {
67
- throw new Error(`Missing required path parameter: chatId`);
68
- }
69
- const data = await request({ method: 'GET', url: `/chats/${chatId}`, ...requestConfig });
70
- return data;
71
- }
72
- /**
73
- * @description Update a chat
74
- * @summary Update Chat
75
- * {@link /chats/:chatId}
76
- */
77
- export async function chatsUpdate({ pathParams: { chatId }, config = {} }) {
78
- const { client: request = client, ...requestConfig } = config;
79
- if (!chatId) {
80
- throw new Error(`Missing required path parameter: chatId`);
81
- }
82
- const data = await request({
83
- method: 'PATCH',
84
- url: `/chats/${chatId}`,
85
- ...requestConfig,
86
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
87
- });
88
- return data;
89
- }
90
- /**
91
- * @description Favorite a chat
92
- * @summary Favorite Chat
93
- * {@link /chats/:chatId/favorite}
94
- */
95
- export async function chatsFavorite({ pathParams: { chatId }, config = {} }) {
96
- const { client: request = client, ...requestConfig } = config;
97
- if (!chatId) {
98
- throw new Error(`Missing required path parameter: chatId`);
99
- }
100
- const data = await request({
101
- method: 'PUT',
102
- url: `/chats/${chatId}/favorite`,
103
- ...requestConfig,
104
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
105
- });
106
- return data;
107
- }
108
- /**
109
- * @description Fork a version in a chat
110
- * @summary Fork Chat
111
- * {@link /chats/:chatId/fork}
112
- */
113
- export async function chatsFork({ pathParams: { chatId }, config = {} }) {
114
- const { client: request = client, ...requestConfig } = config;
115
- if (!chatId) {
116
- throw new Error(`Missing required path parameter: chatId`);
117
- }
118
- const data = await request({
119
- method: 'POST',
120
- url: `/chats/${chatId}/fork`,
121
- ...requestConfig,
122
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
123
- });
124
- return data;
125
- }
126
- /**
127
- * @description Get the project for a chat
128
- * @summary Get Project by Chat ID
129
- * {@link /chats/:chatId/project}
130
- */
131
- export async function projectsGetByChatId({ pathParams: { chatId }, config = {} }) {
132
- const { client: request = client, ...requestConfig } = config;
133
- if (!chatId) {
134
- throw new Error(`Missing required path parameter: chatId`);
135
- }
136
- const data = await request({ method: 'GET', url: `/chats/${chatId}/project`, ...requestConfig });
137
- return data;
138
- }
139
- /**
140
- * @description Create a new message in a chat
141
- * @summary Create Message
142
- * {@link /chats/:chatId/messages}
143
- */
144
- export async function chatsSendMessage({ pathParams: { chatId }, config = {} }) {
145
- const { client: request = client, ...requestConfig } = config;
146
- if (!chatId) {
147
- throw new Error(`Missing required path parameter: chatId`);
148
- }
149
- const data = await request({
150
- method: 'POST',
151
- url: `/chats/${chatId}/messages`,
152
- ...requestConfig,
153
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
154
- });
155
- return data;
156
- }
157
- /**
158
- * @description Get the metadata for a chat
159
- * @summary Get Chat Metadata
160
- * {@link /chats/:chatId/metadata}
161
- */
162
- export async function chatsGetMetadata({ pathParams: { chatId }, config = {} }) {
163
- const { client: request = client, ...requestConfig } = config;
164
- if (!chatId) {
165
- throw new Error(`Missing required path parameter: chatId`);
166
- }
167
- const data = await request({ method: 'GET', url: `/chats/${chatId}/metadata`, ...requestConfig });
168
- return data;
169
- }
170
- /**
171
- * @description Resume a chat message
172
- * @summary Resume Chat Message
173
- * {@link /chats/:chatId/messages/:messageId/resume}
174
- */
175
- export async function chatsResume({ pathParams: { chatId, messageId }, config = {} }) {
176
- const { client: request = client, ...requestConfig } = config;
177
- if (!chatId) {
178
- throw new Error(`Missing required path parameter: chatId`);
179
- }
180
- if (!messageId) {
181
- throw new Error(`Missing required path parameter: messageId`);
182
- }
183
- const data = await request({ method: 'POST', url: `/chats/${chatId}/messages/${messageId}/resume`, ...requestConfig });
184
- return data;
185
- }
186
- /**
187
- * @description Find logs for a deployment
188
- * @summary Find Deployment Logs
189
- * {@link /deployments/:deploymentId/logs}
190
- */
191
- export async function deploymentsFindLogs({ pathParams: { deploymentId }, queryParams, config = {} }) {
192
- const { client: request = client, ...requestConfig } = config;
193
- if (!deploymentId) {
194
- throw new Error(`Missing required path parameter: deploymentId`);
195
- }
196
- const data = await request({ method: 'GET', url: `/deployments/${deploymentId}/logs`, queryParams, ...requestConfig });
197
- return data;
198
- }
199
- /**
200
- * @description Find errors for a deployment
201
- * @summary Find Deployment Errors
202
- * {@link /deployments/:deploymentId/errors}
203
- */
204
- export async function deploymentsFindErrors({ pathParams: { deploymentId }, config = {} }) {
205
- const { client: request = client, ...requestConfig } = config;
206
- if (!deploymentId) {
207
- throw new Error(`Missing required path parameter: deploymentId`);
208
- }
209
- const data = await request({ method: 'GET', url: `/deployments/${deploymentId}/errors`, ...requestConfig });
210
- return data;
211
- }
212
- /**
213
- * @description Find all Vercel projects
214
- * @summary Find Vercel Projects
215
- * {@link /integrations/vercel/projects}
216
- */
217
- export async function integrationsVercelProjectsFind({ config = {} }) {
218
- const { client: request = client, ...requestConfig } = config;
219
- const data = await request({ method: 'GET', url: `/integrations/vercel/projects`, ...requestConfig });
220
- return data;
221
- }
222
- /**
223
- * @description Create a new Vercel project
224
- * @summary Create Vercel Project
225
- * {@link /integrations/vercel/projects}
226
- */
227
- export async function integrationsVercelProjectsCreate({ config = {} }) {
228
- const { client: request = client, ...requestConfig } = config;
229
- const data = await request({
230
- method: 'POST',
231
- url: `/integrations/vercel/projects`,
232
- ...requestConfig,
233
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
234
- });
235
- return data;
236
- }
237
- /**
238
- * @description Find all projects
239
- * @summary Find Projects
240
- * {@link /projects}
241
- */
242
- export async function projectsFind({ config = {} }) {
243
- const { client: request = client, ...requestConfig } = config;
244
- const data = await request({ method: 'GET', url: `/projects`, ...requestConfig });
245
- return data;
246
- }
247
- /**
248
- * @description Create a new project
249
- * @summary Create Project
250
- * {@link /projects}
251
- */
252
- export async function projectsCreate({ config = {} }) {
253
- const { client: request = client, ...requestConfig } = config;
254
- const data = await request({
255
- method: 'POST',
256
- url: `/projects`,
257
- ...requestConfig,
258
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
259
- });
260
- return data;
261
- }
262
- /**
263
- * @description Assign a project to a chat
264
- * @summary Assign Project to Chat
265
- * {@link /projects/:projectId/assign}
266
- */
267
- export async function projectsAssign({ pathParams: { projectId }, config = {} }) {
268
- const { client: request = client, ...requestConfig } = config;
269
- if (!projectId) {
270
- throw new Error(`Missing required path parameter: projectId`);
271
- }
272
- const data = await request({
273
- method: 'POST',
274
- url: `/projects/${projectId}/assign`,
275
- ...requestConfig,
276
- headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
277
- });
278
- return data;
279
- }
280
- /**
281
- * @description Find the rate limit for a scope
282
- * @summary Find Rate Limit
283
- * {@link /rate-limits}
284
- */
285
- export async function rateLimitsFind({ queryParams, config = {} }) {
286
- const { client: request = client, ...requestConfig } = config;
287
- const data = await request({ method: 'GET', url: `/rate-limits`, queryParams, ...requestConfig });
288
- return data;
289
- }
290
- /**
291
- * @description Get the user
292
- * @summary Get User
293
- * {@link /user}
294
- */
295
- export async function userGet({ config = {} }) {
296
- const { client: request = client, ...requestConfig } = config;
297
- const data = await request({ method: 'GET', url: `/user`, ...requestConfig });
298
- return data;
299
- }
300
- /**
301
- * @description Get the billing for the user
302
- * @summary Get Billing
303
- * {@link /user/billing}
304
- */
305
- export async function userGetBilling({ queryParams, config = {} }) {
306
- const { client: request = client, ...requestConfig } = config;
307
- const data = await request({ method: 'GET', url: `/user/billing`, queryParams, ...requestConfig });
308
- return data;
309
- }
310
- /**
311
- * @description Get the plan for the user
312
- * @summary Get Plan
313
- * {@link /user/plan}
314
- */
315
- export async function userGetPlan({ config = {} }) {
316
- const { client: request = client, ...requestConfig } = config;
317
- const data = await request({ method: 'GET', url: `/user/plan`, ...requestConfig });
318
- return data;
319
- }
320
- /**
321
- * @description Get all scopes for the user
322
- * @summary Get User Scopes
323
- * {@link /user/scopes}
324
- */
325
- export async function userGetScopes({ config = {} }) {
326
- const { client: request = client, ...requestConfig } = config;
327
- const data = await request({ method: 'GET', url: `/user/scopes`, ...requestConfig });
328
- return data;
329
- }
330
- export const operationsByPath = {
331
- 'POST /chats': chatsCreate,
332
- 'GET /chats': chatsFind,
333
- 'POST /chats/init': chatsInitCreate,
334
- 'DELETE /chats/{chatId}': chatsDelete,
335
- 'GET /chats/{chatId}': chatsGetById,
336
- 'PATCH /chats/{chatId}': chatsUpdate,
337
- 'PUT /chats/{chatId}/favorite': chatsFavorite,
338
- 'POST /chats/{chatId}/fork': chatsFork,
339
- 'GET /chats/{chatId}/project': projectsGetByChatId,
340
- 'POST /chats/{chatId}/messages': chatsSendMessage,
341
- 'GET /chats/{chatId}/metadata': chatsGetMetadata,
342
- 'POST /chats/{chatId}/messages/{messageId}/resume': chatsResume,
343
- 'GET /deployments/{deploymentId}/logs': deploymentsFindLogs,
344
- 'GET /deployments/{deploymentId}/errors': deploymentsFindErrors,
345
- 'GET /integrations/vercel/projects': integrationsVercelProjectsFind,
346
- 'POST /integrations/vercel/projects': integrationsVercelProjectsCreate,
347
- 'GET /projects': projectsFind,
348
- 'POST /projects': projectsCreate,
349
- 'POST /projects/{projectId}/assign': projectsAssign,
350
- 'GET /rate-limits': rateLimitsFind,
351
- 'GET /user': userGet,
352
- 'GET /user/billing': userGetBilling,
353
- 'GET /user/plan': userGetPlan,
354
- 'GET /user/scopes': userGetScopes
355
- };
356
- export const operationsByTag = {
357
- chats: {
358
- chatsCreate,
359
- chatsFind,
360
- chatsInitCreate,
361
- chatsDelete,
362
- chatsGetById,
363
- chatsUpdate,
364
- chatsFavorite,
365
- chatsFork,
366
- chatsSendMessage,
367
- chatsGetMetadata,
368
- chatsResume
369
- },
370
- projects: {
371
- projectsGetByChatId,
372
- projectsFind,
373
- projectsCreate,
374
- projectsAssign
375
- },
376
- deployments: {
377
- deploymentsFindLogs,
378
- deploymentsFindErrors
379
- },
380
- integrations: {
381
- integrationsVercelProjectsFind,
382
- integrationsVercelProjectsCreate
383
- },
384
- ratelimits: {
385
- rateLimitsFind
386
- },
387
- user: {
388
- userGet,
389
- userGetBilling,
390
- userGetPlan,
391
- userGetScopes
392
- }
393
- };
394
- export const tagDictionary = {
395
- chats: {
396
- POST: ['chatsCreate', 'chatsInitCreate', 'chatsFork', 'chatsSendMessage', 'chatsResume'],
397
- GET: ['chatsFind', 'chatsGetById', 'chatsGetMetadata'],
398
- DELETE: ['chatsDelete'],
399
- PATCH: ['chatsUpdate'],
400
- PUT: ['chatsFavorite']
401
- },
402
- projects: {
403
- GET: ['projectsGetByChatId', 'projectsFind'],
404
- POST: ['projectsCreate', 'projectsAssign']
405
- },
406
- deployments: {
407
- GET: ['deploymentsFindLogs', 'deploymentsFindErrors']
408
- },
409
- integrations: {
410
- GET: ['integrationsVercelProjectsFind'],
411
- POST: ['integrationsVercelProjectsCreate']
412
- },
413
- ratelimits: {
414
- GET: ['rateLimitsFind']
415
- },
416
- user: {
417
- GET: ['userGet', 'userGetBilling', 'userGetPlan', 'userGetScopes']
418
- }
419
- };
@@ -1,261 +0,0 @@
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;