v0-api 0.3.0 → 1.0.16

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 (43) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +13 -3
  3. package/dist/{components-eb0j7zgr.d.ts → components-lojiycjm.d.ts} +165 -284
  4. package/dist/components-lojiycjm.d.ts.map +1 -0
  5. package/dist/components-mcjsnuad.d.ts +894 -0
  6. package/dist/components-mcjsnuad.d.ts.map +1 -0
  7. package/dist/components.cjs +1567 -63
  8. package/dist/components.d.cts +1 -1
  9. package/dist/components.d.mts +1 -1
  10. package/dist/components.mjs +1509 -1
  11. package/dist/effect.cjs +131 -24
  12. package/dist/effect.d.cts +75 -5
  13. package/dist/effect.d.cts.map +1 -1
  14. package/dist/effect.d.mts +75 -5
  15. package/dist/effect.d.mts.map +1 -1
  16. package/dist/effect.mjs +125 -4
  17. package/dist/index.cjs +139 -23
  18. package/dist/index.d.cts +13 -8
  19. package/dist/index.d.cts.map +1 -1
  20. package/dist/index.d.mts +13 -8
  21. package/dist/index.d.mts.map +1 -1
  22. package/dist/index.d.ts +21676 -7155
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.mjs +30 -25
  25. package/dist/{schemas-i6n5csd3.cjs → schemas-eef01xgn.cjs} +2182 -768
  26. package/dist/schemas-kunw251r.js +3825 -0
  27. package/dist/schemas.cjs +78 -1
  28. package/dist/schemas.d.cts +13169 -788
  29. package/dist/schemas.d.cts.map +1 -1
  30. package/dist/schemas.d.mts +13169 -788
  31. package/dist/schemas.d.mts.map +1 -1
  32. package/dist/schemas.mjs +1 -1
  33. package/dist/types.cjs +249 -10
  34. package/dist/types.d.cts +2943 -686
  35. package/dist/types.d.cts.map +1 -1
  36. package/dist/types.d.mts +2943 -686
  37. package/dist/types.d.mts.map +1 -1
  38. package/dist/types.mjs +215 -10
  39. package/package.json +18 -15
  40. package/dist/components-da0zh5te.cjs +0 -1497
  41. package/dist/components-eb0j7zgr.d.ts.map +0 -1
  42. package/dist/components-ja14lgg1.js +0 -1435
  43. package/dist/schemas-o0oxolpj.js +0 -2488
@@ -0,0 +1,894 @@
1
+ import { ChatsCreateBody, ChatDetail, ChatsDeletePath, ChatsDeleteStatus200, ChatsDeleteVersionFilesPath, ChatsDeleteVersionFilesBody, VersionDetail, ChatsDownloadVersionPath, ChatsDownloadVersionQuery, ChatsFavoritePath, ChatsFavoriteBody, ChatsFavoriteStatus200, ChatsFindQuery, ChatsFindStatus200, ChatsFindMessagesPath, ChatsFindMessagesQuery, ChatsFindMessagesStatus200, ChatsFindVersionsPath, ChatsFindVersionsQuery, ChatsFindVersionsStatus200, ChatsForkPath, ChatsForkBody, ChatsGetByIdPath, ChatsGetMessagePath, MessageDetail, ChatsGetVersionPath, ChatsGetVersionQuery, ChatsInitBody, ChatsResolveTaskPath, ChatsResolveTaskBody, ChatsRestorePath, ChatsResumePath, ChatsSendMessagePath, ChatsSendMessageBody, ChatsStopPath, ChatsStopStatus200, ChatsUpdatePath, ChatsUpdateBody, ChatsUpdateVersionPath, ChatsUpdateVersionBody, DeploymentsCreateBody, DeploymentDetail, DeploymentsDeletePath, DeploymentsDeleteStatus200, DeploymentsFindQuery, DeploymentsFindStatus200, DeploymentsFindErrorsPath, DeploymentsFindErrorsStatus200, DeploymentsFindLogsPath, DeploymentsFindLogsQuery, DeploymentsFindLogsStatus200, DeploymentsGetByIdPath, HooksCreateBody, HookDetail, HooksDeletePath, HooksDeleteStatus200, HooksFindStatus200, HooksGetByIdPath, HooksUpdatePath, HooksUpdateBody, IntegrationsVercelProjectsCreateBody, VercelProjectDetail, IntegrationsVercelProjectsFindStatus200, McpServersCreateBody, McpServersCreateStatus200, McpServersCreateOAuthAuthorizationUrlPath, McpServersCreateOAuthAuthorizationUrlBody, McpServersCreateOAuthAuthorizationUrlStatus200, McpServersDeletePath, McpServersDeleteStatus200, McpServersFindStatus200, McpServersGetByIdPath, McpServersGetByIdStatus200, McpServersUpdatePath, McpServersUpdateBody, McpServersUpdateStatus200, ProjectsGetByChatIdPath, ProjectDetail, ProjectsFindStatus200, ProjectsCreateBody, ProjectsGetByIdPath, ProjectsUpdatePath, ProjectsUpdateBody, ProjectsDeletePath, ProjectsDeleteQuery, ProjectsDeleteStatus200, ProjectsAssignPath, ProjectsAssignBody, ProjectsAssignStatus200, ProjectsFindEnvVarsPath, ProjectsFindEnvVarsQuery, ProjectsFindEnvVarsStatus200, ProjectsCreateEnvVarsPath, ProjectsCreateEnvVarsBody, ProjectsCreateEnvVarsQuery, ProjectsCreateEnvVarsStatus200, ProjectsUpdateEnvVarsPath, ProjectsUpdateEnvVarsBody, ProjectsUpdateEnvVarsQuery, ProjectsUpdateEnvVarsStatus200, ProjectsDeleteEnvVarsPath, ProjectsDeleteEnvVarsBody, ProjectsDeleteEnvVarsStatus200, ProjectsGetEnvVarPath, ProjectsGetEnvVarQuery, ProjectsGetEnvVarStatus200, RateLimitsFindQuery, RateLimitsFindStatus200, UserSummarySchema, UserGetBillingQuery, UserGetBillingStatus200, UserGetPlanStatus200, UserGetScopesStatus200, ReportsGetUsageQuery, ReportsGetUsageStatus200, ReportsGetAIUsageQuery, ReportsGetAIUsageStatus200, ReportsGetUserActivityQuery, ReportsGetUserActivityStatus200 } from './types.mjs';
2
+
3
+ type RequestInit = {
4
+ body?: string | FormData | undefined;
5
+ headers?: Record<string, string> | undefined;
6
+ method?: string | undefined;
7
+ signal?: any | undefined;
8
+ };
9
+ type Response = {
10
+ ok: boolean;
11
+ status: number;
12
+ url: string;
13
+ json(): Promise<any>;
14
+ text(): Promise<string>;
15
+ blob?(): Promise<Blob>;
16
+ headers?: {
17
+ get(name: string): string | null;
18
+ } | undefined;
19
+ };
20
+ type FetchImpl = (url: string, init?: RequestInit) => Promise<Response>;
21
+
22
+ type FetcherConfig = {
23
+ baseUrl?: string;
24
+ token?: string | null;
25
+ fetchImpl?: FetchImpl;
26
+ headers?: Record<string, any>;
27
+ signal?: AbortSignal | undefined;
28
+ };
29
+ type FetcherOptions<TBody, THeaders, TQueryParams, TPathParams> = {
30
+ url: string;
31
+ method: string;
32
+ body?: TBody | undefined;
33
+ headers?: THeaders | undefined;
34
+ queryParams?: TQueryParams | undefined;
35
+ pathParams?: TPathParams | undefined;
36
+ } & FetcherConfig;
37
+ declare function client<TData, TError, TBody, THeaders, TQueryParams, TPathParams>({ url, method, body, headers, queryParams, signal, token, baseUrl, fetchImpl, }: FetcherOptions<TBody, THeaders, TQueryParams, TPathParams>): Promise<TData>;
38
+
39
+ /**
40
+ * @summary Create Chat
41
+ * @description Creates a new chat using a user message, optional system context, and model configuration. Useful for prompting the model within the scope of a specific project.
42
+ * @link /chats
43
+ */
44
+ declare function chatsCreate({ body, config, }?: {
45
+ body: ChatsCreateBody;
46
+ config?: Partial<FetcherConfig> & {
47
+ client?: typeof client;
48
+ };
49
+ }): Promise<ChatDetail>;
50
+ /**
51
+ * @summary Find Chats
52
+ * @description Retrieves a list of existing chats, with support for pagination and filtering by favorite status, Vercel project, or Git branch. Helps manage and navigate chat history.
53
+ * @link /chats
54
+ */
55
+ declare function chatsFind({ queryParams, config, }?: {
56
+ queryParams?: Partial<ChatsFindQuery>;
57
+ config?: Partial<FetcherConfig> & {
58
+ client?: typeof client;
59
+ };
60
+ }): Promise<ChatsFindStatus200>;
61
+ /**
62
+ * @summary Initialize Chat
63
+ * @description Initializes a new chat from source content such as files, repositories, registries, or zip archives. Enables context-rich conversations based on code or assets.
64
+ * @link /chats/init
65
+ */
66
+ declare function chatsInit({ body, config, }?: {
67
+ body: ChatsInitBody;
68
+ config?: Partial<FetcherConfig> & {
69
+ client?: typeof client;
70
+ };
71
+ }): Promise<ChatDetail>;
72
+ /**
73
+ * @summary Delete Chat
74
+ * @description Deletes a specific chat based on the provided chatId. The chat and its contents are moved to trash and stop being retrievable immediately, then retained for 30 days before being permanently removed.
75
+ * @link /chats/{chatId}
76
+ */
77
+ declare function chatsDelete({ pathParams, config, }?: {
78
+ pathParams: ChatsDeletePath;
79
+ config?: Partial<FetcherConfig> & {
80
+ client?: typeof client;
81
+ };
82
+ }): Promise<ChatsDeleteStatus200>;
83
+ /**
84
+ * @summary Get Chat
85
+ * @description Retrieves the full details of a specific chat using its `chatId`. Includes messages, metadata, and associated configuration.
86
+ * @link /chats/{chatId}
87
+ */
88
+ declare function chatsGetById({ pathParams, config, }?: {
89
+ pathParams: ChatsGetByIdPath;
90
+ config?: Partial<FetcherConfig> & {
91
+ client?: typeof client;
92
+ };
93
+ }): Promise<ChatDetail>;
94
+ /**
95
+ * @summary Update Chat
96
+ * @description Updates the metadata of an existing chat using its `chatId`. Supports changes to the chat name and privacy setting.
97
+ * @link /chats/{chatId}
98
+ */
99
+ declare function chatsUpdate({ pathParams, body, config, }?: {
100
+ pathParams: ChatsUpdatePath;
101
+ body: ChatsUpdateBody;
102
+ config?: Partial<FetcherConfig> & {
103
+ client?: typeof client;
104
+ };
105
+ }): Promise<ChatDetail>;
106
+ /**
107
+ * @summary Favorite Chat
108
+ * @description Marks or unmarks a chat as a favorite using its `chatId`. This helps with organizing and quickly accessing important chats.
109
+ * @link /chats/{chatId}/favorite
110
+ */
111
+ declare function chatsFavorite({ pathParams, body, config, }?: {
112
+ pathParams: ChatsFavoritePath;
113
+ body: ChatsFavoriteBody;
114
+ config?: Partial<FetcherConfig> & {
115
+ client?: typeof client;
116
+ };
117
+ }): Promise<ChatsFavoriteStatus200>;
118
+ /**
119
+ * @summary Fork Chat
120
+ * @description Creates a new chat fork (duplicate) from a specific version within a chat created through Platform API v1. To duplicate chats created in v0 web or Platform API v2, use POST /v2/chats/{chatId}/duplicate.
121
+ * @link /chats/{chatId}/fork
122
+ */
123
+ declare function chatsFork({ pathParams, body, config, }?: {
124
+ pathParams: ChatsForkPath;
125
+ body: ChatsForkBody;
126
+ config?: Partial<FetcherConfig> & {
127
+ client?: typeof client;
128
+ };
129
+ }): Promise<ChatDetail>;
130
+ /**
131
+ * @summary Get Project by Chat ID
132
+ * @description Retrieves the v0 project associated with a given chat. Useful for determining the context or scope of a chat session.
133
+ * @link /chats/{chatId}/project
134
+ */
135
+ declare function projectsGetByChatId({ pathParams, config, }?: {
136
+ pathParams: ProjectsGetByChatIdPath;
137
+ config?: Partial<FetcherConfig> & {
138
+ client?: typeof client;
139
+ };
140
+ }): Promise<ProjectDetail>;
141
+ /**
142
+ * @summary Find Chat Messages
143
+ * @description Retrieves a list of all messages for a specific chat, ordered by creation date (newest first). Supports cursor-based pagination and includes message content, role, and type information.
144
+ * @link /chats/{chatId}/messages
145
+ */
146
+ declare function chatsFindMessages({ pathParams, queryParams, config, }?: {
147
+ pathParams: ChatsFindMessagesPath;
148
+ queryParams?: Partial<ChatsFindMessagesQuery>;
149
+ config?: Partial<FetcherConfig> & {
150
+ client?: typeof client;
151
+ };
152
+ }): Promise<ChatsFindMessagesStatus200>;
153
+ /**
154
+ * @summary Send Message
155
+ * @description Creates a new message in an existing chat. Triggers a model response using the provided prompt, with optional attachments and configuration settings.
156
+ * @link /chats/{chatId}/messages
157
+ */
158
+ declare function chatsSendMessage({ pathParams, body, config, }?: {
159
+ pathParams: ChatsSendMessagePath;
160
+ body: ChatsSendMessageBody;
161
+ config?: Partial<FetcherConfig> & {
162
+ client?: typeof client;
163
+ };
164
+ }): Promise<ChatDetail>;
165
+ /**
166
+ * @summary Get Chat Message
167
+ * @description Retrieves detailed information about a specific message within a chat, including content, files, model configuration, and demo URLs.
168
+ * @link /chats/{chatId}/messages/{messageId}
169
+ */
170
+ declare function chatsGetMessage({ pathParams, config, }?: {
171
+ pathParams: ChatsGetMessagePath;
172
+ config?: Partial<FetcherConfig> & {
173
+ client?: typeof client;
174
+ };
175
+ }): Promise<MessageDetail>;
176
+ /**
177
+ * @summary Find Chat Versions
178
+ * @description Retrieves a list of all versions (iterations) for a specific chat, ordered by creation date (newest first). Supports cursor-based pagination and includes version status and demo URLs.
179
+ * @link /chats/{chatId}/versions
180
+ */
181
+ declare function chatsFindVersions({ pathParams, queryParams, config, }?: {
182
+ pathParams: ChatsFindVersionsPath;
183
+ queryParams?: Partial<ChatsFindVersionsQuery>;
184
+ config?: Partial<FetcherConfig> & {
185
+ client?: typeof client;
186
+ };
187
+ }): Promise<ChatsFindVersionsStatus200>;
188
+ /**
189
+ * @summary Get Chat Version
190
+ * @description Retrieves detailed information about a specific version of a chat, including all files with their content and lock status.
191
+ * @link /chats/{chatId}/versions/{versionId}
192
+ */
193
+ declare function chatsGetVersion({ pathParams, queryParams, config, }?: {
194
+ pathParams: ChatsGetVersionPath;
195
+ queryParams?: Partial<ChatsGetVersionQuery>;
196
+ config?: Partial<FetcherConfig> & {
197
+ client?: typeof client;
198
+ };
199
+ }): Promise<VersionDetail>;
200
+ /**
201
+ * @summary Update Chat Version Files
202
+ * @description Updates the source files of a specific chat version (block) manually. This allows editing generated files directly through the API.
203
+ * @link /chats/{chatId}/versions/{versionId}
204
+ */
205
+ declare function chatsUpdateVersion({ pathParams, body, config, }?: {
206
+ pathParams: ChatsUpdateVersionPath;
207
+ body: ChatsUpdateVersionBody;
208
+ config?: Partial<FetcherConfig> & {
209
+ client?: typeof client;
210
+ };
211
+ }): Promise<VersionDetail>;
212
+ /**
213
+ * @summary Download version files
214
+ * @description Download all files for a specific chat version as a zip or tarball archive. Use includeDefaultFiles=true to include all deployment files (package.json, configuration files, etc.) or false/omitted to return only the generated source files.
215
+ * @link /chats/{chatId}/versions/{versionId}/download
216
+ */
217
+ declare function chatsDownloadVersion({ pathParams, queryParams, config, }?: {
218
+ pathParams: ChatsDownloadVersionPath;
219
+ queryParams?: Partial<ChatsDownloadVersionQuery>;
220
+ config?: Partial<FetcherConfig> & {
221
+ client?: typeof client;
222
+ };
223
+ }): Promise<Blob>;
224
+ /**
225
+ * @summary Delete Chat Version Files
226
+ * @description Deletes source files from a specific chat version (block). Files are removed from the version and a new source version is created.
227
+ * @link /chats/{chatId}/versions/{versionId}/files/delete
228
+ */
229
+ declare function chatsDeleteVersionFiles({ pathParams, body, config, }?: {
230
+ pathParams: ChatsDeleteVersionFilesPath;
231
+ body: ChatsDeleteVersionFilesBody;
232
+ config?: Partial<FetcherConfig> & {
233
+ client?: typeof client;
234
+ };
235
+ }): Promise<VersionDetail>;
236
+ /**
237
+ * @summary Resume Message
238
+ * @description Reconnects to an active assistant message stream and returns it as Server-Sent Events. This does not restart or continue a stopped generation.
239
+ * @link /chats/{chatId}/messages/{messageId}/resume
240
+ */
241
+ declare function chatsResume({ pathParams, config, }?: {
242
+ pathParams: ChatsResumePath;
243
+ config?: Partial<FetcherConfig> & {
244
+ client?: typeof client;
245
+ };
246
+ }): Promise<string>;
247
+ /**
248
+ * @summary Stop Message
249
+ * @description Stops an in-flight message generation in a chat. Useful for cancelling a streaming response that is still being generated.
250
+ * @link /chats/{chatId}/messages/{messageId}/stop
251
+ */
252
+ declare function chatsStop({ pathParams, config, }?: {
253
+ pathParams: ChatsStopPath;
254
+ config?: Partial<FetcherConfig> & {
255
+ client?: typeof client;
256
+ };
257
+ }): Promise<ChatsStopStatus200>;
258
+ /**
259
+ * @summary Resolve Task
260
+ * @description Resolves a pending task in a chat, continuing the conversation. The latest message in the active chat fork must be an assistant message currently blocked on a matching task (integration setup, plan approval, question answers, or permission grants).
261
+ * @link /chats/{chatId}/tasks/resolve
262
+ */
263
+ declare function chatsResolveTask({ pathParams, body, config, }?: {
264
+ pathParams: ChatsResolveTaskPath;
265
+ body: ChatsResolveTaskBody;
266
+ config?: Partial<FetcherConfig> & {
267
+ client?: typeof client;
268
+ };
269
+ }): Promise<ChatDetail>;
270
+ /**
271
+ * @summary Find Deployments
272
+ * @description Find deployments by project and chat IDs. This will return a list of deployments for the given project and chat IDs.
273
+ * @link /deployments
274
+ */
275
+ declare function deploymentsFind({ queryParams, config, }?: {
276
+ queryParams: DeploymentsFindQuery;
277
+ config?: Partial<FetcherConfig> & {
278
+ client?: typeof client;
279
+ };
280
+ }): Promise<DeploymentsFindStatus200>;
281
+ /**
282
+ * @summary Create Deployment
283
+ * @description Create a new deployment for a specific chat and version. This will trigger a deployment to Vercel.
284
+ * @link /deployments
285
+ */
286
+ declare function deploymentsCreate({ body, config, }?: {
287
+ body: DeploymentsCreateBody;
288
+ config?: Partial<FetcherConfig> & {
289
+ client?: typeof client;
290
+ };
291
+ }): Promise<DeploymentDetail>;
292
+ /**
293
+ * @summary Get Deployment
294
+ * @description Get a deployment by ID. This will return the details of the deployment, including the inspector URL, chat ID, project ID, version ID, API URL, and web URL.
295
+ * @link /deployments/{deploymentId}
296
+ */
297
+ declare function deploymentsGetById({ pathParams, config, }?: {
298
+ pathParams: DeploymentsGetByIdPath;
299
+ config?: Partial<FetcherConfig> & {
300
+ client?: typeof client;
301
+ };
302
+ }): Promise<DeploymentDetail>;
303
+ /**
304
+ * @summary Delete Deployment
305
+ * @description Delete a deployment by ID. This will delete the deployment from Vercel.
306
+ * @link /deployments/{deploymentId}
307
+ */
308
+ declare function deploymentsDelete({ pathParams, config, }?: {
309
+ pathParams: DeploymentsDeletePath;
310
+ config?: Partial<FetcherConfig> & {
311
+ client?: typeof client;
312
+ };
313
+ }): Promise<DeploymentsDeleteStatus200>;
314
+ /**
315
+ * @summary Find Deployment Logs
316
+ * @description Retrieves logs for a specific deployment. Supports filtering by timestamp to fetch only recent logs.
317
+ * @link /deployments/{deploymentId}/logs
318
+ */
319
+ declare function deploymentsFindLogs({ pathParams, queryParams, config, }?: {
320
+ pathParams: DeploymentsFindLogsPath;
321
+ queryParams?: Partial<DeploymentsFindLogsQuery>;
322
+ config?: Partial<FetcherConfig> & {
323
+ client?: typeof client;
324
+ };
325
+ }): Promise<DeploymentsFindLogsStatus200>;
326
+ /**
327
+ * @summary Find Deployment Errors
328
+ * @description Retrieves a list of errors that occurred during a specific deployment. Useful for diagnosing and debugging deployment issues.
329
+ * @link /deployments/{deploymentId}/errors
330
+ */
331
+ declare function deploymentsFindErrors({ pathParams, config, }?: {
332
+ pathParams: DeploymentsFindErrorsPath;
333
+ config?: Partial<FetcherConfig> & {
334
+ client?: typeof client;
335
+ };
336
+ }): Promise<DeploymentsFindErrorsStatus200>;
337
+ /**
338
+ * @summary Find Hooks
339
+ * @description Retrieves a list of existing hooks in your workspace. Useful for managing active webhooks tied to chat events or deployments.
340
+ * @link /hooks
341
+ */
342
+ declare function hooksFind({ config }?: {
343
+ config?: Partial<FetcherConfig> & {
344
+ client?: typeof client;
345
+ };
346
+ }): Promise<HooksFindStatus200>;
347
+ /**
348
+ * @summary Create Hook
349
+ * @description Creates a new webhook that listens for specific events. Supports optional association with a chat.
350
+ * @link /hooks
351
+ */
352
+ declare function hooksCreate({ body, config, }?: {
353
+ body: HooksCreateBody;
354
+ config?: Partial<FetcherConfig> & {
355
+ client?: typeof client;
356
+ };
357
+ }): Promise<HookDetail>;
358
+ /**
359
+ * @summary Get Hook
360
+ * @description Retrieves the details of a specific webhook using its ID.
361
+ * @link /hooks/{hookId}
362
+ */
363
+ declare function hooksGetById({ pathParams, config, }?: {
364
+ pathParams: HooksGetByIdPath;
365
+ config?: Partial<FetcherConfig> & {
366
+ client?: typeof client;
367
+ };
368
+ }): Promise<HookDetail>;
369
+ /**
370
+ * @summary Update Hook
371
+ * @description Updates the configuration of an existing webhook, including its name, event subscriptions, or target URL.
372
+ * @link /hooks/{hookId}
373
+ */
374
+ declare function hooksUpdate({ pathParams, body, config, }?: {
375
+ pathParams: HooksUpdatePath;
376
+ body: HooksUpdateBody;
377
+ config?: Partial<FetcherConfig> & {
378
+ client?: typeof client;
379
+ };
380
+ }): Promise<HookDetail>;
381
+ /**
382
+ * @summary Delete Hook
383
+ * @description Deletes a webhook based on its ID. This action is irreversible.
384
+ * @link /hooks/{hookId}
385
+ */
386
+ declare function hooksDelete({ pathParams, config, }?: {
387
+ pathParams: HooksDeletePath;
388
+ config?: Partial<FetcherConfig> & {
389
+ client?: typeof client;
390
+ };
391
+ }): Promise<HooksDeleteStatus200>;
392
+ /**
393
+ * @summary Find Vercel Projects
394
+ * @description Retrieves a list of Vercel projects linked to your integration. Useful for associating chats, deployments, or hooks with specific Vercel projects.
395
+ * @link /integrations/vercel/projects
396
+ */
397
+ declare function integrationsVercelProjectsFind({ config }?: {
398
+ config?: Partial<FetcherConfig> & {
399
+ client?: typeof client;
400
+ };
401
+ }): Promise<IntegrationsVercelProjectsFindStatus200>;
402
+ /**
403
+ * @summary Create Vercel Project
404
+ * @description Links a Vercel project to an existing v0 project. Enables Vercel-related features and deployment integration within the v0 workspace.
405
+ * @link /integrations/vercel/projects
406
+ */
407
+ declare function integrationsVercelProjectsCreate({ body, config, }?: {
408
+ body: IntegrationsVercelProjectsCreateBody;
409
+ config?: Partial<FetcherConfig> & {
410
+ client?: typeof client;
411
+ };
412
+ }): Promise<VercelProjectDetail>;
413
+ /**
414
+ * @summary Find Projects
415
+ * @description Returns a list of all v0 projects in your workspace. Useful for browsing or managing projects across different chats or use cases.
416
+ * @link /projects
417
+ */
418
+ declare function projectsFind({ config }?: {
419
+ config?: Partial<FetcherConfig> & {
420
+ client?: typeof client;
421
+ };
422
+ }): Promise<ProjectsFindStatus200>;
423
+ /**
424
+ * @summary Create Project
425
+ * @description Creates a new v0 project with an optional description, icon, environment variables, and instructions. Projects help organize chats and manage context.
426
+ * @link /projects
427
+ */
428
+ declare function projectsCreate({ body, config, }?: {
429
+ body: ProjectsCreateBody;
430
+ config?: Partial<FetcherConfig> & {
431
+ client?: typeof client;
432
+ };
433
+ }): Promise<ProjectDetail>;
434
+ /**
435
+ * @summary Get Project by ID
436
+ * @description Retrieves the details of a specific v0 project by its ID.
437
+ * @link /projects/{projectId}
438
+ */
439
+ declare function projectsGetById({ pathParams, config, }?: {
440
+ pathParams: ProjectsGetByIdPath;
441
+ config?: Partial<FetcherConfig> & {
442
+ client?: typeof client;
443
+ };
444
+ }): Promise<ProjectDetail>;
445
+ /**
446
+ * @summary Update Project
447
+ * @description Updates the metadata of an existing project using its `projectId`. Supports changes to the project name and privacy setting.
448
+ * @link /projects/{projectId}
449
+ */
450
+ declare function projectsUpdate({ pathParams, body, config, }?: {
451
+ pathParams: ProjectsUpdatePath;
452
+ body: ProjectsUpdateBody;
453
+ config?: Partial<FetcherConfig> & {
454
+ client?: typeof client;
455
+ };
456
+ }): Promise<ProjectDetail>;
457
+ /**
458
+ * @summary Delete Project
459
+ * @description Deletes a specific project based on the provided projectId. This operation marks the project as deleted and is irreversible.
460
+ * @link /projects/{projectId}
461
+ */
462
+ declare function projectsDelete({ pathParams, queryParams, config, }?: {
463
+ pathParams: ProjectsDeletePath;
464
+ queryParams?: Partial<ProjectsDeleteQuery>;
465
+ config?: Partial<FetcherConfig> & {
466
+ client?: typeof client;
467
+ };
468
+ }): Promise<ProjectsDeleteStatus200>;
469
+ /**
470
+ * @summary Assign Project to Chat
471
+ * @description Links an existing v0 project to a specific chat. Helps group conversations under a shared project context.
472
+ * @link /projects/{projectId}/assign
473
+ */
474
+ declare function projectsAssign({ pathParams, body, config, }?: {
475
+ pathParams: ProjectsAssignPath;
476
+ body: ProjectsAssignBody;
477
+ config?: Partial<FetcherConfig> & {
478
+ client?: typeof client;
479
+ };
480
+ }): Promise<ProjectsAssignStatus200>;
481
+ /**
482
+ * @summary Find Environment Variables
483
+ * @description Retrieves all environment variables for a given project.
484
+ * @link /projects/{projectId}/env-vars
485
+ */
486
+ declare function projectsFindEnvVars({ pathParams, queryParams, config, }?: {
487
+ pathParams: ProjectsFindEnvVarsPath;
488
+ queryParams?: Partial<ProjectsFindEnvVarsQuery>;
489
+ config?: Partial<FetcherConfig> & {
490
+ client?: typeof client;
491
+ };
492
+ }): Promise<ProjectsFindEnvVarsStatus200>;
493
+ /**
494
+ * @summary Create Environment Variables
495
+ * @description Creates new environment variables for a given project. This endpoint will fail if any of the specified environment variable keys already exist, unless upsert is set to true.
496
+ * @link /projects/{projectId}/env-vars
497
+ */
498
+ declare function projectsCreateEnvVars({ pathParams, body, queryParams, config, }?: {
499
+ pathParams: ProjectsCreateEnvVarsPath;
500
+ body: ProjectsCreateEnvVarsBody;
501
+ queryParams?: Partial<ProjectsCreateEnvVarsQuery>;
502
+ config?: Partial<FetcherConfig> & {
503
+ client?: typeof client;
504
+ };
505
+ }): Promise<ProjectsCreateEnvVarsStatus200>;
506
+ /**
507
+ * @summary Update Environment Variables
508
+ * @description Updates multiple environment variables for a given project. Only the value of each environment variable can be updated.
509
+ * @link /projects/{projectId}/env-vars
510
+ */
511
+ declare function projectsUpdateEnvVars({ pathParams, body, queryParams, config, }?: {
512
+ pathParams: ProjectsUpdateEnvVarsPath;
513
+ body: ProjectsUpdateEnvVarsBody;
514
+ queryParams?: Partial<ProjectsUpdateEnvVarsQuery>;
515
+ config?: Partial<FetcherConfig> & {
516
+ client?: typeof client;
517
+ };
518
+ }): Promise<ProjectsUpdateEnvVarsStatus200>;
519
+ /**
520
+ * @summary Delete Environment Variables
521
+ * @description Deletes multiple environment variables for a given project by their IDs.
522
+ * @link /projects/{projectId}/env-vars/delete
523
+ */
524
+ declare function projectsDeleteEnvVars({ pathParams, body, config, }?: {
525
+ pathParams: ProjectsDeleteEnvVarsPath;
526
+ body: ProjectsDeleteEnvVarsBody;
527
+ config?: Partial<FetcherConfig> & {
528
+ client?: typeof client;
529
+ };
530
+ }): Promise<ProjectsDeleteEnvVarsStatus200>;
531
+ /**
532
+ * @summary Get Environment Variable
533
+ * @description Retrieves a specific environment variable for a given project by its ID, including its value.
534
+ * @link /projects/{projectId}/env-vars/{environmentVariableId}
535
+ */
536
+ declare function projectsGetEnvVar({ pathParams, queryParams, config, }?: {
537
+ pathParams: ProjectsGetEnvVarPath;
538
+ queryParams?: Partial<ProjectsGetEnvVarQuery>;
539
+ config?: Partial<FetcherConfig> & {
540
+ client?: typeof client;
541
+ };
542
+ }): Promise<ProjectsGetEnvVarStatus200>;
543
+ /**
544
+ * @summary Find Rate Limit
545
+ * @description Retrieves rate limit information for a given scope. Useful for monitoring usage limits and avoiding throttling.
546
+ * @link /rate-limits
547
+ */
548
+ declare function rateLimitsFind({ queryParams, config, }?: {
549
+ queryParams?: Partial<RateLimitsFindQuery>;
550
+ config?: Partial<FetcherConfig> & {
551
+ client?: typeof client;
552
+ };
553
+ }): Promise<RateLimitsFindStatus200>;
554
+ /**
555
+ * @summary Get User
556
+ * @description Retrieves information about the authenticated user, including their ID, name, email, and account metadata.
557
+ * @link /user
558
+ */
559
+ declare function userGet({ config }?: {
560
+ config?: Partial<FetcherConfig> & {
561
+ client?: typeof client;
562
+ };
563
+ }): Promise<UserSummarySchema>;
564
+ /**
565
+ * @summary Get Billing
566
+ * @description Fetches billing usage and quota information for the authenticated user. Can be scoped to a specific context (e.g. project or namespace).
567
+ * @link /user/billing
568
+ */
569
+ declare function userGetBilling({ queryParams, config, }?: {
570
+ queryParams?: Partial<UserGetBillingQuery>;
571
+ config?: Partial<FetcherConfig> & {
572
+ client?: typeof client;
573
+ };
574
+ }): Promise<UserGetBillingStatus200>;
575
+ /**
576
+ * @summary Get Plan
577
+ * @description Returns the current subscription plan for the authenticated user, including tier details and feature limits.
578
+ * @link /user/plan
579
+ */
580
+ declare function userGetPlan({ config }?: {
581
+ config?: Partial<FetcherConfig> & {
582
+ client?: typeof client;
583
+ };
584
+ }): Promise<UserGetPlanStatus200>;
585
+ /**
586
+ * @summary Get User Scopes
587
+ * @description Retrieves all accessible scopes for the authenticated user, such as personal workspaces or shared teams.
588
+ * @link /user/scopes
589
+ */
590
+ declare function userGetScopes({ config }?: {
591
+ config?: Partial<FetcherConfig> & {
592
+ client?: typeof client;
593
+ };
594
+ }): Promise<UserGetScopesStatus200>;
595
+ /**
596
+ * @summary Restore Block
597
+ * @description Restores a block to a specific version.
598
+ * @link /chats/{chatId}/versions/{versionId}/restore
599
+ */
600
+ declare function chatsRestore({ pathParams, config, }?: {
601
+ pathParams: ChatsRestorePath;
602
+ config?: Partial<FetcherConfig> & {
603
+ client?: typeof client;
604
+ };
605
+ }): Promise<VersionDetail>;
606
+ /**
607
+ * @summary Get Usage Report
608
+ * @description Retrieves detailed usage events for the authenticated user or team, including costs, event types, models used, and metadata. Shows the same data as displayed in the usage dashboard. Can be filtered by chatId to show usage for a specific chat, or by userId to show usage for a specific user.
609
+ * @link /reports/usage
610
+ */
611
+ declare function reportsGetUsage({ queryParams, config, }?: {
612
+ queryParams?: Partial<ReportsGetUsageQuery>;
613
+ config?: Partial<FetcherConfig> & {
614
+ client?: typeof client;
615
+ };
616
+ }): Promise<ReportsGetUsageStatus200>;
617
+ /**
618
+ * @summary Get AI Usage Report
619
+ * @description Retrieves v0 AI usage events for the authenticated user or active team scope.
620
+ * @link /reports/usage/ai
621
+ */
622
+ declare function reportsGetAIUsage({ queryParams, config, }?: {
623
+ queryParams?: Partial<ReportsGetAIUsageQuery>;
624
+ config?: Partial<FetcherConfig> & {
625
+ client?: typeof client;
626
+ };
627
+ }): Promise<ReportsGetAIUsageStatus200>;
628
+ /**
629
+ * @summary Get User Activity Report
630
+ * @description Retrieves aggregated user activity data for team members, including chat counts, message counts, and activity timestamps. Only available for Enterprise teams with OWNER or BILLING role. Shows the same data as displayed in the Usage settings for Enterprise teams.
631
+ * @link /reports/user-activity
632
+ */
633
+ declare function reportsGetUserActivity({ queryParams, config, }?: {
634
+ queryParams?: Partial<ReportsGetUserActivityQuery>;
635
+ config?: Partial<FetcherConfig> & {
636
+ client?: typeof client;
637
+ };
638
+ }): Promise<ReportsGetUserActivityStatus200>;
639
+ /**
640
+ * @summary List MCP Servers
641
+ * @description Retrieves all MCP servers configured for the authenticated user.
642
+ * @link /mcp-servers
643
+ */
644
+ declare function mcpServersFind({ config }?: {
645
+ config?: Partial<FetcherConfig> & {
646
+ client?: typeof client;
647
+ };
648
+ }): Promise<McpServersFindStatus200>;
649
+ /**
650
+ * @summary Create MCP Server
651
+ * @description Creates a new MCP server configuration for the authenticated user. Supports OAuth, bearer token, custom headers, and unauthenticated servers.
652
+ * @link /mcp-servers
653
+ */
654
+ declare function mcpServersCreate({ body, config, }?: {
655
+ body: McpServersCreateBody;
656
+ config?: Partial<FetcherConfig> & {
657
+ client?: typeof client;
658
+ };
659
+ }): Promise<McpServersCreateStatus200>;
660
+ /**
661
+ * @summary Get MCP Server
662
+ * @description Retrieves the details of a specific MCP server by its ID.
663
+ * @link /mcp-servers/{mcpServerId}
664
+ */
665
+ declare function mcpServersGetById({ pathParams, config, }?: {
666
+ pathParams: McpServersGetByIdPath;
667
+ config?: Partial<FetcherConfig> & {
668
+ client?: typeof client;
669
+ };
670
+ }): Promise<McpServersGetByIdStatus200>;
671
+ /**
672
+ * @summary Update MCP Server
673
+ * @description Updates the configuration of an existing MCP server, including its name, URL, description, enabled status, and authentication settings.
674
+ * @link /mcp-servers/{mcpServerId}
675
+ */
676
+ declare function mcpServersUpdate({ pathParams, body, config, }?: {
677
+ pathParams: McpServersUpdatePath;
678
+ body: McpServersUpdateBody;
679
+ config?: Partial<FetcherConfig> & {
680
+ client?: typeof client;
681
+ };
682
+ }): Promise<McpServersUpdateStatus200>;
683
+ /**
684
+ * @summary Delete MCP Server
685
+ * @description Deletes an MCP server based on its ID. This action is irreversible and will also remove any associated OAuth tokens.
686
+ * @link /mcp-servers/{mcpServerId}
687
+ */
688
+ declare function mcpServersDelete({ pathParams, config, }?: {
689
+ pathParams: McpServersDeletePath;
690
+ config?: Partial<FetcherConfig> & {
691
+ client?: typeof client;
692
+ };
693
+ }): Promise<McpServersDeleteStatus200>;
694
+ /**
695
+ * @summary Create MCP Server OAuth Authorization URL
696
+ * @description Creates an OAuth authorization URL for an OAuth MCP server. Redirect the user to the returned URL, and the Platform API OAuth callback will store the resulting tokens before redirecting to your returnUrl.
697
+ * @link /mcp-servers/{mcpServerId}/oauth/authorize
698
+ */
699
+ declare function mcpServersCreateOAuthAuthorizationUrl({ pathParams, body, config, }?: {
700
+ pathParams: McpServersCreateOAuthAuthorizationUrlPath;
701
+ body: McpServersCreateOAuthAuthorizationUrlBody;
702
+ config?: Partial<FetcherConfig> & {
703
+ client?: typeof client;
704
+ };
705
+ }): Promise<McpServersCreateOAuthAuthorizationUrlStatus200>;
706
+ declare const operationsByPath: {
707
+ "POST /chats": typeof chatsCreate;
708
+ "GET /chats": typeof chatsFind;
709
+ "POST /chats/init": typeof chatsInit;
710
+ "DELETE /chats/{chatId}": typeof chatsDelete;
711
+ "GET /chats/{chatId}": typeof chatsGetById;
712
+ "PATCH /chats/{chatId}": typeof chatsUpdate;
713
+ "PUT /chats/{chatId}/favorite": typeof chatsFavorite;
714
+ "POST /chats/{chatId}/fork": typeof chatsFork;
715
+ "GET /chats/{chatId}/project": typeof projectsGetByChatId;
716
+ "GET /chats/{chatId}/messages": typeof chatsFindMessages;
717
+ "POST /chats/{chatId}/messages": typeof chatsSendMessage;
718
+ "GET /chats/{chatId}/messages/{messageId}": typeof chatsGetMessage;
719
+ "GET /chats/{chatId}/versions": typeof chatsFindVersions;
720
+ "GET /chats/{chatId}/versions/{versionId}": typeof chatsGetVersion;
721
+ "PATCH /chats/{chatId}/versions/{versionId}": typeof chatsUpdateVersion;
722
+ "GET /chats/{chatId}/versions/{versionId}/download": typeof chatsDownloadVersion;
723
+ "POST /chats/{chatId}/versions/{versionId}/files/delete": typeof chatsDeleteVersionFiles;
724
+ "POST /chats/{chatId}/messages/{messageId}/resume": typeof chatsResume;
725
+ "POST /chats/{chatId}/messages/{messageId}/stop": typeof chatsStop;
726
+ "POST /chats/{chatId}/tasks/resolve": typeof chatsResolveTask;
727
+ "GET /deployments": typeof deploymentsFind;
728
+ "POST /deployments": typeof deploymentsCreate;
729
+ "GET /deployments/{deploymentId}": typeof deploymentsGetById;
730
+ "DELETE /deployments/{deploymentId}": typeof deploymentsDelete;
731
+ "GET /deployments/{deploymentId}/logs": typeof deploymentsFindLogs;
732
+ "GET /deployments/{deploymentId}/errors": typeof deploymentsFindErrors;
733
+ "GET /hooks": typeof hooksFind;
734
+ "POST /hooks": typeof hooksCreate;
735
+ "GET /hooks/{hookId}": typeof hooksGetById;
736
+ "PATCH /hooks/{hookId}": typeof hooksUpdate;
737
+ "DELETE /hooks/{hookId}": typeof hooksDelete;
738
+ "GET /integrations/vercel/projects": typeof integrationsVercelProjectsFind;
739
+ "POST /integrations/vercel/projects": typeof integrationsVercelProjectsCreate;
740
+ "GET /projects": typeof projectsFind;
741
+ "POST /projects": typeof projectsCreate;
742
+ "GET /projects/{projectId}": typeof projectsGetById;
743
+ "PATCH /projects/{projectId}": typeof projectsUpdate;
744
+ "DELETE /projects/{projectId}": typeof projectsDelete;
745
+ "POST /projects/{projectId}/assign": typeof projectsAssign;
746
+ "GET /projects/{projectId}/env-vars": typeof projectsFindEnvVars;
747
+ "POST /projects/{projectId}/env-vars": typeof projectsCreateEnvVars;
748
+ "PATCH /projects/{projectId}/env-vars": typeof projectsUpdateEnvVars;
749
+ "POST /projects/{projectId}/env-vars/delete": typeof projectsDeleteEnvVars;
750
+ "GET /projects/{projectId}/env-vars/{environmentVariableId}": typeof projectsGetEnvVar;
751
+ "GET /rate-limits": typeof rateLimitsFind;
752
+ "GET /user": typeof userGet;
753
+ "GET /user/billing": typeof userGetBilling;
754
+ "GET /user/plan": typeof userGetPlan;
755
+ "GET /user/scopes": typeof userGetScopes;
756
+ "POST /chats/{chatId}/versions/{versionId}/restore": typeof chatsRestore;
757
+ "GET /reports/usage": typeof reportsGetUsage;
758
+ "GET /reports/usage/ai": typeof reportsGetAIUsage;
759
+ "GET /reports/user-activity": typeof reportsGetUserActivity;
760
+ "GET /mcp-servers": typeof mcpServersFind;
761
+ "POST /mcp-servers": typeof mcpServersCreate;
762
+ "GET /mcp-servers/{mcpServerId}": typeof mcpServersGetById;
763
+ "PATCH /mcp-servers/{mcpServerId}": typeof mcpServersUpdate;
764
+ "DELETE /mcp-servers/{mcpServerId}": typeof mcpServersDelete;
765
+ "POST /mcp-servers/{mcpServerId}/oauth/authorize": typeof mcpServersCreateOAuthAuthorizationUrl;
766
+ };
767
+ declare const operationsByTag: {
768
+ chats: {
769
+ chatsCreate: typeof chatsCreate;
770
+ chatsFind: typeof chatsFind;
771
+ chatsInit: typeof chatsInit;
772
+ chatsDelete: typeof chatsDelete;
773
+ chatsGetById: typeof chatsGetById;
774
+ chatsUpdate: typeof chatsUpdate;
775
+ chatsFavorite: typeof chatsFavorite;
776
+ chatsFork: typeof chatsFork;
777
+ chatsFindMessages: typeof chatsFindMessages;
778
+ chatsSendMessage: typeof chatsSendMessage;
779
+ chatsGetMessage: typeof chatsGetMessage;
780
+ chatsFindVersions: typeof chatsFindVersions;
781
+ chatsGetVersion: typeof chatsGetVersion;
782
+ chatsUpdateVersion: typeof chatsUpdateVersion;
783
+ chatsDownloadVersion: typeof chatsDownloadVersion;
784
+ chatsDeleteVersionFiles: typeof chatsDeleteVersionFiles;
785
+ chatsResume: typeof chatsResume;
786
+ chatsStop: typeof chatsStop;
787
+ chatsResolveTask: typeof chatsResolveTask;
788
+ chatsRestore: typeof chatsRestore;
789
+ };
790
+ projects: {
791
+ projectsGetByChatId: typeof projectsGetByChatId;
792
+ projectsFind: typeof projectsFind;
793
+ projectsCreate: typeof projectsCreate;
794
+ projectsGetById: typeof projectsGetById;
795
+ projectsUpdate: typeof projectsUpdate;
796
+ projectsDelete: typeof projectsDelete;
797
+ projectsAssign: typeof projectsAssign;
798
+ projectsFindEnvVars: typeof projectsFindEnvVars;
799
+ projectsCreateEnvVars: typeof projectsCreateEnvVars;
800
+ projectsUpdateEnvVars: typeof projectsUpdateEnvVars;
801
+ projectsDeleteEnvVars: typeof projectsDeleteEnvVars;
802
+ projectsGetEnvVar: typeof projectsGetEnvVar;
803
+ };
804
+ deployments: {
805
+ deploymentsFind: typeof deploymentsFind;
806
+ deploymentsCreate: typeof deploymentsCreate;
807
+ deploymentsGetById: typeof deploymentsGetById;
808
+ deploymentsDelete: typeof deploymentsDelete;
809
+ deploymentsFindLogs: typeof deploymentsFindLogs;
810
+ deploymentsFindErrors: typeof deploymentsFindErrors;
811
+ };
812
+ hooks: {
813
+ hooksFind: typeof hooksFind;
814
+ hooksCreate: typeof hooksCreate;
815
+ hooksGetById: typeof hooksGetById;
816
+ hooksUpdate: typeof hooksUpdate;
817
+ hooksDelete: typeof hooksDelete;
818
+ };
819
+ integrations: {
820
+ integrationsVercelProjectsFind: typeof integrationsVercelProjectsFind;
821
+ integrationsVercelProjectsCreate: typeof integrationsVercelProjectsCreate;
822
+ };
823
+ ratelimits: {
824
+ rateLimitsFind: typeof rateLimitsFind;
825
+ };
826
+ user: {
827
+ userGet: typeof userGet;
828
+ userGetBilling: typeof userGetBilling;
829
+ userGetPlan: typeof userGetPlan;
830
+ userGetScopes: typeof userGetScopes;
831
+ };
832
+ reports: {
833
+ reportsGetUsage: typeof reportsGetUsage;
834
+ reportsGetAIUsage: typeof reportsGetAIUsage;
835
+ reportsGetUserActivity: typeof reportsGetUserActivity;
836
+ };
837
+ mcpservers: {
838
+ mcpServersFind: typeof mcpServersFind;
839
+ mcpServersCreate: typeof mcpServersCreate;
840
+ mcpServersGetById: typeof mcpServersGetById;
841
+ mcpServersUpdate: typeof mcpServersUpdate;
842
+ mcpServersDelete: typeof mcpServersDelete;
843
+ mcpServersCreateOAuthAuthorizationUrl: typeof mcpServersCreateOAuthAuthorizationUrl;
844
+ };
845
+ };
846
+ declare const tagDictionary: {
847
+ readonly chats: {
848
+ readonly POST: readonly ["chatsCreate", "chatsInit", "chatsFork", "chatsSendMessage", "chatsDeleteVersionFiles", "chatsResume", "chatsStop", "chatsResolveTask", "chatsRestore"];
849
+ readonly GET: readonly ["chatsFind", "chatsGetById", "chatsFindMessages", "chatsGetMessage", "chatsFindVersions", "chatsGetVersion", "chatsDownloadVersion"];
850
+ readonly DELETE: readonly ["chatsDelete"];
851
+ readonly PATCH: readonly ["chatsUpdate", "chatsUpdateVersion"];
852
+ readonly PUT: readonly ["chatsFavorite"];
853
+ };
854
+ readonly projects: {
855
+ readonly GET: readonly ["projectsGetByChatId", "projectsFind", "projectsGetById", "projectsFindEnvVars", "projectsGetEnvVar"];
856
+ readonly POST: readonly ["projectsCreate", "projectsAssign", "projectsCreateEnvVars", "projectsDeleteEnvVars"];
857
+ readonly PATCH: readonly ["projectsUpdate", "projectsUpdateEnvVars"];
858
+ readonly DELETE: readonly ["projectsDelete"];
859
+ };
860
+ readonly deployments: {
861
+ readonly GET: readonly ["deploymentsFind", "deploymentsGetById", "deploymentsFindLogs", "deploymentsFindErrors"];
862
+ readonly POST: readonly ["deploymentsCreate"];
863
+ readonly DELETE: readonly ["deploymentsDelete"];
864
+ };
865
+ readonly hooks: {
866
+ readonly GET: readonly ["hooksFind", "hooksGetById"];
867
+ readonly POST: readonly ["hooksCreate"];
868
+ readonly PATCH: readonly ["hooksUpdate"];
869
+ readonly DELETE: readonly ["hooksDelete"];
870
+ };
871
+ readonly integrations: {
872
+ readonly GET: readonly ["integrationsVercelProjectsFind"];
873
+ readonly POST: readonly ["integrationsVercelProjectsCreate"];
874
+ };
875
+ readonly ratelimits: {
876
+ readonly GET: readonly ["rateLimitsFind"];
877
+ };
878
+ readonly user: {
879
+ readonly GET: readonly ["userGet", "userGetBilling", "userGetPlan", "userGetScopes"];
880
+ };
881
+ readonly reports: {
882
+ readonly GET: readonly ["reportsGetUsage", "reportsGetAIUsage", "reportsGetUserActivity"];
883
+ };
884
+ readonly mcpservers: {
885
+ readonly GET: readonly ["mcpServersFind", "mcpServersGetById"];
886
+ readonly POST: readonly ["mcpServersCreate", "mcpServersCreateOAuthAuthorizationUrl"];
887
+ readonly PATCH: readonly ["mcpServersUpdate"];
888
+ readonly DELETE: readonly ["mcpServersDelete"];
889
+ };
890
+ };
891
+
892
+ export { mcpServersFind as $, projectsAssign as A, projectsFindEnvVars as B, projectsCreateEnvVars as C, projectsUpdateEnvVars as D, projectsDeleteEnvVars as E, projectsGetEnvVar as F, deploymentsFind as G, deploymentsCreate as H, deploymentsGetById as I, deploymentsDelete as J, deploymentsFindLogs as K, deploymentsFindErrors as L, hooksFind as M, hooksCreate as N, hooksGetById as O, hooksUpdate as P, hooksDelete as Q, integrationsVercelProjectsFind as R, integrationsVercelProjectsCreate as S, rateLimitsFind as T, userGet as U, userGetBilling as V, userGetPlan as W, userGetScopes as X, reportsGetUsage as Y, reportsGetAIUsage as Z, reportsGetUserActivity as _, chatsFind as a, mcpServersCreate as a0, mcpServersGetById as a1, mcpServersUpdate as a2, mcpServersDelete as a3, mcpServersCreateOAuthAuthorizationUrl as a4, operationsByTag as a5, tagDictionary as a6, operationsByPath as a8, chatsInit as b, chatsCreate as c, chatsDelete as d, chatsGetById as e, chatsUpdate as f, chatsFavorite as g, chatsFork as h, chatsFindMessages as i, chatsSendMessage as j, chatsGetMessage as k, chatsFindVersions as l, chatsGetVersion as m, chatsUpdateVersion as n, chatsDownloadVersion as o, chatsDeleteVersionFiles as p, chatsResume as q, chatsStop as r, chatsResolveTask as s, chatsRestore as t, projectsGetByChatId as u, projectsFind as v, projectsCreate as w, projectsGetById as x, projectsUpdate as y, projectsDelete as z };
893
+ export type { FetchImpl as a7, FetcherConfig as a9 };
894
+ //# sourceMappingURL=components-mcjsnuad.d.ts.map