v0-api 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -189,7 +189,7 @@ const resolveUrl = (url, queryParams = {})=>{
189
189
  }
190
190
  /**
191
191
  * @summary Fork Chat
192
- * @description Creates a new chat fork (duplicate) from a specific version within an existing chat. Useful for branching off alternate directions without modifying the original conversation.
192
+ * @description Creates a new chat fork (duplicate) from a specific version within a chat created through Platform API v1. To duplicate chats created in v0 web or Platform API v2, use POST /v2/chats/{chatId}/duplicate.
193
193
  * @link /chats/{chatId}/fork
194
194
  */ async function chatsFork({ pathParams, config } = {}) {
195
195
  const { client: request = client, ...requestConfig } = config ?? {};
@@ -1226,7 +1226,7 @@ const operationsByPath = {
1226
1226
  "POST /mcp-servers/{mcpServerId}/oauth/authorize": mcpServersCreateOAuthAuthorizationUrl
1227
1227
  };
1228
1228
  const operationsByTag = {
1229
- "chats": {
1229
+ chats: {
1230
1230
  chatsCreate,
1231
1231
  chatsFind,
1232
1232
  chatsInit,
@@ -1248,7 +1248,7 @@ const operationsByTag = {
1248
1248
  chatsResolveTask,
1249
1249
  chatsRestore
1250
1250
  },
1251
- "projects": {
1251
+ projects: {
1252
1252
  projectsGetByChatId,
1253
1253
  projectsFind,
1254
1254
  projectsCreate,
@@ -1262,7 +1262,7 @@ const operationsByTag = {
1262
1262
  projectsDeleteEnvVars,
1263
1263
  projectsGetEnvVar
1264
1264
  },
1265
- "deployments": {
1265
+ deployments: {
1266
1266
  deploymentsFind,
1267
1267
  deploymentsCreate,
1268
1268
  deploymentsGetById,
@@ -1270,32 +1270,32 @@ const operationsByTag = {
1270
1270
  deploymentsFindLogs,
1271
1271
  deploymentsFindErrors
1272
1272
  },
1273
- "hooks": {
1273
+ hooks: {
1274
1274
  hooksFind,
1275
1275
  hooksCreate,
1276
1276
  hooksGetById,
1277
1277
  hooksUpdate,
1278
1278
  hooksDelete
1279
1279
  },
1280
- "integrations": {
1280
+ integrations: {
1281
1281
  integrationsVercelProjectsFind,
1282
1282
  integrationsVercelProjectsCreate
1283
1283
  },
1284
- "ratelimits": {
1284
+ ratelimits: {
1285
1285
  rateLimitsFind
1286
1286
  },
1287
- "user": {
1287
+ user: {
1288
1288
  userGet,
1289
1289
  userGetBilling,
1290
1290
  userGetPlan,
1291
1291
  userGetScopes
1292
1292
  },
1293
- "reports": {
1293
+ reports: {
1294
1294
  reportsGetUsage,
1295
1295
  reportsGetAIUsage,
1296
1296
  reportsGetUserActivity
1297
1297
  },
1298
- "mcpservers": {
1298
+ mcpservers: {
1299
1299
  mcpServersFind,
1300
1300
  mcpServersCreate,
1301
1301
  mcpServersGetById,
@@ -1305,8 +1305,8 @@ const operationsByTag = {
1305
1305
  }
1306
1306
  };
1307
1307
  const tagDictionary = {
1308
- "chats": {
1309
- "POST": [
1308
+ chats: {
1309
+ POST: [
1310
1310
  "chatsCreate",
1311
1311
  "chatsInit",
1312
1312
  "chatsFork",
@@ -1317,7 +1317,7 @@ const tagDictionary = {
1317
1317
  "chatsResolveTask",
1318
1318
  "chatsRestore"
1319
1319
  ],
1320
- "GET": [
1320
+ GET: [
1321
1321
  "chatsFind",
1322
1322
  "chatsGetById",
1323
1323
  "chatsFindMessages",
@@ -1326,109 +1326,109 @@ const tagDictionary = {
1326
1326
  "chatsGetVersion",
1327
1327
  "chatsDownloadVersion"
1328
1328
  ],
1329
- "DELETE": [
1329
+ DELETE: [
1330
1330
  "chatsDelete"
1331
1331
  ],
1332
- "PATCH": [
1332
+ PATCH: [
1333
1333
  "chatsUpdate",
1334
1334
  "chatsUpdateVersion"
1335
1335
  ],
1336
- "PUT": [
1336
+ PUT: [
1337
1337
  "chatsFavorite"
1338
1338
  ]
1339
1339
  },
1340
- "projects": {
1341
- "GET": [
1340
+ projects: {
1341
+ GET: [
1342
1342
  "projectsGetByChatId",
1343
1343
  "projectsFind",
1344
1344
  "projectsGetById",
1345
1345
  "projectsFindEnvVars",
1346
1346
  "projectsGetEnvVar"
1347
1347
  ],
1348
- "POST": [
1348
+ POST: [
1349
1349
  "projectsCreate",
1350
1350
  "projectsAssign",
1351
1351
  "projectsCreateEnvVars",
1352
1352
  "projectsDeleteEnvVars"
1353
1353
  ],
1354
- "PATCH": [
1354
+ PATCH: [
1355
1355
  "projectsUpdate",
1356
1356
  "projectsUpdateEnvVars"
1357
1357
  ],
1358
- "DELETE": [
1358
+ DELETE: [
1359
1359
  "projectsDelete"
1360
1360
  ]
1361
1361
  },
1362
- "deployments": {
1363
- "GET": [
1362
+ deployments: {
1363
+ GET: [
1364
1364
  "deploymentsFind",
1365
1365
  "deploymentsGetById",
1366
1366
  "deploymentsFindLogs",
1367
1367
  "deploymentsFindErrors"
1368
1368
  ],
1369
- "POST": [
1369
+ POST: [
1370
1370
  "deploymentsCreate"
1371
1371
  ],
1372
- "DELETE": [
1372
+ DELETE: [
1373
1373
  "deploymentsDelete"
1374
1374
  ]
1375
1375
  },
1376
- "hooks": {
1377
- "GET": [
1376
+ hooks: {
1377
+ GET: [
1378
1378
  "hooksFind",
1379
1379
  "hooksGetById"
1380
1380
  ],
1381
- "POST": [
1381
+ POST: [
1382
1382
  "hooksCreate"
1383
1383
  ],
1384
- "PATCH": [
1384
+ PATCH: [
1385
1385
  "hooksUpdate"
1386
1386
  ],
1387
- "DELETE": [
1387
+ DELETE: [
1388
1388
  "hooksDelete"
1389
1389
  ]
1390
1390
  },
1391
- "integrations": {
1392
- "GET": [
1391
+ integrations: {
1392
+ GET: [
1393
1393
  "integrationsVercelProjectsFind"
1394
1394
  ],
1395
- "POST": [
1395
+ POST: [
1396
1396
  "integrationsVercelProjectsCreate"
1397
1397
  ]
1398
1398
  },
1399
- "ratelimits": {
1400
- "GET": [
1399
+ ratelimits: {
1400
+ GET: [
1401
1401
  "rateLimitsFind"
1402
1402
  ]
1403
1403
  },
1404
- "user": {
1405
- "GET": [
1404
+ user: {
1405
+ GET: [
1406
1406
  "userGet",
1407
1407
  "userGetBilling",
1408
1408
  "userGetPlan",
1409
1409
  "userGetScopes"
1410
1410
  ]
1411
1411
  },
1412
- "reports": {
1413
- "GET": [
1412
+ reports: {
1413
+ GET: [
1414
1414
  "reportsGetUsage",
1415
1415
  "reportsGetAIUsage",
1416
1416
  "reportsGetUserActivity"
1417
1417
  ]
1418
1418
  },
1419
- "mcpservers": {
1420
- "GET": [
1419
+ mcpservers: {
1420
+ GET: [
1421
1421
  "mcpServersFind",
1422
1422
  "mcpServersGetById"
1423
1423
  ],
1424
- "POST": [
1424
+ POST: [
1425
1425
  "mcpServersCreate",
1426
1426
  "mcpServersCreateOAuthAuthorizationUrl"
1427
1427
  ],
1428
- "PATCH": [
1428
+ PATCH: [
1429
1429
  "mcpServersUpdate"
1430
1430
  ],
1431
- "DELETE": [
1431
+ DELETE: [
1432
1432
  "mcpServersDelete"
1433
1433
  ]
1434
1434
  }
@@ -1483,59 +1483,60 @@ class V0Api {
1483
1483
 
1484
1484
  // @ts-nocheck
1485
1485
  const chatDetailSchema = z.object({
1486
- "id": z.string().describe("A unique identifier for the chat."),
1487
- "object": z.enum([
1486
+ id: z.string().describe("A unique identifier for the chat."),
1487
+ object: z.enum([
1488
1488
  "chat"
1489
1489
  ]).describe("Fixed value identifying this object as a chat."),
1490
- "shareable": z.boolean().describe("Indicates whether the chat can be shared via public link."),
1491
- "privacy": z.enum([
1490
+ shareable: z.boolean().describe("Indicates whether the chat can be shared via public link."),
1491
+ privacy: z.enum([
1492
1492
  "private",
1493
1493
  "public",
1494
1494
  "team",
1495
1495
  "team-edit",
1496
1496
  "unlisted"
1497
1497
  ]).describe("Defines the visibility of the chat—private, team-only, or public."),
1498
- "name": z.string().optional().describe("An optional name assigned to the chat by the user."),
1499
- "title": z.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1500
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1501
- "updatedAt": z.string().optional().describe("The ISO timestamp of the last update to the chat."),
1502
- "favorite": z.boolean().describe("Indicates whether the chat is marked as a favorite."),
1503
- "authorId": z.string().describe("The ID of the user who created the chat."),
1504
- "projectId": z.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1505
- "vercelProjectId": z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1506
- "webUrl": z.string().describe("Web URL to view this chat in the browser."),
1507
- "apiUrl": z.string().describe("API URL to access this chat via the API."),
1508
- "latestVersion": z.object({
1509
- "id": z.string().describe("A unique identifier for the version."),
1510
- "object": z.enum([
1498
+ name: z.string().optional().describe("An optional name assigned to the chat by the user."),
1499
+ title: z.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1500
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1501
+ updatedAt: z.string().optional().describe("The ISO timestamp of the last update to the chat."),
1502
+ favorite: z.boolean().describe("Indicates whether the chat is marked as a favorite."),
1503
+ authorId: z.string().describe("The ID of the user who created the chat."),
1504
+ projectId: z.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1505
+ vercelProjectId: z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1506
+ webUrl: z.string().describe("Web URL to view this chat in the browser."),
1507
+ apiUrl: z.string().describe("API URL to access this chat via the API."),
1508
+ latestVersion: z.object({
1509
+ id: z.string().describe("A unique identifier for the version."),
1510
+ object: z.enum([
1511
1511
  "version"
1512
1512
  ]).describe("Fixed value identifying this object as a version."),
1513
- "status": z.enum([
1513
+ status: z.enum([
1514
1514
  "completed",
1515
1515
  "failed",
1516
1516
  "pending"
1517
1517
  ]).describe("The current status of the version generation process."),
1518
- "demoUrl": z.string().optional().describe("Optional URL for previewing the generated output."),
1519
- "screenshotUrl": z.string().optional().describe("URL to retrieve a screenshot of this version."),
1520
- "createdAt": z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1521
- "updatedAt": z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
1522
- "files": z.array(z.object({
1523
- "object": z.enum([
1518
+ demoUrl: z.string().optional().describe("Optional URL for previewing the generated output."),
1519
+ screenshotUrl: z.string().optional().describe("URL to retrieve a screenshot of this version."),
1520
+ createdAt: z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1521
+ updatedAt: z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
1522
+ files: z.array(z.object({
1523
+ object: z.enum([
1524
1524
  "file"
1525
1525
  ]).describe("Fixed value identifying this object as a file."),
1526
- "name": z.string().describe("The name of the file, including its extension."),
1527
- "content": z.string().describe("The full contents of the file as a raw string."),
1528
- "locked": z.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1526
+ name: z.string().describe("The name of the file, including its extension."),
1527
+ content: z.string().describe("The full contents of the file as a raw string."),
1528
+ locked: z.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1529
1529
  }).strict()).describe("A list of files that were generated or included in this version.")
1530
1530
  }).strict().optional().describe("Full details of the most recent generated version, if available."),
1531
- "url": z.string().describe("The canonical URL to access this chat."),
1532
- "messages": z.array(z.object({
1533
- "id": z.string().describe("A unique identifier for the message."),
1534
- "object": z.enum([
1531
+ metadata: z.object({}).catchall(z.string()).describe("Arbitrary key-value data associated with this chat."),
1532
+ url: z.string().describe("The canonical URL to access this chat."),
1533
+ messages: z.array(z.object({
1534
+ id: z.string().describe("A unique identifier for the message."),
1535
+ object: z.enum([
1535
1536
  "message"
1536
1537
  ]).describe("Fixed value identifying this object as a message."),
1537
- "content": z.string().describe("The main text content of the message."),
1538
- "experimentalContent": z.array(z.union([
1538
+ content: z.string().describe("The main text content of the message."),
1539
+ experimentalContent: z.array(z.union([
1539
1540
  z.tuple([
1540
1541
  z.enum([
1541
1542
  0
@@ -1547,68 +1548,68 @@ const chatDetailSchema = z.object({
1547
1548
  1
1548
1549
  ]),
1549
1550
  z.object({
1550
- "toJSONSchema": z.string(),
1551
- "def": z.string(),
1552
- "type": z.string(),
1553
- "check": z.string(),
1554
- "with": z.string(),
1555
- "clone": z.string(),
1556
- "brand": z.string(),
1557
- "register": z.string(),
1558
- "parse": z.string(),
1559
- "safeParse": z.string(),
1560
- "parseAsync": z.string(),
1561
- "safeParseAsync": z.string(),
1562
- "spa": z.string(),
1563
- "encode": z.string(),
1564
- "decode": z.string(),
1565
- "encodeAsync": z.string(),
1566
- "decodeAsync": z.string(),
1567
- "safeEncode": z.string(),
1568
- "safeDecode": z.string(),
1569
- "safeEncodeAsync": z.string(),
1570
- "safeDecodeAsync": z.string(),
1571
- "refine": z.string(),
1572
- "superRefine": z.string(),
1573
- "overwrite": z.string(),
1574
- "optional": z.string(),
1575
- "exactOptional": z.string(),
1576
- "nullable": z.string(),
1577
- "nullish": z.string(),
1578
- "nonoptional": z.string(),
1579
- "array": z.string(),
1580
- "or": z.string(),
1581
- "and": z.string(),
1582
- "transform": z.string(),
1583
- "default": z.string(),
1584
- "prefault": z.string(),
1585
- "catch": z.string(),
1586
- "pipe": z.string(),
1587
- "readonly": z.string(),
1588
- "describe": z.string(),
1589
- "meta": z.string(),
1590
- "isOptional": z.string(),
1591
- "isNullable": z.string(),
1592
- "apply": z.string(),
1593
- "keyof": z.string(),
1594
- "catchall": z.string(),
1595
- "passthrough": z.string(),
1596
- "loose": z.string(),
1597
- "strict": z.string(),
1598
- "strip": z.string(),
1599
- "extend": z.string(),
1600
- "safeExtend": z.string(),
1601
- "merge": z.string(),
1602
- "pick": z.string(),
1603
- "omit": z.string(),
1604
- "partial": z.string(),
1605
- "required": z.string()
1551
+ toJSONSchema: z.string(),
1552
+ def: z.string(),
1553
+ type: z.string(),
1554
+ check: z.string(),
1555
+ with: z.string(),
1556
+ clone: z.string(),
1557
+ brand: z.string(),
1558
+ register: z.string(),
1559
+ parse: z.string(),
1560
+ safeParse: z.string(),
1561
+ parseAsync: z.string(),
1562
+ safeParseAsync: z.string(),
1563
+ spa: z.string(),
1564
+ encode: z.string(),
1565
+ decode: z.string(),
1566
+ encodeAsync: z.string(),
1567
+ decodeAsync: z.string(),
1568
+ safeEncode: z.string(),
1569
+ safeDecode: z.string(),
1570
+ safeEncodeAsync: z.string(),
1571
+ safeDecodeAsync: z.string(),
1572
+ refine: z.string(),
1573
+ superRefine: z.string(),
1574
+ overwrite: z.string(),
1575
+ optional: z.string(),
1576
+ exactOptional: z.string(),
1577
+ nullable: z.string(),
1578
+ nullish: z.string(),
1579
+ nonoptional: z.string(),
1580
+ array: z.string(),
1581
+ or: z.string(),
1582
+ and: z.string(),
1583
+ transform: z.string(),
1584
+ default: z.string(),
1585
+ prefault: z.string(),
1586
+ catch: z.string(),
1587
+ pipe: z.string(),
1588
+ readonly: z.string(),
1589
+ describe: z.string(),
1590
+ meta: z.string(),
1591
+ isOptional: z.string(),
1592
+ isNullable: z.string(),
1593
+ apply: z.string(),
1594
+ keyof: z.string(),
1595
+ catchall: z.string(),
1596
+ passthrough: z.string(),
1597
+ loose: z.string(),
1598
+ strict: z.string(),
1599
+ strip: z.string(),
1600
+ extend: z.string(),
1601
+ safeExtend: z.string(),
1602
+ merge: z.string(),
1603
+ pick: z.string(),
1604
+ omit: z.string(),
1605
+ partial: z.string(),
1606
+ required: z.string()
1606
1607
  }).strict()
1607
1608
  ])
1608
1609
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
1609
- "createdAt": z.string().describe("The ISO timestamp representing when the message was created."),
1610
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
1611
- "type": z.enum([
1610
+ createdAt: z.string().describe("The ISO timestamp representing when the message was created."),
1611
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
1612
+ type: z.enum([
1612
1613
  "added-environment-variables",
1613
1614
  "added-integration",
1614
1615
  "answered-questions",
@@ -1632,11 +1633,11 @@ const chatDetailSchema = z.object({
1632
1633
  "reverted-block",
1633
1634
  "sync-git"
1634
1635
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
1635
- "role": z.enum([
1636
+ role: z.enum([
1636
1637
  "assistant",
1637
1638
  "user"
1638
1639
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
1639
- "finishReason": z.enum([
1640
+ finishReason: z.enum([
1640
1641
  "content-filter",
1641
1642
  "error",
1642
1643
  "length",
@@ -1644,31 +1645,31 @@ const chatDetailSchema = z.object({
1644
1645
  "stop",
1645
1646
  "tool-calls"
1646
1647
  ]).optional().describe("The reason why the message generation finished."),
1647
- "apiUrl": z.string().describe("API URL to access this message via the API."),
1648
- "authorId": z.null().describe("The ID of the user who sent the message."),
1649
- "parentId": z.null().optional().describe("The ID of the parent message."),
1650
- "attachments": z.array(z.object({
1651
- "url": z.string().describe("The URL where the attachment file can be accessed."),
1652
- "name": z.string().optional().describe("The original filename of the attachment."),
1653
- "contentType": z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
1654
- "size": z.number().describe("The size of the attachment file in bytes."),
1655
- "content": z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
1656
- "type": z.enum([
1648
+ apiUrl: z.string().describe("API URL to access this message via the API."),
1649
+ authorId: z.null().describe("The ID of the user who sent the message."),
1650
+ parentId: z.null().optional().describe("The ID of the parent message."),
1651
+ attachments: z.array(z.object({
1652
+ url: z.string().describe("The URL where the attachment file can be accessed."),
1653
+ name: z.string().optional().describe("The original filename of the attachment."),
1654
+ contentType: z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
1655
+ size: z.number().describe("The size of the attachment file in bytes."),
1656
+ content: z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
1657
+ type: z.enum([
1657
1658
  "figma",
1658
1659
  "screenshot",
1659
1660
  "zip"
1660
1661
  ]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
1661
1662
  }).strict()).optional()
1662
1663
  }).strict()).describe("All messages exchanged in the chat, including user and assistant entries."),
1663
- "files": z.array(z.object({
1664
- "lang": z.string().describe("Programming language used in the file (e.g., JavaScript, Python)."),
1665
- "meta": z.object({}).catchall(z.string()).describe("A key-value map of metadata associated with the file (e.g., path, type)."),
1666
- "source": z.string().describe("The origin or identifier of the file source (e.g., path or upload label).")
1664
+ files: z.array(z.object({
1665
+ lang: z.string().describe("Programming language used in the file (e.g., JavaScript, Python)."),
1666
+ meta: z.object({}).catchall(z.string()).describe("A key-value map of metadata associated with the file (e.g., path, type)."),
1667
+ source: z.string().describe("The origin or identifier of the file source (e.g., path or upload label).")
1667
1668
  }).strict()).optional().describe("Optional array of files associated with the chat context."),
1668
- "demo": z.string().optional().describe("Deprecated demo URL used for previewing the chat result."),
1669
- "text": z.string().describe("The main user prompt or instruction that started the chat."),
1670
- "modelConfiguration": z.object({
1671
- "modelId": z.enum([
1669
+ demo: z.string().optional().describe("Deprecated demo URL used for previewing the chat result."),
1670
+ text: z.string().describe("The main user prompt or instruction that started the chat."),
1671
+ modelConfiguration: z.object({
1672
+ modelId: z.enum([
1672
1673
  "v0-auto",
1673
1674
  "v0-max",
1674
1675
  "v0-max-fast",
@@ -1677,136 +1678,136 @@ const chatDetailSchema = z.object({
1677
1678
  "v0-opus-4.7-fast",
1678
1679
  "v0-pro"
1679
1680
  ]).optional().default("v0-pro").describe("Model to use for the generation. `v0-auto` is deprecated and falls back to `v0-pro`."),
1680
- "imageGenerations": z.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
1681
- "thinking": z.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps.")
1681
+ imageGenerations: z.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
1682
+ thinking: z.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps.")
1682
1683
  }).strict().optional().describe("The configuration used to generate responses in this chat."),
1683
- "permissions": z.object({
1684
- "write": z.boolean().describe("If true, the user has write access to the chat.")
1685
- }).strict(),
1686
- "metadata": z.object({}).catchall(z.string()).describe("Arbitrary key-value data associated with this chat.")
1684
+ permissions: z.object({
1685
+ write: z.boolean().describe("If true, the user has write access to the chat.")
1686
+ }).strict()
1687
1687
  }).strict().describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
1688
1688
  const chatSummarySchema = z.object({
1689
- "id": z.string().describe("A unique identifier for the chat."),
1690
- "object": z.enum([
1689
+ id: z.string().describe("A unique identifier for the chat."),
1690
+ object: z.enum([
1691
1691
  "chat"
1692
1692
  ]).describe("Fixed value identifying this object as a chat."),
1693
- "shareable": z.boolean().describe("Indicates whether the chat can be shared via public link."),
1694
- "privacy": z.enum([
1693
+ shareable: z.boolean().describe("Indicates whether the chat can be shared via public link."),
1694
+ privacy: z.enum([
1695
1695
  "private",
1696
1696
  "public",
1697
1697
  "team",
1698
1698
  "team-edit",
1699
1699
  "unlisted"
1700
1700
  ]).describe("Defines the visibility of the chat—private, team-only, or public."),
1701
- "name": z.string().optional().describe("An optional name assigned to the chat by the user."),
1702
- "title": z.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1703
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1704
- "updatedAt": z.string().optional().describe("The ISO timestamp of the last update to the chat."),
1705
- "favorite": z.boolean().describe("Indicates whether the chat is marked as a favorite."),
1706
- "authorId": z.string().describe("The ID of the user who created the chat."),
1707
- "projectId": z.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1708
- "vercelProjectId": z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1709
- "webUrl": z.string().describe("Web URL to view this chat in the browser."),
1710
- "apiUrl": z.string().describe("API URL to access this chat via the API."),
1711
- "latestVersion": z.object({
1712
- "id": z.string().describe("A unique identifier for the version."),
1713
- "object": z.enum([
1701
+ name: z.string().optional().describe("An optional name assigned to the chat by the user."),
1702
+ title: z.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1703
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1704
+ updatedAt: z.string().optional().describe("The ISO timestamp of the last update to the chat."),
1705
+ favorite: z.boolean().describe("Indicates whether the chat is marked as a favorite."),
1706
+ authorId: z.string().describe("The ID of the user who created the chat."),
1707
+ projectId: z.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1708
+ vercelProjectId: z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1709
+ webUrl: z.string().describe("Web URL to view this chat in the browser."),
1710
+ apiUrl: z.string().describe("API URL to access this chat via the API."),
1711
+ latestVersion: z.object({
1712
+ id: z.string().describe("A unique identifier for the version."),
1713
+ object: z.enum([
1714
1714
  "version"
1715
1715
  ]).describe("Fixed value identifying this object as a version."),
1716
- "status": z.enum([
1716
+ status: z.enum([
1717
1717
  "completed",
1718
1718
  "failed",
1719
1719
  "pending"
1720
1720
  ]).describe("The current status of the version generation process."),
1721
- "demoUrl": z.string().optional().describe("Optional URL for previewing the generated output."),
1722
- "screenshotUrl": z.string().optional().describe("URL to retrieve a screenshot of this version."),
1723
- "createdAt": z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1724
- "updatedAt": z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
1725
- }).strict().optional().describe("The most recent generated version of the chat, if available.")
1721
+ demoUrl: z.string().optional().describe("Optional URL for previewing the generated output."),
1722
+ screenshotUrl: z.string().optional().describe("URL to retrieve a screenshot of this version."),
1723
+ createdAt: z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1724
+ updatedAt: z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
1725
+ }).strict().optional().describe("The most recent generated version of the chat, if available."),
1726
+ metadata: z.object({}).catchall(z.string()).describe("Arbitrary key-value data associated with this chat.")
1726
1727
  }).strict().describe("Summary of a chat, including metadata like privacy, author, latest version, and URLs.");
1727
1728
  const deploymentDetailSchema = z.object({
1728
- "id": z.string().describe("A unique identifier for the deployment."),
1729
- "object": z.enum([
1729
+ id: z.string().describe("A unique identifier for the deployment."),
1730
+ object: z.enum([
1730
1731
  "deployment"
1731
1732
  ]).describe("Fixed value identifying this object as a deployment."),
1732
- "inspectorUrl": z.string().describe("URL to the deployment inspector."),
1733
- "chatId": z.string().describe("The ID of the chat that this deployment is scoped to."),
1734
- "projectId": z.string().optional().describe("The ID of the project that this deployment is scoped to."),
1735
- "versionId": z.string().describe("The ID of the version that this deployment is scoped to."),
1736
- "apiUrl": z.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1737
- "webUrl": z.url().describe("The web URL where the deployment can be viewed or managed.")
1733
+ inspectorUrl: z.string().describe("URL to the deployment inspector."),
1734
+ chatId: z.string().describe("The ID of the chat that this deployment is scoped to."),
1735
+ projectId: z.string().optional().describe("The ID of the project that this deployment is scoped to."),
1736
+ versionId: z.string().describe("The ID of the version that this deployment is scoped to."),
1737
+ apiUrl: z.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1738
+ webUrl: z.url().describe("The web URL where the deployment can be viewed or managed.")
1738
1739
  }).strict();
1739
1740
  const deploymentSummarySchema = z.object({
1740
- "id": z.string().describe("A unique identifier for the deployment."),
1741
- "object": z.enum([
1741
+ id: z.string().describe("A unique identifier for the deployment."),
1742
+ object: z.enum([
1742
1743
  "deployment"
1743
1744
  ]).describe("Fixed value identifying this object as a deployment."),
1744
- "inspectorUrl": z.string().describe("URL to the deployment inspector."),
1745
- "chatId": z.string().describe("The ID of the chat that this deployment is scoped to."),
1746
- "projectId": z.string().optional().describe("The ID of the project that this deployment is scoped to."),
1747
- "versionId": z.string().describe("The ID of the version that this deployment is scoped to."),
1748
- "apiUrl": z.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1749
- "webUrl": z.url().describe("The web URL where the deployment can be viewed or managed.")
1745
+ inspectorUrl: z.string().describe("URL to the deployment inspector."),
1746
+ chatId: z.string().describe("The ID of the chat that this deployment is scoped to."),
1747
+ projectId: z.string().optional().describe("The ID of the project that this deployment is scoped to."),
1748
+ versionId: z.string().describe("The ID of the version that this deployment is scoped to."),
1749
+ apiUrl: z.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1750
+ webUrl: z.url().describe("The web URL where the deployment can be viewed or managed.")
1750
1751
  }).strict();
1751
1752
  const environmentVariableDetailSchemaSchema = z.object({
1752
- "id": z.string().describe("A unique identifier for the environment variable."),
1753
- "object": z.enum([
1753
+ id: z.string().describe("A unique identifier for the environment variable."),
1754
+ object: z.enum([
1754
1755
  "environment_variable"
1755
1756
  ]).describe("The object type."),
1756
- "key": z.string().describe("The name of the environment variable."),
1757
- "value": z.string().describe("The value of the environment variable."),
1758
- "decrypted": z.boolean().describe("Whether the value is decrypted or encrypted."),
1759
- "createdAt": z.number().describe("The timestamp when the environment variable was created."),
1760
- "updatedAt": z.number().optional().describe("The timestamp when the environment variable was last updated.")
1757
+ key: z.string().describe("The name of the environment variable."),
1758
+ value: z.string().describe("The value of the environment variable."),
1759
+ decrypted: z.boolean().describe("Whether the value is decrypted or encrypted."),
1760
+ createdAt: z.number().describe("The timestamp when the environment variable was created."),
1761
+ updatedAt: z.number().optional().describe("The timestamp when the environment variable was last updated.")
1761
1762
  }).strict().describe("Detailed information for an environment variable including its value.");
1762
1763
  const environmentVariableSummarySchemaSchema = z.object({
1763
- "id": z.string().describe("A unique identifier for the environment variable."),
1764
- "object": z.enum([
1764
+ id: z.string().describe("A unique identifier for the environment variable."),
1765
+ object: z.enum([
1765
1766
  "environment_variable"
1766
1767
  ]).describe("The object type."),
1767
- "key": z.string().describe("The name of the environment variable."),
1768
- "value": z.string().describe("The value of the environment variable."),
1769
- "decrypted": z.boolean().describe("Whether the value is decrypted or encrypted."),
1770
- "createdAt": z.number().describe("The timestamp when the environment variable was created."),
1771
- "updatedAt": z.number().optional().describe("The timestamp when the environment variable was last updated.")
1768
+ key: z.string().describe("The name of the environment variable."),
1769
+ value: z.string().describe("The value of the environment variable."),
1770
+ decrypted: z.boolean().describe("Whether the value is decrypted or encrypted."),
1771
+ createdAt: z.number().describe("The timestamp when the environment variable was created."),
1772
+ updatedAt: z.number().optional().describe("The timestamp when the environment variable was last updated.")
1772
1773
  }).strict().describe("Summary information for an environment variable.");
1773
1774
  const environmentVariablesListSchemaSchema = z.object({
1774
- "object": z.enum([
1775
+ object: z.enum([
1775
1776
  "list"
1776
1777
  ]).describe("Fixed value identifying this as a list response."),
1777
- "data": z.array(z.object({
1778
- "id": z.string().describe("A unique identifier for the environment variable."),
1779
- "object": z.enum([
1778
+ data: z.array(z.object({
1779
+ id: z.string().describe("A unique identifier for the environment variable."),
1780
+ object: z.enum([
1780
1781
  "environment_variable"
1781
1782
  ]).describe("The object type."),
1782
- "key": z.string().describe("The name of the environment variable."),
1783
- "value": z.string().describe("The value of the environment variable."),
1784
- "decrypted": z.boolean().describe("Whether the value is decrypted or encrypted."),
1785
- "createdAt": z.number().describe("The timestamp when the environment variable was created."),
1786
- "updatedAt": z.number().optional().describe("The timestamp when the environment variable was last updated.")
1783
+ key: z.string().describe("The name of the environment variable."),
1784
+ value: z.string().describe("The value of the environment variable."),
1785
+ decrypted: z.boolean().describe("Whether the value is decrypted or encrypted."),
1786
+ createdAt: z.number().describe("The timestamp when the environment variable was created."),
1787
+ updatedAt: z.number().optional().describe("The timestamp when the environment variable was last updated.")
1787
1788
  }).strict()).describe("Array of environment variable details.")
1788
1789
  }).strict().describe("List response containing environment variables.");
1789
1790
  const fileDetailSchema = z.object({
1790
- "object": z.enum([
1791
+ object: z.enum([
1791
1792
  "file"
1792
1793
  ]).describe("Fixed value identifying this object as a file."),
1793
- "name": z.string().describe("The name of the file, including its extension."),
1794
- "content": z.string().describe("The full contents of the file as a raw string."),
1795
- "locked": z.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1794
+ name: z.string().describe("The name of the file, including its extension."),
1795
+ content: z.string().describe("The full contents of the file as a raw string."),
1796
+ locked: z.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1796
1797
  }).strict().describe("Detailed representation of a file, including its content and lock status.");
1797
1798
  const fileSummarySchema = z.object({
1798
- "object": z.enum([
1799
+ object: z.enum([
1799
1800
  "file"
1800
1801
  ]).describe("Fixed value identifying this object as a file."),
1801
- "name": z.string().describe("The name of the file, including its extension.")
1802
+ name: z.string().describe("The name of the file, including its extension.")
1802
1803
  }).strict().describe("Basic metadata about a file, such as its type and name.");
1803
1804
  const hookDetailSchema = z.object({
1804
- "id": z.string().describe("A unique identifier for the webhook."),
1805
- "object": z.enum([
1805
+ id: z.string().describe("A unique identifier for the webhook."),
1806
+ object: z.enum([
1806
1807
  "hook"
1807
1808
  ]).describe("Fixed value identifying this object as a webhook."),
1808
- "name": z.string().describe("A user-defined name to label the webhook."),
1809
- "events": z.array(z.enum([
1809
+ name: z.string().describe("A user-defined name to label the webhook."),
1810
+ events: z.array(z.enum([
1810
1811
  "chat.created",
1811
1812
  "chat.deleted",
1812
1813
  "chat.updated",
@@ -1815,15 +1816,15 @@ const hookDetailSchema = z.object({
1815
1816
  "message.finished",
1816
1817
  "message.updated"
1817
1818
  ])).describe("List of event types this webhook is subscribed to."),
1818
- "chatId": z.string().optional().describe("Optional ID of the chat that this webhook is scoped to."),
1819
- "url": z.string().describe("Target URL that receives event payloads for this webhook.")
1819
+ chatId: z.string().optional().describe("Optional ID of the chat that this webhook is scoped to."),
1820
+ url: z.string().describe("Target URL that receives event payloads for this webhook.")
1820
1821
  }).strict().describe("Full configuration details for a webhook, including its scope and subscription.");
1821
1822
  const hookEventDetailSchema = z.object({
1822
- "id": z.string().describe("A unique identifier for the webhook event log entry."),
1823
- "object": z.enum([
1823
+ id: z.string().describe("A unique identifier for the webhook event log entry."),
1824
+ object: z.enum([
1824
1825
  "hook_event"
1825
1826
  ]).describe("Fixed value identifying this object as a webhook event."),
1826
- "event": z.enum([
1827
+ event: z.enum([
1827
1828
  "chat.created",
1828
1829
  "chat.deleted",
1829
1830
  "chat.updated",
@@ -1832,111 +1833,111 @@ const hookEventDetailSchema = z.object({
1832
1833
  "message.finished",
1833
1834
  "message.updated"
1834
1835
  ]).describe("The type of event that triggered the webhook."),
1835
- "status": z.enum([
1836
+ status: z.enum([
1836
1837
  "error",
1837
1838
  "pending",
1838
1839
  "success"
1839
1840
  ]).optional().default("pending").describe("The delivery status of the webhook (e.g., delivered, failed)."),
1840
- "createdAt": z.iso.datetime().describe("Timestamp of when the webhook event was triggered.")
1841
+ createdAt: z.iso.datetime().describe("Timestamp of when the webhook event was triggered.")
1841
1842
  }).strict().describe("Detailed record of a webhook event, including its type, status, and timestamp.");
1842
1843
  const hookSummarySchema = z.object({
1843
- "id": z.string().describe("A unique identifier for the webhook."),
1844
- "object": z.enum([
1844
+ id: z.string().describe("A unique identifier for the webhook."),
1845
+ object: z.enum([
1845
1846
  "hook"
1846
1847
  ]).describe("Fixed value identifying this object as a webhook."),
1847
- "name": z.string().describe("A user-defined name to label the webhook.")
1848
+ name: z.string().describe("A user-defined name to label the webhook.")
1848
1849
  }).strict().describe("Summary of a webhook, including its ID and display name.");
1849
1850
  const integrationConnectionDetailSchemaSchema = z.object({
1850
- "object": z.enum([
1851
+ object: z.enum([
1851
1852
  "integration_connection"
1852
1853
  ]).describe("The object type."),
1853
- "id": z.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1854
- "connected": z.boolean().describe("Whether the integration is connected to the project."),
1855
- "integration": z.object({
1856
- "id": z.string().describe("The ID of the integration."),
1857
- "object": z.enum([
1854
+ id: z.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1855
+ connected: z.boolean().describe("Whether the integration is connected to the project."),
1856
+ integration: z.object({
1857
+ id: z.string().describe("The ID of the integration."),
1858
+ object: z.enum([
1858
1859
  "integration"
1859
1860
  ]).describe("The object type."),
1860
- "slug": z.string().describe("The slug of the integration."),
1861
- "name": z.string().describe("The name of the integration.")
1861
+ slug: z.string().describe("The slug of the integration."),
1862
+ name: z.string().describe("The name of the integration.")
1862
1863
  }).strict().describe("Information about the connected integration."),
1863
- "metadata": z.object({}).catchall(z.unknown()).optional().describe("Additional metadata about the integration connection.")
1864
+ metadata: z.object({}).catchall(z.unknown()).optional().describe("Additional metadata about the integration connection.")
1864
1865
  }).strict().describe("Detailed information about an integration connection to a project.");
1865
1866
  const integrationConnectionListSchemaSchema = z.object({
1866
- "object": z.enum([
1867
+ object: z.enum([
1867
1868
  "list"
1868
1869
  ]).describe("Fixed value identifying this as a list response."),
1869
- "data": z.array(z.object({
1870
- "object": z.enum([
1870
+ data: z.array(z.object({
1871
+ object: z.enum([
1871
1872
  "integration_connection"
1872
1873
  ]).describe("The object type."),
1873
- "id": z.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1874
- "connected": z.boolean().describe("Whether the integration is connected to the project."),
1875
- "integration": z.object({
1876
- "id": z.string().describe("The ID of the integration."),
1877
- "object": z.enum([
1874
+ id: z.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1875
+ connected: z.boolean().describe("Whether the integration is connected to the project."),
1876
+ integration: z.object({
1877
+ id: z.string().describe("The ID of the integration."),
1878
+ object: z.enum([
1878
1879
  "integration"
1879
1880
  ]).describe("The object type."),
1880
- "slug": z.string().describe("The slug of the integration."),
1881
- "name": z.string().describe("The name of the integration.")
1881
+ slug: z.string().describe("The slug of the integration."),
1882
+ name: z.string().describe("The name of the integration.")
1882
1883
  }).strict().describe("Information about the connected integration.")
1883
1884
  }).strict()).describe("Array of integration connection summaries.")
1884
1885
  }).strict().describe("List response containing integration connections.");
1885
1886
  const integrationConnectionSummarySchemaSchema = z.object({
1886
- "object": z.enum([
1887
+ object: z.enum([
1887
1888
  "integration_connection"
1888
1889
  ]).describe("The object type."),
1889
- "id": z.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1890
- "connected": z.boolean().describe("Whether the integration is connected to the project."),
1891
- "integration": z.object({
1892
- "id": z.string().describe("The ID of the integration."),
1893
- "object": z.enum([
1890
+ id: z.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1891
+ connected: z.boolean().describe("Whether the integration is connected to the project."),
1892
+ integration: z.object({
1893
+ id: z.string().describe("The ID of the integration."),
1894
+ object: z.enum([
1894
1895
  "integration"
1895
1896
  ]).describe("The object type."),
1896
- "slug": z.string().describe("The slug of the integration."),
1897
- "name": z.string().describe("The name of the integration.")
1897
+ slug: z.string().describe("The slug of the integration."),
1898
+ name: z.string().describe("The name of the integration.")
1898
1899
  }).strict().describe("Information about the connected integration.")
1899
1900
  }).strict().describe("Summary information about an integration connection to a project.");
1900
1901
  const integrationDetailSchemaSchema = z.object({
1901
- "id": z.string().describe("The ID of the integration."),
1902
- "object": z.enum([
1902
+ id: z.string().describe("The ID of the integration."),
1903
+ object: z.enum([
1903
1904
  "integration"
1904
1905
  ]).describe("The object type."),
1905
- "slug": z.string().describe("The slug of the integration."),
1906
- "name": z.string().describe("The name of the integration."),
1907
- "description": z.string().describe("A short description of the integration."),
1908
- "iconUrl": z.string().describe("URL to the integration icon.")
1906
+ slug: z.string().describe("The slug of the integration."),
1907
+ name: z.string().describe("The name of the integration."),
1908
+ description: z.string().describe("A short description of the integration."),
1909
+ iconUrl: z.string().describe("URL to the integration icon.")
1909
1910
  }).strict().describe("Detailed information about an integration.");
1910
1911
  const integrationListSchemaSchema = z.object({
1911
- "object": z.enum([
1912
+ object: z.enum([
1912
1913
  "list"
1913
1914
  ]).describe("Fixed value identifying this as a list response."),
1914
- "data": z.array(z.object({
1915
- "id": z.string().describe("The ID of the integration."),
1916
- "object": z.enum([
1915
+ data: z.array(z.object({
1916
+ id: z.string().describe("The ID of the integration."),
1917
+ object: z.enum([
1917
1918
  "integration"
1918
1919
  ]).describe("The object type."),
1919
- "slug": z.string().describe("The slug of the integration."),
1920
- "name": z.string().describe("The name of the integration."),
1921
- "description": z.string().describe("A short description of the integration."),
1922
- "iconUrl": z.string().describe("URL to the integration icon.")
1920
+ slug: z.string().describe("The slug of the integration."),
1921
+ name: z.string().describe("The name of the integration."),
1922
+ description: z.string().describe("A short description of the integration."),
1923
+ iconUrl: z.string().describe("URL to the integration icon.")
1923
1924
  }).strict()).describe("Array of integration details.")
1924
1925
  }).strict().describe("List of available integrations.");
1925
1926
  const integrationSummarySchemaSchema = z.object({
1926
- "id": z.string().describe("The ID of the integration."),
1927
- "object": z.enum([
1927
+ id: z.string().describe("The ID of the integration."),
1928
+ object: z.enum([
1928
1929
  "integration"
1929
1930
  ]).describe("The object type."),
1930
- "slug": z.string().describe("The slug of the integration."),
1931
- "name": z.string().describe("The name of the integration.")
1931
+ slug: z.string().describe("The slug of the integration."),
1932
+ name: z.string().describe("The name of the integration.")
1932
1933
  }).strict().describe("Basic information about an integration.");
1933
1934
  const messageDetailSchema = z.object({
1934
- "id": z.string().describe("A unique identifier for the message."),
1935
- "object": z.enum([
1935
+ id: z.string().describe("A unique identifier for the message."),
1936
+ object: z.enum([
1936
1937
  "message"
1937
1938
  ]).describe("Fixed value identifying this object as a message."),
1938
- "content": z.string().describe("The main text content of the message."),
1939
- "experimentalContent": z.array(z.union([
1939
+ content: z.string().describe("The main text content of the message."),
1940
+ experimentalContent: z.array(z.union([
1940
1941
  z.tuple([
1941
1942
  z.enum([
1942
1943
  0
@@ -1948,68 +1949,68 @@ const messageDetailSchema = z.object({
1948
1949
  1
1949
1950
  ]),
1950
1951
  z.object({
1951
- "toJSONSchema": z.string(),
1952
- "def": z.string(),
1953
- "type": z.string(),
1954
- "check": z.string(),
1955
- "with": z.string(),
1956
- "clone": z.string(),
1957
- "brand": z.string(),
1958
- "register": z.string(),
1959
- "parse": z.string(),
1960
- "safeParse": z.string(),
1961
- "parseAsync": z.string(),
1962
- "safeParseAsync": z.string(),
1963
- "spa": z.string(),
1964
- "encode": z.string(),
1965
- "decode": z.string(),
1966
- "encodeAsync": z.string(),
1967
- "decodeAsync": z.string(),
1968
- "safeEncode": z.string(),
1969
- "safeDecode": z.string(),
1970
- "safeEncodeAsync": z.string(),
1971
- "safeDecodeAsync": z.string(),
1972
- "refine": z.string(),
1973
- "superRefine": z.string(),
1974
- "overwrite": z.string(),
1975
- "optional": z.string(),
1976
- "exactOptional": z.string(),
1977
- "nullable": z.string(),
1978
- "nullish": z.string(),
1979
- "nonoptional": z.string(),
1980
- "array": z.string(),
1981
- "or": z.string(),
1982
- "and": z.string(),
1983
- "transform": z.string(),
1984
- "default": z.string(),
1985
- "prefault": z.string(),
1986
- "catch": z.string(),
1987
- "pipe": z.string(),
1988
- "readonly": z.string(),
1989
- "describe": z.string(),
1990
- "meta": z.string(),
1991
- "isOptional": z.string(),
1992
- "isNullable": z.string(),
1993
- "apply": z.string(),
1994
- "keyof": z.string(),
1995
- "catchall": z.string(),
1996
- "passthrough": z.string(),
1997
- "loose": z.string(),
1998
- "strict": z.string(),
1999
- "strip": z.string(),
2000
- "extend": z.string(),
2001
- "safeExtend": z.string(),
2002
- "merge": z.string(),
2003
- "pick": z.string(),
2004
- "omit": z.string(),
2005
- "partial": z.string(),
2006
- "required": z.string()
1952
+ toJSONSchema: z.string(),
1953
+ def: z.string(),
1954
+ type: z.string(),
1955
+ check: z.string(),
1956
+ with: z.string(),
1957
+ clone: z.string(),
1958
+ brand: z.string(),
1959
+ register: z.string(),
1960
+ parse: z.string(),
1961
+ safeParse: z.string(),
1962
+ parseAsync: z.string(),
1963
+ safeParseAsync: z.string(),
1964
+ spa: z.string(),
1965
+ encode: z.string(),
1966
+ decode: z.string(),
1967
+ encodeAsync: z.string(),
1968
+ decodeAsync: z.string(),
1969
+ safeEncode: z.string(),
1970
+ safeDecode: z.string(),
1971
+ safeEncodeAsync: z.string(),
1972
+ safeDecodeAsync: z.string(),
1973
+ refine: z.string(),
1974
+ superRefine: z.string(),
1975
+ overwrite: z.string(),
1976
+ optional: z.string(),
1977
+ exactOptional: z.string(),
1978
+ nullable: z.string(),
1979
+ nullish: z.string(),
1980
+ nonoptional: z.string(),
1981
+ array: z.string(),
1982
+ or: z.string(),
1983
+ and: z.string(),
1984
+ transform: z.string(),
1985
+ default: z.string(),
1986
+ prefault: z.string(),
1987
+ catch: z.string(),
1988
+ pipe: z.string(),
1989
+ readonly: z.string(),
1990
+ describe: z.string(),
1991
+ meta: z.string(),
1992
+ isOptional: z.string(),
1993
+ isNullable: z.string(),
1994
+ apply: z.string(),
1995
+ keyof: z.string(),
1996
+ catchall: z.string(),
1997
+ passthrough: z.string(),
1998
+ loose: z.string(),
1999
+ strict: z.string(),
2000
+ strip: z.string(),
2001
+ extend: z.string(),
2002
+ safeExtend: z.string(),
2003
+ merge: z.string(),
2004
+ pick: z.string(),
2005
+ omit: z.string(),
2006
+ partial: z.string(),
2007
+ required: z.string()
2007
2008
  }).strict()
2008
2009
  ])
2009
2010
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
2010
- "createdAt": z.string().describe("The ISO timestamp representing when the message was created."),
2011
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2012
- "type": z.enum([
2011
+ createdAt: z.string().describe("The ISO timestamp representing when the message was created."),
2012
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2013
+ type: z.enum([
2013
2014
  "added-environment-variables",
2014
2015
  "added-integration",
2015
2016
  "answered-questions",
@@ -2033,11 +2034,11 @@ const messageDetailSchema = z.object({
2033
2034
  "reverted-block",
2034
2035
  "sync-git"
2035
2036
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
2036
- "role": z.enum([
2037
+ role: z.enum([
2037
2038
  "assistant",
2038
2039
  "user"
2039
2040
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
2040
- "finishReason": z.enum([
2041
+ finishReason: z.enum([
2041
2042
  "content-filter",
2042
2043
  "error",
2043
2044
  "length",
@@ -2045,30 +2046,30 @@ const messageDetailSchema = z.object({
2045
2046
  "stop",
2046
2047
  "tool-calls"
2047
2048
  ]).optional().describe("The reason why the message generation finished."),
2048
- "apiUrl": z.string().describe("API URL to access this message via the API."),
2049
- "authorId": z.null().describe("The ID of the user who sent the message."),
2050
- "parentId": z.null().optional().describe("The ID of the parent message."),
2051
- "attachments": z.array(z.object({
2052
- "url": z.string().describe("The URL where the attachment file can be accessed."),
2053
- "name": z.string().optional().describe("The original filename of the attachment."),
2054
- "contentType": z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2055
- "size": z.number().describe("The size of the attachment file in bytes."),
2056
- "content": z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2057
- "type": z.enum([
2049
+ apiUrl: z.string().describe("API URL to access this message via the API."),
2050
+ authorId: z.null().describe("The ID of the user who sent the message."),
2051
+ parentId: z.null().optional().describe("The ID of the parent message."),
2052
+ attachments: z.array(z.object({
2053
+ url: z.string().describe("The URL where the attachment file can be accessed."),
2054
+ name: z.string().optional().describe("The original filename of the attachment."),
2055
+ contentType: z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2056
+ size: z.number().describe("The size of the attachment file in bytes."),
2057
+ content: z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2058
+ type: z.enum([
2058
2059
  "figma",
2059
2060
  "screenshot",
2060
2061
  "zip"
2061
2062
  ]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
2062
2063
  }).strict()).optional(),
2063
- "chatId": z.string().describe("The ID of the chat to which this message belongs.")
2064
+ chatId: z.string().describe("The ID of the chat to which this message belongs.")
2064
2065
  }).strict().describe("Detailed message object extending MessageSummary with chat metadata.");
2065
2066
  const messageSummarySchema = z.object({
2066
- "id": z.string().describe("A unique identifier for the message."),
2067
- "object": z.enum([
2067
+ id: z.string().describe("A unique identifier for the message."),
2068
+ object: z.enum([
2068
2069
  "message"
2069
2070
  ]).describe("Fixed value identifying this object as a message."),
2070
- "content": z.string().describe("The main text content of the message."),
2071
- "experimentalContent": z.array(z.union([
2071
+ content: z.string().describe("The main text content of the message."),
2072
+ experimentalContent: z.array(z.union([
2072
2073
  z.tuple([
2073
2074
  z.enum([
2074
2075
  0
@@ -2080,68 +2081,68 @@ const messageSummarySchema = z.object({
2080
2081
  1
2081
2082
  ]),
2082
2083
  z.object({
2083
- "toJSONSchema": z.string(),
2084
- "def": z.string(),
2085
- "type": z.string(),
2086
- "check": z.string(),
2087
- "with": z.string(),
2088
- "clone": z.string(),
2089
- "brand": z.string(),
2090
- "register": z.string(),
2091
- "parse": z.string(),
2092
- "safeParse": z.string(),
2093
- "parseAsync": z.string(),
2094
- "safeParseAsync": z.string(),
2095
- "spa": z.string(),
2096
- "encode": z.string(),
2097
- "decode": z.string(),
2098
- "encodeAsync": z.string(),
2099
- "decodeAsync": z.string(),
2100
- "safeEncode": z.string(),
2101
- "safeDecode": z.string(),
2102
- "safeEncodeAsync": z.string(),
2103
- "safeDecodeAsync": z.string(),
2104
- "refine": z.string(),
2105
- "superRefine": z.string(),
2106
- "overwrite": z.string(),
2107
- "optional": z.string(),
2108
- "exactOptional": z.string(),
2109
- "nullable": z.string(),
2110
- "nullish": z.string(),
2111
- "nonoptional": z.string(),
2112
- "array": z.string(),
2113
- "or": z.string(),
2114
- "and": z.string(),
2115
- "transform": z.string(),
2116
- "default": z.string(),
2117
- "prefault": z.string(),
2118
- "catch": z.string(),
2119
- "pipe": z.string(),
2120
- "readonly": z.string(),
2121
- "describe": z.string(),
2122
- "meta": z.string(),
2123
- "isOptional": z.string(),
2124
- "isNullable": z.string(),
2125
- "apply": z.string(),
2126
- "keyof": z.string(),
2127
- "catchall": z.string(),
2128
- "passthrough": z.string(),
2129
- "loose": z.string(),
2130
- "strict": z.string(),
2131
- "strip": z.string(),
2132
- "extend": z.string(),
2133
- "safeExtend": z.string(),
2134
- "merge": z.string(),
2135
- "pick": z.string(),
2136
- "omit": z.string(),
2137
- "partial": z.string(),
2138
- "required": z.string()
2084
+ toJSONSchema: z.string(),
2085
+ def: z.string(),
2086
+ type: z.string(),
2087
+ check: z.string(),
2088
+ with: z.string(),
2089
+ clone: z.string(),
2090
+ brand: z.string(),
2091
+ register: z.string(),
2092
+ parse: z.string(),
2093
+ safeParse: z.string(),
2094
+ parseAsync: z.string(),
2095
+ safeParseAsync: z.string(),
2096
+ spa: z.string(),
2097
+ encode: z.string(),
2098
+ decode: z.string(),
2099
+ encodeAsync: z.string(),
2100
+ decodeAsync: z.string(),
2101
+ safeEncode: z.string(),
2102
+ safeDecode: z.string(),
2103
+ safeEncodeAsync: z.string(),
2104
+ safeDecodeAsync: z.string(),
2105
+ refine: z.string(),
2106
+ superRefine: z.string(),
2107
+ overwrite: z.string(),
2108
+ optional: z.string(),
2109
+ exactOptional: z.string(),
2110
+ nullable: z.string(),
2111
+ nullish: z.string(),
2112
+ nonoptional: z.string(),
2113
+ array: z.string(),
2114
+ or: z.string(),
2115
+ and: z.string(),
2116
+ transform: z.string(),
2117
+ default: z.string(),
2118
+ prefault: z.string(),
2119
+ catch: z.string(),
2120
+ pipe: z.string(),
2121
+ readonly: z.string(),
2122
+ describe: z.string(),
2123
+ meta: z.string(),
2124
+ isOptional: z.string(),
2125
+ isNullable: z.string(),
2126
+ apply: z.string(),
2127
+ keyof: z.string(),
2128
+ catchall: z.string(),
2129
+ passthrough: z.string(),
2130
+ loose: z.string(),
2131
+ strict: z.string(),
2132
+ strip: z.string(),
2133
+ extend: z.string(),
2134
+ safeExtend: z.string(),
2135
+ merge: z.string(),
2136
+ pick: z.string(),
2137
+ omit: z.string(),
2138
+ partial: z.string(),
2139
+ required: z.string()
2139
2140
  }).strict()
2140
2141
  ])
2141
2142
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
2142
- "createdAt": z.string().describe("The ISO timestamp representing when the message was created."),
2143
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2144
- "type": z.enum([
2143
+ createdAt: z.string().describe("The ISO timestamp representing when the message was created."),
2144
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2145
+ type: z.enum([
2145
2146
  "added-environment-variables",
2146
2147
  "added-integration",
2147
2148
  "answered-questions",
@@ -2165,11 +2166,11 @@ const messageSummarySchema = z.object({
2165
2166
  "reverted-block",
2166
2167
  "sync-git"
2167
2168
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
2168
- "role": z.enum([
2169
+ role: z.enum([
2169
2170
  "assistant",
2170
2171
  "user"
2171
2172
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
2172
- "finishReason": z.enum([
2173
+ finishReason: z.enum([
2173
2174
  "content-filter",
2174
2175
  "error",
2175
2176
  "length",
@@ -2177,16 +2178,16 @@ const messageSummarySchema = z.object({
2177
2178
  "stop",
2178
2179
  "tool-calls"
2179
2180
  ]).optional().describe("The reason why the message generation finished."),
2180
- "apiUrl": z.string().describe("API URL to access this message via the API."),
2181
- "authorId": z.null().describe("The ID of the user who sent the message."),
2182
- "parentId": z.null().optional().describe("The ID of the parent message."),
2183
- "attachments": z.array(z.object({
2184
- "url": z.string().describe("The URL where the attachment file can be accessed."),
2185
- "name": z.string().optional().describe("The original filename of the attachment."),
2186
- "contentType": z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2187
- "size": z.number().describe("The size of the attachment file in bytes."),
2188
- "content": z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2189
- "type": z.enum([
2181
+ apiUrl: z.string().describe("API URL to access this message via the API."),
2182
+ authorId: z.null().describe("The ID of the user who sent the message."),
2183
+ parentId: z.null().optional().describe("The ID of the parent message."),
2184
+ attachments: z.array(z.object({
2185
+ url: z.string().describe("The URL where the attachment file can be accessed."),
2186
+ name: z.string().optional().describe("The original filename of the attachment."),
2187
+ contentType: z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2188
+ size: z.number().describe("The size of the attachment file in bytes."),
2189
+ content: z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2190
+ type: z.enum([
2190
2191
  "figma",
2191
2192
  "screenshot",
2192
2193
  "zip"
@@ -2194,16 +2195,16 @@ const messageSummarySchema = z.object({
2194
2195
  }).strict()).optional()
2195
2196
  }).strict().describe("Summary of a single message within a chat, including role, content, type, timestamp, and API URL.");
2196
2197
  const messageSummaryListSchema = z.object({
2197
- "object": z.enum([
2198
+ object: z.enum([
2198
2199
  "list"
2199
2200
  ]).describe("Fixed value identifying this as a list response."),
2200
- "data": z.array(z.object({
2201
- "id": z.string().describe("A unique identifier for the message."),
2202
- "object": z.enum([
2201
+ data: z.array(z.object({
2202
+ id: z.string().describe("A unique identifier for the message."),
2203
+ object: z.enum([
2203
2204
  "message"
2204
2205
  ]).describe("Fixed value identifying this object as a message."),
2205
- "content": z.string().describe("The main text content of the message."),
2206
- "experimentalContent": z.array(z.union([
2206
+ content: z.string().describe("The main text content of the message."),
2207
+ experimentalContent: z.array(z.union([
2207
2208
  z.tuple([
2208
2209
  z.enum([
2209
2210
  0
@@ -2215,68 +2216,68 @@ const messageSummaryListSchema = z.object({
2215
2216
  1
2216
2217
  ]),
2217
2218
  z.object({
2218
- "toJSONSchema": z.string(),
2219
- "def": z.string(),
2220
- "type": z.string(),
2221
- "check": z.string(),
2222
- "with": z.string(),
2223
- "clone": z.string(),
2224
- "brand": z.string(),
2225
- "register": z.string(),
2226
- "parse": z.string(),
2227
- "safeParse": z.string(),
2228
- "parseAsync": z.string(),
2229
- "safeParseAsync": z.string(),
2230
- "spa": z.string(),
2231
- "encode": z.string(),
2232
- "decode": z.string(),
2233
- "encodeAsync": z.string(),
2234
- "decodeAsync": z.string(),
2235
- "safeEncode": z.string(),
2236
- "safeDecode": z.string(),
2237
- "safeEncodeAsync": z.string(),
2238
- "safeDecodeAsync": z.string(),
2239
- "refine": z.string(),
2240
- "superRefine": z.string(),
2241
- "overwrite": z.string(),
2242
- "optional": z.string(),
2243
- "exactOptional": z.string(),
2244
- "nullable": z.string(),
2245
- "nullish": z.string(),
2246
- "nonoptional": z.string(),
2247
- "array": z.string(),
2248
- "or": z.string(),
2249
- "and": z.string(),
2250
- "transform": z.string(),
2251
- "default": z.string(),
2252
- "prefault": z.string(),
2253
- "catch": z.string(),
2254
- "pipe": z.string(),
2255
- "readonly": z.string(),
2256
- "describe": z.string(),
2257
- "meta": z.string(),
2258
- "isOptional": z.string(),
2259
- "isNullable": z.string(),
2260
- "apply": z.string(),
2261
- "keyof": z.string(),
2262
- "catchall": z.string(),
2263
- "passthrough": z.string(),
2264
- "loose": z.string(),
2265
- "strict": z.string(),
2266
- "strip": z.string(),
2267
- "extend": z.string(),
2268
- "safeExtend": z.string(),
2269
- "merge": z.string(),
2270
- "pick": z.string(),
2271
- "omit": z.string(),
2272
- "partial": z.string(),
2273
- "required": z.string()
2219
+ toJSONSchema: z.string(),
2220
+ def: z.string(),
2221
+ type: z.string(),
2222
+ check: z.string(),
2223
+ with: z.string(),
2224
+ clone: z.string(),
2225
+ brand: z.string(),
2226
+ register: z.string(),
2227
+ parse: z.string(),
2228
+ safeParse: z.string(),
2229
+ parseAsync: z.string(),
2230
+ safeParseAsync: z.string(),
2231
+ spa: z.string(),
2232
+ encode: z.string(),
2233
+ decode: z.string(),
2234
+ encodeAsync: z.string(),
2235
+ decodeAsync: z.string(),
2236
+ safeEncode: z.string(),
2237
+ safeDecode: z.string(),
2238
+ safeEncodeAsync: z.string(),
2239
+ safeDecodeAsync: z.string(),
2240
+ refine: z.string(),
2241
+ superRefine: z.string(),
2242
+ overwrite: z.string(),
2243
+ optional: z.string(),
2244
+ exactOptional: z.string(),
2245
+ nullable: z.string(),
2246
+ nullish: z.string(),
2247
+ nonoptional: z.string(),
2248
+ array: z.string(),
2249
+ or: z.string(),
2250
+ and: z.string(),
2251
+ transform: z.string(),
2252
+ default: z.string(),
2253
+ prefault: z.string(),
2254
+ catch: z.string(),
2255
+ pipe: z.string(),
2256
+ readonly: z.string(),
2257
+ describe: z.string(),
2258
+ meta: z.string(),
2259
+ isOptional: z.string(),
2260
+ isNullable: z.string(),
2261
+ apply: z.string(),
2262
+ keyof: z.string(),
2263
+ catchall: z.string(),
2264
+ passthrough: z.string(),
2265
+ loose: z.string(),
2266
+ strict: z.string(),
2267
+ strip: z.string(),
2268
+ extend: z.string(),
2269
+ safeExtend: z.string(),
2270
+ merge: z.string(),
2271
+ pick: z.string(),
2272
+ omit: z.string(),
2273
+ partial: z.string(),
2274
+ required: z.string()
2274
2275
  }).strict()
2275
2276
  ])
2276
2277
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
2277
- "createdAt": z.string().describe("The ISO timestamp representing when the message was created."),
2278
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2279
- "type": z.enum([
2278
+ createdAt: z.string().describe("The ISO timestamp representing when the message was created."),
2279
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2280
+ type: z.enum([
2280
2281
  "added-environment-variables",
2281
2282
  "added-integration",
2282
2283
  "answered-questions",
@@ -2300,11 +2301,11 @@ const messageSummaryListSchema = z.object({
2300
2301
  "reverted-block",
2301
2302
  "sync-git"
2302
2303
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
2303
- "role": z.enum([
2304
+ role: z.enum([
2304
2305
  "assistant",
2305
2306
  "user"
2306
2307
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
2307
- "finishReason": z.enum([
2308
+ finishReason: z.enum([
2308
2309
  "content-filter",
2309
2310
  "error",
2310
2311
  "length",
@@ -2312,365 +2313,366 @@ const messageSummaryListSchema = z.object({
2312
2313
  "stop",
2313
2314
  "tool-calls"
2314
2315
  ]).optional().describe("The reason why the message generation finished."),
2315
- "apiUrl": z.string().describe("API URL to access this message via the API."),
2316
- "authorId": z.null().describe("The ID of the user who sent the message."),
2317
- "parentId": z.null().optional().describe("The ID of the parent message."),
2318
- "attachments": z.array(z.object({
2319
- "url": z.string().describe("The URL where the attachment file can be accessed."),
2320
- "name": z.string().optional().describe("The original filename of the attachment."),
2321
- "contentType": z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2322
- "size": z.number().describe("The size of the attachment file in bytes."),
2323
- "content": z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2324
- "type": z.enum([
2316
+ apiUrl: z.string().describe("API URL to access this message via the API."),
2317
+ authorId: z.null().describe("The ID of the user who sent the message."),
2318
+ parentId: z.null().optional().describe("The ID of the parent message."),
2319
+ attachments: z.array(z.object({
2320
+ url: z.string().describe("The URL where the attachment file can be accessed."),
2321
+ name: z.string().optional().describe("The original filename of the attachment."),
2322
+ contentType: z.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2323
+ size: z.number().describe("The size of the attachment file in bytes."),
2324
+ content: z.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2325
+ type: z.enum([
2325
2326
  "figma",
2326
2327
  "screenshot",
2327
2328
  "zip"
2328
2329
  ]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
2329
2330
  }).strict()).optional()
2330
2331
  }).strict()).describe("Array of message summaries in this page of results."),
2331
- "pagination": z.object({
2332
- "hasMore": z.boolean().describe("Indicates if there are more results available beyond this page."),
2333
- "nextCursor": z.string().optional().describe("Cursor for fetching the next page of results."),
2334
- "nextUrl": z.string().optional().describe("API URL for retrieving the next page of results.")
2332
+ pagination: z.object({
2333
+ hasMore: z.boolean().describe("Indicates if there are more results available beyond this page."),
2334
+ nextCursor: z.string().optional().describe("Cursor for fetching the next page of results."),
2335
+ nextUrl: z.string().optional().describe("API URL for retrieving the next page of results.")
2335
2336
  }).strict().describe("Pagination metadata for navigating through multiple pages of results.")
2336
2337
  }).strict().describe("List response containing multiple message summaries with cursor-based pagination.");
2337
2338
  const notificationPreferenceSchemaSchema = z.object({
2338
- "liveActivity": z.boolean().describe("Whether the user wants to receive live activities."),
2339
- "pushNotifications": z.boolean().describe("Whether the user wants to receive push notifications.")
2339
+ liveActivity: z.boolean().describe("Whether the user wants to receive live activities."),
2340
+ pushNotifications: z.boolean().describe("Whether the user wants to receive push notifications.")
2340
2341
  }).strict().describe("User preference for notification delivery methods.");
2341
2342
  const productDetailSchemaSchema = z.object({
2342
- "object": z.enum([
2343
+ object: z.enum([
2343
2344
  "product"
2344
2345
  ]).describe("The object type."),
2345
- "id": z.string().describe("The unique ID of the product."),
2346
- "slug": z.string().describe("The URL-friendly slug of the product."),
2347
- "name": z.string().describe("The name of the product."),
2348
- "description": z.string().describe("A short description of the product."),
2349
- "iconUrl": z.string().describe("URL to the product icon."),
2350
- "v0Availability": z.enum([
2346
+ id: z.string().describe("The unique ID of the product."),
2347
+ slug: z.string().describe("The URL-friendly slug of the product."),
2348
+ name: z.string().describe("The name of the product."),
2349
+ description: z.string().describe("A short description of the product."),
2350
+ iconUrl: z.string().describe("URL to the product icon."),
2351
+ v0Availability: z.enum([
2351
2352
  "in-review",
2352
2353
  "published"
2353
2354
  ]).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."),
2354
- "iconBackgroundColor": z.string().optional().describe("Background color for the product icon.")
2355
+ iconBackgroundColor: z.string().optional().describe("Background color for the product icon.")
2355
2356
  }).strict().describe("Detailed information about a marketplace or store product.");
2356
2357
  const productListSchemaSchema = z.object({
2357
- "object": z.enum([
2358
+ object: z.enum([
2358
2359
  "list"
2359
2360
  ]).describe("Fixed value identifying this as a list response."),
2360
- "data": z.array(z.object({
2361
- "object": z.enum([
2361
+ data: z.array(z.object({
2362
+ object: z.enum([
2362
2363
  "product"
2363
2364
  ]).describe("The object type."),
2364
- "id": z.string().describe("The unique ID of the product."),
2365
- "slug": z.string().describe("The URL-friendly slug of the product."),
2366
- "name": z.string().describe("The name of the product."),
2367
- "description": z.string().describe("A short description of the product."),
2368
- "iconUrl": z.string().describe("URL to the product icon."),
2369
- "v0Availability": z.enum([
2365
+ id: z.string().describe("The unique ID of the product."),
2366
+ slug: z.string().describe("The URL-friendly slug of the product."),
2367
+ name: z.string().describe("The name of the product."),
2368
+ description: z.string().describe("A short description of the product."),
2369
+ iconUrl: z.string().describe("URL to the product icon."),
2370
+ v0Availability: z.enum([
2370
2371
  "in-review",
2371
2372
  "published"
2372
2373
  ]).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.")
2373
2374
  }).strict()).describe("Array of product summaries.")
2374
2375
  }).strict().describe("List of available marketplace and store products.");
2375
2376
  const productSummarySchemaSchema = z.object({
2376
- "object": z.enum([
2377
+ object: z.enum([
2377
2378
  "product"
2378
2379
  ]).describe("The object type."),
2379
- "id": z.string().describe("The unique ID of the product."),
2380
- "slug": z.string().describe("The URL-friendly slug of the product."),
2381
- "name": z.string().describe("The name of the product."),
2382
- "description": z.string().describe("A short description of the product."),
2383
- "iconUrl": z.string().describe("URL to the product icon."),
2384
- "v0Availability": z.enum([
2380
+ id: z.string().describe("The unique ID of the product."),
2381
+ slug: z.string().describe("The URL-friendly slug of the product."),
2382
+ name: z.string().describe("The name of the product."),
2383
+ description: z.string().describe("A short description of the product."),
2384
+ iconUrl: z.string().describe("URL to the product icon."),
2385
+ v0Availability: z.enum([
2385
2386
  "in-review",
2386
2387
  "published"
2387
2388
  ]).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.")
2388
2389
  }).strict().describe("Summary information about a marketplace or store product.");
2389
2390
  const projectDetailSchema = z.object({
2390
- "id": z.string().describe("A unique identifier for the project."),
2391
- "object": z.enum([
2391
+ id: z.string().describe("A unique identifier for the project."),
2392
+ object: z.enum([
2392
2393
  "project"
2393
2394
  ]).describe("Fixed value identifying this object as a project."),
2394
- "name": z.string().describe("The name of the project as defined by the user."),
2395
- "privacy": z.enum([
2395
+ name: z.string().describe("The name of the project as defined by the user."),
2396
+ privacy: z.enum([
2396
2397
  "private",
2397
2398
  "team"
2398
2399
  ]).describe("The privacy setting for the project - either private or team."),
2399
- "vercelProjectId": z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2400
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2401
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2402
- "apiUrl": z.url().describe("The API endpoint URL for accessing this project programmatically."),
2403
- "webUrl": z.url().describe("The web URL where the project can be viewed or managed."),
2404
- "description": z.string().optional().describe("The description of the project."),
2405
- "instructions": z.string().optional().describe("The instructions for the project."),
2406
- "chats": z.array(z.object({
2407
- "id": z.string().describe("A unique identifier for the chat."),
2408
- "object": z.enum([
2400
+ vercelProjectId: z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2401
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2402
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2403
+ apiUrl: z.url().describe("The API endpoint URL for accessing this project programmatically."),
2404
+ webUrl: z.url().describe("The web URL where the project can be viewed or managed."),
2405
+ description: z.string().optional().describe("The description of the project."),
2406
+ instructions: z.string().optional().describe("The instructions for the project."),
2407
+ chats: z.array(z.object({
2408
+ id: z.string().describe("A unique identifier for the chat."),
2409
+ object: z.enum([
2409
2410
  "chat"
2410
2411
  ]).describe("Fixed value identifying this object as a chat."),
2411
- "shareable": z.boolean().describe("Indicates whether the chat can be shared via public link."),
2412
- "privacy": z.enum([
2412
+ shareable: z.boolean().describe("Indicates whether the chat can be shared via public link."),
2413
+ privacy: z.enum([
2413
2414
  "private",
2414
2415
  "public",
2415
2416
  "team",
2416
2417
  "team-edit",
2417
2418
  "unlisted"
2418
2419
  ]).describe("Defines the visibility of the chat—private, team-only, or public."),
2419
- "name": z.string().optional().describe("An optional name assigned to the chat by the user."),
2420
- "title": z.string().optional().describe("Deprecated title field preserved for backward compatibility."),
2421
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
2422
- "updatedAt": z.string().optional().describe("The ISO timestamp of the last update to the chat."),
2423
- "favorite": z.boolean().describe("Indicates whether the chat is marked as a favorite."),
2424
- "authorId": z.string().describe("The ID of the user who created the chat."),
2425
- "projectId": z.string().optional().describe("Optional ID of the v0 project associated with this chat."),
2426
- "vercelProjectId": z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2427
- "webUrl": z.string().describe("Web URL to view this chat in the browser."),
2428
- "apiUrl": z.string().describe("API URL to access this chat via the API."),
2429
- "latestVersion": z.object({
2430
- "id": z.string().describe("A unique identifier for the version."),
2431
- "object": z.enum([
2420
+ name: z.string().optional().describe("An optional name assigned to the chat by the user."),
2421
+ title: z.string().optional().describe("Deprecated title field preserved for backward compatibility."),
2422
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
2423
+ updatedAt: z.string().optional().describe("The ISO timestamp of the last update to the chat."),
2424
+ favorite: z.boolean().describe("Indicates whether the chat is marked as a favorite."),
2425
+ authorId: z.string().describe("The ID of the user who created the chat."),
2426
+ projectId: z.string().optional().describe("Optional ID of the v0 project associated with this chat."),
2427
+ vercelProjectId: z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2428
+ webUrl: z.string().describe("Web URL to view this chat in the browser."),
2429
+ apiUrl: z.string().describe("API URL to access this chat via the API."),
2430
+ latestVersion: z.object({
2431
+ id: z.string().describe("A unique identifier for the version."),
2432
+ object: z.enum([
2432
2433
  "version"
2433
2434
  ]).describe("Fixed value identifying this object as a version."),
2434
- "status": z.enum([
2435
+ status: z.enum([
2435
2436
  "completed",
2436
2437
  "failed",
2437
2438
  "pending"
2438
2439
  ]).describe("The current status of the version generation process."),
2439
- "demoUrl": z.string().optional().describe("Optional URL for previewing the generated output."),
2440
- "screenshotUrl": z.string().optional().describe("URL to retrieve a screenshot of this version."),
2441
- "createdAt": z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2442
- "updatedAt": z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2443
- }).strict().optional().describe("The most recent generated version of the chat, if available.")
2440
+ demoUrl: z.string().optional().describe("Optional URL for previewing the generated output."),
2441
+ screenshotUrl: z.string().optional().describe("URL to retrieve a screenshot of this version."),
2442
+ createdAt: z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2443
+ updatedAt: z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2444
+ }).strict().optional().describe("The most recent generated version of the chat, if available."),
2445
+ metadata: z.object({}).catchall(z.string()).describe("Arbitrary key-value data associated with this chat.")
2444
2446
  }).strict()).describe("List of all chats that are associated with this project.")
2445
2447
  }).strict().describe("Full representation of a project, including its associated chats.");
2446
2448
  const projectSummarySchema = z.object({
2447
- "id": z.string().describe("A unique identifier for the project."),
2448
- "object": z.enum([
2449
+ id: z.string().describe("A unique identifier for the project."),
2450
+ object: z.enum([
2449
2451
  "project"
2450
2452
  ]).describe("Fixed value identifying this object as a project."),
2451
- "name": z.string().describe("The name of the project as defined by the user."),
2452
- "privacy": z.enum([
2453
+ name: z.string().describe("The name of the project as defined by the user."),
2454
+ privacy: z.enum([
2453
2455
  "private",
2454
2456
  "team"
2455
2457
  ]).describe("The privacy setting for the project - either private or team."),
2456
- "vercelProjectId": z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2457
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2458
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2459
- "apiUrl": z.url().describe("The API endpoint URL for accessing this project programmatically."),
2460
- "webUrl": z.url().describe("The web URL where the project can be viewed or managed.")
2458
+ vercelProjectId: z.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2459
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2460
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2461
+ apiUrl: z.url().describe("The API endpoint URL for accessing this project programmatically."),
2462
+ webUrl: z.url().describe("The web URL where the project can be viewed or managed.")
2461
2463
  }).strict().describe("Summary of a project, including metadata, timestamps, and optional Vercel linkage.");
2462
2464
  const scopeSummarySchema = z.object({
2463
- "id": z.string().describe("A unique identifier for the scope (e.g., user or team workspace)."),
2464
- "object": z.enum([
2465
+ id: z.string().describe("A unique identifier for the scope (e.g., user or team workspace)."),
2466
+ object: z.enum([
2465
2467
  "scope"
2466
2468
  ]).describe("Fixed value identifying this object as a scope."),
2467
- "name": z.string().optional().describe("An optional human-readable name for the scope.")
2469
+ name: z.string().optional().describe("An optional human-readable name for the scope.")
2468
2470
  }).strict().describe("Basic information about a workspace or identity context for projects and chats.");
2469
2471
  const searchResultItemSchema = z.object({
2470
- "id": z.string().describe("The unique ID of the item returned in the search result."),
2471
- "object": z.enum([
2472
+ id: z.string().describe("The unique ID of the item returned in the search result."),
2473
+ object: z.enum([
2472
2474
  "chat",
2473
2475
  "project"
2474
2476
  ]).describe("Type of item returned, either 'chat' or 'project'."),
2475
- "name": z.string().describe("The display name of the item."),
2476
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the item was created."),
2477
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp of the last update to the item."),
2478
- "apiUrl": z.string().describe("API endpoint for accessing the item programmatically."),
2479
- "webUrl": z.string().describe("Web URL for viewing the item in the interface.")
2477
+ name: z.string().describe("The display name of the item."),
2478
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the item was created."),
2479
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp of the last update to the item."),
2480
+ apiUrl: z.string().describe("API endpoint for accessing the item programmatically."),
2481
+ webUrl: z.string().describe("Web URL for viewing the item in the interface.")
2480
2482
  }).strict().describe("Generic result returned from a search query, representing either a chat or a project.");
2481
2483
  const userDetailSchemaSchema = z.object({
2482
- "id": z.string().describe("A unique identifier for the user."),
2483
- "object": z.enum([
2484
+ id: z.string().describe("A unique identifier for the user."),
2485
+ object: z.enum([
2484
2486
  "user"
2485
2487
  ]).describe("Fixed value identifying this object as a user."),
2486
- "name": z.string().optional().describe("Optional full name of the user."),
2487
- "email": z.string().describe("The user's email address."),
2488
- "avatar": z.string().describe("URL to the user's avatar image."),
2489
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2490
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2488
+ name: z.string().optional().describe("Optional full name of the user."),
2489
+ email: z.string().describe("The user's email address."),
2490
+ avatar: z.string().describe("URL to the user's avatar image."),
2491
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2492
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2491
2493
  }).strict();
2492
2494
  const userPreferencesPostResponseSchemaSchema = z.object({
2493
- "object": z.enum([
2495
+ object: z.enum([
2494
2496
  "user_preferences"
2495
2497
  ]).describe("Object type identifier."),
2496
- "preferences": z.union([
2498
+ preferences: z.union([
2497
2499
  z.object({
2498
- "notifications": z.object({
2499
- "liveActivity": z.boolean().describe("Whether the user wants to receive live activities."),
2500
- "pushNotifications": z.boolean().describe("Whether the user wants to receive push notifications.")
2500
+ notifications: z.object({
2501
+ liveActivity: z.boolean().describe("Whether the user wants to receive live activities."),
2502
+ pushNotifications: z.boolean().describe("Whether the user wants to receive push notifications.")
2501
2503
  }).strict().describe("The user's preferred method for receiving notifications.")
2502
2504
  }).strict(),
2503
2505
  z.null()
2504
2506
  ]).describe("The updated preferences if successful, or null if failed.")
2505
2507
  }).strict().describe("Response schema for updating user preferences.");
2506
2508
  const userPreferencesResponseSchemaSchema = z.object({
2507
- "object": z.enum([
2509
+ object: z.enum([
2508
2510
  "user_preferences"
2509
2511
  ]).describe("Object type identifier."),
2510
- "preferences": z.union([
2512
+ preferences: z.union([
2511
2513
  z.object({
2512
- "notifications": z.object({
2513
- "liveActivity": z.boolean().describe("Whether the user wants to receive live activities."),
2514
- "pushNotifications": z.boolean().describe("Whether the user wants to receive push notifications.")
2514
+ notifications: z.object({
2515
+ liveActivity: z.boolean().describe("Whether the user wants to receive live activities."),
2516
+ pushNotifications: z.boolean().describe("Whether the user wants to receive push notifications.")
2515
2517
  }).strict().describe("The user's preferred method for receiving notifications.")
2516
2518
  }).strict(),
2517
2519
  z.null()
2518
2520
  ]).describe("The user's current preferences, or null if errored.")
2519
2521
  }).strict().describe("Response schema for retrieving user preferences.");
2520
2522
  const userPreferencesSchemaSchema = z.object({
2521
- "notifications": z.object({
2522
- "liveActivity": z.boolean().describe("Whether the user wants to receive live activities."),
2523
- "pushNotifications": z.boolean().describe("Whether the user wants to receive push notifications.")
2523
+ notifications: z.object({
2524
+ liveActivity: z.boolean().describe("Whether the user wants to receive live activities."),
2525
+ pushNotifications: z.boolean().describe("Whether the user wants to receive push notifications.")
2524
2526
  }).strict().describe("The user's preferred method for receiving notifications.")
2525
2527
  }).strict().describe("User preferences configuration including notification settings.");
2526
2528
  const userSummarySchemaSchema = z.object({
2527
- "id": z.string().describe("A unique identifier for the user."),
2528
- "object": z.enum([
2529
+ id: z.string().describe("A unique identifier for the user."),
2530
+ object: z.enum([
2529
2531
  "user"
2530
2532
  ]).describe("Fixed value identifying this object as a user."),
2531
- "name": z.string().optional().describe("Optional full name of the user."),
2532
- "email": z.string().describe("The user's email address."),
2533
- "avatar": z.string().describe("URL to the user's avatar image."),
2534
- "createdAt": z.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2535
- "updatedAt": z.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2533
+ name: z.string().optional().describe("Optional full name of the user."),
2534
+ email: z.string().describe("The user's email address."),
2535
+ avatar: z.string().describe("URL to the user's avatar image."),
2536
+ createdAt: z.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2537
+ updatedAt: z.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2536
2538
  }).strict().describe("Details of the authenticated user, including profile and contact information.");
2537
2539
  const vercelProjectDetailSchema = z.object({
2538
- "id": z.string().describe("A unique identifier for the linked Vercel project."),
2539
- "object": z.enum([
2540
+ id: z.string().describe("A unique identifier for the linked Vercel project."),
2541
+ object: z.enum([
2540
2542
  "vercel_project"
2541
2543
  ]).describe("Fixed value identifying this object as a Vercel project."),
2542
- "name": z.string().describe("The name of the Vercel project.")
2544
+ name: z.string().describe("The name of the Vercel project.")
2543
2545
  }).strict();
2544
2546
  const vercelProjectSummarySchema = z.object({
2545
- "id": z.string().describe("A unique identifier for the linked Vercel project."),
2546
- "object": z.enum([
2547
+ id: z.string().describe("A unique identifier for the linked Vercel project."),
2548
+ object: z.enum([
2547
2549
  "vercel_project"
2548
2550
  ]).describe("Fixed value identifying this object as a Vercel project."),
2549
- "name": z.string().describe("The name of the Vercel project.")
2551
+ name: z.string().describe("The name of the Vercel project.")
2550
2552
  }).strict().describe("Basic metadata about a Vercel project connected to a v0 project.");
2551
2553
  const versionDetailSchema = z.object({
2552
- "id": z.string().describe("A unique identifier for the version."),
2553
- "object": z.enum([
2554
+ id: z.string().describe("A unique identifier for the version."),
2555
+ object: z.enum([
2554
2556
  "version"
2555
2557
  ]).describe("Fixed value identifying this object as a version."),
2556
- "status": z.enum([
2558
+ status: z.enum([
2557
2559
  "completed",
2558
2560
  "failed",
2559
2561
  "pending"
2560
2562
  ]).describe("The current status of the version generation process."),
2561
- "demoUrl": z.string().optional().describe("Optional URL for previewing the generated output."),
2562
- "screenshotUrl": z.string().optional().describe("URL to retrieve a screenshot of this version."),
2563
- "createdAt": z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2564
- "updatedAt": z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
2565
- "files": z.array(z.object({
2566
- "object": z.enum([
2563
+ demoUrl: z.string().optional().describe("Optional URL for previewing the generated output."),
2564
+ screenshotUrl: z.string().optional().describe("URL to retrieve a screenshot of this version."),
2565
+ createdAt: z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2566
+ updatedAt: z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
2567
+ files: z.array(z.object({
2568
+ object: z.enum([
2567
2569
  "file"
2568
2570
  ]).describe("Fixed value identifying this object as a file."),
2569
- "name": z.string().describe("The name of the file, including its extension."),
2570
- "content": z.string().describe("The full contents of the file as a raw string."),
2571
- "locked": z.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
2571
+ name: z.string().describe("The name of the file, including its extension."),
2572
+ content: z.string().describe("The full contents of the file as a raw string."),
2573
+ locked: z.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
2572
2574
  }).strict()).describe("A list of files that were generated or included in this version.")
2573
2575
  }).strict().describe("Detailed version data including file contents.");
2574
2576
  const versionSummarySchema = z.object({
2575
- "id": z.string().describe("A unique identifier for the version."),
2576
- "object": z.enum([
2577
+ id: z.string().describe("A unique identifier for the version."),
2578
+ object: z.enum([
2577
2579
  "version"
2578
2580
  ]).describe("Fixed value identifying this object as a version."),
2579
- "status": z.enum([
2581
+ status: z.enum([
2580
2582
  "completed",
2581
2583
  "failed",
2582
2584
  "pending"
2583
2585
  ]).describe("The current status of the version generation process."),
2584
- "demoUrl": z.string().optional().describe("Optional URL for previewing the generated output."),
2585
- "screenshotUrl": z.string().optional().describe("URL to retrieve a screenshot of this version."),
2586
- "createdAt": z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2587
- "updatedAt": z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2586
+ demoUrl: z.string().optional().describe("Optional URL for previewing the generated output."),
2587
+ screenshotUrl: z.string().optional().describe("URL to retrieve a screenshot of this version."),
2588
+ createdAt: z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2589
+ updatedAt: z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2588
2590
  }).strict().describe("Summary of a generated version of a chat, including its status and optional demo link.");
2589
2591
  const versionSummaryListSchema = z.object({
2590
- "object": z.enum([
2592
+ object: z.enum([
2591
2593
  "list"
2592
2594
  ]).describe("Fixed value identifying this as a list response."),
2593
- "data": z.array(z.object({
2594
- "id": z.string().describe("A unique identifier for the version."),
2595
- "object": z.enum([
2595
+ data: z.array(z.object({
2596
+ id: z.string().describe("A unique identifier for the version."),
2597
+ object: z.enum([
2596
2598
  "version"
2597
2599
  ]).describe("Fixed value identifying this object as a version."),
2598
- "status": z.enum([
2600
+ status: z.enum([
2599
2601
  "completed",
2600
2602
  "failed",
2601
2603
  "pending"
2602
2604
  ]).describe("The current status of the version generation process."),
2603
- "demoUrl": z.string().optional().describe("Optional URL for previewing the generated output."),
2604
- "screenshotUrl": z.string().optional().describe("URL to retrieve a screenshot of this version."),
2605
- "createdAt": z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2606
- "updatedAt": z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2605
+ demoUrl: z.string().optional().describe("Optional URL for previewing the generated output."),
2606
+ screenshotUrl: z.string().optional().describe("URL to retrieve a screenshot of this version."),
2607
+ createdAt: z.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2608
+ updatedAt: z.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2607
2609
  }).strict()).describe("Array of version summaries in this page of results."),
2608
- "pagination": z.object({
2609
- "hasMore": z.boolean().describe("Indicates if there are more results available beyond this page."),
2610
- "nextCursor": z.string().optional().describe("Cursor for fetching the next page of results."),
2611
- "nextUrl": z.string().optional().describe("API URL for retrieving the next page of results.")
2610
+ pagination: z.object({
2611
+ hasMore: z.boolean().describe("Indicates if there are more results available beyond this page."),
2612
+ nextCursor: z.string().optional().describe("Cursor for fetching the next page of results."),
2613
+ nextUrl: z.string().optional().describe("API URL for retrieving the next page of results.")
2612
2614
  }).strict().describe("Pagination metadata for navigating through multiple pages of results.")
2613
2615
  }).strict().describe("List response containing multiple version summaries with cursor-based pagination.");
2614
2616
  const unauthorizedErrorSchema = z.object({
2615
- "error": z.object({
2616
- "message": z.string(),
2617
- "type": z.enum([
2617
+ error: z.object({
2618
+ message: z.string(),
2619
+ type: z.enum([
2618
2620
  "unauthorized_error"
2619
2621
  ])
2620
2622
  }).strict()
2621
2623
  }).strict();
2622
2624
  const forbiddenErrorSchema = z.object({
2623
- "error": z.object({
2624
- "message": z.string(),
2625
- "type": z.enum([
2625
+ error: z.object({
2626
+ message: z.string(),
2627
+ type: z.enum([
2626
2628
  "forbidden_error"
2627
2629
  ])
2628
2630
  }).strict()
2629
2631
  }).strict();
2630
2632
  const notFoundErrorSchema = z.object({
2631
- "error": z.object({
2632
- "message": z.string(),
2633
- "type": z.enum([
2633
+ error: z.object({
2634
+ message: z.string(),
2635
+ type: z.enum([
2634
2636
  "not_found_error"
2635
2637
  ])
2636
2638
  }).strict()
2637
2639
  }).strict();
2638
2640
  const conflictErrorSchema = z.object({
2639
- "error": z.object({
2640
- "message": z.string(),
2641
- "type": z.enum([
2641
+ error: z.object({
2642
+ message: z.string(),
2643
+ type: z.enum([
2642
2644
  "conflict_error"
2643
2645
  ])
2644
2646
  }).strict()
2645
2647
  }).strict();
2646
2648
  const payloadTooLargeErrorSchema = z.object({
2647
- "error": z.object({
2648
- "message": z.string(),
2649
- "type": z.enum([
2649
+ error: z.object({
2650
+ message: z.string(),
2651
+ type: z.enum([
2650
2652
  "payload_too_large_error"
2651
2653
  ])
2652
2654
  }).strict()
2653
2655
  }).strict();
2654
2656
  const unprocessableEntityErrorSchema = z.object({
2655
- "error": z.object({
2656
- "message": z.string(),
2657
- "type": z.enum([
2657
+ error: z.object({
2658
+ message: z.string(),
2659
+ type: z.enum([
2658
2660
  "unprocessable_entity_error"
2659
2661
  ])
2660
2662
  }).strict()
2661
2663
  }).strict();
2662
2664
  const tooManyRequestsErrorSchema = z.object({
2663
- "error": z.object({
2664
- "message": z.string(),
2665
- "type": z.enum([
2665
+ error: z.object({
2666
+ message: z.string(),
2667
+ type: z.enum([
2666
2668
  "too_many_requests_error"
2667
2669
  ])
2668
2670
  }).strict()
2669
2671
  }).strict();
2670
2672
  const internalServerErrorSchema = z.object({
2671
- "error": z.object({
2672
- "message": z.string(),
2673
- "type": z.enum([
2673
+ error: z.object({
2674
+ message: z.string(),
2675
+ type: z.enum([
2674
2676
  "internal_server_error"
2675
2677
  ])
2676
2678
  }).strict()
@@ -2700,9 +2702,10 @@ const chatsFindQueryOffsetSchema = z.number().optional().default(0).describe("De
2700
2702
  const chatsFindQueryIsFavoriteSchema = z.enum([
2701
2703
  "true",
2702
2704
  "false"
2703
- ]).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.");
2705
+ ]).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.');
2704
2706
  const chatsFindQueryVercelProjectIdSchema = z.string().optional().describe("Filters chats by the linked Vercel project ID. Only returns chats associated with the specified Vercel project.");
2705
2707
  const chatsFindQueryBranchSchema = z.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.");
2708
+ const chatsFindQueryMetadataSchema = z.object({}).catchall(z.string().max(500)).optional().describe("Filters chats by metadata. Returns chats matching every supplied key-value pair.");
2706
2709
  const chatsFindStatus200Schema = z.unknown();
2707
2710
  const chatsFindStatus401Schema = z.unknown();
2708
2711
  const chatsFindStatus403Schema = z.unknown();
@@ -3011,7 +3014,7 @@ const chatsDownloadVersionPathVersionIdSchema = z.string().describe("The unique
3011
3014
  const chatsDownloadVersionQueryFormatSchema = z.enum([
3012
3015
  "zip",
3013
3016
  "tarball"
3014
- ]).optional().default("zip").describe("The archive format for the download. Choose \"zip\" for broad compatibility or \"tarball\" for Unix/Linux systems.");
3017
+ ]).optional().default("zip").describe('The archive format for the download. Choose "zip" for broad compatibility or "tarball" for Unix/Linux systems.');
3015
3018
  const chatsDownloadVersionQueryIncludeDefaultFilesSchema = z.enum([
3016
3019
  "true",
3017
3020
  "false"
@@ -3166,7 +3169,7 @@ const deploymentsCreateResponseSchema = z.union([
3166
3169
  deploymentsCreateStatus429Schema,
3167
3170
  deploymentsCreateStatus500Schema
3168
3171
  ]);
3169
- const deploymentsGetByIdPathDeploymentIdSchema = z.string().describe("Path parameter \"deploymentId\"");
3172
+ const deploymentsGetByIdPathDeploymentIdSchema = z.string().describe('Path parameter "deploymentId"');
3170
3173
  const deploymentsGetByIdStatus200Schema = z.unknown();
3171
3174
  const deploymentsGetByIdStatus401Schema = z.unknown();
3172
3175
  const deploymentsGetByIdStatus403Schema = z.unknown();
@@ -3187,7 +3190,7 @@ const deploymentsGetByIdResponseSchema = z.union([
3187
3190
  deploymentsGetByIdStatus429Schema,
3188
3191
  deploymentsGetByIdStatus500Schema
3189
3192
  ]);
3190
- const deploymentsDeletePathDeploymentIdSchema = z.string().describe("Path parameter \"deploymentId\"");
3193
+ const deploymentsDeletePathDeploymentIdSchema = z.string().describe('Path parameter "deploymentId"');
3191
3194
  const deploymentsDeleteStatus200Schema = z.unknown();
3192
3195
  const deploymentsDeleteStatus401Schema = z.unknown();
3193
3196
  const deploymentsDeleteStatus403Schema = z.unknown();
@@ -3768,11 +3771,11 @@ const chatsRestoreResponseSchema = z.union([
3768
3771
  chatsRestoreStatus429Schema,
3769
3772
  chatsRestoreStatus500Schema
3770
3773
  ]);
3771
- const reportsGetUsageQueryStartDateSchema = z.iso.datetime().optional().describe("Query parameter \"startDate\"");
3772
- const reportsGetUsageQueryEndDateSchema = z.iso.datetime().optional().describe("Query parameter \"endDate\"");
3773
- const reportsGetUsageQueryChatIdSchema = z.string().optional().describe("Query parameter \"chatId\"");
3774
- const reportsGetUsageQueryMessageIdSchema = z.string().optional().describe("Query parameter \"messageId\"");
3775
- const reportsGetUsageQueryUserIdSchema = z.string().optional().describe("Query parameter \"userId\"");
3774
+ const reportsGetUsageQueryStartDateSchema = z.iso.datetime().optional().describe('Query parameter "startDate"');
3775
+ const reportsGetUsageQueryEndDateSchema = z.iso.datetime().optional().describe('Query parameter "endDate"');
3776
+ const reportsGetUsageQueryChatIdSchema = z.string().optional().describe('Query parameter "chatId"');
3777
+ const reportsGetUsageQueryMessageIdSchema = z.string().optional().describe('Query parameter "messageId"');
3778
+ const reportsGetUsageQueryUserIdSchema = z.string().optional().describe('Query parameter "userId"');
3776
3779
  const reportsGetUsageQueryLimitSchema = z.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.");
3777
3780
  const reportsGetUsageQueryCursorSchema = z.string().optional().describe("Base64 encoded cursor containing pagination data");
3778
3781
  const reportsGetUsageStatus200Schema = z.unknown();
@@ -3967,9 +3970,9 @@ const mcpServersCreateOAuthAuthorizationUrlResponseSchema = z.union([
3967
3970
  ]);
3968
3971
 
3969
3972
  /**
3970
- * Generated by Kubb (https://kubb.dev/).
3971
- * Do not edit manually.
3972
- */ const chatDetailObjectEnum = {
3973
+ * Generated by Kubb (https://kubb.dev/).
3974
+ * Do not edit manually.
3975
+ */ const chatDetailObjectEnum = {
3973
3976
  chat: "chat"
3974
3977
  };
3975
3978
  const chatDetailPrivacyEnum = {
@@ -4308,4 +4311,4 @@ const internalServerErrorErrorTypeEnum = {
4308
4311
  internal_server_error: "internal_server_error"
4309
4312
  };
4310
4313
 
4311
- export { V0Api, V0AvailabilityEnum, chatDetailLatestVersionObjectEnum, chatDetailLatestVersionStatusEnum, chatDetailModelConfigurationModelIdEnum, chatDetailObjectEnum, chatDetailPrivacyEnum, chatDetailSchema, chatSummaryLatestVersionObjectEnum, chatSummaryLatestVersionStatusEnum, chatSummaryObjectEnum, chatSummaryPrivacyEnum, chatSummarySchema, chatsCreateResponseSchema, chatsCreateStatus200Schema, chatsCreateStatus401Schema, chatsCreateStatus403Schema, chatsCreateStatus404Schema, chatsCreateStatus409Schema, chatsCreateStatus413Schema, chatsCreateStatus422Schema, chatsCreateStatus429Schema, chatsCreateStatus500Schema, chatsDeletePathChatIdSchema, chatsDeleteResponseSchema, chatsDeleteStatus200Schema, chatsDeleteStatus401Schema, chatsDeleteStatus403Schema, chatsDeleteStatus404Schema, chatsDeleteStatus409Schema, chatsDeleteStatus413Schema, chatsDeleteStatus422Schema, chatsDeleteStatus429Schema, chatsDeleteStatus500Schema, chatsDeleteVersionFilesPathChatIdSchema, chatsDeleteVersionFilesPathVersionIdSchema, chatsDeleteVersionFilesResponseSchema, chatsDeleteVersionFilesStatus200Schema, chatsDeleteVersionFilesStatus401Schema, chatsDeleteVersionFilesStatus403Schema, chatsDeleteVersionFilesStatus404Schema, chatsDeleteVersionFilesStatus409Schema, chatsDeleteVersionFilesStatus413Schema, chatsDeleteVersionFilesStatus422Schema, chatsDeleteVersionFilesStatus429Schema, chatsDeleteVersionFilesStatus500Schema, chatsDownloadVersionPathChatIdSchema, chatsDownloadVersionPathVersionIdSchema, chatsDownloadVersionQueryFormatSchema, chatsDownloadVersionQueryIncludeDefaultFilesSchema, chatsDownloadVersionResponseSchema, chatsDownloadVersionStatus200Schema, chatsDownloadVersionStatus401Schema, chatsDownloadVersionStatus403Schema, chatsDownloadVersionStatus404Schema, chatsDownloadVersionStatus409Schema, chatsDownloadVersionStatus413Schema, chatsDownloadVersionStatus422Schema, chatsDownloadVersionStatus429Schema, chatsDownloadVersionStatus500Schema, chatsFavoritePathChatIdSchema, chatsFavoriteResponseSchema, chatsFavoriteStatus200Schema, chatsFavoriteStatus401Schema, chatsFavoriteStatus403Schema, chatsFavoriteStatus404Schema, chatsFavoriteStatus409Schema, chatsFavoriteStatus413Schema, chatsFavoriteStatus422Schema, chatsFavoriteStatus429Schema, chatsFavoriteStatus500Schema, chatsFindMessagesPathChatIdSchema, chatsFindMessagesQueryCursorSchema, chatsFindMessagesQueryLimitSchema, chatsFindMessagesResponseSchema, chatsFindMessagesStatus200Schema, chatsFindMessagesStatus401Schema, chatsFindMessagesStatus403Schema, chatsFindMessagesStatus404Schema, chatsFindMessagesStatus409Schema, chatsFindMessagesStatus413Schema, chatsFindMessagesStatus422Schema, chatsFindMessagesStatus429Schema, chatsFindMessagesStatus500Schema, chatsFindQueryBranchSchema, chatsFindQueryIsFavoriteSchema, chatsFindQueryLimitSchema, chatsFindQueryOffsetSchema, chatsFindQueryVercelProjectIdSchema, chatsFindResponseSchema, chatsFindStatus200Schema, chatsFindStatus401Schema, chatsFindStatus403Schema, chatsFindStatus404Schema, chatsFindStatus409Schema, chatsFindStatus413Schema, chatsFindStatus422Schema, chatsFindStatus429Schema, chatsFindStatus500Schema, chatsFindVersionsPathChatIdSchema, chatsFindVersionsQueryCursorSchema, chatsFindVersionsQueryLimitSchema, chatsFindVersionsResponseSchema, chatsFindVersionsStatus200Schema, chatsFindVersionsStatus401Schema, chatsFindVersionsStatus403Schema, chatsFindVersionsStatus404Schema, chatsFindVersionsStatus409Schema, chatsFindVersionsStatus413Schema, chatsFindVersionsStatus422Schema, chatsFindVersionsStatus429Schema, chatsFindVersionsStatus500Schema, chatsForkPathChatIdSchema, chatsForkResponseSchema, chatsForkStatus200Schema, chatsForkStatus401Schema, chatsForkStatus403Schema, chatsForkStatus404Schema, chatsForkStatus409Schema, chatsForkStatus413Schema, chatsForkStatus422Schema, chatsForkStatus429Schema, chatsForkStatus500Schema, chatsGetByIdPathChatIdSchema, chatsGetByIdResponseSchema, chatsGetByIdStatus200Schema, chatsGetByIdStatus401Schema, chatsGetByIdStatus403Schema, chatsGetByIdStatus404Schema, chatsGetByIdStatus409Schema, chatsGetByIdStatus413Schema, chatsGetByIdStatus422Schema, chatsGetByIdStatus429Schema, chatsGetByIdStatus500Schema, chatsGetMessagePathChatIdSchema, chatsGetMessagePathMessageIdSchema, chatsGetMessageResponseSchema, chatsGetMessageStatus200Schema, chatsGetMessageStatus401Schema, chatsGetMessageStatus403Schema, chatsGetMessageStatus404Schema, chatsGetMessageStatus409Schema, chatsGetMessageStatus413Schema, chatsGetMessageStatus422Schema, chatsGetMessageStatus429Schema, chatsGetMessageStatus500Schema, chatsGetVersionPathChatIdSchema, chatsGetVersionPathVersionIdSchema, chatsGetVersionQueryIncludeDefaultFilesSchema, chatsGetVersionResponseSchema, chatsGetVersionStatus200Schema, chatsGetVersionStatus401Schema, chatsGetVersionStatus403Schema, chatsGetVersionStatus404Schema, chatsGetVersionStatus409Schema, chatsGetVersionStatus413Schema, chatsGetVersionStatus422Schema, chatsGetVersionStatus429Schema, chatsGetVersionStatus500Schema, chatsInitResponseSchema, chatsInitStatus200Schema, chatsInitStatus401Schema, chatsInitStatus403Schema, chatsInitStatus404Schema, chatsInitStatus409Schema, chatsInitStatus413Schema, chatsInitStatus422Schema, chatsInitStatus429Schema, chatsInitStatus500Schema, chatsResolveTaskPathChatIdSchema, chatsResolveTaskResponseSchema, chatsResolveTaskStatus200Schema, chatsResolveTaskStatus401Schema, chatsResolveTaskStatus403Schema, chatsResolveTaskStatus404Schema, chatsResolveTaskStatus409Schema, chatsResolveTaskStatus413Schema, chatsResolveTaskStatus422Schema, chatsResolveTaskStatus429Schema, chatsResolveTaskStatus500Schema, chatsRestorePathChatIdSchema, chatsRestorePathVersionIdSchema, chatsRestoreResponseSchema, chatsRestoreStatus200Schema, chatsRestoreStatus401Schema, chatsRestoreStatus403Schema, chatsRestoreStatus404Schema, chatsRestoreStatus409Schema, chatsRestoreStatus413Schema, chatsRestoreStatus422Schema, chatsRestoreStatus429Schema, chatsRestoreStatus500Schema, chatsResumePathChatIdSchema, chatsResumePathMessageIdSchema, chatsResumeResponseSchema, chatsResumeStatus200Schema, chatsResumeStatus401Schema, chatsResumeStatus403Schema, chatsResumeStatus404Schema, chatsResumeStatus409Schema, chatsResumeStatus413Schema, chatsResumeStatus422Schema, chatsResumeStatus429Schema, chatsResumeStatus500Schema, chatsSendMessagePathChatIdSchema, chatsSendMessageResponseSchema, chatsSendMessageStatus200Schema, chatsSendMessageStatus401Schema, chatsSendMessageStatus403Schema, chatsSendMessageStatus404Schema, chatsSendMessageStatus409Schema, chatsSendMessageStatus413Schema, chatsSendMessageStatus422Schema, chatsSendMessageStatus429Schema, chatsSendMessageStatus500Schema, chatsStopPathChatIdSchema, chatsStopPathMessageIdSchema, chatsStopResponseSchema, chatsStopStatus200Schema, chatsStopStatus401Schema, chatsStopStatus403Schema, chatsStopStatus404Schema, chatsStopStatus409Schema, chatsStopStatus413Schema, chatsStopStatus422Schema, chatsStopStatus429Schema, chatsStopStatus500Schema, chatsUpdatePathChatIdSchema, chatsUpdateResponseSchema, chatsUpdateStatus200Schema, chatsUpdateStatus401Schema, chatsUpdateStatus403Schema, chatsUpdateStatus404Schema, chatsUpdateStatus409Schema, chatsUpdateStatus413Schema, chatsUpdateStatus422Schema, chatsUpdateStatus429Schema, chatsUpdateStatus500Schema, chatsUpdateVersionPathChatIdSchema, chatsUpdateVersionPathVersionIdSchema, chatsUpdateVersionResponseSchema, chatsUpdateVersionStatus200Schema, chatsUpdateVersionStatus401Schema, chatsUpdateVersionStatus403Schema, chatsUpdateVersionStatus404Schema, chatsUpdateVersionStatus409Schema, chatsUpdateVersionStatus413Schema, chatsUpdateVersionStatus422Schema, chatsUpdateVersionStatus429Schema, chatsUpdateVersionStatus500Schema, conflictErrorErrorTypeEnum, conflictErrorSchema, deploymentDetailObjectEnum, deploymentDetailSchema, deploymentSummaryObjectEnum, deploymentSummarySchema, deploymentsCreateResponseSchema, deploymentsCreateStatus200Schema, deploymentsCreateStatus401Schema, deploymentsCreateStatus403Schema, deploymentsCreateStatus404Schema, deploymentsCreateStatus409Schema, deploymentsCreateStatus413Schema, deploymentsCreateStatus422Schema, deploymentsCreateStatus429Schema, deploymentsCreateStatus500Schema, deploymentsDeletePathDeploymentIdSchema, deploymentsDeleteResponseSchema, deploymentsDeleteStatus200Schema, deploymentsDeleteStatus401Schema, deploymentsDeleteStatus403Schema, deploymentsDeleteStatus404Schema, deploymentsDeleteStatus409Schema, deploymentsDeleteStatus413Schema, deploymentsDeleteStatus422Schema, deploymentsDeleteStatus429Schema, deploymentsDeleteStatus500Schema, deploymentsFindErrorsPathDeploymentIdSchema, deploymentsFindErrorsResponseSchema, deploymentsFindErrorsStatus200Schema, deploymentsFindErrorsStatus401Schema, deploymentsFindErrorsStatus403Schema, deploymentsFindErrorsStatus404Schema, deploymentsFindErrorsStatus409Schema, deploymentsFindErrorsStatus413Schema, deploymentsFindErrorsStatus422Schema, deploymentsFindErrorsStatus429Schema, deploymentsFindErrorsStatus500Schema, deploymentsFindLogsPathDeploymentIdSchema, deploymentsFindLogsQuerySinceSchema, deploymentsFindLogsResponseSchema, deploymentsFindLogsStatus200Schema, deploymentsFindLogsStatus401Schema, deploymentsFindLogsStatus403Schema, deploymentsFindLogsStatus404Schema, deploymentsFindLogsStatus409Schema, deploymentsFindLogsStatus413Schema, deploymentsFindLogsStatus422Schema, deploymentsFindLogsStatus429Schema, deploymentsFindLogsStatus500Schema, deploymentsFindQueryChatIdSchema, deploymentsFindQueryProjectIdSchema, deploymentsFindQueryVersionIdSchema, deploymentsFindResponseSchema, deploymentsFindStatus200Schema, deploymentsFindStatus401Schema, deploymentsFindStatus403Schema, deploymentsFindStatus404Schema, deploymentsFindStatus409Schema, deploymentsFindStatus413Schema, deploymentsFindStatus422Schema, deploymentsFindStatus429Schema, deploymentsFindStatus500Schema, deploymentsGetByIdPathDeploymentIdSchema, deploymentsGetByIdResponseSchema, deploymentsGetByIdStatus200Schema, deploymentsGetByIdStatus401Schema, deploymentsGetByIdStatus403Schema, deploymentsGetByIdStatus404Schema, deploymentsGetByIdStatus409Schema, deploymentsGetByIdStatus413Schema, deploymentsGetByIdStatus422Schema, deploymentsGetByIdStatus429Schema, deploymentsGetByIdStatus500Schema, environmentVariableDetailSchemaObjectEnum, environmentVariableDetailSchemaSchema, environmentVariableSummarySchemaObjectEnum, environmentVariableSummarySchemaSchema, environmentVariablesListSchemaObjectEnum, environmentVariablesListSchemaSchema, fileDetailObjectEnum, fileDetailSchema, fileSummaryObjectEnum, fileSummarySchema, finishReasonEnum, forbiddenErrorErrorTypeEnum, forbiddenErrorSchema, hookDetailEventsEnum, hookDetailObjectEnum, hookDetailSchema, hookEventDetailEventEnum, hookEventDetailObjectEnum, hookEventDetailSchema, hookEventDetailStatusEnum, hookSummaryObjectEnum, hookSummarySchema, hooksCreateResponseSchema, hooksCreateStatus200Schema, hooksCreateStatus401Schema, hooksCreateStatus403Schema, hooksCreateStatus404Schema, hooksCreateStatus409Schema, hooksCreateStatus413Schema, hooksCreateStatus422Schema, hooksCreateStatus429Schema, hooksCreateStatus500Schema, hooksDeletePathHookIdSchema, hooksDeleteResponseSchema, hooksDeleteStatus200Schema, hooksDeleteStatus401Schema, hooksDeleteStatus403Schema, hooksDeleteStatus404Schema, hooksDeleteStatus409Schema, hooksDeleteStatus413Schema, hooksDeleteStatus422Schema, hooksDeleteStatus429Schema, hooksDeleteStatus500Schema, hooksFindResponseSchema, hooksFindStatus200Schema, hooksFindStatus401Schema, hooksFindStatus403Schema, hooksFindStatus404Schema, hooksFindStatus409Schema, hooksFindStatus413Schema, hooksFindStatus422Schema, hooksFindStatus429Schema, hooksFindStatus500Schema, hooksGetByIdPathHookIdSchema, hooksGetByIdResponseSchema, hooksGetByIdStatus200Schema, hooksGetByIdStatus401Schema, hooksGetByIdStatus403Schema, hooksGetByIdStatus404Schema, hooksGetByIdStatus409Schema, hooksGetByIdStatus413Schema, hooksGetByIdStatus422Schema, hooksGetByIdStatus429Schema, hooksGetByIdStatus500Schema, hooksUpdatePathHookIdSchema, hooksUpdateResponseSchema, hooksUpdateStatus200Schema, hooksUpdateStatus401Schema, hooksUpdateStatus403Schema, hooksUpdateStatus404Schema, hooksUpdateStatus409Schema, hooksUpdateStatus413Schema, hooksUpdateStatus422Schema, hooksUpdateStatus429Schema, hooksUpdateStatus500Schema, integrationConnectionDetailSchemaIntegrationObjectEnum, integrationConnectionDetailSchemaObjectEnum, integrationConnectionDetailSchemaSchema, integrationConnectionListSchemaObjectEnum, integrationConnectionListSchemaSchema, integrationConnectionSummarySchemaIntegrationObjectEnum, integrationConnectionSummarySchemaObjectEnum, integrationConnectionSummarySchemaSchema, integrationDetailSchemaObjectEnum, integrationDetailSchemaSchema, integrationListSchemaObjectEnum, integrationListSchemaSchema, integrationSummarySchemaObjectEnum, integrationSummarySchemaSchema, integrationsVercelProjectsCreateResponseSchema, integrationsVercelProjectsCreateStatus200Schema, integrationsVercelProjectsCreateStatus401Schema, integrationsVercelProjectsCreateStatus403Schema, integrationsVercelProjectsCreateStatus404Schema, integrationsVercelProjectsCreateStatus409Schema, integrationsVercelProjectsCreateStatus413Schema, integrationsVercelProjectsCreateStatus422Schema, integrationsVercelProjectsCreateStatus429Schema, integrationsVercelProjectsCreateStatus500Schema, integrationsVercelProjectsFindResponseSchema, integrationsVercelProjectsFindStatus200Schema, integrationsVercelProjectsFindStatus401Schema, integrationsVercelProjectsFindStatus403Schema, integrationsVercelProjectsFindStatus404Schema, integrationsVercelProjectsFindStatus409Schema, integrationsVercelProjectsFindStatus413Schema, integrationsVercelProjectsFindStatus422Schema, integrationsVercelProjectsFindStatus429Schema, integrationsVercelProjectsFindStatus500Schema, internalServerErrorErrorTypeEnum, internalServerErrorSchema, mcpServersCreateOAuthAuthorizationUrlPathMcpServerIdSchema, mcpServersCreateOAuthAuthorizationUrlResponseSchema, mcpServersCreateOAuthAuthorizationUrlStatus200Schema, mcpServersCreateOAuthAuthorizationUrlStatus401Schema, mcpServersCreateOAuthAuthorizationUrlStatus403Schema, mcpServersCreateOAuthAuthorizationUrlStatus404Schema, mcpServersCreateOAuthAuthorizationUrlStatus409Schema, mcpServersCreateOAuthAuthorizationUrlStatus413Schema, mcpServersCreateOAuthAuthorizationUrlStatus422Schema, mcpServersCreateOAuthAuthorizationUrlStatus429Schema, mcpServersCreateOAuthAuthorizationUrlStatus500Schema, mcpServersCreateResponseSchema, mcpServersCreateStatus200Schema, mcpServersCreateStatus401Schema, mcpServersCreateStatus403Schema, mcpServersCreateStatus404Schema, mcpServersCreateStatus409Schema, mcpServersCreateStatus413Schema, mcpServersCreateStatus422Schema, mcpServersCreateStatus429Schema, mcpServersCreateStatus500Schema, mcpServersDeletePathMcpServerIdSchema, mcpServersDeleteResponseSchema, mcpServersDeleteStatus200Schema, mcpServersDeleteStatus401Schema, mcpServersDeleteStatus403Schema, mcpServersDeleteStatus404Schema, mcpServersDeleteStatus409Schema, mcpServersDeleteStatus413Schema, mcpServersDeleteStatus422Schema, mcpServersDeleteStatus429Schema, mcpServersDeleteStatus500Schema, mcpServersFindResponseSchema, mcpServersFindStatus200Schema, mcpServersFindStatus401Schema, mcpServersFindStatus403Schema, mcpServersFindStatus404Schema, mcpServersFindStatus409Schema, mcpServersFindStatus413Schema, mcpServersFindStatus422Schema, mcpServersFindStatus429Schema, mcpServersFindStatus500Schema, mcpServersGetByIdPathMcpServerIdSchema, mcpServersGetByIdResponseSchema, mcpServersGetByIdStatus200Schema, mcpServersGetByIdStatus401Schema, mcpServersGetByIdStatus403Schema, mcpServersGetByIdStatus404Schema, mcpServersGetByIdStatus409Schema, mcpServersGetByIdStatus413Schema, mcpServersGetByIdStatus422Schema, mcpServersGetByIdStatus429Schema, mcpServersGetByIdStatus500Schema, mcpServersUpdatePathMcpServerIdSchema, mcpServersUpdateResponseSchema, mcpServersUpdateStatus200Schema, mcpServersUpdateStatus401Schema, mcpServersUpdateStatus403Schema, mcpServersUpdateStatus404Schema, mcpServersUpdateStatus409Schema, mcpServersUpdateStatus413Schema, mcpServersUpdateStatus422Schema, mcpServersUpdateStatus429Schema, mcpServersUpdateStatus500Schema, messageDetailFinishReasonEnum, messageDetailObjectEnum, messageDetailRoleEnum, messageDetailSchema, messageDetailTypeEnum, messageSummaryFinishReasonEnum, messageSummaryListObjectEnum, messageSummaryListSchema, messageSummaryObjectEnum, messageSummaryRoleEnum, messageSummarySchema, messageSummaryTypeEnum, notFoundErrorErrorTypeEnum, notFoundErrorSchema, notificationPreferenceSchemaSchema, objectEnum, operationsByPath, operationsByTag, payloadTooLargeErrorErrorTypeEnum, payloadTooLargeErrorSchema, privacyEnum, productDetailSchemaObjectEnum, productDetailSchemaSchema, productDetailSchemaV0AvailabilityEnum, productListSchemaObjectEnum, productListSchemaSchema, productSummarySchemaObjectEnum, productSummarySchemaSchema, productSummarySchemaV0AvailabilityEnum, projectDetailObjectEnum, projectDetailPrivacyEnum, projectDetailSchema, projectSummaryObjectEnum, projectSummaryPrivacyEnum, projectSummarySchema, projectsAssignPathProjectIdSchema, projectsAssignResponseSchema, projectsAssignStatus200Schema, projectsAssignStatus401Schema, projectsAssignStatus403Schema, projectsAssignStatus404Schema, projectsAssignStatus409Schema, projectsAssignStatus413Schema, projectsAssignStatus422Schema, projectsAssignStatus429Schema, projectsAssignStatus500Schema, projectsCreateEnvVarsPathProjectIdSchema, projectsCreateEnvVarsQueryDecryptedSchema, projectsCreateEnvVarsResponseSchema, projectsCreateEnvVarsStatus200Schema, projectsCreateEnvVarsStatus401Schema, projectsCreateEnvVarsStatus403Schema, projectsCreateEnvVarsStatus404Schema, projectsCreateEnvVarsStatus409Schema, projectsCreateEnvVarsStatus413Schema, projectsCreateEnvVarsStatus422Schema, projectsCreateEnvVarsStatus429Schema, projectsCreateEnvVarsStatus500Schema, projectsCreateResponseSchema, projectsCreateStatus200Schema, projectsCreateStatus401Schema, projectsCreateStatus403Schema, projectsCreateStatus404Schema, projectsCreateStatus409Schema, projectsCreateStatus413Schema, projectsCreateStatus422Schema, projectsCreateStatus429Schema, projectsCreateStatus500Schema, projectsDeleteEnvVarsPathProjectIdSchema, projectsDeleteEnvVarsResponseSchema, projectsDeleteEnvVarsStatus200Schema, projectsDeleteEnvVarsStatus401Schema, projectsDeleteEnvVarsStatus403Schema, projectsDeleteEnvVarsStatus404Schema, projectsDeleteEnvVarsStatus409Schema, projectsDeleteEnvVarsStatus413Schema, projectsDeleteEnvVarsStatus422Schema, projectsDeleteEnvVarsStatus429Schema, projectsDeleteEnvVarsStatus500Schema, projectsDeletePathProjectIdSchema, projectsDeleteQueryDeleteAllChatsSchema, projectsDeleteResponseSchema, projectsDeleteStatus200Schema, projectsDeleteStatus401Schema, projectsDeleteStatus403Schema, projectsDeleteStatus404Schema, projectsDeleteStatus409Schema, projectsDeleteStatus413Schema, projectsDeleteStatus422Schema, projectsDeleteStatus429Schema, projectsDeleteStatus500Schema, projectsFindEnvVarsPathProjectIdSchema, projectsFindEnvVarsQueryDecryptedSchema, projectsFindEnvVarsResponseSchema, projectsFindEnvVarsStatus200Schema, projectsFindEnvVarsStatus401Schema, projectsFindEnvVarsStatus403Schema, projectsFindEnvVarsStatus404Schema, projectsFindEnvVarsStatus409Schema, projectsFindEnvVarsStatus413Schema, projectsFindEnvVarsStatus422Schema, projectsFindEnvVarsStatus429Schema, projectsFindEnvVarsStatus500Schema, projectsFindResponseSchema, projectsFindStatus200Schema, projectsFindStatus401Schema, projectsFindStatus403Schema, projectsFindStatus404Schema, projectsFindStatus409Schema, projectsFindStatus413Schema, projectsFindStatus422Schema, projectsFindStatus429Schema, projectsFindStatus500Schema, projectsGetByChatIdPathChatIdSchema, projectsGetByChatIdResponseSchema, projectsGetByChatIdStatus200Schema, projectsGetByChatIdStatus401Schema, projectsGetByChatIdStatus403Schema, projectsGetByChatIdStatus404Schema, projectsGetByChatIdStatus409Schema, projectsGetByChatIdStatus413Schema, projectsGetByChatIdStatus422Schema, projectsGetByChatIdStatus429Schema, projectsGetByChatIdStatus500Schema, projectsGetByIdPathProjectIdSchema, projectsGetByIdResponseSchema, projectsGetByIdStatus200Schema, projectsGetByIdStatus401Schema, projectsGetByIdStatus403Schema, projectsGetByIdStatus404Schema, projectsGetByIdStatus409Schema, projectsGetByIdStatus413Schema, projectsGetByIdStatus422Schema, projectsGetByIdStatus429Schema, projectsGetByIdStatus500Schema, projectsGetEnvVarPathEnvironmentVariableIdSchema, projectsGetEnvVarPathProjectIdSchema, projectsGetEnvVarQueryDecryptedSchema, projectsGetEnvVarResponseSchema, projectsGetEnvVarStatus200Schema, projectsGetEnvVarStatus401Schema, projectsGetEnvVarStatus403Schema, projectsGetEnvVarStatus404Schema, projectsGetEnvVarStatus409Schema, projectsGetEnvVarStatus413Schema, projectsGetEnvVarStatus422Schema, projectsGetEnvVarStatus429Schema, projectsGetEnvVarStatus500Schema, projectsUpdateEnvVarsPathProjectIdSchema, projectsUpdateEnvVarsQueryDecryptedSchema, projectsUpdateEnvVarsResponseSchema, projectsUpdateEnvVarsStatus200Schema, projectsUpdateEnvVarsStatus401Schema, projectsUpdateEnvVarsStatus403Schema, projectsUpdateEnvVarsStatus404Schema, projectsUpdateEnvVarsStatus409Schema, projectsUpdateEnvVarsStatus413Schema, projectsUpdateEnvVarsStatus422Schema, projectsUpdateEnvVarsStatus429Schema, projectsUpdateEnvVarsStatus500Schema, projectsUpdatePathProjectIdSchema, projectsUpdateResponseSchema, projectsUpdateStatus200Schema, projectsUpdateStatus401Schema, projectsUpdateStatus403Schema, projectsUpdateStatus404Schema, projectsUpdateStatus409Schema, projectsUpdateStatus413Schema, projectsUpdateStatus422Schema, projectsUpdateStatus429Schema, projectsUpdateStatus500Schema, rateLimitsFindQueryScopeSchema, rateLimitsFindResponseSchema, rateLimitsFindStatus200Schema, rateLimitsFindStatus401Schema, rateLimitsFindStatus403Schema, rateLimitsFindStatus404Schema, rateLimitsFindStatus409Schema, rateLimitsFindStatus413Schema, rateLimitsFindStatus422Schema, rateLimitsFindStatus429Schema, rateLimitsFindStatus500Schema, reportsGetAIUsageQueryCursorSchema, reportsGetAIUsageQueryEndSchema, reportsGetAIUsageQueryLimitSchema, reportsGetAIUsageQueryStartSchema, reportsGetAIUsageResponseSchema, reportsGetAIUsageStatus200Schema, reportsGetAIUsageStatus401Schema, reportsGetAIUsageStatus403Schema, reportsGetAIUsageStatus404Schema, reportsGetAIUsageStatus409Schema, reportsGetAIUsageStatus413Schema, reportsGetAIUsageStatus422Schema, reportsGetAIUsageStatus429Schema, reportsGetAIUsageStatus500Schema, reportsGetUsageQueryChatIdSchema, reportsGetUsageQueryCursorSchema, reportsGetUsageQueryEndDateSchema, reportsGetUsageQueryLimitSchema, reportsGetUsageQueryMessageIdSchema, reportsGetUsageQueryStartDateSchema, reportsGetUsageQueryUserIdSchema, reportsGetUsageResponseSchema, reportsGetUsageStatus200Schema, reportsGetUsageStatus401Schema, reportsGetUsageStatus403Schema, reportsGetUsageStatus404Schema, reportsGetUsageStatus409Schema, reportsGetUsageStatus413Schema, reportsGetUsageStatus422Schema, reportsGetUsageStatus429Schema, reportsGetUsageStatus500Schema, reportsGetUserActivityQueryEndDateSchema, reportsGetUserActivityQueryStartDateSchema, reportsGetUserActivityResponseSchema, reportsGetUserActivityStatus200Schema, reportsGetUserActivityStatus401Schema, reportsGetUserActivityStatus403Schema, reportsGetUserActivityStatus404Schema, reportsGetUserActivityStatus409Schema, reportsGetUserActivityStatus413Schema, reportsGetUserActivityStatus422Schema, reportsGetUserActivityStatus429Schema, reportsGetUserActivityStatus500Schema, roleEnum, scopeSummaryObjectEnum, scopeSummarySchema, searchResultItemObjectEnum, searchResultItemSchema, statusEnum, tagDictionary, tooManyRequestsErrorErrorTypeEnum, tooManyRequestsErrorSchema, typeEnum, unauthorizedErrorErrorTypeEnum, unauthorizedErrorSchema, unprocessableEntityErrorErrorTypeEnum, unprocessableEntityErrorSchema, userDetailSchemaObjectEnum, userDetailSchemaSchema, userGetBillingQueryScopeSchema, userGetBillingResponseSchema, userGetBillingStatus200Schema, userGetBillingStatus401Schema, userGetBillingStatus403Schema, userGetBillingStatus404Schema, userGetBillingStatus409Schema, userGetBillingStatus413Schema, userGetBillingStatus422Schema, userGetBillingStatus429Schema, userGetBillingStatus500Schema, userGetPlanResponseSchema, userGetPlanStatus200Schema, userGetPlanStatus401Schema, userGetPlanStatus403Schema, userGetPlanStatus404Schema, userGetPlanStatus409Schema, userGetPlanStatus413Schema, userGetPlanStatus422Schema, userGetPlanStatus429Schema, userGetPlanStatus500Schema, userGetResponseSchema, userGetScopesResponseSchema, userGetScopesStatus200Schema, userGetScopesStatus401Schema, userGetScopesStatus403Schema, userGetScopesStatus404Schema, userGetScopesStatus409Schema, userGetScopesStatus413Schema, userGetScopesStatus422Schema, userGetScopesStatus429Schema, userGetScopesStatus500Schema, userGetStatus200Schema, userGetStatus401Schema, userGetStatus403Schema, userGetStatus404Schema, userGetStatus409Schema, userGetStatus413Schema, userGetStatus422Schema, userGetStatus429Schema, userGetStatus500Schema, userPreferencesPostResponseSchemaObjectEnum, userPreferencesPostResponseSchemaSchema, userPreferencesResponseSchemaObjectEnum, userPreferencesResponseSchemaSchema, userPreferencesSchemaSchema, userSummarySchemaObjectEnum, userSummarySchemaSchema, vercelProjectDetailObjectEnum, vercelProjectDetailSchema, vercelProjectSummaryObjectEnum, vercelProjectSummarySchema, versionDetailObjectEnum, versionDetailSchema, versionDetailStatusEnum, versionSummaryListObjectEnum, versionSummaryListSchema, versionSummaryObjectEnum, versionSummarySchema, versionSummaryStatusEnum };
4314
+ export { V0Api, V0AvailabilityEnum, chatDetailLatestVersionObjectEnum, chatDetailLatestVersionStatusEnum, chatDetailModelConfigurationModelIdEnum, chatDetailObjectEnum, chatDetailPrivacyEnum, chatDetailSchema, chatSummaryLatestVersionObjectEnum, chatSummaryLatestVersionStatusEnum, chatSummaryObjectEnum, chatSummaryPrivacyEnum, chatSummarySchema, chatsCreateResponseSchema, chatsCreateStatus200Schema, chatsCreateStatus401Schema, chatsCreateStatus403Schema, chatsCreateStatus404Schema, chatsCreateStatus409Schema, chatsCreateStatus413Schema, chatsCreateStatus422Schema, chatsCreateStatus429Schema, chatsCreateStatus500Schema, chatsDeletePathChatIdSchema, chatsDeleteResponseSchema, chatsDeleteStatus200Schema, chatsDeleteStatus401Schema, chatsDeleteStatus403Schema, chatsDeleteStatus404Schema, chatsDeleteStatus409Schema, chatsDeleteStatus413Schema, chatsDeleteStatus422Schema, chatsDeleteStatus429Schema, chatsDeleteStatus500Schema, chatsDeleteVersionFilesPathChatIdSchema, chatsDeleteVersionFilesPathVersionIdSchema, chatsDeleteVersionFilesResponseSchema, chatsDeleteVersionFilesStatus200Schema, chatsDeleteVersionFilesStatus401Schema, chatsDeleteVersionFilesStatus403Schema, chatsDeleteVersionFilesStatus404Schema, chatsDeleteVersionFilesStatus409Schema, chatsDeleteVersionFilesStatus413Schema, chatsDeleteVersionFilesStatus422Schema, chatsDeleteVersionFilesStatus429Schema, chatsDeleteVersionFilesStatus500Schema, chatsDownloadVersionPathChatIdSchema, chatsDownloadVersionPathVersionIdSchema, chatsDownloadVersionQueryFormatSchema, chatsDownloadVersionQueryIncludeDefaultFilesSchema, chatsDownloadVersionResponseSchema, chatsDownloadVersionStatus200Schema, chatsDownloadVersionStatus401Schema, chatsDownloadVersionStatus403Schema, chatsDownloadVersionStatus404Schema, chatsDownloadVersionStatus409Schema, chatsDownloadVersionStatus413Schema, chatsDownloadVersionStatus422Schema, chatsDownloadVersionStatus429Schema, chatsDownloadVersionStatus500Schema, chatsFavoritePathChatIdSchema, chatsFavoriteResponseSchema, chatsFavoriteStatus200Schema, chatsFavoriteStatus401Schema, chatsFavoriteStatus403Schema, chatsFavoriteStatus404Schema, chatsFavoriteStatus409Schema, chatsFavoriteStatus413Schema, chatsFavoriteStatus422Schema, chatsFavoriteStatus429Schema, chatsFavoriteStatus500Schema, chatsFindMessagesPathChatIdSchema, chatsFindMessagesQueryCursorSchema, chatsFindMessagesQueryLimitSchema, chatsFindMessagesResponseSchema, chatsFindMessagesStatus200Schema, chatsFindMessagesStatus401Schema, chatsFindMessagesStatus403Schema, chatsFindMessagesStatus404Schema, chatsFindMessagesStatus409Schema, chatsFindMessagesStatus413Schema, chatsFindMessagesStatus422Schema, chatsFindMessagesStatus429Schema, chatsFindMessagesStatus500Schema, chatsFindQueryBranchSchema, chatsFindQueryIsFavoriteSchema, chatsFindQueryLimitSchema, chatsFindQueryMetadataSchema, chatsFindQueryOffsetSchema, chatsFindQueryVercelProjectIdSchema, chatsFindResponseSchema, chatsFindStatus200Schema, chatsFindStatus401Schema, chatsFindStatus403Schema, chatsFindStatus404Schema, chatsFindStatus409Schema, chatsFindStatus413Schema, chatsFindStatus422Schema, chatsFindStatus429Schema, chatsFindStatus500Schema, chatsFindVersionsPathChatIdSchema, chatsFindVersionsQueryCursorSchema, chatsFindVersionsQueryLimitSchema, chatsFindVersionsResponseSchema, chatsFindVersionsStatus200Schema, chatsFindVersionsStatus401Schema, chatsFindVersionsStatus403Schema, chatsFindVersionsStatus404Schema, chatsFindVersionsStatus409Schema, chatsFindVersionsStatus413Schema, chatsFindVersionsStatus422Schema, chatsFindVersionsStatus429Schema, chatsFindVersionsStatus500Schema, chatsForkPathChatIdSchema, chatsForkResponseSchema, chatsForkStatus200Schema, chatsForkStatus401Schema, chatsForkStatus403Schema, chatsForkStatus404Schema, chatsForkStatus409Schema, chatsForkStatus413Schema, chatsForkStatus422Schema, chatsForkStatus429Schema, chatsForkStatus500Schema, chatsGetByIdPathChatIdSchema, chatsGetByIdResponseSchema, chatsGetByIdStatus200Schema, chatsGetByIdStatus401Schema, chatsGetByIdStatus403Schema, chatsGetByIdStatus404Schema, chatsGetByIdStatus409Schema, chatsGetByIdStatus413Schema, chatsGetByIdStatus422Schema, chatsGetByIdStatus429Schema, chatsGetByIdStatus500Schema, chatsGetMessagePathChatIdSchema, chatsGetMessagePathMessageIdSchema, chatsGetMessageResponseSchema, chatsGetMessageStatus200Schema, chatsGetMessageStatus401Schema, chatsGetMessageStatus403Schema, chatsGetMessageStatus404Schema, chatsGetMessageStatus409Schema, chatsGetMessageStatus413Schema, chatsGetMessageStatus422Schema, chatsGetMessageStatus429Schema, chatsGetMessageStatus500Schema, chatsGetVersionPathChatIdSchema, chatsGetVersionPathVersionIdSchema, chatsGetVersionQueryIncludeDefaultFilesSchema, chatsGetVersionResponseSchema, chatsGetVersionStatus200Schema, chatsGetVersionStatus401Schema, chatsGetVersionStatus403Schema, chatsGetVersionStatus404Schema, chatsGetVersionStatus409Schema, chatsGetVersionStatus413Schema, chatsGetVersionStatus422Schema, chatsGetVersionStatus429Schema, chatsGetVersionStatus500Schema, chatsInitResponseSchema, chatsInitStatus200Schema, chatsInitStatus401Schema, chatsInitStatus403Schema, chatsInitStatus404Schema, chatsInitStatus409Schema, chatsInitStatus413Schema, chatsInitStatus422Schema, chatsInitStatus429Schema, chatsInitStatus500Schema, chatsResolveTaskPathChatIdSchema, chatsResolveTaskResponseSchema, chatsResolveTaskStatus200Schema, chatsResolveTaskStatus401Schema, chatsResolveTaskStatus403Schema, chatsResolveTaskStatus404Schema, chatsResolveTaskStatus409Schema, chatsResolveTaskStatus413Schema, chatsResolveTaskStatus422Schema, chatsResolveTaskStatus429Schema, chatsResolveTaskStatus500Schema, chatsRestorePathChatIdSchema, chatsRestorePathVersionIdSchema, chatsRestoreResponseSchema, chatsRestoreStatus200Schema, chatsRestoreStatus401Schema, chatsRestoreStatus403Schema, chatsRestoreStatus404Schema, chatsRestoreStatus409Schema, chatsRestoreStatus413Schema, chatsRestoreStatus422Schema, chatsRestoreStatus429Schema, chatsRestoreStatus500Schema, chatsResumePathChatIdSchema, chatsResumePathMessageIdSchema, chatsResumeResponseSchema, chatsResumeStatus200Schema, chatsResumeStatus401Schema, chatsResumeStatus403Schema, chatsResumeStatus404Schema, chatsResumeStatus409Schema, chatsResumeStatus413Schema, chatsResumeStatus422Schema, chatsResumeStatus429Schema, chatsResumeStatus500Schema, chatsSendMessagePathChatIdSchema, chatsSendMessageResponseSchema, chatsSendMessageStatus200Schema, chatsSendMessageStatus401Schema, chatsSendMessageStatus403Schema, chatsSendMessageStatus404Schema, chatsSendMessageStatus409Schema, chatsSendMessageStatus413Schema, chatsSendMessageStatus422Schema, chatsSendMessageStatus429Schema, chatsSendMessageStatus500Schema, chatsStopPathChatIdSchema, chatsStopPathMessageIdSchema, chatsStopResponseSchema, chatsStopStatus200Schema, chatsStopStatus401Schema, chatsStopStatus403Schema, chatsStopStatus404Schema, chatsStopStatus409Schema, chatsStopStatus413Schema, chatsStopStatus422Schema, chatsStopStatus429Schema, chatsStopStatus500Schema, chatsUpdatePathChatIdSchema, chatsUpdateResponseSchema, chatsUpdateStatus200Schema, chatsUpdateStatus401Schema, chatsUpdateStatus403Schema, chatsUpdateStatus404Schema, chatsUpdateStatus409Schema, chatsUpdateStatus413Schema, chatsUpdateStatus422Schema, chatsUpdateStatus429Schema, chatsUpdateStatus500Schema, chatsUpdateVersionPathChatIdSchema, chatsUpdateVersionPathVersionIdSchema, chatsUpdateVersionResponseSchema, chatsUpdateVersionStatus200Schema, chatsUpdateVersionStatus401Schema, chatsUpdateVersionStatus403Schema, chatsUpdateVersionStatus404Schema, chatsUpdateVersionStatus409Schema, chatsUpdateVersionStatus413Schema, chatsUpdateVersionStatus422Schema, chatsUpdateVersionStatus429Schema, chatsUpdateVersionStatus500Schema, conflictErrorErrorTypeEnum, conflictErrorSchema, deploymentDetailObjectEnum, deploymentDetailSchema, deploymentSummaryObjectEnum, deploymentSummarySchema, deploymentsCreateResponseSchema, deploymentsCreateStatus200Schema, deploymentsCreateStatus401Schema, deploymentsCreateStatus403Schema, deploymentsCreateStatus404Schema, deploymentsCreateStatus409Schema, deploymentsCreateStatus413Schema, deploymentsCreateStatus422Schema, deploymentsCreateStatus429Schema, deploymentsCreateStatus500Schema, deploymentsDeletePathDeploymentIdSchema, deploymentsDeleteResponseSchema, deploymentsDeleteStatus200Schema, deploymentsDeleteStatus401Schema, deploymentsDeleteStatus403Schema, deploymentsDeleteStatus404Schema, deploymentsDeleteStatus409Schema, deploymentsDeleteStatus413Schema, deploymentsDeleteStatus422Schema, deploymentsDeleteStatus429Schema, deploymentsDeleteStatus500Schema, deploymentsFindErrorsPathDeploymentIdSchema, deploymentsFindErrorsResponseSchema, deploymentsFindErrorsStatus200Schema, deploymentsFindErrorsStatus401Schema, deploymentsFindErrorsStatus403Schema, deploymentsFindErrorsStatus404Schema, deploymentsFindErrorsStatus409Schema, deploymentsFindErrorsStatus413Schema, deploymentsFindErrorsStatus422Schema, deploymentsFindErrorsStatus429Schema, deploymentsFindErrorsStatus500Schema, deploymentsFindLogsPathDeploymentIdSchema, deploymentsFindLogsQuerySinceSchema, deploymentsFindLogsResponseSchema, deploymentsFindLogsStatus200Schema, deploymentsFindLogsStatus401Schema, deploymentsFindLogsStatus403Schema, deploymentsFindLogsStatus404Schema, deploymentsFindLogsStatus409Schema, deploymentsFindLogsStatus413Schema, deploymentsFindLogsStatus422Schema, deploymentsFindLogsStatus429Schema, deploymentsFindLogsStatus500Schema, deploymentsFindQueryChatIdSchema, deploymentsFindQueryProjectIdSchema, deploymentsFindQueryVersionIdSchema, deploymentsFindResponseSchema, deploymentsFindStatus200Schema, deploymentsFindStatus401Schema, deploymentsFindStatus403Schema, deploymentsFindStatus404Schema, deploymentsFindStatus409Schema, deploymentsFindStatus413Schema, deploymentsFindStatus422Schema, deploymentsFindStatus429Schema, deploymentsFindStatus500Schema, deploymentsGetByIdPathDeploymentIdSchema, deploymentsGetByIdResponseSchema, deploymentsGetByIdStatus200Schema, deploymentsGetByIdStatus401Schema, deploymentsGetByIdStatus403Schema, deploymentsGetByIdStatus404Schema, deploymentsGetByIdStatus409Schema, deploymentsGetByIdStatus413Schema, deploymentsGetByIdStatus422Schema, deploymentsGetByIdStatus429Schema, deploymentsGetByIdStatus500Schema, environmentVariableDetailSchemaObjectEnum, environmentVariableDetailSchemaSchema, environmentVariableSummarySchemaObjectEnum, environmentVariableSummarySchemaSchema, environmentVariablesListSchemaObjectEnum, environmentVariablesListSchemaSchema, fileDetailObjectEnum, fileDetailSchema, fileSummaryObjectEnum, fileSummarySchema, finishReasonEnum, forbiddenErrorErrorTypeEnum, forbiddenErrorSchema, hookDetailEventsEnum, hookDetailObjectEnum, hookDetailSchema, hookEventDetailEventEnum, hookEventDetailObjectEnum, hookEventDetailSchema, hookEventDetailStatusEnum, hookSummaryObjectEnum, hookSummarySchema, hooksCreateResponseSchema, hooksCreateStatus200Schema, hooksCreateStatus401Schema, hooksCreateStatus403Schema, hooksCreateStatus404Schema, hooksCreateStatus409Schema, hooksCreateStatus413Schema, hooksCreateStatus422Schema, hooksCreateStatus429Schema, hooksCreateStatus500Schema, hooksDeletePathHookIdSchema, hooksDeleteResponseSchema, hooksDeleteStatus200Schema, hooksDeleteStatus401Schema, hooksDeleteStatus403Schema, hooksDeleteStatus404Schema, hooksDeleteStatus409Schema, hooksDeleteStatus413Schema, hooksDeleteStatus422Schema, hooksDeleteStatus429Schema, hooksDeleteStatus500Schema, hooksFindResponseSchema, hooksFindStatus200Schema, hooksFindStatus401Schema, hooksFindStatus403Schema, hooksFindStatus404Schema, hooksFindStatus409Schema, hooksFindStatus413Schema, hooksFindStatus422Schema, hooksFindStatus429Schema, hooksFindStatus500Schema, hooksGetByIdPathHookIdSchema, hooksGetByIdResponseSchema, hooksGetByIdStatus200Schema, hooksGetByIdStatus401Schema, hooksGetByIdStatus403Schema, hooksGetByIdStatus404Schema, hooksGetByIdStatus409Schema, hooksGetByIdStatus413Schema, hooksGetByIdStatus422Schema, hooksGetByIdStatus429Schema, hooksGetByIdStatus500Schema, hooksUpdatePathHookIdSchema, hooksUpdateResponseSchema, hooksUpdateStatus200Schema, hooksUpdateStatus401Schema, hooksUpdateStatus403Schema, hooksUpdateStatus404Schema, hooksUpdateStatus409Schema, hooksUpdateStatus413Schema, hooksUpdateStatus422Schema, hooksUpdateStatus429Schema, hooksUpdateStatus500Schema, integrationConnectionDetailSchemaIntegrationObjectEnum, integrationConnectionDetailSchemaObjectEnum, integrationConnectionDetailSchemaSchema, integrationConnectionListSchemaObjectEnum, integrationConnectionListSchemaSchema, integrationConnectionSummarySchemaIntegrationObjectEnum, integrationConnectionSummarySchemaObjectEnum, integrationConnectionSummarySchemaSchema, integrationDetailSchemaObjectEnum, integrationDetailSchemaSchema, integrationListSchemaObjectEnum, integrationListSchemaSchema, integrationSummarySchemaObjectEnum, integrationSummarySchemaSchema, integrationsVercelProjectsCreateResponseSchema, integrationsVercelProjectsCreateStatus200Schema, integrationsVercelProjectsCreateStatus401Schema, integrationsVercelProjectsCreateStatus403Schema, integrationsVercelProjectsCreateStatus404Schema, integrationsVercelProjectsCreateStatus409Schema, integrationsVercelProjectsCreateStatus413Schema, integrationsVercelProjectsCreateStatus422Schema, integrationsVercelProjectsCreateStatus429Schema, integrationsVercelProjectsCreateStatus500Schema, integrationsVercelProjectsFindResponseSchema, integrationsVercelProjectsFindStatus200Schema, integrationsVercelProjectsFindStatus401Schema, integrationsVercelProjectsFindStatus403Schema, integrationsVercelProjectsFindStatus404Schema, integrationsVercelProjectsFindStatus409Schema, integrationsVercelProjectsFindStatus413Schema, integrationsVercelProjectsFindStatus422Schema, integrationsVercelProjectsFindStatus429Schema, integrationsVercelProjectsFindStatus500Schema, internalServerErrorErrorTypeEnum, internalServerErrorSchema, mcpServersCreateOAuthAuthorizationUrlPathMcpServerIdSchema, mcpServersCreateOAuthAuthorizationUrlResponseSchema, mcpServersCreateOAuthAuthorizationUrlStatus200Schema, mcpServersCreateOAuthAuthorizationUrlStatus401Schema, mcpServersCreateOAuthAuthorizationUrlStatus403Schema, mcpServersCreateOAuthAuthorizationUrlStatus404Schema, mcpServersCreateOAuthAuthorizationUrlStatus409Schema, mcpServersCreateOAuthAuthorizationUrlStatus413Schema, mcpServersCreateOAuthAuthorizationUrlStatus422Schema, mcpServersCreateOAuthAuthorizationUrlStatus429Schema, mcpServersCreateOAuthAuthorizationUrlStatus500Schema, mcpServersCreateResponseSchema, mcpServersCreateStatus200Schema, mcpServersCreateStatus401Schema, mcpServersCreateStatus403Schema, mcpServersCreateStatus404Schema, mcpServersCreateStatus409Schema, mcpServersCreateStatus413Schema, mcpServersCreateStatus422Schema, mcpServersCreateStatus429Schema, mcpServersCreateStatus500Schema, mcpServersDeletePathMcpServerIdSchema, mcpServersDeleteResponseSchema, mcpServersDeleteStatus200Schema, mcpServersDeleteStatus401Schema, mcpServersDeleteStatus403Schema, mcpServersDeleteStatus404Schema, mcpServersDeleteStatus409Schema, mcpServersDeleteStatus413Schema, mcpServersDeleteStatus422Schema, mcpServersDeleteStatus429Schema, mcpServersDeleteStatus500Schema, mcpServersFindResponseSchema, mcpServersFindStatus200Schema, mcpServersFindStatus401Schema, mcpServersFindStatus403Schema, mcpServersFindStatus404Schema, mcpServersFindStatus409Schema, mcpServersFindStatus413Schema, mcpServersFindStatus422Schema, mcpServersFindStatus429Schema, mcpServersFindStatus500Schema, mcpServersGetByIdPathMcpServerIdSchema, mcpServersGetByIdResponseSchema, mcpServersGetByIdStatus200Schema, mcpServersGetByIdStatus401Schema, mcpServersGetByIdStatus403Schema, mcpServersGetByIdStatus404Schema, mcpServersGetByIdStatus409Schema, mcpServersGetByIdStatus413Schema, mcpServersGetByIdStatus422Schema, mcpServersGetByIdStatus429Schema, mcpServersGetByIdStatus500Schema, mcpServersUpdatePathMcpServerIdSchema, mcpServersUpdateResponseSchema, mcpServersUpdateStatus200Schema, mcpServersUpdateStatus401Schema, mcpServersUpdateStatus403Schema, mcpServersUpdateStatus404Schema, mcpServersUpdateStatus409Schema, mcpServersUpdateStatus413Schema, mcpServersUpdateStatus422Schema, mcpServersUpdateStatus429Schema, mcpServersUpdateStatus500Schema, messageDetailFinishReasonEnum, messageDetailObjectEnum, messageDetailRoleEnum, messageDetailSchema, messageDetailTypeEnum, messageSummaryFinishReasonEnum, messageSummaryListObjectEnum, messageSummaryListSchema, messageSummaryObjectEnum, messageSummaryRoleEnum, messageSummarySchema, messageSummaryTypeEnum, notFoundErrorErrorTypeEnum, notFoundErrorSchema, notificationPreferenceSchemaSchema, objectEnum, operationsByPath, operationsByTag, payloadTooLargeErrorErrorTypeEnum, payloadTooLargeErrorSchema, privacyEnum, productDetailSchemaObjectEnum, productDetailSchemaSchema, productDetailSchemaV0AvailabilityEnum, productListSchemaObjectEnum, productListSchemaSchema, productSummarySchemaObjectEnum, productSummarySchemaSchema, productSummarySchemaV0AvailabilityEnum, projectDetailObjectEnum, projectDetailPrivacyEnum, projectDetailSchema, projectSummaryObjectEnum, projectSummaryPrivacyEnum, projectSummarySchema, projectsAssignPathProjectIdSchema, projectsAssignResponseSchema, projectsAssignStatus200Schema, projectsAssignStatus401Schema, projectsAssignStatus403Schema, projectsAssignStatus404Schema, projectsAssignStatus409Schema, projectsAssignStatus413Schema, projectsAssignStatus422Schema, projectsAssignStatus429Schema, projectsAssignStatus500Schema, projectsCreateEnvVarsPathProjectIdSchema, projectsCreateEnvVarsQueryDecryptedSchema, projectsCreateEnvVarsResponseSchema, projectsCreateEnvVarsStatus200Schema, projectsCreateEnvVarsStatus401Schema, projectsCreateEnvVarsStatus403Schema, projectsCreateEnvVarsStatus404Schema, projectsCreateEnvVarsStatus409Schema, projectsCreateEnvVarsStatus413Schema, projectsCreateEnvVarsStatus422Schema, projectsCreateEnvVarsStatus429Schema, projectsCreateEnvVarsStatus500Schema, projectsCreateResponseSchema, projectsCreateStatus200Schema, projectsCreateStatus401Schema, projectsCreateStatus403Schema, projectsCreateStatus404Schema, projectsCreateStatus409Schema, projectsCreateStatus413Schema, projectsCreateStatus422Schema, projectsCreateStatus429Schema, projectsCreateStatus500Schema, projectsDeleteEnvVarsPathProjectIdSchema, projectsDeleteEnvVarsResponseSchema, projectsDeleteEnvVarsStatus200Schema, projectsDeleteEnvVarsStatus401Schema, projectsDeleteEnvVarsStatus403Schema, projectsDeleteEnvVarsStatus404Schema, projectsDeleteEnvVarsStatus409Schema, projectsDeleteEnvVarsStatus413Schema, projectsDeleteEnvVarsStatus422Schema, projectsDeleteEnvVarsStatus429Schema, projectsDeleteEnvVarsStatus500Schema, projectsDeletePathProjectIdSchema, projectsDeleteQueryDeleteAllChatsSchema, projectsDeleteResponseSchema, projectsDeleteStatus200Schema, projectsDeleteStatus401Schema, projectsDeleteStatus403Schema, projectsDeleteStatus404Schema, projectsDeleteStatus409Schema, projectsDeleteStatus413Schema, projectsDeleteStatus422Schema, projectsDeleteStatus429Schema, projectsDeleteStatus500Schema, projectsFindEnvVarsPathProjectIdSchema, projectsFindEnvVarsQueryDecryptedSchema, projectsFindEnvVarsResponseSchema, projectsFindEnvVarsStatus200Schema, projectsFindEnvVarsStatus401Schema, projectsFindEnvVarsStatus403Schema, projectsFindEnvVarsStatus404Schema, projectsFindEnvVarsStatus409Schema, projectsFindEnvVarsStatus413Schema, projectsFindEnvVarsStatus422Schema, projectsFindEnvVarsStatus429Schema, projectsFindEnvVarsStatus500Schema, projectsFindResponseSchema, projectsFindStatus200Schema, projectsFindStatus401Schema, projectsFindStatus403Schema, projectsFindStatus404Schema, projectsFindStatus409Schema, projectsFindStatus413Schema, projectsFindStatus422Schema, projectsFindStatus429Schema, projectsFindStatus500Schema, projectsGetByChatIdPathChatIdSchema, projectsGetByChatIdResponseSchema, projectsGetByChatIdStatus200Schema, projectsGetByChatIdStatus401Schema, projectsGetByChatIdStatus403Schema, projectsGetByChatIdStatus404Schema, projectsGetByChatIdStatus409Schema, projectsGetByChatIdStatus413Schema, projectsGetByChatIdStatus422Schema, projectsGetByChatIdStatus429Schema, projectsGetByChatIdStatus500Schema, projectsGetByIdPathProjectIdSchema, projectsGetByIdResponseSchema, projectsGetByIdStatus200Schema, projectsGetByIdStatus401Schema, projectsGetByIdStatus403Schema, projectsGetByIdStatus404Schema, projectsGetByIdStatus409Schema, projectsGetByIdStatus413Schema, projectsGetByIdStatus422Schema, projectsGetByIdStatus429Schema, projectsGetByIdStatus500Schema, projectsGetEnvVarPathEnvironmentVariableIdSchema, projectsGetEnvVarPathProjectIdSchema, projectsGetEnvVarQueryDecryptedSchema, projectsGetEnvVarResponseSchema, projectsGetEnvVarStatus200Schema, projectsGetEnvVarStatus401Schema, projectsGetEnvVarStatus403Schema, projectsGetEnvVarStatus404Schema, projectsGetEnvVarStatus409Schema, projectsGetEnvVarStatus413Schema, projectsGetEnvVarStatus422Schema, projectsGetEnvVarStatus429Schema, projectsGetEnvVarStatus500Schema, projectsUpdateEnvVarsPathProjectIdSchema, projectsUpdateEnvVarsQueryDecryptedSchema, projectsUpdateEnvVarsResponseSchema, projectsUpdateEnvVarsStatus200Schema, projectsUpdateEnvVarsStatus401Schema, projectsUpdateEnvVarsStatus403Schema, projectsUpdateEnvVarsStatus404Schema, projectsUpdateEnvVarsStatus409Schema, projectsUpdateEnvVarsStatus413Schema, projectsUpdateEnvVarsStatus422Schema, projectsUpdateEnvVarsStatus429Schema, projectsUpdateEnvVarsStatus500Schema, projectsUpdatePathProjectIdSchema, projectsUpdateResponseSchema, projectsUpdateStatus200Schema, projectsUpdateStatus401Schema, projectsUpdateStatus403Schema, projectsUpdateStatus404Schema, projectsUpdateStatus409Schema, projectsUpdateStatus413Schema, projectsUpdateStatus422Schema, projectsUpdateStatus429Schema, projectsUpdateStatus500Schema, rateLimitsFindQueryScopeSchema, rateLimitsFindResponseSchema, rateLimitsFindStatus200Schema, rateLimitsFindStatus401Schema, rateLimitsFindStatus403Schema, rateLimitsFindStatus404Schema, rateLimitsFindStatus409Schema, rateLimitsFindStatus413Schema, rateLimitsFindStatus422Schema, rateLimitsFindStatus429Schema, rateLimitsFindStatus500Schema, reportsGetAIUsageQueryCursorSchema, reportsGetAIUsageQueryEndSchema, reportsGetAIUsageQueryLimitSchema, reportsGetAIUsageQueryStartSchema, reportsGetAIUsageResponseSchema, reportsGetAIUsageStatus200Schema, reportsGetAIUsageStatus401Schema, reportsGetAIUsageStatus403Schema, reportsGetAIUsageStatus404Schema, reportsGetAIUsageStatus409Schema, reportsGetAIUsageStatus413Schema, reportsGetAIUsageStatus422Schema, reportsGetAIUsageStatus429Schema, reportsGetAIUsageStatus500Schema, reportsGetUsageQueryChatIdSchema, reportsGetUsageQueryCursorSchema, reportsGetUsageQueryEndDateSchema, reportsGetUsageQueryLimitSchema, reportsGetUsageQueryMessageIdSchema, reportsGetUsageQueryStartDateSchema, reportsGetUsageQueryUserIdSchema, reportsGetUsageResponseSchema, reportsGetUsageStatus200Schema, reportsGetUsageStatus401Schema, reportsGetUsageStatus403Schema, reportsGetUsageStatus404Schema, reportsGetUsageStatus409Schema, reportsGetUsageStatus413Schema, reportsGetUsageStatus422Schema, reportsGetUsageStatus429Schema, reportsGetUsageStatus500Schema, reportsGetUserActivityQueryEndDateSchema, reportsGetUserActivityQueryStartDateSchema, reportsGetUserActivityResponseSchema, reportsGetUserActivityStatus200Schema, reportsGetUserActivityStatus401Schema, reportsGetUserActivityStatus403Schema, reportsGetUserActivityStatus404Schema, reportsGetUserActivityStatus409Schema, reportsGetUserActivityStatus413Schema, reportsGetUserActivityStatus422Schema, reportsGetUserActivityStatus429Schema, reportsGetUserActivityStatus500Schema, roleEnum, scopeSummaryObjectEnum, scopeSummarySchema, searchResultItemObjectEnum, searchResultItemSchema, statusEnum, tagDictionary, tooManyRequestsErrorErrorTypeEnum, tooManyRequestsErrorSchema, typeEnum, unauthorizedErrorErrorTypeEnum, unauthorizedErrorSchema, unprocessableEntityErrorErrorTypeEnum, unprocessableEntityErrorSchema, userDetailSchemaObjectEnum, userDetailSchemaSchema, userGetBillingQueryScopeSchema, userGetBillingResponseSchema, userGetBillingStatus200Schema, userGetBillingStatus401Schema, userGetBillingStatus403Schema, userGetBillingStatus404Schema, userGetBillingStatus409Schema, userGetBillingStatus413Schema, userGetBillingStatus422Schema, userGetBillingStatus429Schema, userGetBillingStatus500Schema, userGetPlanResponseSchema, userGetPlanStatus200Schema, userGetPlanStatus401Schema, userGetPlanStatus403Schema, userGetPlanStatus404Schema, userGetPlanStatus409Schema, userGetPlanStatus413Schema, userGetPlanStatus422Schema, userGetPlanStatus429Schema, userGetPlanStatus500Schema, userGetResponseSchema, userGetScopesResponseSchema, userGetScopesStatus200Schema, userGetScopesStatus401Schema, userGetScopesStatus403Schema, userGetScopesStatus404Schema, userGetScopesStatus409Schema, userGetScopesStatus413Schema, userGetScopesStatus422Schema, userGetScopesStatus429Schema, userGetScopesStatus500Schema, userGetStatus200Schema, userGetStatus401Schema, userGetStatus403Schema, userGetStatus404Schema, userGetStatus409Schema, userGetStatus413Schema, userGetStatus422Schema, userGetStatus429Schema, userGetStatus500Schema, userPreferencesPostResponseSchemaObjectEnum, userPreferencesPostResponseSchemaSchema, userPreferencesResponseSchemaObjectEnum, userPreferencesResponseSchemaSchema, userPreferencesSchemaSchema, userSummarySchemaObjectEnum, userSummarySchemaSchema, vercelProjectDetailObjectEnum, vercelProjectDetailSchema, vercelProjectSummaryObjectEnum, vercelProjectSummarySchema, versionDetailObjectEnum, versionDetailSchema, versionDetailStatusEnum, versionSummaryListObjectEnum, versionSummaryListSchema, versionSummaryObjectEnum, versionSummarySchema, versionSummaryStatusEnum };