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
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.userGetScopesQueryResponseSchema = exports.userGetScopes500Schema = exports.userGetScopes429Schema = exports.userGetScopes422Schema = exports.userGetScopes413Schema = exports.userGetScopes409Schema = exports.userGetScopes404Schema = exports.userGetScopes403Schema = exports.userGetScopes401Schema = void 0;
|
|
7
|
+
exports.chatsDelete409Schema = exports.chatsDelete404Schema = exports.chatsDelete403Schema = exports.chatsDelete401Schema = exports.chatsDelete200Schema = exports.chatsDeletePathParamsSchema = exports.chatsInitCreateMutationResponseSchema = exports.chatsInitCreate500Schema = exports.chatsInitCreate429Schema = exports.chatsInitCreate422Schema = exports.chatsInitCreate413Schema = exports.chatsInitCreate409Schema = exports.chatsInitCreate404Schema = exports.chatsInitCreate403Schema = exports.chatsInitCreate401Schema = exports.chatsInitCreate200Schema = exports.chatsFindQueryResponseSchema = exports.chatsFind500Schema = exports.chatsFind429Schema = exports.chatsFind422Schema = exports.chatsFind413Schema = exports.chatsFind409Schema = exports.chatsFind404Schema = exports.chatsFind403Schema = exports.chatsFind401Schema = exports.chatsFind200Schema = exports.chatsFindQueryParamsSchema = exports.chatsCreateMutationResponseSchema = exports.chatsCreate500Schema = exports.chatsCreate429Schema = exports.chatsCreate422Schema = exports.chatsCreate413Schema = exports.chatsCreate409Schema = exports.chatsCreate404Schema = exports.chatsCreate403Schema = exports.chatsCreate401Schema = exports.chatsCreate200Schema = exports.versionSummarySchema = exports.versionDetailSchema = exports.vercelProjectDetailSchema = exports.userDetailSchema = exports.scopeSummarySchema = exports.projectSummarySchema = exports.projectDetailSchema = exports.messageSummarySchema = exports.messageDetailSchema = exports.fileSummarySchema = exports.fileDetailSchema = exports.chatSummarySchema = exports.chatDetailSchema = void 0;
|
|
8
|
+
exports.projectsGetByChatIdPathParamsSchema = exports.chatsForkMutationResponseSchema = exports.chatsFork500Schema = exports.chatsFork429Schema = exports.chatsFork422Schema = exports.chatsFork413Schema = exports.chatsFork409Schema = exports.chatsFork404Schema = exports.chatsFork403Schema = exports.chatsFork401Schema = exports.chatsFork200Schema = exports.chatsForkPathParamsSchema = exports.chatsFavoriteMutationResponseSchema = exports.chatsFavorite500Schema = exports.chatsFavorite429Schema = exports.chatsFavorite422Schema = exports.chatsFavorite413Schema = exports.chatsFavorite409Schema = exports.chatsFavorite404Schema = exports.chatsFavorite403Schema = exports.chatsFavorite401Schema = exports.chatsFavorite200Schema = exports.chatsFavoritePathParamsSchema = exports.chatsUpdateMutationResponseSchema = exports.chatsUpdate500Schema = exports.chatsUpdate429Schema = exports.chatsUpdate422Schema = exports.chatsUpdate413Schema = exports.chatsUpdate409Schema = exports.chatsUpdate404Schema = exports.chatsUpdate403Schema = exports.chatsUpdate401Schema = exports.chatsUpdate200Schema = exports.chatsUpdatePathParamsSchema = exports.chatsGetByIdQueryResponseSchema = exports.chatsGetById500Schema = exports.chatsGetById429Schema = exports.chatsGetById422Schema = exports.chatsGetById413Schema = exports.chatsGetById409Schema = exports.chatsGetById404Schema = exports.chatsGetById403Schema = exports.chatsGetById401Schema = exports.chatsGetById200Schema = exports.chatsGetByIdPathParamsSchema = exports.chatsDeleteMutationResponseSchema = exports.chatsDelete500Schema = exports.chatsDelete429Schema = exports.chatsDelete422Schema = exports.chatsDelete413Schema = void 0;
|
|
9
|
+
exports.deploymentsFindLogs409Schema = exports.deploymentsFindLogs404Schema = exports.deploymentsFindLogs403Schema = exports.deploymentsFindLogs401Schema = exports.deploymentsFindLogs200Schema = exports.deploymentsFindLogsQueryParamsSchema = exports.deploymentsFindLogsPathParamsSchema = exports.chatsResumeMutationResponseSchema = exports.chatsResume500Schema = exports.chatsResume429Schema = exports.chatsResume422Schema = exports.chatsResume413Schema = exports.chatsResume409Schema = exports.chatsResume404Schema = exports.chatsResume403Schema = exports.chatsResume401Schema = exports.chatsResume200Schema = exports.chatsResumePathParamsSchema = exports.chatsGetMetadataQueryResponseSchema = exports.chatsGetMetadata500Schema = exports.chatsGetMetadata429Schema = exports.chatsGetMetadata422Schema = exports.chatsGetMetadata413Schema = exports.chatsGetMetadata409Schema = exports.chatsGetMetadata404Schema = exports.chatsGetMetadata403Schema = exports.chatsGetMetadata401Schema = exports.chatsGetMetadata200Schema = exports.chatsGetMetadataPathParamsSchema = exports.chatsSendMessageMutationResponseSchema = exports.chatsSendMessage500Schema = exports.chatsSendMessage429Schema = exports.chatsSendMessage422Schema = exports.chatsSendMessage413Schema = exports.chatsSendMessage409Schema = exports.chatsSendMessage404Schema = exports.chatsSendMessage403Schema = exports.chatsSendMessage401Schema = exports.chatsSendMessage200Schema = exports.chatsSendMessagePathParamsSchema = exports.projectsGetByChatIdQueryResponseSchema = exports.projectsGetByChatId500Schema = exports.projectsGetByChatId429Schema = exports.projectsGetByChatId422Schema = exports.projectsGetByChatId413Schema = exports.projectsGetByChatId409Schema = exports.projectsGetByChatId404Schema = exports.projectsGetByChatId403Schema = exports.projectsGetByChatId401Schema = exports.projectsGetByChatId200Schema = void 0;
|
|
10
|
+
exports.projectsCreate404Schema = exports.projectsCreate403Schema = exports.projectsCreate401Schema = exports.projectsCreate200Schema = exports.projectsFindQueryResponseSchema = exports.projectsFind500Schema = exports.projectsFind429Schema = exports.projectsFind422Schema = exports.projectsFind413Schema = exports.projectsFind409Schema = exports.projectsFind404Schema = exports.projectsFind403Schema = exports.projectsFind401Schema = exports.projectsFind200Schema = exports.integrationsVercelProjectsCreateMutationResponseSchema = exports.integrationsVercelProjectsCreate500Schema = exports.integrationsVercelProjectsCreate429Schema = exports.integrationsVercelProjectsCreate422Schema = exports.integrationsVercelProjectsCreate413Schema = exports.integrationsVercelProjectsCreate409Schema = exports.integrationsVercelProjectsCreate404Schema = exports.integrationsVercelProjectsCreate403Schema = exports.integrationsVercelProjectsCreate401Schema = exports.integrationsVercelProjectsCreate200Schema = exports.integrationsVercelProjectsFindQueryResponseSchema = exports.integrationsVercelProjectsFind500Schema = exports.integrationsVercelProjectsFind429Schema = exports.integrationsVercelProjectsFind422Schema = exports.integrationsVercelProjectsFind413Schema = exports.integrationsVercelProjectsFind409Schema = exports.integrationsVercelProjectsFind404Schema = exports.integrationsVercelProjectsFind403Schema = exports.integrationsVercelProjectsFind401Schema = exports.integrationsVercelProjectsFind200Schema = exports.deploymentsFindErrorsQueryResponseSchema = exports.deploymentsFindErrors500Schema = exports.deploymentsFindErrors429Schema = exports.deploymentsFindErrors422Schema = exports.deploymentsFindErrors413Schema = exports.deploymentsFindErrors409Schema = exports.deploymentsFindErrors404Schema = exports.deploymentsFindErrors403Schema = exports.deploymentsFindErrors401Schema = exports.deploymentsFindErrors200Schema = exports.deploymentsFindErrorsPathParamsSchema = exports.deploymentsFindLogsQueryResponseSchema = exports.deploymentsFindLogs500Schema = exports.deploymentsFindLogs429Schema = exports.deploymentsFindLogs422Schema = exports.deploymentsFindLogs413Schema = void 0;
|
|
11
|
+
exports.userGetPlan200Schema = exports.userGetBillingQueryResponseSchema = exports.userGetBilling500Schema = exports.userGetBilling429Schema = exports.userGetBilling422Schema = exports.userGetBilling413Schema = exports.userGetBilling409Schema = exports.userGetBilling404Schema = exports.userGetBilling403Schema = exports.userGetBilling401Schema = exports.userGetBilling200Schema = exports.userGetBillingQueryParamsSchema = exports.userGetQueryResponseSchema = exports.userGet500Schema = exports.userGet429Schema = exports.userGet422Schema = exports.userGet413Schema = exports.userGet409Schema = exports.userGet404Schema = exports.userGet403Schema = exports.userGet401Schema = exports.userGet200Schema = exports.rateLimitsFindQueryResponseSchema = exports.rateLimitsFind500Schema = exports.rateLimitsFind429Schema = exports.rateLimitsFind422Schema = exports.rateLimitsFind413Schema = exports.rateLimitsFind409Schema = exports.rateLimitsFind404Schema = exports.rateLimitsFind403Schema = exports.rateLimitsFind401Schema = exports.rateLimitsFind200Schema = exports.rateLimitsFindQueryParamsSchema = exports.projectsAssignMutationResponseSchema = exports.projectsAssign500Schema = exports.projectsAssign429Schema = exports.projectsAssign422Schema = exports.projectsAssign413Schema = exports.projectsAssign409Schema = exports.projectsAssign404Schema = exports.projectsAssign403Schema = exports.projectsAssign401Schema = exports.projectsAssign200Schema = exports.projectsAssignPathParamsSchema = exports.projectsCreateMutationResponseSchema = exports.projectsCreate500Schema = exports.projectsCreate429Schema = exports.projectsCreate422Schema = exports.projectsCreate413Schema = exports.projectsCreate409Schema = void 0;
|
|
12
|
+
exports.userGetScopesQueryResponseSchema = exports.userGetScopes500Schema = exports.userGetScopes429Schema = exports.userGetScopes422Schema = exports.userGetScopes413Schema = exports.userGetScopes409Schema = exports.userGetScopes404Schema = exports.userGetScopes403Schema = exports.userGetScopes401Schema = exports.userGetScopes200Schema = exports.userGetPlanQueryResponseSchema = exports.userGetPlan500Schema = exports.userGetPlan429Schema = exports.userGetPlan422Schema = exports.userGetPlan413Schema = exports.userGetPlan409Schema = exports.userGetPlan404Schema = exports.userGetPlan403Schema = exports.userGetPlan401Schema = void 0;
|
|
13
13
|
const zod_1 = require("zod");
|
|
14
14
|
exports.chatDetailSchema = zod_1.z.object({
|
|
15
15
|
id: zod_1.z.string(),
|
|
@@ -41,9 +41,9 @@ exports.chatDetailSchema = zod_1.z.object({
|
|
|
41
41
|
'renamed-file',
|
|
42
42
|
'replace-src',
|
|
43
43
|
'reverted-block',
|
|
44
|
-
'sync-git'
|
|
44
|
+
'sync-git'
|
|
45
45
|
]),
|
|
46
|
-
role: zod_1.z.enum(['assistant', 'user'])
|
|
46
|
+
role: zod_1.z.enum(['assistant', 'user'])
|
|
47
47
|
})),
|
|
48
48
|
latestVersion: zod_1.z
|
|
49
49
|
.object({
|
|
@@ -53,15 +53,15 @@ exports.chatDetailSchema = zod_1.z.object({
|
|
|
53
53
|
files: zod_1.z.array(zod_1.z.object({
|
|
54
54
|
object: zod_1.z.literal('file'),
|
|
55
55
|
name: zod_1.z.string(),
|
|
56
|
-
content: zod_1.z.string()
|
|
57
|
-
}))
|
|
56
|
+
content: zod_1.z.string()
|
|
57
|
+
}))
|
|
58
58
|
})
|
|
59
59
|
.optional(),
|
|
60
60
|
files: zod_1.z
|
|
61
61
|
.array(zod_1.z.object({
|
|
62
62
|
lang: zod_1.z.string(),
|
|
63
63
|
meta: zod_1.z.object({}).catchall(zod_1.z.string()),
|
|
64
|
-
source: zod_1.z.string()
|
|
64
|
+
source: zod_1.z.string()
|
|
65
65
|
}))
|
|
66
66
|
.optional(),
|
|
67
67
|
demo: zod_1.z.string().optional(),
|
|
@@ -69,8 +69,8 @@ exports.chatDetailSchema = zod_1.z.object({
|
|
|
69
69
|
modelConfiguration: zod_1.z.object({
|
|
70
70
|
modelId: zod_1.z.enum(['v0-1.5-lg', 'v0-1.5-md', 'v0-1.5-sm']),
|
|
71
71
|
imageGenerations: zod_1.z.boolean().default(false),
|
|
72
|
-
thinking: zod_1.z.boolean().default(false)
|
|
73
|
-
})
|
|
72
|
+
thinking: zod_1.z.boolean().default(false)
|
|
73
|
+
})
|
|
74
74
|
});
|
|
75
75
|
exports.chatSummarySchema = zod_1.z.object({
|
|
76
76
|
id: zod_1.z.string(),
|
|
@@ -85,18 +85,18 @@ exports.chatSummarySchema = zod_1.z.object({
|
|
|
85
85
|
.object({
|
|
86
86
|
id: zod_1.z.string(),
|
|
87
87
|
object: zod_1.z.literal('version'),
|
|
88
|
-
status: zod_1.z.enum(['completed', 'failed', 'pending'])
|
|
88
|
+
status: zod_1.z.enum(['completed', 'failed', 'pending'])
|
|
89
89
|
})
|
|
90
|
-
.optional()
|
|
90
|
+
.optional()
|
|
91
91
|
});
|
|
92
92
|
exports.fileDetailSchema = zod_1.z.object({
|
|
93
93
|
object: zod_1.z.literal('file'),
|
|
94
94
|
name: zod_1.z.string(),
|
|
95
|
-
content: zod_1.z.string()
|
|
95
|
+
content: zod_1.z.string()
|
|
96
96
|
});
|
|
97
97
|
exports.fileSummarySchema = zod_1.z.object({
|
|
98
98
|
object: zod_1.z.literal('file'),
|
|
99
|
-
name: zod_1.z.string()
|
|
99
|
+
name: zod_1.z.string()
|
|
100
100
|
});
|
|
101
101
|
exports.messageDetailSchema = zod_1.z.object({
|
|
102
102
|
id: zod_1.z.string(),
|
|
@@ -105,15 +105,15 @@ exports.messageDetailSchema = zod_1.z.object({
|
|
|
105
105
|
url: zod_1.z.string(),
|
|
106
106
|
files: zod_1.z.array(zod_1.z.object({
|
|
107
107
|
object: zod_1.z.literal('file'),
|
|
108
|
-
name: zod_1.z.string()
|
|
108
|
+
name: zod_1.z.string()
|
|
109
109
|
})),
|
|
110
110
|
demo: zod_1.z.string().optional(),
|
|
111
111
|
text: zod_1.z.string(),
|
|
112
112
|
modelConfiguration: zod_1.z.object({
|
|
113
113
|
modelId: zod_1.z.enum(['v0-1.5-lg', 'v0-1.5-md', 'v0-1.5-sm']),
|
|
114
114
|
imageGenerations: zod_1.z.boolean().default(false),
|
|
115
|
-
thinking: zod_1.z.boolean().default(false)
|
|
116
|
-
})
|
|
115
|
+
thinking: zod_1.z.boolean().default(false)
|
|
116
|
+
})
|
|
117
117
|
});
|
|
118
118
|
exports.messageSummarySchema = zod_1.z.object({
|
|
119
119
|
id: zod_1.z.string(),
|
|
@@ -135,38 +135,38 @@ exports.messageSummarySchema = zod_1.z.object({
|
|
|
135
135
|
'renamed-file',
|
|
136
136
|
'replace-src',
|
|
137
137
|
'reverted-block',
|
|
138
|
-
'sync-git'
|
|
138
|
+
'sync-git'
|
|
139
139
|
]),
|
|
140
|
-
role: zod_1.z.enum(['assistant', 'user'])
|
|
140
|
+
role: zod_1.z.enum(['assistant', 'user'])
|
|
141
141
|
});
|
|
142
142
|
exports.projectDetailSchema = zod_1.z.object({
|
|
143
143
|
id: zod_1.z.string(),
|
|
144
144
|
object: zod_1.z.literal('project'),
|
|
145
145
|
name: zod_1.z.string(),
|
|
146
|
-
vercelProjectId: zod_1.z.string().optional()
|
|
146
|
+
vercelProjectId: zod_1.z.string().optional()
|
|
147
147
|
});
|
|
148
148
|
exports.projectSummarySchema = zod_1.z.object({
|
|
149
149
|
id: zod_1.z.string(),
|
|
150
150
|
object: zod_1.z.literal('project'),
|
|
151
151
|
name: zod_1.z.string(),
|
|
152
|
-
vercelProjectId: zod_1.z.string().optional()
|
|
152
|
+
vercelProjectId: zod_1.z.string().optional()
|
|
153
153
|
});
|
|
154
154
|
exports.scopeSummarySchema = zod_1.z.object({
|
|
155
155
|
id: zod_1.z.string(),
|
|
156
156
|
object: zod_1.z.literal('scope'),
|
|
157
|
-
name: zod_1.z.string().optional()
|
|
157
|
+
name: zod_1.z.string().optional()
|
|
158
158
|
});
|
|
159
159
|
exports.userDetailSchema = zod_1.z.object({
|
|
160
160
|
id: zod_1.z.string(),
|
|
161
161
|
object: zod_1.z.literal('user'),
|
|
162
162
|
name: zod_1.z.string().optional(),
|
|
163
163
|
email: zod_1.z.string(),
|
|
164
|
-
avatar: zod_1.z.string()
|
|
164
|
+
avatar: zod_1.z.string()
|
|
165
165
|
});
|
|
166
166
|
exports.vercelProjectDetailSchema = zod_1.z.object({
|
|
167
167
|
id: zod_1.z.string(),
|
|
168
168
|
object: zod_1.z.literal('vercel_project'),
|
|
169
|
-
name: zod_1.z.string()
|
|
169
|
+
name: zod_1.z.string()
|
|
170
170
|
});
|
|
171
171
|
exports.versionDetailSchema = zod_1.z.object({
|
|
172
172
|
id: zod_1.z.string(),
|
|
@@ -175,13 +175,13 @@ exports.versionDetailSchema = zod_1.z.object({
|
|
|
175
175
|
files: zod_1.z.array(zod_1.z.object({
|
|
176
176
|
object: zod_1.z.literal('file'),
|
|
177
177
|
name: zod_1.z.string(),
|
|
178
|
-
content: zod_1.z.string()
|
|
179
|
-
}))
|
|
178
|
+
content: zod_1.z.string()
|
|
179
|
+
}))
|
|
180
180
|
});
|
|
181
181
|
exports.versionSummarySchema = zod_1.z.object({
|
|
182
182
|
id: zod_1.z.string(),
|
|
183
183
|
object: zod_1.z.literal('version'),
|
|
184
|
-
status: zod_1.z.enum(['completed', 'failed', 'pending'])
|
|
184
|
+
status: zod_1.z.enum(['completed', 'failed', 'pending'])
|
|
185
185
|
});
|
|
186
186
|
/**
|
|
187
187
|
* @description Success
|
|
@@ -219,14 +219,14 @@ exports.chatsCreate429Schema = zod_1.z.unknown();
|
|
|
219
219
|
* @description Internal Server Error
|
|
220
220
|
*/
|
|
221
221
|
exports.chatsCreate500Schema = zod_1.z.unknown();
|
|
222
|
-
exports.chatsCreateMutationResponseSchema = exports.chatsCreate200Schema;
|
|
222
|
+
exports.chatsCreateMutationResponseSchema = zod_1.z.lazy(() => exports.chatsCreate200Schema);
|
|
223
223
|
exports.chatsFindQueryParamsSchema = zod_1.z.object({
|
|
224
224
|
limit: zod_1.z.coerce.number().max(60).default(60).describe('Query parameter "limit"'),
|
|
225
225
|
offset: zod_1.z.coerce.number().default(0).describe('Query parameter "offset"'),
|
|
226
226
|
isFavorite: zod_1.z
|
|
227
227
|
.boolean()
|
|
228
228
|
.describe('If true, only favorites will be returned. If false, unfavorited chats will be returned. If not provided, all chats will be returned.')
|
|
229
|
-
.optional()
|
|
229
|
+
.optional()
|
|
230
230
|
});
|
|
231
231
|
/**
|
|
232
232
|
* @description Success
|
|
@@ -264,9 +264,46 @@ exports.chatsFind429Schema = zod_1.z.unknown();
|
|
|
264
264
|
* @description Internal Server Error
|
|
265
265
|
*/
|
|
266
266
|
exports.chatsFind500Schema = zod_1.z.unknown();
|
|
267
|
-
exports.chatsFindQueryResponseSchema = exports.chatsFind200Schema;
|
|
267
|
+
exports.chatsFindQueryResponseSchema = zod_1.z.lazy(() => exports.chatsFind200Schema);
|
|
268
|
+
/**
|
|
269
|
+
* @description Success
|
|
270
|
+
*/
|
|
271
|
+
exports.chatsInitCreate200Schema = zod_1.z.unknown();
|
|
272
|
+
/**
|
|
273
|
+
* @description Unauthorized
|
|
274
|
+
*/
|
|
275
|
+
exports.chatsInitCreate401Schema = zod_1.z.unknown();
|
|
276
|
+
/**
|
|
277
|
+
* @description Forbidden
|
|
278
|
+
*/
|
|
279
|
+
exports.chatsInitCreate403Schema = zod_1.z.unknown();
|
|
280
|
+
/**
|
|
281
|
+
* @description Not Found
|
|
282
|
+
*/
|
|
283
|
+
exports.chatsInitCreate404Schema = zod_1.z.unknown();
|
|
284
|
+
/**
|
|
285
|
+
* @description Conflict
|
|
286
|
+
*/
|
|
287
|
+
exports.chatsInitCreate409Schema = zod_1.z.unknown();
|
|
288
|
+
/**
|
|
289
|
+
* @description Payload Too Large
|
|
290
|
+
*/
|
|
291
|
+
exports.chatsInitCreate413Schema = zod_1.z.unknown();
|
|
292
|
+
/**
|
|
293
|
+
* @description Unprocessable Entity
|
|
294
|
+
*/
|
|
295
|
+
exports.chatsInitCreate422Schema = zod_1.z.unknown();
|
|
296
|
+
/**
|
|
297
|
+
* @description Too Many Requests
|
|
298
|
+
*/
|
|
299
|
+
exports.chatsInitCreate429Schema = zod_1.z.unknown();
|
|
300
|
+
/**
|
|
301
|
+
* @description Internal Server Error
|
|
302
|
+
*/
|
|
303
|
+
exports.chatsInitCreate500Schema = zod_1.z.unknown();
|
|
304
|
+
exports.chatsInitCreateMutationResponseSchema = zod_1.z.lazy(() => exports.chatsInitCreate200Schema);
|
|
268
305
|
exports.chatsDeletePathParamsSchema = zod_1.z.object({
|
|
269
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
306
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
270
307
|
});
|
|
271
308
|
/**
|
|
272
309
|
* @description Success
|
|
@@ -304,9 +341,9 @@ exports.chatsDelete429Schema = zod_1.z.unknown();
|
|
|
304
341
|
* @description Internal Server Error
|
|
305
342
|
*/
|
|
306
343
|
exports.chatsDelete500Schema = zod_1.z.unknown();
|
|
307
|
-
exports.chatsDeleteMutationResponseSchema = exports.chatsDelete200Schema;
|
|
344
|
+
exports.chatsDeleteMutationResponseSchema = zod_1.z.lazy(() => exports.chatsDelete200Schema);
|
|
308
345
|
exports.chatsGetByIdPathParamsSchema = zod_1.z.object({
|
|
309
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
346
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
310
347
|
});
|
|
311
348
|
/**
|
|
312
349
|
* @description Success
|
|
@@ -344,9 +381,9 @@ exports.chatsGetById429Schema = zod_1.z.unknown();
|
|
|
344
381
|
* @description Internal Server Error
|
|
345
382
|
*/
|
|
346
383
|
exports.chatsGetById500Schema = zod_1.z.unknown();
|
|
347
|
-
exports.chatsGetByIdQueryResponseSchema = exports.chatsGetById200Schema;
|
|
384
|
+
exports.chatsGetByIdQueryResponseSchema = zod_1.z.lazy(() => exports.chatsGetById200Schema);
|
|
348
385
|
exports.chatsUpdatePathParamsSchema = zod_1.z.object({
|
|
349
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
386
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
350
387
|
});
|
|
351
388
|
/**
|
|
352
389
|
* @description Success
|
|
@@ -384,9 +421,9 @@ exports.chatsUpdate429Schema = zod_1.z.unknown();
|
|
|
384
421
|
* @description Internal Server Error
|
|
385
422
|
*/
|
|
386
423
|
exports.chatsUpdate500Schema = zod_1.z.unknown();
|
|
387
|
-
exports.chatsUpdateMutationResponseSchema = exports.chatsUpdate200Schema;
|
|
424
|
+
exports.chatsUpdateMutationResponseSchema = zod_1.z.lazy(() => exports.chatsUpdate200Schema);
|
|
388
425
|
exports.chatsFavoritePathParamsSchema = zod_1.z.object({
|
|
389
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
426
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
390
427
|
});
|
|
391
428
|
/**
|
|
392
429
|
* @description Success
|
|
@@ -424,9 +461,9 @@ exports.chatsFavorite429Schema = zod_1.z.unknown();
|
|
|
424
461
|
* @description Internal Server Error
|
|
425
462
|
*/
|
|
426
463
|
exports.chatsFavorite500Schema = zod_1.z.unknown();
|
|
427
|
-
exports.chatsFavoriteMutationResponseSchema = exports.chatsFavorite200Schema;
|
|
464
|
+
exports.chatsFavoriteMutationResponseSchema = zod_1.z.lazy(() => exports.chatsFavorite200Schema);
|
|
428
465
|
exports.chatsForkPathParamsSchema = zod_1.z.object({
|
|
429
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
466
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
430
467
|
});
|
|
431
468
|
/**
|
|
432
469
|
* @description Success
|
|
@@ -464,9 +501,9 @@ exports.chatsFork429Schema = zod_1.z.unknown();
|
|
|
464
501
|
* @description Internal Server Error
|
|
465
502
|
*/
|
|
466
503
|
exports.chatsFork500Schema = zod_1.z.unknown();
|
|
467
|
-
exports.chatsForkMutationResponseSchema = exports.chatsFork200Schema;
|
|
504
|
+
exports.chatsForkMutationResponseSchema = zod_1.z.lazy(() => exports.chatsFork200Schema);
|
|
468
505
|
exports.projectsGetByChatIdPathParamsSchema = zod_1.z.object({
|
|
469
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
506
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
470
507
|
});
|
|
471
508
|
/**
|
|
472
509
|
* @description Success
|
|
@@ -504,9 +541,9 @@ exports.projectsGetByChatId429Schema = zod_1.z.unknown();
|
|
|
504
541
|
* @description Internal Server Error
|
|
505
542
|
*/
|
|
506
543
|
exports.projectsGetByChatId500Schema = zod_1.z.unknown();
|
|
507
|
-
exports.projectsGetByChatIdQueryResponseSchema = exports.projectsGetByChatId200Schema;
|
|
544
|
+
exports.projectsGetByChatIdQueryResponseSchema = zod_1.z.lazy(() => exports.projectsGetByChatId200Schema);
|
|
508
545
|
exports.chatsSendMessagePathParamsSchema = zod_1.z.object({
|
|
509
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
546
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
510
547
|
});
|
|
511
548
|
/**
|
|
512
549
|
* @description Success
|
|
@@ -544,9 +581,9 @@ exports.chatsSendMessage429Schema = zod_1.z.unknown();
|
|
|
544
581
|
* @description Internal Server Error
|
|
545
582
|
*/
|
|
546
583
|
exports.chatsSendMessage500Schema = zod_1.z.unknown();
|
|
547
|
-
exports.chatsSendMessageMutationResponseSchema = exports.chatsSendMessage200Schema;
|
|
584
|
+
exports.chatsSendMessageMutationResponseSchema = zod_1.z.lazy(() => exports.chatsSendMessage200Schema);
|
|
548
585
|
exports.chatsGetMetadataPathParamsSchema = zod_1.z.object({
|
|
549
|
-
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
586
|
+
chatId: zod_1.z.string().describe('Path parameter "chatId"')
|
|
550
587
|
});
|
|
551
588
|
/**
|
|
552
589
|
* @description Success
|
|
@@ -584,10 +621,10 @@ exports.chatsGetMetadata429Schema = zod_1.z.unknown();
|
|
|
584
621
|
* @description Internal Server Error
|
|
585
622
|
*/
|
|
586
623
|
exports.chatsGetMetadata500Schema = zod_1.z.unknown();
|
|
587
|
-
exports.chatsGetMetadataQueryResponseSchema = exports.chatsGetMetadata200Schema;
|
|
624
|
+
exports.chatsGetMetadataQueryResponseSchema = zod_1.z.lazy(() => exports.chatsGetMetadata200Schema);
|
|
588
625
|
exports.chatsResumePathParamsSchema = zod_1.z.object({
|
|
589
626
|
chatId: zod_1.z.string().describe('Path parameter "chatId"'),
|
|
590
|
-
messageId: zod_1.z.string().describe('Path parameter "messageId"')
|
|
627
|
+
messageId: zod_1.z.string().describe('Path parameter "messageId"')
|
|
591
628
|
});
|
|
592
629
|
/**
|
|
593
630
|
* @description Success
|
|
@@ -625,13 +662,13 @@ exports.chatsResume429Schema = zod_1.z.unknown();
|
|
|
625
662
|
* @description Internal Server Error
|
|
626
663
|
*/
|
|
627
664
|
exports.chatsResume500Schema = zod_1.z.unknown();
|
|
628
|
-
exports.chatsResumeMutationResponseSchema = exports.chatsResume200Schema;
|
|
665
|
+
exports.chatsResumeMutationResponseSchema = zod_1.z.lazy(() => exports.chatsResume200Schema);
|
|
629
666
|
exports.deploymentsFindLogsPathParamsSchema = zod_1.z.object({
|
|
630
|
-
deploymentId: zod_1.z.string().describe('Path parameter "deploymentId"')
|
|
667
|
+
deploymentId: zod_1.z.string().describe('Path parameter "deploymentId"')
|
|
631
668
|
});
|
|
632
669
|
exports.deploymentsFindLogsQueryParamsSchema = zod_1.z
|
|
633
670
|
.object({
|
|
634
|
-
since: zod_1.z.coerce.number().describe('Query parameter "since"').optional()
|
|
671
|
+
since: zod_1.z.coerce.number().describe('Query parameter "since"').optional()
|
|
635
672
|
})
|
|
636
673
|
.optional();
|
|
637
674
|
/**
|
|
@@ -670,9 +707,9 @@ exports.deploymentsFindLogs429Schema = zod_1.z.unknown();
|
|
|
670
707
|
* @description Internal Server Error
|
|
671
708
|
*/
|
|
672
709
|
exports.deploymentsFindLogs500Schema = zod_1.z.unknown();
|
|
673
|
-
exports.deploymentsFindLogsQueryResponseSchema = exports.deploymentsFindLogs200Schema;
|
|
710
|
+
exports.deploymentsFindLogsQueryResponseSchema = zod_1.z.lazy(() => exports.deploymentsFindLogs200Schema);
|
|
674
711
|
exports.deploymentsFindErrorsPathParamsSchema = zod_1.z.object({
|
|
675
|
-
deploymentId: zod_1.z.string().describe('Path parameter "deploymentId"')
|
|
712
|
+
deploymentId: zod_1.z.string().describe('Path parameter "deploymentId"')
|
|
676
713
|
});
|
|
677
714
|
/**
|
|
678
715
|
* @description Success
|
|
@@ -710,7 +747,7 @@ exports.deploymentsFindErrors429Schema = zod_1.z.unknown();
|
|
|
710
747
|
* @description Internal Server Error
|
|
711
748
|
*/
|
|
712
749
|
exports.deploymentsFindErrors500Schema = zod_1.z.unknown();
|
|
713
|
-
exports.deploymentsFindErrorsQueryResponseSchema = exports.deploymentsFindErrors200Schema;
|
|
750
|
+
exports.deploymentsFindErrorsQueryResponseSchema = zod_1.z.lazy(() => exports.deploymentsFindErrors200Schema);
|
|
714
751
|
/**
|
|
715
752
|
* @description Success
|
|
716
753
|
*/
|
|
@@ -747,7 +784,7 @@ exports.integrationsVercelProjectsFind429Schema = zod_1.z.unknown();
|
|
|
747
784
|
* @description Internal Server Error
|
|
748
785
|
*/
|
|
749
786
|
exports.integrationsVercelProjectsFind500Schema = zod_1.z.unknown();
|
|
750
|
-
exports.integrationsVercelProjectsFindQueryResponseSchema = exports.integrationsVercelProjectsFind200Schema;
|
|
787
|
+
exports.integrationsVercelProjectsFindQueryResponseSchema = zod_1.z.lazy(() => exports.integrationsVercelProjectsFind200Schema);
|
|
751
788
|
/**
|
|
752
789
|
* @description Success
|
|
753
790
|
*/
|
|
@@ -784,7 +821,7 @@ exports.integrationsVercelProjectsCreate429Schema = zod_1.z.unknown();
|
|
|
784
821
|
* @description Internal Server Error
|
|
785
822
|
*/
|
|
786
823
|
exports.integrationsVercelProjectsCreate500Schema = zod_1.z.unknown();
|
|
787
|
-
exports.integrationsVercelProjectsCreateMutationResponseSchema = exports.integrationsVercelProjectsCreate200Schema;
|
|
824
|
+
exports.integrationsVercelProjectsCreateMutationResponseSchema = zod_1.z.lazy(() => exports.integrationsVercelProjectsCreate200Schema);
|
|
788
825
|
/**
|
|
789
826
|
* @description Success
|
|
790
827
|
*/
|
|
@@ -821,7 +858,7 @@ exports.projectsFind429Schema = zod_1.z.unknown();
|
|
|
821
858
|
* @description Internal Server Error
|
|
822
859
|
*/
|
|
823
860
|
exports.projectsFind500Schema = zod_1.z.unknown();
|
|
824
|
-
exports.projectsFindQueryResponseSchema = exports.projectsFind200Schema;
|
|
861
|
+
exports.projectsFindQueryResponseSchema = zod_1.z.lazy(() => exports.projectsFind200Schema);
|
|
825
862
|
/**
|
|
826
863
|
* @description Success
|
|
827
864
|
*/
|
|
@@ -858,9 +895,9 @@ exports.projectsCreate429Schema = zod_1.z.unknown();
|
|
|
858
895
|
* @description Internal Server Error
|
|
859
896
|
*/
|
|
860
897
|
exports.projectsCreate500Schema = zod_1.z.unknown();
|
|
861
|
-
exports.projectsCreateMutationResponseSchema = exports.projectsCreate200Schema;
|
|
898
|
+
exports.projectsCreateMutationResponseSchema = zod_1.z.lazy(() => exports.projectsCreate200Schema);
|
|
862
899
|
exports.projectsAssignPathParamsSchema = zod_1.z.object({
|
|
863
|
-
projectId: zod_1.z.string().describe('Path parameter "projectId"')
|
|
900
|
+
projectId: zod_1.z.string().describe('Path parameter "projectId"')
|
|
864
901
|
});
|
|
865
902
|
/**
|
|
866
903
|
* @description Success
|
|
@@ -898,10 +935,10 @@ exports.projectsAssign429Schema = zod_1.z.unknown();
|
|
|
898
935
|
* @description Internal Server Error
|
|
899
936
|
*/
|
|
900
937
|
exports.projectsAssign500Schema = zod_1.z.unknown();
|
|
901
|
-
exports.projectsAssignMutationResponseSchema = exports.projectsAssign200Schema;
|
|
938
|
+
exports.projectsAssignMutationResponseSchema = zod_1.z.lazy(() => exports.projectsAssign200Schema);
|
|
902
939
|
exports.rateLimitsFindQueryParamsSchema = zod_1.z
|
|
903
940
|
.object({
|
|
904
|
-
scope: zod_1.z.string().describe('Query parameter "scope"').optional()
|
|
941
|
+
scope: zod_1.z.string().describe('Query parameter "scope"').optional()
|
|
905
942
|
})
|
|
906
943
|
.optional();
|
|
907
944
|
/**
|
|
@@ -940,7 +977,7 @@ exports.rateLimitsFind429Schema = zod_1.z.unknown();
|
|
|
940
977
|
* @description Internal Server Error
|
|
941
978
|
*/
|
|
942
979
|
exports.rateLimitsFind500Schema = zod_1.z.unknown();
|
|
943
|
-
exports.rateLimitsFindQueryResponseSchema = exports.rateLimitsFind200Schema;
|
|
980
|
+
exports.rateLimitsFindQueryResponseSchema = zod_1.z.lazy(() => exports.rateLimitsFind200Schema);
|
|
944
981
|
/**
|
|
945
982
|
* @description Success
|
|
946
983
|
*/
|
|
@@ -977,10 +1014,10 @@ exports.userGet429Schema = zod_1.z.unknown();
|
|
|
977
1014
|
* @description Internal Server Error
|
|
978
1015
|
*/
|
|
979
1016
|
exports.userGet500Schema = zod_1.z.unknown();
|
|
980
|
-
exports.userGetQueryResponseSchema = exports.userGet200Schema;
|
|
1017
|
+
exports.userGetQueryResponseSchema = zod_1.z.lazy(() => exports.userGet200Schema);
|
|
981
1018
|
exports.userGetBillingQueryParamsSchema = zod_1.z
|
|
982
1019
|
.object({
|
|
983
|
-
scope: zod_1.z.string().describe('Query parameter "scope"').optional()
|
|
1020
|
+
scope: zod_1.z.string().describe('Query parameter "scope"').optional()
|
|
984
1021
|
})
|
|
985
1022
|
.optional();
|
|
986
1023
|
/**
|
|
@@ -1019,7 +1056,7 @@ exports.userGetBilling429Schema = zod_1.z.unknown();
|
|
|
1019
1056
|
* @description Internal Server Error
|
|
1020
1057
|
*/
|
|
1021
1058
|
exports.userGetBilling500Schema = zod_1.z.unknown();
|
|
1022
|
-
exports.userGetBillingQueryResponseSchema = exports.userGetBilling200Schema;
|
|
1059
|
+
exports.userGetBillingQueryResponseSchema = zod_1.z.lazy(() => exports.userGetBilling200Schema);
|
|
1023
1060
|
/**
|
|
1024
1061
|
* @description Success
|
|
1025
1062
|
*/
|
|
@@ -1056,7 +1093,7 @@ exports.userGetPlan429Schema = zod_1.z.unknown();
|
|
|
1056
1093
|
* @description Internal Server Error
|
|
1057
1094
|
*/
|
|
1058
1095
|
exports.userGetPlan500Schema = zod_1.z.unknown();
|
|
1059
|
-
exports.userGetPlanQueryResponseSchema = exports.userGetPlan200Schema;
|
|
1096
|
+
exports.userGetPlanQueryResponseSchema = zod_1.z.lazy(() => exports.userGetPlan200Schema);
|
|
1060
1097
|
/**
|
|
1061
1098
|
* @description Success
|
|
1062
1099
|
*/
|
|
@@ -1093,4 +1130,4 @@ exports.userGetScopes429Schema = zod_1.z.unknown();
|
|
|
1093
1130
|
* @description Internal Server Error
|
|
1094
1131
|
*/
|
|
1095
1132
|
exports.userGetScopes500Schema = zod_1.z.unknown();
|
|
1096
|
-
exports.userGetScopesQueryResponseSchema = exports.userGetScopes200Schema;
|
|
1133
|
+
exports.userGetScopesQueryResponseSchema = zod_1.z.lazy(() => exports.userGetScopes200Schema);
|