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.
- package/LICENSE +15 -0
- package/README.md +13 -3
- package/dist/{components-eb0j7zgr.d.ts → components-lojiycjm.d.ts} +165 -284
- package/dist/components-lojiycjm.d.ts.map +1 -0
- package/dist/components-mcjsnuad.d.ts +894 -0
- package/dist/components-mcjsnuad.d.ts.map +1 -0
- package/dist/components.cjs +1567 -63
- package/dist/components.d.cts +1 -1
- package/dist/components.d.mts +1 -1
- package/dist/components.mjs +1509 -1
- package/dist/effect.cjs +131 -24
- package/dist/effect.d.cts +75 -5
- package/dist/effect.d.cts.map +1 -1
- package/dist/effect.d.mts +75 -5
- package/dist/effect.d.mts.map +1 -1
- package/dist/effect.mjs +125 -4
- package/dist/index.cjs +139 -23
- package/dist/index.d.cts +13 -8
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +13 -8
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +21676 -7155
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +30 -25
- package/dist/{schemas-i6n5csd3.cjs → schemas-eef01xgn.cjs} +2182 -768
- package/dist/schemas-kunw251r.js +3825 -0
- package/dist/schemas.cjs +78 -1
- package/dist/schemas.d.cts +13169 -788
- package/dist/schemas.d.cts.map +1 -1
- package/dist/schemas.d.mts +13169 -788
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +249 -10
- package/dist/types.d.cts +2943 -686
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +2943 -686
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +215 -10
- package/package.json +18 -15
- package/dist/components-da0zh5te.cjs +0 -1497
- package/dist/components-eb0j7zgr.d.ts.map +0 -1
- package/dist/components-ja14lgg1.js +0 -1435
- package/dist/schemas-o0oxolpj.js +0 -2488
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
var z__namespace = /*#__PURE__*/_interopNamespace(z);
|
|
22
22
|
|
|
23
23
|
// @ts-nocheck
|
|
24
|
-
const chatDetailSchema = z__namespace.
|
|
24
|
+
const chatDetailSchema = z__namespace.strictObject({
|
|
25
25
|
id: z__namespace.string().describe("A unique identifier for the chat."),
|
|
26
26
|
object: z__namespace.enum([
|
|
27
27
|
"chat"
|
|
@@ -36,7 +36,9 @@ const chatDetailSchema = z__namespace.object({
|
|
|
36
36
|
]).describe("Defines the visibility of the chat—private, team-only, or public."),
|
|
37
37
|
name: z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
|
|
38
38
|
title: z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
|
|
39
|
-
createdAt: z__namespace.iso.datetime(
|
|
39
|
+
createdAt: z__namespace.iso.datetime({
|
|
40
|
+
offset: true
|
|
41
|
+
}).describe("The ISO timestamp representing when the chat was created."),
|
|
40
42
|
updatedAt: z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
|
|
41
43
|
favorite: z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
|
|
42
44
|
authorId: z__namespace.string().describe("The ID of the user who created the chat."),
|
|
@@ -44,7 +46,7 @@ const chatDetailSchema = z__namespace.object({
|
|
|
44
46
|
vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
|
|
45
47
|
webUrl: z__namespace.string().describe("Web URL to view this chat in the browser."),
|
|
46
48
|
apiUrl: z__namespace.string().describe("API URL to access this chat via the API."),
|
|
47
|
-
latestVersion: z__namespace.
|
|
49
|
+
latestVersion: z__namespace.strictObject({
|
|
48
50
|
id: z__namespace.string().describe("A unique identifier for the version."),
|
|
49
51
|
object: z__namespace.enum([
|
|
50
52
|
"version"
|
|
@@ -56,33 +58,37 @@ const chatDetailSchema = z__namespace.object({
|
|
|
56
58
|
]).describe("The current status of the version generation process."),
|
|
57
59
|
demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
|
|
58
60
|
screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
|
|
59
|
-
createdAt: z__namespace.iso.datetime(
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
createdAt: z__namespace.iso.datetime({
|
|
62
|
+
offset: true
|
|
63
|
+
}).describe("The date and time when the version was created, in ISO 8601 format."),
|
|
64
|
+
updatedAt: z__namespace.iso.datetime({
|
|
65
|
+
offset: true
|
|
66
|
+
}).optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
|
|
67
|
+
files: z__namespace.array(z__namespace.strictObject({
|
|
62
68
|
object: z__namespace.enum([
|
|
63
69
|
"file"
|
|
64
70
|
]).describe("Fixed value identifying this object as a file."),
|
|
65
71
|
name: z__namespace.string().describe("The name of the file, including its extension."),
|
|
66
72
|
content: z__namespace.string().describe("The full contents of the file as a raw string."),
|
|
67
73
|
locked: z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
|
|
68
|
-
})
|
|
69
|
-
}).
|
|
70
|
-
metadata: z__namespace.
|
|
74
|
+
})).describe("A list of files that were generated or included in this version.")
|
|
75
|
+
}).optional().describe("Full details of the most recent generated version, if available."),
|
|
76
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.string()).describe("Arbitrary key-value data associated with this chat."),
|
|
71
77
|
url: z__namespace.string().describe("The canonical URL to access this chat."),
|
|
72
|
-
messages: z__namespace.array(z__namespace.
|
|
78
|
+
messages: z__namespace.array(z__namespace.strictObject({
|
|
73
79
|
id: z__namespace.string().describe("A unique identifier for the message."),
|
|
74
80
|
object: z__namespace.enum([
|
|
75
81
|
"message"
|
|
76
82
|
]).describe("Fixed value identifying this object as a message."),
|
|
77
83
|
content: z__namespace.string().describe("The main text content of the message."),
|
|
78
|
-
|
|
84
|
+
experimental_content: z__namespace.array(z__namespace.union([
|
|
79
85
|
z__namespace.tuple([
|
|
80
86
|
z__namespace.literal(0),
|
|
81
|
-
z__namespace.array(z__namespace.
|
|
87
|
+
z__namespace.array(z__namespace.unknown())
|
|
82
88
|
]),
|
|
83
89
|
z__namespace.tuple([
|
|
84
90
|
z__namespace.literal(1),
|
|
85
|
-
z__namespace.
|
|
91
|
+
z__namespace.strictObject({
|
|
86
92
|
toJSONSchema: z__namespace.string(),
|
|
87
93
|
def: z__namespace.string(),
|
|
88
94
|
type: z__namespace.string(),
|
|
@@ -139,11 +145,13 @@ const chatDetailSchema = z__namespace.object({
|
|
|
139
145
|
omit: z__namespace.string(),
|
|
140
146
|
partial: z__namespace.string(),
|
|
141
147
|
required: z__namespace.string()
|
|
142
|
-
})
|
|
148
|
+
})
|
|
143
149
|
])
|
|
144
150
|
])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
|
|
145
151
|
createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
|
|
146
|
-
updatedAt: z__namespace.iso.datetime(
|
|
152
|
+
updatedAt: z__namespace.iso.datetime({
|
|
153
|
+
offset: true
|
|
154
|
+
}).optional().describe("The ISO timestamp representing when the message was last updated."),
|
|
147
155
|
type: z__namespace.enum([
|
|
148
156
|
"added-environment-variables",
|
|
149
157
|
"added-integration",
|
|
@@ -183,7 +191,7 @@ const chatDetailSchema = z__namespace.object({
|
|
|
183
191
|
apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
|
|
184
192
|
authorId: z__namespace.string().nullable().describe("The ID of the user who sent the message."),
|
|
185
193
|
parentId: z__namespace.string().nullish().describe("The ID of the parent message."),
|
|
186
|
-
attachments: z__namespace.array(z__namespace.
|
|
194
|
+
attachments: z__namespace.array(z__namespace.strictObject({
|
|
187
195
|
url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
|
|
188
196
|
name: z__namespace.string().optional().describe("The original filename of the attachment."),
|
|
189
197
|
contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
|
|
@@ -194,25 +202,17 @@ const chatDetailSchema = z__namespace.object({
|
|
|
194
202
|
"screenshot",
|
|
195
203
|
"zip"
|
|
196
204
|
]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
|
|
197
|
-
})
|
|
198
|
-
})
|
|
199
|
-
files: z__namespace.array(z__namespace.
|
|
205
|
+
})).optional()
|
|
206
|
+
})).describe("All messages exchanged in the chat, including user and assistant entries."),
|
|
207
|
+
files: z__namespace.array(z__namespace.strictObject({
|
|
200
208
|
lang: z__namespace.string().describe("Programming language used in the file (e.g., JavaScript, Python)."),
|
|
201
|
-
meta: z__namespace.
|
|
209
|
+
meta: z__namespace.record(z__namespace.string(), z__namespace.string()).describe("A key-value map of metadata associated with the file (e.g., path, type)."),
|
|
202
210
|
source: z__namespace.string().describe("The origin or identifier of the file source (e.g., path or upload label).")
|
|
203
|
-
})
|
|
211
|
+
})).optional().describe("Optional array of files associated with the chat context."),
|
|
204
212
|
demo: z__namespace.string().optional().describe("Deprecated demo URL used for previewing the chat result."),
|
|
205
213
|
text: z__namespace.string().describe("The main user prompt or instruction that started the chat."),
|
|
206
|
-
modelConfiguration: z__namespace.
|
|
207
|
-
modelId: z__namespace.
|
|
208
|
-
"v0-auto",
|
|
209
|
-
"v0-max",
|
|
210
|
-
"v0-max-fast",
|
|
211
|
-
"v0-mini",
|
|
212
|
-
"v0-opus-4.7",
|
|
213
|
-
"v0-opus-4.7-fast",
|
|
214
|
-
"v0-pro"
|
|
215
|
-
]).optional().default("v0-pro").describe("Model to use for the generation. `v0-auto` is deprecated and falls back to `v0-pro`."),
|
|
214
|
+
modelConfiguration: z__namespace.strictObject({
|
|
215
|
+
modelId: z__namespace.string().min(3).max(200).regex(/^[a-z0-9][a-z0-9._-]*\/[a-z0-9][a-z0-9._/-]*$/).optional().default("v0-pro").describe("Model to use for the generation. `v0-auto` is deprecated and falls back to `v0-pro`."),
|
|
216
216
|
imageGenerations: z__namespace.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
|
|
217
217
|
thinking: z__namespace.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps."),
|
|
218
218
|
thinkingEffort: z__namespace.union([
|
|
@@ -228,12 +228,12 @@ const chatDetailSchema = z__namespace.object({
|
|
|
228
228
|
z__namespace.null()
|
|
229
229
|
]).optional(),
|
|
230
230
|
fast: z__namespace.boolean().optional()
|
|
231
|
-
}).
|
|
232
|
-
permissions: z__namespace.
|
|
231
|
+
}).optional().describe("The configuration used to generate responses in this chat."),
|
|
232
|
+
permissions: z__namespace.strictObject({
|
|
233
233
|
write: z__namespace.boolean().describe("If true, the user has write access to the chat.")
|
|
234
|
-
})
|
|
235
|
-
}).
|
|
236
|
-
const chatSummarySchema = z__namespace.
|
|
234
|
+
})
|
|
235
|
+
}).describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
236
|
+
const chatSummarySchema = z__namespace.strictObject({
|
|
237
237
|
id: z__namespace.string().describe("A unique identifier for the chat."),
|
|
238
238
|
object: z__namespace.enum([
|
|
239
239
|
"chat"
|
|
@@ -248,7 +248,9 @@ const chatSummarySchema = z__namespace.object({
|
|
|
248
248
|
]).describe("Defines the visibility of the chat—private, team-only, or public."),
|
|
249
249
|
name: z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
|
|
250
250
|
title: z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
|
|
251
|
-
createdAt: z__namespace.iso.datetime(
|
|
251
|
+
createdAt: z__namespace.iso.datetime({
|
|
252
|
+
offset: true
|
|
253
|
+
}).describe("The ISO timestamp representing when the chat was created."),
|
|
252
254
|
updatedAt: z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
|
|
253
255
|
favorite: z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
|
|
254
256
|
authorId: z__namespace.string().describe("The ID of the user who created the chat."),
|
|
@@ -256,7 +258,7 @@ const chatSummarySchema = z__namespace.object({
|
|
|
256
258
|
vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
|
|
257
259
|
webUrl: z__namespace.string().describe("Web URL to view this chat in the browser."),
|
|
258
260
|
apiUrl: z__namespace.string().describe("API URL to access this chat via the API."),
|
|
259
|
-
latestVersion: z__namespace.
|
|
261
|
+
latestVersion: z__namespace.strictObject({
|
|
260
262
|
id: z__namespace.string().describe("A unique identifier for the version."),
|
|
261
263
|
object: z__namespace.enum([
|
|
262
264
|
"version"
|
|
@@ -268,12 +270,16 @@ const chatSummarySchema = z__namespace.object({
|
|
|
268
270
|
]).describe("The current status of the version generation process."),
|
|
269
271
|
demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
|
|
270
272
|
screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
|
|
271
|
-
createdAt: z__namespace.iso.datetime(
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
273
|
+
createdAt: z__namespace.iso.datetime({
|
|
274
|
+
offset: true
|
|
275
|
+
}).describe("The date and time when the version was created, in ISO 8601 format."),
|
|
276
|
+
updatedAt: z__namespace.iso.datetime({
|
|
277
|
+
offset: true
|
|
278
|
+
}).optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
|
|
279
|
+
}).optional().describe("The most recent generated version of the chat, if available."),
|
|
280
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.string()).describe("Arbitrary key-value data associated with this chat.")
|
|
281
|
+
}).describe("Summary of a chat, including metadata like privacy, author, latest version, and URLs.");
|
|
282
|
+
const deploymentDetailSchema = z__namespace.strictObject({
|
|
277
283
|
id: z__namespace.string().describe("A unique identifier for the deployment."),
|
|
278
284
|
object: z__namespace.enum([
|
|
279
285
|
"deployment"
|
|
@@ -284,8 +290,8 @@ const deploymentDetailSchema = z__namespace.object({
|
|
|
284
290
|
versionId: z__namespace.string().describe("The ID of the version that this deployment is scoped to."),
|
|
285
291
|
apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this deployment programmatically."),
|
|
286
292
|
webUrl: z__namespace.url().describe("The web URL where the deployment can be viewed or managed.")
|
|
287
|
-
})
|
|
288
|
-
const deploymentSummarySchema = z__namespace.
|
|
293
|
+
});
|
|
294
|
+
const deploymentSummarySchema = z__namespace.strictObject({
|
|
289
295
|
id: z__namespace.string().describe("A unique identifier for the deployment."),
|
|
290
296
|
object: z__namespace.enum([
|
|
291
297
|
"deployment"
|
|
@@ -296,8 +302,8 @@ const deploymentSummarySchema = z__namespace.object({
|
|
|
296
302
|
versionId: z__namespace.string().describe("The ID of the version that this deployment is scoped to."),
|
|
297
303
|
apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this deployment programmatically."),
|
|
298
304
|
webUrl: z__namespace.url().describe("The web URL where the deployment can be viewed or managed.")
|
|
299
|
-
})
|
|
300
|
-
const environmentVariableDetailSchemaSchema = z__namespace.
|
|
305
|
+
});
|
|
306
|
+
const environmentVariableDetailSchemaSchema = z__namespace.strictObject({
|
|
301
307
|
id: z__namespace.string().describe("A unique identifier for the environment variable."),
|
|
302
308
|
object: z__namespace.enum([
|
|
303
309
|
"environment_variable"
|
|
@@ -307,8 +313,8 @@ const environmentVariableDetailSchemaSchema = z__namespace.object({
|
|
|
307
313
|
decrypted: z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
|
|
308
314
|
createdAt: z__namespace.number().describe("The timestamp when the environment variable was created."),
|
|
309
315
|
updatedAt: z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
|
|
310
|
-
}).
|
|
311
|
-
const environmentVariableSummarySchemaSchema = z__namespace.
|
|
316
|
+
}).describe("Detailed information for an environment variable including its value.");
|
|
317
|
+
const environmentVariableSummarySchemaSchema = z__namespace.strictObject({
|
|
312
318
|
id: z__namespace.string().describe("A unique identifier for the environment variable."),
|
|
313
319
|
object: z__namespace.enum([
|
|
314
320
|
"environment_variable"
|
|
@@ -318,12 +324,12 @@ const environmentVariableSummarySchemaSchema = z__namespace.object({
|
|
|
318
324
|
decrypted: z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
|
|
319
325
|
createdAt: z__namespace.number().describe("The timestamp when the environment variable was created."),
|
|
320
326
|
updatedAt: z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
|
|
321
|
-
}).
|
|
322
|
-
const environmentVariablesListSchemaSchema = z__namespace.
|
|
327
|
+
}).describe("Summary information for an environment variable.");
|
|
328
|
+
const environmentVariablesListSchemaSchema = z__namespace.strictObject({
|
|
323
329
|
object: z__namespace.enum([
|
|
324
330
|
"list"
|
|
325
331
|
]).describe("Fixed value identifying this as a list response."),
|
|
326
|
-
data: z__namespace.array(z__namespace.
|
|
332
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
327
333
|
id: z__namespace.string().describe("A unique identifier for the environment variable."),
|
|
328
334
|
object: z__namespace.enum([
|
|
329
335
|
"environment_variable"
|
|
@@ -333,23 +339,23 @@ const environmentVariablesListSchemaSchema = z__namespace.object({
|
|
|
333
339
|
decrypted: z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
|
|
334
340
|
createdAt: z__namespace.number().describe("The timestamp when the environment variable was created."),
|
|
335
341
|
updatedAt: z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
|
|
336
|
-
})
|
|
337
|
-
}).
|
|
338
|
-
const fileDetailSchema = z__namespace.
|
|
342
|
+
})).describe("Array of environment variable details.")
|
|
343
|
+
}).describe("List response containing environment variables.");
|
|
344
|
+
const fileDetailSchema = z__namespace.strictObject({
|
|
339
345
|
object: z__namespace.enum([
|
|
340
346
|
"file"
|
|
341
347
|
]).describe("Fixed value identifying this object as a file."),
|
|
342
348
|
name: z__namespace.string().describe("The name of the file, including its extension."),
|
|
343
349
|
content: z__namespace.string().describe("The full contents of the file as a raw string."),
|
|
344
350
|
locked: z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
|
|
345
|
-
}).
|
|
346
|
-
const fileSummarySchema = z__namespace.
|
|
351
|
+
}).describe("Detailed representation of a file, including its content and lock status.");
|
|
352
|
+
const fileSummarySchema = z__namespace.strictObject({
|
|
347
353
|
object: z__namespace.enum([
|
|
348
354
|
"file"
|
|
349
355
|
]).describe("Fixed value identifying this object as a file."),
|
|
350
356
|
name: z__namespace.string().describe("The name of the file, including its extension.")
|
|
351
|
-
}).
|
|
352
|
-
const hookDetailSchema = z__namespace.
|
|
357
|
+
}).describe("Basic metadata about a file, such as its type and name.");
|
|
358
|
+
const hookDetailSchema = z__namespace.strictObject({
|
|
353
359
|
id: z__namespace.string().describe("A unique identifier for the webhook."),
|
|
354
360
|
object: z__namespace.enum([
|
|
355
361
|
"hook"
|
|
@@ -366,8 +372,8 @@ const hookDetailSchema = z__namespace.object({
|
|
|
366
372
|
])).describe("List of event types this webhook is subscribed to."),
|
|
367
373
|
chatId: z__namespace.string().optional().describe("Optional ID of the chat that this webhook is scoped to."),
|
|
368
374
|
url: z__namespace.string().describe("Target URL that receives event payloads for this webhook.")
|
|
369
|
-
}).
|
|
370
|
-
const hookEventDetailSchema = z__namespace.
|
|
375
|
+
}).describe("Full configuration details for a webhook, including its scope and subscription.");
|
|
376
|
+
const hookEventDetailSchema = z__namespace.strictObject({
|
|
371
377
|
id: z__namespace.string().describe("A unique identifier for the webhook event log entry."),
|
|
372
378
|
object: z__namespace.enum([
|
|
373
379
|
"hook_event"
|
|
@@ -386,67 +392,69 @@ const hookEventDetailSchema = z__namespace.object({
|
|
|
386
392
|
"pending",
|
|
387
393
|
"success"
|
|
388
394
|
]).optional().default("pending").describe("The delivery status of the webhook (e.g., delivered, failed)."),
|
|
389
|
-
createdAt: z__namespace.iso.datetime(
|
|
390
|
-
|
|
391
|
-
|
|
395
|
+
createdAt: z__namespace.iso.datetime({
|
|
396
|
+
offset: true
|
|
397
|
+
}).describe("Timestamp of when the webhook event was triggered.")
|
|
398
|
+
}).describe("Detailed record of a webhook event, including its type, status, and timestamp.");
|
|
399
|
+
const hookSummarySchema = z__namespace.strictObject({
|
|
392
400
|
id: z__namespace.string().describe("A unique identifier for the webhook."),
|
|
393
401
|
object: z__namespace.enum([
|
|
394
402
|
"hook"
|
|
395
403
|
]).describe("Fixed value identifying this object as a webhook."),
|
|
396
404
|
name: z__namespace.string().describe("A user-defined name to label the webhook.")
|
|
397
|
-
}).
|
|
398
|
-
const integrationConnectionDetailSchemaSchema = z__namespace.
|
|
405
|
+
}).describe("Summary of a webhook, including its ID and display name.");
|
|
406
|
+
const integrationConnectionDetailSchemaSchema = z__namespace.strictObject({
|
|
399
407
|
object: z__namespace.enum([
|
|
400
408
|
"integration_connection"
|
|
401
409
|
]).describe("The object type."),
|
|
402
410
|
id: z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
|
|
403
411
|
connected: z__namespace.boolean().describe("Whether the integration is connected to the project."),
|
|
404
|
-
integration: z__namespace.
|
|
412
|
+
integration: z__namespace.strictObject({
|
|
405
413
|
id: z__namespace.string().describe("The ID of the integration."),
|
|
406
414
|
object: z__namespace.enum([
|
|
407
415
|
"integration"
|
|
408
416
|
]).describe("The object type."),
|
|
409
417
|
slug: z__namespace.string().describe("The slug of the integration."),
|
|
410
418
|
name: z__namespace.string().describe("The name of the integration.")
|
|
411
|
-
}).
|
|
412
|
-
metadata: z__namespace.
|
|
413
|
-
}).
|
|
414
|
-
const integrationConnectionListSchemaSchema = z__namespace.
|
|
419
|
+
}).describe("Information about the connected integration."),
|
|
420
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.unknown()).optional().describe("Additional metadata about the integration connection.")
|
|
421
|
+
}).describe("Detailed information about an integration connection to a project.");
|
|
422
|
+
const integrationConnectionListSchemaSchema = z__namespace.strictObject({
|
|
415
423
|
object: z__namespace.enum([
|
|
416
424
|
"list"
|
|
417
425
|
]).describe("Fixed value identifying this as a list response."),
|
|
418
|
-
data: z__namespace.array(z__namespace.
|
|
426
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
419
427
|
object: z__namespace.enum([
|
|
420
428
|
"integration_connection"
|
|
421
429
|
]).describe("The object type."),
|
|
422
430
|
id: z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
|
|
423
431
|
connected: z__namespace.boolean().describe("Whether the integration is connected to the project."),
|
|
424
|
-
integration: z__namespace.
|
|
432
|
+
integration: z__namespace.strictObject({
|
|
425
433
|
id: z__namespace.string().describe("The ID of the integration."),
|
|
426
434
|
object: z__namespace.enum([
|
|
427
435
|
"integration"
|
|
428
436
|
]).describe("The object type."),
|
|
429
437
|
slug: z__namespace.string().describe("The slug of the integration."),
|
|
430
438
|
name: z__namespace.string().describe("The name of the integration.")
|
|
431
|
-
}).
|
|
432
|
-
})
|
|
433
|
-
}).
|
|
434
|
-
const integrationConnectionSummarySchemaSchema = z__namespace.
|
|
439
|
+
}).describe("Information about the connected integration.")
|
|
440
|
+
})).describe("Array of integration connection summaries.")
|
|
441
|
+
}).describe("List response containing integration connections.");
|
|
442
|
+
const integrationConnectionSummarySchemaSchema = z__namespace.strictObject({
|
|
435
443
|
object: z__namespace.enum([
|
|
436
444
|
"integration_connection"
|
|
437
445
|
]).describe("The object type."),
|
|
438
446
|
id: z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
|
|
439
447
|
connected: z__namespace.boolean().describe("Whether the integration is connected to the project."),
|
|
440
|
-
integration: z__namespace.
|
|
448
|
+
integration: z__namespace.strictObject({
|
|
441
449
|
id: z__namespace.string().describe("The ID of the integration."),
|
|
442
450
|
object: z__namespace.enum([
|
|
443
451
|
"integration"
|
|
444
452
|
]).describe("The object type."),
|
|
445
453
|
slug: z__namespace.string().describe("The slug of the integration."),
|
|
446
454
|
name: z__namespace.string().describe("The name of the integration.")
|
|
447
|
-
}).
|
|
448
|
-
}).
|
|
449
|
-
const integrationDetailSchemaSchema = z__namespace.
|
|
455
|
+
}).describe("Information about the connected integration.")
|
|
456
|
+
}).describe("Summary information about an integration connection to a project.");
|
|
457
|
+
const integrationDetailSchemaSchema = z__namespace.strictObject({
|
|
450
458
|
id: z__namespace.string().describe("The ID of the integration."),
|
|
451
459
|
object: z__namespace.enum([
|
|
452
460
|
"integration"
|
|
@@ -455,12 +463,12 @@ const integrationDetailSchemaSchema = z__namespace.object({
|
|
|
455
463
|
name: z__namespace.string().describe("The name of the integration."),
|
|
456
464
|
description: z__namespace.string().describe("A short description of the integration."),
|
|
457
465
|
iconUrl: z__namespace.string().describe("URL to the integration icon.")
|
|
458
|
-
}).
|
|
459
|
-
const integrationListSchemaSchema = z__namespace.
|
|
466
|
+
}).describe("Detailed information about an integration.");
|
|
467
|
+
const integrationListSchemaSchema = z__namespace.strictObject({
|
|
460
468
|
object: z__namespace.enum([
|
|
461
469
|
"list"
|
|
462
470
|
]).describe("Fixed value identifying this as a list response."),
|
|
463
|
-
data: z__namespace.array(z__namespace.
|
|
471
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
464
472
|
id: z__namespace.string().describe("The ID of the integration."),
|
|
465
473
|
object: z__namespace.enum([
|
|
466
474
|
"integration"
|
|
@@ -469,30 +477,30 @@ const integrationListSchemaSchema = z__namespace.object({
|
|
|
469
477
|
name: z__namespace.string().describe("The name of the integration."),
|
|
470
478
|
description: z__namespace.string().describe("A short description of the integration."),
|
|
471
479
|
iconUrl: z__namespace.string().describe("URL to the integration icon.")
|
|
472
|
-
})
|
|
473
|
-
}).
|
|
474
|
-
const integrationSummarySchemaSchema = z__namespace.
|
|
480
|
+
})).describe("Array of integration details.")
|
|
481
|
+
}).describe("List of available integrations.");
|
|
482
|
+
const integrationSummarySchemaSchema = z__namespace.strictObject({
|
|
475
483
|
id: z__namespace.string().describe("The ID of the integration."),
|
|
476
484
|
object: z__namespace.enum([
|
|
477
485
|
"integration"
|
|
478
486
|
]).describe("The object type."),
|
|
479
487
|
slug: z__namespace.string().describe("The slug of the integration."),
|
|
480
488
|
name: z__namespace.string().describe("The name of the integration.")
|
|
481
|
-
}).
|
|
482
|
-
const messageDetailSchema = z__namespace.
|
|
489
|
+
}).describe("Basic information about an integration.");
|
|
490
|
+
const messageDetailSchema = z__namespace.strictObject({
|
|
483
491
|
id: z__namespace.string().describe("A unique identifier for the message."),
|
|
484
492
|
object: z__namespace.enum([
|
|
485
493
|
"message"
|
|
486
494
|
]).describe("Fixed value identifying this object as a message."),
|
|
487
495
|
content: z__namespace.string().describe("The main text content of the message."),
|
|
488
|
-
|
|
496
|
+
experimental_content: z__namespace.array(z__namespace.union([
|
|
489
497
|
z__namespace.tuple([
|
|
490
498
|
z__namespace.literal(0),
|
|
491
|
-
z__namespace.array(z__namespace.
|
|
499
|
+
z__namespace.array(z__namespace.unknown())
|
|
492
500
|
]),
|
|
493
501
|
z__namespace.tuple([
|
|
494
502
|
z__namespace.literal(1),
|
|
495
|
-
z__namespace.
|
|
503
|
+
z__namespace.strictObject({
|
|
496
504
|
toJSONSchema: z__namespace.string(),
|
|
497
505
|
def: z__namespace.string(),
|
|
498
506
|
type: z__namespace.string(),
|
|
@@ -549,11 +557,13 @@ const messageDetailSchema = z__namespace.object({
|
|
|
549
557
|
omit: z__namespace.string(),
|
|
550
558
|
partial: z__namespace.string(),
|
|
551
559
|
required: z__namespace.string()
|
|
552
|
-
})
|
|
560
|
+
})
|
|
553
561
|
])
|
|
554
562
|
])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
|
|
555
563
|
createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
|
|
556
|
-
updatedAt: z__namespace.iso.datetime(
|
|
564
|
+
updatedAt: z__namespace.iso.datetime({
|
|
565
|
+
offset: true
|
|
566
|
+
}).optional().describe("The ISO timestamp representing when the message was last updated."),
|
|
557
567
|
type: z__namespace.enum([
|
|
558
568
|
"added-environment-variables",
|
|
559
569
|
"added-integration",
|
|
@@ -593,7 +603,7 @@ const messageDetailSchema = z__namespace.object({
|
|
|
593
603
|
apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
|
|
594
604
|
authorId: z__namespace.string().nullable().describe("The ID of the user who sent the message."),
|
|
595
605
|
parentId: z__namespace.string().nullish().describe("The ID of the parent message."),
|
|
596
|
-
attachments: z__namespace.array(z__namespace.
|
|
606
|
+
attachments: z__namespace.array(z__namespace.strictObject({
|
|
597
607
|
url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
|
|
598
608
|
name: z__namespace.string().optional().describe("The original filename of the attachment."),
|
|
599
609
|
contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
|
|
@@ -604,23 +614,23 @@ const messageDetailSchema = z__namespace.object({
|
|
|
604
614
|
"screenshot",
|
|
605
615
|
"zip"
|
|
606
616
|
]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
|
|
607
|
-
})
|
|
617
|
+
})).optional(),
|
|
608
618
|
chatId: z__namespace.string().describe("The ID of the chat to which this message belongs.")
|
|
609
|
-
}).
|
|
610
|
-
const messageSummarySchema = z__namespace.
|
|
619
|
+
}).describe("Detailed message object extending MessageSummary with chat metadata.");
|
|
620
|
+
const messageSummarySchema = z__namespace.strictObject({
|
|
611
621
|
id: z__namespace.string().describe("A unique identifier for the message."),
|
|
612
622
|
object: z__namespace.enum([
|
|
613
623
|
"message"
|
|
614
624
|
]).describe("Fixed value identifying this object as a message."),
|
|
615
625
|
content: z__namespace.string().describe("The main text content of the message."),
|
|
616
|
-
|
|
626
|
+
experimental_content: z__namespace.array(z__namespace.union([
|
|
617
627
|
z__namespace.tuple([
|
|
618
628
|
z__namespace.literal(0),
|
|
619
|
-
z__namespace.array(z__namespace.
|
|
629
|
+
z__namespace.array(z__namespace.unknown())
|
|
620
630
|
]),
|
|
621
631
|
z__namespace.tuple([
|
|
622
632
|
z__namespace.literal(1),
|
|
623
|
-
z__namespace.
|
|
633
|
+
z__namespace.strictObject({
|
|
624
634
|
toJSONSchema: z__namespace.string(),
|
|
625
635
|
def: z__namespace.string(),
|
|
626
636
|
type: z__namespace.string(),
|
|
@@ -677,11 +687,13 @@ const messageSummarySchema = z__namespace.object({
|
|
|
677
687
|
omit: z__namespace.string(),
|
|
678
688
|
partial: z__namespace.string(),
|
|
679
689
|
required: z__namespace.string()
|
|
680
|
-
})
|
|
690
|
+
})
|
|
681
691
|
])
|
|
682
692
|
])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
|
|
683
693
|
createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
|
|
684
|
-
updatedAt: z__namespace.iso.datetime(
|
|
694
|
+
updatedAt: z__namespace.iso.datetime({
|
|
695
|
+
offset: true
|
|
696
|
+
}).optional().describe("The ISO timestamp representing when the message was last updated."),
|
|
685
697
|
type: z__namespace.enum([
|
|
686
698
|
"added-environment-variables",
|
|
687
699
|
"added-integration",
|
|
@@ -721,7 +733,7 @@ const messageSummarySchema = z__namespace.object({
|
|
|
721
733
|
apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
|
|
722
734
|
authorId: z__namespace.string().nullable().describe("The ID of the user who sent the message."),
|
|
723
735
|
parentId: z__namespace.string().nullish().describe("The ID of the parent message."),
|
|
724
|
-
attachments: z__namespace.array(z__namespace.
|
|
736
|
+
attachments: z__namespace.array(z__namespace.strictObject({
|
|
725
737
|
url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
|
|
726
738
|
name: z__namespace.string().optional().describe("The original filename of the attachment."),
|
|
727
739
|
contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
|
|
@@ -732,26 +744,26 @@ const messageSummarySchema = z__namespace.object({
|
|
|
732
744
|
"screenshot",
|
|
733
745
|
"zip"
|
|
734
746
|
]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
|
|
735
|
-
})
|
|
736
|
-
}).
|
|
737
|
-
const messageSummaryListSchema = z__namespace.
|
|
747
|
+
})).optional()
|
|
748
|
+
}).describe("Summary of a single message within a chat, including role, content, type, timestamp, and API URL.");
|
|
749
|
+
const messageSummaryListSchema = z__namespace.strictObject({
|
|
738
750
|
object: z__namespace.enum([
|
|
739
751
|
"list"
|
|
740
752
|
]).describe("Fixed value identifying this as a list response."),
|
|
741
|
-
data: z__namespace.array(z__namespace.
|
|
753
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
742
754
|
id: z__namespace.string().describe("A unique identifier for the message."),
|
|
743
755
|
object: z__namespace.enum([
|
|
744
756
|
"message"
|
|
745
757
|
]).describe("Fixed value identifying this object as a message."),
|
|
746
758
|
content: z__namespace.string().describe("The main text content of the message."),
|
|
747
|
-
|
|
759
|
+
experimental_content: z__namespace.array(z__namespace.union([
|
|
748
760
|
z__namespace.tuple([
|
|
749
761
|
z__namespace.literal(0),
|
|
750
|
-
z__namespace.array(z__namespace.
|
|
762
|
+
z__namespace.array(z__namespace.unknown())
|
|
751
763
|
]),
|
|
752
764
|
z__namespace.tuple([
|
|
753
765
|
z__namespace.literal(1),
|
|
754
|
-
z__namespace.
|
|
766
|
+
z__namespace.strictObject({
|
|
755
767
|
toJSONSchema: z__namespace.string(),
|
|
756
768
|
def: z__namespace.string(),
|
|
757
769
|
type: z__namespace.string(),
|
|
@@ -808,11 +820,13 @@ const messageSummaryListSchema = z__namespace.object({
|
|
|
808
820
|
omit: z__namespace.string(),
|
|
809
821
|
partial: z__namespace.string(),
|
|
810
822
|
required: z__namespace.string()
|
|
811
|
-
})
|
|
823
|
+
})
|
|
812
824
|
])
|
|
813
825
|
])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
|
|
814
826
|
createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
|
|
815
|
-
updatedAt: z__namespace.iso.datetime(
|
|
827
|
+
updatedAt: z__namespace.iso.datetime({
|
|
828
|
+
offset: true
|
|
829
|
+
}).optional().describe("The ISO timestamp representing when the message was last updated."),
|
|
816
830
|
type: z__namespace.enum([
|
|
817
831
|
"added-environment-variables",
|
|
818
832
|
"added-integration",
|
|
@@ -852,7 +866,7 @@ const messageSummaryListSchema = z__namespace.object({
|
|
|
852
866
|
apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
|
|
853
867
|
authorId: z__namespace.string().nullable().describe("The ID of the user who sent the message."),
|
|
854
868
|
parentId: z__namespace.string().nullish().describe("The ID of the parent message."),
|
|
855
|
-
attachments: z__namespace.array(z__namespace.
|
|
869
|
+
attachments: z__namespace.array(z__namespace.strictObject({
|
|
856
870
|
url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
|
|
857
871
|
name: z__namespace.string().optional().describe("The original filename of the attachment."),
|
|
858
872
|
contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
|
|
@@ -863,19 +877,19 @@ const messageSummaryListSchema = z__namespace.object({
|
|
|
863
877
|
"screenshot",
|
|
864
878
|
"zip"
|
|
865
879
|
]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
|
|
866
|
-
})
|
|
867
|
-
})
|
|
868
|
-
pagination: z__namespace.
|
|
880
|
+
})).optional()
|
|
881
|
+
})).describe("Array of message summaries in this page of results."),
|
|
882
|
+
pagination: z__namespace.strictObject({
|
|
869
883
|
hasMore: z__namespace.boolean().describe("Indicates if there are more results available beyond this page."),
|
|
870
884
|
nextCursor: z__namespace.string().optional().describe("Cursor for fetching the next page of results."),
|
|
871
885
|
nextUrl: z__namespace.string().optional().describe("API URL for retrieving the next page of results.")
|
|
872
|
-
}).
|
|
873
|
-
}).
|
|
874
|
-
const notificationPreferenceSchemaSchema = z__namespace.
|
|
886
|
+
}).describe("Pagination metadata for navigating through multiple pages of results.")
|
|
887
|
+
}).describe("List response containing multiple message summaries with cursor-based pagination.");
|
|
888
|
+
const notificationPreferenceSchemaSchema = z__namespace.strictObject({
|
|
875
889
|
liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
|
|
876
890
|
pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
|
|
877
|
-
}).
|
|
878
|
-
const productDetailSchemaSchema = z__namespace.
|
|
891
|
+
}).describe("User preference for notification delivery methods.");
|
|
892
|
+
const productDetailSchemaSchema = z__namespace.strictObject({
|
|
879
893
|
object: z__namespace.enum([
|
|
880
894
|
"product"
|
|
881
895
|
]).describe("The object type."),
|
|
@@ -889,12 +903,12 @@ const productDetailSchemaSchema = z__namespace.object({
|
|
|
889
903
|
"published"
|
|
890
904
|
]).optional().describe("The product's availability in v0. 'in-review' products only appear for teams with the review view and should be rendered as such."),
|
|
891
905
|
iconBackgroundColor: z__namespace.string().optional().describe("Background color for the product icon.")
|
|
892
|
-
}).
|
|
893
|
-
const productListSchemaSchema = z__namespace.
|
|
906
|
+
}).describe("Detailed information about a marketplace or store product.");
|
|
907
|
+
const productListSchemaSchema = z__namespace.strictObject({
|
|
894
908
|
object: z__namespace.enum([
|
|
895
909
|
"list"
|
|
896
910
|
]).describe("Fixed value identifying this as a list response."),
|
|
897
|
-
data: z__namespace.array(z__namespace.
|
|
911
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
898
912
|
object: z__namespace.enum([
|
|
899
913
|
"product"
|
|
900
914
|
]).describe("The object type."),
|
|
@@ -907,9 +921,9 @@ const productListSchemaSchema = z__namespace.object({
|
|
|
907
921
|
"in-review",
|
|
908
922
|
"published"
|
|
909
923
|
]).optional().describe("The product's availability in v0. 'in-review' products only appear for teams with the review view and should be rendered as such.")
|
|
910
|
-
})
|
|
911
|
-
}).
|
|
912
|
-
const productSummarySchemaSchema = z__namespace.
|
|
924
|
+
})).describe("Array of product summaries.")
|
|
925
|
+
}).describe("List of available marketplace and store products.");
|
|
926
|
+
const productSummarySchemaSchema = z__namespace.strictObject({
|
|
913
927
|
object: z__namespace.enum([
|
|
914
928
|
"product"
|
|
915
929
|
]).describe("The object type."),
|
|
@@ -922,8 +936,8 @@ const productSummarySchemaSchema = z__namespace.object({
|
|
|
922
936
|
"in-review",
|
|
923
937
|
"published"
|
|
924
938
|
]).optional().describe("The product's availability in v0. 'in-review' products only appear for teams with the review view and should be rendered as such.")
|
|
925
|
-
}).
|
|
926
|
-
const projectDetailSchema = z__namespace.
|
|
939
|
+
}).describe("Summary information about a marketplace or store product.");
|
|
940
|
+
const projectDetailSchema = z__namespace.strictObject({
|
|
927
941
|
id: z__namespace.string().describe("A unique identifier for the project."),
|
|
928
942
|
object: z__namespace.enum([
|
|
929
943
|
"project"
|
|
@@ -934,13 +948,17 @@ const projectDetailSchema = z__namespace.object({
|
|
|
934
948
|
"team"
|
|
935
949
|
]).describe("The privacy setting for the project - either private or team."),
|
|
936
950
|
vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
|
|
937
|
-
createdAt: z__namespace.iso.datetime(
|
|
938
|
-
|
|
951
|
+
createdAt: z__namespace.iso.datetime({
|
|
952
|
+
offset: true
|
|
953
|
+
}).describe("The ISO timestamp representing when the project was created."),
|
|
954
|
+
updatedAt: z__namespace.iso.datetime({
|
|
955
|
+
offset: true
|
|
956
|
+
}).optional().describe("The ISO timestamp of the most recent update, if available."),
|
|
939
957
|
apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this project programmatically."),
|
|
940
958
|
webUrl: z__namespace.url().describe("The web URL where the project can be viewed or managed."),
|
|
941
959
|
description: z__namespace.string().optional().describe("The description of the project."),
|
|
942
960
|
instructions: z__namespace.string().optional().describe("The instructions for the project."),
|
|
943
|
-
chats: z__namespace.array(z__namespace.
|
|
961
|
+
chats: z__namespace.array(z__namespace.strictObject({
|
|
944
962
|
id: z__namespace.string().describe("A unique identifier for the chat."),
|
|
945
963
|
object: z__namespace.enum([
|
|
946
964
|
"chat"
|
|
@@ -955,7 +973,9 @@ const projectDetailSchema = z__namespace.object({
|
|
|
955
973
|
]).describe("Defines the visibility of the chat—private, team-only, or public."),
|
|
956
974
|
name: z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
|
|
957
975
|
title: z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
|
|
958
|
-
createdAt: z__namespace.iso.datetime(
|
|
976
|
+
createdAt: z__namespace.iso.datetime({
|
|
977
|
+
offset: true
|
|
978
|
+
}).describe("The ISO timestamp representing when the chat was created."),
|
|
959
979
|
updatedAt: z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
|
|
960
980
|
favorite: z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
|
|
961
981
|
authorId: z__namespace.string().describe("The ID of the user who created the chat."),
|
|
@@ -963,7 +983,7 @@ const projectDetailSchema = z__namespace.object({
|
|
|
963
983
|
vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
|
|
964
984
|
webUrl: z__namespace.string().describe("Web URL to view this chat in the browser."),
|
|
965
985
|
apiUrl: z__namespace.string().describe("API URL to access this chat via the API."),
|
|
966
|
-
latestVersion: z__namespace.
|
|
986
|
+
latestVersion: z__namespace.strictObject({
|
|
967
987
|
id: z__namespace.string().describe("A unique identifier for the version."),
|
|
968
988
|
object: z__namespace.enum([
|
|
969
989
|
"version"
|
|
@@ -975,13 +995,17 @@ const projectDetailSchema = z__namespace.object({
|
|
|
975
995
|
]).describe("The current status of the version generation process."),
|
|
976
996
|
demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
|
|
977
997
|
screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
|
|
978
|
-
createdAt: z__namespace.iso.datetime(
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
}).
|
|
984
|
-
|
|
998
|
+
createdAt: z__namespace.iso.datetime({
|
|
999
|
+
offset: true
|
|
1000
|
+
}).describe("The date and time when the version was created, in ISO 8601 format."),
|
|
1001
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1002
|
+
offset: true
|
|
1003
|
+
}).optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
|
|
1004
|
+
}).optional().describe("The most recent generated version of the chat, if available."),
|
|
1005
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.string()).describe("Arbitrary key-value data associated with this chat.")
|
|
1006
|
+
})).describe("List of all chats that are associated with this project.")
|
|
1007
|
+
}).describe("Full representation of a project, including its associated chats.");
|
|
1008
|
+
const projectSummarySchema = z__namespace.strictObject({
|
|
985
1009
|
id: z__namespace.string().describe("A unique identifier for the project."),
|
|
986
1010
|
object: z__namespace.enum([
|
|
987
1011
|
"project"
|
|
@@ -992,31 +1016,39 @@ const projectSummarySchema = z__namespace.object({
|
|
|
992
1016
|
"team"
|
|
993
1017
|
]).describe("The privacy setting for the project - either private or team."),
|
|
994
1018
|
vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
|
|
995
|
-
createdAt: z__namespace.iso.datetime(
|
|
996
|
-
|
|
1019
|
+
createdAt: z__namespace.iso.datetime({
|
|
1020
|
+
offset: true
|
|
1021
|
+
}).describe("The ISO timestamp representing when the project was created."),
|
|
1022
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1023
|
+
offset: true
|
|
1024
|
+
}).optional().describe("The ISO timestamp of the most recent update, if available."),
|
|
997
1025
|
apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this project programmatically."),
|
|
998
1026
|
webUrl: z__namespace.url().describe("The web URL where the project can be viewed or managed.")
|
|
999
|
-
}).
|
|
1000
|
-
const scopeSummarySchema = z__namespace.
|
|
1027
|
+
}).describe("Summary of a project, including metadata, timestamps, and optional Vercel linkage.");
|
|
1028
|
+
const scopeSummarySchema = z__namespace.strictObject({
|
|
1001
1029
|
id: z__namespace.string().describe("A unique identifier for the scope (e.g., user or team workspace)."),
|
|
1002
1030
|
object: z__namespace.enum([
|
|
1003
1031
|
"scope"
|
|
1004
1032
|
]).describe("Fixed value identifying this object as a scope."),
|
|
1005
1033
|
name: z__namespace.string().optional().describe("An optional human-readable name for the scope.")
|
|
1006
|
-
}).
|
|
1007
|
-
const searchResultItemSchema = z__namespace.
|
|
1034
|
+
}).describe("Basic information about a workspace or identity context for projects and chats.");
|
|
1035
|
+
const searchResultItemSchema = z__namespace.strictObject({
|
|
1008
1036
|
id: z__namespace.string().describe("The unique ID of the item returned in the search result."),
|
|
1009
1037
|
object: z__namespace.enum([
|
|
1010
1038
|
"chat",
|
|
1011
1039
|
"project"
|
|
1012
1040
|
]).describe("Type of item returned, either 'chat' or 'project'."),
|
|
1013
1041
|
name: z__namespace.string().describe("The display name of the item."),
|
|
1014
|
-
createdAt: z__namespace.iso.datetime(
|
|
1015
|
-
|
|
1042
|
+
createdAt: z__namespace.iso.datetime({
|
|
1043
|
+
offset: true
|
|
1044
|
+
}).describe("The ISO timestamp representing when the item was created."),
|
|
1045
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1046
|
+
offset: true
|
|
1047
|
+
}).optional().describe("The ISO timestamp of the last update to the item."),
|
|
1016
1048
|
apiUrl: z__namespace.string().describe("API endpoint for accessing the item programmatically."),
|
|
1017
1049
|
webUrl: z__namespace.string().describe("Web URL for viewing the item in the interface.")
|
|
1018
|
-
}).
|
|
1019
|
-
const userDetailSchemaSchema = z__namespace.
|
|
1050
|
+
}).describe("Generic result returned from a search query, representing either a chat or a project.");
|
|
1051
|
+
const userDetailSchemaSchema = z__namespace.strictObject({
|
|
1020
1052
|
id: z__namespace.string().describe("A unique identifier for the user."),
|
|
1021
1053
|
object: z__namespace.enum([
|
|
1022
1054
|
"user"
|
|
@@ -1024,44 +1056,48 @@ const userDetailSchemaSchema = z__namespace.object({
|
|
|
1024
1056
|
name: z__namespace.string().optional().describe("Optional full name of the user."),
|
|
1025
1057
|
email: z__namespace.string().describe("The user's email address."),
|
|
1026
1058
|
avatar: z__namespace.string().describe("URL to the user's avatar image."),
|
|
1027
|
-
createdAt: z__namespace.iso.datetime(
|
|
1028
|
-
|
|
1029
|
-
}).
|
|
1030
|
-
|
|
1059
|
+
createdAt: z__namespace.iso.datetime({
|
|
1060
|
+
offset: true
|
|
1061
|
+
}).describe("The ISO timestamp representing when the user was created."),
|
|
1062
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1063
|
+
offset: true
|
|
1064
|
+
}).optional().describe("The ISO timestamp of the last update to the user.")
|
|
1065
|
+
});
|
|
1066
|
+
const userPreferencesPostResponseSchemaSchema = z__namespace.strictObject({
|
|
1031
1067
|
object: z__namespace.enum([
|
|
1032
1068
|
"user_preferences"
|
|
1033
1069
|
]).describe("Object type identifier."),
|
|
1034
1070
|
preferences: z__namespace.union([
|
|
1035
|
-
z__namespace.
|
|
1036
|
-
notifications: z__namespace.
|
|
1071
|
+
z__namespace.strictObject({
|
|
1072
|
+
notifications: z__namespace.strictObject({
|
|
1037
1073
|
liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
|
|
1038
1074
|
pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
|
|
1039
|
-
}).
|
|
1040
|
-
})
|
|
1075
|
+
}).describe("The user's preferred method for receiving notifications.")
|
|
1076
|
+
}),
|
|
1041
1077
|
z__namespace.null()
|
|
1042
1078
|
]).describe("The updated preferences if successful, or null if failed.")
|
|
1043
|
-
}).
|
|
1044
|
-
const userPreferencesResponseSchemaSchema = z__namespace.
|
|
1079
|
+
}).describe("Response schema for updating user preferences.");
|
|
1080
|
+
const userPreferencesResponseSchemaSchema = z__namespace.strictObject({
|
|
1045
1081
|
object: z__namespace.enum([
|
|
1046
1082
|
"user_preferences"
|
|
1047
1083
|
]).describe("Object type identifier."),
|
|
1048
1084
|
preferences: z__namespace.union([
|
|
1049
|
-
z__namespace.
|
|
1050
|
-
notifications: z__namespace.
|
|
1085
|
+
z__namespace.strictObject({
|
|
1086
|
+
notifications: z__namespace.strictObject({
|
|
1051
1087
|
liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
|
|
1052
1088
|
pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
|
|
1053
|
-
}).
|
|
1054
|
-
})
|
|
1089
|
+
}).describe("The user's preferred method for receiving notifications.")
|
|
1090
|
+
}),
|
|
1055
1091
|
z__namespace.null()
|
|
1056
1092
|
]).describe("The user's current preferences, or null if errored.")
|
|
1057
|
-
}).
|
|
1058
|
-
const userPreferencesSchemaSchema = z__namespace.
|
|
1059
|
-
notifications: z__namespace.
|
|
1093
|
+
}).describe("Response schema for retrieving user preferences.");
|
|
1094
|
+
const userPreferencesSchemaSchema = z__namespace.strictObject({
|
|
1095
|
+
notifications: z__namespace.strictObject({
|
|
1060
1096
|
liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
|
|
1061
1097
|
pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
|
|
1062
|
-
}).
|
|
1063
|
-
}).
|
|
1064
|
-
const userSummarySchemaSchema = z__namespace.
|
|
1098
|
+
}).describe("The user's preferred method for receiving notifications.")
|
|
1099
|
+
}).describe("User preferences configuration including notification settings.");
|
|
1100
|
+
const userSummarySchemaSchema = z__namespace.strictObject({
|
|
1065
1101
|
id: z__namespace.string().describe("A unique identifier for the user."),
|
|
1066
1102
|
object: z__namespace.enum([
|
|
1067
1103
|
"user"
|
|
@@ -1069,24 +1105,28 @@ const userSummarySchemaSchema = z__namespace.object({
|
|
|
1069
1105
|
name: z__namespace.string().optional().describe("Optional full name of the user."),
|
|
1070
1106
|
email: z__namespace.string().describe("The user's email address."),
|
|
1071
1107
|
avatar: z__namespace.string().describe("URL to the user's avatar image."),
|
|
1072
|
-
createdAt: z__namespace.iso.datetime(
|
|
1073
|
-
|
|
1074
|
-
}).
|
|
1075
|
-
|
|
1108
|
+
createdAt: z__namespace.iso.datetime({
|
|
1109
|
+
offset: true
|
|
1110
|
+
}).describe("The ISO timestamp representing when the user was created."),
|
|
1111
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1112
|
+
offset: true
|
|
1113
|
+
}).optional().describe("The ISO timestamp of the last update to the user.")
|
|
1114
|
+
}).describe("Details of the authenticated user, including profile and contact information.");
|
|
1115
|
+
const vercelProjectDetailSchema = z__namespace.strictObject({
|
|
1076
1116
|
id: z__namespace.string().describe("A unique identifier for the linked Vercel project."),
|
|
1077
1117
|
object: z__namespace.enum([
|
|
1078
1118
|
"vercel_project"
|
|
1079
1119
|
]).describe("Fixed value identifying this object as a Vercel project."),
|
|
1080
1120
|
name: z__namespace.string().describe("The name of the Vercel project.")
|
|
1081
|
-
})
|
|
1082
|
-
const vercelProjectSummarySchema = z__namespace.
|
|
1121
|
+
});
|
|
1122
|
+
const vercelProjectSummarySchema = z__namespace.strictObject({
|
|
1083
1123
|
id: z__namespace.string().describe("A unique identifier for the linked Vercel project."),
|
|
1084
1124
|
object: z__namespace.enum([
|
|
1085
1125
|
"vercel_project"
|
|
1086
1126
|
]).describe("Fixed value identifying this object as a Vercel project."),
|
|
1087
1127
|
name: z__namespace.string().describe("The name of the Vercel project.")
|
|
1088
|
-
}).
|
|
1089
|
-
const versionDetailSchema = z__namespace.
|
|
1128
|
+
}).describe("Basic metadata about a Vercel project connected to a v0 project.");
|
|
1129
|
+
const versionDetailSchema = z__namespace.strictObject({
|
|
1090
1130
|
id: z__namespace.string().describe("A unique identifier for the version."),
|
|
1091
1131
|
object: z__namespace.enum([
|
|
1092
1132
|
"version"
|
|
@@ -1098,18 +1138,22 @@ const versionDetailSchema = z__namespace.object({
|
|
|
1098
1138
|
]).describe("The current status of the version generation process."),
|
|
1099
1139
|
demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
|
|
1100
1140
|
screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
|
|
1101
|
-
createdAt: z__namespace.iso.datetime(
|
|
1102
|
-
|
|
1103
|
-
|
|
1141
|
+
createdAt: z__namespace.iso.datetime({
|
|
1142
|
+
offset: true
|
|
1143
|
+
}).describe("The date and time when the version was created, in ISO 8601 format."),
|
|
1144
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1145
|
+
offset: true
|
|
1146
|
+
}).optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
|
|
1147
|
+
files: z__namespace.array(z__namespace.strictObject({
|
|
1104
1148
|
object: z__namespace.enum([
|
|
1105
1149
|
"file"
|
|
1106
1150
|
]).describe("Fixed value identifying this object as a file."),
|
|
1107
1151
|
name: z__namespace.string().describe("The name of the file, including its extension."),
|
|
1108
1152
|
content: z__namespace.string().describe("The full contents of the file as a raw string."),
|
|
1109
1153
|
locked: z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
|
|
1110
|
-
})
|
|
1111
|
-
}).
|
|
1112
|
-
const versionSummarySchema = z__namespace.
|
|
1154
|
+
})).describe("A list of files that were generated or included in this version.")
|
|
1155
|
+
}).describe("Detailed version data including file contents.");
|
|
1156
|
+
const versionSummarySchema = z__namespace.strictObject({
|
|
1113
1157
|
id: z__namespace.string().describe("A unique identifier for the version."),
|
|
1114
1158
|
object: z__namespace.enum([
|
|
1115
1159
|
"version"
|
|
@@ -1121,14 +1165,18 @@ const versionSummarySchema = z__namespace.object({
|
|
|
1121
1165
|
]).describe("The current status of the version generation process."),
|
|
1122
1166
|
demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
|
|
1123
1167
|
screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
|
|
1124
|
-
createdAt: z__namespace.iso.datetime(
|
|
1125
|
-
|
|
1126
|
-
}).
|
|
1127
|
-
|
|
1168
|
+
createdAt: z__namespace.iso.datetime({
|
|
1169
|
+
offset: true
|
|
1170
|
+
}).describe("The date and time when the version was created, in ISO 8601 format."),
|
|
1171
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1172
|
+
offset: true
|
|
1173
|
+
}).optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
|
|
1174
|
+
}).describe("Summary of a generated version of a chat, including its status and optional demo link.");
|
|
1175
|
+
const versionSummaryListSchema = z__namespace.strictObject({
|
|
1128
1176
|
object: z__namespace.enum([
|
|
1129
1177
|
"list"
|
|
1130
1178
|
]).describe("Fixed value identifying this as a list response."),
|
|
1131
|
-
data: z__namespace.array(z__namespace.
|
|
1179
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
1132
1180
|
id: z__namespace.string().describe("A unique identifier for the version."),
|
|
1133
1181
|
object: z__namespace.enum([
|
|
1134
1182
|
"version"
|
|
@@ -1140,88 +1188,92 @@ const versionSummaryListSchema = z__namespace.object({
|
|
|
1140
1188
|
]).describe("The current status of the version generation process."),
|
|
1141
1189
|
demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
|
|
1142
1190
|
screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
|
|
1143
|
-
createdAt: z__namespace.iso.datetime(
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1191
|
+
createdAt: z__namespace.iso.datetime({
|
|
1192
|
+
offset: true
|
|
1193
|
+
}).describe("The date and time when the version was created, in ISO 8601 format."),
|
|
1194
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1195
|
+
offset: true
|
|
1196
|
+
}).optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
|
|
1197
|
+
})).describe("Array of version summaries in this page of results."),
|
|
1198
|
+
pagination: z__namespace.strictObject({
|
|
1147
1199
|
hasMore: z__namespace.boolean().describe("Indicates if there are more results available beyond this page."),
|
|
1148
1200
|
nextCursor: z__namespace.string().optional().describe("Cursor for fetching the next page of results."),
|
|
1149
1201
|
nextUrl: z__namespace.string().optional().describe("API URL for retrieving the next page of results.")
|
|
1150
|
-
}).
|
|
1151
|
-
}).
|
|
1152
|
-
const unauthorizedErrorSchema = z__namespace.
|
|
1153
|
-
error: z__namespace.
|
|
1202
|
+
}).describe("Pagination metadata for navigating through multiple pages of results.")
|
|
1203
|
+
}).describe("List response containing multiple version summaries with cursor-based pagination.");
|
|
1204
|
+
const unauthorizedErrorSchema = z__namespace.strictObject({
|
|
1205
|
+
error: z__namespace.strictObject({
|
|
1154
1206
|
message: z__namespace.string(),
|
|
1155
1207
|
type: z__namespace.enum([
|
|
1156
1208
|
"unauthorized_error"
|
|
1157
1209
|
])
|
|
1158
|
-
})
|
|
1159
|
-
})
|
|
1160
|
-
const forbiddenErrorSchema = z__namespace.
|
|
1161
|
-
error: z__namespace.
|
|
1210
|
+
})
|
|
1211
|
+
});
|
|
1212
|
+
const forbiddenErrorSchema = z__namespace.strictObject({
|
|
1213
|
+
error: z__namespace.strictObject({
|
|
1162
1214
|
message: z__namespace.string(),
|
|
1163
1215
|
type: z__namespace.enum([
|
|
1164
1216
|
"forbidden_error"
|
|
1165
1217
|
])
|
|
1166
|
-
})
|
|
1167
|
-
})
|
|
1168
|
-
const notFoundErrorSchema = z__namespace.
|
|
1169
|
-
error: z__namespace.
|
|
1218
|
+
})
|
|
1219
|
+
});
|
|
1220
|
+
const notFoundErrorSchema = z__namespace.strictObject({
|
|
1221
|
+
error: z__namespace.strictObject({
|
|
1170
1222
|
message: z__namespace.string(),
|
|
1171
1223
|
type: z__namespace.enum([
|
|
1172
1224
|
"not_found_error"
|
|
1173
1225
|
])
|
|
1174
|
-
})
|
|
1175
|
-
})
|
|
1176
|
-
const conflictErrorSchema = z__namespace.
|
|
1177
|
-
error: z__namespace.
|
|
1226
|
+
})
|
|
1227
|
+
});
|
|
1228
|
+
const conflictErrorSchema = z__namespace.strictObject({
|
|
1229
|
+
error: z__namespace.strictObject({
|
|
1178
1230
|
message: z__namespace.string(),
|
|
1179
1231
|
type: z__namespace.enum([
|
|
1180
1232
|
"conflict_error"
|
|
1181
1233
|
])
|
|
1182
|
-
})
|
|
1183
|
-
})
|
|
1184
|
-
const payloadTooLargeErrorSchema = z__namespace.
|
|
1185
|
-
error: z__namespace.
|
|
1234
|
+
})
|
|
1235
|
+
});
|
|
1236
|
+
const payloadTooLargeErrorSchema = z__namespace.strictObject({
|
|
1237
|
+
error: z__namespace.strictObject({
|
|
1186
1238
|
message: z__namespace.string(),
|
|
1187
1239
|
type: z__namespace.enum([
|
|
1188
1240
|
"payload_too_large_error"
|
|
1189
1241
|
])
|
|
1190
|
-
})
|
|
1191
|
-
})
|
|
1192
|
-
const unprocessableEntityErrorSchema = z__namespace.
|
|
1193
|
-
error: z__namespace.
|
|
1242
|
+
})
|
|
1243
|
+
});
|
|
1244
|
+
const unprocessableEntityErrorSchema = z__namespace.strictObject({
|
|
1245
|
+
error: z__namespace.strictObject({
|
|
1194
1246
|
message: z__namespace.string(),
|
|
1195
1247
|
type: z__namespace.enum([
|
|
1196
1248
|
"unprocessable_entity_error"
|
|
1197
1249
|
])
|
|
1198
|
-
})
|
|
1199
|
-
})
|
|
1200
|
-
const tooManyRequestsErrorSchema = z__namespace.
|
|
1201
|
-
error: z__namespace.
|
|
1250
|
+
})
|
|
1251
|
+
});
|
|
1252
|
+
const tooManyRequestsErrorSchema = z__namespace.strictObject({
|
|
1253
|
+
error: z__namespace.strictObject({
|
|
1202
1254
|
message: z__namespace.string(),
|
|
1203
1255
|
type: z__namespace.enum([
|
|
1204
1256
|
"too_many_requests_error"
|
|
1205
1257
|
])
|
|
1206
|
-
})
|
|
1207
|
-
})
|
|
1208
|
-
const internalServerErrorSchema = z__namespace.
|
|
1209
|
-
error: z__namespace.
|
|
1258
|
+
})
|
|
1259
|
+
});
|
|
1260
|
+
const internalServerErrorSchema = z__namespace.strictObject({
|
|
1261
|
+
error: z__namespace.strictObject({
|
|
1210
1262
|
message: z__namespace.string(),
|
|
1211
1263
|
type: z__namespace.enum([
|
|
1212
1264
|
"internal_server_error"
|
|
1213
1265
|
])
|
|
1214
|
-
})
|
|
1215
|
-
})
|
|
1216
|
-
const chatsCreateStatus200Schema =
|
|
1217
|
-
const chatsCreateStatus401Schema =
|
|
1218
|
-
const chatsCreateStatus403Schema =
|
|
1219
|
-
const chatsCreateStatus404Schema =
|
|
1220
|
-
const chatsCreateStatus409Schema =
|
|
1221
|
-
const chatsCreateStatus413Schema =
|
|
1222
|
-
const chatsCreateStatus422Schema =
|
|
1223
|
-
const chatsCreateStatus429Schema =
|
|
1224
|
-
const chatsCreateStatus500Schema =
|
|
1266
|
+
})
|
|
1267
|
+
});
|
|
1268
|
+
const chatsCreateStatus200Schema = chatDetailSchema.describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
1269
|
+
const chatsCreateStatus401Schema = unauthorizedErrorSchema;
|
|
1270
|
+
const chatsCreateStatus403Schema = forbiddenErrorSchema;
|
|
1271
|
+
const chatsCreateStatus404Schema = notFoundErrorSchema;
|
|
1272
|
+
const chatsCreateStatus409Schema = conflictErrorSchema;
|
|
1273
|
+
const chatsCreateStatus413Schema = payloadTooLargeErrorSchema;
|
|
1274
|
+
const chatsCreateStatus422Schema = unprocessableEntityErrorSchema;
|
|
1275
|
+
const chatsCreateStatus429Schema = tooManyRequestsErrorSchema;
|
|
1276
|
+
const chatsCreateStatus500Schema = internalServerErrorSchema;
|
|
1225
1277
|
const chatsCreateResponseSchema = chatsCreateStatus200Schema;
|
|
1226
1278
|
const chatsCreateErrorSchema = z__namespace.union([
|
|
1227
1279
|
chatsCreateStatus401Schema,
|
|
@@ -1233,6 +1285,72 @@ const chatsCreateErrorSchema = z__namespace.union([
|
|
|
1233
1285
|
chatsCreateStatus429Schema,
|
|
1234
1286
|
chatsCreateStatus500Schema
|
|
1235
1287
|
]);
|
|
1288
|
+
const chatsCreateBodySchema = z__namespace.strictObject({
|
|
1289
|
+
message: z__namespace.string().describe("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."),
|
|
1290
|
+
attachments: z__namespace.array(z__namespace.strictObject({
|
|
1291
|
+
url: z__namespace.string().describe("The URL or data URI of the file or asset to include with the message.")
|
|
1292
|
+
})).optional().describe("A list of files or assets to be included in the conversation context. Useful when the chat or task requires referencing documents, images, or other resources."),
|
|
1293
|
+
system: z__namespace.string().optional().describe("Provides system-level context or background for the chat. This is typically used to specify frameworks, tools, or development environments relevant to the task."),
|
|
1294
|
+
chatPrivacy: z__namespace.enum([
|
|
1295
|
+
"private",
|
|
1296
|
+
"public",
|
|
1297
|
+
"team",
|
|
1298
|
+
"team-edit",
|
|
1299
|
+
"unlisted"
|
|
1300
|
+
]).optional().default("private").describe("Determines the privacy setting of the chat. This can control whether the chat is visible only to the user, to team members, or is public."),
|
|
1301
|
+
projectId: z__namespace.string().optional().describe("Associates the chat with a specific project in your workspace. Helps organize and group related chats under a common project context."),
|
|
1302
|
+
modelConfiguration: z__namespace.strictObject({
|
|
1303
|
+
modelId: z__namespace.string().min(3).max(200).regex(/^[a-z0-9][a-z0-9._-]*\/[a-z0-9][a-z0-9._/-]*$/).optional().default("v0-pro").describe("Model to use for the generation. Use a v0 model ID, or an [AI Gateway](https://vercel.com/ai-gateway/models) model ID in `creator/model` format. Gateway models must support tool calling and Zero Data Retention, and are subject to team model policy; unsupported IDs are rejected. `v0-auto` is deprecated and falls back to `v0-pro`."),
|
|
1304
|
+
imageGenerations: z__namespace.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
|
|
1305
|
+
thinking: z__namespace.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps."),
|
|
1306
|
+
thinkingEffort: z__namespace.union([
|
|
1307
|
+
z__namespace.enum([
|
|
1308
|
+
"none",
|
|
1309
|
+
"minimal",
|
|
1310
|
+
"low",
|
|
1311
|
+
"medium",
|
|
1312
|
+
"high",
|
|
1313
|
+
"max",
|
|
1314
|
+
"xhigh"
|
|
1315
|
+
]),
|
|
1316
|
+
z__namespace.null()
|
|
1317
|
+
]).optional(),
|
|
1318
|
+
fast: z__namespace.boolean().optional()
|
|
1319
|
+
}).optional().describe("Settings that control how the model behaves in the chat."),
|
|
1320
|
+
responseMode: z__namespace.enum([
|
|
1321
|
+
"async",
|
|
1322
|
+
"experimental_stream",
|
|
1323
|
+
"sync"
|
|
1324
|
+
]).optional().default("sync").describe('Controls how the response is delivered.\n\n- `"sync"`: The response is returned immediately with the HTTP request.\n- `"async"`: Returns a message placeholder immediately; use getById to poll for completion status and final output.\n- `"experimental_stream"`: Returns content parts as Server-Sent Events for real-time streaming.'),
|
|
1325
|
+
designSystemId: z__namespace.string().nullish().describe("The ID of a design system to apply to this chat. Design systems provide consistent styling and components for generated UI."),
|
|
1326
|
+
mcpServerIds: z__namespace.array(z__namespace.string()).optional().describe("Array of MCP server IDs to enable for this chat. When provided, only the specified servers will be used. When omitted, falls back to the user's enabled MCP servers."),
|
|
1327
|
+
attachedSkillIds: z__namespace.array(z__namespace.string()).optional().describe("Array of skill IDs (from skills.sh) to attach to this chat. Backwards-compatible alias for `skills` entries of type `remote`. Maximum 3 skills per chat."),
|
|
1328
|
+
skills: z__namespace.array(z__namespace.discriminatedUnion("type", [
|
|
1329
|
+
z__namespace.strictObject({
|
|
1330
|
+
type: z__namespace.enum([
|
|
1331
|
+
"remote"
|
|
1332
|
+
]).describe("Discriminator: a skills.sh skill."),
|
|
1333
|
+
id: z__namespace.string().describe("Skill ID from skills.sh.")
|
|
1334
|
+
}),
|
|
1335
|
+
z__namespace.strictObject({
|
|
1336
|
+
type: z__namespace.enum([
|
|
1337
|
+
"memory"
|
|
1338
|
+
]).describe("Discriminator: a user- or team-scoped memory skill."),
|
|
1339
|
+
scope: z__namespace.enum([
|
|
1340
|
+
"user",
|
|
1341
|
+
"team"
|
|
1342
|
+
]).describe("Whether the skill lives in user or team memory."),
|
|
1343
|
+
skillName: z__namespace.string().describe("Name of the memory skill to attach.")
|
|
1344
|
+
}),
|
|
1345
|
+
z__namespace.strictObject({
|
|
1346
|
+
type: z__namespace.enum([
|
|
1347
|
+
"project"
|
|
1348
|
+
]).describe("Discriminator: a skill defined in the project repo."),
|
|
1349
|
+
skillName: z__namespace.string().describe("Name of the project skill to attach.")
|
|
1350
|
+
})
|
|
1351
|
+
])).optional().describe("Skills to force-attach to this chat. Supports skills.sh (`remote`), user/team memory (`memory`), and project (`project`) skills. Merged with `attachedSkillIds`. Maximum 3 skills per chat."),
|
|
1352
|
+
metadata: z__namespace.record(z__namespace.string().min(1).max(40), z__namespace.string().max(500)).optional().default({}).describe("Arbitrary key-value data to attach to the chat. Useful for storing additional data about the chat, such as external user IDs.")
|
|
1353
|
+
});
|
|
1236
1354
|
const chatsFindQueryLimitSchema = z__namespace.number().max(60).optional().default(60).describe("Specifies the maximum number of chat records to return in a single response. Useful for paginating results when there are many chats.");
|
|
1237
1355
|
const chatsFindQueryOffsetSchema = z__namespace.number().optional().default(0).describe("Determines the starting point for pagination. Used in conjunction with limit to retrieve a specific page of chat results.");
|
|
1238
1356
|
const chatsFindQueryIsFavoriteSchema = z__namespace.enum([
|
|
@@ -1241,16 +1359,67 @@ const chatsFindQueryIsFavoriteSchema = z__namespace.enum([
|
|
|
1241
1359
|
]).optional().describe('Filters chats by their "favorite" status. Accepts `"true"` or `"false"` (as strings, not booleans).\n\n- `"true"`: returns only chats marked as favorites.\n- `"false"`: returns only non-favorite chats.');
|
|
1242
1360
|
const chatsFindQueryVercelProjectIdSchema = z__namespace.string().optional().describe("Filters chats by the linked Vercel project ID. Only returns chats associated with the specified Vercel project.");
|
|
1243
1361
|
const chatsFindQueryBranchSchema = z__namespace.string().optional().describe("Filters chats by the Git branch name. Only returns chats that have an active Git connection with the specified branch as the head.");
|
|
1244
|
-
const chatsFindQueryMetadataSchema = z__namespace.
|
|
1245
|
-
const chatsFindStatus200Schema = z__namespace.
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1362
|
+
const chatsFindQueryMetadataSchema = z__namespace.record(z__namespace.string().min(1).max(40), z__namespace.string().max(500)).optional().describe("Filters chats by metadata. Returns chats matching every supplied key-value pair.");
|
|
1363
|
+
const chatsFindStatus200Schema = z__namespace.strictObject({
|
|
1364
|
+
object: z__namespace.enum([
|
|
1365
|
+
"list"
|
|
1366
|
+
]),
|
|
1367
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
1368
|
+
id: z__namespace.string().describe("A unique identifier for the chat."),
|
|
1369
|
+
object: z__namespace.enum([
|
|
1370
|
+
"chat"
|
|
1371
|
+
]).describe("Fixed value identifying this object as a chat."),
|
|
1372
|
+
shareable: z__namespace.boolean().describe("Indicates whether the chat can be shared via public link."),
|
|
1373
|
+
privacy: z__namespace.enum([
|
|
1374
|
+
"private",
|
|
1375
|
+
"public",
|
|
1376
|
+
"team",
|
|
1377
|
+
"team-edit",
|
|
1378
|
+
"unlisted"
|
|
1379
|
+
]).describe("Defines the visibility of the chat—private, team-only, or public."),
|
|
1380
|
+
name: z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
|
|
1381
|
+
title: z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
|
|
1382
|
+
createdAt: z__namespace.iso.datetime({
|
|
1383
|
+
offset: true
|
|
1384
|
+
}).describe("The ISO timestamp representing when the chat was created."),
|
|
1385
|
+
updatedAt: z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
|
|
1386
|
+
favorite: z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
|
|
1387
|
+
authorId: z__namespace.string().describe("The ID of the user who created the chat."),
|
|
1388
|
+
projectId: z__namespace.string().optional().describe("Optional ID of the v0 project associated with this chat."),
|
|
1389
|
+
vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
|
|
1390
|
+
webUrl: z__namespace.string().describe("Web URL to view this chat in the browser."),
|
|
1391
|
+
apiUrl: z__namespace.string().describe("API URL to access this chat via the API."),
|
|
1392
|
+
latestVersion: z__namespace.strictObject({
|
|
1393
|
+
id: z__namespace.string().describe("A unique identifier for the version."),
|
|
1394
|
+
object: z__namespace.enum([
|
|
1395
|
+
"version"
|
|
1396
|
+
]).describe("Fixed value identifying this object as a version."),
|
|
1397
|
+
status: z__namespace.enum([
|
|
1398
|
+
"completed",
|
|
1399
|
+
"failed",
|
|
1400
|
+
"pending"
|
|
1401
|
+
]).describe("The current status of the version generation process."),
|
|
1402
|
+
demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
|
|
1403
|
+
screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
|
|
1404
|
+
createdAt: z__namespace.iso.datetime({
|
|
1405
|
+
offset: true
|
|
1406
|
+
}).describe("The date and time when the version was created, in ISO 8601 format."),
|
|
1407
|
+
updatedAt: z__namespace.iso.datetime({
|
|
1408
|
+
offset: true
|
|
1409
|
+
}).optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
|
|
1410
|
+
darkScreenshotUrl: z__namespace.string().optional().describe("URL to retrieve a dark mode screenshot of this version.")
|
|
1411
|
+
}).optional().describe("The most recent generated version of the chat, if available."),
|
|
1412
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.string()).describe("Arbitrary key-value data associated with this chat.")
|
|
1413
|
+
}))
|
|
1414
|
+
});
|
|
1415
|
+
const chatsFindStatus401Schema = unauthorizedErrorSchema;
|
|
1416
|
+
const chatsFindStatus403Schema = forbiddenErrorSchema;
|
|
1417
|
+
const chatsFindStatus404Schema = notFoundErrorSchema;
|
|
1418
|
+
const chatsFindStatus409Schema = conflictErrorSchema;
|
|
1419
|
+
const chatsFindStatus413Schema = payloadTooLargeErrorSchema;
|
|
1420
|
+
const chatsFindStatus422Schema = unprocessableEntityErrorSchema;
|
|
1421
|
+
const chatsFindStatus429Schema = tooManyRequestsErrorSchema;
|
|
1422
|
+
const chatsFindStatus500Schema = internalServerErrorSchema;
|
|
1254
1423
|
const chatsFindResponseSchema = chatsFindStatus200Schema;
|
|
1255
1424
|
const chatsFindErrorSchema = z__namespace.union([
|
|
1256
1425
|
chatsFindStatus401Schema,
|
|
@@ -1262,15 +1431,26 @@ const chatsFindErrorSchema = z__namespace.union([
|
|
|
1262
1431
|
chatsFindStatus429Schema,
|
|
1263
1432
|
chatsFindStatus500Schema
|
|
1264
1433
|
]);
|
|
1265
|
-
const
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1434
|
+
const chatsFindQuerySchema = z__namespace.object({
|
|
1435
|
+
limit: z__namespace.number().max(60).optional().default(60).describe("Specifies the maximum number of chat records to return in a single response. Useful for paginating results when there are many chats."),
|
|
1436
|
+
offset: z__namespace.number().optional().default(0).describe("Determines the starting point for pagination. Used in conjunction with limit to retrieve a specific page of chat results."),
|
|
1437
|
+
isFavorite: z__namespace.enum([
|
|
1438
|
+
"true",
|
|
1439
|
+
"false"
|
|
1440
|
+
]).optional().describe('Filters chats by their "favorite" status. Accepts `"true"` or `"false"` (as strings, not booleans).\n\n- `"true"`: returns only chats marked as favorites.\n- `"false"`: returns only non-favorite chats.'),
|
|
1441
|
+
vercelProjectId: z__namespace.string().optional().describe("Filters chats by the linked Vercel project ID. Only returns chats associated with the specified Vercel project."),
|
|
1442
|
+
branch: z__namespace.string().optional().describe("Filters chats by the Git branch name. Only returns chats that have an active Git connection with the specified branch as the head."),
|
|
1443
|
+
metadata: z__namespace.record(z__namespace.string().min(1).max(40), z__namespace.string().max(500)).optional().describe("Filters chats by metadata. Returns chats matching every supplied key-value pair.")
|
|
1444
|
+
});
|
|
1445
|
+
const chatsInitStatus200Schema = chatDetailSchema.describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
1446
|
+
const chatsInitStatus401Schema = unauthorizedErrorSchema;
|
|
1447
|
+
const chatsInitStatus403Schema = forbiddenErrorSchema;
|
|
1448
|
+
const chatsInitStatus404Schema = notFoundErrorSchema;
|
|
1449
|
+
const chatsInitStatus409Schema = conflictErrorSchema;
|
|
1450
|
+
const chatsInitStatus413Schema = payloadTooLargeErrorSchema;
|
|
1451
|
+
const chatsInitStatus422Schema = unprocessableEntityErrorSchema;
|
|
1452
|
+
const chatsInitStatus429Schema = tooManyRequestsErrorSchema;
|
|
1453
|
+
const chatsInitStatus500Schema = internalServerErrorSchema;
|
|
1274
1454
|
const chatsInitResponseSchema = chatsInitStatus200Schema;
|
|
1275
1455
|
const chatsInitErrorSchema = z__namespace.union([
|
|
1276
1456
|
chatsInitStatus401Schema,
|
|
@@ -1282,16 +1462,86 @@ const chatsInitErrorSchema = z__namespace.union([
|
|
|
1282
1462
|
chatsInitStatus429Schema,
|
|
1283
1463
|
chatsInitStatus500Schema
|
|
1284
1464
|
]);
|
|
1465
|
+
const chatsInitBodySchema = z__namespace.strictObject({
|
|
1466
|
+
name: z__namespace.string().optional().describe("A user-defined name for the chat. Helps identify or describe the purpose of the chat session in the UI or API responses."),
|
|
1467
|
+
chatPrivacy: z__namespace.enum([
|
|
1468
|
+
"public",
|
|
1469
|
+
"private",
|
|
1470
|
+
"team-edit",
|
|
1471
|
+
"team",
|
|
1472
|
+
"unlisted"
|
|
1473
|
+
]).optional().default("private").describe("Controls the visibility of the chat. Defines whether the chat is private, shared with a team, or publicly accessible."),
|
|
1474
|
+
projectId: z__namespace.string().optional().describe("Associates the chat with a specific project. Useful for organizing and grouping chats in a workspace."),
|
|
1475
|
+
metadata: z__namespace.record(z__namespace.string().min(1).max(40), z__namespace.string().max(500)).optional().default({}).describe("Arbitrary key-value data to attach to the chat. Useful for storing additional data about the chat, such as external user IDs.")
|
|
1476
|
+
}).and(z__namespace.discriminatedUnion("type", [
|
|
1477
|
+
z__namespace.strictObject({
|
|
1478
|
+
type: z__namespace.enum([
|
|
1479
|
+
"files"
|
|
1480
|
+
]).describe("Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat."),
|
|
1481
|
+
files: z__namespace.array(z__namespace.union([
|
|
1482
|
+
z__namespace.strictObject({
|
|
1483
|
+
name: z__namespace.string(),
|
|
1484
|
+
url: z__namespace.string(),
|
|
1485
|
+
locked: z__namespace.boolean().optional().describe("Whether to lock this file to prevent AI from overwriting it during generation")
|
|
1486
|
+
}),
|
|
1487
|
+
z__namespace.strictObject({
|
|
1488
|
+
name: z__namespace.string(),
|
|
1489
|
+
content: z__namespace.string(),
|
|
1490
|
+
locked: z__namespace.boolean().optional().describe("Whether to lock this file to prevent AI from overwriting it during generation")
|
|
1491
|
+
})
|
|
1492
|
+
])).describe("An array of inline file objects used to initialize the chat. Each object must contain a file `name` and its `content`.")
|
|
1493
|
+
}),
|
|
1494
|
+
z__namespace.strictObject({
|
|
1495
|
+
type: z__namespace.enum([
|
|
1496
|
+
"repo"
|
|
1497
|
+
]).describe("Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat."),
|
|
1498
|
+
repo: z__namespace.strictObject({
|
|
1499
|
+
url: z__namespace.string(),
|
|
1500
|
+
branch: z__namespace.string().max(250).optional()
|
|
1501
|
+
}).describe("Specifies a repository source for initialization. Supports both public and private GitHub repositories. For private repositories, ensure your GitHub account is connected through Vercel."),
|
|
1502
|
+
lockAllFiles: z__namespace.boolean().optional().describe("Whether to lock all files in the repository to prevent AI from overwriting them during generation")
|
|
1503
|
+
}),
|
|
1504
|
+
z__namespace.strictObject({
|
|
1505
|
+
type: z__namespace.enum([
|
|
1506
|
+
"registry"
|
|
1507
|
+
]).describe("Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat."),
|
|
1508
|
+
registry: z__namespace.strictObject({
|
|
1509
|
+
url: z__namespace.string()
|
|
1510
|
+
}).describe("Allows initialization from a predefined component or code registry. Includes the registry source and identifier for the desired component/module."),
|
|
1511
|
+
lockAllFiles: z__namespace.boolean().optional().describe("Whether to lock all files from the registry to prevent AI from overwriting them during generation")
|
|
1512
|
+
}),
|
|
1513
|
+
z__namespace.strictObject({
|
|
1514
|
+
type: z__namespace.enum([
|
|
1515
|
+
"zip"
|
|
1516
|
+
]).describe("Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat."),
|
|
1517
|
+
zip: z__namespace.strictObject({
|
|
1518
|
+
url: z__namespace.url()
|
|
1519
|
+
}).describe("Provides a zipped bundle of files as the input source. Typically includes a base64-encoded archive or a remote URL reference."),
|
|
1520
|
+
lockAllFiles: z__namespace.boolean().optional().describe("Whether to lock all files from the zip archive to prevent AI from overwriting them during generation")
|
|
1521
|
+
}),
|
|
1522
|
+
z__namespace.strictObject({
|
|
1523
|
+
type: z__namespace.enum([
|
|
1524
|
+
"template"
|
|
1525
|
+
]).describe("Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat."),
|
|
1526
|
+
templateId: z__namespace.string().describe("The ID of the template to initialize the chat from. This should be a valid template ID from the v0 template system.")
|
|
1527
|
+
})
|
|
1528
|
+
]));
|
|
1285
1529
|
const chatsDeletePathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to delete. This must be passed as a path parameter in the URL.");
|
|
1286
|
-
const chatsDeleteStatus200Schema = z__namespace.
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
const
|
|
1294
|
-
const
|
|
1530
|
+
const chatsDeleteStatus200Schema = z__namespace.strictObject({
|
|
1531
|
+
id: z__namespace.string(),
|
|
1532
|
+
object: z__namespace.enum([
|
|
1533
|
+
"chat"
|
|
1534
|
+
]),
|
|
1535
|
+
deleted: z__namespace.literal(true)
|
|
1536
|
+
});
|
|
1537
|
+
const chatsDeleteStatus401Schema = unauthorizedErrorSchema;
|
|
1538
|
+
const chatsDeleteStatus403Schema = forbiddenErrorSchema;
|
|
1539
|
+
const chatsDeleteStatus404Schema = notFoundErrorSchema;
|
|
1540
|
+
const chatsDeleteStatus409Schema = conflictErrorSchema;
|
|
1541
|
+
const chatsDeleteStatus413Schema = payloadTooLargeErrorSchema;
|
|
1542
|
+
const chatsDeleteStatus422Schema = unprocessableEntityErrorSchema;
|
|
1543
|
+
const chatsDeleteStatus429Schema = tooManyRequestsErrorSchema;
|
|
1544
|
+
const chatsDeleteStatus500Schema = internalServerErrorSchema;
|
|
1295
1545
|
const chatsDeleteResponseSchema = chatsDeleteStatus200Schema;
|
|
1296
1546
|
const chatsDeleteErrorSchema = z__namespace.union([
|
|
1297
1547
|
chatsDeleteStatus401Schema,
|
|
@@ -1303,16 +1553,19 @@ const chatsDeleteErrorSchema = z__namespace.union([
|
|
|
1303
1553
|
chatsDeleteStatus429Schema,
|
|
1304
1554
|
chatsDeleteStatus500Schema
|
|
1305
1555
|
]);
|
|
1556
|
+
const chatsDeletePathSchema = z__namespace.object({
|
|
1557
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to delete. This must be passed as a path parameter in the URL.")
|
|
1558
|
+
});
|
|
1306
1559
|
const chatsGetByIdPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to retrieve. Must be provided as a path parameter.");
|
|
1307
|
-
const chatsGetByIdStatus200Schema =
|
|
1308
|
-
const chatsGetByIdStatus401Schema =
|
|
1309
|
-
const chatsGetByIdStatus403Schema =
|
|
1310
|
-
const chatsGetByIdStatus404Schema =
|
|
1311
|
-
const chatsGetByIdStatus409Schema =
|
|
1312
|
-
const chatsGetByIdStatus413Schema =
|
|
1313
|
-
const chatsGetByIdStatus422Schema =
|
|
1314
|
-
const chatsGetByIdStatus429Schema =
|
|
1315
|
-
const chatsGetByIdStatus500Schema =
|
|
1560
|
+
const chatsGetByIdStatus200Schema = chatDetailSchema.describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
1561
|
+
const chatsGetByIdStatus401Schema = unauthorizedErrorSchema;
|
|
1562
|
+
const chatsGetByIdStatus403Schema = forbiddenErrorSchema;
|
|
1563
|
+
const chatsGetByIdStatus404Schema = notFoundErrorSchema;
|
|
1564
|
+
const chatsGetByIdStatus409Schema = conflictErrorSchema;
|
|
1565
|
+
const chatsGetByIdStatus413Schema = payloadTooLargeErrorSchema;
|
|
1566
|
+
const chatsGetByIdStatus422Schema = unprocessableEntityErrorSchema;
|
|
1567
|
+
const chatsGetByIdStatus429Schema = tooManyRequestsErrorSchema;
|
|
1568
|
+
const chatsGetByIdStatus500Schema = internalServerErrorSchema;
|
|
1316
1569
|
const chatsGetByIdResponseSchema = chatsGetByIdStatus200Schema;
|
|
1317
1570
|
const chatsGetByIdErrorSchema = z__namespace.union([
|
|
1318
1571
|
chatsGetByIdStatus401Schema,
|
|
@@ -1324,16 +1577,19 @@ const chatsGetByIdErrorSchema = z__namespace.union([
|
|
|
1324
1577
|
chatsGetByIdStatus429Schema,
|
|
1325
1578
|
chatsGetByIdStatus500Schema
|
|
1326
1579
|
]);
|
|
1580
|
+
const chatsGetByIdPathSchema = z__namespace.object({
|
|
1581
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to retrieve. Must be provided as a path parameter.")
|
|
1582
|
+
});
|
|
1327
1583
|
const chatsUpdatePathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to update. Provided as a path parameter.");
|
|
1328
|
-
const chatsUpdateStatus200Schema =
|
|
1329
|
-
const chatsUpdateStatus401Schema =
|
|
1330
|
-
const chatsUpdateStatus403Schema =
|
|
1331
|
-
const chatsUpdateStatus404Schema =
|
|
1332
|
-
const chatsUpdateStatus409Schema =
|
|
1333
|
-
const chatsUpdateStatus413Schema =
|
|
1334
|
-
const chatsUpdateStatus422Schema =
|
|
1335
|
-
const chatsUpdateStatus429Schema =
|
|
1336
|
-
const chatsUpdateStatus500Schema =
|
|
1584
|
+
const chatsUpdateStatus200Schema = chatDetailSchema.describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
1585
|
+
const chatsUpdateStatus401Schema = unauthorizedErrorSchema;
|
|
1586
|
+
const chatsUpdateStatus403Schema = forbiddenErrorSchema;
|
|
1587
|
+
const chatsUpdateStatus404Schema = notFoundErrorSchema;
|
|
1588
|
+
const chatsUpdateStatus409Schema = conflictErrorSchema;
|
|
1589
|
+
const chatsUpdateStatus413Schema = payloadTooLargeErrorSchema;
|
|
1590
|
+
const chatsUpdateStatus422Schema = unprocessableEntityErrorSchema;
|
|
1591
|
+
const chatsUpdateStatus429Schema = tooManyRequestsErrorSchema;
|
|
1592
|
+
const chatsUpdateStatus500Schema = internalServerErrorSchema;
|
|
1337
1593
|
const chatsUpdateResponseSchema = chatsUpdateStatus200Schema;
|
|
1338
1594
|
const chatsUpdateErrorSchema = z__namespace.union([
|
|
1339
1595
|
chatsUpdateStatus401Schema,
|
|
@@ -1345,16 +1601,42 @@ const chatsUpdateErrorSchema = z__namespace.union([
|
|
|
1345
1601
|
chatsUpdateStatus429Schema,
|
|
1346
1602
|
chatsUpdateStatus500Schema
|
|
1347
1603
|
]);
|
|
1604
|
+
const chatsUpdateBodySchema = z__namespace.strictObject({
|
|
1605
|
+
name: z__namespace.string().optional().describe("A new name to assign to the chat. Helps with identification and organization."),
|
|
1606
|
+
privacy: z__namespace.enum([
|
|
1607
|
+
"private",
|
|
1608
|
+
"public",
|
|
1609
|
+
"team",
|
|
1610
|
+
"team-edit",
|
|
1611
|
+
"unlisted"
|
|
1612
|
+
]).optional().describe("Sets the privacy level of the chat."),
|
|
1613
|
+
metadata: z__namespace.union([
|
|
1614
|
+
z__namespace.record(z__namespace.string().min(1).max(40), z__namespace.union([
|
|
1615
|
+
z__namespace.string().max(500),
|
|
1616
|
+
z__namespace.null()
|
|
1617
|
+
])),
|
|
1618
|
+
z__namespace.null()
|
|
1619
|
+
]).optional().describe("Arbitrary key-value data to attach to the chat. Useful for storing additional data about the chat, such as external user IDs. Metadata added will be merged with existing attributes. Pass `null` as the value to delete a specific key, or pass `null` instead of an object to delete all existing metadata.")
|
|
1620
|
+
});
|
|
1621
|
+
const chatsUpdatePathSchema = z__namespace.object({
|
|
1622
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to update. Provided as a path parameter.")
|
|
1623
|
+
});
|
|
1348
1624
|
const chatsFavoritePathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to update. Provided as a path parameter.");
|
|
1349
|
-
const chatsFavoriteStatus200Schema = z__namespace.
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
const
|
|
1357
|
-
const
|
|
1625
|
+
const chatsFavoriteStatus200Schema = z__namespace.strictObject({
|
|
1626
|
+
id: z__namespace.string(),
|
|
1627
|
+
object: z__namespace.enum([
|
|
1628
|
+
"chat"
|
|
1629
|
+
]),
|
|
1630
|
+
favorited: z__namespace.boolean()
|
|
1631
|
+
});
|
|
1632
|
+
const chatsFavoriteStatus401Schema = unauthorizedErrorSchema;
|
|
1633
|
+
const chatsFavoriteStatus403Schema = forbiddenErrorSchema;
|
|
1634
|
+
const chatsFavoriteStatus404Schema = notFoundErrorSchema;
|
|
1635
|
+
const chatsFavoriteStatus409Schema = conflictErrorSchema;
|
|
1636
|
+
const chatsFavoriteStatus413Schema = payloadTooLargeErrorSchema;
|
|
1637
|
+
const chatsFavoriteStatus422Schema = unprocessableEntityErrorSchema;
|
|
1638
|
+
const chatsFavoriteStatus429Schema = tooManyRequestsErrorSchema;
|
|
1639
|
+
const chatsFavoriteStatus500Schema = internalServerErrorSchema;
|
|
1358
1640
|
const chatsFavoriteResponseSchema = chatsFavoriteStatus200Schema;
|
|
1359
1641
|
const chatsFavoriteErrorSchema = z__namespace.union([
|
|
1360
1642
|
chatsFavoriteStatus401Schema,
|
|
@@ -1366,16 +1648,22 @@ const chatsFavoriteErrorSchema = z__namespace.union([
|
|
|
1366
1648
|
chatsFavoriteStatus429Schema,
|
|
1367
1649
|
chatsFavoriteStatus500Schema
|
|
1368
1650
|
]);
|
|
1651
|
+
const chatsFavoriteBodySchema = z__namespace.strictObject({
|
|
1652
|
+
isFavorite: z__namespace.boolean().describe('Specifies whether the chat should be marked as a favorite.\n\n- `"true"`: mark as favorite\n- `"false"`: remove from favorites')
|
|
1653
|
+
});
|
|
1654
|
+
const chatsFavoritePathSchema = z__namespace.object({
|
|
1655
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to update. Provided as a path parameter.")
|
|
1656
|
+
});
|
|
1369
1657
|
const chatsForkPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to fork. Provided as a path parameter.");
|
|
1370
|
-
const chatsForkStatus200Schema =
|
|
1371
|
-
const chatsForkStatus401Schema =
|
|
1372
|
-
const chatsForkStatus403Schema =
|
|
1373
|
-
const chatsForkStatus404Schema =
|
|
1374
|
-
const chatsForkStatus409Schema =
|
|
1375
|
-
const chatsForkStatus413Schema =
|
|
1376
|
-
const chatsForkStatus422Schema =
|
|
1377
|
-
const chatsForkStatus429Schema =
|
|
1378
|
-
const chatsForkStatus500Schema =
|
|
1658
|
+
const chatsForkStatus200Schema = chatDetailSchema.describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
1659
|
+
const chatsForkStatus401Schema = unauthorizedErrorSchema;
|
|
1660
|
+
const chatsForkStatus403Schema = forbiddenErrorSchema;
|
|
1661
|
+
const chatsForkStatus404Schema = notFoundErrorSchema;
|
|
1662
|
+
const chatsForkStatus409Schema = conflictErrorSchema;
|
|
1663
|
+
const chatsForkStatus413Schema = payloadTooLargeErrorSchema;
|
|
1664
|
+
const chatsForkStatus422Schema = unprocessableEntityErrorSchema;
|
|
1665
|
+
const chatsForkStatus429Schema = tooManyRequestsErrorSchema;
|
|
1666
|
+
const chatsForkStatus500Schema = internalServerErrorSchema;
|
|
1379
1667
|
const chatsForkResponseSchema = chatsForkStatus200Schema;
|
|
1380
1668
|
const chatsForkErrorSchema = z__namespace.union([
|
|
1381
1669
|
chatsForkStatus401Schema,
|
|
@@ -1387,16 +1675,29 @@ const chatsForkErrorSchema = z__namespace.union([
|
|
|
1387
1675
|
chatsForkStatus429Schema,
|
|
1388
1676
|
chatsForkStatus500Schema
|
|
1389
1677
|
]);
|
|
1678
|
+
const chatsForkBodySchema = z__namespace.strictObject({
|
|
1679
|
+
versionId: z__namespace.string().max(32).optional().describe("The identifier of the specific chat version to fork from. If omitted, the latest version will be used."),
|
|
1680
|
+
privacy: z__namespace.enum([
|
|
1681
|
+
"private",
|
|
1682
|
+
"public",
|
|
1683
|
+
"team",
|
|
1684
|
+
"team-edit",
|
|
1685
|
+
"unlisted"
|
|
1686
|
+
]).optional().default("private").describe("Determines the privacy setting of the forked chat. This can control whether the chat is visible only to the user, to team members, or is public.")
|
|
1687
|
+
});
|
|
1688
|
+
const chatsForkPathSchema = z__namespace.object({
|
|
1689
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to fork. Provided as a path parameter.")
|
|
1690
|
+
});
|
|
1390
1691
|
const projectsGetByChatIdPathChatIdSchema = z__namespace.string().describe("The ID of the chat to retrieve the associated project for.");
|
|
1391
|
-
const projectsGetByChatIdStatus200Schema =
|
|
1392
|
-
const projectsGetByChatIdStatus401Schema =
|
|
1393
|
-
const projectsGetByChatIdStatus403Schema =
|
|
1394
|
-
const projectsGetByChatIdStatus404Schema =
|
|
1395
|
-
const projectsGetByChatIdStatus409Schema =
|
|
1396
|
-
const projectsGetByChatIdStatus413Schema =
|
|
1397
|
-
const projectsGetByChatIdStatus422Schema =
|
|
1398
|
-
const projectsGetByChatIdStatus429Schema =
|
|
1399
|
-
const projectsGetByChatIdStatus500Schema =
|
|
1692
|
+
const projectsGetByChatIdStatus200Schema = projectDetailSchema.describe("Full representation of a project, including its associated chats.");
|
|
1693
|
+
const projectsGetByChatIdStatus401Schema = unauthorizedErrorSchema;
|
|
1694
|
+
const projectsGetByChatIdStatus403Schema = forbiddenErrorSchema;
|
|
1695
|
+
const projectsGetByChatIdStatus404Schema = notFoundErrorSchema;
|
|
1696
|
+
const projectsGetByChatIdStatus409Schema = conflictErrorSchema;
|
|
1697
|
+
const projectsGetByChatIdStatus413Schema = payloadTooLargeErrorSchema;
|
|
1698
|
+
const projectsGetByChatIdStatus422Schema = unprocessableEntityErrorSchema;
|
|
1699
|
+
const projectsGetByChatIdStatus429Schema = tooManyRequestsErrorSchema;
|
|
1700
|
+
const projectsGetByChatIdStatus500Schema = internalServerErrorSchema;
|
|
1400
1701
|
const projectsGetByChatIdResponseSchema = projectsGetByChatIdStatus200Schema;
|
|
1401
1702
|
const projectsGetByChatIdErrorSchema = z__namespace.union([
|
|
1402
1703
|
projectsGetByChatIdStatus401Schema,
|
|
@@ -1408,18 +1709,31 @@ const projectsGetByChatIdErrorSchema = z__namespace.union([
|
|
|
1408
1709
|
projectsGetByChatIdStatus429Schema,
|
|
1409
1710
|
projectsGetByChatIdStatus500Schema
|
|
1410
1711
|
]);
|
|
1712
|
+
const projectsGetByChatIdPathSchema = z__namespace.object({
|
|
1713
|
+
chatId: z__namespace.string().describe("The ID of the chat to retrieve the associated project for.")
|
|
1714
|
+
});
|
|
1411
1715
|
const chatsFindMessagesPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to retrieve messages for. Provided as a path parameter.");
|
|
1412
1716
|
const chatsFindMessagesQueryLimitSchema = z__namespace.number().min(1).max(150).optional().default(20).describe("Specifies the maximum number of message records to return in a single response. Useful for paginating results when there are many messages.");
|
|
1413
1717
|
const chatsFindMessagesQueryCursorSchema = z__namespace.string().optional().describe("Base64 encoded cursor containing pagination data");
|
|
1414
|
-
const chatsFindMessagesStatus200Schema = z__namespace.
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1718
|
+
const chatsFindMessagesStatus200Schema = z__namespace.strictObject({
|
|
1719
|
+
object: z__namespace.enum([
|
|
1720
|
+
"list"
|
|
1721
|
+
]),
|
|
1722
|
+
data: z__namespace.array(messageSummarySchema),
|
|
1723
|
+
pagination: z__namespace.strictObject({
|
|
1724
|
+
hasMore: z__namespace.boolean(),
|
|
1725
|
+
nextCursor: z__namespace.string().optional(),
|
|
1726
|
+
nextUrl: z__namespace.string().optional()
|
|
1727
|
+
})
|
|
1728
|
+
});
|
|
1729
|
+
const chatsFindMessagesStatus401Schema = unauthorizedErrorSchema;
|
|
1730
|
+
const chatsFindMessagesStatus403Schema = forbiddenErrorSchema;
|
|
1731
|
+
const chatsFindMessagesStatus404Schema = notFoundErrorSchema;
|
|
1732
|
+
const chatsFindMessagesStatus409Schema = conflictErrorSchema;
|
|
1733
|
+
const chatsFindMessagesStatus413Schema = payloadTooLargeErrorSchema;
|
|
1734
|
+
const chatsFindMessagesStatus422Schema = unprocessableEntityErrorSchema;
|
|
1735
|
+
const chatsFindMessagesStatus429Schema = tooManyRequestsErrorSchema;
|
|
1736
|
+
const chatsFindMessagesStatus500Schema = internalServerErrorSchema;
|
|
1423
1737
|
const chatsFindMessagesResponseSchema = chatsFindMessagesStatus200Schema;
|
|
1424
1738
|
const chatsFindMessagesErrorSchema = z__namespace.union([
|
|
1425
1739
|
chatsFindMessagesStatus401Schema,
|
|
@@ -1431,16 +1745,23 @@ const chatsFindMessagesErrorSchema = z__namespace.union([
|
|
|
1431
1745
|
chatsFindMessagesStatus429Schema,
|
|
1432
1746
|
chatsFindMessagesStatus500Schema
|
|
1433
1747
|
]);
|
|
1748
|
+
const chatsFindMessagesPathSchema = z__namespace.object({
|
|
1749
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to retrieve messages for. Provided as a path parameter.")
|
|
1750
|
+
});
|
|
1751
|
+
const chatsFindMessagesQuerySchema = z__namespace.object({
|
|
1752
|
+
limit: z__namespace.number().min(1).max(150).optional().default(20).describe("Specifies the maximum number of message records to return in a single response. Useful for paginating results when there are many messages."),
|
|
1753
|
+
cursor: z__namespace.string().optional().describe("Base64 encoded cursor containing pagination data")
|
|
1754
|
+
});
|
|
1434
1755
|
const chatsSendMessagePathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to send the message to. Provided as a path parameter.");
|
|
1435
|
-
const chatsSendMessageStatus200Schema =
|
|
1436
|
-
const chatsSendMessageStatus401Schema =
|
|
1437
|
-
const chatsSendMessageStatus403Schema =
|
|
1438
|
-
const chatsSendMessageStatus404Schema =
|
|
1439
|
-
const chatsSendMessageStatus409Schema =
|
|
1440
|
-
const chatsSendMessageStatus413Schema =
|
|
1441
|
-
const chatsSendMessageStatus422Schema =
|
|
1442
|
-
const chatsSendMessageStatus429Schema =
|
|
1443
|
-
const chatsSendMessageStatus500Schema =
|
|
1756
|
+
const chatsSendMessageStatus200Schema = chatDetailSchema.describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
1757
|
+
const chatsSendMessageStatus401Schema = unauthorizedErrorSchema;
|
|
1758
|
+
const chatsSendMessageStatus403Schema = forbiddenErrorSchema;
|
|
1759
|
+
const chatsSendMessageStatus404Schema = notFoundErrorSchema;
|
|
1760
|
+
const chatsSendMessageStatus409Schema = conflictErrorSchema;
|
|
1761
|
+
const chatsSendMessageStatus413Schema = payloadTooLargeErrorSchema;
|
|
1762
|
+
const chatsSendMessageStatus422Schema = unprocessableEntityErrorSchema;
|
|
1763
|
+
const chatsSendMessageStatus429Schema = tooManyRequestsErrorSchema;
|
|
1764
|
+
const chatsSendMessageStatus500Schema = internalServerErrorSchema;
|
|
1444
1765
|
const chatsSendMessageResponseSchema = chatsSendMessageStatus200Schema;
|
|
1445
1766
|
const chatsSendMessageErrorSchema = z__namespace.union([
|
|
1446
1767
|
chatsSendMessageStatus401Schema,
|
|
@@ -1452,17 +1773,81 @@ const chatsSendMessageErrorSchema = z__namespace.union([
|
|
|
1452
1773
|
chatsSendMessageStatus429Schema,
|
|
1453
1774
|
chatsSendMessageStatus500Schema
|
|
1454
1775
|
]);
|
|
1776
|
+
const chatsSendMessageBodySchema = z__namespace.strictObject({
|
|
1777
|
+
message: z__namespace.string().describe("The prompt or instruction to send to the model as part of the chat."),
|
|
1778
|
+
attachments: z__namespace.array(z__namespace.strictObject({
|
|
1779
|
+
url: z__namespace.string().describe("The URL or data URI of the file or asset to include with the message.")
|
|
1780
|
+
})).optional().default([]).describe("A list of files or assets to include with the message."),
|
|
1781
|
+
system: z__namespace.string().optional().describe("Provides system-level context or background for the chat. This is typically used to specify frameworks, tools, or development environments relevant to the task."),
|
|
1782
|
+
modelConfiguration: z__namespace.strictObject({
|
|
1783
|
+
modelId: z__namespace.string().min(3).max(200).regex(/^[a-z0-9][a-z0-9._-]*\/[a-z0-9][a-z0-9._/-]*$/).optional().default("v0-pro").describe("Model to use for the generation. Use a v0 model ID, or an [AI Gateway](https://vercel.com/ai-gateway/models) model ID in `creator/model` format. Gateway models must support tool calling and Zero Data Retention, and are subject to team model policy; unsupported IDs are rejected. `v0-auto` is deprecated and falls back to `v0-pro`."),
|
|
1784
|
+
imageGenerations: z__namespace.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
|
|
1785
|
+
thinking: z__namespace.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps."),
|
|
1786
|
+
thinkingEffort: z__namespace.union([
|
|
1787
|
+
z__namespace.enum([
|
|
1788
|
+
"none",
|
|
1789
|
+
"minimal",
|
|
1790
|
+
"low",
|
|
1791
|
+
"medium",
|
|
1792
|
+
"high",
|
|
1793
|
+
"max",
|
|
1794
|
+
"xhigh"
|
|
1795
|
+
]),
|
|
1796
|
+
z__namespace.null()
|
|
1797
|
+
]).optional(),
|
|
1798
|
+
fast: z__namespace.boolean().optional()
|
|
1799
|
+
}).optional().describe("Overrides for the model behavior."),
|
|
1800
|
+
responseMode: z__namespace.enum([
|
|
1801
|
+
"async",
|
|
1802
|
+
"experimental_stream",
|
|
1803
|
+
"sync"
|
|
1804
|
+
]).optional().default("sync").describe('Controls how the response is delivered.\n\n- `"sync"`: The response is returned immediately with the HTTP request.\n- `"async"`: Returns a message placeholder immediately; use getById to poll for completion status and final output.\n- `"experimental_stream"`: Returns content parts as Server-Sent Events for real-time streaming.'),
|
|
1805
|
+
mcpServerIds: z__namespace.array(z__namespace.string()).optional().describe("Array of MCP server IDs to enable for this message. When provided, only the specified servers will be used. When omitted, falls back to the user's enabled MCP servers."),
|
|
1806
|
+
attachedSkillIds: z__namespace.array(z__namespace.string()).optional().describe("Array of skill IDs (from skills.sh) to attach to this message. Backwards-compatible alias for `skills` entries of type `remote`. Maximum 3 skills per chat."),
|
|
1807
|
+
skills: z__namespace.array(z__namespace.discriminatedUnion("type", [
|
|
1808
|
+
z__namespace.strictObject({
|
|
1809
|
+
type: z__namespace.enum([
|
|
1810
|
+
"remote"
|
|
1811
|
+
]).describe("Discriminator: a skills.sh skill."),
|
|
1812
|
+
id: z__namespace.string().describe("Skill ID from skills.sh.")
|
|
1813
|
+
}),
|
|
1814
|
+
z__namespace.strictObject({
|
|
1815
|
+
type: z__namespace.enum([
|
|
1816
|
+
"memory"
|
|
1817
|
+
]).describe("Discriminator: a user- or team-scoped memory skill."),
|
|
1818
|
+
scope: z__namespace.enum([
|
|
1819
|
+
"user",
|
|
1820
|
+
"team"
|
|
1821
|
+
]).describe("Whether the skill lives in user or team memory."),
|
|
1822
|
+
skillName: z__namespace.string().describe("Name of the memory skill to attach.")
|
|
1823
|
+
}),
|
|
1824
|
+
z__namespace.strictObject({
|
|
1825
|
+
type: z__namespace.enum([
|
|
1826
|
+
"project"
|
|
1827
|
+
]).describe("Discriminator: a skill defined in the project repo."),
|
|
1828
|
+
skillName: z__namespace.string().describe("Name of the project skill to attach.")
|
|
1829
|
+
})
|
|
1830
|
+
])).optional().describe("Skills to force-attach to this message. Supports skills.sh (`remote`), user/team memory (`memory`), and project (`project`) skills. Merged with `attachedSkillIds`. Maximum 3 skills per chat."),
|
|
1831
|
+
action: z__namespace.strictObject({
|
|
1832
|
+
type: z__namespace.enum([
|
|
1833
|
+
"fix-with-v0"
|
|
1834
|
+
])
|
|
1835
|
+
}).optional().describe("An optional action to perform. Use `fix-with-v0` to trigger automatic error fixing — the message should contain the error logs or context to fix.")
|
|
1836
|
+
});
|
|
1837
|
+
const chatsSendMessagePathSchema = z__namespace.object({
|
|
1838
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to send the message to. Provided as a path parameter.")
|
|
1839
|
+
});
|
|
1455
1840
|
const chatsGetMessagePathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the message. Provided as a path parameter.");
|
|
1456
1841
|
const chatsGetMessagePathMessageIdSchema = z__namespace.string().describe("The unique identifier of the message to retrieve. Provided as a path parameter.");
|
|
1457
|
-
const chatsGetMessageStatus200Schema =
|
|
1458
|
-
const chatsGetMessageStatus401Schema =
|
|
1459
|
-
const chatsGetMessageStatus403Schema =
|
|
1460
|
-
const chatsGetMessageStatus404Schema =
|
|
1461
|
-
const chatsGetMessageStatus409Schema =
|
|
1462
|
-
const chatsGetMessageStatus413Schema =
|
|
1463
|
-
const chatsGetMessageStatus422Schema =
|
|
1464
|
-
const chatsGetMessageStatus429Schema =
|
|
1465
|
-
const chatsGetMessageStatus500Schema =
|
|
1842
|
+
const chatsGetMessageStatus200Schema = messageDetailSchema.describe("Detailed message object extending MessageSummary with chat metadata.");
|
|
1843
|
+
const chatsGetMessageStatus401Schema = unauthorizedErrorSchema;
|
|
1844
|
+
const chatsGetMessageStatus403Schema = forbiddenErrorSchema;
|
|
1845
|
+
const chatsGetMessageStatus404Schema = notFoundErrorSchema;
|
|
1846
|
+
const chatsGetMessageStatus409Schema = conflictErrorSchema;
|
|
1847
|
+
const chatsGetMessageStatus413Schema = payloadTooLargeErrorSchema;
|
|
1848
|
+
const chatsGetMessageStatus422Schema = unprocessableEntityErrorSchema;
|
|
1849
|
+
const chatsGetMessageStatus429Schema = tooManyRequestsErrorSchema;
|
|
1850
|
+
const chatsGetMessageStatus500Schema = internalServerErrorSchema;
|
|
1466
1851
|
const chatsGetMessageResponseSchema = chatsGetMessageStatus200Schema;
|
|
1467
1852
|
const chatsGetMessageErrorSchema = z__namespace.union([
|
|
1468
1853
|
chatsGetMessageStatus401Schema,
|
|
@@ -1474,18 +1859,35 @@ const chatsGetMessageErrorSchema = z__namespace.union([
|
|
|
1474
1859
|
chatsGetMessageStatus429Schema,
|
|
1475
1860
|
chatsGetMessageStatus500Schema
|
|
1476
1861
|
]);
|
|
1862
|
+
const chatsGetMessagePathSchema = z__namespace.object({
|
|
1863
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the message. Provided as a path parameter."),
|
|
1864
|
+
messageId: z__namespace.string().describe("The unique identifier of the message to retrieve. Provided as a path parameter.")
|
|
1865
|
+
});
|
|
1477
1866
|
const chatsFindVersionsPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat to retrieve versions for. Provided as a path parameter.");
|
|
1478
1867
|
const chatsFindVersionsQueryLimitSchema = z__namespace.number().min(1).max(150).optional().default(20).describe("Specifies the maximum number of version records to return in a single response. Useful for paginating results when there are many versions.");
|
|
1479
1868
|
const chatsFindVersionsQueryCursorSchema = z__namespace.string().optional().describe("Base64 encoded cursor containing pagination data");
|
|
1480
|
-
const chatsFindVersionsStatus200Schema = z__namespace.
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1869
|
+
const chatsFindVersionsStatus200Schema = z__namespace.strictObject({
|
|
1870
|
+
object: z__namespace.enum([
|
|
1871
|
+
"list"
|
|
1872
|
+
]),
|
|
1873
|
+
data: z__namespace.array(versionSummarySchema),
|
|
1874
|
+
pagination: z__namespace.strictObject({
|
|
1875
|
+
hasMore: z__namespace.boolean(),
|
|
1876
|
+
nextCursor: z__namespace.string().optional(),
|
|
1877
|
+
nextUrl: z__namespace.string().optional()
|
|
1878
|
+
}),
|
|
1879
|
+
meta: z__namespace.strictObject({
|
|
1880
|
+
totalCount: z__namespace.number()
|
|
1881
|
+
})
|
|
1882
|
+
});
|
|
1883
|
+
const chatsFindVersionsStatus401Schema = unauthorizedErrorSchema;
|
|
1884
|
+
const chatsFindVersionsStatus403Schema = forbiddenErrorSchema;
|
|
1885
|
+
const chatsFindVersionsStatus404Schema = notFoundErrorSchema;
|
|
1886
|
+
const chatsFindVersionsStatus409Schema = conflictErrorSchema;
|
|
1887
|
+
const chatsFindVersionsStatus413Schema = payloadTooLargeErrorSchema;
|
|
1888
|
+
const chatsFindVersionsStatus422Schema = unprocessableEntityErrorSchema;
|
|
1889
|
+
const chatsFindVersionsStatus429Schema = tooManyRequestsErrorSchema;
|
|
1890
|
+
const chatsFindVersionsStatus500Schema = internalServerErrorSchema;
|
|
1489
1891
|
const chatsFindVersionsResponseSchema = chatsFindVersionsStatus200Schema;
|
|
1490
1892
|
const chatsFindVersionsErrorSchema = z__namespace.union([
|
|
1491
1893
|
chatsFindVersionsStatus401Schema,
|
|
@@ -1497,21 +1899,28 @@ const chatsFindVersionsErrorSchema = z__namespace.union([
|
|
|
1497
1899
|
chatsFindVersionsStatus429Schema,
|
|
1498
1900
|
chatsFindVersionsStatus500Schema
|
|
1499
1901
|
]);
|
|
1902
|
+
const chatsFindVersionsPathSchema = z__namespace.object({
|
|
1903
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat to retrieve versions for. Provided as a path parameter.")
|
|
1904
|
+
});
|
|
1905
|
+
const chatsFindVersionsQuerySchema = z__namespace.object({
|
|
1906
|
+
limit: z__namespace.number().min(1).max(150).optional().default(20).describe("Specifies the maximum number of version records to return in a single response. Useful for paginating results when there are many versions."),
|
|
1907
|
+
cursor: z__namespace.string().optional().describe("Base64 encoded cursor containing pagination data")
|
|
1908
|
+
});
|
|
1500
1909
|
const chatsGetVersionPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the version. Provided as a path parameter.");
|
|
1501
1910
|
const chatsGetVersionPathVersionIdSchema = z__namespace.string().describe("The unique identifier of the version to retrieve. Provided as a path parameter.");
|
|
1502
1911
|
const chatsGetVersionQueryIncludeDefaultFilesSchema = z__namespace.enum([
|
|
1503
1912
|
"true",
|
|
1504
1913
|
"false"
|
|
1505
1914
|
]).optional().describe("When true, includes all default files (package.json, configuration files, etc.) that would be part of a ZIP download. When false or omitted, returns only the generated source files.");
|
|
1506
|
-
const chatsGetVersionStatus200Schema =
|
|
1507
|
-
const chatsGetVersionStatus401Schema =
|
|
1508
|
-
const chatsGetVersionStatus403Schema =
|
|
1509
|
-
const chatsGetVersionStatus404Schema =
|
|
1510
|
-
const chatsGetVersionStatus409Schema =
|
|
1511
|
-
const chatsGetVersionStatus413Schema =
|
|
1512
|
-
const chatsGetVersionStatus422Schema =
|
|
1513
|
-
const chatsGetVersionStatus429Schema =
|
|
1514
|
-
const chatsGetVersionStatus500Schema =
|
|
1915
|
+
const chatsGetVersionStatus200Schema = versionDetailSchema.describe("Detailed version data including file contents.");
|
|
1916
|
+
const chatsGetVersionStatus401Schema = unauthorizedErrorSchema;
|
|
1917
|
+
const chatsGetVersionStatus403Schema = forbiddenErrorSchema;
|
|
1918
|
+
const chatsGetVersionStatus404Schema = notFoundErrorSchema;
|
|
1919
|
+
const chatsGetVersionStatus409Schema = conflictErrorSchema;
|
|
1920
|
+
const chatsGetVersionStatus413Schema = payloadTooLargeErrorSchema;
|
|
1921
|
+
const chatsGetVersionStatus422Schema = unprocessableEntityErrorSchema;
|
|
1922
|
+
const chatsGetVersionStatus429Schema = tooManyRequestsErrorSchema;
|
|
1923
|
+
const chatsGetVersionStatus500Schema = internalServerErrorSchema;
|
|
1515
1924
|
const chatsGetVersionResponseSchema = chatsGetVersionStatus200Schema;
|
|
1516
1925
|
const chatsGetVersionErrorSchema = z__namespace.union([
|
|
1517
1926
|
chatsGetVersionStatus401Schema,
|
|
@@ -1523,17 +1932,27 @@ const chatsGetVersionErrorSchema = z__namespace.union([
|
|
|
1523
1932
|
chatsGetVersionStatus429Schema,
|
|
1524
1933
|
chatsGetVersionStatus500Schema
|
|
1525
1934
|
]);
|
|
1935
|
+
const chatsGetVersionPathSchema = z__namespace.object({
|
|
1936
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the version. Provided as a path parameter."),
|
|
1937
|
+
versionId: z__namespace.string().describe("The unique identifier of the version to retrieve. Provided as a path parameter.")
|
|
1938
|
+
});
|
|
1939
|
+
const chatsGetVersionQuerySchema = z__namespace.object({
|
|
1940
|
+
includeDefaultFiles: z__namespace.enum([
|
|
1941
|
+
"true",
|
|
1942
|
+
"false"
|
|
1943
|
+
]).optional().describe("When true, includes all default files (package.json, configuration files, etc.) that would be part of a ZIP download. When false or omitted, returns only the generated source files.")
|
|
1944
|
+
});
|
|
1526
1945
|
const chatsUpdateVersionPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the version to update. Provided as a path parameter.");
|
|
1527
1946
|
const chatsUpdateVersionPathVersionIdSchema = z__namespace.string().describe("The unique identifier of the version (block) to update. Provided as a path parameter.");
|
|
1528
|
-
const chatsUpdateVersionStatus200Schema =
|
|
1529
|
-
const chatsUpdateVersionStatus401Schema =
|
|
1530
|
-
const chatsUpdateVersionStatus403Schema =
|
|
1531
|
-
const chatsUpdateVersionStatus404Schema =
|
|
1532
|
-
const chatsUpdateVersionStatus409Schema =
|
|
1533
|
-
const chatsUpdateVersionStatus413Schema =
|
|
1534
|
-
const chatsUpdateVersionStatus422Schema =
|
|
1535
|
-
const chatsUpdateVersionStatus429Schema =
|
|
1536
|
-
const chatsUpdateVersionStatus500Schema =
|
|
1947
|
+
const chatsUpdateVersionStatus200Schema = versionDetailSchema.describe("Detailed version data including file contents.");
|
|
1948
|
+
const chatsUpdateVersionStatus401Schema = unauthorizedErrorSchema;
|
|
1949
|
+
const chatsUpdateVersionStatus403Schema = forbiddenErrorSchema;
|
|
1950
|
+
const chatsUpdateVersionStatus404Schema = notFoundErrorSchema;
|
|
1951
|
+
const chatsUpdateVersionStatus409Schema = conflictErrorSchema;
|
|
1952
|
+
const chatsUpdateVersionStatus413Schema = payloadTooLargeErrorSchema;
|
|
1953
|
+
const chatsUpdateVersionStatus422Schema = unprocessableEntityErrorSchema;
|
|
1954
|
+
const chatsUpdateVersionStatus429Schema = tooManyRequestsErrorSchema;
|
|
1955
|
+
const chatsUpdateVersionStatus500Schema = internalServerErrorSchema;
|
|
1537
1956
|
const chatsUpdateVersionResponseSchema = chatsUpdateVersionStatus200Schema;
|
|
1538
1957
|
const chatsUpdateVersionErrorSchema = z__namespace.union([
|
|
1539
1958
|
chatsUpdateVersionStatus401Schema,
|
|
@@ -1545,6 +1964,17 @@ const chatsUpdateVersionErrorSchema = z__namespace.union([
|
|
|
1545
1964
|
chatsUpdateVersionStatus429Schema,
|
|
1546
1965
|
chatsUpdateVersionStatus500Schema
|
|
1547
1966
|
]);
|
|
1967
|
+
const chatsUpdateVersionBodySchema = z__namespace.strictObject({
|
|
1968
|
+
files: z__namespace.array(z__namespace.strictObject({
|
|
1969
|
+
name: z__namespace.string().describe('The full file path including extension (e.g., "components/test.tsx")'),
|
|
1970
|
+
content: z__namespace.string().describe("The new content for the file"),
|
|
1971
|
+
locked: z__namespace.boolean().optional().describe("Whether to lock or unlock the file to prevent AI from overwriting it during generation")
|
|
1972
|
+
})).describe("Array of files to update with their new content")
|
|
1973
|
+
});
|
|
1974
|
+
const chatsUpdateVersionPathSchema = z__namespace.object({
|
|
1975
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the version to update. Provided as a path parameter."),
|
|
1976
|
+
versionId: z__namespace.string().describe("The unique identifier of the version (block) to update. Provided as a path parameter.")
|
|
1977
|
+
});
|
|
1548
1978
|
const chatsDownloadVersionPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the version. Provided as a path parameter.");
|
|
1549
1979
|
const chatsDownloadVersionPathVersionIdSchema = z__namespace.string().describe("The unique identifier of the version to download. Provided as a path parameter.");
|
|
1550
1980
|
const chatsDownloadVersionQueryFormatSchema = z__namespace.enum([
|
|
@@ -1555,15 +1985,15 @@ const chatsDownloadVersionQueryIncludeDefaultFilesSchema = z__namespace.enum([
|
|
|
1555
1985
|
"true",
|
|
1556
1986
|
"false"
|
|
1557
1987
|
]).optional().describe("When true, includes all default files (package.json, configuration files, etc.) that would be part of a complete deployment. When false or omitted, returns only the generated source files.");
|
|
1558
|
-
const chatsDownloadVersionStatus200Schema = z__namespace.
|
|
1559
|
-
const chatsDownloadVersionStatus401Schema =
|
|
1560
|
-
const chatsDownloadVersionStatus403Schema =
|
|
1561
|
-
const chatsDownloadVersionStatus404Schema =
|
|
1562
|
-
const chatsDownloadVersionStatus409Schema =
|
|
1563
|
-
const chatsDownloadVersionStatus413Schema =
|
|
1564
|
-
const chatsDownloadVersionStatus422Schema =
|
|
1565
|
-
const chatsDownloadVersionStatus429Schema =
|
|
1566
|
-
const chatsDownloadVersionStatus500Schema =
|
|
1988
|
+
const chatsDownloadVersionStatus200Schema = z__namespace.instanceof(File).describe("ZIP archive containing the version files");
|
|
1989
|
+
const chatsDownloadVersionStatus401Schema = unauthorizedErrorSchema;
|
|
1990
|
+
const chatsDownloadVersionStatus403Schema = forbiddenErrorSchema;
|
|
1991
|
+
const chatsDownloadVersionStatus404Schema = notFoundErrorSchema;
|
|
1992
|
+
const chatsDownloadVersionStatus409Schema = conflictErrorSchema;
|
|
1993
|
+
const chatsDownloadVersionStatus413Schema = payloadTooLargeErrorSchema;
|
|
1994
|
+
const chatsDownloadVersionStatus422Schema = unprocessableEntityErrorSchema;
|
|
1995
|
+
const chatsDownloadVersionStatus429Schema = tooManyRequestsErrorSchema;
|
|
1996
|
+
const chatsDownloadVersionStatus500Schema = internalServerErrorSchema;
|
|
1567
1997
|
const chatsDownloadVersionResponseSchema = chatsDownloadVersionStatus200Schema;
|
|
1568
1998
|
const chatsDownloadVersionErrorSchema = z__namespace.union([
|
|
1569
1999
|
chatsDownloadVersionStatus401Schema,
|
|
@@ -1575,17 +2005,31 @@ const chatsDownloadVersionErrorSchema = z__namespace.union([
|
|
|
1575
2005
|
chatsDownloadVersionStatus429Schema,
|
|
1576
2006
|
chatsDownloadVersionStatus500Schema
|
|
1577
2007
|
]);
|
|
2008
|
+
const chatsDownloadVersionPathSchema = z__namespace.object({
|
|
2009
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the version. Provided as a path parameter."),
|
|
2010
|
+
versionId: z__namespace.string().describe("The unique identifier of the version to download. Provided as a path parameter.")
|
|
2011
|
+
});
|
|
2012
|
+
const chatsDownloadVersionQuerySchema = z__namespace.object({
|
|
2013
|
+
format: z__namespace.enum([
|
|
2014
|
+
"zip",
|
|
2015
|
+
"tarball"
|
|
2016
|
+
]).optional().default("zip").describe('The archive format for the download. Choose "zip" for broad compatibility or "tarball" for Unix/Linux systems.'),
|
|
2017
|
+
includeDefaultFiles: z__namespace.enum([
|
|
2018
|
+
"true",
|
|
2019
|
+
"false"
|
|
2020
|
+
]).optional().describe("When true, includes all default files (package.json, configuration files, etc.) that would be part of a complete deployment. When false or omitted, returns only the generated source files.")
|
|
2021
|
+
});
|
|
1578
2022
|
const chatsDeleteVersionFilesPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the version to delete files from.");
|
|
1579
2023
|
const chatsDeleteVersionFilesPathVersionIdSchema = z__namespace.string().describe("The unique identifier of the version (block) to delete files from.");
|
|
1580
|
-
const chatsDeleteVersionFilesStatus200Schema =
|
|
1581
|
-
const chatsDeleteVersionFilesStatus401Schema =
|
|
1582
|
-
const chatsDeleteVersionFilesStatus403Schema =
|
|
1583
|
-
const chatsDeleteVersionFilesStatus404Schema =
|
|
1584
|
-
const chatsDeleteVersionFilesStatus409Schema =
|
|
1585
|
-
const chatsDeleteVersionFilesStatus413Schema =
|
|
1586
|
-
const chatsDeleteVersionFilesStatus422Schema =
|
|
1587
|
-
const chatsDeleteVersionFilesStatus429Schema =
|
|
1588
|
-
const chatsDeleteVersionFilesStatus500Schema =
|
|
2024
|
+
const chatsDeleteVersionFilesStatus200Schema = versionDetailSchema.describe("Detailed version data including file contents.");
|
|
2025
|
+
const chatsDeleteVersionFilesStatus401Schema = unauthorizedErrorSchema;
|
|
2026
|
+
const chatsDeleteVersionFilesStatus403Schema = forbiddenErrorSchema;
|
|
2027
|
+
const chatsDeleteVersionFilesStatus404Schema = notFoundErrorSchema;
|
|
2028
|
+
const chatsDeleteVersionFilesStatus409Schema = conflictErrorSchema;
|
|
2029
|
+
const chatsDeleteVersionFilesStatus413Schema = payloadTooLargeErrorSchema;
|
|
2030
|
+
const chatsDeleteVersionFilesStatus422Schema = unprocessableEntityErrorSchema;
|
|
2031
|
+
const chatsDeleteVersionFilesStatus429Schema = tooManyRequestsErrorSchema;
|
|
2032
|
+
const chatsDeleteVersionFilesStatus500Schema = internalServerErrorSchema;
|
|
1589
2033
|
const chatsDeleteVersionFilesResponseSchema = chatsDeleteVersionFilesStatus200Schema;
|
|
1590
2034
|
const chatsDeleteVersionFilesErrorSchema = z__namespace.union([
|
|
1591
2035
|
chatsDeleteVersionFilesStatus401Schema,
|
|
@@ -1597,17 +2041,24 @@ const chatsDeleteVersionFilesErrorSchema = z__namespace.union([
|
|
|
1597
2041
|
chatsDeleteVersionFilesStatus429Schema,
|
|
1598
2042
|
chatsDeleteVersionFilesStatus500Schema
|
|
1599
2043
|
]);
|
|
2044
|
+
const chatsDeleteVersionFilesBodySchema = z__namespace.strictObject({
|
|
2045
|
+
filePaths: z__namespace.array(z__namespace.string()).describe('Array of file paths to delete (e.g., ["components/test.tsx", "lib/utils.ts"])')
|
|
2046
|
+
});
|
|
2047
|
+
const chatsDeleteVersionFilesPathSchema = z__namespace.object({
|
|
2048
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the version to delete files from."),
|
|
2049
|
+
versionId: z__namespace.string().describe("The unique identifier of the version (block) to delete files from.")
|
|
2050
|
+
});
|
|
1600
2051
|
const chatsResumePathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the message to resume. Provided as a path parameter.");
|
|
1601
2052
|
const chatsResumePathMessageIdSchema = z__namespace.string().describe("The identifier of the specific message to resume. Provided as a path parameter.");
|
|
1602
|
-
const chatsResumeStatus200Schema = z__namespace.
|
|
1603
|
-
const chatsResumeStatus401Schema =
|
|
1604
|
-
const chatsResumeStatus403Schema =
|
|
1605
|
-
const chatsResumeStatus404Schema =
|
|
1606
|
-
const chatsResumeStatus409Schema =
|
|
1607
|
-
const chatsResumeStatus413Schema =
|
|
1608
|
-
const chatsResumeStatus422Schema =
|
|
1609
|
-
const chatsResumeStatus429Schema =
|
|
1610
|
-
const chatsResumeStatus500Schema =
|
|
2053
|
+
const chatsResumeStatus200Schema = z__namespace.string().describe("A Server-Sent Events stream of chat and message delta events.");
|
|
2054
|
+
const chatsResumeStatus401Schema = unauthorizedErrorSchema;
|
|
2055
|
+
const chatsResumeStatus403Schema = forbiddenErrorSchema;
|
|
2056
|
+
const chatsResumeStatus404Schema = notFoundErrorSchema;
|
|
2057
|
+
const chatsResumeStatus409Schema = conflictErrorSchema;
|
|
2058
|
+
const chatsResumeStatus413Schema = payloadTooLargeErrorSchema;
|
|
2059
|
+
const chatsResumeStatus422Schema = unprocessableEntityErrorSchema;
|
|
2060
|
+
const chatsResumeStatus429Schema = tooManyRequestsErrorSchema;
|
|
2061
|
+
const chatsResumeStatus500Schema = internalServerErrorSchema;
|
|
1611
2062
|
const chatsResumeResponseSchema = chatsResumeStatus200Schema;
|
|
1612
2063
|
const chatsResumeErrorSchema = z__namespace.union([
|
|
1613
2064
|
chatsResumeStatus401Schema,
|
|
@@ -1619,17 +2070,23 @@ const chatsResumeErrorSchema = z__namespace.union([
|
|
|
1619
2070
|
chatsResumeStatus429Schema,
|
|
1620
2071
|
chatsResumeStatus500Schema
|
|
1621
2072
|
]);
|
|
2073
|
+
const chatsResumePathSchema = z__namespace.object({
|
|
2074
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the message to resume. Provided as a path parameter."),
|
|
2075
|
+
messageId: z__namespace.string().describe("The identifier of the specific message to resume. Provided as a path parameter.")
|
|
2076
|
+
});
|
|
1622
2077
|
const chatsStopPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the message to stop. Provided as a path parameter.");
|
|
1623
2078
|
const chatsStopPathMessageIdSchema = z__namespace.string().describe("The identifier of the specific message to stop. Provided as a path parameter.");
|
|
1624
|
-
const chatsStopStatus200Schema = z__namespace.
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
const
|
|
1628
|
-
const
|
|
1629
|
-
const
|
|
1630
|
-
const
|
|
1631
|
-
const
|
|
1632
|
-
const
|
|
2079
|
+
const chatsStopStatus200Schema = z__namespace.strictObject({
|
|
2080
|
+
success: z__namespace.literal(true)
|
|
2081
|
+
});
|
|
2082
|
+
const chatsStopStatus401Schema = unauthorizedErrorSchema;
|
|
2083
|
+
const chatsStopStatus403Schema = forbiddenErrorSchema;
|
|
2084
|
+
const chatsStopStatus404Schema = notFoundErrorSchema;
|
|
2085
|
+
const chatsStopStatus409Schema = conflictErrorSchema;
|
|
2086
|
+
const chatsStopStatus413Schema = payloadTooLargeErrorSchema;
|
|
2087
|
+
const chatsStopStatus422Schema = unprocessableEntityErrorSchema;
|
|
2088
|
+
const chatsStopStatus429Schema = tooManyRequestsErrorSchema;
|
|
2089
|
+
const chatsStopStatus500Schema = internalServerErrorSchema;
|
|
1633
2090
|
const chatsStopResponseSchema = chatsStopStatus200Schema;
|
|
1634
2091
|
const chatsStopErrorSchema = z__namespace.union([
|
|
1635
2092
|
chatsStopStatus401Schema,
|
|
@@ -1641,16 +2098,20 @@ const chatsStopErrorSchema = z__namespace.union([
|
|
|
1641
2098
|
chatsStopStatus429Schema,
|
|
1642
2099
|
chatsStopStatus500Schema
|
|
1643
2100
|
]);
|
|
2101
|
+
const chatsStopPathSchema = z__namespace.object({
|
|
2102
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the message to stop. Provided as a path parameter."),
|
|
2103
|
+
messageId: z__namespace.string().describe("The identifier of the specific message to stop. Provided as a path parameter.")
|
|
2104
|
+
});
|
|
1644
2105
|
const chatsResolveTaskPathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the pending task. Provided as a path parameter.");
|
|
1645
|
-
const chatsResolveTaskStatus200Schema =
|
|
1646
|
-
const chatsResolveTaskStatus401Schema =
|
|
1647
|
-
const chatsResolveTaskStatus403Schema =
|
|
1648
|
-
const chatsResolveTaskStatus404Schema =
|
|
1649
|
-
const chatsResolveTaskStatus409Schema =
|
|
1650
|
-
const chatsResolveTaskStatus413Schema =
|
|
1651
|
-
const chatsResolveTaskStatus422Schema =
|
|
1652
|
-
const chatsResolveTaskStatus429Schema =
|
|
1653
|
-
const chatsResolveTaskStatus500Schema =
|
|
2106
|
+
const chatsResolveTaskStatus200Schema = chatDetailSchema.describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
|
|
2107
|
+
const chatsResolveTaskStatus401Schema = unauthorizedErrorSchema;
|
|
2108
|
+
const chatsResolveTaskStatus403Schema = forbiddenErrorSchema;
|
|
2109
|
+
const chatsResolveTaskStatus404Schema = notFoundErrorSchema;
|
|
2110
|
+
const chatsResolveTaskStatus409Schema = conflictErrorSchema;
|
|
2111
|
+
const chatsResolveTaskStatus413Schema = payloadTooLargeErrorSchema;
|
|
2112
|
+
const chatsResolveTaskStatus422Schema = unprocessableEntityErrorSchema;
|
|
2113
|
+
const chatsResolveTaskStatus429Schema = tooManyRequestsErrorSchema;
|
|
2114
|
+
const chatsResolveTaskStatus500Schema = internalServerErrorSchema;
|
|
1654
2115
|
const chatsResolveTaskResponseSchema = chatsResolveTaskStatus200Schema;
|
|
1655
2116
|
const chatsResolveTaskErrorSchema = z__namespace.union([
|
|
1656
2117
|
chatsResolveTaskStatus401Schema,
|
|
@@ -1662,18 +2123,137 @@ const chatsResolveTaskErrorSchema = z__namespace.union([
|
|
|
1662
2123
|
chatsResolveTaskStatus429Schema,
|
|
1663
2124
|
chatsResolveTaskStatus500Schema
|
|
1664
2125
|
]);
|
|
2126
|
+
const chatsResolveTaskBodySchema = z__namespace.strictObject({
|
|
2127
|
+
task: z__namespace.discriminatedUnion("type", [
|
|
2128
|
+
z__namespace.strictObject({
|
|
2129
|
+
type: z__namespace.enum([
|
|
2130
|
+
"confirmed-steps"
|
|
2131
|
+
]),
|
|
2132
|
+
connectedIntegrationNames: z__namespace.array(z__namespace.string().max(2052)).optional().default([]).describe('Names of integrations that were successfully connected (e.g. "Neon"). Pass an empty array to skip.'),
|
|
2133
|
+
connectedNpmRegistryIds: z__namespace.array(z__namespace.string().max(2052)).optional().default([]).describe("Deprecated. npm registry connections are no longer supported; this field is accepted for compatibility and ignored."),
|
|
2134
|
+
connectedMcpPresetNames: z__namespace.array(z__namespace.enum([
|
|
2135
|
+
"Linear",
|
|
2136
|
+
"Notion",
|
|
2137
|
+
"Context7",
|
|
2138
|
+
"Sentry",
|
|
2139
|
+
"Zapier",
|
|
2140
|
+
"Glean",
|
|
2141
|
+
"Hex",
|
|
2142
|
+
"Sanity",
|
|
2143
|
+
"Granola",
|
|
2144
|
+
"PostHog",
|
|
2145
|
+
"Contentful",
|
|
2146
|
+
"Mobbin",
|
|
2147
|
+
"Slack",
|
|
2148
|
+
"Nitrosend",
|
|
2149
|
+
"Datadog"
|
|
2150
|
+
])).optional().default([]).describe('Names of MCP presets that were connected (e.g. "Linear", "Sentry"). Pass an empty array to skip.'),
|
|
2151
|
+
appliedScripts: z__namespace.array(z__namespace.string().min(1)).optional().default([]).describe("Names of scripts that were applied."),
|
|
2152
|
+
addedEnvVars: z__namespace.array(z__namespace.string().min(1)).optional().default([]).describe("Names of environment variables that were added.")
|
|
2153
|
+
}),
|
|
2154
|
+
z__namespace.strictObject({
|
|
2155
|
+
type: z__namespace.enum([
|
|
2156
|
+
"plan-exit-response"
|
|
2157
|
+
]),
|
|
2158
|
+
status: z__namespace.enum([
|
|
2159
|
+
"approved",
|
|
2160
|
+
"rejected",
|
|
2161
|
+
"request-changes"
|
|
2162
|
+
]).describe("Whether the plan is approved, rejected, or needs changes."),
|
|
2163
|
+
content: z__namespace.string().min(1).describe("Feedback or instructions for the agent.")
|
|
2164
|
+
}),
|
|
2165
|
+
z__namespace.strictObject({
|
|
2166
|
+
type: z__namespace.enum([
|
|
2167
|
+
"answered-questions"
|
|
2168
|
+
]),
|
|
2169
|
+
answers: z__namespace.array(z__namespace.strictObject({
|
|
2170
|
+
questionId: z__namespace.string().min(1).describe("The ID of the question being answered."),
|
|
2171
|
+
questionText: z__namespace.string().min(1).describe("The text of the question being answered."),
|
|
2172
|
+
selectedLabels: z__namespace.array(z__namespace.string().min(1)).describe("The labels of the selected options. For single-select questions, pass one item."),
|
|
2173
|
+
customText: z__namespace.string().min(1).optional().describe('Free-form text input, used when the user selects "Other" or wants to add context.')
|
|
2174
|
+
})).describe("Answers to the questions the agent asked.")
|
|
2175
|
+
}),
|
|
2176
|
+
z__namespace.strictObject({
|
|
2177
|
+
type: z__namespace.enum([
|
|
2178
|
+
"confirmed-permissions"
|
|
2179
|
+
]),
|
|
2180
|
+
permissions: z__namespace.array(z__namespace.strictObject({
|
|
2181
|
+
type: z__namespace.enum([
|
|
2182
|
+
"ALLOW_DYNAMIC_TOOL_STRICT"
|
|
2183
|
+
]),
|
|
2184
|
+
toolName: z__namespace.string().min(1).describe("The name of the tool being permitted."),
|
|
2185
|
+
input: z__namespace.unknown().describe("The tool call input arguments. Pass the exact input from the stopped task."),
|
|
2186
|
+
toolDisplayName: z__namespace.union([
|
|
2187
|
+
z__namespace.string().min(1).max(100),
|
|
2188
|
+
z__namespace.null()
|
|
2189
|
+
]).optional().describe("The tool's original human-readable name from the stopped task. Display-only; pass back unchanged. Capped at 100 characters, matching the cap applied when the name is ingested from the server."),
|
|
2190
|
+
taskNameActive: z__namespace.union([
|
|
2191
|
+
z__namespace.string().min(1),
|
|
2192
|
+
z__namespace.null()
|
|
2193
|
+
]).optional().describe('Label shown while the tool is running (e.g. "Running migration").'),
|
|
2194
|
+
taskNameComplete: z__namespace.union([
|
|
2195
|
+
z__namespace.string().min(1),
|
|
2196
|
+
z__namespace.null()
|
|
2197
|
+
]).optional().describe('Label shown after the tool completes (e.g. "Migration complete").'),
|
|
2198
|
+
userMessage: z__namespace.string().min(1).optional().describe("Optional message from the user about this permission.")
|
|
2199
|
+
})).describe("The permissions to grant. Pass the suggestedPermissions from the stopped task."),
|
|
2200
|
+
userMessage: z__namespace.string().min(1).optional().describe("Optional message from the user about the permission grant.")
|
|
2201
|
+
}),
|
|
2202
|
+
z__namespace.strictObject({
|
|
2203
|
+
type: z__namespace.enum([
|
|
2204
|
+
"vercel-connect-setup"
|
|
2205
|
+
])
|
|
2206
|
+
}),
|
|
2207
|
+
z__namespace.strictObject({
|
|
2208
|
+
type: z__namespace.enum([
|
|
2209
|
+
"vercel-connect-authorization"
|
|
2210
|
+
])
|
|
2211
|
+
})
|
|
2212
|
+
]).describe("The task resolution data. Use this when the chat is waiting for user input on the matching task type."),
|
|
2213
|
+
responseMode: z__namespace.enum([
|
|
2214
|
+
"async",
|
|
2215
|
+
"experimental_stream",
|
|
2216
|
+
"sync"
|
|
2217
|
+
]).optional().default("sync").describe('Controls how the response is delivered.\n\n- `"sync"`: The response is returned immediately with the HTTP request.\n- `"async"`: Returns a message placeholder immediately; use getById to poll for completion status and final output.\n- `"experimental_stream"`: Returns content parts as Server-Sent Events for real-time streaming.'),
|
|
2218
|
+
modelConfiguration: z__namespace.strictObject({
|
|
2219
|
+
modelId: z__namespace.string().min(3).max(200).regex(/^[a-z0-9][a-z0-9._-]*\/[a-z0-9][a-z0-9._/-]*$/).optional().default("v0-pro").describe("Model to use for the generation. Use a v0 model ID, or an [AI Gateway](https://vercel.com/ai-gateway/models) model ID in `creator/model` format. Gateway models must support tool calling and Zero Data Retention, and are subject to team model policy; unsupported IDs are rejected. `v0-auto` is deprecated and falls back to `v0-pro`."),
|
|
2220
|
+
imageGenerations: z__namespace.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
|
|
2221
|
+
thinking: z__namespace.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps."),
|
|
2222
|
+
thinkingEffort: z__namespace.union([
|
|
2223
|
+
z__namespace.enum([
|
|
2224
|
+
"none",
|
|
2225
|
+
"minimal",
|
|
2226
|
+
"low",
|
|
2227
|
+
"medium",
|
|
2228
|
+
"high",
|
|
2229
|
+
"max",
|
|
2230
|
+
"xhigh"
|
|
2231
|
+
]),
|
|
2232
|
+
z__namespace.null()
|
|
2233
|
+
]).optional(),
|
|
2234
|
+
fast: z__namespace.boolean().optional()
|
|
2235
|
+
}).optional().describe("Overrides for the model behavior.")
|
|
2236
|
+
});
|
|
2237
|
+
const chatsResolveTaskPathSchema = z__namespace.object({
|
|
2238
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the pending task. Provided as a path parameter.")
|
|
2239
|
+
});
|
|
1665
2240
|
const deploymentsFindQueryProjectIdSchema = z__namespace.string().optional().describe("The ID of the project to find deployments for");
|
|
1666
2241
|
const deploymentsFindQueryChatIdSchema = z__namespace.string().describe("The ID of the chat to find deployments for");
|
|
1667
2242
|
const deploymentsFindQueryVersionIdSchema = z__namespace.string().describe("The ID of the version to find deployments for");
|
|
1668
|
-
const deploymentsFindStatus200Schema = z__namespace.
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
const
|
|
1675
|
-
const
|
|
1676
|
-
const
|
|
2243
|
+
const deploymentsFindStatus200Schema = z__namespace.strictObject({
|
|
2244
|
+
object: z__namespace.enum([
|
|
2245
|
+
"list"
|
|
2246
|
+
]),
|
|
2247
|
+
data: z__namespace.array(deploymentDetailSchema)
|
|
2248
|
+
});
|
|
2249
|
+
const deploymentsFindStatus401Schema = unauthorizedErrorSchema;
|
|
2250
|
+
const deploymentsFindStatus403Schema = forbiddenErrorSchema;
|
|
2251
|
+
const deploymentsFindStatus404Schema = notFoundErrorSchema;
|
|
2252
|
+
const deploymentsFindStatus409Schema = conflictErrorSchema;
|
|
2253
|
+
const deploymentsFindStatus413Schema = payloadTooLargeErrorSchema;
|
|
2254
|
+
const deploymentsFindStatus422Schema = unprocessableEntityErrorSchema;
|
|
2255
|
+
const deploymentsFindStatus429Schema = tooManyRequestsErrorSchema;
|
|
2256
|
+
const deploymentsFindStatus500Schema = internalServerErrorSchema;
|
|
1677
2257
|
const deploymentsFindResponseSchema = deploymentsFindStatus200Schema;
|
|
1678
2258
|
const deploymentsFindErrorSchema = z__namespace.union([
|
|
1679
2259
|
deploymentsFindStatus401Schema,
|
|
@@ -1685,15 +2265,20 @@ const deploymentsFindErrorSchema = z__namespace.union([
|
|
|
1685
2265
|
deploymentsFindStatus429Schema,
|
|
1686
2266
|
deploymentsFindStatus500Schema
|
|
1687
2267
|
]);
|
|
1688
|
-
const
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
const
|
|
1694
|
-
const
|
|
1695
|
-
const
|
|
1696
|
-
const
|
|
2268
|
+
const deploymentsFindQuerySchema = z__namespace.object({
|
|
2269
|
+
projectId: z__namespace.string().optional().describe("The ID of the project to find deployments for"),
|
|
2270
|
+
chatId: z__namespace.string().describe("The ID of the chat to find deployments for"),
|
|
2271
|
+
versionId: z__namespace.string().describe("The ID of the version to find deployments for")
|
|
2272
|
+
});
|
|
2273
|
+
const deploymentsCreateStatus200Schema = deploymentDetailSchema;
|
|
2274
|
+
const deploymentsCreateStatus401Schema = unauthorizedErrorSchema;
|
|
2275
|
+
const deploymentsCreateStatus403Schema = forbiddenErrorSchema;
|
|
2276
|
+
const deploymentsCreateStatus404Schema = notFoundErrorSchema;
|
|
2277
|
+
const deploymentsCreateStatus409Schema = conflictErrorSchema;
|
|
2278
|
+
const deploymentsCreateStatus413Schema = payloadTooLargeErrorSchema;
|
|
2279
|
+
const deploymentsCreateStatus422Schema = unprocessableEntityErrorSchema;
|
|
2280
|
+
const deploymentsCreateStatus429Schema = tooManyRequestsErrorSchema;
|
|
2281
|
+
const deploymentsCreateStatus500Schema = internalServerErrorSchema;
|
|
1697
2282
|
const deploymentsCreateResponseSchema = deploymentsCreateStatus200Schema;
|
|
1698
2283
|
const deploymentsCreateErrorSchema = z__namespace.union([
|
|
1699
2284
|
deploymentsCreateStatus401Schema,
|
|
@@ -1705,16 +2290,21 @@ const deploymentsCreateErrorSchema = z__namespace.union([
|
|
|
1705
2290
|
deploymentsCreateStatus429Schema,
|
|
1706
2291
|
deploymentsCreateStatus500Schema
|
|
1707
2292
|
]);
|
|
2293
|
+
const deploymentsCreateBodySchema = z__namespace.strictObject({
|
|
2294
|
+
projectId: z__namespace.string().optional(),
|
|
2295
|
+
chatId: z__namespace.string(),
|
|
2296
|
+
versionId: z__namespace.string()
|
|
2297
|
+
});
|
|
1708
2298
|
const deploymentsGetByIdPathDeploymentIdSchema = z__namespace.string().describe('Path parameter "deploymentId"');
|
|
1709
|
-
const deploymentsGetByIdStatus200Schema =
|
|
1710
|
-
const deploymentsGetByIdStatus401Schema =
|
|
1711
|
-
const deploymentsGetByIdStatus403Schema =
|
|
1712
|
-
const deploymentsGetByIdStatus404Schema =
|
|
1713
|
-
const deploymentsGetByIdStatus409Schema =
|
|
1714
|
-
const deploymentsGetByIdStatus413Schema =
|
|
1715
|
-
const deploymentsGetByIdStatus422Schema =
|
|
1716
|
-
const deploymentsGetByIdStatus429Schema =
|
|
1717
|
-
const deploymentsGetByIdStatus500Schema =
|
|
2299
|
+
const deploymentsGetByIdStatus200Schema = deploymentDetailSchema;
|
|
2300
|
+
const deploymentsGetByIdStatus401Schema = unauthorizedErrorSchema;
|
|
2301
|
+
const deploymentsGetByIdStatus403Schema = forbiddenErrorSchema;
|
|
2302
|
+
const deploymentsGetByIdStatus404Schema = notFoundErrorSchema;
|
|
2303
|
+
const deploymentsGetByIdStatus409Schema = conflictErrorSchema;
|
|
2304
|
+
const deploymentsGetByIdStatus413Schema = payloadTooLargeErrorSchema;
|
|
2305
|
+
const deploymentsGetByIdStatus422Schema = unprocessableEntityErrorSchema;
|
|
2306
|
+
const deploymentsGetByIdStatus429Schema = tooManyRequestsErrorSchema;
|
|
2307
|
+
const deploymentsGetByIdStatus500Schema = internalServerErrorSchema;
|
|
1718
2308
|
const deploymentsGetByIdResponseSchema = deploymentsGetByIdStatus200Schema;
|
|
1719
2309
|
const deploymentsGetByIdErrorSchema = z__namespace.union([
|
|
1720
2310
|
deploymentsGetByIdStatus401Schema,
|
|
@@ -1726,16 +2316,25 @@ const deploymentsGetByIdErrorSchema = z__namespace.union([
|
|
|
1726
2316
|
deploymentsGetByIdStatus429Schema,
|
|
1727
2317
|
deploymentsGetByIdStatus500Schema
|
|
1728
2318
|
]);
|
|
2319
|
+
const deploymentsGetByIdPathSchema = z__namespace.object({
|
|
2320
|
+
deploymentId: z__namespace.string().describe('Path parameter "deploymentId"')
|
|
2321
|
+
});
|
|
1729
2322
|
const deploymentsDeletePathDeploymentIdSchema = z__namespace.string().describe('Path parameter "deploymentId"');
|
|
1730
|
-
const deploymentsDeleteStatus200Schema = z__namespace.
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
const
|
|
1738
|
-
const
|
|
2323
|
+
const deploymentsDeleteStatus200Schema = z__namespace.strictObject({
|
|
2324
|
+
id: z__namespace.string(),
|
|
2325
|
+
object: z__namespace.enum([
|
|
2326
|
+
"deployment"
|
|
2327
|
+
]),
|
|
2328
|
+
deleted: z__namespace.literal(true)
|
|
2329
|
+
});
|
|
2330
|
+
const deploymentsDeleteStatus401Schema = unauthorizedErrorSchema;
|
|
2331
|
+
const deploymentsDeleteStatus403Schema = forbiddenErrorSchema;
|
|
2332
|
+
const deploymentsDeleteStatus404Schema = notFoundErrorSchema;
|
|
2333
|
+
const deploymentsDeleteStatus409Schema = conflictErrorSchema;
|
|
2334
|
+
const deploymentsDeleteStatus413Schema = payloadTooLargeErrorSchema;
|
|
2335
|
+
const deploymentsDeleteStatus422Schema = unprocessableEntityErrorSchema;
|
|
2336
|
+
const deploymentsDeleteStatus429Schema = tooManyRequestsErrorSchema;
|
|
2337
|
+
const deploymentsDeleteStatus500Schema = internalServerErrorSchema;
|
|
1739
2338
|
const deploymentsDeleteResponseSchema = deploymentsDeleteStatus200Schema;
|
|
1740
2339
|
const deploymentsDeleteErrorSchema = z__namespace.union([
|
|
1741
2340
|
deploymentsDeleteStatus401Schema,
|
|
@@ -1747,17 +2346,43 @@ const deploymentsDeleteErrorSchema = z__namespace.union([
|
|
|
1747
2346
|
deploymentsDeleteStatus429Schema,
|
|
1748
2347
|
deploymentsDeleteStatus500Schema
|
|
1749
2348
|
]);
|
|
2349
|
+
const deploymentsDeletePathSchema = z__namespace.object({
|
|
2350
|
+
deploymentId: z__namespace.string().describe('Path parameter "deploymentId"')
|
|
2351
|
+
});
|
|
1750
2352
|
const deploymentsFindLogsPathDeploymentIdSchema = z__namespace.string().describe("The unique identifier of the deployment to retrieve logs for. Provided as a path parameter.");
|
|
1751
2353
|
const deploymentsFindLogsQuerySinceSchema = z__namespace.number().optional().describe("A UNIX timestamp (in seconds) used to filter logs. Returns only log entries generated after the specified time.");
|
|
1752
|
-
const deploymentsFindLogsStatus200Schema = z__namespace.
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
2354
|
+
const deploymentsFindLogsStatus200Schema = z__namespace.strictObject({
|
|
2355
|
+
logs: z__namespace.array(z__namespace.strictObject({
|
|
2356
|
+
createdAt: z__namespace.string().describe("Log creation timestamp."),
|
|
2357
|
+
deploymentId: z__namespace.string().describe("Deployment ID."),
|
|
2358
|
+
id: z__namespace.string().describe("Log entry ID."),
|
|
2359
|
+
text: z__namespace.string().describe("Log message content."),
|
|
2360
|
+
type: z__namespace.enum([
|
|
2361
|
+
"stderr",
|
|
2362
|
+
"stdout"
|
|
2363
|
+
]).describe("Output stream type."),
|
|
2364
|
+
level: z__namespace.enum([
|
|
2365
|
+
"error",
|
|
2366
|
+
"info",
|
|
2367
|
+
"warning"
|
|
2368
|
+
]).optional().default("info").describe("Log severity level."),
|
|
2369
|
+
object: z__namespace.enum([
|
|
2370
|
+
"deployment_log"
|
|
2371
|
+
]).describe("Object type identifier.")
|
|
2372
|
+
})).describe("Array of log entries."),
|
|
2373
|
+
nextSince: z__namespace.number().optional().describe("Timestamp for pagination."),
|
|
2374
|
+
object: z__namespace.enum([
|
|
2375
|
+
"list"
|
|
2376
|
+
]).describe("Object type identifier.")
|
|
2377
|
+
});
|
|
2378
|
+
const deploymentsFindLogsStatus401Schema = unauthorizedErrorSchema;
|
|
2379
|
+
const deploymentsFindLogsStatus403Schema = forbiddenErrorSchema;
|
|
2380
|
+
const deploymentsFindLogsStatus404Schema = notFoundErrorSchema;
|
|
2381
|
+
const deploymentsFindLogsStatus409Schema = conflictErrorSchema;
|
|
2382
|
+
const deploymentsFindLogsStatus413Schema = payloadTooLargeErrorSchema;
|
|
2383
|
+
const deploymentsFindLogsStatus422Schema = unprocessableEntityErrorSchema;
|
|
2384
|
+
const deploymentsFindLogsStatus429Schema = tooManyRequestsErrorSchema;
|
|
2385
|
+
const deploymentsFindLogsStatus500Schema = internalServerErrorSchema;
|
|
1761
2386
|
const deploymentsFindLogsResponseSchema = deploymentsFindLogsStatus200Schema;
|
|
1762
2387
|
const deploymentsFindLogsErrorSchema = z__namespace.union([
|
|
1763
2388
|
deploymentsFindLogsStatus401Schema,
|
|
@@ -1769,16 +2394,26 @@ const deploymentsFindLogsErrorSchema = z__namespace.union([
|
|
|
1769
2394
|
deploymentsFindLogsStatus429Schema,
|
|
1770
2395
|
deploymentsFindLogsStatus500Schema
|
|
1771
2396
|
]);
|
|
2397
|
+
const deploymentsFindLogsPathSchema = z__namespace.object({
|
|
2398
|
+
deploymentId: z__namespace.string().describe("The unique identifier of the deployment to retrieve logs for. Provided as a path parameter.")
|
|
2399
|
+
});
|
|
2400
|
+
const deploymentsFindLogsQuerySchema = z__namespace.object({
|
|
2401
|
+
since: z__namespace.number().optional().describe("A UNIX timestamp (in seconds) used to filter logs. Returns only log entries generated after the specified time.")
|
|
2402
|
+
});
|
|
1772
2403
|
const deploymentsFindErrorsPathDeploymentIdSchema = z__namespace.string().describe("The unique identifier of the deployment to inspect for errors. Provided as a path parameter.");
|
|
1773
|
-
const deploymentsFindErrorsStatus200Schema = z__namespace.
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
const
|
|
1779
|
-
const
|
|
1780
|
-
const
|
|
1781
|
-
const
|
|
2404
|
+
const deploymentsFindErrorsStatus200Schema = z__namespace.strictObject({
|
|
2405
|
+
fullErrorText: z__namespace.string().optional(),
|
|
2406
|
+
errorType: z__namespace.string().optional(),
|
|
2407
|
+
formattedError: z__namespace.string().optional()
|
|
2408
|
+
});
|
|
2409
|
+
const deploymentsFindErrorsStatus401Schema = unauthorizedErrorSchema;
|
|
2410
|
+
const deploymentsFindErrorsStatus403Schema = forbiddenErrorSchema;
|
|
2411
|
+
const deploymentsFindErrorsStatus404Schema = notFoundErrorSchema;
|
|
2412
|
+
const deploymentsFindErrorsStatus409Schema = conflictErrorSchema;
|
|
2413
|
+
const deploymentsFindErrorsStatus413Schema = payloadTooLargeErrorSchema;
|
|
2414
|
+
const deploymentsFindErrorsStatus422Schema = unprocessableEntityErrorSchema;
|
|
2415
|
+
const deploymentsFindErrorsStatus429Schema = tooManyRequestsErrorSchema;
|
|
2416
|
+
const deploymentsFindErrorsStatus500Schema = internalServerErrorSchema;
|
|
1782
2417
|
const deploymentsFindErrorsResponseSchema = deploymentsFindErrorsStatus200Schema;
|
|
1783
2418
|
const deploymentsFindErrorsErrorSchema = z__namespace.union([
|
|
1784
2419
|
deploymentsFindErrorsStatus401Schema,
|
|
@@ -1790,15 +2425,23 @@ const deploymentsFindErrorsErrorSchema = z__namespace.union([
|
|
|
1790
2425
|
deploymentsFindErrorsStatus429Schema,
|
|
1791
2426
|
deploymentsFindErrorsStatus500Schema
|
|
1792
2427
|
]);
|
|
1793
|
-
const
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
const
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
2428
|
+
const deploymentsFindErrorsPathSchema = z__namespace.object({
|
|
2429
|
+
deploymentId: z__namespace.string().describe("The unique identifier of the deployment to inspect for errors. Provided as a path parameter.")
|
|
2430
|
+
});
|
|
2431
|
+
const hooksFindStatus200Schema = z__namespace.strictObject({
|
|
2432
|
+
object: z__namespace.enum([
|
|
2433
|
+
"list"
|
|
2434
|
+
]),
|
|
2435
|
+
data: z__namespace.array(hookSummarySchema)
|
|
2436
|
+
});
|
|
2437
|
+
const hooksFindStatus401Schema = unauthorizedErrorSchema;
|
|
2438
|
+
const hooksFindStatus403Schema = forbiddenErrorSchema;
|
|
2439
|
+
const hooksFindStatus404Schema = notFoundErrorSchema;
|
|
2440
|
+
const hooksFindStatus409Schema = conflictErrorSchema;
|
|
2441
|
+
const hooksFindStatus413Schema = payloadTooLargeErrorSchema;
|
|
2442
|
+
const hooksFindStatus422Schema = unprocessableEntityErrorSchema;
|
|
2443
|
+
const hooksFindStatus429Schema = tooManyRequestsErrorSchema;
|
|
2444
|
+
const hooksFindStatus500Schema = internalServerErrorSchema;
|
|
1802
2445
|
const hooksFindResponseSchema = hooksFindStatus200Schema;
|
|
1803
2446
|
const hooksFindErrorSchema = z__namespace.union([
|
|
1804
2447
|
hooksFindStatus401Schema,
|
|
@@ -1810,15 +2453,15 @@ const hooksFindErrorSchema = z__namespace.union([
|
|
|
1810
2453
|
hooksFindStatus429Schema,
|
|
1811
2454
|
hooksFindStatus500Schema
|
|
1812
2455
|
]);
|
|
1813
|
-
const hooksCreateStatus200Schema =
|
|
1814
|
-
const hooksCreateStatus401Schema =
|
|
1815
|
-
const hooksCreateStatus403Schema =
|
|
1816
|
-
const hooksCreateStatus404Schema =
|
|
1817
|
-
const hooksCreateStatus409Schema =
|
|
1818
|
-
const hooksCreateStatus413Schema =
|
|
1819
|
-
const hooksCreateStatus422Schema =
|
|
1820
|
-
const hooksCreateStatus429Schema =
|
|
1821
|
-
const hooksCreateStatus500Schema =
|
|
2456
|
+
const hooksCreateStatus200Schema = hookDetailSchema.describe("Full configuration details for a webhook, including its scope and subscription.");
|
|
2457
|
+
const hooksCreateStatus401Schema = unauthorizedErrorSchema;
|
|
2458
|
+
const hooksCreateStatus403Schema = forbiddenErrorSchema;
|
|
2459
|
+
const hooksCreateStatus404Schema = notFoundErrorSchema;
|
|
2460
|
+
const hooksCreateStatus409Schema = conflictErrorSchema;
|
|
2461
|
+
const hooksCreateStatus413Schema = payloadTooLargeErrorSchema;
|
|
2462
|
+
const hooksCreateStatus422Schema = unprocessableEntityErrorSchema;
|
|
2463
|
+
const hooksCreateStatus429Schema = tooManyRequestsErrorSchema;
|
|
2464
|
+
const hooksCreateStatus500Schema = internalServerErrorSchema;
|
|
1822
2465
|
const hooksCreateResponseSchema = hooksCreateStatus200Schema;
|
|
1823
2466
|
const hooksCreateErrorSchema = z__namespace.union([
|
|
1824
2467
|
hooksCreateStatus401Schema,
|
|
@@ -1830,16 +2473,30 @@ const hooksCreateErrorSchema = z__namespace.union([
|
|
|
1830
2473
|
hooksCreateStatus429Schema,
|
|
1831
2474
|
hooksCreateStatus500Schema
|
|
1832
2475
|
]);
|
|
2476
|
+
const hooksCreateBodySchema = z__namespace.strictObject({
|
|
2477
|
+
name: z__namespace.string().describe("A human-readable name for the hook."),
|
|
2478
|
+
events: z__namespace.array(z__namespace.enum([
|
|
2479
|
+
"chat.created",
|
|
2480
|
+
"chat.deleted",
|
|
2481
|
+
"chat.updated",
|
|
2482
|
+
"message.created",
|
|
2483
|
+
"message.deleted",
|
|
2484
|
+
"message.finished",
|
|
2485
|
+
"message.updated"
|
|
2486
|
+
])).describe("List of event types the hook should subscribe to."),
|
|
2487
|
+
chatId: z__namespace.string().optional().describe("The ID of a chat to scope the hook to."),
|
|
2488
|
+
url: z__namespace.url().describe("The target URL to receive the webhook payloads.")
|
|
2489
|
+
});
|
|
1833
2490
|
const hooksGetByIdPathHookIdSchema = z__namespace.string().describe("The unique identifier of the hook to retrieve.");
|
|
1834
|
-
const hooksGetByIdStatus200Schema =
|
|
1835
|
-
const hooksGetByIdStatus401Schema =
|
|
1836
|
-
const hooksGetByIdStatus403Schema =
|
|
1837
|
-
const hooksGetByIdStatus404Schema =
|
|
1838
|
-
const hooksGetByIdStatus409Schema =
|
|
1839
|
-
const hooksGetByIdStatus413Schema =
|
|
1840
|
-
const hooksGetByIdStatus422Schema =
|
|
1841
|
-
const hooksGetByIdStatus429Schema =
|
|
1842
|
-
const hooksGetByIdStatus500Schema =
|
|
2491
|
+
const hooksGetByIdStatus200Schema = hookDetailSchema.describe("Full configuration details for a webhook, including its scope and subscription.");
|
|
2492
|
+
const hooksGetByIdStatus401Schema = unauthorizedErrorSchema;
|
|
2493
|
+
const hooksGetByIdStatus403Schema = forbiddenErrorSchema;
|
|
2494
|
+
const hooksGetByIdStatus404Schema = notFoundErrorSchema;
|
|
2495
|
+
const hooksGetByIdStatus409Schema = conflictErrorSchema;
|
|
2496
|
+
const hooksGetByIdStatus413Schema = payloadTooLargeErrorSchema;
|
|
2497
|
+
const hooksGetByIdStatus422Schema = unprocessableEntityErrorSchema;
|
|
2498
|
+
const hooksGetByIdStatus429Schema = tooManyRequestsErrorSchema;
|
|
2499
|
+
const hooksGetByIdStatus500Schema = internalServerErrorSchema;
|
|
1843
2500
|
const hooksGetByIdResponseSchema = hooksGetByIdStatus200Schema;
|
|
1844
2501
|
const hooksGetByIdErrorSchema = z__namespace.union([
|
|
1845
2502
|
hooksGetByIdStatus401Schema,
|
|
@@ -1851,16 +2508,19 @@ const hooksGetByIdErrorSchema = z__namespace.union([
|
|
|
1851
2508
|
hooksGetByIdStatus429Schema,
|
|
1852
2509
|
hooksGetByIdStatus500Schema
|
|
1853
2510
|
]);
|
|
2511
|
+
const hooksGetByIdPathSchema = z__namespace.object({
|
|
2512
|
+
hookId: z__namespace.string().describe("The unique identifier of the hook to retrieve.")
|
|
2513
|
+
});
|
|
1854
2514
|
const hooksUpdatePathHookIdSchema = z__namespace.string().describe("The ID of the webhook to update. Provided as a path parameter.");
|
|
1855
|
-
const hooksUpdateStatus200Schema =
|
|
1856
|
-
const hooksUpdateStatus401Schema =
|
|
1857
|
-
const hooksUpdateStatus403Schema =
|
|
1858
|
-
const hooksUpdateStatus404Schema =
|
|
1859
|
-
const hooksUpdateStatus409Schema =
|
|
1860
|
-
const hooksUpdateStatus413Schema =
|
|
1861
|
-
const hooksUpdateStatus422Schema =
|
|
1862
|
-
const hooksUpdateStatus429Schema =
|
|
1863
|
-
const hooksUpdateStatus500Schema =
|
|
2515
|
+
const hooksUpdateStatus200Schema = hookDetailSchema.describe("Full configuration details for a webhook, including its scope and subscription.");
|
|
2516
|
+
const hooksUpdateStatus401Schema = unauthorizedErrorSchema;
|
|
2517
|
+
const hooksUpdateStatus403Schema = forbiddenErrorSchema;
|
|
2518
|
+
const hooksUpdateStatus404Schema = notFoundErrorSchema;
|
|
2519
|
+
const hooksUpdateStatus409Schema = conflictErrorSchema;
|
|
2520
|
+
const hooksUpdateStatus413Schema = payloadTooLargeErrorSchema;
|
|
2521
|
+
const hooksUpdateStatus422Schema = unprocessableEntityErrorSchema;
|
|
2522
|
+
const hooksUpdateStatus429Schema = tooManyRequestsErrorSchema;
|
|
2523
|
+
const hooksUpdateStatus500Schema = internalServerErrorSchema;
|
|
1864
2524
|
const hooksUpdateResponseSchema = hooksUpdateStatus200Schema;
|
|
1865
2525
|
const hooksUpdateErrorSchema = z__namespace.union([
|
|
1866
2526
|
hooksUpdateStatus401Schema,
|
|
@@ -1872,16 +2532,38 @@ const hooksUpdateErrorSchema = z__namespace.union([
|
|
|
1872
2532
|
hooksUpdateStatus429Schema,
|
|
1873
2533
|
hooksUpdateStatus500Schema
|
|
1874
2534
|
]);
|
|
2535
|
+
const hooksUpdateBodySchema = z__namespace.strictObject({
|
|
2536
|
+
name: z__namespace.string().optional().describe("A new name for the hook."),
|
|
2537
|
+
events: z__namespace.array(z__namespace.enum([
|
|
2538
|
+
"chat.created",
|
|
2539
|
+
"chat.deleted",
|
|
2540
|
+
"chat.updated",
|
|
2541
|
+
"message.created",
|
|
2542
|
+
"message.deleted",
|
|
2543
|
+
"message.finished",
|
|
2544
|
+
"message.updated"
|
|
2545
|
+
])).optional().describe("Updated list of event types to subscribe to."),
|
|
2546
|
+
url: z__namespace.url().optional().describe("A new URL to send webhook payloads to.")
|
|
2547
|
+
});
|
|
2548
|
+
const hooksUpdatePathSchema = z__namespace.object({
|
|
2549
|
+
hookId: z__namespace.string().describe("The ID of the webhook to update. Provided as a path parameter.")
|
|
2550
|
+
});
|
|
1875
2551
|
const hooksDeletePathHookIdSchema = z__namespace.string().describe("The ID of the webhook to delete. Provided as a path parameter.");
|
|
1876
|
-
const hooksDeleteStatus200Schema = z__namespace.
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
const
|
|
1884
|
-
const
|
|
2552
|
+
const hooksDeleteStatus200Schema = z__namespace.strictObject({
|
|
2553
|
+
id: z__namespace.string(),
|
|
2554
|
+
object: z__namespace.enum([
|
|
2555
|
+
"hook"
|
|
2556
|
+
]),
|
|
2557
|
+
deleted: z__namespace.literal(true)
|
|
2558
|
+
});
|
|
2559
|
+
const hooksDeleteStatus401Schema = unauthorizedErrorSchema;
|
|
2560
|
+
const hooksDeleteStatus403Schema = forbiddenErrorSchema;
|
|
2561
|
+
const hooksDeleteStatus404Schema = notFoundErrorSchema;
|
|
2562
|
+
const hooksDeleteStatus409Schema = conflictErrorSchema;
|
|
2563
|
+
const hooksDeleteStatus413Schema = payloadTooLargeErrorSchema;
|
|
2564
|
+
const hooksDeleteStatus422Schema = unprocessableEntityErrorSchema;
|
|
2565
|
+
const hooksDeleteStatus429Schema = tooManyRequestsErrorSchema;
|
|
2566
|
+
const hooksDeleteStatus500Schema = internalServerErrorSchema;
|
|
1885
2567
|
const hooksDeleteResponseSchema = hooksDeleteStatus200Schema;
|
|
1886
2568
|
const hooksDeleteErrorSchema = z__namespace.union([
|
|
1887
2569
|
hooksDeleteStatus401Schema,
|
|
@@ -1893,15 +2575,23 @@ const hooksDeleteErrorSchema = z__namespace.union([
|
|
|
1893
2575
|
hooksDeleteStatus429Schema,
|
|
1894
2576
|
hooksDeleteStatus500Schema
|
|
1895
2577
|
]);
|
|
1896
|
-
const
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
const
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
2578
|
+
const hooksDeletePathSchema = z__namespace.object({
|
|
2579
|
+
hookId: z__namespace.string().describe("The ID of the webhook to delete. Provided as a path parameter.")
|
|
2580
|
+
});
|
|
2581
|
+
const integrationsVercelProjectsFindStatus200Schema = z__namespace.strictObject({
|
|
2582
|
+
object: z__namespace.enum([
|
|
2583
|
+
"list"
|
|
2584
|
+
]),
|
|
2585
|
+
data: z__namespace.array(vercelProjectSummarySchema)
|
|
2586
|
+
});
|
|
2587
|
+
const integrationsVercelProjectsFindStatus401Schema = unauthorizedErrorSchema;
|
|
2588
|
+
const integrationsVercelProjectsFindStatus403Schema = forbiddenErrorSchema;
|
|
2589
|
+
const integrationsVercelProjectsFindStatus404Schema = notFoundErrorSchema;
|
|
2590
|
+
const integrationsVercelProjectsFindStatus409Schema = conflictErrorSchema;
|
|
2591
|
+
const integrationsVercelProjectsFindStatus413Schema = payloadTooLargeErrorSchema;
|
|
2592
|
+
const integrationsVercelProjectsFindStatus422Schema = unprocessableEntityErrorSchema;
|
|
2593
|
+
const integrationsVercelProjectsFindStatus429Schema = tooManyRequestsErrorSchema;
|
|
2594
|
+
const integrationsVercelProjectsFindStatus500Schema = internalServerErrorSchema;
|
|
1905
2595
|
const integrationsVercelProjectsFindResponseSchema = integrationsVercelProjectsFindStatus200Schema;
|
|
1906
2596
|
const integrationsVercelProjectsFindErrorSchema = z__namespace.union([
|
|
1907
2597
|
integrationsVercelProjectsFindStatus401Schema,
|
|
@@ -1913,15 +2603,15 @@ const integrationsVercelProjectsFindErrorSchema = z__namespace.union([
|
|
|
1913
2603
|
integrationsVercelProjectsFindStatus429Schema,
|
|
1914
2604
|
integrationsVercelProjectsFindStatus500Schema
|
|
1915
2605
|
]);
|
|
1916
|
-
const integrationsVercelProjectsCreateStatus200Schema =
|
|
1917
|
-
const integrationsVercelProjectsCreateStatus401Schema =
|
|
1918
|
-
const integrationsVercelProjectsCreateStatus403Schema =
|
|
1919
|
-
const integrationsVercelProjectsCreateStatus404Schema =
|
|
1920
|
-
const integrationsVercelProjectsCreateStatus409Schema =
|
|
1921
|
-
const integrationsVercelProjectsCreateStatus413Schema =
|
|
1922
|
-
const integrationsVercelProjectsCreateStatus422Schema =
|
|
1923
|
-
const integrationsVercelProjectsCreateStatus429Schema =
|
|
1924
|
-
const integrationsVercelProjectsCreateStatus500Schema =
|
|
2606
|
+
const integrationsVercelProjectsCreateStatus200Schema = vercelProjectDetailSchema;
|
|
2607
|
+
const integrationsVercelProjectsCreateStatus401Schema = unauthorizedErrorSchema;
|
|
2608
|
+
const integrationsVercelProjectsCreateStatus403Schema = forbiddenErrorSchema;
|
|
2609
|
+
const integrationsVercelProjectsCreateStatus404Schema = notFoundErrorSchema;
|
|
2610
|
+
const integrationsVercelProjectsCreateStatus409Schema = conflictErrorSchema;
|
|
2611
|
+
const integrationsVercelProjectsCreateStatus413Schema = payloadTooLargeErrorSchema;
|
|
2612
|
+
const integrationsVercelProjectsCreateStatus422Schema = unprocessableEntityErrorSchema;
|
|
2613
|
+
const integrationsVercelProjectsCreateStatus429Schema = tooManyRequestsErrorSchema;
|
|
2614
|
+
const integrationsVercelProjectsCreateStatus500Schema = internalServerErrorSchema;
|
|
1925
2615
|
const integrationsVercelProjectsCreateResponseSchema = integrationsVercelProjectsCreateStatus200Schema;
|
|
1926
2616
|
const integrationsVercelProjectsCreateErrorSchema = z__namespace.union([
|
|
1927
2617
|
integrationsVercelProjectsCreateStatus401Schema,
|
|
@@ -1933,15 +2623,24 @@ const integrationsVercelProjectsCreateErrorSchema = z__namespace.union([
|
|
|
1933
2623
|
integrationsVercelProjectsCreateStatus429Schema,
|
|
1934
2624
|
integrationsVercelProjectsCreateStatus500Schema
|
|
1935
2625
|
]);
|
|
1936
|
-
const
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
const
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
2626
|
+
const integrationsVercelProjectsCreateBodySchema = z__namespace.strictObject({
|
|
2627
|
+
projectId: z__namespace.string().describe("The ID of the v0 project to link to the new Vercel project."),
|
|
2628
|
+
name: z__namespace.string().describe("The name to assign to the new Vercel project.")
|
|
2629
|
+
});
|
|
2630
|
+
const projectsFindStatus200Schema = z__namespace.strictObject({
|
|
2631
|
+
object: z__namespace.enum([
|
|
2632
|
+
"list"
|
|
2633
|
+
]),
|
|
2634
|
+
data: z__namespace.array(projectSummarySchema)
|
|
2635
|
+
});
|
|
2636
|
+
const projectsFindStatus401Schema = unauthorizedErrorSchema;
|
|
2637
|
+
const projectsFindStatus403Schema = forbiddenErrorSchema;
|
|
2638
|
+
const projectsFindStatus404Schema = notFoundErrorSchema;
|
|
2639
|
+
const projectsFindStatus409Schema = conflictErrorSchema;
|
|
2640
|
+
const projectsFindStatus413Schema = payloadTooLargeErrorSchema;
|
|
2641
|
+
const projectsFindStatus422Schema = unprocessableEntityErrorSchema;
|
|
2642
|
+
const projectsFindStatus429Schema = tooManyRequestsErrorSchema;
|
|
2643
|
+
const projectsFindStatus500Schema = internalServerErrorSchema;
|
|
1945
2644
|
const projectsFindResponseSchema = projectsFindStatus200Schema;
|
|
1946
2645
|
const projectsFindErrorSchema = z__namespace.union([
|
|
1947
2646
|
projectsFindStatus401Schema,
|
|
@@ -1953,15 +2652,15 @@ const projectsFindErrorSchema = z__namespace.union([
|
|
|
1953
2652
|
projectsFindStatus429Schema,
|
|
1954
2653
|
projectsFindStatus500Schema
|
|
1955
2654
|
]);
|
|
1956
|
-
const projectsCreateStatus200Schema =
|
|
1957
|
-
const projectsCreateStatus401Schema =
|
|
1958
|
-
const projectsCreateStatus403Schema =
|
|
1959
|
-
const projectsCreateStatus404Schema =
|
|
1960
|
-
const projectsCreateStatus409Schema =
|
|
1961
|
-
const projectsCreateStatus413Schema =
|
|
1962
|
-
const projectsCreateStatus422Schema =
|
|
1963
|
-
const projectsCreateStatus429Schema =
|
|
1964
|
-
const projectsCreateStatus500Schema =
|
|
2655
|
+
const projectsCreateStatus200Schema = projectDetailSchema.describe("Full representation of a project, including its associated chats.");
|
|
2656
|
+
const projectsCreateStatus401Schema = unauthorizedErrorSchema;
|
|
2657
|
+
const projectsCreateStatus403Schema = forbiddenErrorSchema;
|
|
2658
|
+
const projectsCreateStatus404Schema = notFoundErrorSchema;
|
|
2659
|
+
const projectsCreateStatus409Schema = conflictErrorSchema;
|
|
2660
|
+
const projectsCreateStatus413Schema = payloadTooLargeErrorSchema;
|
|
2661
|
+
const projectsCreateStatus422Schema = unprocessableEntityErrorSchema;
|
|
2662
|
+
const projectsCreateStatus429Schema = tooManyRequestsErrorSchema;
|
|
2663
|
+
const projectsCreateStatus500Schema = internalServerErrorSchema;
|
|
1965
2664
|
const projectsCreateResponseSchema = projectsCreateStatus200Schema;
|
|
1966
2665
|
const projectsCreateErrorSchema = z__namespace.union([
|
|
1967
2666
|
projectsCreateStatus401Schema,
|
|
@@ -1973,16 +2672,31 @@ const projectsCreateErrorSchema = z__namespace.union([
|
|
|
1973
2672
|
projectsCreateStatus429Schema,
|
|
1974
2673
|
projectsCreateStatus500Schema
|
|
1975
2674
|
]);
|
|
2675
|
+
const projectsCreateBodySchema = z__namespace.strictObject({
|
|
2676
|
+
name: z__namespace.string().max(255).describe("The name of the project."),
|
|
2677
|
+
description: z__namespace.string().max(1000).optional().describe("A brief summary of the project’s purpose."),
|
|
2678
|
+
icon: z__namespace.string().optional().default("icon-wand-sparkles").describe("An icon identifier to visually represent the project."),
|
|
2679
|
+
environmentVariables: z__namespace.array(z__namespace.strictObject({
|
|
2680
|
+
key: z__namespace.string().max(255),
|
|
2681
|
+
value: z__namespace.string().max(1000)
|
|
2682
|
+
})).optional().describe("A list of key-value pairs used to define runtime variables for the project."),
|
|
2683
|
+
instructions: z__namespace.string().max(2000).optional().describe("Guidance or goals that provide context for the model when working within the project."),
|
|
2684
|
+
vercelProjectId: z__namespace.string().optional().describe("The ID of an existing Vercel project to link to. If not provided, a new Vercel project will be created."),
|
|
2685
|
+
privacy: z__namespace.enum([
|
|
2686
|
+
"private",
|
|
2687
|
+
"team"
|
|
2688
|
+
]).optional().describe('The privacy setting for the project. For user accounts, this is always "private". For team/enterprise accounts, this can be either "private" or "team".')
|
|
2689
|
+
});
|
|
1976
2690
|
const projectsGetByIdPathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project to retrieve.");
|
|
1977
|
-
const projectsGetByIdStatus200Schema =
|
|
1978
|
-
const projectsGetByIdStatus401Schema =
|
|
1979
|
-
const projectsGetByIdStatus403Schema =
|
|
1980
|
-
const projectsGetByIdStatus404Schema =
|
|
1981
|
-
const projectsGetByIdStatus409Schema =
|
|
1982
|
-
const projectsGetByIdStatus413Schema =
|
|
1983
|
-
const projectsGetByIdStatus422Schema =
|
|
1984
|
-
const projectsGetByIdStatus429Schema =
|
|
1985
|
-
const projectsGetByIdStatus500Schema =
|
|
2691
|
+
const projectsGetByIdStatus200Schema = projectDetailSchema.describe("Full representation of a project, including its associated chats.");
|
|
2692
|
+
const projectsGetByIdStatus401Schema = unauthorizedErrorSchema;
|
|
2693
|
+
const projectsGetByIdStatus403Schema = forbiddenErrorSchema;
|
|
2694
|
+
const projectsGetByIdStatus404Schema = notFoundErrorSchema;
|
|
2695
|
+
const projectsGetByIdStatus409Schema = conflictErrorSchema;
|
|
2696
|
+
const projectsGetByIdStatus413Schema = payloadTooLargeErrorSchema;
|
|
2697
|
+
const projectsGetByIdStatus422Schema = unprocessableEntityErrorSchema;
|
|
2698
|
+
const projectsGetByIdStatus429Schema = tooManyRequestsErrorSchema;
|
|
2699
|
+
const projectsGetByIdStatus500Schema = internalServerErrorSchema;
|
|
1986
2700
|
const projectsGetByIdResponseSchema = projectsGetByIdStatus200Schema;
|
|
1987
2701
|
const projectsGetByIdErrorSchema = z__namespace.union([
|
|
1988
2702
|
projectsGetByIdStatus401Schema,
|
|
@@ -1994,16 +2708,19 @@ const projectsGetByIdErrorSchema = z__namespace.union([
|
|
|
1994
2708
|
projectsGetByIdStatus429Schema,
|
|
1995
2709
|
projectsGetByIdStatus500Schema
|
|
1996
2710
|
]);
|
|
2711
|
+
const projectsGetByIdPathSchema = z__namespace.object({
|
|
2712
|
+
projectId: z__namespace.string().describe("The unique identifier of the project to retrieve.")
|
|
2713
|
+
});
|
|
1997
2714
|
const projectsUpdatePathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project to update. Provided as a path parameter.");
|
|
1998
|
-
const projectsUpdateStatus200Schema =
|
|
1999
|
-
const projectsUpdateStatus401Schema =
|
|
2000
|
-
const projectsUpdateStatus403Schema =
|
|
2001
|
-
const projectsUpdateStatus404Schema =
|
|
2002
|
-
const projectsUpdateStatus409Schema =
|
|
2003
|
-
const projectsUpdateStatus413Schema =
|
|
2004
|
-
const projectsUpdateStatus422Schema =
|
|
2005
|
-
const projectsUpdateStatus429Schema =
|
|
2006
|
-
const projectsUpdateStatus500Schema =
|
|
2715
|
+
const projectsUpdateStatus200Schema = projectDetailSchema.describe("Full representation of a project, including its associated chats.");
|
|
2716
|
+
const projectsUpdateStatus401Schema = unauthorizedErrorSchema;
|
|
2717
|
+
const projectsUpdateStatus403Schema = forbiddenErrorSchema;
|
|
2718
|
+
const projectsUpdateStatus404Schema = notFoundErrorSchema;
|
|
2719
|
+
const projectsUpdateStatus409Schema = conflictErrorSchema;
|
|
2720
|
+
const projectsUpdateStatus413Schema = payloadTooLargeErrorSchema;
|
|
2721
|
+
const projectsUpdateStatus422Schema = unprocessableEntityErrorSchema;
|
|
2722
|
+
const projectsUpdateStatus429Schema = tooManyRequestsErrorSchema;
|
|
2723
|
+
const projectsUpdateStatus500Schema = internalServerErrorSchema;
|
|
2007
2724
|
const projectsUpdateResponseSchema = projectsUpdateStatus200Schema;
|
|
2008
2725
|
const projectsUpdateErrorSchema = z__namespace.union([
|
|
2009
2726
|
projectsUpdateStatus401Schema,
|
|
@@ -2015,20 +2732,38 @@ const projectsUpdateErrorSchema = z__namespace.union([
|
|
|
2015
2732
|
projectsUpdateStatus429Schema,
|
|
2016
2733
|
projectsUpdateStatus500Schema
|
|
2017
2734
|
]);
|
|
2735
|
+
const projectsUpdateBodySchema = z__namespace.strictObject({
|
|
2736
|
+
name: z__namespace.string().optional().describe("A new name to assign to the project. Helps with identification and organization."),
|
|
2737
|
+
description: z__namespace.string().optional().describe("A new description to assign to the project. Helps with identification and organization."),
|
|
2738
|
+
instructions: z__namespace.string().optional().describe("Guidance or goals that provide context for the model when working within the project."),
|
|
2739
|
+
privacy: z__namespace.enum([
|
|
2740
|
+
"private",
|
|
2741
|
+
"team"
|
|
2742
|
+
]).optional().describe('The privacy setting for the project. For user accounts, this must be "private". For team/enterprise accounts, this can be either "private" or "team".')
|
|
2743
|
+
});
|
|
2744
|
+
const projectsUpdatePathSchema = z__namespace.object({
|
|
2745
|
+
projectId: z__namespace.string().describe("The unique identifier of the project to update. Provided as a path parameter.")
|
|
2746
|
+
});
|
|
2018
2747
|
const projectsDeletePathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project to delete. This must be passed as a path parameter in the URL.");
|
|
2019
2748
|
const projectsDeleteQueryDeleteAllChatsSchema = z__namespace.enum([
|
|
2020
2749
|
"true",
|
|
2021
2750
|
"false"
|
|
2022
2751
|
]).optional().default("false").describe("If true, deletes all the chats associated with the given project ID. Deleting is permanent. Defaults to false.");
|
|
2023
|
-
const projectsDeleteStatus200Schema = z__namespace.
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
const
|
|
2031
|
-
const
|
|
2752
|
+
const projectsDeleteStatus200Schema = z__namespace.strictObject({
|
|
2753
|
+
id: z__namespace.string().describe("The unique identifier of the deleted project."),
|
|
2754
|
+
object: z__namespace.enum([
|
|
2755
|
+
"project"
|
|
2756
|
+
]).describe("Fixed value identifying this object as a project."),
|
|
2757
|
+
deleted: z__namespace.literal(true).describe("Confirmation that the project has been deleted.")
|
|
2758
|
+
});
|
|
2759
|
+
const projectsDeleteStatus401Schema = unauthorizedErrorSchema;
|
|
2760
|
+
const projectsDeleteStatus403Schema = forbiddenErrorSchema;
|
|
2761
|
+
const projectsDeleteStatus404Schema = notFoundErrorSchema;
|
|
2762
|
+
const projectsDeleteStatus409Schema = conflictErrorSchema;
|
|
2763
|
+
const projectsDeleteStatus413Schema = payloadTooLargeErrorSchema;
|
|
2764
|
+
const projectsDeleteStatus422Schema = unprocessableEntityErrorSchema;
|
|
2765
|
+
const projectsDeleteStatus429Schema = tooManyRequestsErrorSchema;
|
|
2766
|
+
const projectsDeleteStatus500Schema = internalServerErrorSchema;
|
|
2032
2767
|
const projectsDeleteResponseSchema = projectsDeleteStatus200Schema;
|
|
2033
2768
|
const projectsDeleteErrorSchema = z__namespace.union([
|
|
2034
2769
|
projectsDeleteStatus401Schema,
|
|
@@ -2040,16 +2775,31 @@ const projectsDeleteErrorSchema = z__namespace.union([
|
|
|
2040
2775
|
projectsDeleteStatus429Schema,
|
|
2041
2776
|
projectsDeleteStatus500Schema
|
|
2042
2777
|
]);
|
|
2778
|
+
const projectsDeletePathSchema = z__namespace.object({
|
|
2779
|
+
projectId: z__namespace.string().describe("The unique identifier of the project to delete. This must be passed as a path parameter in the URL.")
|
|
2780
|
+
});
|
|
2781
|
+
const projectsDeleteQuerySchema = z__namespace.object({
|
|
2782
|
+
deleteAllChats: z__namespace.enum([
|
|
2783
|
+
"true",
|
|
2784
|
+
"false"
|
|
2785
|
+
]).optional().default("false").describe("If true, deletes all the chats associated with the given project ID. Deleting is permanent. Defaults to false.")
|
|
2786
|
+
});
|
|
2043
2787
|
const projectsAssignPathProjectIdSchema = z__namespace.string().describe("The ID of the project to assign.");
|
|
2044
|
-
const projectsAssignStatus200Schema = z__namespace.
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
const
|
|
2052
|
-
const
|
|
2788
|
+
const projectsAssignStatus200Schema = z__namespace.strictObject({
|
|
2789
|
+
object: z__namespace.enum([
|
|
2790
|
+
"project"
|
|
2791
|
+
]),
|
|
2792
|
+
id: z__namespace.string(),
|
|
2793
|
+
assigned: z__namespace.literal(true)
|
|
2794
|
+
});
|
|
2795
|
+
const projectsAssignStatus401Schema = unauthorizedErrorSchema;
|
|
2796
|
+
const projectsAssignStatus403Schema = forbiddenErrorSchema;
|
|
2797
|
+
const projectsAssignStatus404Schema = notFoundErrorSchema;
|
|
2798
|
+
const projectsAssignStatus409Schema = conflictErrorSchema;
|
|
2799
|
+
const projectsAssignStatus413Schema = payloadTooLargeErrorSchema;
|
|
2800
|
+
const projectsAssignStatus422Schema = unprocessableEntityErrorSchema;
|
|
2801
|
+
const projectsAssignStatus429Schema = tooManyRequestsErrorSchema;
|
|
2802
|
+
const projectsAssignStatus500Schema = internalServerErrorSchema;
|
|
2053
2803
|
const projectsAssignResponseSchema = projectsAssignStatus200Schema;
|
|
2054
2804
|
const projectsAssignErrorSchema = z__namespace.union([
|
|
2055
2805
|
projectsAssignStatus401Schema,
|
|
@@ -2061,20 +2811,31 @@ const projectsAssignErrorSchema = z__namespace.union([
|
|
|
2061
2811
|
projectsAssignStatus429Schema,
|
|
2062
2812
|
projectsAssignStatus500Schema
|
|
2063
2813
|
]);
|
|
2814
|
+
const projectsAssignBodySchema = z__namespace.strictObject({
|
|
2815
|
+
chatId: z__namespace.string().describe("The ID of the chat to assign the project to.")
|
|
2816
|
+
});
|
|
2817
|
+
const projectsAssignPathSchema = z__namespace.object({
|
|
2818
|
+
projectId: z__namespace.string().describe("The ID of the project to assign.")
|
|
2819
|
+
});
|
|
2064
2820
|
const projectsFindEnvVarsPathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project whose environment variables should be retrieved.");
|
|
2065
2821
|
const projectsFindEnvVarsQueryDecryptedSchema = z__namespace.enum([
|
|
2066
2822
|
"true",
|
|
2067
2823
|
"false"
|
|
2068
2824
|
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).");
|
|
2069
|
-
const projectsFindEnvVarsStatus200Schema = z__namespace.
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
const
|
|
2076
|
-
const
|
|
2077
|
-
const
|
|
2825
|
+
const projectsFindEnvVarsStatus200Schema = z__namespace.strictObject({
|
|
2826
|
+
object: z__namespace.enum([
|
|
2827
|
+
"list"
|
|
2828
|
+
]),
|
|
2829
|
+
data: z__namespace.array(environmentVariableSummarySchemaSchema)
|
|
2830
|
+
});
|
|
2831
|
+
const projectsFindEnvVarsStatus401Schema = unauthorizedErrorSchema;
|
|
2832
|
+
const projectsFindEnvVarsStatus403Schema = forbiddenErrorSchema;
|
|
2833
|
+
const projectsFindEnvVarsStatus404Schema = notFoundErrorSchema;
|
|
2834
|
+
const projectsFindEnvVarsStatus409Schema = conflictErrorSchema;
|
|
2835
|
+
const projectsFindEnvVarsStatus413Schema = payloadTooLargeErrorSchema;
|
|
2836
|
+
const projectsFindEnvVarsStatus422Schema = unprocessableEntityErrorSchema;
|
|
2837
|
+
const projectsFindEnvVarsStatus429Schema = tooManyRequestsErrorSchema;
|
|
2838
|
+
const projectsFindEnvVarsStatus500Schema = internalServerErrorSchema;
|
|
2078
2839
|
const projectsFindEnvVarsResponseSchema = projectsFindEnvVarsStatus200Schema;
|
|
2079
2840
|
const projectsFindEnvVarsErrorSchema = z__namespace.union([
|
|
2080
2841
|
projectsFindEnvVarsStatus401Schema,
|
|
@@ -2086,20 +2847,34 @@ const projectsFindEnvVarsErrorSchema = z__namespace.union([
|
|
|
2086
2847
|
projectsFindEnvVarsStatus429Schema,
|
|
2087
2848
|
projectsFindEnvVarsStatus500Schema
|
|
2088
2849
|
]);
|
|
2850
|
+
const projectsFindEnvVarsPathSchema = z__namespace.object({
|
|
2851
|
+
projectId: z__namespace.string().describe("The unique identifier of the project whose environment variables should be retrieved.")
|
|
2852
|
+
});
|
|
2853
|
+
const projectsFindEnvVarsQuerySchema = z__namespace.object({
|
|
2854
|
+
decrypted: z__namespace.enum([
|
|
2855
|
+
"true",
|
|
2856
|
+
"false"
|
|
2857
|
+
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).")
|
|
2858
|
+
});
|
|
2089
2859
|
const projectsCreateEnvVarsPathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project where environment variables should be created.");
|
|
2090
2860
|
const projectsCreateEnvVarsQueryDecryptedSchema = z__namespace.enum([
|
|
2091
2861
|
"true",
|
|
2092
2862
|
"false"
|
|
2093
2863
|
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).");
|
|
2094
|
-
const projectsCreateEnvVarsStatus200Schema = z__namespace.
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
const
|
|
2101
|
-
const
|
|
2102
|
-
const
|
|
2864
|
+
const projectsCreateEnvVarsStatus200Schema = z__namespace.strictObject({
|
|
2865
|
+
object: z__namespace.enum([
|
|
2866
|
+
"list"
|
|
2867
|
+
]),
|
|
2868
|
+
data: z__namespace.array(environmentVariableSummarySchemaSchema)
|
|
2869
|
+
});
|
|
2870
|
+
const projectsCreateEnvVarsStatus401Schema = unauthorizedErrorSchema;
|
|
2871
|
+
const projectsCreateEnvVarsStatus403Schema = forbiddenErrorSchema;
|
|
2872
|
+
const projectsCreateEnvVarsStatus404Schema = notFoundErrorSchema;
|
|
2873
|
+
const projectsCreateEnvVarsStatus409Schema = conflictErrorSchema;
|
|
2874
|
+
const projectsCreateEnvVarsStatus413Schema = payloadTooLargeErrorSchema;
|
|
2875
|
+
const projectsCreateEnvVarsStatus422Schema = unprocessableEntityErrorSchema;
|
|
2876
|
+
const projectsCreateEnvVarsStatus429Schema = tooManyRequestsErrorSchema;
|
|
2877
|
+
const projectsCreateEnvVarsStatus500Schema = internalServerErrorSchema;
|
|
2103
2878
|
const projectsCreateEnvVarsResponseSchema = projectsCreateEnvVarsStatus200Schema;
|
|
2104
2879
|
const projectsCreateEnvVarsErrorSchema = z__namespace.union([
|
|
2105
2880
|
projectsCreateEnvVarsStatus401Schema,
|
|
@@ -2111,20 +2886,41 @@ const projectsCreateEnvVarsErrorSchema = z__namespace.union([
|
|
|
2111
2886
|
projectsCreateEnvVarsStatus429Schema,
|
|
2112
2887
|
projectsCreateEnvVarsStatus500Schema
|
|
2113
2888
|
]);
|
|
2889
|
+
const projectsCreateEnvVarsBodySchema = z__namespace.strictObject({
|
|
2890
|
+
environmentVariables: z__namespace.array(z__namespace.strictObject({
|
|
2891
|
+
key: z__namespace.string().min(1).describe("The name of the environment variable."),
|
|
2892
|
+
value: z__namespace.string().describe("The value of the environment variable.")
|
|
2893
|
+
})).describe("An array of environment variables to create with key and value fields."),
|
|
2894
|
+
upsert: z__namespace.boolean().optional().describe("Whether to overwrite existing environment variables with the same keys. Defaults to false.")
|
|
2895
|
+
});
|
|
2896
|
+
const projectsCreateEnvVarsPathSchema = z__namespace.object({
|
|
2897
|
+
projectId: z__namespace.string().describe("The unique identifier of the project where environment variables should be created.")
|
|
2898
|
+
});
|
|
2899
|
+
const projectsCreateEnvVarsQuerySchema = z__namespace.object({
|
|
2900
|
+
decrypted: z__namespace.enum([
|
|
2901
|
+
"true",
|
|
2902
|
+
"false"
|
|
2903
|
+
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).")
|
|
2904
|
+
});
|
|
2114
2905
|
const projectsUpdateEnvVarsPathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project whose environment variables should be updated.");
|
|
2115
2906
|
const projectsUpdateEnvVarsQueryDecryptedSchema = z__namespace.enum([
|
|
2116
2907
|
"true",
|
|
2117
2908
|
"false"
|
|
2118
2909
|
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).");
|
|
2119
|
-
const projectsUpdateEnvVarsStatus200Schema = z__namespace.
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
const
|
|
2126
|
-
const
|
|
2127
|
-
const
|
|
2910
|
+
const projectsUpdateEnvVarsStatus200Schema = z__namespace.strictObject({
|
|
2911
|
+
object: z__namespace.enum([
|
|
2912
|
+
"list"
|
|
2913
|
+
]),
|
|
2914
|
+
data: z__namespace.array(environmentVariableSummarySchemaSchema)
|
|
2915
|
+
});
|
|
2916
|
+
const projectsUpdateEnvVarsStatus401Schema = unauthorizedErrorSchema;
|
|
2917
|
+
const projectsUpdateEnvVarsStatus403Schema = forbiddenErrorSchema;
|
|
2918
|
+
const projectsUpdateEnvVarsStatus404Schema = notFoundErrorSchema;
|
|
2919
|
+
const projectsUpdateEnvVarsStatus409Schema = conflictErrorSchema;
|
|
2920
|
+
const projectsUpdateEnvVarsStatus413Schema = payloadTooLargeErrorSchema;
|
|
2921
|
+
const projectsUpdateEnvVarsStatus422Schema = unprocessableEntityErrorSchema;
|
|
2922
|
+
const projectsUpdateEnvVarsStatus429Schema = tooManyRequestsErrorSchema;
|
|
2923
|
+
const projectsUpdateEnvVarsStatus500Schema = internalServerErrorSchema;
|
|
2128
2924
|
const projectsUpdateEnvVarsResponseSchema = projectsUpdateEnvVarsStatus200Schema;
|
|
2129
2925
|
const projectsUpdateEnvVarsErrorSchema = z__namespace.union([
|
|
2130
2926
|
projectsUpdateEnvVarsStatus401Schema,
|
|
@@ -2136,16 +2932,42 @@ const projectsUpdateEnvVarsErrorSchema = z__namespace.union([
|
|
|
2136
2932
|
projectsUpdateEnvVarsStatus429Schema,
|
|
2137
2933
|
projectsUpdateEnvVarsStatus500Schema
|
|
2138
2934
|
]);
|
|
2935
|
+
const projectsUpdateEnvVarsBodySchema = z__namespace.strictObject({
|
|
2936
|
+
environmentVariables: z__namespace.array(z__namespace.strictObject({
|
|
2937
|
+
id: z__namespace.string().describe("The unique identifier of the environment variable to update."),
|
|
2938
|
+
value: z__namespace.string().describe("The new value of the environment variable.")
|
|
2939
|
+
})).describe("An array of environment variables to update with id and value fields.")
|
|
2940
|
+
});
|
|
2941
|
+
const projectsUpdateEnvVarsPathSchema = z__namespace.object({
|
|
2942
|
+
projectId: z__namespace.string().describe("The unique identifier of the project whose environment variables should be updated.")
|
|
2943
|
+
});
|
|
2944
|
+
const projectsUpdateEnvVarsQuerySchema = z__namespace.object({
|
|
2945
|
+
decrypted: z__namespace.enum([
|
|
2946
|
+
"true",
|
|
2947
|
+
"false"
|
|
2948
|
+
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).")
|
|
2949
|
+
});
|
|
2139
2950
|
const projectsDeleteEnvVarsPathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project whose environment variables should be deleted.");
|
|
2140
|
-
const projectsDeleteEnvVarsStatus200Schema = z__namespace.
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2951
|
+
const projectsDeleteEnvVarsStatus200Schema = z__namespace.strictObject({
|
|
2952
|
+
object: z__namespace.enum([
|
|
2953
|
+
"list"
|
|
2954
|
+
]),
|
|
2955
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
2956
|
+
id: z__namespace.string(),
|
|
2957
|
+
object: z__namespace.enum([
|
|
2958
|
+
"environment_variable"
|
|
2959
|
+
]),
|
|
2960
|
+
deleted: z__namespace.literal(true)
|
|
2961
|
+
}))
|
|
2962
|
+
});
|
|
2963
|
+
const projectsDeleteEnvVarsStatus401Schema = unauthorizedErrorSchema;
|
|
2964
|
+
const projectsDeleteEnvVarsStatus403Schema = forbiddenErrorSchema;
|
|
2965
|
+
const projectsDeleteEnvVarsStatus404Schema = notFoundErrorSchema;
|
|
2966
|
+
const projectsDeleteEnvVarsStatus409Schema = conflictErrorSchema;
|
|
2967
|
+
const projectsDeleteEnvVarsStatus413Schema = payloadTooLargeErrorSchema;
|
|
2968
|
+
const projectsDeleteEnvVarsStatus422Schema = unprocessableEntityErrorSchema;
|
|
2969
|
+
const projectsDeleteEnvVarsStatus429Schema = tooManyRequestsErrorSchema;
|
|
2970
|
+
const projectsDeleteEnvVarsStatus500Schema = internalServerErrorSchema;
|
|
2149
2971
|
const projectsDeleteEnvVarsResponseSchema = projectsDeleteEnvVarsStatus200Schema;
|
|
2150
2972
|
const projectsDeleteEnvVarsErrorSchema = z__namespace.union([
|
|
2151
2973
|
projectsDeleteEnvVarsStatus401Schema,
|
|
@@ -2157,21 +2979,32 @@ const projectsDeleteEnvVarsErrorSchema = z__namespace.union([
|
|
|
2157
2979
|
projectsDeleteEnvVarsStatus429Schema,
|
|
2158
2980
|
projectsDeleteEnvVarsStatus500Schema
|
|
2159
2981
|
]);
|
|
2982
|
+
const projectsDeleteEnvVarsBodySchema = z__namespace.strictObject({
|
|
2983
|
+
environmentVariableIds: z__namespace.array(z__namespace.string()).describe("An array of environment variable IDs to delete.")
|
|
2984
|
+
});
|
|
2985
|
+
const projectsDeleteEnvVarsPathSchema = z__namespace.object({
|
|
2986
|
+
projectId: z__namespace.string().describe("The unique identifier of the project whose environment variables should be deleted.")
|
|
2987
|
+
});
|
|
2160
2988
|
const projectsGetEnvVarPathProjectIdSchema = z__namespace.string().describe("The unique identifier of the project that owns the environment variable.");
|
|
2161
2989
|
const projectsGetEnvVarPathEnvironmentVariableIdSchema = z__namespace.string().describe("The unique identifier of the environment variable to retrieve.");
|
|
2162
2990
|
const projectsGetEnvVarQueryDecryptedSchema = z__namespace.enum([
|
|
2163
2991
|
"true",
|
|
2164
2992
|
"false"
|
|
2165
2993
|
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).");
|
|
2166
|
-
const projectsGetEnvVarStatus200Schema = z__namespace.
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
const
|
|
2173
|
-
const
|
|
2174
|
-
const
|
|
2994
|
+
const projectsGetEnvVarStatus200Schema = z__namespace.strictObject({
|
|
2995
|
+
object: z__namespace.enum([
|
|
2996
|
+
"environment_variable"
|
|
2997
|
+
]),
|
|
2998
|
+
data: environmentVariableDetailSchemaSchema.describe("Detailed information for an environment variable including its value.")
|
|
2999
|
+
});
|
|
3000
|
+
const projectsGetEnvVarStatus401Schema = unauthorizedErrorSchema;
|
|
3001
|
+
const projectsGetEnvVarStatus403Schema = forbiddenErrorSchema;
|
|
3002
|
+
const projectsGetEnvVarStatus404Schema = notFoundErrorSchema;
|
|
3003
|
+
const projectsGetEnvVarStatus409Schema = conflictErrorSchema;
|
|
3004
|
+
const projectsGetEnvVarStatus413Schema = payloadTooLargeErrorSchema;
|
|
3005
|
+
const projectsGetEnvVarStatus422Schema = unprocessableEntityErrorSchema;
|
|
3006
|
+
const projectsGetEnvVarStatus429Schema = tooManyRequestsErrorSchema;
|
|
3007
|
+
const projectsGetEnvVarStatus500Schema = internalServerErrorSchema;
|
|
2175
3008
|
const projectsGetEnvVarResponseSchema = projectsGetEnvVarStatus200Schema;
|
|
2176
3009
|
const projectsGetEnvVarErrorSchema = z__namespace.union([
|
|
2177
3010
|
projectsGetEnvVarStatus401Schema,
|
|
@@ -2183,16 +3016,36 @@ const projectsGetEnvVarErrorSchema = z__namespace.union([
|
|
|
2183
3016
|
projectsGetEnvVarStatus429Schema,
|
|
2184
3017
|
projectsGetEnvVarStatus500Schema
|
|
2185
3018
|
]);
|
|
3019
|
+
const projectsGetEnvVarPathSchema = z__namespace.object({
|
|
3020
|
+
projectId: z__namespace.string().describe("The unique identifier of the project that owns the environment variable."),
|
|
3021
|
+
environmentVariableId: z__namespace.string().describe("The unique identifier of the environment variable to retrieve.")
|
|
3022
|
+
});
|
|
3023
|
+
const projectsGetEnvVarQuerySchema = z__namespace.object({
|
|
3024
|
+
decrypted: z__namespace.enum([
|
|
3025
|
+
"true",
|
|
3026
|
+
"false"
|
|
3027
|
+
]).optional().describe("Whether to return decrypted values. Defaults to false (encrypted).")
|
|
3028
|
+
});
|
|
2186
3029
|
const rateLimitsFindQueryScopeSchema = z__namespace.string().optional().describe("The context or namespace to check rate limits for (e.g., a project slug or feature area).");
|
|
2187
|
-
const rateLimitsFindStatus200Schema = z__namespace.
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
3030
|
+
const rateLimitsFindStatus200Schema = z__namespace.strictObject({
|
|
3031
|
+
remaining: z__namespace.number().optional(),
|
|
3032
|
+
reset: z__namespace.number().optional(),
|
|
3033
|
+
limit: z__namespace.number(),
|
|
3034
|
+
dailyLimit: z__namespace.strictObject({
|
|
3035
|
+
limit: z__namespace.number().describe("The maximum number of daily messages allowed for free users."),
|
|
3036
|
+
remaining: z__namespace.number().describe("The number of messages the user has remaining for the day."),
|
|
3037
|
+
reset: z__namespace.number().describe("Unix timestamp (in milliseconds) when the daily limit resets."),
|
|
3038
|
+
isWithinGracePeriod: z__namespace.boolean().describe("Whether the user is within the 48-hour grace period for new users, during which usage tracking is disabled.")
|
|
3039
|
+
}).optional().describe("Daily message limit information for free users.")
|
|
3040
|
+
});
|
|
3041
|
+
const rateLimitsFindStatus401Schema = unauthorizedErrorSchema;
|
|
3042
|
+
const rateLimitsFindStatus403Schema = forbiddenErrorSchema;
|
|
3043
|
+
const rateLimitsFindStatus404Schema = notFoundErrorSchema;
|
|
3044
|
+
const rateLimitsFindStatus409Schema = conflictErrorSchema;
|
|
3045
|
+
const rateLimitsFindStatus413Schema = payloadTooLargeErrorSchema;
|
|
3046
|
+
const rateLimitsFindStatus422Schema = unprocessableEntityErrorSchema;
|
|
3047
|
+
const rateLimitsFindStatus429Schema = tooManyRequestsErrorSchema;
|
|
3048
|
+
const rateLimitsFindStatus500Schema = internalServerErrorSchema;
|
|
2196
3049
|
const rateLimitsFindResponseSchema = rateLimitsFindStatus200Schema;
|
|
2197
3050
|
const rateLimitsFindErrorSchema = z__namespace.union([
|
|
2198
3051
|
rateLimitsFindStatus401Schema,
|
|
@@ -2204,15 +3057,18 @@ const rateLimitsFindErrorSchema = z__namespace.union([
|
|
|
2204
3057
|
rateLimitsFindStatus429Schema,
|
|
2205
3058
|
rateLimitsFindStatus500Schema
|
|
2206
3059
|
]);
|
|
2207
|
-
const
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
const
|
|
2211
|
-
const
|
|
2212
|
-
const
|
|
2213
|
-
const
|
|
2214
|
-
const
|
|
2215
|
-
const
|
|
3060
|
+
const rateLimitsFindQuerySchema = z__namespace.object({
|
|
3061
|
+
scope: z__namespace.string().optional().describe("The context or namespace to check rate limits for (e.g., a project slug or feature area).")
|
|
3062
|
+
});
|
|
3063
|
+
const userGetStatus200Schema = userSummarySchemaSchema.describe("Details of the authenticated user, including profile and contact information.");
|
|
3064
|
+
const userGetStatus401Schema = unauthorizedErrorSchema;
|
|
3065
|
+
const userGetStatus403Schema = forbiddenErrorSchema;
|
|
3066
|
+
const userGetStatus404Schema = notFoundErrorSchema;
|
|
3067
|
+
const userGetStatus409Schema = conflictErrorSchema;
|
|
3068
|
+
const userGetStatus413Schema = payloadTooLargeErrorSchema;
|
|
3069
|
+
const userGetStatus422Schema = unprocessableEntityErrorSchema;
|
|
3070
|
+
const userGetStatus429Schema = tooManyRequestsErrorSchema;
|
|
3071
|
+
const userGetStatus500Schema = internalServerErrorSchema;
|
|
2216
3072
|
const userGetResponseSchema = userGetStatus200Schema;
|
|
2217
3073
|
const userGetErrorSchema = z__namespace.union([
|
|
2218
3074
|
userGetStatus401Schema,
|
|
@@ -2225,15 +3081,55 @@ const userGetErrorSchema = z__namespace.union([
|
|
|
2225
3081
|
userGetStatus500Schema
|
|
2226
3082
|
]);
|
|
2227
3083
|
const userGetBillingQueryScopeSchema = z__namespace.string().optional().describe("Filters billing data by a specific scope, such as a project ID or slug.");
|
|
2228
|
-
const userGetBillingStatus200Schema = z__namespace.
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
3084
|
+
const userGetBillingStatus200Schema = z__namespace.discriminatedUnion("billingType", [
|
|
3085
|
+
z__namespace.strictObject({
|
|
3086
|
+
billingType: z__namespace.enum([
|
|
3087
|
+
"token"
|
|
3088
|
+
]),
|
|
3089
|
+
data: z__namespace.strictObject({
|
|
3090
|
+
plan: z__namespace.string(),
|
|
3091
|
+
billingMode: z__namespace.enum([
|
|
3092
|
+
"test"
|
|
3093
|
+
]).optional(),
|
|
3094
|
+
role: z__namespace.string(),
|
|
3095
|
+
billingCycle: z__namespace.strictObject({
|
|
3096
|
+
start: z__namespace.number(),
|
|
3097
|
+
end: z__namespace.number()
|
|
3098
|
+
}),
|
|
3099
|
+
balance: z__namespace.strictObject({
|
|
3100
|
+
remaining: z__namespace.number(),
|
|
3101
|
+
total: z__namespace.number()
|
|
3102
|
+
}),
|
|
3103
|
+
onDemand: z__namespace.strictObject({
|
|
3104
|
+
balance: z__namespace.number(),
|
|
3105
|
+
blocks: z__namespace.array(z__namespace.strictObject({
|
|
3106
|
+
expirationDate: z__namespace.number().optional(),
|
|
3107
|
+
effectiveDate: z__namespace.number(),
|
|
3108
|
+
originalBalance: z__namespace.number(),
|
|
3109
|
+
currentBalance: z__namespace.number()
|
|
3110
|
+
})).optional()
|
|
3111
|
+
})
|
|
3112
|
+
})
|
|
3113
|
+
}),
|
|
3114
|
+
z__namespace.strictObject({
|
|
3115
|
+
billingType: z__namespace.enum([
|
|
3116
|
+
"legacy"
|
|
3117
|
+
]),
|
|
3118
|
+
data: z__namespace.strictObject({
|
|
3119
|
+
remaining: z__namespace.number().optional(),
|
|
3120
|
+
reset: z__namespace.number().optional(),
|
|
3121
|
+
limit: z__namespace.number()
|
|
3122
|
+
})
|
|
3123
|
+
})
|
|
3124
|
+
]);
|
|
3125
|
+
const userGetBillingStatus401Schema = unauthorizedErrorSchema;
|
|
3126
|
+
const userGetBillingStatus403Schema = forbiddenErrorSchema;
|
|
3127
|
+
const userGetBillingStatus404Schema = notFoundErrorSchema;
|
|
3128
|
+
const userGetBillingStatus409Schema = conflictErrorSchema;
|
|
3129
|
+
const userGetBillingStatus413Schema = payloadTooLargeErrorSchema;
|
|
3130
|
+
const userGetBillingStatus422Schema = unprocessableEntityErrorSchema;
|
|
3131
|
+
const userGetBillingStatus429Schema = tooManyRequestsErrorSchema;
|
|
3132
|
+
const userGetBillingStatus500Schema = internalServerErrorSchema;
|
|
2237
3133
|
const userGetBillingResponseSchema = userGetBillingStatus200Schema;
|
|
2238
3134
|
const userGetBillingErrorSchema = z__namespace.union([
|
|
2239
3135
|
userGetBillingStatus401Schema,
|
|
@@ -2245,15 +3141,31 @@ const userGetBillingErrorSchema = z__namespace.union([
|
|
|
2245
3141
|
userGetBillingStatus429Schema,
|
|
2246
3142
|
userGetBillingStatus500Schema
|
|
2247
3143
|
]);
|
|
2248
|
-
const
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
const
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
3144
|
+
const userGetBillingQuerySchema = z__namespace.object({
|
|
3145
|
+
scope: z__namespace.string().optional().describe("Filters billing data by a specific scope, such as a project ID or slug.")
|
|
3146
|
+
});
|
|
3147
|
+
const userGetPlanStatus200Schema = z__namespace.strictObject({
|
|
3148
|
+
object: z__namespace.enum([
|
|
3149
|
+
"plan"
|
|
3150
|
+
]),
|
|
3151
|
+
plan: z__namespace.string(),
|
|
3152
|
+
billingCycle: z__namespace.strictObject({
|
|
3153
|
+
start: z__namespace.number(),
|
|
3154
|
+
end: z__namespace.number()
|
|
3155
|
+
}),
|
|
3156
|
+
balance: z__namespace.strictObject({
|
|
3157
|
+
remaining: z__namespace.number(),
|
|
3158
|
+
total: z__namespace.number()
|
|
3159
|
+
})
|
|
3160
|
+
});
|
|
3161
|
+
const userGetPlanStatus401Schema = unauthorizedErrorSchema;
|
|
3162
|
+
const userGetPlanStatus403Schema = forbiddenErrorSchema;
|
|
3163
|
+
const userGetPlanStatus404Schema = notFoundErrorSchema;
|
|
3164
|
+
const userGetPlanStatus409Schema = conflictErrorSchema;
|
|
3165
|
+
const userGetPlanStatus413Schema = payloadTooLargeErrorSchema;
|
|
3166
|
+
const userGetPlanStatus422Schema = unprocessableEntityErrorSchema;
|
|
3167
|
+
const userGetPlanStatus429Schema = tooManyRequestsErrorSchema;
|
|
3168
|
+
const userGetPlanStatus500Schema = internalServerErrorSchema;
|
|
2257
3169
|
const userGetPlanResponseSchema = userGetPlanStatus200Schema;
|
|
2258
3170
|
const userGetPlanErrorSchema = z__namespace.union([
|
|
2259
3171
|
userGetPlanStatus401Schema,
|
|
@@ -2265,15 +3177,20 @@ const userGetPlanErrorSchema = z__namespace.union([
|
|
|
2265
3177
|
userGetPlanStatus429Schema,
|
|
2266
3178
|
userGetPlanStatus500Schema
|
|
2267
3179
|
]);
|
|
2268
|
-
const userGetScopesStatus200Schema = z__namespace.
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
const
|
|
2275
|
-
const
|
|
2276
|
-
const
|
|
3180
|
+
const userGetScopesStatus200Schema = z__namespace.strictObject({
|
|
3181
|
+
object: z__namespace.enum([
|
|
3182
|
+
"list"
|
|
3183
|
+
]),
|
|
3184
|
+
data: z__namespace.array(scopeSummarySchema)
|
|
3185
|
+
});
|
|
3186
|
+
const userGetScopesStatus401Schema = unauthorizedErrorSchema;
|
|
3187
|
+
const userGetScopesStatus403Schema = forbiddenErrorSchema;
|
|
3188
|
+
const userGetScopesStatus404Schema = notFoundErrorSchema;
|
|
3189
|
+
const userGetScopesStatus409Schema = conflictErrorSchema;
|
|
3190
|
+
const userGetScopesStatus413Schema = payloadTooLargeErrorSchema;
|
|
3191
|
+
const userGetScopesStatus422Schema = unprocessableEntityErrorSchema;
|
|
3192
|
+
const userGetScopesStatus429Schema = tooManyRequestsErrorSchema;
|
|
3193
|
+
const userGetScopesStatus500Schema = internalServerErrorSchema;
|
|
2277
3194
|
const userGetScopesResponseSchema = userGetScopesStatus200Schema;
|
|
2278
3195
|
const userGetScopesErrorSchema = z__namespace.union([
|
|
2279
3196
|
userGetScopesStatus401Schema,
|
|
@@ -2287,15 +3204,15 @@ const userGetScopesErrorSchema = z__namespace.union([
|
|
|
2287
3204
|
]);
|
|
2288
3205
|
const chatsRestorePathChatIdSchema = z__namespace.string().describe("The unique identifier of the chat containing the version to restore.");
|
|
2289
3206
|
const chatsRestorePathVersionIdSchema = z__namespace.string().describe("The unique identifier of the version to restore.");
|
|
2290
|
-
const chatsRestoreStatus200Schema =
|
|
2291
|
-
const chatsRestoreStatus401Schema =
|
|
2292
|
-
const chatsRestoreStatus403Schema =
|
|
2293
|
-
const chatsRestoreStatus404Schema =
|
|
2294
|
-
const chatsRestoreStatus409Schema =
|
|
2295
|
-
const chatsRestoreStatus413Schema =
|
|
2296
|
-
const chatsRestoreStatus422Schema =
|
|
2297
|
-
const chatsRestoreStatus429Schema =
|
|
2298
|
-
const chatsRestoreStatus500Schema =
|
|
3207
|
+
const chatsRestoreStatus200Schema = versionDetailSchema.describe("Detailed version data including file contents.");
|
|
3208
|
+
const chatsRestoreStatus401Schema = unauthorizedErrorSchema;
|
|
3209
|
+
const chatsRestoreStatus403Schema = forbiddenErrorSchema;
|
|
3210
|
+
const chatsRestoreStatus404Schema = notFoundErrorSchema;
|
|
3211
|
+
const chatsRestoreStatus409Schema = conflictErrorSchema;
|
|
3212
|
+
const chatsRestoreStatus413Schema = payloadTooLargeErrorSchema;
|
|
3213
|
+
const chatsRestoreStatus422Schema = unprocessableEntityErrorSchema;
|
|
3214
|
+
const chatsRestoreStatus429Schema = tooManyRequestsErrorSchema;
|
|
3215
|
+
const chatsRestoreStatus500Schema = internalServerErrorSchema;
|
|
2299
3216
|
const chatsRestoreResponseSchema = chatsRestoreStatus200Schema;
|
|
2300
3217
|
const chatsRestoreErrorSchema = z__namespace.union([
|
|
2301
3218
|
chatsRestoreStatus401Schema,
|
|
@@ -2307,22 +3224,72 @@ const chatsRestoreErrorSchema = z__namespace.union([
|
|
|
2307
3224
|
chatsRestoreStatus429Schema,
|
|
2308
3225
|
chatsRestoreStatus500Schema
|
|
2309
3226
|
]);
|
|
2310
|
-
const
|
|
2311
|
-
|
|
3227
|
+
const chatsRestorePathSchema = z__namespace.object({
|
|
3228
|
+
chatId: z__namespace.string().describe("The unique identifier of the chat containing the version to restore."),
|
|
3229
|
+
versionId: z__namespace.string().describe("The unique identifier of the version to restore.")
|
|
3230
|
+
});
|
|
3231
|
+
const reportsGetUsageQueryStartDateSchema = z__namespace.iso.datetime({
|
|
3232
|
+
offset: true
|
|
3233
|
+
}).optional().describe('Query parameter "startDate"');
|
|
3234
|
+
const reportsGetUsageQueryEndDateSchema = z__namespace.iso.datetime({
|
|
3235
|
+
offset: true
|
|
3236
|
+
}).optional().describe('Query parameter "endDate"');
|
|
2312
3237
|
const reportsGetUsageQueryChatIdSchema = z__namespace.string().optional().describe('Query parameter "chatId"');
|
|
2313
3238
|
const reportsGetUsageQueryMessageIdSchema = z__namespace.string().optional().describe('Query parameter "messageId"');
|
|
2314
3239
|
const reportsGetUsageQueryUserIdSchema = z__namespace.string().optional().describe('Query parameter "userId"');
|
|
2315
3240
|
const reportsGetUsageQueryLimitSchema = z__namespace.number().min(1).max(150).optional().default(20).describe("Bounds the raw billing transactions scanned per ledger group and page. A page can contain more events than this value (large teams are scanned in parallel ledger groups), and a filtered page (chatId, userId, or messageId) can contain fewer or zero events while more data remains. Events are sorted newest-first within a page but not across pages on large teams. Always paginate with `pagination.hasMore` and `pagination.nextCursor` rather than stopping on an empty page.");
|
|
2316
3241
|
const reportsGetUsageQueryCursorSchema = z__namespace.string().optional().describe("Base64 encoded cursor containing pagination data");
|
|
2317
|
-
const reportsGetUsageStatus200Schema = z__namespace.
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
3242
|
+
const reportsGetUsageStatus200Schema = z__namespace.strictObject({
|
|
3243
|
+
object: z__namespace.enum([
|
|
3244
|
+
"list"
|
|
3245
|
+
]),
|
|
3246
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
3247
|
+
id: z__namespace.string(),
|
|
3248
|
+
object: z__namespace.enum([
|
|
3249
|
+
"usage_event"
|
|
3250
|
+
]),
|
|
3251
|
+
type: z__namespace.enum([
|
|
3252
|
+
"api_request",
|
|
3253
|
+
"buy-template",
|
|
3254
|
+
"image_generation",
|
|
3255
|
+
"inline-edit",
|
|
3256
|
+
"manual_debit",
|
|
3257
|
+
"message",
|
|
3258
|
+
"refund_template_purchase",
|
|
3259
|
+
"reverse_template_sale"
|
|
3260
|
+
]).optional(),
|
|
3261
|
+
promptCost: z__namespace.string().optional(),
|
|
3262
|
+
completionCost: z__namespace.string().optional(),
|
|
3263
|
+
costBreakdownStatus: z__namespace.enum([
|
|
3264
|
+
"estimated",
|
|
3265
|
+
"unavailable"
|
|
3266
|
+
]).optional().describe("Whether the cost components are estimated or unavailable. Unavailable components are omitted; totalCost remains authoritative."),
|
|
3267
|
+
totalCost: z__namespace.string(),
|
|
3268
|
+
chatId: z__namespace.string().optional(),
|
|
3269
|
+
messageId: z__namespace.string().optional(),
|
|
3270
|
+
userId: z__namespace.string().optional().describe("Deprecated - use user object instead"),
|
|
3271
|
+
user: userSummarySchemaSchema.optional().describe("Details of the authenticated user, including profile and contact information."),
|
|
3272
|
+
createdAt: z__namespace.iso.datetime({
|
|
3273
|
+
offset: true
|
|
3274
|
+
}).describe("The ISO timestamp representing when the usage event was created.")
|
|
3275
|
+
})),
|
|
3276
|
+
pagination: z__namespace.strictObject({
|
|
3277
|
+
hasMore: z__namespace.boolean(),
|
|
3278
|
+
nextCursor: z__namespace.string().optional(),
|
|
3279
|
+
nextUrl: z__namespace.string().optional()
|
|
3280
|
+
}),
|
|
3281
|
+
meta: z__namespace.strictObject({
|
|
3282
|
+
totalCount: z__namespace.number().describe("Number of events in THIS page only, counted after events are rolled up per message. Not a total across the query, and not a page size — do not use it to track progress or to decide whether to stop paginating. Use `pagination.hasMore` for that.")
|
|
3283
|
+
})
|
|
3284
|
+
});
|
|
3285
|
+
const reportsGetUsageStatus401Schema = unauthorizedErrorSchema;
|
|
3286
|
+
const reportsGetUsageStatus403Schema = forbiddenErrorSchema;
|
|
3287
|
+
const reportsGetUsageStatus404Schema = notFoundErrorSchema;
|
|
3288
|
+
const reportsGetUsageStatus409Schema = conflictErrorSchema;
|
|
3289
|
+
const reportsGetUsageStatus413Schema = payloadTooLargeErrorSchema;
|
|
3290
|
+
const reportsGetUsageStatus422Schema = unprocessableEntityErrorSchema;
|
|
3291
|
+
const reportsGetUsageStatus429Schema = tooManyRequestsErrorSchema;
|
|
3292
|
+
const reportsGetUsageStatus500Schema = internalServerErrorSchema;
|
|
2326
3293
|
const reportsGetUsageResponseSchema = reportsGetUsageStatus200Schema;
|
|
2327
3294
|
const reportsGetUsageErrorSchema = z__namespace.union([
|
|
2328
3295
|
reportsGetUsageStatus401Schema,
|
|
@@ -2334,19 +3301,64 @@ const reportsGetUsageErrorSchema = z__namespace.union([
|
|
|
2334
3301
|
reportsGetUsageStatus429Schema,
|
|
2335
3302
|
reportsGetUsageStatus500Schema
|
|
2336
3303
|
]);
|
|
2337
|
-
const
|
|
2338
|
-
|
|
3304
|
+
const reportsGetUsageQuerySchema = z__namespace.object({
|
|
3305
|
+
startDate: z__namespace.iso.datetime({
|
|
3306
|
+
offset: true
|
|
3307
|
+
}).optional().describe('Query parameter "startDate"'),
|
|
3308
|
+
endDate: z__namespace.iso.datetime({
|
|
3309
|
+
offset: true
|
|
3310
|
+
}).optional().describe('Query parameter "endDate"'),
|
|
3311
|
+
chatId: z__namespace.string().optional().describe('Query parameter "chatId"'),
|
|
3312
|
+
messageId: z__namespace.string().optional().describe('Query parameter "messageId"'),
|
|
3313
|
+
userId: z__namespace.string().optional().describe('Query parameter "userId"'),
|
|
3314
|
+
limit: z__namespace.number().min(1).max(150).optional().default(20).describe("Bounds the raw billing transactions scanned per ledger group and page. A page can contain more events than this value (large teams are scanned in parallel ledger groups), and a filtered page (chatId, userId, or messageId) can contain fewer or zero events while more data remains. Events are sorted newest-first within a page but not across pages on large teams. Always paginate with `pagination.hasMore` and `pagination.nextCursor` rather than stopping on an empty page."),
|
|
3315
|
+
cursor: z__namespace.string().optional().describe("Base64 encoded cursor containing pagination data")
|
|
3316
|
+
});
|
|
3317
|
+
const reportsGetAIUsageQueryStartSchema = z__namespace.iso.datetime({
|
|
3318
|
+
offset: true
|
|
3319
|
+
}).optional().describe("Inclusive start datetime filter.");
|
|
3320
|
+
const reportsGetAIUsageQueryEndSchema = z__namespace.iso.datetime({
|
|
3321
|
+
offset: true
|
|
3322
|
+
}).optional().describe("Exclusive end datetime filter.");
|
|
2339
3323
|
const reportsGetAIUsageQueryCursorSchema = z__namespace.string().optional().describe("Opaque cursor returned by a previous request for forward pagination.");
|
|
2340
3324
|
const reportsGetAIUsageQueryLimitSchema = z__namespace.int().min(1).max(5000).optional().default(1000).describe("Maximum number of rows to return.");
|
|
2341
|
-
const reportsGetAIUsageStatus200Schema = z__namespace.
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
3325
|
+
const reportsGetAIUsageStatus200Schema = z__namespace.strictObject({
|
|
3326
|
+
object: z__namespace.enum([
|
|
3327
|
+
"list"
|
|
3328
|
+
]),
|
|
3329
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
3330
|
+
eventId: z__namespace.string(),
|
|
3331
|
+
modelId: z__namespace.string(),
|
|
3332
|
+
inputTokens: z__namespace.number(),
|
|
3333
|
+
outputTokens: z__namespace.number(),
|
|
3334
|
+
totalTokens: z__namespace.number(),
|
|
3335
|
+
cacheCreationInputTokens: z__namespace.number(),
|
|
3336
|
+
cacheCreationInputTokens1h: z__namespace.number().optional().default(0),
|
|
3337
|
+
cacheReadInputTokens: z__namespace.number(),
|
|
3338
|
+
timestamp: z__namespace.string(),
|
|
3339
|
+
requestId: z__namespace.string(),
|
|
3340
|
+
useCase: z__namespace.string(),
|
|
3341
|
+
chatId: z__namespace.string(),
|
|
3342
|
+
messageId: z__namespace.string(),
|
|
3343
|
+
userId: z__namespace.string(),
|
|
3344
|
+
userEmail: z__namespace.string()
|
|
3345
|
+
})),
|
|
3346
|
+
pagination: z__namespace.strictObject({
|
|
3347
|
+
nextCursor: z__namespace.string().nullable()
|
|
3348
|
+
}),
|
|
3349
|
+
dateRange: z__namespace.strictObject({
|
|
3350
|
+
start: z__namespace.string().nullable(),
|
|
3351
|
+
end: z__namespace.string().nullable()
|
|
3352
|
+
})
|
|
3353
|
+
});
|
|
3354
|
+
const reportsGetAIUsageStatus401Schema = unauthorizedErrorSchema;
|
|
3355
|
+
const reportsGetAIUsageStatus403Schema = forbiddenErrorSchema;
|
|
3356
|
+
const reportsGetAIUsageStatus404Schema = notFoundErrorSchema;
|
|
3357
|
+
const reportsGetAIUsageStatus409Schema = conflictErrorSchema;
|
|
3358
|
+
const reportsGetAIUsageStatus413Schema = payloadTooLargeErrorSchema;
|
|
3359
|
+
const reportsGetAIUsageStatus422Schema = unprocessableEntityErrorSchema;
|
|
3360
|
+
const reportsGetAIUsageStatus429Schema = tooManyRequestsErrorSchema;
|
|
3361
|
+
const reportsGetAIUsageStatus500Schema = internalServerErrorSchema;
|
|
2350
3362
|
const reportsGetAIUsageResponseSchema = reportsGetAIUsageStatus200Schema;
|
|
2351
3363
|
const reportsGetAIUsageErrorSchema = z__namespace.union([
|
|
2352
3364
|
reportsGetAIUsageStatus401Schema,
|
|
@@ -2358,17 +3370,96 @@ const reportsGetAIUsageErrorSchema = z__namespace.union([
|
|
|
2358
3370
|
reportsGetAIUsageStatus429Schema,
|
|
2359
3371
|
reportsGetAIUsageStatus500Schema
|
|
2360
3372
|
]);
|
|
2361
|
-
const
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
const
|
|
3373
|
+
const reportsGetAIUsageQuerySchema = z__namespace.object({
|
|
3374
|
+
start: z__namespace.iso.datetime({
|
|
3375
|
+
offset: true
|
|
3376
|
+
}).optional().describe("Inclusive start datetime filter."),
|
|
3377
|
+
end: z__namespace.iso.datetime({
|
|
3378
|
+
offset: true
|
|
3379
|
+
}).optional().describe("Exclusive end datetime filter."),
|
|
3380
|
+
cursor: z__namespace.string().optional().describe("Opaque cursor returned by a previous request for forward pagination."),
|
|
3381
|
+
limit: z__namespace.int().min(1).max(5000).optional().default(1000).describe("Maximum number of rows to return.")
|
|
3382
|
+
});
|
|
3383
|
+
const reportsGetUserActivityQueryStartDateSchema = z__namespace.iso.datetime({
|
|
3384
|
+
offset: true
|
|
3385
|
+
}).optional().describe("Inclusive ISO timestamp lower bound for activity.");
|
|
3386
|
+
const reportsGetUserActivityQueryEndDateSchema = z__namespace.iso.datetime({
|
|
3387
|
+
offset: true
|
|
3388
|
+
}).optional().describe("Exclusive ISO timestamp upper bound for activity. Pass the end of the last day (e.g. 23:59:59.999) to include it.");
|
|
3389
|
+
const reportsGetUserActivityStatus200Schema = z__namespace.strictObject({
|
|
3390
|
+
object: z__namespace.enum([
|
|
3391
|
+
"list"
|
|
3392
|
+
]),
|
|
3393
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
3394
|
+
id: z__namespace.string(),
|
|
3395
|
+
object: z__namespace.enum([
|
|
3396
|
+
"user_activity"
|
|
3397
|
+
]),
|
|
3398
|
+
user: z__namespace.strictObject({
|
|
3399
|
+
id: z__namespace.string().describe("A unique identifier for the user."),
|
|
3400
|
+
object: z__namespace.enum([
|
|
3401
|
+
"user"
|
|
3402
|
+
]).describe("Fixed value identifying this object as a user."),
|
|
3403
|
+
name: z__namespace.string().optional().describe("Optional full name of the user."),
|
|
3404
|
+
email: z__namespace.string().describe("The user's email address."),
|
|
3405
|
+
avatar: z__namespace.string().describe("URL to the user's avatar image."),
|
|
3406
|
+
createdAt: z__namespace.iso.datetime({
|
|
3407
|
+
offset: true
|
|
3408
|
+
}).describe("The ISO timestamp representing when the user was created."),
|
|
3409
|
+
updatedAt: z__namespace.iso.datetime({
|
|
3410
|
+
offset: true
|
|
3411
|
+
}).optional().describe("The ISO timestamp of the last update to the user."),
|
|
3412
|
+
teamV0Role: z__namespace.union([
|
|
3413
|
+
z__namespace.enum([
|
|
3414
|
+
"V0Builder",
|
|
3415
|
+
"V0Chatter",
|
|
3416
|
+
"V0Viewer"
|
|
3417
|
+
]),
|
|
3418
|
+
z__namespace.null()
|
|
3419
|
+
]).describe("The user's v0 role")
|
|
3420
|
+
}),
|
|
3421
|
+
chatCount: z__namespace.number().describe("Total number of chats created by the user"),
|
|
3422
|
+
messageCount: z__namespace.number().describe("Total number of messages sent by the user"),
|
|
3423
|
+
activeDays: z__namespace.number().describe("Number of distinct days the user was active"),
|
|
3424
|
+
firstActivity: z__namespace.union([
|
|
3425
|
+
z__namespace.iso.datetime({
|
|
3426
|
+
offset: true
|
|
3427
|
+
}),
|
|
3428
|
+
z__namespace.null()
|
|
3429
|
+
]).describe("Timestamp of the user's first activity"),
|
|
3430
|
+
lastActivity: z__namespace.union([
|
|
3431
|
+
z__namespace.iso.datetime({
|
|
3432
|
+
offset: true
|
|
3433
|
+
}),
|
|
3434
|
+
z__namespace.null()
|
|
3435
|
+
]).describe("Timestamp of the user's last activity")
|
|
3436
|
+
})),
|
|
3437
|
+
meta: z__namespace.strictObject({
|
|
3438
|
+
totalCount: z__namespace.number(),
|
|
3439
|
+
dateRange: z__namespace.strictObject({
|
|
3440
|
+
start: z__namespace.union([
|
|
3441
|
+
z__namespace.iso.datetime({
|
|
3442
|
+
offset: true
|
|
3443
|
+
}),
|
|
3444
|
+
z__namespace.null()
|
|
3445
|
+
]),
|
|
3446
|
+
end: z__namespace.union([
|
|
3447
|
+
z__namespace.iso.datetime({
|
|
3448
|
+
offset: true
|
|
3449
|
+
}),
|
|
3450
|
+
z__namespace.null()
|
|
3451
|
+
])
|
|
3452
|
+
})
|
|
3453
|
+
})
|
|
3454
|
+
});
|
|
3455
|
+
const reportsGetUserActivityStatus401Schema = unauthorizedErrorSchema;
|
|
3456
|
+
const reportsGetUserActivityStatus403Schema = forbiddenErrorSchema;
|
|
3457
|
+
const reportsGetUserActivityStatus404Schema = notFoundErrorSchema;
|
|
3458
|
+
const reportsGetUserActivityStatus409Schema = conflictErrorSchema;
|
|
3459
|
+
const reportsGetUserActivityStatus413Schema = payloadTooLargeErrorSchema;
|
|
3460
|
+
const reportsGetUserActivityStatus422Schema = unprocessableEntityErrorSchema;
|
|
3461
|
+
const reportsGetUserActivityStatus429Schema = tooManyRequestsErrorSchema;
|
|
3462
|
+
const reportsGetUserActivityStatus500Schema = internalServerErrorSchema;
|
|
2372
3463
|
const reportsGetUserActivityResponseSchema = reportsGetUserActivityStatus200Schema;
|
|
2373
3464
|
const reportsGetUserActivityErrorSchema = z__namespace.union([
|
|
2374
3465
|
reportsGetUserActivityStatus401Schema,
|
|
@@ -2380,15 +3471,55 @@ const reportsGetUserActivityErrorSchema = z__namespace.union([
|
|
|
2380
3471
|
reportsGetUserActivityStatus429Schema,
|
|
2381
3472
|
reportsGetUserActivityStatus500Schema
|
|
2382
3473
|
]);
|
|
2383
|
-
const
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
const
|
|
3474
|
+
const reportsGetUserActivityQuerySchema = z__namespace.object({
|
|
3475
|
+
startDate: z__namespace.iso.datetime({
|
|
3476
|
+
offset: true
|
|
3477
|
+
}).optional().describe("Inclusive ISO timestamp lower bound for activity."),
|
|
3478
|
+
endDate: z__namespace.iso.datetime({
|
|
3479
|
+
offset: true
|
|
3480
|
+
}).optional().describe("Exclusive ISO timestamp upper bound for activity. Pass the end of the last day (e.g. 23:59:59.999) to include it.")
|
|
3481
|
+
});
|
|
3482
|
+
const mcpServersFindStatus200Schema = z__namespace.strictObject({
|
|
3483
|
+
object: z__namespace.enum([
|
|
3484
|
+
"list"
|
|
3485
|
+
]),
|
|
3486
|
+
data: z__namespace.array(z__namespace.strictObject({
|
|
3487
|
+
object: z__namespace.enum([
|
|
3488
|
+
"mcp_server"
|
|
3489
|
+
]).describe("The object type."),
|
|
3490
|
+
id: z__namespace.string().describe("The unique identifier for the MCP server."),
|
|
3491
|
+
name: z__namespace.string().describe("The display name of the MCP server."),
|
|
3492
|
+
url: z__namespace.url().describe("The URL of the MCP server."),
|
|
3493
|
+
description: z__namespace.string().optional().describe("An optional description of the MCP server."),
|
|
3494
|
+
enabled: z__namespace.boolean().describe("Whether the MCP server is enabled for use in chats."),
|
|
3495
|
+
auth: z__namespace.strictObject({
|
|
3496
|
+
type: z__namespace.enum([
|
|
3497
|
+
"bearer",
|
|
3498
|
+
"custom-headers",
|
|
3499
|
+
"none",
|
|
3500
|
+
"oauth"
|
|
3501
|
+
]).describe("The type of authentication configured.")
|
|
3502
|
+
}).describe("Authentication type for the MCP server. Sensitive values like tokens and headers are not returned."),
|
|
3503
|
+
scope: z__namespace.enum([
|
|
3504
|
+
"team",
|
|
3505
|
+
"user"
|
|
3506
|
+
]).describe("The scope of the MCP server (user or team)."),
|
|
3507
|
+
createdAt: z__namespace.iso.datetime({
|
|
3508
|
+
offset: true
|
|
3509
|
+
}).describe("The ISO timestamp when the MCP server was created."),
|
|
3510
|
+
updatedAt: z__namespace.iso.datetime({
|
|
3511
|
+
offset: true
|
|
3512
|
+
}).optional().describe("The ISO timestamp when the MCP server was last updated.")
|
|
3513
|
+
}))
|
|
3514
|
+
}).describe("List of MCP servers for the authenticated user.");
|
|
3515
|
+
const mcpServersFindStatus401Schema = unauthorizedErrorSchema;
|
|
3516
|
+
const mcpServersFindStatus403Schema = forbiddenErrorSchema;
|
|
3517
|
+
const mcpServersFindStatus404Schema = notFoundErrorSchema;
|
|
3518
|
+
const mcpServersFindStatus409Schema = conflictErrorSchema;
|
|
3519
|
+
const mcpServersFindStatus413Schema = payloadTooLargeErrorSchema;
|
|
3520
|
+
const mcpServersFindStatus422Schema = unprocessableEntityErrorSchema;
|
|
3521
|
+
const mcpServersFindStatus429Schema = tooManyRequestsErrorSchema;
|
|
3522
|
+
const mcpServersFindStatus500Schema = internalServerErrorSchema;
|
|
2392
3523
|
const mcpServersFindResponseSchema = mcpServersFindStatus200Schema;
|
|
2393
3524
|
const mcpServersFindErrorSchema = z__namespace.union([
|
|
2394
3525
|
mcpServersFindStatus401Schema,
|
|
@@ -2400,15 +3531,42 @@ const mcpServersFindErrorSchema = z__namespace.union([
|
|
|
2400
3531
|
mcpServersFindStatus429Schema,
|
|
2401
3532
|
mcpServersFindStatus500Schema
|
|
2402
3533
|
]);
|
|
2403
|
-
const mcpServersCreateStatus200Schema = z__namespace.
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
3534
|
+
const mcpServersCreateStatus200Schema = z__namespace.strictObject({
|
|
3535
|
+
object: z__namespace.enum([
|
|
3536
|
+
"mcp_server"
|
|
3537
|
+
]).describe("The object type."),
|
|
3538
|
+
id: z__namespace.string().describe("The unique identifier for the MCP server."),
|
|
3539
|
+
name: z__namespace.string().describe("The display name of the MCP server."),
|
|
3540
|
+
url: z__namespace.url().describe("The URL of the MCP server."),
|
|
3541
|
+
description: z__namespace.string().optional().describe("An optional description of the MCP server."),
|
|
3542
|
+
enabled: z__namespace.boolean().describe("Whether the MCP server is enabled for use in chats."),
|
|
3543
|
+
auth: z__namespace.strictObject({
|
|
3544
|
+
type: z__namespace.enum([
|
|
3545
|
+
"bearer",
|
|
3546
|
+
"custom-headers",
|
|
3547
|
+
"none",
|
|
3548
|
+
"oauth"
|
|
3549
|
+
]).describe("The type of authentication configured.")
|
|
3550
|
+
}).describe("Authentication type for the MCP server. Sensitive values like tokens and headers are not returned."),
|
|
3551
|
+
scope: z__namespace.enum([
|
|
3552
|
+
"team",
|
|
3553
|
+
"user"
|
|
3554
|
+
]).describe("The scope of the MCP server (user or team)."),
|
|
3555
|
+
createdAt: z__namespace.iso.datetime({
|
|
3556
|
+
offset: true
|
|
3557
|
+
}).describe("The ISO timestamp when the MCP server was created."),
|
|
3558
|
+
updatedAt: z__namespace.iso.datetime({
|
|
3559
|
+
offset: true
|
|
3560
|
+
}).optional().describe("The ISO timestamp when the MCP server was last updated.")
|
|
3561
|
+
}).describe("Summary information about an MCP server.");
|
|
3562
|
+
const mcpServersCreateStatus401Schema = unauthorizedErrorSchema;
|
|
3563
|
+
const mcpServersCreateStatus403Schema = forbiddenErrorSchema;
|
|
3564
|
+
const mcpServersCreateStatus404Schema = notFoundErrorSchema;
|
|
3565
|
+
const mcpServersCreateStatus409Schema = conflictErrorSchema;
|
|
3566
|
+
const mcpServersCreateStatus413Schema = payloadTooLargeErrorSchema;
|
|
3567
|
+
const mcpServersCreateStatus422Schema = unprocessableEntityErrorSchema;
|
|
3568
|
+
const mcpServersCreateStatus429Schema = tooManyRequestsErrorSchema;
|
|
3569
|
+
const mcpServersCreateStatus500Schema = internalServerErrorSchema;
|
|
2412
3570
|
const mcpServersCreateResponseSchema = mcpServersCreateStatus200Schema;
|
|
2413
3571
|
const mcpServersCreateErrorSchema = z__namespace.union([
|
|
2414
3572
|
mcpServersCreateStatus401Schema,
|
|
@@ -2420,16 +3578,91 @@ const mcpServersCreateErrorSchema = z__namespace.union([
|
|
|
2420
3578
|
mcpServersCreateStatus429Schema,
|
|
2421
3579
|
mcpServersCreateStatus500Schema
|
|
2422
3580
|
]);
|
|
3581
|
+
const mcpServersCreateBodySchema = z__namespace.strictObject({
|
|
3582
|
+
name: z__namespace.string().min(1).max(100).describe("The display name of the MCP server."),
|
|
3583
|
+
url: z__namespace.url().max(500).describe("The URL of the MCP server. Must be HTTPS in production."),
|
|
3584
|
+
description: z__namespace.string().max(500).optional().describe("An optional description of the MCP server."),
|
|
3585
|
+
enabled: z__namespace.boolean().optional().default(true).describe("Whether the MCP server is enabled. Defaults to true."),
|
|
3586
|
+
auth: z__namespace.discriminatedUnion("type", [
|
|
3587
|
+
z__namespace.strictObject({
|
|
3588
|
+
type: z__namespace.enum([
|
|
3589
|
+
"none"
|
|
3590
|
+
]).describe("No authentication required.")
|
|
3591
|
+
}),
|
|
3592
|
+
z__namespace.strictObject({
|
|
3593
|
+
type: z__namespace.enum([
|
|
3594
|
+
"bearer"
|
|
3595
|
+
]).describe("Bearer token authentication."),
|
|
3596
|
+
token: z__namespace.string().min(1).max(1000).describe("The bearer token for authentication.")
|
|
3597
|
+
}),
|
|
3598
|
+
z__namespace.strictObject({
|
|
3599
|
+
type: z__namespace.enum([
|
|
3600
|
+
"custom-headers"
|
|
3601
|
+
]).describe("Custom headers authentication."),
|
|
3602
|
+
headers: z__namespace.record(z__namespace.string().max(100), z__namespace.string().max(500)).describe("Key-value pairs of custom headers to include in requests.")
|
|
3603
|
+
}),
|
|
3604
|
+
z__namespace.strictObject({
|
|
3605
|
+
type: z__namespace.enum([
|
|
3606
|
+
"oauth"
|
|
3607
|
+
]).describe("OAuth 2.1 authentication."),
|
|
3608
|
+
config: z__namespace.strictObject({
|
|
3609
|
+
authorizationUrl: z__namespace.url().describe("The OAuth authorization endpoint URL."),
|
|
3610
|
+
tokenUrl: z__namespace.url().describe("The OAuth token endpoint URL."),
|
|
3611
|
+
registrationUrl: z__namespace.url().optional().describe("The optional dynamic client registration endpoint URL."),
|
|
3612
|
+
clientId: z__namespace.string().min(1).describe("The OAuth client ID."),
|
|
3613
|
+
clientSecret: z__namespace.string().optional().describe("The optional OAuth client secret. This value is stored securely and is never returned by the API."),
|
|
3614
|
+
scopes: z__namespace.array(z__namespace.string()).optional().default([]).describe("OAuth scopes to request during authorization."),
|
|
3615
|
+
usePKCE: z__namespace.boolean().optional().default(true).describe("Whether to use PKCE for the authorization code flow."),
|
|
3616
|
+
issuer: z__namespace.string().optional().describe("The optional issuer identifier for mix-up protection."),
|
|
3617
|
+
resource: z__namespace.string().optional().describe("The optional RFC 8707 resource indicator. For MCP servers, this is usually the MCP server URL."),
|
|
3618
|
+
clientIdMetadataDocumentSupported: z__namespace.boolean().optional().describe("Whether the authorization server supports Client ID Metadata Documents.")
|
|
3619
|
+
}).describe("OAuth configuration for the MCP server.")
|
|
3620
|
+
})
|
|
3621
|
+
]).optional().default({
|
|
3622
|
+
type: "none"
|
|
3623
|
+
}).describe("Authentication configuration. Defaults to no authentication."),
|
|
3624
|
+
scope: z__namespace.enum([
|
|
3625
|
+
"team",
|
|
3626
|
+
"user"
|
|
3627
|
+
]).optional().default("user").describe("The scope of the MCP server. Defaults to user.")
|
|
3628
|
+
});
|
|
2423
3629
|
const mcpServersGetByIdPathMcpServerIdSchema = z__namespace.string().describe("The ID of the MCP server to retrieve.");
|
|
2424
|
-
const mcpServersGetByIdStatus200Schema = z__namespace.
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
3630
|
+
const mcpServersGetByIdStatus200Schema = z__namespace.strictObject({
|
|
3631
|
+
object: z__namespace.enum([
|
|
3632
|
+
"mcp_server"
|
|
3633
|
+
]).describe("The object type."),
|
|
3634
|
+
id: z__namespace.string().describe("The unique identifier for the MCP server."),
|
|
3635
|
+
name: z__namespace.string().describe("The display name of the MCP server."),
|
|
3636
|
+
url: z__namespace.url().describe("The URL of the MCP server."),
|
|
3637
|
+
description: z__namespace.string().optional().describe("An optional description of the MCP server."),
|
|
3638
|
+
enabled: z__namespace.boolean().describe("Whether the MCP server is enabled for use in chats."),
|
|
3639
|
+
auth: z__namespace.strictObject({
|
|
3640
|
+
type: z__namespace.enum([
|
|
3641
|
+
"bearer",
|
|
3642
|
+
"custom-headers",
|
|
3643
|
+
"none",
|
|
3644
|
+
"oauth"
|
|
3645
|
+
]).describe("The type of authentication configured.")
|
|
3646
|
+
}).describe("Authentication type for the MCP server. Sensitive values like tokens and headers are not returned."),
|
|
3647
|
+
scope: z__namespace.enum([
|
|
3648
|
+
"team",
|
|
3649
|
+
"user"
|
|
3650
|
+
]).describe("The scope of the MCP server (user or team)."),
|
|
3651
|
+
createdAt: z__namespace.iso.datetime({
|
|
3652
|
+
offset: true
|
|
3653
|
+
}).describe("The ISO timestamp when the MCP server was created."),
|
|
3654
|
+
updatedAt: z__namespace.iso.datetime({
|
|
3655
|
+
offset: true
|
|
3656
|
+
}).optional().describe("The ISO timestamp when the MCP server was last updated.")
|
|
3657
|
+
}).describe("Summary information about an MCP server.");
|
|
3658
|
+
const mcpServersGetByIdStatus401Schema = unauthorizedErrorSchema;
|
|
3659
|
+
const mcpServersGetByIdStatus403Schema = forbiddenErrorSchema;
|
|
3660
|
+
const mcpServersGetByIdStatus404Schema = notFoundErrorSchema;
|
|
3661
|
+
const mcpServersGetByIdStatus409Schema = conflictErrorSchema;
|
|
3662
|
+
const mcpServersGetByIdStatus413Schema = payloadTooLargeErrorSchema;
|
|
3663
|
+
const mcpServersGetByIdStatus422Schema = unprocessableEntityErrorSchema;
|
|
3664
|
+
const mcpServersGetByIdStatus429Schema = tooManyRequestsErrorSchema;
|
|
3665
|
+
const mcpServersGetByIdStatus500Schema = internalServerErrorSchema;
|
|
2433
3666
|
const mcpServersGetByIdResponseSchema = mcpServersGetByIdStatus200Schema;
|
|
2434
3667
|
const mcpServersGetByIdErrorSchema = z__namespace.union([
|
|
2435
3668
|
mcpServersGetByIdStatus401Schema,
|
|
@@ -2441,16 +3674,46 @@ const mcpServersGetByIdErrorSchema = z__namespace.union([
|
|
|
2441
3674
|
mcpServersGetByIdStatus429Schema,
|
|
2442
3675
|
mcpServersGetByIdStatus500Schema
|
|
2443
3676
|
]);
|
|
3677
|
+
const mcpServersGetByIdPathSchema = z__namespace.object({
|
|
3678
|
+
mcpServerId: z__namespace.string().describe("The ID of the MCP server to retrieve.")
|
|
3679
|
+
});
|
|
2444
3680
|
const mcpServersUpdatePathMcpServerIdSchema = z__namespace.string().describe("The ID of the MCP server to update.");
|
|
2445
|
-
const mcpServersUpdateStatus200Schema = z__namespace.
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
3681
|
+
const mcpServersUpdateStatus200Schema = z__namespace.strictObject({
|
|
3682
|
+
object: z__namespace.enum([
|
|
3683
|
+
"mcp_server"
|
|
3684
|
+
]).describe("The object type."),
|
|
3685
|
+
id: z__namespace.string().describe("The unique identifier for the MCP server."),
|
|
3686
|
+
name: z__namespace.string().describe("The display name of the MCP server."),
|
|
3687
|
+
url: z__namespace.url().describe("The URL of the MCP server."),
|
|
3688
|
+
description: z__namespace.string().optional().describe("An optional description of the MCP server."),
|
|
3689
|
+
enabled: z__namespace.boolean().describe("Whether the MCP server is enabled for use in chats."),
|
|
3690
|
+
auth: z__namespace.strictObject({
|
|
3691
|
+
type: z__namespace.enum([
|
|
3692
|
+
"bearer",
|
|
3693
|
+
"custom-headers",
|
|
3694
|
+
"none",
|
|
3695
|
+
"oauth"
|
|
3696
|
+
]).describe("The type of authentication configured.")
|
|
3697
|
+
}).describe("Authentication type for the MCP server. Sensitive values like tokens and headers are not returned."),
|
|
3698
|
+
scope: z__namespace.enum([
|
|
3699
|
+
"team",
|
|
3700
|
+
"user"
|
|
3701
|
+
]).describe("The scope of the MCP server (user or team)."),
|
|
3702
|
+
createdAt: z__namespace.iso.datetime({
|
|
3703
|
+
offset: true
|
|
3704
|
+
}).describe("The ISO timestamp when the MCP server was created."),
|
|
3705
|
+
updatedAt: z__namespace.iso.datetime({
|
|
3706
|
+
offset: true
|
|
3707
|
+
}).optional().describe("The ISO timestamp when the MCP server was last updated.")
|
|
3708
|
+
}).describe("Summary information about an MCP server.");
|
|
3709
|
+
const mcpServersUpdateStatus401Schema = unauthorizedErrorSchema;
|
|
3710
|
+
const mcpServersUpdateStatus403Schema = forbiddenErrorSchema;
|
|
3711
|
+
const mcpServersUpdateStatus404Schema = notFoundErrorSchema;
|
|
3712
|
+
const mcpServersUpdateStatus409Schema = conflictErrorSchema;
|
|
3713
|
+
const mcpServersUpdateStatus413Schema = payloadTooLargeErrorSchema;
|
|
3714
|
+
const mcpServersUpdateStatus422Schema = unprocessableEntityErrorSchema;
|
|
3715
|
+
const mcpServersUpdateStatus429Schema = tooManyRequestsErrorSchema;
|
|
3716
|
+
const mcpServersUpdateStatus500Schema = internalServerErrorSchema;
|
|
2454
3717
|
const mcpServersUpdateResponseSchema = mcpServersUpdateStatus200Schema;
|
|
2455
3718
|
const mcpServersUpdateErrorSchema = z__namespace.union([
|
|
2456
3719
|
mcpServersUpdateStatus401Schema,
|
|
@@ -2462,16 +3725,71 @@ const mcpServersUpdateErrorSchema = z__namespace.union([
|
|
|
2462
3725
|
mcpServersUpdateStatus429Schema,
|
|
2463
3726
|
mcpServersUpdateStatus500Schema
|
|
2464
3727
|
]);
|
|
3728
|
+
const mcpServersUpdateBodySchema = z__namespace.strictObject({
|
|
3729
|
+
name: z__namespace.string().min(1).max(100).optional().describe("The display name of the MCP server."),
|
|
3730
|
+
url: z__namespace.url().max(500).optional().describe("The URL of the MCP server."),
|
|
3731
|
+
description: z__namespace.string().max(500).optional().describe("An optional description of the MCP server."),
|
|
3732
|
+
enabled: z__namespace.boolean().optional().describe("Whether the MCP server is enabled."),
|
|
3733
|
+
auth: z__namespace.discriminatedUnion("type", [
|
|
3734
|
+
z__namespace.strictObject({
|
|
3735
|
+
type: z__namespace.enum([
|
|
3736
|
+
"none"
|
|
3737
|
+
]).describe("No authentication required.")
|
|
3738
|
+
}),
|
|
3739
|
+
z__namespace.strictObject({
|
|
3740
|
+
type: z__namespace.enum([
|
|
3741
|
+
"bearer"
|
|
3742
|
+
]).describe("Bearer token authentication."),
|
|
3743
|
+
token: z__namespace.string().min(1).max(1000).describe("The bearer token for authentication.")
|
|
3744
|
+
}),
|
|
3745
|
+
z__namespace.strictObject({
|
|
3746
|
+
type: z__namespace.enum([
|
|
3747
|
+
"custom-headers"
|
|
3748
|
+
]).describe("Custom headers authentication."),
|
|
3749
|
+
headers: z__namespace.record(z__namespace.string().max(100), z__namespace.string().max(500)).describe("Key-value pairs of custom headers to include in requests.")
|
|
3750
|
+
}),
|
|
3751
|
+
z__namespace.strictObject({
|
|
3752
|
+
type: z__namespace.enum([
|
|
3753
|
+
"oauth"
|
|
3754
|
+
]).describe("OAuth 2.1 authentication."),
|
|
3755
|
+
config: z__namespace.strictObject({
|
|
3756
|
+
authorizationUrl: z__namespace.url().describe("The OAuth authorization endpoint URL."),
|
|
3757
|
+
tokenUrl: z__namespace.url().describe("The OAuth token endpoint URL."),
|
|
3758
|
+
registrationUrl: z__namespace.url().optional().describe("The optional dynamic client registration endpoint URL."),
|
|
3759
|
+
clientId: z__namespace.string().min(1).describe("The OAuth client ID."),
|
|
3760
|
+
clientSecret: z__namespace.string().optional().describe("The optional OAuth client secret. This value is stored securely and is never returned by the API."),
|
|
3761
|
+
scopes: z__namespace.array(z__namespace.string()).optional().default([]).describe("OAuth scopes to request during authorization."),
|
|
3762
|
+
usePKCE: z__namespace.boolean().optional().default(true).describe("Whether to use PKCE for the authorization code flow."),
|
|
3763
|
+
issuer: z__namespace.string().optional().describe("The optional issuer identifier for mix-up protection."),
|
|
3764
|
+
resource: z__namespace.string().optional().describe("The optional RFC 8707 resource indicator. For MCP servers, this is usually the MCP server URL."),
|
|
3765
|
+
clientIdMetadataDocumentSupported: z__namespace.boolean().optional().describe("Whether the authorization server supports Client ID Metadata Documents.")
|
|
3766
|
+
}).describe("OAuth configuration for the MCP server.")
|
|
3767
|
+
})
|
|
3768
|
+
]).optional().describe("Authentication configuration."),
|
|
3769
|
+
scope: z__namespace.enum([
|
|
3770
|
+
"team",
|
|
3771
|
+
"user"
|
|
3772
|
+
]).optional().describe("The scope of the MCP server.")
|
|
3773
|
+
});
|
|
3774
|
+
const mcpServersUpdatePathSchema = z__namespace.object({
|
|
3775
|
+
mcpServerId: z__namespace.string().describe("The ID of the MCP server to update.")
|
|
3776
|
+
});
|
|
2465
3777
|
const mcpServersDeletePathMcpServerIdSchema = z__namespace.string().describe("The ID of the MCP server to delete.");
|
|
2466
|
-
const mcpServersDeleteStatus200Schema = z__namespace.
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
const
|
|
2474
|
-
const
|
|
3778
|
+
const mcpServersDeleteStatus200Schema = z__namespace.strictObject({
|
|
3779
|
+
object: z__namespace.enum([
|
|
3780
|
+
"mcp_server"
|
|
3781
|
+
]),
|
|
3782
|
+
id: z__namespace.string().describe("The ID of the deleted MCP server."),
|
|
3783
|
+
deleted: z__namespace.literal(true).describe("Indicates the server was deleted.")
|
|
3784
|
+
});
|
|
3785
|
+
const mcpServersDeleteStatus401Schema = unauthorizedErrorSchema;
|
|
3786
|
+
const mcpServersDeleteStatus403Schema = forbiddenErrorSchema;
|
|
3787
|
+
const mcpServersDeleteStatus404Schema = notFoundErrorSchema;
|
|
3788
|
+
const mcpServersDeleteStatus409Schema = conflictErrorSchema;
|
|
3789
|
+
const mcpServersDeleteStatus413Schema = payloadTooLargeErrorSchema;
|
|
3790
|
+
const mcpServersDeleteStatus422Schema = unprocessableEntityErrorSchema;
|
|
3791
|
+
const mcpServersDeleteStatus429Schema = tooManyRequestsErrorSchema;
|
|
3792
|
+
const mcpServersDeleteStatus500Schema = internalServerErrorSchema;
|
|
2475
3793
|
const mcpServersDeleteResponseSchema = mcpServersDeleteStatus200Schema;
|
|
2476
3794
|
const mcpServersDeleteErrorSchema = z__namespace.union([
|
|
2477
3795
|
mcpServersDeleteStatus401Schema,
|
|
@@ -2483,16 +3801,29 @@ const mcpServersDeleteErrorSchema = z__namespace.union([
|
|
|
2483
3801
|
mcpServersDeleteStatus429Schema,
|
|
2484
3802
|
mcpServersDeleteStatus500Schema
|
|
2485
3803
|
]);
|
|
3804
|
+
const mcpServersDeletePathSchema = z__namespace.object({
|
|
3805
|
+
mcpServerId: z__namespace.string().describe("The ID of the MCP server to delete.")
|
|
3806
|
+
});
|
|
2486
3807
|
const mcpServersCreateOAuthAuthorizationUrlPathMcpServerIdSchema = z__namespace.string().describe("The ID of the OAuth MCP server to authorize.");
|
|
2487
|
-
const mcpServersCreateOAuthAuthorizationUrlStatus200Schema = z__namespace.
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
3808
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus200Schema = z__namespace.strictObject({
|
|
3809
|
+
object: z__namespace.enum([
|
|
3810
|
+
"mcp_server_oauth_authorization"
|
|
3811
|
+
]).describe("The object type."),
|
|
3812
|
+
mcpServerId: z__namespace.string().describe("The MCP server being authorized."),
|
|
3813
|
+
url: z__namespace.url().describe("The provider authorization URL to redirect the user to."),
|
|
3814
|
+
state: z__namespace.string().describe("The OAuth state value. This expires after 5 minutes."),
|
|
3815
|
+
expiresAt: z__namespace.iso.datetime({
|
|
3816
|
+
offset: true
|
|
3817
|
+
}).describe("The ISO timestamp when the authorization URL expires.")
|
|
3818
|
+
});
|
|
3819
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus401Schema = unauthorizedErrorSchema;
|
|
3820
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus403Schema = forbiddenErrorSchema;
|
|
3821
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus404Schema = notFoundErrorSchema;
|
|
3822
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus409Schema = conflictErrorSchema;
|
|
3823
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus413Schema = payloadTooLargeErrorSchema;
|
|
3824
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus422Schema = unprocessableEntityErrorSchema;
|
|
3825
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus429Schema = tooManyRequestsErrorSchema;
|
|
3826
|
+
const mcpServersCreateOAuthAuthorizationUrlStatus500Schema = internalServerErrorSchema;
|
|
2496
3827
|
const mcpServersCreateOAuthAuthorizationUrlResponseSchema = mcpServersCreateOAuthAuthorizationUrlStatus200Schema;
|
|
2497
3828
|
const mcpServersCreateOAuthAuthorizationUrlErrorSchema = z__namespace.union([
|
|
2498
3829
|
mcpServersCreateOAuthAuthorizationUrlStatus401Schema,
|
|
@@ -2504,9 +3835,16 @@ const mcpServersCreateOAuthAuthorizationUrlErrorSchema = z__namespace.union([
|
|
|
2504
3835
|
mcpServersCreateOAuthAuthorizationUrlStatus429Schema,
|
|
2505
3836
|
mcpServersCreateOAuthAuthorizationUrlStatus500Schema
|
|
2506
3837
|
]);
|
|
3838
|
+
const mcpServersCreateOAuthAuthorizationUrlBodySchema = z__namespace.strictObject({
|
|
3839
|
+
returnUrl: z__namespace.url().describe("An absolute URL in your application where v0 redirects after OAuth completes. HTTPS is required in production.")
|
|
3840
|
+
});
|
|
3841
|
+
const mcpServersCreateOAuthAuthorizationUrlPathSchema = z__namespace.object({
|
|
3842
|
+
mcpServerId: z__namespace.string().describe("The ID of the OAuth MCP server to authorize.")
|
|
3843
|
+
});
|
|
2507
3844
|
|
|
2508
3845
|
exports.chatDetailSchema = chatDetailSchema;
|
|
2509
3846
|
exports.chatSummarySchema = chatSummarySchema;
|
|
3847
|
+
exports.chatsCreateBodySchema = chatsCreateBodySchema;
|
|
2510
3848
|
exports.chatsCreateErrorSchema = chatsCreateErrorSchema;
|
|
2511
3849
|
exports.chatsCreateResponseSchema = chatsCreateResponseSchema;
|
|
2512
3850
|
exports.chatsCreateStatus200Schema = chatsCreateStatus200Schema;
|
|
@@ -2520,6 +3858,7 @@ exports.chatsCreateStatus429Schema = chatsCreateStatus429Schema;
|
|
|
2520
3858
|
exports.chatsCreateStatus500Schema = chatsCreateStatus500Schema;
|
|
2521
3859
|
exports.chatsDeleteErrorSchema = chatsDeleteErrorSchema;
|
|
2522
3860
|
exports.chatsDeletePathChatIdSchema = chatsDeletePathChatIdSchema;
|
|
3861
|
+
exports.chatsDeletePathSchema = chatsDeletePathSchema;
|
|
2523
3862
|
exports.chatsDeleteResponseSchema = chatsDeleteResponseSchema;
|
|
2524
3863
|
exports.chatsDeleteStatus200Schema = chatsDeleteStatus200Schema;
|
|
2525
3864
|
exports.chatsDeleteStatus401Schema = chatsDeleteStatus401Schema;
|
|
@@ -2530,8 +3869,10 @@ exports.chatsDeleteStatus413Schema = chatsDeleteStatus413Schema;
|
|
|
2530
3869
|
exports.chatsDeleteStatus422Schema = chatsDeleteStatus422Schema;
|
|
2531
3870
|
exports.chatsDeleteStatus429Schema = chatsDeleteStatus429Schema;
|
|
2532
3871
|
exports.chatsDeleteStatus500Schema = chatsDeleteStatus500Schema;
|
|
3872
|
+
exports.chatsDeleteVersionFilesBodySchema = chatsDeleteVersionFilesBodySchema;
|
|
2533
3873
|
exports.chatsDeleteVersionFilesErrorSchema = chatsDeleteVersionFilesErrorSchema;
|
|
2534
3874
|
exports.chatsDeleteVersionFilesPathChatIdSchema = chatsDeleteVersionFilesPathChatIdSchema;
|
|
3875
|
+
exports.chatsDeleteVersionFilesPathSchema = chatsDeleteVersionFilesPathSchema;
|
|
2535
3876
|
exports.chatsDeleteVersionFilesPathVersionIdSchema = chatsDeleteVersionFilesPathVersionIdSchema;
|
|
2536
3877
|
exports.chatsDeleteVersionFilesResponseSchema = chatsDeleteVersionFilesResponseSchema;
|
|
2537
3878
|
exports.chatsDeleteVersionFilesStatus200Schema = chatsDeleteVersionFilesStatus200Schema;
|
|
@@ -2545,9 +3886,11 @@ exports.chatsDeleteVersionFilesStatus429Schema = chatsDeleteVersionFilesStatus42
|
|
|
2545
3886
|
exports.chatsDeleteVersionFilesStatus500Schema = chatsDeleteVersionFilesStatus500Schema;
|
|
2546
3887
|
exports.chatsDownloadVersionErrorSchema = chatsDownloadVersionErrorSchema;
|
|
2547
3888
|
exports.chatsDownloadVersionPathChatIdSchema = chatsDownloadVersionPathChatIdSchema;
|
|
3889
|
+
exports.chatsDownloadVersionPathSchema = chatsDownloadVersionPathSchema;
|
|
2548
3890
|
exports.chatsDownloadVersionPathVersionIdSchema = chatsDownloadVersionPathVersionIdSchema;
|
|
2549
3891
|
exports.chatsDownloadVersionQueryFormatSchema = chatsDownloadVersionQueryFormatSchema;
|
|
2550
3892
|
exports.chatsDownloadVersionQueryIncludeDefaultFilesSchema = chatsDownloadVersionQueryIncludeDefaultFilesSchema;
|
|
3893
|
+
exports.chatsDownloadVersionQuerySchema = chatsDownloadVersionQuerySchema;
|
|
2551
3894
|
exports.chatsDownloadVersionResponseSchema = chatsDownloadVersionResponseSchema;
|
|
2552
3895
|
exports.chatsDownloadVersionStatus200Schema = chatsDownloadVersionStatus200Schema;
|
|
2553
3896
|
exports.chatsDownloadVersionStatus401Schema = chatsDownloadVersionStatus401Schema;
|
|
@@ -2558,8 +3901,10 @@ exports.chatsDownloadVersionStatus413Schema = chatsDownloadVersionStatus413Schem
|
|
|
2558
3901
|
exports.chatsDownloadVersionStatus422Schema = chatsDownloadVersionStatus422Schema;
|
|
2559
3902
|
exports.chatsDownloadVersionStatus429Schema = chatsDownloadVersionStatus429Schema;
|
|
2560
3903
|
exports.chatsDownloadVersionStatus500Schema = chatsDownloadVersionStatus500Schema;
|
|
3904
|
+
exports.chatsFavoriteBodySchema = chatsFavoriteBodySchema;
|
|
2561
3905
|
exports.chatsFavoriteErrorSchema = chatsFavoriteErrorSchema;
|
|
2562
3906
|
exports.chatsFavoritePathChatIdSchema = chatsFavoritePathChatIdSchema;
|
|
3907
|
+
exports.chatsFavoritePathSchema = chatsFavoritePathSchema;
|
|
2563
3908
|
exports.chatsFavoriteResponseSchema = chatsFavoriteResponseSchema;
|
|
2564
3909
|
exports.chatsFavoriteStatus200Schema = chatsFavoriteStatus200Schema;
|
|
2565
3910
|
exports.chatsFavoriteStatus401Schema = chatsFavoriteStatus401Schema;
|
|
@@ -2573,8 +3918,10 @@ exports.chatsFavoriteStatus500Schema = chatsFavoriteStatus500Schema;
|
|
|
2573
3918
|
exports.chatsFindErrorSchema = chatsFindErrorSchema;
|
|
2574
3919
|
exports.chatsFindMessagesErrorSchema = chatsFindMessagesErrorSchema;
|
|
2575
3920
|
exports.chatsFindMessagesPathChatIdSchema = chatsFindMessagesPathChatIdSchema;
|
|
3921
|
+
exports.chatsFindMessagesPathSchema = chatsFindMessagesPathSchema;
|
|
2576
3922
|
exports.chatsFindMessagesQueryCursorSchema = chatsFindMessagesQueryCursorSchema;
|
|
2577
3923
|
exports.chatsFindMessagesQueryLimitSchema = chatsFindMessagesQueryLimitSchema;
|
|
3924
|
+
exports.chatsFindMessagesQuerySchema = chatsFindMessagesQuerySchema;
|
|
2578
3925
|
exports.chatsFindMessagesResponseSchema = chatsFindMessagesResponseSchema;
|
|
2579
3926
|
exports.chatsFindMessagesStatus200Schema = chatsFindMessagesStatus200Schema;
|
|
2580
3927
|
exports.chatsFindMessagesStatus401Schema = chatsFindMessagesStatus401Schema;
|
|
@@ -2590,6 +3937,7 @@ exports.chatsFindQueryIsFavoriteSchema = chatsFindQueryIsFavoriteSchema;
|
|
|
2590
3937
|
exports.chatsFindQueryLimitSchema = chatsFindQueryLimitSchema;
|
|
2591
3938
|
exports.chatsFindQueryMetadataSchema = chatsFindQueryMetadataSchema;
|
|
2592
3939
|
exports.chatsFindQueryOffsetSchema = chatsFindQueryOffsetSchema;
|
|
3940
|
+
exports.chatsFindQuerySchema = chatsFindQuerySchema;
|
|
2593
3941
|
exports.chatsFindQueryVercelProjectIdSchema = chatsFindQueryVercelProjectIdSchema;
|
|
2594
3942
|
exports.chatsFindResponseSchema = chatsFindResponseSchema;
|
|
2595
3943
|
exports.chatsFindStatus200Schema = chatsFindStatus200Schema;
|
|
@@ -2603,8 +3951,10 @@ exports.chatsFindStatus429Schema = chatsFindStatus429Schema;
|
|
|
2603
3951
|
exports.chatsFindStatus500Schema = chatsFindStatus500Schema;
|
|
2604
3952
|
exports.chatsFindVersionsErrorSchema = chatsFindVersionsErrorSchema;
|
|
2605
3953
|
exports.chatsFindVersionsPathChatIdSchema = chatsFindVersionsPathChatIdSchema;
|
|
3954
|
+
exports.chatsFindVersionsPathSchema = chatsFindVersionsPathSchema;
|
|
2606
3955
|
exports.chatsFindVersionsQueryCursorSchema = chatsFindVersionsQueryCursorSchema;
|
|
2607
3956
|
exports.chatsFindVersionsQueryLimitSchema = chatsFindVersionsQueryLimitSchema;
|
|
3957
|
+
exports.chatsFindVersionsQuerySchema = chatsFindVersionsQuerySchema;
|
|
2608
3958
|
exports.chatsFindVersionsResponseSchema = chatsFindVersionsResponseSchema;
|
|
2609
3959
|
exports.chatsFindVersionsStatus200Schema = chatsFindVersionsStatus200Schema;
|
|
2610
3960
|
exports.chatsFindVersionsStatus401Schema = chatsFindVersionsStatus401Schema;
|
|
@@ -2615,8 +3965,10 @@ exports.chatsFindVersionsStatus413Schema = chatsFindVersionsStatus413Schema;
|
|
|
2615
3965
|
exports.chatsFindVersionsStatus422Schema = chatsFindVersionsStatus422Schema;
|
|
2616
3966
|
exports.chatsFindVersionsStatus429Schema = chatsFindVersionsStatus429Schema;
|
|
2617
3967
|
exports.chatsFindVersionsStatus500Schema = chatsFindVersionsStatus500Schema;
|
|
3968
|
+
exports.chatsForkBodySchema = chatsForkBodySchema;
|
|
2618
3969
|
exports.chatsForkErrorSchema = chatsForkErrorSchema;
|
|
2619
3970
|
exports.chatsForkPathChatIdSchema = chatsForkPathChatIdSchema;
|
|
3971
|
+
exports.chatsForkPathSchema = chatsForkPathSchema;
|
|
2620
3972
|
exports.chatsForkResponseSchema = chatsForkResponseSchema;
|
|
2621
3973
|
exports.chatsForkStatus200Schema = chatsForkStatus200Schema;
|
|
2622
3974
|
exports.chatsForkStatus401Schema = chatsForkStatus401Schema;
|
|
@@ -2629,6 +3981,7 @@ exports.chatsForkStatus429Schema = chatsForkStatus429Schema;
|
|
|
2629
3981
|
exports.chatsForkStatus500Schema = chatsForkStatus500Schema;
|
|
2630
3982
|
exports.chatsGetByIdErrorSchema = chatsGetByIdErrorSchema;
|
|
2631
3983
|
exports.chatsGetByIdPathChatIdSchema = chatsGetByIdPathChatIdSchema;
|
|
3984
|
+
exports.chatsGetByIdPathSchema = chatsGetByIdPathSchema;
|
|
2632
3985
|
exports.chatsGetByIdResponseSchema = chatsGetByIdResponseSchema;
|
|
2633
3986
|
exports.chatsGetByIdStatus200Schema = chatsGetByIdStatus200Schema;
|
|
2634
3987
|
exports.chatsGetByIdStatus401Schema = chatsGetByIdStatus401Schema;
|
|
@@ -2642,6 +3995,7 @@ exports.chatsGetByIdStatus500Schema = chatsGetByIdStatus500Schema;
|
|
|
2642
3995
|
exports.chatsGetMessageErrorSchema = chatsGetMessageErrorSchema;
|
|
2643
3996
|
exports.chatsGetMessagePathChatIdSchema = chatsGetMessagePathChatIdSchema;
|
|
2644
3997
|
exports.chatsGetMessagePathMessageIdSchema = chatsGetMessagePathMessageIdSchema;
|
|
3998
|
+
exports.chatsGetMessagePathSchema = chatsGetMessagePathSchema;
|
|
2645
3999
|
exports.chatsGetMessageResponseSchema = chatsGetMessageResponseSchema;
|
|
2646
4000
|
exports.chatsGetMessageStatus200Schema = chatsGetMessageStatus200Schema;
|
|
2647
4001
|
exports.chatsGetMessageStatus401Schema = chatsGetMessageStatus401Schema;
|
|
@@ -2654,8 +4008,10 @@ exports.chatsGetMessageStatus429Schema = chatsGetMessageStatus429Schema;
|
|
|
2654
4008
|
exports.chatsGetMessageStatus500Schema = chatsGetMessageStatus500Schema;
|
|
2655
4009
|
exports.chatsGetVersionErrorSchema = chatsGetVersionErrorSchema;
|
|
2656
4010
|
exports.chatsGetVersionPathChatIdSchema = chatsGetVersionPathChatIdSchema;
|
|
4011
|
+
exports.chatsGetVersionPathSchema = chatsGetVersionPathSchema;
|
|
2657
4012
|
exports.chatsGetVersionPathVersionIdSchema = chatsGetVersionPathVersionIdSchema;
|
|
2658
4013
|
exports.chatsGetVersionQueryIncludeDefaultFilesSchema = chatsGetVersionQueryIncludeDefaultFilesSchema;
|
|
4014
|
+
exports.chatsGetVersionQuerySchema = chatsGetVersionQuerySchema;
|
|
2659
4015
|
exports.chatsGetVersionResponseSchema = chatsGetVersionResponseSchema;
|
|
2660
4016
|
exports.chatsGetVersionStatus200Schema = chatsGetVersionStatus200Schema;
|
|
2661
4017
|
exports.chatsGetVersionStatus401Schema = chatsGetVersionStatus401Schema;
|
|
@@ -2666,6 +4022,7 @@ exports.chatsGetVersionStatus413Schema = chatsGetVersionStatus413Schema;
|
|
|
2666
4022
|
exports.chatsGetVersionStatus422Schema = chatsGetVersionStatus422Schema;
|
|
2667
4023
|
exports.chatsGetVersionStatus429Schema = chatsGetVersionStatus429Schema;
|
|
2668
4024
|
exports.chatsGetVersionStatus500Schema = chatsGetVersionStatus500Schema;
|
|
4025
|
+
exports.chatsInitBodySchema = chatsInitBodySchema;
|
|
2669
4026
|
exports.chatsInitErrorSchema = chatsInitErrorSchema;
|
|
2670
4027
|
exports.chatsInitResponseSchema = chatsInitResponseSchema;
|
|
2671
4028
|
exports.chatsInitStatus200Schema = chatsInitStatus200Schema;
|
|
@@ -2677,8 +4034,10 @@ exports.chatsInitStatus413Schema = chatsInitStatus413Schema;
|
|
|
2677
4034
|
exports.chatsInitStatus422Schema = chatsInitStatus422Schema;
|
|
2678
4035
|
exports.chatsInitStatus429Schema = chatsInitStatus429Schema;
|
|
2679
4036
|
exports.chatsInitStatus500Schema = chatsInitStatus500Schema;
|
|
4037
|
+
exports.chatsResolveTaskBodySchema = chatsResolveTaskBodySchema;
|
|
2680
4038
|
exports.chatsResolveTaskErrorSchema = chatsResolveTaskErrorSchema;
|
|
2681
4039
|
exports.chatsResolveTaskPathChatIdSchema = chatsResolveTaskPathChatIdSchema;
|
|
4040
|
+
exports.chatsResolveTaskPathSchema = chatsResolveTaskPathSchema;
|
|
2682
4041
|
exports.chatsResolveTaskResponseSchema = chatsResolveTaskResponseSchema;
|
|
2683
4042
|
exports.chatsResolveTaskStatus200Schema = chatsResolveTaskStatus200Schema;
|
|
2684
4043
|
exports.chatsResolveTaskStatus401Schema = chatsResolveTaskStatus401Schema;
|
|
@@ -2691,6 +4050,7 @@ exports.chatsResolveTaskStatus429Schema = chatsResolveTaskStatus429Schema;
|
|
|
2691
4050
|
exports.chatsResolveTaskStatus500Schema = chatsResolveTaskStatus500Schema;
|
|
2692
4051
|
exports.chatsRestoreErrorSchema = chatsRestoreErrorSchema;
|
|
2693
4052
|
exports.chatsRestorePathChatIdSchema = chatsRestorePathChatIdSchema;
|
|
4053
|
+
exports.chatsRestorePathSchema = chatsRestorePathSchema;
|
|
2694
4054
|
exports.chatsRestorePathVersionIdSchema = chatsRestorePathVersionIdSchema;
|
|
2695
4055
|
exports.chatsRestoreResponseSchema = chatsRestoreResponseSchema;
|
|
2696
4056
|
exports.chatsRestoreStatus200Schema = chatsRestoreStatus200Schema;
|
|
@@ -2705,6 +4065,7 @@ exports.chatsRestoreStatus500Schema = chatsRestoreStatus500Schema;
|
|
|
2705
4065
|
exports.chatsResumeErrorSchema = chatsResumeErrorSchema;
|
|
2706
4066
|
exports.chatsResumePathChatIdSchema = chatsResumePathChatIdSchema;
|
|
2707
4067
|
exports.chatsResumePathMessageIdSchema = chatsResumePathMessageIdSchema;
|
|
4068
|
+
exports.chatsResumePathSchema = chatsResumePathSchema;
|
|
2708
4069
|
exports.chatsResumeResponseSchema = chatsResumeResponseSchema;
|
|
2709
4070
|
exports.chatsResumeStatus200Schema = chatsResumeStatus200Schema;
|
|
2710
4071
|
exports.chatsResumeStatus401Schema = chatsResumeStatus401Schema;
|
|
@@ -2715,8 +4076,10 @@ exports.chatsResumeStatus413Schema = chatsResumeStatus413Schema;
|
|
|
2715
4076
|
exports.chatsResumeStatus422Schema = chatsResumeStatus422Schema;
|
|
2716
4077
|
exports.chatsResumeStatus429Schema = chatsResumeStatus429Schema;
|
|
2717
4078
|
exports.chatsResumeStatus500Schema = chatsResumeStatus500Schema;
|
|
4079
|
+
exports.chatsSendMessageBodySchema = chatsSendMessageBodySchema;
|
|
2718
4080
|
exports.chatsSendMessageErrorSchema = chatsSendMessageErrorSchema;
|
|
2719
4081
|
exports.chatsSendMessagePathChatIdSchema = chatsSendMessagePathChatIdSchema;
|
|
4082
|
+
exports.chatsSendMessagePathSchema = chatsSendMessagePathSchema;
|
|
2720
4083
|
exports.chatsSendMessageResponseSchema = chatsSendMessageResponseSchema;
|
|
2721
4084
|
exports.chatsSendMessageStatus200Schema = chatsSendMessageStatus200Schema;
|
|
2722
4085
|
exports.chatsSendMessageStatus401Schema = chatsSendMessageStatus401Schema;
|
|
@@ -2730,6 +4093,7 @@ exports.chatsSendMessageStatus500Schema = chatsSendMessageStatus500Schema;
|
|
|
2730
4093
|
exports.chatsStopErrorSchema = chatsStopErrorSchema;
|
|
2731
4094
|
exports.chatsStopPathChatIdSchema = chatsStopPathChatIdSchema;
|
|
2732
4095
|
exports.chatsStopPathMessageIdSchema = chatsStopPathMessageIdSchema;
|
|
4096
|
+
exports.chatsStopPathSchema = chatsStopPathSchema;
|
|
2733
4097
|
exports.chatsStopResponseSchema = chatsStopResponseSchema;
|
|
2734
4098
|
exports.chatsStopStatus200Schema = chatsStopStatus200Schema;
|
|
2735
4099
|
exports.chatsStopStatus401Schema = chatsStopStatus401Schema;
|
|
@@ -2740,8 +4104,10 @@ exports.chatsStopStatus413Schema = chatsStopStatus413Schema;
|
|
|
2740
4104
|
exports.chatsStopStatus422Schema = chatsStopStatus422Schema;
|
|
2741
4105
|
exports.chatsStopStatus429Schema = chatsStopStatus429Schema;
|
|
2742
4106
|
exports.chatsStopStatus500Schema = chatsStopStatus500Schema;
|
|
4107
|
+
exports.chatsUpdateBodySchema = chatsUpdateBodySchema;
|
|
2743
4108
|
exports.chatsUpdateErrorSchema = chatsUpdateErrorSchema;
|
|
2744
4109
|
exports.chatsUpdatePathChatIdSchema = chatsUpdatePathChatIdSchema;
|
|
4110
|
+
exports.chatsUpdatePathSchema = chatsUpdatePathSchema;
|
|
2745
4111
|
exports.chatsUpdateResponseSchema = chatsUpdateResponseSchema;
|
|
2746
4112
|
exports.chatsUpdateStatus200Schema = chatsUpdateStatus200Schema;
|
|
2747
4113
|
exports.chatsUpdateStatus401Schema = chatsUpdateStatus401Schema;
|
|
@@ -2752,8 +4118,10 @@ exports.chatsUpdateStatus413Schema = chatsUpdateStatus413Schema;
|
|
|
2752
4118
|
exports.chatsUpdateStatus422Schema = chatsUpdateStatus422Schema;
|
|
2753
4119
|
exports.chatsUpdateStatus429Schema = chatsUpdateStatus429Schema;
|
|
2754
4120
|
exports.chatsUpdateStatus500Schema = chatsUpdateStatus500Schema;
|
|
4121
|
+
exports.chatsUpdateVersionBodySchema = chatsUpdateVersionBodySchema;
|
|
2755
4122
|
exports.chatsUpdateVersionErrorSchema = chatsUpdateVersionErrorSchema;
|
|
2756
4123
|
exports.chatsUpdateVersionPathChatIdSchema = chatsUpdateVersionPathChatIdSchema;
|
|
4124
|
+
exports.chatsUpdateVersionPathSchema = chatsUpdateVersionPathSchema;
|
|
2757
4125
|
exports.chatsUpdateVersionPathVersionIdSchema = chatsUpdateVersionPathVersionIdSchema;
|
|
2758
4126
|
exports.chatsUpdateVersionResponseSchema = chatsUpdateVersionResponseSchema;
|
|
2759
4127
|
exports.chatsUpdateVersionStatus200Schema = chatsUpdateVersionStatus200Schema;
|
|
@@ -2768,6 +4136,7 @@ exports.chatsUpdateVersionStatus500Schema = chatsUpdateVersionStatus500Schema;
|
|
|
2768
4136
|
exports.conflictErrorSchema = conflictErrorSchema;
|
|
2769
4137
|
exports.deploymentDetailSchema = deploymentDetailSchema;
|
|
2770
4138
|
exports.deploymentSummarySchema = deploymentSummarySchema;
|
|
4139
|
+
exports.deploymentsCreateBodySchema = deploymentsCreateBodySchema;
|
|
2771
4140
|
exports.deploymentsCreateErrorSchema = deploymentsCreateErrorSchema;
|
|
2772
4141
|
exports.deploymentsCreateResponseSchema = deploymentsCreateResponseSchema;
|
|
2773
4142
|
exports.deploymentsCreateStatus200Schema = deploymentsCreateStatus200Schema;
|
|
@@ -2781,6 +4150,7 @@ exports.deploymentsCreateStatus429Schema = deploymentsCreateStatus429Schema;
|
|
|
2781
4150
|
exports.deploymentsCreateStatus500Schema = deploymentsCreateStatus500Schema;
|
|
2782
4151
|
exports.deploymentsDeleteErrorSchema = deploymentsDeleteErrorSchema;
|
|
2783
4152
|
exports.deploymentsDeletePathDeploymentIdSchema = deploymentsDeletePathDeploymentIdSchema;
|
|
4153
|
+
exports.deploymentsDeletePathSchema = deploymentsDeletePathSchema;
|
|
2784
4154
|
exports.deploymentsDeleteResponseSchema = deploymentsDeleteResponseSchema;
|
|
2785
4155
|
exports.deploymentsDeleteStatus200Schema = deploymentsDeleteStatus200Schema;
|
|
2786
4156
|
exports.deploymentsDeleteStatus401Schema = deploymentsDeleteStatus401Schema;
|
|
@@ -2794,6 +4164,7 @@ exports.deploymentsDeleteStatus500Schema = deploymentsDeleteStatus500Schema;
|
|
|
2794
4164
|
exports.deploymentsFindErrorSchema = deploymentsFindErrorSchema;
|
|
2795
4165
|
exports.deploymentsFindErrorsErrorSchema = deploymentsFindErrorsErrorSchema;
|
|
2796
4166
|
exports.deploymentsFindErrorsPathDeploymentIdSchema = deploymentsFindErrorsPathDeploymentIdSchema;
|
|
4167
|
+
exports.deploymentsFindErrorsPathSchema = deploymentsFindErrorsPathSchema;
|
|
2797
4168
|
exports.deploymentsFindErrorsResponseSchema = deploymentsFindErrorsResponseSchema;
|
|
2798
4169
|
exports.deploymentsFindErrorsStatus200Schema = deploymentsFindErrorsStatus200Schema;
|
|
2799
4170
|
exports.deploymentsFindErrorsStatus401Schema = deploymentsFindErrorsStatus401Schema;
|
|
@@ -2806,6 +4177,8 @@ exports.deploymentsFindErrorsStatus429Schema = deploymentsFindErrorsStatus429Sch
|
|
|
2806
4177
|
exports.deploymentsFindErrorsStatus500Schema = deploymentsFindErrorsStatus500Schema;
|
|
2807
4178
|
exports.deploymentsFindLogsErrorSchema = deploymentsFindLogsErrorSchema;
|
|
2808
4179
|
exports.deploymentsFindLogsPathDeploymentIdSchema = deploymentsFindLogsPathDeploymentIdSchema;
|
|
4180
|
+
exports.deploymentsFindLogsPathSchema = deploymentsFindLogsPathSchema;
|
|
4181
|
+
exports.deploymentsFindLogsQuerySchema = deploymentsFindLogsQuerySchema;
|
|
2809
4182
|
exports.deploymentsFindLogsQuerySinceSchema = deploymentsFindLogsQuerySinceSchema;
|
|
2810
4183
|
exports.deploymentsFindLogsResponseSchema = deploymentsFindLogsResponseSchema;
|
|
2811
4184
|
exports.deploymentsFindLogsStatus200Schema = deploymentsFindLogsStatus200Schema;
|
|
@@ -2819,6 +4192,7 @@ exports.deploymentsFindLogsStatus429Schema = deploymentsFindLogsStatus429Schema;
|
|
|
2819
4192
|
exports.deploymentsFindLogsStatus500Schema = deploymentsFindLogsStatus500Schema;
|
|
2820
4193
|
exports.deploymentsFindQueryChatIdSchema = deploymentsFindQueryChatIdSchema;
|
|
2821
4194
|
exports.deploymentsFindQueryProjectIdSchema = deploymentsFindQueryProjectIdSchema;
|
|
4195
|
+
exports.deploymentsFindQuerySchema = deploymentsFindQuerySchema;
|
|
2822
4196
|
exports.deploymentsFindQueryVersionIdSchema = deploymentsFindQueryVersionIdSchema;
|
|
2823
4197
|
exports.deploymentsFindResponseSchema = deploymentsFindResponseSchema;
|
|
2824
4198
|
exports.deploymentsFindStatus200Schema = deploymentsFindStatus200Schema;
|
|
@@ -2832,6 +4206,7 @@ exports.deploymentsFindStatus429Schema = deploymentsFindStatus429Schema;
|
|
|
2832
4206
|
exports.deploymentsFindStatus500Schema = deploymentsFindStatus500Schema;
|
|
2833
4207
|
exports.deploymentsGetByIdErrorSchema = deploymentsGetByIdErrorSchema;
|
|
2834
4208
|
exports.deploymentsGetByIdPathDeploymentIdSchema = deploymentsGetByIdPathDeploymentIdSchema;
|
|
4209
|
+
exports.deploymentsGetByIdPathSchema = deploymentsGetByIdPathSchema;
|
|
2835
4210
|
exports.deploymentsGetByIdResponseSchema = deploymentsGetByIdResponseSchema;
|
|
2836
4211
|
exports.deploymentsGetByIdStatus200Schema = deploymentsGetByIdStatus200Schema;
|
|
2837
4212
|
exports.deploymentsGetByIdStatus401Schema = deploymentsGetByIdStatus401Schema;
|
|
@@ -2851,6 +4226,7 @@ exports.forbiddenErrorSchema = forbiddenErrorSchema;
|
|
|
2851
4226
|
exports.hookDetailSchema = hookDetailSchema;
|
|
2852
4227
|
exports.hookEventDetailSchema = hookEventDetailSchema;
|
|
2853
4228
|
exports.hookSummarySchema = hookSummarySchema;
|
|
4229
|
+
exports.hooksCreateBodySchema = hooksCreateBodySchema;
|
|
2854
4230
|
exports.hooksCreateErrorSchema = hooksCreateErrorSchema;
|
|
2855
4231
|
exports.hooksCreateResponseSchema = hooksCreateResponseSchema;
|
|
2856
4232
|
exports.hooksCreateStatus200Schema = hooksCreateStatus200Schema;
|
|
@@ -2864,6 +4240,7 @@ exports.hooksCreateStatus429Schema = hooksCreateStatus429Schema;
|
|
|
2864
4240
|
exports.hooksCreateStatus500Schema = hooksCreateStatus500Schema;
|
|
2865
4241
|
exports.hooksDeleteErrorSchema = hooksDeleteErrorSchema;
|
|
2866
4242
|
exports.hooksDeletePathHookIdSchema = hooksDeletePathHookIdSchema;
|
|
4243
|
+
exports.hooksDeletePathSchema = hooksDeletePathSchema;
|
|
2867
4244
|
exports.hooksDeleteResponseSchema = hooksDeleteResponseSchema;
|
|
2868
4245
|
exports.hooksDeleteStatus200Schema = hooksDeleteStatus200Schema;
|
|
2869
4246
|
exports.hooksDeleteStatus401Schema = hooksDeleteStatus401Schema;
|
|
@@ -2887,6 +4264,7 @@ exports.hooksFindStatus429Schema = hooksFindStatus429Schema;
|
|
|
2887
4264
|
exports.hooksFindStatus500Schema = hooksFindStatus500Schema;
|
|
2888
4265
|
exports.hooksGetByIdErrorSchema = hooksGetByIdErrorSchema;
|
|
2889
4266
|
exports.hooksGetByIdPathHookIdSchema = hooksGetByIdPathHookIdSchema;
|
|
4267
|
+
exports.hooksGetByIdPathSchema = hooksGetByIdPathSchema;
|
|
2890
4268
|
exports.hooksGetByIdResponseSchema = hooksGetByIdResponseSchema;
|
|
2891
4269
|
exports.hooksGetByIdStatus200Schema = hooksGetByIdStatus200Schema;
|
|
2892
4270
|
exports.hooksGetByIdStatus401Schema = hooksGetByIdStatus401Schema;
|
|
@@ -2897,8 +4275,10 @@ exports.hooksGetByIdStatus413Schema = hooksGetByIdStatus413Schema;
|
|
|
2897
4275
|
exports.hooksGetByIdStatus422Schema = hooksGetByIdStatus422Schema;
|
|
2898
4276
|
exports.hooksGetByIdStatus429Schema = hooksGetByIdStatus429Schema;
|
|
2899
4277
|
exports.hooksGetByIdStatus500Schema = hooksGetByIdStatus500Schema;
|
|
4278
|
+
exports.hooksUpdateBodySchema = hooksUpdateBodySchema;
|
|
2900
4279
|
exports.hooksUpdateErrorSchema = hooksUpdateErrorSchema;
|
|
2901
4280
|
exports.hooksUpdatePathHookIdSchema = hooksUpdatePathHookIdSchema;
|
|
4281
|
+
exports.hooksUpdatePathSchema = hooksUpdatePathSchema;
|
|
2902
4282
|
exports.hooksUpdateResponseSchema = hooksUpdateResponseSchema;
|
|
2903
4283
|
exports.hooksUpdateStatus200Schema = hooksUpdateStatus200Schema;
|
|
2904
4284
|
exports.hooksUpdateStatus401Schema = hooksUpdateStatus401Schema;
|
|
@@ -2915,6 +4295,7 @@ exports.integrationConnectionSummarySchemaSchema = integrationConnectionSummaryS
|
|
|
2915
4295
|
exports.integrationDetailSchemaSchema = integrationDetailSchemaSchema;
|
|
2916
4296
|
exports.integrationListSchemaSchema = integrationListSchemaSchema;
|
|
2917
4297
|
exports.integrationSummarySchemaSchema = integrationSummarySchemaSchema;
|
|
4298
|
+
exports.integrationsVercelProjectsCreateBodySchema = integrationsVercelProjectsCreateBodySchema;
|
|
2918
4299
|
exports.integrationsVercelProjectsCreateErrorSchema = integrationsVercelProjectsCreateErrorSchema;
|
|
2919
4300
|
exports.integrationsVercelProjectsCreateResponseSchema = integrationsVercelProjectsCreateResponseSchema;
|
|
2920
4301
|
exports.integrationsVercelProjectsCreateStatus200Schema = integrationsVercelProjectsCreateStatus200Schema;
|
|
@@ -2938,9 +4319,12 @@ exports.integrationsVercelProjectsFindStatus422Schema = integrationsVercelProjec
|
|
|
2938
4319
|
exports.integrationsVercelProjectsFindStatus429Schema = integrationsVercelProjectsFindStatus429Schema;
|
|
2939
4320
|
exports.integrationsVercelProjectsFindStatus500Schema = integrationsVercelProjectsFindStatus500Schema;
|
|
2940
4321
|
exports.internalServerErrorSchema = internalServerErrorSchema;
|
|
4322
|
+
exports.mcpServersCreateBodySchema = mcpServersCreateBodySchema;
|
|
2941
4323
|
exports.mcpServersCreateErrorSchema = mcpServersCreateErrorSchema;
|
|
4324
|
+
exports.mcpServersCreateOAuthAuthorizationUrlBodySchema = mcpServersCreateOAuthAuthorizationUrlBodySchema;
|
|
2942
4325
|
exports.mcpServersCreateOAuthAuthorizationUrlErrorSchema = mcpServersCreateOAuthAuthorizationUrlErrorSchema;
|
|
2943
4326
|
exports.mcpServersCreateOAuthAuthorizationUrlPathMcpServerIdSchema = mcpServersCreateOAuthAuthorizationUrlPathMcpServerIdSchema;
|
|
4327
|
+
exports.mcpServersCreateOAuthAuthorizationUrlPathSchema = mcpServersCreateOAuthAuthorizationUrlPathSchema;
|
|
2944
4328
|
exports.mcpServersCreateOAuthAuthorizationUrlResponseSchema = mcpServersCreateOAuthAuthorizationUrlResponseSchema;
|
|
2945
4329
|
exports.mcpServersCreateOAuthAuthorizationUrlStatus200Schema = mcpServersCreateOAuthAuthorizationUrlStatus200Schema;
|
|
2946
4330
|
exports.mcpServersCreateOAuthAuthorizationUrlStatus401Schema = mcpServersCreateOAuthAuthorizationUrlStatus401Schema;
|
|
@@ -2963,6 +4347,7 @@ exports.mcpServersCreateStatus429Schema = mcpServersCreateStatus429Schema;
|
|
|
2963
4347
|
exports.mcpServersCreateStatus500Schema = mcpServersCreateStatus500Schema;
|
|
2964
4348
|
exports.mcpServersDeleteErrorSchema = mcpServersDeleteErrorSchema;
|
|
2965
4349
|
exports.mcpServersDeletePathMcpServerIdSchema = mcpServersDeletePathMcpServerIdSchema;
|
|
4350
|
+
exports.mcpServersDeletePathSchema = mcpServersDeletePathSchema;
|
|
2966
4351
|
exports.mcpServersDeleteResponseSchema = mcpServersDeleteResponseSchema;
|
|
2967
4352
|
exports.mcpServersDeleteStatus200Schema = mcpServersDeleteStatus200Schema;
|
|
2968
4353
|
exports.mcpServersDeleteStatus401Schema = mcpServersDeleteStatus401Schema;
|
|
@@ -2986,6 +4371,7 @@ exports.mcpServersFindStatus429Schema = mcpServersFindStatus429Schema;
|
|
|
2986
4371
|
exports.mcpServersFindStatus500Schema = mcpServersFindStatus500Schema;
|
|
2987
4372
|
exports.mcpServersGetByIdErrorSchema = mcpServersGetByIdErrorSchema;
|
|
2988
4373
|
exports.mcpServersGetByIdPathMcpServerIdSchema = mcpServersGetByIdPathMcpServerIdSchema;
|
|
4374
|
+
exports.mcpServersGetByIdPathSchema = mcpServersGetByIdPathSchema;
|
|
2989
4375
|
exports.mcpServersGetByIdResponseSchema = mcpServersGetByIdResponseSchema;
|
|
2990
4376
|
exports.mcpServersGetByIdStatus200Schema = mcpServersGetByIdStatus200Schema;
|
|
2991
4377
|
exports.mcpServersGetByIdStatus401Schema = mcpServersGetByIdStatus401Schema;
|
|
@@ -2996,8 +4382,10 @@ exports.mcpServersGetByIdStatus413Schema = mcpServersGetByIdStatus413Schema;
|
|
|
2996
4382
|
exports.mcpServersGetByIdStatus422Schema = mcpServersGetByIdStatus422Schema;
|
|
2997
4383
|
exports.mcpServersGetByIdStatus429Schema = mcpServersGetByIdStatus429Schema;
|
|
2998
4384
|
exports.mcpServersGetByIdStatus500Schema = mcpServersGetByIdStatus500Schema;
|
|
4385
|
+
exports.mcpServersUpdateBodySchema = mcpServersUpdateBodySchema;
|
|
2999
4386
|
exports.mcpServersUpdateErrorSchema = mcpServersUpdateErrorSchema;
|
|
3000
4387
|
exports.mcpServersUpdatePathMcpServerIdSchema = mcpServersUpdatePathMcpServerIdSchema;
|
|
4388
|
+
exports.mcpServersUpdatePathSchema = mcpServersUpdatePathSchema;
|
|
3001
4389
|
exports.mcpServersUpdateResponseSchema = mcpServersUpdateResponseSchema;
|
|
3002
4390
|
exports.mcpServersUpdateStatus200Schema = mcpServersUpdateStatus200Schema;
|
|
3003
4391
|
exports.mcpServersUpdateStatus401Schema = mcpServersUpdateStatus401Schema;
|
|
@@ -3019,8 +4407,10 @@ exports.productListSchemaSchema = productListSchemaSchema;
|
|
|
3019
4407
|
exports.productSummarySchemaSchema = productSummarySchemaSchema;
|
|
3020
4408
|
exports.projectDetailSchema = projectDetailSchema;
|
|
3021
4409
|
exports.projectSummarySchema = projectSummarySchema;
|
|
4410
|
+
exports.projectsAssignBodySchema = projectsAssignBodySchema;
|
|
3022
4411
|
exports.projectsAssignErrorSchema = projectsAssignErrorSchema;
|
|
3023
4412
|
exports.projectsAssignPathProjectIdSchema = projectsAssignPathProjectIdSchema;
|
|
4413
|
+
exports.projectsAssignPathSchema = projectsAssignPathSchema;
|
|
3024
4414
|
exports.projectsAssignResponseSchema = projectsAssignResponseSchema;
|
|
3025
4415
|
exports.projectsAssignStatus200Schema = projectsAssignStatus200Schema;
|
|
3026
4416
|
exports.projectsAssignStatus401Schema = projectsAssignStatus401Schema;
|
|
@@ -3031,9 +4421,13 @@ exports.projectsAssignStatus413Schema = projectsAssignStatus413Schema;
|
|
|
3031
4421
|
exports.projectsAssignStatus422Schema = projectsAssignStatus422Schema;
|
|
3032
4422
|
exports.projectsAssignStatus429Schema = projectsAssignStatus429Schema;
|
|
3033
4423
|
exports.projectsAssignStatus500Schema = projectsAssignStatus500Schema;
|
|
4424
|
+
exports.projectsCreateBodySchema = projectsCreateBodySchema;
|
|
4425
|
+
exports.projectsCreateEnvVarsBodySchema = projectsCreateEnvVarsBodySchema;
|
|
3034
4426
|
exports.projectsCreateEnvVarsErrorSchema = projectsCreateEnvVarsErrorSchema;
|
|
3035
4427
|
exports.projectsCreateEnvVarsPathProjectIdSchema = projectsCreateEnvVarsPathProjectIdSchema;
|
|
4428
|
+
exports.projectsCreateEnvVarsPathSchema = projectsCreateEnvVarsPathSchema;
|
|
3036
4429
|
exports.projectsCreateEnvVarsQueryDecryptedSchema = projectsCreateEnvVarsQueryDecryptedSchema;
|
|
4430
|
+
exports.projectsCreateEnvVarsQuerySchema = projectsCreateEnvVarsQuerySchema;
|
|
3037
4431
|
exports.projectsCreateEnvVarsResponseSchema = projectsCreateEnvVarsResponseSchema;
|
|
3038
4432
|
exports.projectsCreateEnvVarsStatus200Schema = projectsCreateEnvVarsStatus200Schema;
|
|
3039
4433
|
exports.projectsCreateEnvVarsStatus401Schema = projectsCreateEnvVarsStatus401Schema;
|
|
@@ -3055,8 +4449,10 @@ exports.projectsCreateStatus413Schema = projectsCreateStatus413Schema;
|
|
|
3055
4449
|
exports.projectsCreateStatus422Schema = projectsCreateStatus422Schema;
|
|
3056
4450
|
exports.projectsCreateStatus429Schema = projectsCreateStatus429Schema;
|
|
3057
4451
|
exports.projectsCreateStatus500Schema = projectsCreateStatus500Schema;
|
|
4452
|
+
exports.projectsDeleteEnvVarsBodySchema = projectsDeleteEnvVarsBodySchema;
|
|
3058
4453
|
exports.projectsDeleteEnvVarsErrorSchema = projectsDeleteEnvVarsErrorSchema;
|
|
3059
4454
|
exports.projectsDeleteEnvVarsPathProjectIdSchema = projectsDeleteEnvVarsPathProjectIdSchema;
|
|
4455
|
+
exports.projectsDeleteEnvVarsPathSchema = projectsDeleteEnvVarsPathSchema;
|
|
3060
4456
|
exports.projectsDeleteEnvVarsResponseSchema = projectsDeleteEnvVarsResponseSchema;
|
|
3061
4457
|
exports.projectsDeleteEnvVarsStatus200Schema = projectsDeleteEnvVarsStatus200Schema;
|
|
3062
4458
|
exports.projectsDeleteEnvVarsStatus401Schema = projectsDeleteEnvVarsStatus401Schema;
|
|
@@ -3069,7 +4465,9 @@ exports.projectsDeleteEnvVarsStatus429Schema = projectsDeleteEnvVarsStatus429Sch
|
|
|
3069
4465
|
exports.projectsDeleteEnvVarsStatus500Schema = projectsDeleteEnvVarsStatus500Schema;
|
|
3070
4466
|
exports.projectsDeleteErrorSchema = projectsDeleteErrorSchema;
|
|
3071
4467
|
exports.projectsDeletePathProjectIdSchema = projectsDeletePathProjectIdSchema;
|
|
4468
|
+
exports.projectsDeletePathSchema = projectsDeletePathSchema;
|
|
3072
4469
|
exports.projectsDeleteQueryDeleteAllChatsSchema = projectsDeleteQueryDeleteAllChatsSchema;
|
|
4470
|
+
exports.projectsDeleteQuerySchema = projectsDeleteQuerySchema;
|
|
3073
4471
|
exports.projectsDeleteResponseSchema = projectsDeleteResponseSchema;
|
|
3074
4472
|
exports.projectsDeleteStatus200Schema = projectsDeleteStatus200Schema;
|
|
3075
4473
|
exports.projectsDeleteStatus401Schema = projectsDeleteStatus401Schema;
|
|
@@ -3082,7 +4480,9 @@ exports.projectsDeleteStatus429Schema = projectsDeleteStatus429Schema;
|
|
|
3082
4480
|
exports.projectsDeleteStatus500Schema = projectsDeleteStatus500Schema;
|
|
3083
4481
|
exports.projectsFindEnvVarsErrorSchema = projectsFindEnvVarsErrorSchema;
|
|
3084
4482
|
exports.projectsFindEnvVarsPathProjectIdSchema = projectsFindEnvVarsPathProjectIdSchema;
|
|
4483
|
+
exports.projectsFindEnvVarsPathSchema = projectsFindEnvVarsPathSchema;
|
|
3085
4484
|
exports.projectsFindEnvVarsQueryDecryptedSchema = projectsFindEnvVarsQueryDecryptedSchema;
|
|
4485
|
+
exports.projectsFindEnvVarsQuerySchema = projectsFindEnvVarsQuerySchema;
|
|
3086
4486
|
exports.projectsFindEnvVarsResponseSchema = projectsFindEnvVarsResponseSchema;
|
|
3087
4487
|
exports.projectsFindEnvVarsStatus200Schema = projectsFindEnvVarsStatus200Schema;
|
|
3088
4488
|
exports.projectsFindEnvVarsStatus401Schema = projectsFindEnvVarsStatus401Schema;
|
|
@@ -3106,6 +4506,7 @@ exports.projectsFindStatus429Schema = projectsFindStatus429Schema;
|
|
|
3106
4506
|
exports.projectsFindStatus500Schema = projectsFindStatus500Schema;
|
|
3107
4507
|
exports.projectsGetByChatIdErrorSchema = projectsGetByChatIdErrorSchema;
|
|
3108
4508
|
exports.projectsGetByChatIdPathChatIdSchema = projectsGetByChatIdPathChatIdSchema;
|
|
4509
|
+
exports.projectsGetByChatIdPathSchema = projectsGetByChatIdPathSchema;
|
|
3109
4510
|
exports.projectsGetByChatIdResponseSchema = projectsGetByChatIdResponseSchema;
|
|
3110
4511
|
exports.projectsGetByChatIdStatus200Schema = projectsGetByChatIdStatus200Schema;
|
|
3111
4512
|
exports.projectsGetByChatIdStatus401Schema = projectsGetByChatIdStatus401Schema;
|
|
@@ -3118,6 +4519,7 @@ exports.projectsGetByChatIdStatus429Schema = projectsGetByChatIdStatus429Schema;
|
|
|
3118
4519
|
exports.projectsGetByChatIdStatus500Schema = projectsGetByChatIdStatus500Schema;
|
|
3119
4520
|
exports.projectsGetByIdErrorSchema = projectsGetByIdErrorSchema;
|
|
3120
4521
|
exports.projectsGetByIdPathProjectIdSchema = projectsGetByIdPathProjectIdSchema;
|
|
4522
|
+
exports.projectsGetByIdPathSchema = projectsGetByIdPathSchema;
|
|
3121
4523
|
exports.projectsGetByIdResponseSchema = projectsGetByIdResponseSchema;
|
|
3122
4524
|
exports.projectsGetByIdStatus200Schema = projectsGetByIdStatus200Schema;
|
|
3123
4525
|
exports.projectsGetByIdStatus401Schema = projectsGetByIdStatus401Schema;
|
|
@@ -3131,7 +4533,9 @@ exports.projectsGetByIdStatus500Schema = projectsGetByIdStatus500Schema;
|
|
|
3131
4533
|
exports.projectsGetEnvVarErrorSchema = projectsGetEnvVarErrorSchema;
|
|
3132
4534
|
exports.projectsGetEnvVarPathEnvironmentVariableIdSchema = projectsGetEnvVarPathEnvironmentVariableIdSchema;
|
|
3133
4535
|
exports.projectsGetEnvVarPathProjectIdSchema = projectsGetEnvVarPathProjectIdSchema;
|
|
4536
|
+
exports.projectsGetEnvVarPathSchema = projectsGetEnvVarPathSchema;
|
|
3134
4537
|
exports.projectsGetEnvVarQueryDecryptedSchema = projectsGetEnvVarQueryDecryptedSchema;
|
|
4538
|
+
exports.projectsGetEnvVarQuerySchema = projectsGetEnvVarQuerySchema;
|
|
3135
4539
|
exports.projectsGetEnvVarResponseSchema = projectsGetEnvVarResponseSchema;
|
|
3136
4540
|
exports.projectsGetEnvVarStatus200Schema = projectsGetEnvVarStatus200Schema;
|
|
3137
4541
|
exports.projectsGetEnvVarStatus401Schema = projectsGetEnvVarStatus401Schema;
|
|
@@ -3142,9 +4546,13 @@ exports.projectsGetEnvVarStatus413Schema = projectsGetEnvVarStatus413Schema;
|
|
|
3142
4546
|
exports.projectsGetEnvVarStatus422Schema = projectsGetEnvVarStatus422Schema;
|
|
3143
4547
|
exports.projectsGetEnvVarStatus429Schema = projectsGetEnvVarStatus429Schema;
|
|
3144
4548
|
exports.projectsGetEnvVarStatus500Schema = projectsGetEnvVarStatus500Schema;
|
|
4549
|
+
exports.projectsUpdateBodySchema = projectsUpdateBodySchema;
|
|
4550
|
+
exports.projectsUpdateEnvVarsBodySchema = projectsUpdateEnvVarsBodySchema;
|
|
3145
4551
|
exports.projectsUpdateEnvVarsErrorSchema = projectsUpdateEnvVarsErrorSchema;
|
|
3146
4552
|
exports.projectsUpdateEnvVarsPathProjectIdSchema = projectsUpdateEnvVarsPathProjectIdSchema;
|
|
4553
|
+
exports.projectsUpdateEnvVarsPathSchema = projectsUpdateEnvVarsPathSchema;
|
|
3147
4554
|
exports.projectsUpdateEnvVarsQueryDecryptedSchema = projectsUpdateEnvVarsQueryDecryptedSchema;
|
|
4555
|
+
exports.projectsUpdateEnvVarsQuerySchema = projectsUpdateEnvVarsQuerySchema;
|
|
3148
4556
|
exports.projectsUpdateEnvVarsResponseSchema = projectsUpdateEnvVarsResponseSchema;
|
|
3149
4557
|
exports.projectsUpdateEnvVarsStatus200Schema = projectsUpdateEnvVarsStatus200Schema;
|
|
3150
4558
|
exports.projectsUpdateEnvVarsStatus401Schema = projectsUpdateEnvVarsStatus401Schema;
|
|
@@ -3157,6 +4565,7 @@ exports.projectsUpdateEnvVarsStatus429Schema = projectsUpdateEnvVarsStatus429Sch
|
|
|
3157
4565
|
exports.projectsUpdateEnvVarsStatus500Schema = projectsUpdateEnvVarsStatus500Schema;
|
|
3158
4566
|
exports.projectsUpdateErrorSchema = projectsUpdateErrorSchema;
|
|
3159
4567
|
exports.projectsUpdatePathProjectIdSchema = projectsUpdatePathProjectIdSchema;
|
|
4568
|
+
exports.projectsUpdatePathSchema = projectsUpdatePathSchema;
|
|
3160
4569
|
exports.projectsUpdateResponseSchema = projectsUpdateResponseSchema;
|
|
3161
4570
|
exports.projectsUpdateStatus200Schema = projectsUpdateStatus200Schema;
|
|
3162
4571
|
exports.projectsUpdateStatus401Schema = projectsUpdateStatus401Schema;
|
|
@@ -3168,6 +4577,7 @@ exports.projectsUpdateStatus422Schema = projectsUpdateStatus422Schema;
|
|
|
3168
4577
|
exports.projectsUpdateStatus429Schema = projectsUpdateStatus429Schema;
|
|
3169
4578
|
exports.projectsUpdateStatus500Schema = projectsUpdateStatus500Schema;
|
|
3170
4579
|
exports.rateLimitsFindErrorSchema = rateLimitsFindErrorSchema;
|
|
4580
|
+
exports.rateLimitsFindQuerySchema = rateLimitsFindQuerySchema;
|
|
3171
4581
|
exports.rateLimitsFindQueryScopeSchema = rateLimitsFindQueryScopeSchema;
|
|
3172
4582
|
exports.rateLimitsFindResponseSchema = rateLimitsFindResponseSchema;
|
|
3173
4583
|
exports.rateLimitsFindStatus200Schema = rateLimitsFindStatus200Schema;
|
|
@@ -3183,6 +4593,7 @@ exports.reportsGetAIUsageErrorSchema = reportsGetAIUsageErrorSchema;
|
|
|
3183
4593
|
exports.reportsGetAIUsageQueryCursorSchema = reportsGetAIUsageQueryCursorSchema;
|
|
3184
4594
|
exports.reportsGetAIUsageQueryEndSchema = reportsGetAIUsageQueryEndSchema;
|
|
3185
4595
|
exports.reportsGetAIUsageQueryLimitSchema = reportsGetAIUsageQueryLimitSchema;
|
|
4596
|
+
exports.reportsGetAIUsageQuerySchema = reportsGetAIUsageQuerySchema;
|
|
3186
4597
|
exports.reportsGetAIUsageQueryStartSchema = reportsGetAIUsageQueryStartSchema;
|
|
3187
4598
|
exports.reportsGetAIUsageResponseSchema = reportsGetAIUsageResponseSchema;
|
|
3188
4599
|
exports.reportsGetAIUsageStatus200Schema = reportsGetAIUsageStatus200Schema;
|
|
@@ -3200,6 +4611,7 @@ exports.reportsGetUsageQueryCursorSchema = reportsGetUsageQueryCursorSchema;
|
|
|
3200
4611
|
exports.reportsGetUsageQueryEndDateSchema = reportsGetUsageQueryEndDateSchema;
|
|
3201
4612
|
exports.reportsGetUsageQueryLimitSchema = reportsGetUsageQueryLimitSchema;
|
|
3202
4613
|
exports.reportsGetUsageQueryMessageIdSchema = reportsGetUsageQueryMessageIdSchema;
|
|
4614
|
+
exports.reportsGetUsageQuerySchema = reportsGetUsageQuerySchema;
|
|
3203
4615
|
exports.reportsGetUsageQueryStartDateSchema = reportsGetUsageQueryStartDateSchema;
|
|
3204
4616
|
exports.reportsGetUsageQueryUserIdSchema = reportsGetUsageQueryUserIdSchema;
|
|
3205
4617
|
exports.reportsGetUsageResponseSchema = reportsGetUsageResponseSchema;
|
|
@@ -3214,6 +4626,7 @@ exports.reportsGetUsageStatus429Schema = reportsGetUsageStatus429Schema;
|
|
|
3214
4626
|
exports.reportsGetUsageStatus500Schema = reportsGetUsageStatus500Schema;
|
|
3215
4627
|
exports.reportsGetUserActivityErrorSchema = reportsGetUserActivityErrorSchema;
|
|
3216
4628
|
exports.reportsGetUserActivityQueryEndDateSchema = reportsGetUserActivityQueryEndDateSchema;
|
|
4629
|
+
exports.reportsGetUserActivityQuerySchema = reportsGetUserActivityQuerySchema;
|
|
3217
4630
|
exports.reportsGetUserActivityQueryStartDateSchema = reportsGetUserActivityQueryStartDateSchema;
|
|
3218
4631
|
exports.reportsGetUserActivityResponseSchema = reportsGetUserActivityResponseSchema;
|
|
3219
4632
|
exports.reportsGetUserActivityStatus200Schema = reportsGetUserActivityStatus200Schema;
|
|
@@ -3232,6 +4645,7 @@ exports.unauthorizedErrorSchema = unauthorizedErrorSchema;
|
|
|
3232
4645
|
exports.unprocessableEntityErrorSchema = unprocessableEntityErrorSchema;
|
|
3233
4646
|
exports.userDetailSchemaSchema = userDetailSchemaSchema;
|
|
3234
4647
|
exports.userGetBillingErrorSchema = userGetBillingErrorSchema;
|
|
4648
|
+
exports.userGetBillingQuerySchema = userGetBillingQuerySchema;
|
|
3235
4649
|
exports.userGetBillingQueryScopeSchema = userGetBillingQueryScopeSchema;
|
|
3236
4650
|
exports.userGetBillingResponseSchema = userGetBillingResponseSchema;
|
|
3237
4651
|
exports.userGetBillingStatus200Schema = userGetBillingStatus200Schema;
|