v0-api 0.2.1 → 0.3.1
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/components-eb0j7zgr.d.ts.map +1 -1
- package/dist/index.cjs +84 -56
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +1336 -4433
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{schemas-ep6eukob.js → schemas-mkhkzrad.js} +313 -329
- package/dist/{schemas-fhi84a1x.cjs → schemas-mph32a3e.cjs} +371 -328
- package/dist/schemas.cjs +60 -1
- package/dist/schemas.d.cts +139 -96
- package/dist/schemas.d.cts.map +1 -1
- package/dist/schemas.d.mts +139 -96
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +146 -199
- package/dist/types.d.cts +1201 -4341
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +1201 -4341
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +123 -145
- package/package.json +8 -9
package/dist/types.mjs
CHANGED
|
@@ -1,37 +1,47 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated by Kubb (https://kubb.dev/).
|
|
3
3
|
* Do not edit manually.
|
|
4
|
-
*/ const
|
|
5
|
-
chat: "chat"
|
|
6
|
-
};
|
|
7
|
-
const chatDetailPrivacyEnum = {
|
|
4
|
+
*/ const chatDetailPrivacyEnum = {
|
|
8
5
|
private: "private",
|
|
9
6
|
public: "public",
|
|
10
7
|
team: "team",
|
|
11
8
|
"team-edit": "team-edit",
|
|
12
9
|
unlisted: "unlisted"
|
|
13
10
|
};
|
|
14
|
-
const chatDetailLatestVersionObjectEnum = {
|
|
15
|
-
version: "version"
|
|
16
|
-
};
|
|
17
11
|
const chatDetailLatestVersionStatusEnum = {
|
|
18
12
|
completed: "completed",
|
|
19
13
|
failed: "failed",
|
|
20
14
|
pending: "pending"
|
|
21
15
|
};
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
const chatDetailMessagesTypeEnum = {
|
|
17
|
+
"added-environment-variables": "added-environment-variables",
|
|
18
|
+
"added-integration": "added-integration",
|
|
19
|
+
"answered-questions": "answered-questions",
|
|
20
|
+
"auto-fix-with-v0": "auto-fix-with-v0",
|
|
21
|
+
"cloned-repo": "cloned-repo",
|
|
22
|
+
"deleted-file": "deleted-file",
|
|
23
|
+
"design-mode": "design-mode",
|
|
24
|
+
"edited-file": "edited-file",
|
|
25
|
+
"fix-cve": "fix-cve",
|
|
26
|
+
"fix-with-v0": "fix-with-v0",
|
|
27
|
+
"forked-block": "forked-block",
|
|
28
|
+
"forked-chat": "forked-chat",
|
|
29
|
+
"manual-commit": "manual-commit",
|
|
30
|
+
message: "message",
|
|
31
|
+
"moved-file": "moved-file",
|
|
32
|
+
"open-in-v0": "open-in-v0",
|
|
33
|
+
"pull-changes": "pull-changes",
|
|
34
|
+
refinement: "refinement",
|
|
35
|
+
"renamed-file": "renamed-file",
|
|
36
|
+
"replace-src": "replace-src",
|
|
37
|
+
"reverted-block": "reverted-block",
|
|
38
|
+
"sync-git": "sync-git"
|
|
29
39
|
};
|
|
30
|
-
const
|
|
40
|
+
const chatDetailMessagesRoleEnum = {
|
|
31
41
|
assistant: "assistant",
|
|
32
42
|
user: "user"
|
|
33
43
|
};
|
|
34
|
-
const
|
|
44
|
+
const chatDetailMessagesFinishReasonEnum = {
|
|
35
45
|
"content-filter": "content-filter",
|
|
36
46
|
error: "error",
|
|
37
47
|
length: "length",
|
|
@@ -39,6 +49,11 @@ const finishReasonEnum = {
|
|
|
39
49
|
stop: "stop",
|
|
40
50
|
"tool-calls": "tool-calls"
|
|
41
51
|
};
|
|
52
|
+
const chatDetailMessagesAttachmentsTypeEnum = {
|
|
53
|
+
figma: "figma",
|
|
54
|
+
screenshot: "screenshot",
|
|
55
|
+
zip: "zip"
|
|
56
|
+
};
|
|
42
57
|
const chatDetailModelConfigurationModelIdEnum = {
|
|
43
58
|
"v0-auto": "v0-auto",
|
|
44
59
|
"v0-max": "v0-max",
|
|
@@ -48,8 +63,14 @@ const chatDetailModelConfigurationModelIdEnum = {
|
|
|
48
63
|
"v0-opus-4.7-fast": "v0-opus-4.7-fast",
|
|
49
64
|
"v0-pro": "v0-pro"
|
|
50
65
|
};
|
|
51
|
-
const
|
|
52
|
-
|
|
66
|
+
const chatDetailModelConfigurationThinkingEffort = {
|
|
67
|
+
none: "none",
|
|
68
|
+
minimal: "minimal",
|
|
69
|
+
low: "low",
|
|
70
|
+
medium: "medium",
|
|
71
|
+
high: "high",
|
|
72
|
+
max: "max",
|
|
73
|
+
xhigh: "xhigh"
|
|
53
74
|
};
|
|
54
75
|
const chatSummaryPrivacyEnum = {
|
|
55
76
|
private: "private",
|
|
@@ -58,38 +79,11 @@ const chatSummaryPrivacyEnum = {
|
|
|
58
79
|
"team-edit": "team-edit",
|
|
59
80
|
unlisted: "unlisted"
|
|
60
81
|
};
|
|
61
|
-
const chatSummaryLatestVersionObjectEnum = {
|
|
62
|
-
version: "version"
|
|
63
|
-
};
|
|
64
82
|
const chatSummaryLatestVersionStatusEnum = {
|
|
65
83
|
completed: "completed",
|
|
66
84
|
failed: "failed",
|
|
67
85
|
pending: "pending"
|
|
68
86
|
};
|
|
69
|
-
const deploymentDetailObjectEnum = {
|
|
70
|
-
deployment: "deployment"
|
|
71
|
-
};
|
|
72
|
-
const deploymentSummaryObjectEnum = {
|
|
73
|
-
deployment: "deployment"
|
|
74
|
-
};
|
|
75
|
-
const environmentVariableDetailSchemaObjectEnum = {
|
|
76
|
-
environment_variable: "environment_variable"
|
|
77
|
-
};
|
|
78
|
-
const environmentVariableSummarySchemaObjectEnum = {
|
|
79
|
-
environment_variable: "environment_variable"
|
|
80
|
-
};
|
|
81
|
-
const environmentVariablesListSchemaObjectEnum = {
|
|
82
|
-
list: "list"
|
|
83
|
-
};
|
|
84
|
-
const fileDetailObjectEnum = {
|
|
85
|
-
file: "file"
|
|
86
|
-
};
|
|
87
|
-
const fileSummaryObjectEnum = {
|
|
88
|
-
file: "file"
|
|
89
|
-
};
|
|
90
|
-
const hookDetailObjectEnum = {
|
|
91
|
-
hook: "hook"
|
|
92
|
-
};
|
|
93
87
|
const hookDetailEventsEnum = {
|
|
94
88
|
"chat.created": "chat.created",
|
|
95
89
|
"chat.deleted": "chat.deleted",
|
|
@@ -99,9 +93,6 @@ const hookDetailEventsEnum = {
|
|
|
99
93
|
"message.finished": "message.finished",
|
|
100
94
|
"message.updated": "message.updated"
|
|
101
95
|
};
|
|
102
|
-
const hookEventDetailObjectEnum = {
|
|
103
|
-
hook_event: "hook_event"
|
|
104
|
-
};
|
|
105
96
|
const hookEventDetailEventEnum = {
|
|
106
97
|
"chat.created": "chat.created",
|
|
107
98
|
"chat.deleted": "chat.deleted",
|
|
@@ -116,36 +107,6 @@ const hookEventDetailStatusEnum = {
|
|
|
116
107
|
pending: "pending",
|
|
117
108
|
success: "success"
|
|
118
109
|
};
|
|
119
|
-
const hookSummaryObjectEnum = {
|
|
120
|
-
hook: "hook"
|
|
121
|
-
};
|
|
122
|
-
const integrationConnectionDetailSchemaObjectEnum = {
|
|
123
|
-
integration_connection: "integration_connection"
|
|
124
|
-
};
|
|
125
|
-
const integrationConnectionDetailSchemaIntegrationObjectEnum = {
|
|
126
|
-
integration: "integration"
|
|
127
|
-
};
|
|
128
|
-
const integrationConnectionListSchemaObjectEnum = {
|
|
129
|
-
list: "list"
|
|
130
|
-
};
|
|
131
|
-
const integrationConnectionSummarySchemaObjectEnum = {
|
|
132
|
-
integration_connection: "integration_connection"
|
|
133
|
-
};
|
|
134
|
-
const integrationConnectionSummarySchemaIntegrationObjectEnum = {
|
|
135
|
-
integration: "integration"
|
|
136
|
-
};
|
|
137
|
-
const integrationDetailSchemaObjectEnum = {
|
|
138
|
-
integration: "integration"
|
|
139
|
-
};
|
|
140
|
-
const integrationListSchemaObjectEnum = {
|
|
141
|
-
list: "list"
|
|
142
|
-
};
|
|
143
|
-
const integrationSummarySchemaObjectEnum = {
|
|
144
|
-
integration: "integration"
|
|
145
|
-
};
|
|
146
|
-
const messageDetailObjectEnum = {
|
|
147
|
-
message: "message"
|
|
148
|
-
};
|
|
149
110
|
const messageDetailTypeEnum = {
|
|
150
111
|
"added-environment-variables": "added-environment-variables",
|
|
151
112
|
"added-integration": "added-integration",
|
|
@@ -182,8 +143,10 @@ const messageDetailFinishReasonEnum = {
|
|
|
182
143
|
stop: "stop",
|
|
183
144
|
"tool-calls": "tool-calls"
|
|
184
145
|
};
|
|
185
|
-
const
|
|
186
|
-
|
|
146
|
+
const messageDetailAttachmentsTypeEnum = {
|
|
147
|
+
figma: "figma",
|
|
148
|
+
screenshot: "screenshot",
|
|
149
|
+
zip: "zip"
|
|
187
150
|
};
|
|
188
151
|
const messageSummaryTypeEnum = {
|
|
189
152
|
"added-environment-variables": "added-environment-variables",
|
|
@@ -221,123 +184,138 @@ const messageSummaryFinishReasonEnum = {
|
|
|
221
184
|
stop: "stop",
|
|
222
185
|
"tool-calls": "tool-calls"
|
|
223
186
|
};
|
|
224
|
-
const
|
|
225
|
-
|
|
187
|
+
const messageSummaryAttachmentsTypeEnum = {
|
|
188
|
+
figma: "figma",
|
|
189
|
+
screenshot: "screenshot",
|
|
190
|
+
zip: "zip"
|
|
226
191
|
};
|
|
227
|
-
const
|
|
228
|
-
|
|
192
|
+
const messageSummaryListDataTypeEnum = {
|
|
193
|
+
"added-environment-variables": "added-environment-variables",
|
|
194
|
+
"added-integration": "added-integration",
|
|
195
|
+
"answered-questions": "answered-questions",
|
|
196
|
+
"auto-fix-with-v0": "auto-fix-with-v0",
|
|
197
|
+
"cloned-repo": "cloned-repo",
|
|
198
|
+
"deleted-file": "deleted-file",
|
|
199
|
+
"design-mode": "design-mode",
|
|
200
|
+
"edited-file": "edited-file",
|
|
201
|
+
"fix-cve": "fix-cve",
|
|
202
|
+
"fix-with-v0": "fix-with-v0",
|
|
203
|
+
"forked-block": "forked-block",
|
|
204
|
+
"forked-chat": "forked-chat",
|
|
205
|
+
"manual-commit": "manual-commit",
|
|
206
|
+
message: "message",
|
|
207
|
+
"moved-file": "moved-file",
|
|
208
|
+
"open-in-v0": "open-in-v0",
|
|
209
|
+
"pull-changes": "pull-changes",
|
|
210
|
+
refinement: "refinement",
|
|
211
|
+
"renamed-file": "renamed-file",
|
|
212
|
+
"replace-src": "replace-src",
|
|
213
|
+
"reverted-block": "reverted-block",
|
|
214
|
+
"sync-git": "sync-git"
|
|
215
|
+
};
|
|
216
|
+
const messageSummaryListDataRoleEnum = {
|
|
217
|
+
assistant: "assistant",
|
|
218
|
+
user: "user"
|
|
219
|
+
};
|
|
220
|
+
const messageSummaryListDataFinishReasonEnum = {
|
|
221
|
+
"content-filter": "content-filter",
|
|
222
|
+
error: "error",
|
|
223
|
+
length: "length",
|
|
224
|
+
other: "other",
|
|
225
|
+
stop: "stop",
|
|
226
|
+
"tool-calls": "tool-calls"
|
|
227
|
+
};
|
|
228
|
+
const messageSummaryListDataAttachmentsTypeEnum = {
|
|
229
|
+
figma: "figma",
|
|
230
|
+
screenshot: "screenshot",
|
|
231
|
+
zip: "zip"
|
|
229
232
|
};
|
|
230
233
|
const productDetailSchemaV0AvailabilityEnum = {
|
|
231
234
|
"in-review": "in-review",
|
|
232
235
|
published: "published"
|
|
233
236
|
};
|
|
234
|
-
const
|
|
235
|
-
list: "list"
|
|
236
|
-
};
|
|
237
|
-
const V0AvailabilityEnum = {
|
|
237
|
+
const productListSchemaDataV0AvailabilityEnum = {
|
|
238
238
|
"in-review": "in-review",
|
|
239
239
|
published: "published"
|
|
240
240
|
};
|
|
241
|
-
const productSummarySchemaObjectEnum = {
|
|
242
|
-
product: "product"
|
|
243
|
-
};
|
|
244
241
|
const productSummarySchemaV0AvailabilityEnum = {
|
|
245
242
|
"in-review": "in-review",
|
|
246
243
|
published: "published"
|
|
247
244
|
};
|
|
248
|
-
const projectDetailObjectEnum = {
|
|
249
|
-
project: "project"
|
|
250
|
-
};
|
|
251
245
|
const projectDetailPrivacyEnum = {
|
|
252
246
|
private: "private",
|
|
253
247
|
team: "team"
|
|
254
248
|
};
|
|
255
|
-
const
|
|
249
|
+
const projectDetailChatsPrivacyEnum = {
|
|
256
250
|
private: "private",
|
|
257
251
|
public: "public",
|
|
258
252
|
team: "team",
|
|
259
253
|
"team-edit": "team-edit",
|
|
260
254
|
unlisted: "unlisted"
|
|
261
255
|
};
|
|
262
|
-
const
|
|
256
|
+
const projectDetailChatsLatestVersionStatusEnum = {
|
|
263
257
|
completed: "completed",
|
|
264
258
|
failed: "failed",
|
|
265
259
|
pending: "pending"
|
|
266
260
|
};
|
|
267
|
-
const projectSummaryObjectEnum = {
|
|
268
|
-
project: "project"
|
|
269
|
-
};
|
|
270
261
|
const projectSummaryPrivacyEnum = {
|
|
271
262
|
private: "private",
|
|
272
263
|
team: "team"
|
|
273
264
|
};
|
|
274
|
-
const scopeSummaryObjectEnum = {
|
|
275
|
-
scope: "scope"
|
|
276
|
-
};
|
|
277
265
|
const searchResultItemObjectEnum = {
|
|
278
266
|
chat: "chat",
|
|
279
267
|
project: "project"
|
|
280
268
|
};
|
|
281
|
-
const userDetailSchemaObjectEnum = {
|
|
282
|
-
user: "user"
|
|
283
|
-
};
|
|
284
|
-
const userPreferencesPostResponseSchemaObjectEnum = {
|
|
285
|
-
user_preferences: "user_preferences"
|
|
286
|
-
};
|
|
287
|
-
const userPreferencesResponseSchemaObjectEnum = {
|
|
288
|
-
user_preferences: "user_preferences"
|
|
289
|
-
};
|
|
290
|
-
const userSummarySchemaObjectEnum = {
|
|
291
|
-
user: "user"
|
|
292
|
-
};
|
|
293
|
-
const vercelProjectDetailObjectEnum = {
|
|
294
|
-
vercel_project: "vercel_project"
|
|
295
|
-
};
|
|
296
|
-
const vercelProjectSummaryObjectEnum = {
|
|
297
|
-
vercel_project: "vercel_project"
|
|
298
|
-
};
|
|
299
|
-
const versionDetailObjectEnum = {
|
|
300
|
-
version: "version"
|
|
301
|
-
};
|
|
302
269
|
const versionDetailStatusEnum = {
|
|
303
270
|
completed: "completed",
|
|
304
271
|
failed: "failed",
|
|
305
272
|
pending: "pending"
|
|
306
273
|
};
|
|
307
|
-
const versionSummaryObjectEnum = {
|
|
308
|
-
version: "version"
|
|
309
|
-
};
|
|
310
274
|
const versionSummaryStatusEnum = {
|
|
311
275
|
completed: "completed",
|
|
312
276
|
failed: "failed",
|
|
313
277
|
pending: "pending"
|
|
314
278
|
};
|
|
315
|
-
const
|
|
316
|
-
|
|
279
|
+
const versionSummaryListDataStatusEnum = {
|
|
280
|
+
completed: "completed",
|
|
281
|
+
failed: "failed",
|
|
282
|
+
pending: "pending"
|
|
283
|
+
};
|
|
284
|
+
const chatsFindIsFavorite = {
|
|
285
|
+
true: "true",
|
|
286
|
+
false: "false"
|
|
317
287
|
};
|
|
318
|
-
const
|
|
319
|
-
|
|
288
|
+
const chatsGetVersionIncludeDefaultFiles = {
|
|
289
|
+
true: "true",
|
|
290
|
+
false: "false"
|
|
320
291
|
};
|
|
321
|
-
const
|
|
322
|
-
|
|
292
|
+
const chatsDownloadVersionFormat = {
|
|
293
|
+
zip: "zip",
|
|
294
|
+
tarball: "tarball"
|
|
323
295
|
};
|
|
324
|
-
const
|
|
325
|
-
|
|
296
|
+
const chatsDownloadVersionIncludeDefaultFiles = {
|
|
297
|
+
true: "true",
|
|
298
|
+
false: "false"
|
|
326
299
|
};
|
|
327
|
-
const
|
|
328
|
-
|
|
300
|
+
const projectsDeleteDeleteAllChats = {
|
|
301
|
+
true: "true",
|
|
302
|
+
false: "false"
|
|
329
303
|
};
|
|
330
|
-
const
|
|
331
|
-
|
|
304
|
+
const projectsFindEnvVarsDecrypted = {
|
|
305
|
+
true: "true",
|
|
306
|
+
false: "false"
|
|
332
307
|
};
|
|
333
|
-
const
|
|
334
|
-
|
|
308
|
+
const projectsCreateEnvVarsDecrypted = {
|
|
309
|
+
true: "true",
|
|
310
|
+
false: "false"
|
|
335
311
|
};
|
|
336
|
-
const
|
|
337
|
-
|
|
312
|
+
const projectsUpdateEnvVarsDecrypted = {
|
|
313
|
+
true: "true",
|
|
314
|
+
false: "false"
|
|
338
315
|
};
|
|
339
|
-
const
|
|
340
|
-
|
|
316
|
+
const projectsGetEnvVarDecrypted = {
|
|
317
|
+
true: "true",
|
|
318
|
+
false: "false"
|
|
341
319
|
};
|
|
342
320
|
|
|
343
|
-
export {
|
|
321
|
+
export { chatDetailLatestVersionStatusEnum, chatDetailMessagesAttachmentsTypeEnum, chatDetailMessagesFinishReasonEnum, chatDetailMessagesRoleEnum, chatDetailMessagesTypeEnum, chatDetailModelConfigurationModelIdEnum, chatDetailModelConfigurationThinkingEffort, chatDetailPrivacyEnum, chatSummaryLatestVersionStatusEnum, chatSummaryPrivacyEnum, chatsDownloadVersionFormat, chatsDownloadVersionIncludeDefaultFiles, chatsFindIsFavorite, chatsGetVersionIncludeDefaultFiles, hookDetailEventsEnum, hookEventDetailEventEnum, hookEventDetailStatusEnum, messageDetailAttachmentsTypeEnum, messageDetailFinishReasonEnum, messageDetailRoleEnum, messageDetailTypeEnum, messageSummaryAttachmentsTypeEnum, messageSummaryFinishReasonEnum, messageSummaryListDataAttachmentsTypeEnum, messageSummaryListDataFinishReasonEnum, messageSummaryListDataRoleEnum, messageSummaryListDataTypeEnum, messageSummaryRoleEnum, messageSummaryTypeEnum, productDetailSchemaV0AvailabilityEnum, productListSchemaDataV0AvailabilityEnum, productSummarySchemaV0AvailabilityEnum, projectDetailChatsLatestVersionStatusEnum, projectDetailChatsPrivacyEnum, projectDetailPrivacyEnum, projectSummaryPrivacyEnum, projectsCreateEnvVarsDecrypted, projectsDeleteDeleteAllChats, projectsFindEnvVarsDecrypted, projectsGetEnvVarDecrypted, projectsUpdateEnvVarsDecrypted, searchResultItemObjectEnum, versionDetailStatusEnum, versionSummaryListDataStatusEnum, versionSummaryStatusEnum };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "v0-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Vercel v0 auto-generated type-safe API client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "SferaDev",
|
|
@@ -14,19 +14,18 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/SferaDev/SferaDev#readme",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"@sferadev/openapi-utils": "0.0.1",
|
|
18
|
+
"zod": "4.6.5"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"kubb": "5.3.19",
|
|
22
|
+
"@sferadev/tsconfig": "0.0.0",
|
|
23
23
|
"openapi3-ts": "4.6.1",
|
|
24
|
-
"@types/node": "26.
|
|
24
|
+
"@types/node": "26.6.3",
|
|
25
25
|
"bunchee": "7.0.1",
|
|
26
|
-
"effect": "3.22.
|
|
26
|
+
"effect": "3.22.2",
|
|
27
27
|
"rimraf": "6.1.3",
|
|
28
|
-
"typescript": "
|
|
29
|
-
"@sferadev/tsconfig": "0.0.0"
|
|
28
|
+
"typescript": "7.0.2"
|
|
30
29
|
},
|
|
31
30
|
"peerDependencies": {
|
|
32
31
|
"effect": "^3.0.0"
|