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.cjs CHANGED
@@ -211,7 +211,7 @@ const resolveUrl = (url, queryParams = {})=>{
211
211
  }
212
212
  /**
213
213
  * @summary Fork Chat
214
- * @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.
214
+ * @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.
215
215
  * @link /chats/{chatId}/fork
216
216
  */ async function chatsFork({ pathParams, config } = {}) {
217
217
  const { client: request = client, ...requestConfig } = config ?? {};
@@ -1248,7 +1248,7 @@ const operationsByPath = {
1248
1248
  "POST /mcp-servers/{mcpServerId}/oauth/authorize": mcpServersCreateOAuthAuthorizationUrl
1249
1249
  };
1250
1250
  const operationsByTag = {
1251
- "chats": {
1251
+ chats: {
1252
1252
  chatsCreate,
1253
1253
  chatsFind,
1254
1254
  chatsInit,
@@ -1270,7 +1270,7 @@ const operationsByTag = {
1270
1270
  chatsResolveTask,
1271
1271
  chatsRestore
1272
1272
  },
1273
- "projects": {
1273
+ projects: {
1274
1274
  projectsGetByChatId,
1275
1275
  projectsFind,
1276
1276
  projectsCreate,
@@ -1284,7 +1284,7 @@ const operationsByTag = {
1284
1284
  projectsDeleteEnvVars,
1285
1285
  projectsGetEnvVar
1286
1286
  },
1287
- "deployments": {
1287
+ deployments: {
1288
1288
  deploymentsFind,
1289
1289
  deploymentsCreate,
1290
1290
  deploymentsGetById,
@@ -1292,32 +1292,32 @@ const operationsByTag = {
1292
1292
  deploymentsFindLogs,
1293
1293
  deploymentsFindErrors
1294
1294
  },
1295
- "hooks": {
1295
+ hooks: {
1296
1296
  hooksFind,
1297
1297
  hooksCreate,
1298
1298
  hooksGetById,
1299
1299
  hooksUpdate,
1300
1300
  hooksDelete
1301
1301
  },
1302
- "integrations": {
1302
+ integrations: {
1303
1303
  integrationsVercelProjectsFind,
1304
1304
  integrationsVercelProjectsCreate
1305
1305
  },
1306
- "ratelimits": {
1306
+ ratelimits: {
1307
1307
  rateLimitsFind
1308
1308
  },
1309
- "user": {
1309
+ user: {
1310
1310
  userGet,
1311
1311
  userGetBilling,
1312
1312
  userGetPlan,
1313
1313
  userGetScopes
1314
1314
  },
1315
- "reports": {
1315
+ reports: {
1316
1316
  reportsGetUsage,
1317
1317
  reportsGetAIUsage,
1318
1318
  reportsGetUserActivity
1319
1319
  },
1320
- "mcpservers": {
1320
+ mcpservers: {
1321
1321
  mcpServersFind,
1322
1322
  mcpServersCreate,
1323
1323
  mcpServersGetById,
@@ -1327,8 +1327,8 @@ const operationsByTag = {
1327
1327
  }
1328
1328
  };
1329
1329
  const tagDictionary = {
1330
- "chats": {
1331
- "POST": [
1330
+ chats: {
1331
+ POST: [
1332
1332
  "chatsCreate",
1333
1333
  "chatsInit",
1334
1334
  "chatsFork",
@@ -1339,7 +1339,7 @@ const tagDictionary = {
1339
1339
  "chatsResolveTask",
1340
1340
  "chatsRestore"
1341
1341
  ],
1342
- "GET": [
1342
+ GET: [
1343
1343
  "chatsFind",
1344
1344
  "chatsGetById",
1345
1345
  "chatsFindMessages",
@@ -1348,109 +1348,109 @@ const tagDictionary = {
1348
1348
  "chatsGetVersion",
1349
1349
  "chatsDownloadVersion"
1350
1350
  ],
1351
- "DELETE": [
1351
+ DELETE: [
1352
1352
  "chatsDelete"
1353
1353
  ],
1354
- "PATCH": [
1354
+ PATCH: [
1355
1355
  "chatsUpdate",
1356
1356
  "chatsUpdateVersion"
1357
1357
  ],
1358
- "PUT": [
1358
+ PUT: [
1359
1359
  "chatsFavorite"
1360
1360
  ]
1361
1361
  },
1362
- "projects": {
1363
- "GET": [
1362
+ projects: {
1363
+ GET: [
1364
1364
  "projectsGetByChatId",
1365
1365
  "projectsFind",
1366
1366
  "projectsGetById",
1367
1367
  "projectsFindEnvVars",
1368
1368
  "projectsGetEnvVar"
1369
1369
  ],
1370
- "POST": [
1370
+ POST: [
1371
1371
  "projectsCreate",
1372
1372
  "projectsAssign",
1373
1373
  "projectsCreateEnvVars",
1374
1374
  "projectsDeleteEnvVars"
1375
1375
  ],
1376
- "PATCH": [
1376
+ PATCH: [
1377
1377
  "projectsUpdate",
1378
1378
  "projectsUpdateEnvVars"
1379
1379
  ],
1380
- "DELETE": [
1380
+ DELETE: [
1381
1381
  "projectsDelete"
1382
1382
  ]
1383
1383
  },
1384
- "deployments": {
1385
- "GET": [
1384
+ deployments: {
1385
+ GET: [
1386
1386
  "deploymentsFind",
1387
1387
  "deploymentsGetById",
1388
1388
  "deploymentsFindLogs",
1389
1389
  "deploymentsFindErrors"
1390
1390
  ],
1391
- "POST": [
1391
+ POST: [
1392
1392
  "deploymentsCreate"
1393
1393
  ],
1394
- "DELETE": [
1394
+ DELETE: [
1395
1395
  "deploymentsDelete"
1396
1396
  ]
1397
1397
  },
1398
- "hooks": {
1399
- "GET": [
1398
+ hooks: {
1399
+ GET: [
1400
1400
  "hooksFind",
1401
1401
  "hooksGetById"
1402
1402
  ],
1403
- "POST": [
1403
+ POST: [
1404
1404
  "hooksCreate"
1405
1405
  ],
1406
- "PATCH": [
1406
+ PATCH: [
1407
1407
  "hooksUpdate"
1408
1408
  ],
1409
- "DELETE": [
1409
+ DELETE: [
1410
1410
  "hooksDelete"
1411
1411
  ]
1412
1412
  },
1413
- "integrations": {
1414
- "GET": [
1413
+ integrations: {
1414
+ GET: [
1415
1415
  "integrationsVercelProjectsFind"
1416
1416
  ],
1417
- "POST": [
1417
+ POST: [
1418
1418
  "integrationsVercelProjectsCreate"
1419
1419
  ]
1420
1420
  },
1421
- "ratelimits": {
1422
- "GET": [
1421
+ ratelimits: {
1422
+ GET: [
1423
1423
  "rateLimitsFind"
1424
1424
  ]
1425
1425
  },
1426
- "user": {
1427
- "GET": [
1426
+ user: {
1427
+ GET: [
1428
1428
  "userGet",
1429
1429
  "userGetBilling",
1430
1430
  "userGetPlan",
1431
1431
  "userGetScopes"
1432
1432
  ]
1433
1433
  },
1434
- "reports": {
1435
- "GET": [
1434
+ reports: {
1435
+ GET: [
1436
1436
  "reportsGetUsage",
1437
1437
  "reportsGetAIUsage",
1438
1438
  "reportsGetUserActivity"
1439
1439
  ]
1440
1440
  },
1441
- "mcpservers": {
1442
- "GET": [
1441
+ mcpservers: {
1442
+ GET: [
1443
1443
  "mcpServersFind",
1444
1444
  "mcpServersGetById"
1445
1445
  ],
1446
- "POST": [
1446
+ POST: [
1447
1447
  "mcpServersCreate",
1448
1448
  "mcpServersCreateOAuthAuthorizationUrl"
1449
1449
  ],
1450
- "PATCH": [
1450
+ PATCH: [
1451
1451
  "mcpServersUpdate"
1452
1452
  ],
1453
- "DELETE": [
1453
+ DELETE: [
1454
1454
  "mcpServersDelete"
1455
1455
  ]
1456
1456
  }
@@ -1505,59 +1505,60 @@ class V0Api {
1505
1505
 
1506
1506
  // @ts-nocheck
1507
1507
  const chatDetailSchema = z__namespace.object({
1508
- "id": z__namespace.string().describe("A unique identifier for the chat."),
1509
- "object": z__namespace.enum([
1508
+ id: z__namespace.string().describe("A unique identifier for the chat."),
1509
+ object: z__namespace.enum([
1510
1510
  "chat"
1511
1511
  ]).describe("Fixed value identifying this object as a chat."),
1512
- "shareable": z__namespace.boolean().describe("Indicates whether the chat can be shared via public link."),
1513
- "privacy": z__namespace.enum([
1512
+ shareable: z__namespace.boolean().describe("Indicates whether the chat can be shared via public link."),
1513
+ privacy: z__namespace.enum([
1514
1514
  "private",
1515
1515
  "public",
1516
1516
  "team",
1517
1517
  "team-edit",
1518
1518
  "unlisted"
1519
1519
  ]).describe("Defines the visibility of the chat—private, team-only, or public."),
1520
- "name": z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
1521
- "title": z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1522
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1523
- "updatedAt": z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
1524
- "favorite": z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
1525
- "authorId": z__namespace.string().describe("The ID of the user who created the chat."),
1526
- "projectId": z__namespace.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1527
- "vercelProjectId": z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1528
- "webUrl": z__namespace.string().describe("Web URL to view this chat in the browser."),
1529
- "apiUrl": z__namespace.string().describe("API URL to access this chat via the API."),
1530
- "latestVersion": z__namespace.object({
1531
- "id": z__namespace.string().describe("A unique identifier for the version."),
1532
- "object": z__namespace.enum([
1520
+ name: z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
1521
+ title: z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1522
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1523
+ updatedAt: z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
1524
+ favorite: z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
1525
+ authorId: z__namespace.string().describe("The ID of the user who created the chat."),
1526
+ projectId: z__namespace.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1527
+ vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1528
+ webUrl: z__namespace.string().describe("Web URL to view this chat in the browser."),
1529
+ apiUrl: z__namespace.string().describe("API URL to access this chat via the API."),
1530
+ latestVersion: z__namespace.object({
1531
+ id: z__namespace.string().describe("A unique identifier for the version."),
1532
+ object: z__namespace.enum([
1533
1533
  "version"
1534
1534
  ]).describe("Fixed value identifying this object as a version."),
1535
- "status": z__namespace.enum([
1535
+ status: z__namespace.enum([
1536
1536
  "completed",
1537
1537
  "failed",
1538
1538
  "pending"
1539
1539
  ]).describe("The current status of the version generation process."),
1540
- "demoUrl": z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
1541
- "screenshotUrl": z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
1542
- "createdAt": z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1543
- "updatedAt": z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
1544
- "files": z__namespace.array(z__namespace.object({
1545
- "object": z__namespace.enum([
1540
+ demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
1541
+ screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
1542
+ createdAt: z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1543
+ updatedAt: z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
1544
+ files: z__namespace.array(z__namespace.object({
1545
+ object: z__namespace.enum([
1546
1546
  "file"
1547
1547
  ]).describe("Fixed value identifying this object as a file."),
1548
- "name": z__namespace.string().describe("The name of the file, including its extension."),
1549
- "content": z__namespace.string().describe("The full contents of the file as a raw string."),
1550
- "locked": z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1548
+ name: z__namespace.string().describe("The name of the file, including its extension."),
1549
+ content: z__namespace.string().describe("The full contents of the file as a raw string."),
1550
+ locked: z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1551
1551
  }).strict()).describe("A list of files that were generated or included in this version.")
1552
1552
  }).strict().optional().describe("Full details of the most recent generated version, if available."),
1553
- "url": z__namespace.string().describe("The canonical URL to access this chat."),
1554
- "messages": z__namespace.array(z__namespace.object({
1555
- "id": z__namespace.string().describe("A unique identifier for the message."),
1556
- "object": z__namespace.enum([
1553
+ metadata: z__namespace.object({}).catchall(z__namespace.string()).describe("Arbitrary key-value data associated with this chat."),
1554
+ url: z__namespace.string().describe("The canonical URL to access this chat."),
1555
+ messages: z__namespace.array(z__namespace.object({
1556
+ id: z__namespace.string().describe("A unique identifier for the message."),
1557
+ object: z__namespace.enum([
1557
1558
  "message"
1558
1559
  ]).describe("Fixed value identifying this object as a message."),
1559
- "content": z__namespace.string().describe("The main text content of the message."),
1560
- "experimentalContent": z__namespace.array(z__namespace.union([
1560
+ content: z__namespace.string().describe("The main text content of the message."),
1561
+ experimentalContent: z__namespace.array(z__namespace.union([
1561
1562
  z__namespace.tuple([
1562
1563
  z__namespace.enum([
1563
1564
  0
@@ -1569,68 +1570,68 @@ const chatDetailSchema = z__namespace.object({
1569
1570
  1
1570
1571
  ]),
1571
1572
  z__namespace.object({
1572
- "toJSONSchema": z__namespace.string(),
1573
- "def": z__namespace.string(),
1574
- "type": z__namespace.string(),
1575
- "check": z__namespace.string(),
1576
- "with": z__namespace.string(),
1577
- "clone": z__namespace.string(),
1578
- "brand": z__namespace.string(),
1579
- "register": z__namespace.string(),
1580
- "parse": z__namespace.string(),
1581
- "safeParse": z__namespace.string(),
1582
- "parseAsync": z__namespace.string(),
1583
- "safeParseAsync": z__namespace.string(),
1584
- "spa": z__namespace.string(),
1585
- "encode": z__namespace.string(),
1586
- "decode": z__namespace.string(),
1587
- "encodeAsync": z__namespace.string(),
1588
- "decodeAsync": z__namespace.string(),
1589
- "safeEncode": z__namespace.string(),
1590
- "safeDecode": z__namespace.string(),
1591
- "safeEncodeAsync": z__namespace.string(),
1592
- "safeDecodeAsync": z__namespace.string(),
1593
- "refine": z__namespace.string(),
1594
- "superRefine": z__namespace.string(),
1595
- "overwrite": z__namespace.string(),
1596
- "optional": z__namespace.string(),
1597
- "exactOptional": z__namespace.string(),
1598
- "nullable": z__namespace.string(),
1599
- "nullish": z__namespace.string(),
1600
- "nonoptional": z__namespace.string(),
1601
- "array": z__namespace.string(),
1602
- "or": z__namespace.string(),
1603
- "and": z__namespace.string(),
1604
- "transform": z__namespace.string(),
1605
- "default": z__namespace.string(),
1606
- "prefault": z__namespace.string(),
1607
- "catch": z__namespace.string(),
1608
- "pipe": z__namespace.string(),
1609
- "readonly": z__namespace.string(),
1610
- "describe": z__namespace.string(),
1611
- "meta": z__namespace.string(),
1612
- "isOptional": z__namespace.string(),
1613
- "isNullable": z__namespace.string(),
1614
- "apply": z__namespace.string(),
1615
- "keyof": z__namespace.string(),
1616
- "catchall": z__namespace.string(),
1617
- "passthrough": z__namespace.string(),
1618
- "loose": z__namespace.string(),
1619
- "strict": z__namespace.string(),
1620
- "strip": z__namespace.string(),
1621
- "extend": z__namespace.string(),
1622
- "safeExtend": z__namespace.string(),
1623
- "merge": z__namespace.string(),
1624
- "pick": z__namespace.string(),
1625
- "omit": z__namespace.string(),
1626
- "partial": z__namespace.string(),
1627
- "required": z__namespace.string()
1573
+ toJSONSchema: z__namespace.string(),
1574
+ def: z__namespace.string(),
1575
+ type: z__namespace.string(),
1576
+ check: z__namespace.string(),
1577
+ with: z__namespace.string(),
1578
+ clone: z__namespace.string(),
1579
+ brand: z__namespace.string(),
1580
+ register: z__namespace.string(),
1581
+ parse: z__namespace.string(),
1582
+ safeParse: z__namespace.string(),
1583
+ parseAsync: z__namespace.string(),
1584
+ safeParseAsync: z__namespace.string(),
1585
+ spa: z__namespace.string(),
1586
+ encode: z__namespace.string(),
1587
+ decode: z__namespace.string(),
1588
+ encodeAsync: z__namespace.string(),
1589
+ decodeAsync: z__namespace.string(),
1590
+ safeEncode: z__namespace.string(),
1591
+ safeDecode: z__namespace.string(),
1592
+ safeEncodeAsync: z__namespace.string(),
1593
+ safeDecodeAsync: z__namespace.string(),
1594
+ refine: z__namespace.string(),
1595
+ superRefine: z__namespace.string(),
1596
+ overwrite: z__namespace.string(),
1597
+ optional: z__namespace.string(),
1598
+ exactOptional: z__namespace.string(),
1599
+ nullable: z__namespace.string(),
1600
+ nullish: z__namespace.string(),
1601
+ nonoptional: z__namespace.string(),
1602
+ array: z__namespace.string(),
1603
+ or: z__namespace.string(),
1604
+ and: z__namespace.string(),
1605
+ transform: z__namespace.string(),
1606
+ default: z__namespace.string(),
1607
+ prefault: z__namespace.string(),
1608
+ catch: z__namespace.string(),
1609
+ pipe: z__namespace.string(),
1610
+ readonly: z__namespace.string(),
1611
+ describe: z__namespace.string(),
1612
+ meta: z__namespace.string(),
1613
+ isOptional: z__namespace.string(),
1614
+ isNullable: z__namespace.string(),
1615
+ apply: z__namespace.string(),
1616
+ keyof: z__namespace.string(),
1617
+ catchall: z__namespace.string(),
1618
+ passthrough: z__namespace.string(),
1619
+ loose: z__namespace.string(),
1620
+ strict: z__namespace.string(),
1621
+ strip: z__namespace.string(),
1622
+ extend: z__namespace.string(),
1623
+ safeExtend: z__namespace.string(),
1624
+ merge: z__namespace.string(),
1625
+ pick: z__namespace.string(),
1626
+ omit: z__namespace.string(),
1627
+ partial: z__namespace.string(),
1628
+ required: z__namespace.string()
1628
1629
  }).strict()
1629
1630
  ])
1630
1631
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
1631
- "createdAt": z__namespace.string().describe("The ISO timestamp representing when the message was created."),
1632
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
1633
- "type": z__namespace.enum([
1632
+ createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
1633
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
1634
+ type: z__namespace.enum([
1634
1635
  "added-environment-variables",
1635
1636
  "added-integration",
1636
1637
  "answered-questions",
@@ -1654,11 +1655,11 @@ const chatDetailSchema = z__namespace.object({
1654
1655
  "reverted-block",
1655
1656
  "sync-git"
1656
1657
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
1657
- "role": z__namespace.enum([
1658
+ role: z__namespace.enum([
1658
1659
  "assistant",
1659
1660
  "user"
1660
1661
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
1661
- "finishReason": z__namespace.enum([
1662
+ finishReason: z__namespace.enum([
1662
1663
  "content-filter",
1663
1664
  "error",
1664
1665
  "length",
@@ -1666,31 +1667,31 @@ const chatDetailSchema = z__namespace.object({
1666
1667
  "stop",
1667
1668
  "tool-calls"
1668
1669
  ]).optional().describe("The reason why the message generation finished."),
1669
- "apiUrl": z__namespace.string().describe("API URL to access this message via the API."),
1670
- "authorId": z__namespace.null().describe("The ID of the user who sent the message."),
1671
- "parentId": z__namespace.null().optional().describe("The ID of the parent message."),
1672
- "attachments": z__namespace.array(z__namespace.object({
1673
- "url": z__namespace.string().describe("The URL where the attachment file can be accessed."),
1674
- "name": z__namespace.string().optional().describe("The original filename of the attachment."),
1675
- "contentType": z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
1676
- "size": z__namespace.number().describe("The size of the attachment file in bytes."),
1677
- "content": z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
1678
- "type": z__namespace.enum([
1670
+ apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
1671
+ authorId: z__namespace.null().describe("The ID of the user who sent the message."),
1672
+ parentId: z__namespace.null().optional().describe("The ID of the parent message."),
1673
+ attachments: z__namespace.array(z__namespace.object({
1674
+ url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
1675
+ name: z__namespace.string().optional().describe("The original filename of the attachment."),
1676
+ contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
1677
+ size: z__namespace.number().describe("The size of the attachment file in bytes."),
1678
+ content: z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
1679
+ type: z__namespace.enum([
1679
1680
  "figma",
1680
1681
  "screenshot",
1681
1682
  "zip"
1682
1683
  ]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
1683
1684
  }).strict()).optional()
1684
1685
  }).strict()).describe("All messages exchanged in the chat, including user and assistant entries."),
1685
- "files": z__namespace.array(z__namespace.object({
1686
- "lang": z__namespace.string().describe("Programming language used in the file (e.g., JavaScript, Python)."),
1687
- "meta": z__namespace.object({}).catchall(z__namespace.string()).describe("A key-value map of metadata associated with the file (e.g., path, type)."),
1688
- "source": z__namespace.string().describe("The origin or identifier of the file source (e.g., path or upload label).")
1686
+ files: z__namespace.array(z__namespace.object({
1687
+ lang: z__namespace.string().describe("Programming language used in the file (e.g., JavaScript, Python)."),
1688
+ meta: z__namespace.object({}).catchall(z__namespace.string()).describe("A key-value map of metadata associated with the file (e.g., path, type)."),
1689
+ source: z__namespace.string().describe("The origin or identifier of the file source (e.g., path or upload label).")
1689
1690
  }).strict()).optional().describe("Optional array of files associated with the chat context."),
1690
- "demo": z__namespace.string().optional().describe("Deprecated demo URL used for previewing the chat result."),
1691
- "text": z__namespace.string().describe("The main user prompt or instruction that started the chat."),
1692
- "modelConfiguration": z__namespace.object({
1693
- "modelId": z__namespace.enum([
1691
+ demo: z__namespace.string().optional().describe("Deprecated demo URL used for previewing the chat result."),
1692
+ text: z__namespace.string().describe("The main user prompt or instruction that started the chat."),
1693
+ modelConfiguration: z__namespace.object({
1694
+ modelId: z__namespace.enum([
1694
1695
  "v0-auto",
1695
1696
  "v0-max",
1696
1697
  "v0-max-fast",
@@ -1699,136 +1700,136 @@ const chatDetailSchema = z__namespace.object({
1699
1700
  "v0-opus-4.7-fast",
1700
1701
  "v0-pro"
1701
1702
  ]).optional().default("v0-pro").describe("Model to use for the generation. `v0-auto` is deprecated and falls back to `v0-pro`."),
1702
- "imageGenerations": z__namespace.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
1703
- "thinking": z__namespace.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps.")
1703
+ imageGenerations: z__namespace.boolean().optional().default(false).describe("Enables image generations to generate up to 5 images per version."),
1704
+ thinking: z__namespace.boolean().optional().default(false).describe("Enables thinking to generate a response in multiple steps.")
1704
1705
  }).strict().optional().describe("The configuration used to generate responses in this chat."),
1705
- "permissions": z__namespace.object({
1706
- "write": z__namespace.boolean().describe("If true, the user has write access to the chat.")
1707
- }).strict(),
1708
- "metadata": z__namespace.object({}).catchall(z__namespace.string()).describe("Arbitrary key-value data associated with this chat.")
1706
+ permissions: z__namespace.object({
1707
+ write: z__namespace.boolean().describe("If true, the user has write access to the chat.")
1708
+ }).strict()
1709
1709
  }).strict().describe("Detailed representation of a chat, including its messages, files, versions, and model configuration.");
1710
1710
  const chatSummarySchema = z__namespace.object({
1711
- "id": z__namespace.string().describe("A unique identifier for the chat."),
1712
- "object": z__namespace.enum([
1711
+ id: z__namespace.string().describe("A unique identifier for the chat."),
1712
+ object: z__namespace.enum([
1713
1713
  "chat"
1714
1714
  ]).describe("Fixed value identifying this object as a chat."),
1715
- "shareable": z__namespace.boolean().describe("Indicates whether the chat can be shared via public link."),
1716
- "privacy": z__namespace.enum([
1715
+ shareable: z__namespace.boolean().describe("Indicates whether the chat can be shared via public link."),
1716
+ privacy: z__namespace.enum([
1717
1717
  "private",
1718
1718
  "public",
1719
1719
  "team",
1720
1720
  "team-edit",
1721
1721
  "unlisted"
1722
1722
  ]).describe("Defines the visibility of the chat—private, team-only, or public."),
1723
- "name": z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
1724
- "title": z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1725
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1726
- "updatedAt": z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
1727
- "favorite": z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
1728
- "authorId": z__namespace.string().describe("The ID of the user who created the chat."),
1729
- "projectId": z__namespace.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1730
- "vercelProjectId": z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1731
- "webUrl": z__namespace.string().describe("Web URL to view this chat in the browser."),
1732
- "apiUrl": z__namespace.string().describe("API URL to access this chat via the API."),
1733
- "latestVersion": z__namespace.object({
1734
- "id": z__namespace.string().describe("A unique identifier for the version."),
1735
- "object": z__namespace.enum([
1723
+ name: z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
1724
+ title: z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
1725
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
1726
+ updatedAt: z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
1727
+ favorite: z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
1728
+ authorId: z__namespace.string().describe("The ID of the user who created the chat."),
1729
+ projectId: z__namespace.string().optional().describe("Optional ID of the v0 project associated with this chat."),
1730
+ vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
1731
+ webUrl: z__namespace.string().describe("Web URL to view this chat in the browser."),
1732
+ apiUrl: z__namespace.string().describe("API URL to access this chat via the API."),
1733
+ latestVersion: z__namespace.object({
1734
+ id: z__namespace.string().describe("A unique identifier for the version."),
1735
+ object: z__namespace.enum([
1736
1736
  "version"
1737
1737
  ]).describe("Fixed value identifying this object as a version."),
1738
- "status": z__namespace.enum([
1738
+ status: z__namespace.enum([
1739
1739
  "completed",
1740
1740
  "failed",
1741
1741
  "pending"
1742
1742
  ]).describe("The current status of the version generation process."),
1743
- "demoUrl": z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
1744
- "screenshotUrl": z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
1745
- "createdAt": z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1746
- "updatedAt": z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
1747
- }).strict().optional().describe("The most recent generated version of the chat, if available.")
1743
+ demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
1744
+ screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
1745
+ createdAt: z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
1746
+ updatedAt: z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
1747
+ }).strict().optional().describe("The most recent generated version of the chat, if available."),
1748
+ metadata: z__namespace.object({}).catchall(z__namespace.string()).describe("Arbitrary key-value data associated with this chat.")
1748
1749
  }).strict().describe("Summary of a chat, including metadata like privacy, author, latest version, and URLs.");
1749
1750
  const deploymentDetailSchema = z__namespace.object({
1750
- "id": z__namespace.string().describe("A unique identifier for the deployment."),
1751
- "object": z__namespace.enum([
1751
+ id: z__namespace.string().describe("A unique identifier for the deployment."),
1752
+ object: z__namespace.enum([
1752
1753
  "deployment"
1753
1754
  ]).describe("Fixed value identifying this object as a deployment."),
1754
- "inspectorUrl": z__namespace.string().describe("URL to the deployment inspector."),
1755
- "chatId": z__namespace.string().describe("The ID of the chat that this deployment is scoped to."),
1756
- "projectId": z__namespace.string().optional().describe("The ID of the project that this deployment is scoped to."),
1757
- "versionId": z__namespace.string().describe("The ID of the version that this deployment is scoped to."),
1758
- "apiUrl": z__namespace.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1759
- "webUrl": z__namespace.url().describe("The web URL where the deployment can be viewed or managed.")
1755
+ inspectorUrl: z__namespace.string().describe("URL to the deployment inspector."),
1756
+ chatId: z__namespace.string().describe("The ID of the chat that this deployment is scoped to."),
1757
+ projectId: z__namespace.string().optional().describe("The ID of the project that this deployment is scoped to."),
1758
+ versionId: z__namespace.string().describe("The ID of the version that this deployment is scoped to."),
1759
+ apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1760
+ webUrl: z__namespace.url().describe("The web URL where the deployment can be viewed or managed.")
1760
1761
  }).strict();
1761
1762
  const deploymentSummarySchema = z__namespace.object({
1762
- "id": z__namespace.string().describe("A unique identifier for the deployment."),
1763
- "object": z__namespace.enum([
1763
+ id: z__namespace.string().describe("A unique identifier for the deployment."),
1764
+ object: z__namespace.enum([
1764
1765
  "deployment"
1765
1766
  ]).describe("Fixed value identifying this object as a deployment."),
1766
- "inspectorUrl": z__namespace.string().describe("URL to the deployment inspector."),
1767
- "chatId": z__namespace.string().describe("The ID of the chat that this deployment is scoped to."),
1768
- "projectId": z__namespace.string().optional().describe("The ID of the project that this deployment is scoped to."),
1769
- "versionId": z__namespace.string().describe("The ID of the version that this deployment is scoped to."),
1770
- "apiUrl": z__namespace.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1771
- "webUrl": z__namespace.url().describe("The web URL where the deployment can be viewed or managed.")
1767
+ inspectorUrl: z__namespace.string().describe("URL to the deployment inspector."),
1768
+ chatId: z__namespace.string().describe("The ID of the chat that this deployment is scoped to."),
1769
+ projectId: z__namespace.string().optional().describe("The ID of the project that this deployment is scoped to."),
1770
+ versionId: z__namespace.string().describe("The ID of the version that this deployment is scoped to."),
1771
+ apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this deployment programmatically."),
1772
+ webUrl: z__namespace.url().describe("The web URL where the deployment can be viewed or managed.")
1772
1773
  }).strict();
1773
1774
  const environmentVariableDetailSchemaSchema = z__namespace.object({
1774
- "id": z__namespace.string().describe("A unique identifier for the environment variable."),
1775
- "object": z__namespace.enum([
1775
+ id: z__namespace.string().describe("A unique identifier for the environment variable."),
1776
+ object: z__namespace.enum([
1776
1777
  "environment_variable"
1777
1778
  ]).describe("The object type."),
1778
- "key": z__namespace.string().describe("The name of the environment variable."),
1779
- "value": z__namespace.string().describe("The value of the environment variable."),
1780
- "decrypted": z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
1781
- "createdAt": z__namespace.number().describe("The timestamp when the environment variable was created."),
1782
- "updatedAt": z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
1779
+ key: z__namespace.string().describe("The name of the environment variable."),
1780
+ value: z__namespace.string().describe("The value of the environment variable."),
1781
+ decrypted: z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
1782
+ createdAt: z__namespace.number().describe("The timestamp when the environment variable was created."),
1783
+ updatedAt: z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
1783
1784
  }).strict().describe("Detailed information for an environment variable including its value.");
1784
1785
  const environmentVariableSummarySchemaSchema = z__namespace.object({
1785
- "id": z__namespace.string().describe("A unique identifier for the environment variable."),
1786
- "object": z__namespace.enum([
1786
+ id: z__namespace.string().describe("A unique identifier for the environment variable."),
1787
+ object: z__namespace.enum([
1787
1788
  "environment_variable"
1788
1789
  ]).describe("The object type."),
1789
- "key": z__namespace.string().describe("The name of the environment variable."),
1790
- "value": z__namespace.string().describe("The value of the environment variable."),
1791
- "decrypted": z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
1792
- "createdAt": z__namespace.number().describe("The timestamp when the environment variable was created."),
1793
- "updatedAt": z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
1790
+ key: z__namespace.string().describe("The name of the environment variable."),
1791
+ value: z__namespace.string().describe("The value of the environment variable."),
1792
+ decrypted: z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
1793
+ createdAt: z__namespace.number().describe("The timestamp when the environment variable was created."),
1794
+ updatedAt: z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
1794
1795
  }).strict().describe("Summary information for an environment variable.");
1795
1796
  const environmentVariablesListSchemaSchema = z__namespace.object({
1796
- "object": z__namespace.enum([
1797
+ object: z__namespace.enum([
1797
1798
  "list"
1798
1799
  ]).describe("Fixed value identifying this as a list response."),
1799
- "data": z__namespace.array(z__namespace.object({
1800
- "id": z__namespace.string().describe("A unique identifier for the environment variable."),
1801
- "object": z__namespace.enum([
1800
+ data: z__namespace.array(z__namespace.object({
1801
+ id: z__namespace.string().describe("A unique identifier for the environment variable."),
1802
+ object: z__namespace.enum([
1802
1803
  "environment_variable"
1803
1804
  ]).describe("The object type."),
1804
- "key": z__namespace.string().describe("The name of the environment variable."),
1805
- "value": z__namespace.string().describe("The value of the environment variable."),
1806
- "decrypted": z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
1807
- "createdAt": z__namespace.number().describe("The timestamp when the environment variable was created."),
1808
- "updatedAt": z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
1805
+ key: z__namespace.string().describe("The name of the environment variable."),
1806
+ value: z__namespace.string().describe("The value of the environment variable."),
1807
+ decrypted: z__namespace.boolean().describe("Whether the value is decrypted or encrypted."),
1808
+ createdAt: z__namespace.number().describe("The timestamp when the environment variable was created."),
1809
+ updatedAt: z__namespace.number().optional().describe("The timestamp when the environment variable was last updated.")
1809
1810
  }).strict()).describe("Array of environment variable details.")
1810
1811
  }).strict().describe("List response containing environment variables.");
1811
1812
  const fileDetailSchema = z__namespace.object({
1812
- "object": z__namespace.enum([
1813
+ object: z__namespace.enum([
1813
1814
  "file"
1814
1815
  ]).describe("Fixed value identifying this object as a file."),
1815
- "name": z__namespace.string().describe("The name of the file, including its extension."),
1816
- "content": z__namespace.string().describe("The full contents of the file as a raw string."),
1817
- "locked": z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1816
+ name: z__namespace.string().describe("The name of the file, including its extension."),
1817
+ content: z__namespace.string().describe("The full contents of the file as a raw string."),
1818
+ locked: z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
1818
1819
  }).strict().describe("Detailed representation of a file, including its content and lock status.");
1819
1820
  const fileSummarySchema = z__namespace.object({
1820
- "object": z__namespace.enum([
1821
+ object: z__namespace.enum([
1821
1822
  "file"
1822
1823
  ]).describe("Fixed value identifying this object as a file."),
1823
- "name": z__namespace.string().describe("The name of the file, including its extension.")
1824
+ name: z__namespace.string().describe("The name of the file, including its extension.")
1824
1825
  }).strict().describe("Basic metadata about a file, such as its type and name.");
1825
1826
  const hookDetailSchema = z__namespace.object({
1826
- "id": z__namespace.string().describe("A unique identifier for the webhook."),
1827
- "object": z__namespace.enum([
1827
+ id: z__namespace.string().describe("A unique identifier for the webhook."),
1828
+ object: z__namespace.enum([
1828
1829
  "hook"
1829
1830
  ]).describe("Fixed value identifying this object as a webhook."),
1830
- "name": z__namespace.string().describe("A user-defined name to label the webhook."),
1831
- "events": z__namespace.array(z__namespace.enum([
1831
+ name: z__namespace.string().describe("A user-defined name to label the webhook."),
1832
+ events: z__namespace.array(z__namespace.enum([
1832
1833
  "chat.created",
1833
1834
  "chat.deleted",
1834
1835
  "chat.updated",
@@ -1837,15 +1838,15 @@ const hookDetailSchema = z__namespace.object({
1837
1838
  "message.finished",
1838
1839
  "message.updated"
1839
1840
  ])).describe("List of event types this webhook is subscribed to."),
1840
- "chatId": z__namespace.string().optional().describe("Optional ID of the chat that this webhook is scoped to."),
1841
- "url": z__namespace.string().describe("Target URL that receives event payloads for this webhook.")
1841
+ chatId: z__namespace.string().optional().describe("Optional ID of the chat that this webhook is scoped to."),
1842
+ url: z__namespace.string().describe("Target URL that receives event payloads for this webhook.")
1842
1843
  }).strict().describe("Full configuration details for a webhook, including its scope and subscription.");
1843
1844
  const hookEventDetailSchema = z__namespace.object({
1844
- "id": z__namespace.string().describe("A unique identifier for the webhook event log entry."),
1845
- "object": z__namespace.enum([
1845
+ id: z__namespace.string().describe("A unique identifier for the webhook event log entry."),
1846
+ object: z__namespace.enum([
1846
1847
  "hook_event"
1847
1848
  ]).describe("Fixed value identifying this object as a webhook event."),
1848
- "event": z__namespace.enum([
1849
+ event: z__namespace.enum([
1849
1850
  "chat.created",
1850
1851
  "chat.deleted",
1851
1852
  "chat.updated",
@@ -1854,111 +1855,111 @@ const hookEventDetailSchema = z__namespace.object({
1854
1855
  "message.finished",
1855
1856
  "message.updated"
1856
1857
  ]).describe("The type of event that triggered the webhook."),
1857
- "status": z__namespace.enum([
1858
+ status: z__namespace.enum([
1858
1859
  "error",
1859
1860
  "pending",
1860
1861
  "success"
1861
1862
  ]).optional().default("pending").describe("The delivery status of the webhook (e.g., delivered, failed)."),
1862
- "createdAt": z__namespace.iso.datetime().describe("Timestamp of when the webhook event was triggered.")
1863
+ createdAt: z__namespace.iso.datetime().describe("Timestamp of when the webhook event was triggered.")
1863
1864
  }).strict().describe("Detailed record of a webhook event, including its type, status, and timestamp.");
1864
1865
  const hookSummarySchema = z__namespace.object({
1865
- "id": z__namespace.string().describe("A unique identifier for the webhook."),
1866
- "object": z__namespace.enum([
1866
+ id: z__namespace.string().describe("A unique identifier for the webhook."),
1867
+ object: z__namespace.enum([
1867
1868
  "hook"
1868
1869
  ]).describe("Fixed value identifying this object as a webhook."),
1869
- "name": z__namespace.string().describe("A user-defined name to label the webhook.")
1870
+ name: z__namespace.string().describe("A user-defined name to label the webhook.")
1870
1871
  }).strict().describe("Summary of a webhook, including its ID and display name.");
1871
1872
  const integrationConnectionDetailSchemaSchema = z__namespace.object({
1872
- "object": z__namespace.enum([
1873
+ object: z__namespace.enum([
1873
1874
  "integration_connection"
1874
1875
  ]).describe("The object type."),
1875
- "id": z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1876
- "connected": z__namespace.boolean().describe("Whether the integration is connected to the project."),
1877
- "integration": z__namespace.object({
1878
- "id": z__namespace.string().describe("The ID of the integration."),
1879
- "object": z__namespace.enum([
1876
+ id: z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1877
+ connected: z__namespace.boolean().describe("Whether the integration is connected to the project."),
1878
+ integration: z__namespace.object({
1879
+ id: z__namespace.string().describe("The ID of the integration."),
1880
+ object: z__namespace.enum([
1880
1881
  "integration"
1881
1882
  ]).describe("The object type."),
1882
- "slug": z__namespace.string().describe("The slug of the integration."),
1883
- "name": z__namespace.string().describe("The name of the integration.")
1883
+ slug: z__namespace.string().describe("The slug of the integration."),
1884
+ name: z__namespace.string().describe("The name of the integration.")
1884
1885
  }).strict().describe("Information about the connected integration."),
1885
- "metadata": z__namespace.object({}).catchall(z__namespace.unknown()).optional().describe("Additional metadata about the integration connection.")
1886
+ metadata: z__namespace.object({}).catchall(z__namespace.unknown()).optional().describe("Additional metadata about the integration connection.")
1886
1887
  }).strict().describe("Detailed information about an integration connection to a project.");
1887
1888
  const integrationConnectionListSchemaSchema = z__namespace.object({
1888
- "object": z__namespace.enum([
1889
+ object: z__namespace.enum([
1889
1890
  "list"
1890
1891
  ]).describe("Fixed value identifying this as a list response."),
1891
- "data": z__namespace.array(z__namespace.object({
1892
- "object": z__namespace.enum([
1892
+ data: z__namespace.array(z__namespace.object({
1893
+ object: z__namespace.enum([
1893
1894
  "integration_connection"
1894
1895
  ]).describe("The object type."),
1895
- "id": z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1896
- "connected": z__namespace.boolean().describe("Whether the integration is connected to the project."),
1897
- "integration": z__namespace.object({
1898
- "id": z__namespace.string().describe("The ID of the integration."),
1899
- "object": z__namespace.enum([
1896
+ id: z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1897
+ connected: z__namespace.boolean().describe("Whether the integration is connected to the project."),
1898
+ integration: z__namespace.object({
1899
+ id: z__namespace.string().describe("The ID of the integration."),
1900
+ object: z__namespace.enum([
1900
1901
  "integration"
1901
1902
  ]).describe("The object type."),
1902
- "slug": z__namespace.string().describe("The slug of the integration."),
1903
- "name": z__namespace.string().describe("The name of the integration.")
1903
+ slug: z__namespace.string().describe("The slug of the integration."),
1904
+ name: z__namespace.string().describe("The name of the integration.")
1904
1905
  }).strict().describe("Information about the connected integration.")
1905
1906
  }).strict()).describe("Array of integration connection summaries.")
1906
1907
  }).strict().describe("List response containing integration connections.");
1907
1908
  const integrationConnectionSummarySchemaSchema = z__namespace.object({
1908
- "object": z__namespace.enum([
1909
+ object: z__namespace.enum([
1909
1910
  "integration_connection"
1910
1911
  ]).describe("The object type."),
1911
- "id": z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1912
- "connected": z__namespace.boolean().describe("Whether the integration is connected to the project."),
1913
- "integration": z__namespace.object({
1914
- "id": z__namespace.string().describe("The ID of the integration."),
1915
- "object": z__namespace.enum([
1912
+ id: z__namespace.string().describe("The unique ID of the integration connection (format: {projectId}_{integrationId})."),
1913
+ connected: z__namespace.boolean().describe("Whether the integration is connected to the project."),
1914
+ integration: z__namespace.object({
1915
+ id: z__namespace.string().describe("The ID of the integration."),
1916
+ object: z__namespace.enum([
1916
1917
  "integration"
1917
1918
  ]).describe("The object type."),
1918
- "slug": z__namespace.string().describe("The slug of the integration."),
1919
- "name": z__namespace.string().describe("The name of the integration.")
1919
+ slug: z__namespace.string().describe("The slug of the integration."),
1920
+ name: z__namespace.string().describe("The name of the integration.")
1920
1921
  }).strict().describe("Information about the connected integration.")
1921
1922
  }).strict().describe("Summary information about an integration connection to a project.");
1922
1923
  const integrationDetailSchemaSchema = z__namespace.object({
1923
- "id": z__namespace.string().describe("The ID of the integration."),
1924
- "object": z__namespace.enum([
1924
+ id: z__namespace.string().describe("The ID of the integration."),
1925
+ object: z__namespace.enum([
1925
1926
  "integration"
1926
1927
  ]).describe("The object type."),
1927
- "slug": z__namespace.string().describe("The slug of the integration."),
1928
- "name": z__namespace.string().describe("The name of the integration."),
1929
- "description": z__namespace.string().describe("A short description of the integration."),
1930
- "iconUrl": z__namespace.string().describe("URL to the integration icon.")
1928
+ slug: z__namespace.string().describe("The slug of the integration."),
1929
+ name: z__namespace.string().describe("The name of the integration."),
1930
+ description: z__namespace.string().describe("A short description of the integration."),
1931
+ iconUrl: z__namespace.string().describe("URL to the integration icon.")
1931
1932
  }).strict().describe("Detailed information about an integration.");
1932
1933
  const integrationListSchemaSchema = z__namespace.object({
1933
- "object": z__namespace.enum([
1934
+ object: z__namespace.enum([
1934
1935
  "list"
1935
1936
  ]).describe("Fixed value identifying this as a list response."),
1936
- "data": z__namespace.array(z__namespace.object({
1937
- "id": z__namespace.string().describe("The ID of the integration."),
1938
- "object": z__namespace.enum([
1937
+ data: z__namespace.array(z__namespace.object({
1938
+ id: z__namespace.string().describe("The ID of the integration."),
1939
+ object: z__namespace.enum([
1939
1940
  "integration"
1940
1941
  ]).describe("The object type."),
1941
- "slug": z__namespace.string().describe("The slug of the integration."),
1942
- "name": z__namespace.string().describe("The name of the integration."),
1943
- "description": z__namespace.string().describe("A short description of the integration."),
1944
- "iconUrl": z__namespace.string().describe("URL to the integration icon.")
1942
+ slug: z__namespace.string().describe("The slug of the integration."),
1943
+ name: z__namespace.string().describe("The name of the integration."),
1944
+ description: z__namespace.string().describe("A short description of the integration."),
1945
+ iconUrl: z__namespace.string().describe("URL to the integration icon.")
1945
1946
  }).strict()).describe("Array of integration details.")
1946
1947
  }).strict().describe("List of available integrations.");
1947
1948
  const integrationSummarySchemaSchema = z__namespace.object({
1948
- "id": z__namespace.string().describe("The ID of the integration."),
1949
- "object": z__namespace.enum([
1949
+ id: z__namespace.string().describe("The ID of the integration."),
1950
+ object: z__namespace.enum([
1950
1951
  "integration"
1951
1952
  ]).describe("The object type."),
1952
- "slug": z__namespace.string().describe("The slug of the integration."),
1953
- "name": z__namespace.string().describe("The name of the integration.")
1953
+ slug: z__namespace.string().describe("The slug of the integration."),
1954
+ name: z__namespace.string().describe("The name of the integration.")
1954
1955
  }).strict().describe("Basic information about an integration.");
1955
1956
  const messageDetailSchema = z__namespace.object({
1956
- "id": z__namespace.string().describe("A unique identifier for the message."),
1957
- "object": z__namespace.enum([
1957
+ id: z__namespace.string().describe("A unique identifier for the message."),
1958
+ object: z__namespace.enum([
1958
1959
  "message"
1959
1960
  ]).describe("Fixed value identifying this object as a message."),
1960
- "content": z__namespace.string().describe("The main text content of the message."),
1961
- "experimentalContent": z__namespace.array(z__namespace.union([
1961
+ content: z__namespace.string().describe("The main text content of the message."),
1962
+ experimentalContent: z__namespace.array(z__namespace.union([
1962
1963
  z__namespace.tuple([
1963
1964
  z__namespace.enum([
1964
1965
  0
@@ -1970,68 +1971,68 @@ const messageDetailSchema = z__namespace.object({
1970
1971
  1
1971
1972
  ]),
1972
1973
  z__namespace.object({
1973
- "toJSONSchema": z__namespace.string(),
1974
- "def": z__namespace.string(),
1975
- "type": z__namespace.string(),
1976
- "check": z__namespace.string(),
1977
- "with": z__namespace.string(),
1978
- "clone": z__namespace.string(),
1979
- "brand": z__namespace.string(),
1980
- "register": z__namespace.string(),
1981
- "parse": z__namespace.string(),
1982
- "safeParse": z__namespace.string(),
1983
- "parseAsync": z__namespace.string(),
1984
- "safeParseAsync": z__namespace.string(),
1985
- "spa": z__namespace.string(),
1986
- "encode": z__namespace.string(),
1987
- "decode": z__namespace.string(),
1988
- "encodeAsync": z__namespace.string(),
1989
- "decodeAsync": z__namespace.string(),
1990
- "safeEncode": z__namespace.string(),
1991
- "safeDecode": z__namespace.string(),
1992
- "safeEncodeAsync": z__namespace.string(),
1993
- "safeDecodeAsync": z__namespace.string(),
1994
- "refine": z__namespace.string(),
1995
- "superRefine": z__namespace.string(),
1996
- "overwrite": z__namespace.string(),
1997
- "optional": z__namespace.string(),
1998
- "exactOptional": z__namespace.string(),
1999
- "nullable": z__namespace.string(),
2000
- "nullish": z__namespace.string(),
2001
- "nonoptional": z__namespace.string(),
2002
- "array": z__namespace.string(),
2003
- "or": z__namespace.string(),
2004
- "and": z__namespace.string(),
2005
- "transform": z__namespace.string(),
2006
- "default": z__namespace.string(),
2007
- "prefault": z__namespace.string(),
2008
- "catch": z__namespace.string(),
2009
- "pipe": z__namespace.string(),
2010
- "readonly": z__namespace.string(),
2011
- "describe": z__namespace.string(),
2012
- "meta": z__namespace.string(),
2013
- "isOptional": z__namespace.string(),
2014
- "isNullable": z__namespace.string(),
2015
- "apply": z__namespace.string(),
2016
- "keyof": z__namespace.string(),
2017
- "catchall": z__namespace.string(),
2018
- "passthrough": z__namespace.string(),
2019
- "loose": z__namespace.string(),
2020
- "strict": z__namespace.string(),
2021
- "strip": z__namespace.string(),
2022
- "extend": z__namespace.string(),
2023
- "safeExtend": z__namespace.string(),
2024
- "merge": z__namespace.string(),
2025
- "pick": z__namespace.string(),
2026
- "omit": z__namespace.string(),
2027
- "partial": z__namespace.string(),
2028
- "required": z__namespace.string()
1974
+ toJSONSchema: z__namespace.string(),
1975
+ def: z__namespace.string(),
1976
+ type: z__namespace.string(),
1977
+ check: z__namespace.string(),
1978
+ with: z__namespace.string(),
1979
+ clone: z__namespace.string(),
1980
+ brand: z__namespace.string(),
1981
+ register: z__namespace.string(),
1982
+ parse: z__namespace.string(),
1983
+ safeParse: z__namespace.string(),
1984
+ parseAsync: z__namespace.string(),
1985
+ safeParseAsync: z__namespace.string(),
1986
+ spa: z__namespace.string(),
1987
+ encode: z__namespace.string(),
1988
+ decode: z__namespace.string(),
1989
+ encodeAsync: z__namespace.string(),
1990
+ decodeAsync: z__namespace.string(),
1991
+ safeEncode: z__namespace.string(),
1992
+ safeDecode: z__namespace.string(),
1993
+ safeEncodeAsync: z__namespace.string(),
1994
+ safeDecodeAsync: z__namespace.string(),
1995
+ refine: z__namespace.string(),
1996
+ superRefine: z__namespace.string(),
1997
+ overwrite: z__namespace.string(),
1998
+ optional: z__namespace.string(),
1999
+ exactOptional: z__namespace.string(),
2000
+ nullable: z__namespace.string(),
2001
+ nullish: z__namespace.string(),
2002
+ nonoptional: z__namespace.string(),
2003
+ array: z__namespace.string(),
2004
+ or: z__namespace.string(),
2005
+ and: z__namespace.string(),
2006
+ transform: z__namespace.string(),
2007
+ default: z__namespace.string(),
2008
+ prefault: z__namespace.string(),
2009
+ catch: z__namespace.string(),
2010
+ pipe: z__namespace.string(),
2011
+ readonly: z__namespace.string(),
2012
+ describe: z__namespace.string(),
2013
+ meta: z__namespace.string(),
2014
+ isOptional: z__namespace.string(),
2015
+ isNullable: z__namespace.string(),
2016
+ apply: z__namespace.string(),
2017
+ keyof: z__namespace.string(),
2018
+ catchall: z__namespace.string(),
2019
+ passthrough: z__namespace.string(),
2020
+ loose: z__namespace.string(),
2021
+ strict: z__namespace.string(),
2022
+ strip: z__namespace.string(),
2023
+ extend: z__namespace.string(),
2024
+ safeExtend: z__namespace.string(),
2025
+ merge: z__namespace.string(),
2026
+ pick: z__namespace.string(),
2027
+ omit: z__namespace.string(),
2028
+ partial: z__namespace.string(),
2029
+ required: z__namespace.string()
2029
2030
  }).strict()
2030
2031
  ])
2031
2032
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
2032
- "createdAt": z__namespace.string().describe("The ISO timestamp representing when the message was created."),
2033
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2034
- "type": z__namespace.enum([
2033
+ createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
2034
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2035
+ type: z__namespace.enum([
2035
2036
  "added-environment-variables",
2036
2037
  "added-integration",
2037
2038
  "answered-questions",
@@ -2055,11 +2056,11 @@ const messageDetailSchema = z__namespace.object({
2055
2056
  "reverted-block",
2056
2057
  "sync-git"
2057
2058
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
2058
- "role": z__namespace.enum([
2059
+ role: z__namespace.enum([
2059
2060
  "assistant",
2060
2061
  "user"
2061
2062
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
2062
- "finishReason": z__namespace.enum([
2063
+ finishReason: z__namespace.enum([
2063
2064
  "content-filter",
2064
2065
  "error",
2065
2066
  "length",
@@ -2067,30 +2068,30 @@ const messageDetailSchema = z__namespace.object({
2067
2068
  "stop",
2068
2069
  "tool-calls"
2069
2070
  ]).optional().describe("The reason why the message generation finished."),
2070
- "apiUrl": z__namespace.string().describe("API URL to access this message via the API."),
2071
- "authorId": z__namespace.null().describe("The ID of the user who sent the message."),
2072
- "parentId": z__namespace.null().optional().describe("The ID of the parent message."),
2073
- "attachments": z__namespace.array(z__namespace.object({
2074
- "url": z__namespace.string().describe("The URL where the attachment file can be accessed."),
2075
- "name": z__namespace.string().optional().describe("The original filename of the attachment."),
2076
- "contentType": z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2077
- "size": z__namespace.number().describe("The size of the attachment file in bytes."),
2078
- "content": z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2079
- "type": z__namespace.enum([
2071
+ apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
2072
+ authorId: z__namespace.null().describe("The ID of the user who sent the message."),
2073
+ parentId: z__namespace.null().optional().describe("The ID of the parent message."),
2074
+ attachments: z__namespace.array(z__namespace.object({
2075
+ url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
2076
+ name: z__namespace.string().optional().describe("The original filename of the attachment."),
2077
+ contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2078
+ size: z__namespace.number().describe("The size of the attachment file in bytes."),
2079
+ content: z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2080
+ type: z__namespace.enum([
2080
2081
  "figma",
2081
2082
  "screenshot",
2082
2083
  "zip"
2083
2084
  ]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
2084
2085
  }).strict()).optional(),
2085
- "chatId": z__namespace.string().describe("The ID of the chat to which this message belongs.")
2086
+ chatId: z__namespace.string().describe("The ID of the chat to which this message belongs.")
2086
2087
  }).strict().describe("Detailed message object extending MessageSummary with chat metadata.");
2087
2088
  const messageSummarySchema = z__namespace.object({
2088
- "id": z__namespace.string().describe("A unique identifier for the message."),
2089
- "object": z__namespace.enum([
2089
+ id: z__namespace.string().describe("A unique identifier for the message."),
2090
+ object: z__namespace.enum([
2090
2091
  "message"
2091
2092
  ]).describe("Fixed value identifying this object as a message."),
2092
- "content": z__namespace.string().describe("The main text content of the message."),
2093
- "experimentalContent": z__namespace.array(z__namespace.union([
2093
+ content: z__namespace.string().describe("The main text content of the message."),
2094
+ experimentalContent: z__namespace.array(z__namespace.union([
2094
2095
  z__namespace.tuple([
2095
2096
  z__namespace.enum([
2096
2097
  0
@@ -2102,68 +2103,68 @@ const messageSummarySchema = z__namespace.object({
2102
2103
  1
2103
2104
  ]),
2104
2105
  z__namespace.object({
2105
- "toJSONSchema": z__namespace.string(),
2106
- "def": z__namespace.string(),
2107
- "type": z__namespace.string(),
2108
- "check": z__namespace.string(),
2109
- "with": z__namespace.string(),
2110
- "clone": z__namespace.string(),
2111
- "brand": z__namespace.string(),
2112
- "register": z__namespace.string(),
2113
- "parse": z__namespace.string(),
2114
- "safeParse": z__namespace.string(),
2115
- "parseAsync": z__namespace.string(),
2116
- "safeParseAsync": z__namespace.string(),
2117
- "spa": z__namespace.string(),
2118
- "encode": z__namespace.string(),
2119
- "decode": z__namespace.string(),
2120
- "encodeAsync": z__namespace.string(),
2121
- "decodeAsync": z__namespace.string(),
2122
- "safeEncode": z__namespace.string(),
2123
- "safeDecode": z__namespace.string(),
2124
- "safeEncodeAsync": z__namespace.string(),
2125
- "safeDecodeAsync": z__namespace.string(),
2126
- "refine": z__namespace.string(),
2127
- "superRefine": z__namespace.string(),
2128
- "overwrite": z__namespace.string(),
2129
- "optional": z__namespace.string(),
2130
- "exactOptional": z__namespace.string(),
2131
- "nullable": z__namespace.string(),
2132
- "nullish": z__namespace.string(),
2133
- "nonoptional": z__namespace.string(),
2134
- "array": z__namespace.string(),
2135
- "or": z__namespace.string(),
2136
- "and": z__namespace.string(),
2137
- "transform": z__namespace.string(),
2138
- "default": z__namespace.string(),
2139
- "prefault": z__namespace.string(),
2140
- "catch": z__namespace.string(),
2141
- "pipe": z__namespace.string(),
2142
- "readonly": z__namespace.string(),
2143
- "describe": z__namespace.string(),
2144
- "meta": z__namespace.string(),
2145
- "isOptional": z__namespace.string(),
2146
- "isNullable": z__namespace.string(),
2147
- "apply": z__namespace.string(),
2148
- "keyof": z__namespace.string(),
2149
- "catchall": z__namespace.string(),
2150
- "passthrough": z__namespace.string(),
2151
- "loose": z__namespace.string(),
2152
- "strict": z__namespace.string(),
2153
- "strip": z__namespace.string(),
2154
- "extend": z__namespace.string(),
2155
- "safeExtend": z__namespace.string(),
2156
- "merge": z__namespace.string(),
2157
- "pick": z__namespace.string(),
2158
- "omit": z__namespace.string(),
2159
- "partial": z__namespace.string(),
2160
- "required": z__namespace.string()
2106
+ toJSONSchema: z__namespace.string(),
2107
+ def: z__namespace.string(),
2108
+ type: z__namespace.string(),
2109
+ check: z__namespace.string(),
2110
+ with: z__namespace.string(),
2111
+ clone: z__namespace.string(),
2112
+ brand: z__namespace.string(),
2113
+ register: z__namespace.string(),
2114
+ parse: z__namespace.string(),
2115
+ safeParse: z__namespace.string(),
2116
+ parseAsync: z__namespace.string(),
2117
+ safeParseAsync: z__namespace.string(),
2118
+ spa: z__namespace.string(),
2119
+ encode: z__namespace.string(),
2120
+ decode: z__namespace.string(),
2121
+ encodeAsync: z__namespace.string(),
2122
+ decodeAsync: z__namespace.string(),
2123
+ safeEncode: z__namespace.string(),
2124
+ safeDecode: z__namespace.string(),
2125
+ safeEncodeAsync: z__namespace.string(),
2126
+ safeDecodeAsync: z__namespace.string(),
2127
+ refine: z__namespace.string(),
2128
+ superRefine: z__namespace.string(),
2129
+ overwrite: z__namespace.string(),
2130
+ optional: z__namespace.string(),
2131
+ exactOptional: z__namespace.string(),
2132
+ nullable: z__namespace.string(),
2133
+ nullish: z__namespace.string(),
2134
+ nonoptional: z__namespace.string(),
2135
+ array: z__namespace.string(),
2136
+ or: z__namespace.string(),
2137
+ and: z__namespace.string(),
2138
+ transform: z__namespace.string(),
2139
+ default: z__namespace.string(),
2140
+ prefault: z__namespace.string(),
2141
+ catch: z__namespace.string(),
2142
+ pipe: z__namespace.string(),
2143
+ readonly: z__namespace.string(),
2144
+ describe: z__namespace.string(),
2145
+ meta: z__namespace.string(),
2146
+ isOptional: z__namespace.string(),
2147
+ isNullable: z__namespace.string(),
2148
+ apply: z__namespace.string(),
2149
+ keyof: z__namespace.string(),
2150
+ catchall: z__namespace.string(),
2151
+ passthrough: z__namespace.string(),
2152
+ loose: z__namespace.string(),
2153
+ strict: z__namespace.string(),
2154
+ strip: z__namespace.string(),
2155
+ extend: z__namespace.string(),
2156
+ safeExtend: z__namespace.string(),
2157
+ merge: z__namespace.string(),
2158
+ pick: z__namespace.string(),
2159
+ omit: z__namespace.string(),
2160
+ partial: z__namespace.string(),
2161
+ required: z__namespace.string()
2161
2162
  }).strict()
2162
2163
  ])
2163
2164
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
2164
- "createdAt": z__namespace.string().describe("The ISO timestamp representing when the message was created."),
2165
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2166
- "type": z__namespace.enum([
2165
+ createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
2166
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2167
+ type: z__namespace.enum([
2167
2168
  "added-environment-variables",
2168
2169
  "added-integration",
2169
2170
  "answered-questions",
@@ -2187,11 +2188,11 @@ const messageSummarySchema = z__namespace.object({
2187
2188
  "reverted-block",
2188
2189
  "sync-git"
2189
2190
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
2190
- "role": z__namespace.enum([
2191
+ role: z__namespace.enum([
2191
2192
  "assistant",
2192
2193
  "user"
2193
2194
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
2194
- "finishReason": z__namespace.enum([
2195
+ finishReason: z__namespace.enum([
2195
2196
  "content-filter",
2196
2197
  "error",
2197
2198
  "length",
@@ -2199,16 +2200,16 @@ const messageSummarySchema = z__namespace.object({
2199
2200
  "stop",
2200
2201
  "tool-calls"
2201
2202
  ]).optional().describe("The reason why the message generation finished."),
2202
- "apiUrl": z__namespace.string().describe("API URL to access this message via the API."),
2203
- "authorId": z__namespace.null().describe("The ID of the user who sent the message."),
2204
- "parentId": z__namespace.null().optional().describe("The ID of the parent message."),
2205
- "attachments": z__namespace.array(z__namespace.object({
2206
- "url": z__namespace.string().describe("The URL where the attachment file can be accessed."),
2207
- "name": z__namespace.string().optional().describe("The original filename of the attachment."),
2208
- "contentType": z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2209
- "size": z__namespace.number().describe("The size of the attachment file in bytes."),
2210
- "content": z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2211
- "type": z__namespace.enum([
2203
+ apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
2204
+ authorId: z__namespace.null().describe("The ID of the user who sent the message."),
2205
+ parentId: z__namespace.null().optional().describe("The ID of the parent message."),
2206
+ attachments: z__namespace.array(z__namespace.object({
2207
+ url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
2208
+ name: z__namespace.string().optional().describe("The original filename of the attachment."),
2209
+ contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2210
+ size: z__namespace.number().describe("The size of the attachment file in bytes."),
2211
+ content: z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2212
+ type: z__namespace.enum([
2212
2213
  "figma",
2213
2214
  "screenshot",
2214
2215
  "zip"
@@ -2216,16 +2217,16 @@ const messageSummarySchema = z__namespace.object({
2216
2217
  }).strict()).optional()
2217
2218
  }).strict().describe("Summary of a single message within a chat, including role, content, type, timestamp, and API URL.");
2218
2219
  const messageSummaryListSchema = z__namespace.object({
2219
- "object": z__namespace.enum([
2220
+ object: z__namespace.enum([
2220
2221
  "list"
2221
2222
  ]).describe("Fixed value identifying this as a list response."),
2222
- "data": z__namespace.array(z__namespace.object({
2223
- "id": z__namespace.string().describe("A unique identifier for the message."),
2224
- "object": z__namespace.enum([
2223
+ data: z__namespace.array(z__namespace.object({
2224
+ id: z__namespace.string().describe("A unique identifier for the message."),
2225
+ object: z__namespace.enum([
2225
2226
  "message"
2226
2227
  ]).describe("Fixed value identifying this object as a message."),
2227
- "content": z__namespace.string().describe("The main text content of the message."),
2228
- "experimentalContent": z__namespace.array(z__namespace.union([
2228
+ content: z__namespace.string().describe("The main text content of the message."),
2229
+ experimentalContent: z__namespace.array(z__namespace.union([
2229
2230
  z__namespace.tuple([
2230
2231
  z__namespace.enum([
2231
2232
  0
@@ -2237,68 +2238,68 @@ const messageSummaryListSchema = z__namespace.object({
2237
2238
  1
2238
2239
  ]),
2239
2240
  z__namespace.object({
2240
- "toJSONSchema": z__namespace.string(),
2241
- "def": z__namespace.string(),
2242
- "type": z__namespace.string(),
2243
- "check": z__namespace.string(),
2244
- "with": z__namespace.string(),
2245
- "clone": z__namespace.string(),
2246
- "brand": z__namespace.string(),
2247
- "register": z__namespace.string(),
2248
- "parse": z__namespace.string(),
2249
- "safeParse": z__namespace.string(),
2250
- "parseAsync": z__namespace.string(),
2251
- "safeParseAsync": z__namespace.string(),
2252
- "spa": z__namespace.string(),
2253
- "encode": z__namespace.string(),
2254
- "decode": z__namespace.string(),
2255
- "encodeAsync": z__namespace.string(),
2256
- "decodeAsync": z__namespace.string(),
2257
- "safeEncode": z__namespace.string(),
2258
- "safeDecode": z__namespace.string(),
2259
- "safeEncodeAsync": z__namespace.string(),
2260
- "safeDecodeAsync": z__namespace.string(),
2261
- "refine": z__namespace.string(),
2262
- "superRefine": z__namespace.string(),
2263
- "overwrite": z__namespace.string(),
2264
- "optional": z__namespace.string(),
2265
- "exactOptional": z__namespace.string(),
2266
- "nullable": z__namespace.string(),
2267
- "nullish": z__namespace.string(),
2268
- "nonoptional": z__namespace.string(),
2269
- "array": z__namespace.string(),
2270
- "or": z__namespace.string(),
2271
- "and": z__namespace.string(),
2272
- "transform": z__namespace.string(),
2273
- "default": z__namespace.string(),
2274
- "prefault": z__namespace.string(),
2275
- "catch": z__namespace.string(),
2276
- "pipe": z__namespace.string(),
2277
- "readonly": z__namespace.string(),
2278
- "describe": z__namespace.string(),
2279
- "meta": z__namespace.string(),
2280
- "isOptional": z__namespace.string(),
2281
- "isNullable": z__namespace.string(),
2282
- "apply": z__namespace.string(),
2283
- "keyof": z__namespace.string(),
2284
- "catchall": z__namespace.string(),
2285
- "passthrough": z__namespace.string(),
2286
- "loose": z__namespace.string(),
2287
- "strict": z__namespace.string(),
2288
- "strip": z__namespace.string(),
2289
- "extend": z__namespace.string(),
2290
- "safeExtend": z__namespace.string(),
2291
- "merge": z__namespace.string(),
2292
- "pick": z__namespace.string(),
2293
- "omit": z__namespace.string(),
2294
- "partial": z__namespace.string(),
2295
- "required": z__namespace.string()
2241
+ toJSONSchema: z__namespace.string(),
2242
+ def: z__namespace.string(),
2243
+ type: z__namespace.string(),
2244
+ check: z__namespace.string(),
2245
+ with: z__namespace.string(),
2246
+ clone: z__namespace.string(),
2247
+ brand: z__namespace.string(),
2248
+ register: z__namespace.string(),
2249
+ parse: z__namespace.string(),
2250
+ safeParse: z__namespace.string(),
2251
+ parseAsync: z__namespace.string(),
2252
+ safeParseAsync: z__namespace.string(),
2253
+ spa: z__namespace.string(),
2254
+ encode: z__namespace.string(),
2255
+ decode: z__namespace.string(),
2256
+ encodeAsync: z__namespace.string(),
2257
+ decodeAsync: z__namespace.string(),
2258
+ safeEncode: z__namespace.string(),
2259
+ safeDecode: z__namespace.string(),
2260
+ safeEncodeAsync: z__namespace.string(),
2261
+ safeDecodeAsync: z__namespace.string(),
2262
+ refine: z__namespace.string(),
2263
+ superRefine: z__namespace.string(),
2264
+ overwrite: z__namespace.string(),
2265
+ optional: z__namespace.string(),
2266
+ exactOptional: z__namespace.string(),
2267
+ nullable: z__namespace.string(),
2268
+ nullish: z__namespace.string(),
2269
+ nonoptional: z__namespace.string(),
2270
+ array: z__namespace.string(),
2271
+ or: z__namespace.string(),
2272
+ and: z__namespace.string(),
2273
+ transform: z__namespace.string(),
2274
+ default: z__namespace.string(),
2275
+ prefault: z__namespace.string(),
2276
+ catch: z__namespace.string(),
2277
+ pipe: z__namespace.string(),
2278
+ readonly: z__namespace.string(),
2279
+ describe: z__namespace.string(),
2280
+ meta: z__namespace.string(),
2281
+ isOptional: z__namespace.string(),
2282
+ isNullable: z__namespace.string(),
2283
+ apply: z__namespace.string(),
2284
+ keyof: z__namespace.string(),
2285
+ catchall: z__namespace.string(),
2286
+ passthrough: z__namespace.string(),
2287
+ loose: z__namespace.string(),
2288
+ strict: z__namespace.string(),
2289
+ strip: z__namespace.string(),
2290
+ extend: z__namespace.string(),
2291
+ safeExtend: z__namespace.string(),
2292
+ merge: z__namespace.string(),
2293
+ pick: z__namespace.string(),
2294
+ omit: z__namespace.string(),
2295
+ partial: z__namespace.string(),
2296
+ required: z__namespace.string()
2296
2297
  }).strict()
2297
2298
  ])
2298
2299
  ])).optional().describe("The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change."),
2299
- "createdAt": z__namespace.string().describe("The ISO timestamp representing when the message was created."),
2300
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2301
- "type": z__namespace.enum([
2300
+ createdAt: z__namespace.string().describe("The ISO timestamp representing when the message was created."),
2301
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp representing when the message was last updated."),
2302
+ type: z__namespace.enum([
2302
2303
  "added-environment-variables",
2303
2304
  "added-integration",
2304
2305
  "answered-questions",
@@ -2322,11 +2323,11 @@ const messageSummaryListSchema = z__namespace.object({
2322
2323
  "reverted-block",
2323
2324
  "sync-git"
2324
2325
  ]).describe("Indicates the format or category of the message, such as plain text or code."),
2325
- "role": z__namespace.enum([
2326
+ role: z__namespace.enum([
2326
2327
  "assistant",
2327
2328
  "user"
2328
2329
  ]).describe("Specifies whether the message was sent by the user or the assistant."),
2329
- "finishReason": z__namespace.enum([
2330
+ finishReason: z__namespace.enum([
2330
2331
  "content-filter",
2331
2332
  "error",
2332
2333
  "length",
@@ -2334,365 +2335,366 @@ const messageSummaryListSchema = z__namespace.object({
2334
2335
  "stop",
2335
2336
  "tool-calls"
2336
2337
  ]).optional().describe("The reason why the message generation finished."),
2337
- "apiUrl": z__namespace.string().describe("API URL to access this message via the API."),
2338
- "authorId": z__namespace.null().describe("The ID of the user who sent the message."),
2339
- "parentId": z__namespace.null().optional().describe("The ID of the parent message."),
2340
- "attachments": z__namespace.array(z__namespace.object({
2341
- "url": z__namespace.string().describe("The URL where the attachment file can be accessed."),
2342
- "name": z__namespace.string().optional().describe("The original filename of the attachment."),
2343
- "contentType": z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2344
- "size": z__namespace.number().describe("The size of the attachment file in bytes."),
2345
- "content": z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2346
- "type": z__namespace.enum([
2338
+ apiUrl: z__namespace.string().describe("API URL to access this message via the API."),
2339
+ authorId: z__namespace.null().describe("The ID of the user who sent the message."),
2340
+ parentId: z__namespace.null().optional().describe("The ID of the parent message."),
2341
+ attachments: z__namespace.array(z__namespace.object({
2342
+ url: z__namespace.string().describe("The URL where the attachment file can be accessed."),
2343
+ name: z__namespace.string().optional().describe("The original filename of the attachment."),
2344
+ contentType: z__namespace.string().optional().describe("The MIME type of the attachment file (e.g., image/png, application/pdf)."),
2345
+ size: z__namespace.number().describe("The size of the attachment file in bytes."),
2346
+ content: z__namespace.string().optional().describe("The base64-encoded content of the attachment file, if available."),
2347
+ type: z__namespace.enum([
2347
2348
  "figma",
2348
2349
  "screenshot",
2349
2350
  "zip"
2350
2351
  ]).optional().describe("Optional v0-specific attachment type for enhanced processing.")
2351
2352
  }).strict()).optional()
2352
2353
  }).strict()).describe("Array of message summaries in this page of results."),
2353
- "pagination": z__namespace.object({
2354
- "hasMore": z__namespace.boolean().describe("Indicates if there are more results available beyond this page."),
2355
- "nextCursor": z__namespace.string().optional().describe("Cursor for fetching the next page of results."),
2356
- "nextUrl": z__namespace.string().optional().describe("API URL for retrieving the next page of results.")
2354
+ pagination: z__namespace.object({
2355
+ hasMore: z__namespace.boolean().describe("Indicates if there are more results available beyond this page."),
2356
+ nextCursor: z__namespace.string().optional().describe("Cursor for fetching the next page of results."),
2357
+ nextUrl: z__namespace.string().optional().describe("API URL for retrieving the next page of results.")
2357
2358
  }).strict().describe("Pagination metadata for navigating through multiple pages of results.")
2358
2359
  }).strict().describe("List response containing multiple message summaries with cursor-based pagination.");
2359
2360
  const notificationPreferenceSchemaSchema = z__namespace.object({
2360
- "liveActivity": z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2361
- "pushNotifications": z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2361
+ liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2362
+ pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2362
2363
  }).strict().describe("User preference for notification delivery methods.");
2363
2364
  const productDetailSchemaSchema = z__namespace.object({
2364
- "object": z__namespace.enum([
2365
+ object: z__namespace.enum([
2365
2366
  "product"
2366
2367
  ]).describe("The object type."),
2367
- "id": z__namespace.string().describe("The unique ID of the product."),
2368
- "slug": z__namespace.string().describe("The URL-friendly slug of the product."),
2369
- "name": z__namespace.string().describe("The name of the product."),
2370
- "description": z__namespace.string().describe("A short description of the product."),
2371
- "iconUrl": z__namespace.string().describe("URL to the product icon."),
2372
- "v0Availability": z__namespace.enum([
2368
+ id: z__namespace.string().describe("The unique ID of the product."),
2369
+ slug: z__namespace.string().describe("The URL-friendly slug of the product."),
2370
+ name: z__namespace.string().describe("The name of the product."),
2371
+ description: z__namespace.string().describe("A short description of the product."),
2372
+ iconUrl: z__namespace.string().describe("URL to the product icon."),
2373
+ v0Availability: z__namespace.enum([
2373
2374
  "in-review",
2374
2375
  "published"
2375
2376
  ]).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."),
2376
- "iconBackgroundColor": z__namespace.string().optional().describe("Background color for the product icon.")
2377
+ iconBackgroundColor: z__namespace.string().optional().describe("Background color for the product icon.")
2377
2378
  }).strict().describe("Detailed information about a marketplace or store product.");
2378
2379
  const productListSchemaSchema = z__namespace.object({
2379
- "object": z__namespace.enum([
2380
+ object: z__namespace.enum([
2380
2381
  "list"
2381
2382
  ]).describe("Fixed value identifying this as a list response."),
2382
- "data": z__namespace.array(z__namespace.object({
2383
- "object": z__namespace.enum([
2383
+ data: z__namespace.array(z__namespace.object({
2384
+ object: z__namespace.enum([
2384
2385
  "product"
2385
2386
  ]).describe("The object type."),
2386
- "id": z__namespace.string().describe("The unique ID of the product."),
2387
- "slug": z__namespace.string().describe("The URL-friendly slug of the product."),
2388
- "name": z__namespace.string().describe("The name of the product."),
2389
- "description": z__namespace.string().describe("A short description of the product."),
2390
- "iconUrl": z__namespace.string().describe("URL to the product icon."),
2391
- "v0Availability": z__namespace.enum([
2387
+ id: z__namespace.string().describe("The unique ID of the product."),
2388
+ slug: z__namespace.string().describe("The URL-friendly slug of the product."),
2389
+ name: z__namespace.string().describe("The name of the product."),
2390
+ description: z__namespace.string().describe("A short description of the product."),
2391
+ iconUrl: z__namespace.string().describe("URL to the product icon."),
2392
+ v0Availability: z__namespace.enum([
2392
2393
  "in-review",
2393
2394
  "published"
2394
2395
  ]).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.")
2395
2396
  }).strict()).describe("Array of product summaries.")
2396
2397
  }).strict().describe("List of available marketplace and store products.");
2397
2398
  const productSummarySchemaSchema = z__namespace.object({
2398
- "object": z__namespace.enum([
2399
+ object: z__namespace.enum([
2399
2400
  "product"
2400
2401
  ]).describe("The object type."),
2401
- "id": z__namespace.string().describe("The unique ID of the product."),
2402
- "slug": z__namespace.string().describe("The URL-friendly slug of the product."),
2403
- "name": z__namespace.string().describe("The name of the product."),
2404
- "description": z__namespace.string().describe("A short description of the product."),
2405
- "iconUrl": z__namespace.string().describe("URL to the product icon."),
2406
- "v0Availability": z__namespace.enum([
2402
+ id: z__namespace.string().describe("The unique ID of the product."),
2403
+ slug: z__namespace.string().describe("The URL-friendly slug of the product."),
2404
+ name: z__namespace.string().describe("The name of the product."),
2405
+ description: z__namespace.string().describe("A short description of the product."),
2406
+ iconUrl: z__namespace.string().describe("URL to the product icon."),
2407
+ v0Availability: z__namespace.enum([
2407
2408
  "in-review",
2408
2409
  "published"
2409
2410
  ]).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.")
2410
2411
  }).strict().describe("Summary information about a marketplace or store product.");
2411
2412
  const projectDetailSchema = z__namespace.object({
2412
- "id": z__namespace.string().describe("A unique identifier for the project."),
2413
- "object": z__namespace.enum([
2413
+ id: z__namespace.string().describe("A unique identifier for the project."),
2414
+ object: z__namespace.enum([
2414
2415
  "project"
2415
2416
  ]).describe("Fixed value identifying this object as a project."),
2416
- "name": z__namespace.string().describe("The name of the project as defined by the user."),
2417
- "privacy": z__namespace.enum([
2417
+ name: z__namespace.string().describe("The name of the project as defined by the user."),
2418
+ privacy: z__namespace.enum([
2418
2419
  "private",
2419
2420
  "team"
2420
2421
  ]).describe("The privacy setting for the project - either private or team."),
2421
- "vercelProjectId": z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2422
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2423
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2424
- "apiUrl": z__namespace.url().describe("The API endpoint URL for accessing this project programmatically."),
2425
- "webUrl": z__namespace.url().describe("The web URL where the project can be viewed or managed."),
2426
- "description": z__namespace.string().optional().describe("The description of the project."),
2427
- "instructions": z__namespace.string().optional().describe("The instructions for the project."),
2428
- "chats": z__namespace.array(z__namespace.object({
2429
- "id": z__namespace.string().describe("A unique identifier for the chat."),
2430
- "object": z__namespace.enum([
2422
+ vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2423
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2424
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2425
+ apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this project programmatically."),
2426
+ webUrl: z__namespace.url().describe("The web URL where the project can be viewed or managed."),
2427
+ description: z__namespace.string().optional().describe("The description of the project."),
2428
+ instructions: z__namespace.string().optional().describe("The instructions for the project."),
2429
+ chats: z__namespace.array(z__namespace.object({
2430
+ id: z__namespace.string().describe("A unique identifier for the chat."),
2431
+ object: z__namespace.enum([
2431
2432
  "chat"
2432
2433
  ]).describe("Fixed value identifying this object as a chat."),
2433
- "shareable": z__namespace.boolean().describe("Indicates whether the chat can be shared via public link."),
2434
- "privacy": z__namespace.enum([
2434
+ shareable: z__namespace.boolean().describe("Indicates whether the chat can be shared via public link."),
2435
+ privacy: z__namespace.enum([
2435
2436
  "private",
2436
2437
  "public",
2437
2438
  "team",
2438
2439
  "team-edit",
2439
2440
  "unlisted"
2440
2441
  ]).describe("Defines the visibility of the chat—private, team-only, or public."),
2441
- "name": z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
2442
- "title": z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
2443
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
2444
- "updatedAt": z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
2445
- "favorite": z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
2446
- "authorId": z__namespace.string().describe("The ID of the user who created the chat."),
2447
- "projectId": z__namespace.string().optional().describe("Optional ID of the v0 project associated with this chat."),
2448
- "vercelProjectId": z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2449
- "webUrl": z__namespace.string().describe("Web URL to view this chat in the browser."),
2450
- "apiUrl": z__namespace.string().describe("API URL to access this chat via the API."),
2451
- "latestVersion": z__namespace.object({
2452
- "id": z__namespace.string().describe("A unique identifier for the version."),
2453
- "object": z__namespace.enum([
2442
+ name: z__namespace.string().optional().describe("An optional name assigned to the chat by the user."),
2443
+ title: z__namespace.string().optional().describe("Deprecated title field preserved for backward compatibility."),
2444
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the chat was created."),
2445
+ updatedAt: z__namespace.string().optional().describe("The ISO timestamp of the last update to the chat."),
2446
+ favorite: z__namespace.boolean().describe("Indicates whether the chat is marked as a favorite."),
2447
+ authorId: z__namespace.string().describe("The ID of the user who created the chat."),
2448
+ projectId: z__namespace.string().optional().describe("Optional ID of the v0 project associated with this chat."),
2449
+ vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2450
+ webUrl: z__namespace.string().describe("Web URL to view this chat in the browser."),
2451
+ apiUrl: z__namespace.string().describe("API URL to access this chat via the API."),
2452
+ latestVersion: z__namespace.object({
2453
+ id: z__namespace.string().describe("A unique identifier for the version."),
2454
+ object: z__namespace.enum([
2454
2455
  "version"
2455
2456
  ]).describe("Fixed value identifying this object as a version."),
2456
- "status": z__namespace.enum([
2457
+ status: z__namespace.enum([
2457
2458
  "completed",
2458
2459
  "failed",
2459
2460
  "pending"
2460
2461
  ]).describe("The current status of the version generation process."),
2461
- "demoUrl": z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2462
- "screenshotUrl": z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2463
- "createdAt": z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2464
- "updatedAt": z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2465
- }).strict().optional().describe("The most recent generated version of the chat, if available.")
2462
+ demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2463
+ screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2464
+ createdAt: z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2465
+ updatedAt: z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2466
+ }).strict().optional().describe("The most recent generated version of the chat, if available."),
2467
+ metadata: z__namespace.object({}).catchall(z__namespace.string()).describe("Arbitrary key-value data associated with this chat.")
2466
2468
  }).strict()).describe("List of all chats that are associated with this project.")
2467
2469
  }).strict().describe("Full representation of a project, including its associated chats.");
2468
2470
  const projectSummarySchema = z__namespace.object({
2469
- "id": z__namespace.string().describe("A unique identifier for the project."),
2470
- "object": z__namespace.enum([
2471
+ id: z__namespace.string().describe("A unique identifier for the project."),
2472
+ object: z__namespace.enum([
2471
2473
  "project"
2472
2474
  ]).describe("Fixed value identifying this object as a project."),
2473
- "name": z__namespace.string().describe("The name of the project as defined by the user."),
2474
- "privacy": z__namespace.enum([
2475
+ name: z__namespace.string().describe("The name of the project as defined by the user."),
2476
+ privacy: z__namespace.enum([
2475
2477
  "private",
2476
2478
  "team"
2477
2479
  ]).describe("The privacy setting for the project - either private or team."),
2478
- "vercelProjectId": z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2479
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2480
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2481
- "apiUrl": z__namespace.url().describe("The API endpoint URL for accessing this project programmatically."),
2482
- "webUrl": z__namespace.url().describe("The web URL where the project can be viewed or managed.")
2480
+ vercelProjectId: z__namespace.string().optional().describe("Optional ID of the linked Vercel project, if connected."),
2481
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the project was created."),
2482
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp of the most recent update, if available."),
2483
+ apiUrl: z__namespace.url().describe("The API endpoint URL for accessing this project programmatically."),
2484
+ webUrl: z__namespace.url().describe("The web URL where the project can be viewed or managed.")
2483
2485
  }).strict().describe("Summary of a project, including metadata, timestamps, and optional Vercel linkage.");
2484
2486
  const scopeSummarySchema = z__namespace.object({
2485
- "id": z__namespace.string().describe("A unique identifier for the scope (e.g., user or team workspace)."),
2486
- "object": z__namespace.enum([
2487
+ id: z__namespace.string().describe("A unique identifier for the scope (e.g., user or team workspace)."),
2488
+ object: z__namespace.enum([
2487
2489
  "scope"
2488
2490
  ]).describe("Fixed value identifying this object as a scope."),
2489
- "name": z__namespace.string().optional().describe("An optional human-readable name for the scope.")
2491
+ name: z__namespace.string().optional().describe("An optional human-readable name for the scope.")
2490
2492
  }).strict().describe("Basic information about a workspace or identity context for projects and chats.");
2491
2493
  const searchResultItemSchema = z__namespace.object({
2492
- "id": z__namespace.string().describe("The unique ID of the item returned in the search result."),
2493
- "object": z__namespace.enum([
2494
+ id: z__namespace.string().describe("The unique ID of the item returned in the search result."),
2495
+ object: z__namespace.enum([
2494
2496
  "chat",
2495
2497
  "project"
2496
2498
  ]).describe("Type of item returned, either 'chat' or 'project'."),
2497
- "name": z__namespace.string().describe("The display name of the item."),
2498
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the item was created."),
2499
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp of the last update to the item."),
2500
- "apiUrl": z__namespace.string().describe("API endpoint for accessing the item programmatically."),
2501
- "webUrl": z__namespace.string().describe("Web URL for viewing the item in the interface.")
2499
+ name: z__namespace.string().describe("The display name of the item."),
2500
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the item was created."),
2501
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp of the last update to the item."),
2502
+ apiUrl: z__namespace.string().describe("API endpoint for accessing the item programmatically."),
2503
+ webUrl: z__namespace.string().describe("Web URL for viewing the item in the interface.")
2502
2504
  }).strict().describe("Generic result returned from a search query, representing either a chat or a project.");
2503
2505
  const userDetailSchemaSchema = z__namespace.object({
2504
- "id": z__namespace.string().describe("A unique identifier for the user."),
2505
- "object": z__namespace.enum([
2506
+ id: z__namespace.string().describe("A unique identifier for the user."),
2507
+ object: z__namespace.enum([
2506
2508
  "user"
2507
2509
  ]).describe("Fixed value identifying this object as a user."),
2508
- "name": z__namespace.string().optional().describe("Optional full name of the user."),
2509
- "email": z__namespace.string().describe("The user's email address."),
2510
- "avatar": z__namespace.string().describe("URL to the user's avatar image."),
2511
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2512
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2510
+ name: z__namespace.string().optional().describe("Optional full name of the user."),
2511
+ email: z__namespace.string().describe("The user's email address."),
2512
+ avatar: z__namespace.string().describe("URL to the user's avatar image."),
2513
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2514
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2513
2515
  }).strict();
2514
2516
  const userPreferencesPostResponseSchemaSchema = z__namespace.object({
2515
- "object": z__namespace.enum([
2517
+ object: z__namespace.enum([
2516
2518
  "user_preferences"
2517
2519
  ]).describe("Object type identifier."),
2518
- "preferences": z__namespace.union([
2520
+ preferences: z__namespace.union([
2519
2521
  z__namespace.object({
2520
- "notifications": z__namespace.object({
2521
- "liveActivity": z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2522
- "pushNotifications": z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2522
+ notifications: z__namespace.object({
2523
+ liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2524
+ pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2523
2525
  }).strict().describe("The user's preferred method for receiving notifications.")
2524
2526
  }).strict(),
2525
2527
  z__namespace.null()
2526
2528
  ]).describe("The updated preferences if successful, or null if failed.")
2527
2529
  }).strict().describe("Response schema for updating user preferences.");
2528
2530
  const userPreferencesResponseSchemaSchema = z__namespace.object({
2529
- "object": z__namespace.enum([
2531
+ object: z__namespace.enum([
2530
2532
  "user_preferences"
2531
2533
  ]).describe("Object type identifier."),
2532
- "preferences": z__namespace.union([
2534
+ preferences: z__namespace.union([
2533
2535
  z__namespace.object({
2534
- "notifications": z__namespace.object({
2535
- "liveActivity": z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2536
- "pushNotifications": z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2536
+ notifications: z__namespace.object({
2537
+ liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2538
+ pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2537
2539
  }).strict().describe("The user's preferred method for receiving notifications.")
2538
2540
  }).strict(),
2539
2541
  z__namespace.null()
2540
2542
  ]).describe("The user's current preferences, or null if errored.")
2541
2543
  }).strict().describe("Response schema for retrieving user preferences.");
2542
2544
  const userPreferencesSchemaSchema = z__namespace.object({
2543
- "notifications": z__namespace.object({
2544
- "liveActivity": z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2545
- "pushNotifications": z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2545
+ notifications: z__namespace.object({
2546
+ liveActivity: z__namespace.boolean().describe("Whether the user wants to receive live activities."),
2547
+ pushNotifications: z__namespace.boolean().describe("Whether the user wants to receive push notifications.")
2546
2548
  }).strict().describe("The user's preferred method for receiving notifications.")
2547
2549
  }).strict().describe("User preferences configuration including notification settings.");
2548
2550
  const userSummarySchemaSchema = z__namespace.object({
2549
- "id": z__namespace.string().describe("A unique identifier for the user."),
2550
- "object": z__namespace.enum([
2551
+ id: z__namespace.string().describe("A unique identifier for the user."),
2552
+ object: z__namespace.enum([
2551
2553
  "user"
2552
2554
  ]).describe("Fixed value identifying this object as a user."),
2553
- "name": z__namespace.string().optional().describe("Optional full name of the user."),
2554
- "email": z__namespace.string().describe("The user's email address."),
2555
- "avatar": z__namespace.string().describe("URL to the user's avatar image."),
2556
- "createdAt": z__namespace.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2557
- "updatedAt": z__namespace.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2555
+ name: z__namespace.string().optional().describe("Optional full name of the user."),
2556
+ email: z__namespace.string().describe("The user's email address."),
2557
+ avatar: z__namespace.string().describe("URL to the user's avatar image."),
2558
+ createdAt: z__namespace.iso.datetime().describe("The ISO timestamp representing when the user was created."),
2559
+ updatedAt: z__namespace.iso.datetime().optional().describe("The ISO timestamp of the last update to the user.")
2558
2560
  }).strict().describe("Details of the authenticated user, including profile and contact information.");
2559
2561
  const vercelProjectDetailSchema = z__namespace.object({
2560
- "id": z__namespace.string().describe("A unique identifier for the linked Vercel project."),
2561
- "object": z__namespace.enum([
2562
+ id: z__namespace.string().describe("A unique identifier for the linked Vercel project."),
2563
+ object: z__namespace.enum([
2562
2564
  "vercel_project"
2563
2565
  ]).describe("Fixed value identifying this object as a Vercel project."),
2564
- "name": z__namespace.string().describe("The name of the Vercel project.")
2566
+ name: z__namespace.string().describe("The name of the Vercel project.")
2565
2567
  }).strict();
2566
2568
  const vercelProjectSummarySchema = z__namespace.object({
2567
- "id": z__namespace.string().describe("A unique identifier for the linked Vercel project."),
2568
- "object": z__namespace.enum([
2569
+ id: z__namespace.string().describe("A unique identifier for the linked Vercel project."),
2570
+ object: z__namespace.enum([
2569
2571
  "vercel_project"
2570
2572
  ]).describe("Fixed value identifying this object as a Vercel project."),
2571
- "name": z__namespace.string().describe("The name of the Vercel project.")
2573
+ name: z__namespace.string().describe("The name of the Vercel project.")
2572
2574
  }).strict().describe("Basic metadata about a Vercel project connected to a v0 project.");
2573
2575
  const versionDetailSchema = z__namespace.object({
2574
- "id": z__namespace.string().describe("A unique identifier for the version."),
2575
- "object": z__namespace.enum([
2576
+ id: z__namespace.string().describe("A unique identifier for the version."),
2577
+ object: z__namespace.enum([
2576
2578
  "version"
2577
2579
  ]).describe("Fixed value identifying this object as a version."),
2578
- "status": z__namespace.enum([
2580
+ status: z__namespace.enum([
2579
2581
  "completed",
2580
2582
  "failed",
2581
2583
  "pending"
2582
2584
  ]).describe("The current status of the version generation process."),
2583
- "demoUrl": z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2584
- "screenshotUrl": z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2585
- "createdAt": z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2586
- "updatedAt": z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
2587
- "files": z__namespace.array(z__namespace.object({
2588
- "object": z__namespace.enum([
2585
+ demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2586
+ screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2587
+ createdAt: z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2588
+ updatedAt: z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format."),
2589
+ files: z__namespace.array(z__namespace.object({
2590
+ object: z__namespace.enum([
2589
2591
  "file"
2590
2592
  ]).describe("Fixed value identifying this object as a file."),
2591
- "name": z__namespace.string().describe("The name of the file, including its extension."),
2592
- "content": z__namespace.string().describe("The full contents of the file as a raw string."),
2593
- "locked": z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
2593
+ name: z__namespace.string().describe("The name of the file, including its extension."),
2594
+ content: z__namespace.string().describe("The full contents of the file as a raw string."),
2595
+ locked: z__namespace.boolean().describe("Whether the file is locked to prevent AI from overwriting it during new version generation.")
2594
2596
  }).strict()).describe("A list of files that were generated or included in this version.")
2595
2597
  }).strict().describe("Detailed version data including file contents.");
2596
2598
  const versionSummarySchema = z__namespace.object({
2597
- "id": z__namespace.string().describe("A unique identifier for the version."),
2598
- "object": z__namespace.enum([
2599
+ id: z__namespace.string().describe("A unique identifier for the version."),
2600
+ object: z__namespace.enum([
2599
2601
  "version"
2600
2602
  ]).describe("Fixed value identifying this object as a version."),
2601
- "status": z__namespace.enum([
2603
+ status: z__namespace.enum([
2602
2604
  "completed",
2603
2605
  "failed",
2604
2606
  "pending"
2605
2607
  ]).describe("The current status of the version generation process."),
2606
- "demoUrl": z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2607
- "screenshotUrl": z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2608
- "createdAt": z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2609
- "updatedAt": z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2608
+ demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2609
+ screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2610
+ createdAt: z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2611
+ updatedAt: z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2610
2612
  }).strict().describe("Summary of a generated version of a chat, including its status and optional demo link.");
2611
2613
  const versionSummaryListSchema = z__namespace.object({
2612
- "object": z__namespace.enum([
2614
+ object: z__namespace.enum([
2613
2615
  "list"
2614
2616
  ]).describe("Fixed value identifying this as a list response."),
2615
- "data": z__namespace.array(z__namespace.object({
2616
- "id": z__namespace.string().describe("A unique identifier for the version."),
2617
- "object": z__namespace.enum([
2617
+ data: z__namespace.array(z__namespace.object({
2618
+ id: z__namespace.string().describe("A unique identifier for the version."),
2619
+ object: z__namespace.enum([
2618
2620
  "version"
2619
2621
  ]).describe("Fixed value identifying this object as a version."),
2620
- "status": z__namespace.enum([
2622
+ status: z__namespace.enum([
2621
2623
  "completed",
2622
2624
  "failed",
2623
2625
  "pending"
2624
2626
  ]).describe("The current status of the version generation process."),
2625
- "demoUrl": z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2626
- "screenshotUrl": z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2627
- "createdAt": z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2628
- "updatedAt": z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2627
+ demoUrl: z__namespace.string().optional().describe("Optional URL for previewing the generated output."),
2628
+ screenshotUrl: z__namespace.string().optional().describe("URL to retrieve a screenshot of this version."),
2629
+ createdAt: z__namespace.iso.datetime().describe("The date and time when the version was created, in ISO 8601 format."),
2630
+ updatedAt: z__namespace.iso.datetime().optional().describe("The date and time when the version was last updated, in ISO 8601 format.")
2629
2631
  }).strict()).describe("Array of version summaries in this page of results."),
2630
- "pagination": z__namespace.object({
2631
- "hasMore": z__namespace.boolean().describe("Indicates if there are more results available beyond this page."),
2632
- "nextCursor": z__namespace.string().optional().describe("Cursor for fetching the next page of results."),
2633
- "nextUrl": z__namespace.string().optional().describe("API URL for retrieving the next page of results.")
2632
+ pagination: z__namespace.object({
2633
+ hasMore: z__namespace.boolean().describe("Indicates if there are more results available beyond this page."),
2634
+ nextCursor: z__namespace.string().optional().describe("Cursor for fetching the next page of results."),
2635
+ nextUrl: z__namespace.string().optional().describe("API URL for retrieving the next page of results.")
2634
2636
  }).strict().describe("Pagination metadata for navigating through multiple pages of results.")
2635
2637
  }).strict().describe("List response containing multiple version summaries with cursor-based pagination.");
2636
2638
  const unauthorizedErrorSchema = z__namespace.object({
2637
- "error": z__namespace.object({
2638
- "message": z__namespace.string(),
2639
- "type": z__namespace.enum([
2639
+ error: z__namespace.object({
2640
+ message: z__namespace.string(),
2641
+ type: z__namespace.enum([
2640
2642
  "unauthorized_error"
2641
2643
  ])
2642
2644
  }).strict()
2643
2645
  }).strict();
2644
2646
  const forbiddenErrorSchema = z__namespace.object({
2645
- "error": z__namespace.object({
2646
- "message": z__namespace.string(),
2647
- "type": z__namespace.enum([
2647
+ error: z__namespace.object({
2648
+ message: z__namespace.string(),
2649
+ type: z__namespace.enum([
2648
2650
  "forbidden_error"
2649
2651
  ])
2650
2652
  }).strict()
2651
2653
  }).strict();
2652
2654
  const notFoundErrorSchema = z__namespace.object({
2653
- "error": z__namespace.object({
2654
- "message": z__namespace.string(),
2655
- "type": z__namespace.enum([
2655
+ error: z__namespace.object({
2656
+ message: z__namespace.string(),
2657
+ type: z__namespace.enum([
2656
2658
  "not_found_error"
2657
2659
  ])
2658
2660
  }).strict()
2659
2661
  }).strict();
2660
2662
  const conflictErrorSchema = z__namespace.object({
2661
- "error": z__namespace.object({
2662
- "message": z__namespace.string(),
2663
- "type": z__namespace.enum([
2663
+ error: z__namespace.object({
2664
+ message: z__namespace.string(),
2665
+ type: z__namespace.enum([
2664
2666
  "conflict_error"
2665
2667
  ])
2666
2668
  }).strict()
2667
2669
  }).strict();
2668
2670
  const payloadTooLargeErrorSchema = z__namespace.object({
2669
- "error": z__namespace.object({
2670
- "message": z__namespace.string(),
2671
- "type": z__namespace.enum([
2671
+ error: z__namespace.object({
2672
+ message: z__namespace.string(),
2673
+ type: z__namespace.enum([
2672
2674
  "payload_too_large_error"
2673
2675
  ])
2674
2676
  }).strict()
2675
2677
  }).strict();
2676
2678
  const unprocessableEntityErrorSchema = z__namespace.object({
2677
- "error": z__namespace.object({
2678
- "message": z__namespace.string(),
2679
- "type": z__namespace.enum([
2679
+ error: z__namespace.object({
2680
+ message: z__namespace.string(),
2681
+ type: z__namespace.enum([
2680
2682
  "unprocessable_entity_error"
2681
2683
  ])
2682
2684
  }).strict()
2683
2685
  }).strict();
2684
2686
  const tooManyRequestsErrorSchema = z__namespace.object({
2685
- "error": z__namespace.object({
2686
- "message": z__namespace.string(),
2687
- "type": z__namespace.enum([
2687
+ error: z__namespace.object({
2688
+ message: z__namespace.string(),
2689
+ type: z__namespace.enum([
2688
2690
  "too_many_requests_error"
2689
2691
  ])
2690
2692
  }).strict()
2691
2693
  }).strict();
2692
2694
  const internalServerErrorSchema = z__namespace.object({
2693
- "error": z__namespace.object({
2694
- "message": z__namespace.string(),
2695
- "type": z__namespace.enum([
2695
+ error: z__namespace.object({
2696
+ message: z__namespace.string(),
2697
+ type: z__namespace.enum([
2696
2698
  "internal_server_error"
2697
2699
  ])
2698
2700
  }).strict()
@@ -2722,9 +2724,10 @@ const chatsFindQueryOffsetSchema = z__namespace.number().optional().default(0).d
2722
2724
  const chatsFindQueryIsFavoriteSchema = z__namespace.enum([
2723
2725
  "true",
2724
2726
  "false"
2725
- ]).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.");
2727
+ ]).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.');
2726
2728
  const chatsFindQueryVercelProjectIdSchema = z__namespace.string().optional().describe("Filters chats by the linked Vercel project ID. Only returns chats associated with the specified Vercel project.");
2727
2729
  const chatsFindQueryBranchSchema = z__namespace.string().optional().describe("Filters chats by the Git branch name. Only returns chats that have an active Git connection with the specified branch as the head.");
2730
+ const chatsFindQueryMetadataSchema = z__namespace.object({}).catchall(z__namespace.string().max(500)).optional().describe("Filters chats by metadata. Returns chats matching every supplied key-value pair.");
2728
2731
  const chatsFindStatus200Schema = z__namespace.unknown();
2729
2732
  const chatsFindStatus401Schema = z__namespace.unknown();
2730
2733
  const chatsFindStatus403Schema = z__namespace.unknown();
@@ -3033,7 +3036,7 @@ const chatsDownloadVersionPathVersionIdSchema = z__namespace.string().describe("
3033
3036
  const chatsDownloadVersionQueryFormatSchema = z__namespace.enum([
3034
3037
  "zip",
3035
3038
  "tarball"
3036
- ]).optional().default("zip").describe("The archive format for the download. Choose \"zip\" for broad compatibility or \"tarball\" for Unix/Linux systems.");
3039
+ ]).optional().default("zip").describe('The archive format for the download. Choose "zip" for broad compatibility or "tarball" for Unix/Linux systems.');
3037
3040
  const chatsDownloadVersionQueryIncludeDefaultFilesSchema = z__namespace.enum([
3038
3041
  "true",
3039
3042
  "false"
@@ -3188,7 +3191,7 @@ const deploymentsCreateResponseSchema = z__namespace.union([
3188
3191
  deploymentsCreateStatus429Schema,
3189
3192
  deploymentsCreateStatus500Schema
3190
3193
  ]);
3191
- const deploymentsGetByIdPathDeploymentIdSchema = z__namespace.string().describe("Path parameter \"deploymentId\"");
3194
+ const deploymentsGetByIdPathDeploymentIdSchema = z__namespace.string().describe('Path parameter "deploymentId"');
3192
3195
  const deploymentsGetByIdStatus200Schema = z__namespace.unknown();
3193
3196
  const deploymentsGetByIdStatus401Schema = z__namespace.unknown();
3194
3197
  const deploymentsGetByIdStatus403Schema = z__namespace.unknown();
@@ -3209,7 +3212,7 @@ const deploymentsGetByIdResponseSchema = z__namespace.union([
3209
3212
  deploymentsGetByIdStatus429Schema,
3210
3213
  deploymentsGetByIdStatus500Schema
3211
3214
  ]);
3212
- const deploymentsDeletePathDeploymentIdSchema = z__namespace.string().describe("Path parameter \"deploymentId\"");
3215
+ const deploymentsDeletePathDeploymentIdSchema = z__namespace.string().describe('Path parameter "deploymentId"');
3213
3216
  const deploymentsDeleteStatus200Schema = z__namespace.unknown();
3214
3217
  const deploymentsDeleteStatus401Schema = z__namespace.unknown();
3215
3218
  const deploymentsDeleteStatus403Schema = z__namespace.unknown();
@@ -3790,11 +3793,11 @@ const chatsRestoreResponseSchema = z__namespace.union([
3790
3793
  chatsRestoreStatus429Schema,
3791
3794
  chatsRestoreStatus500Schema
3792
3795
  ]);
3793
- const reportsGetUsageQueryStartDateSchema = z__namespace.iso.datetime().optional().describe("Query parameter \"startDate\"");
3794
- const reportsGetUsageQueryEndDateSchema = z__namespace.iso.datetime().optional().describe("Query parameter \"endDate\"");
3795
- const reportsGetUsageQueryChatIdSchema = z__namespace.string().optional().describe("Query parameter \"chatId\"");
3796
- const reportsGetUsageQueryMessageIdSchema = z__namespace.string().optional().describe("Query parameter \"messageId\"");
3797
- const reportsGetUsageQueryUserIdSchema = z__namespace.string().optional().describe("Query parameter \"userId\"");
3796
+ const reportsGetUsageQueryStartDateSchema = z__namespace.iso.datetime().optional().describe('Query parameter "startDate"');
3797
+ const reportsGetUsageQueryEndDateSchema = z__namespace.iso.datetime().optional().describe('Query parameter "endDate"');
3798
+ const reportsGetUsageQueryChatIdSchema = z__namespace.string().optional().describe('Query parameter "chatId"');
3799
+ const reportsGetUsageQueryMessageIdSchema = z__namespace.string().optional().describe('Query parameter "messageId"');
3800
+ const reportsGetUsageQueryUserIdSchema = z__namespace.string().optional().describe('Query parameter "userId"');
3798
3801
  const reportsGetUsageQueryLimitSchema = z__namespace.number().min(1).max(150).optional().default(20).describe("Bounds the raw billing transactions scanned per ledger group and page. A page can contain more events than this value (large teams are scanned in parallel ledger groups), and a filtered page (chatId, userId, or messageId) can contain fewer or zero events while more data remains. Events are sorted newest-first within a page but not across pages on large teams. Always paginate with `pagination.hasMore` and `pagination.nextCursor` rather than stopping on an empty page.");
3799
3802
  const reportsGetUsageQueryCursorSchema = z__namespace.string().optional().describe("Base64 encoded cursor containing pagination data");
3800
3803
  const reportsGetUsageStatus200Schema = z__namespace.unknown();
@@ -3989,9 +3992,9 @@ const mcpServersCreateOAuthAuthorizationUrlResponseSchema = z__namespace.union([
3989
3992
  ]);
3990
3993
 
3991
3994
  /**
3992
- * Generated by Kubb (https://kubb.dev/).
3993
- * Do not edit manually.
3994
- */ const chatDetailObjectEnum = {
3995
+ * Generated by Kubb (https://kubb.dev/).
3996
+ * Do not edit manually.
3997
+ */ const chatDetailObjectEnum = {
3995
3998
  chat: "chat"
3996
3999
  };
3997
4000
  const chatDetailPrivacyEnum = {
@@ -4417,6 +4420,7 @@ exports.chatsFindMessagesStatus500Schema = chatsFindMessagesStatus500Schema;
4417
4420
  exports.chatsFindQueryBranchSchema = chatsFindQueryBranchSchema;
4418
4421
  exports.chatsFindQueryIsFavoriteSchema = chatsFindQueryIsFavoriteSchema;
4419
4422
  exports.chatsFindQueryLimitSchema = chatsFindQueryLimitSchema;
4423
+ exports.chatsFindQueryMetadataSchema = chatsFindQueryMetadataSchema;
4420
4424
  exports.chatsFindQueryOffsetSchema = chatsFindQueryOffsetSchema;
4421
4425
  exports.chatsFindQueryVercelProjectIdSchema = chatsFindQueryVercelProjectIdSchema;
4422
4426
  exports.chatsFindResponseSchema = chatsFindResponseSchema;