@ai-matrx/desktop-protocol 0.17.4 → 0.17.6
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/CHANGELOG.md +26 -0
- package/dist/client.cjs +141 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +141 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +468 -265
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +413 -6
- package/dist/index.d.ts +413 -6
- package/dist/index.js +468 -265
- package/dist/index.js.map +1 -1
- package/dist/{models-9j0ncAJj.d.cts → models-B9tM6Hnx.d.cts} +722 -3
- package/dist/{models-9j0ncAJj.d.ts → models-B9tM6Hnx.d.ts} +722 -3
- package/dist/react.d.cts +377 -0
- package/dist/react.d.ts +377 -0
- package/generated/desktop-protocol.schema.json +998 -59
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -1093,6 +1093,13 @@ declare const OPS: {
|
|
|
1093
1093
|
}, z.core.$strict>>;
|
|
1094
1094
|
}, z.core.$strict>>;
|
|
1095
1095
|
new_window_ms: z.ZodInt;
|
|
1096
|
+
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1097
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
1098
|
+
families: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1099
|
+
id: z.ZodString;
|
|
1100
|
+
fork_of: z.ZodNullable<z.ZodString>;
|
|
1101
|
+
copy_of: z.ZodNullable<z.ZodString>;
|
|
1102
|
+
}, z.core.$strict>>>;
|
|
1096
1103
|
}, z.core.$strict>;
|
|
1097
1104
|
readonly kind: "unary";
|
|
1098
1105
|
readonly since: "1.8";
|
|
@@ -1221,6 +1228,161 @@ declare const OPS: {
|
|
|
1221
1228
|
readonly since: "1.8";
|
|
1222
1229
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1223
1230
|
};
|
|
1231
|
+
readonly "apps.chats.place": {
|
|
1232
|
+
readonly params: z.ZodObject<{
|
|
1233
|
+
app_key: z.ZodString;
|
|
1234
|
+
chat_id: z.ZodString;
|
|
1235
|
+
action: z.ZodEnum<{
|
|
1236
|
+
place: "place";
|
|
1237
|
+
take_off: "take_off";
|
|
1238
|
+
hold: "hold";
|
|
1239
|
+
}>;
|
|
1240
|
+
window: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
stop_if_open: z.ZodDefault<z.ZodBoolean>;
|
|
1242
|
+
}, z.core.$strict>;
|
|
1243
|
+
readonly result: z.ZodObject<{
|
|
1244
|
+
chat: z.ZodObject<{
|
|
1245
|
+
id: z.ZodString;
|
|
1246
|
+
short_id: z.ZodString;
|
|
1247
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1248
|
+
title: z.ZodString;
|
|
1249
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1250
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1251
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1252
|
+
starred: z.ZodBoolean;
|
|
1253
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1254
|
+
window: z.ZodString;
|
|
1255
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1256
|
+
}, z.core.$strict>>;
|
|
1257
|
+
places: z.ZodArray<z.ZodString>;
|
|
1258
|
+
held: z.ZodBoolean;
|
|
1259
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1260
|
+
window: z.ZodString;
|
|
1261
|
+
how: z.ZodEnum<{
|
|
1262
|
+
process: "process";
|
|
1263
|
+
activity: "activity";
|
|
1264
|
+
}>;
|
|
1265
|
+
}, z.core.$strict>>;
|
|
1266
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1267
|
+
window: z.ZodString;
|
|
1268
|
+
reason: z.ZodString;
|
|
1269
|
+
}, z.core.$strict>>;
|
|
1270
|
+
hidden_from_main: z.ZodBoolean;
|
|
1271
|
+
main_pending: z.ZodBoolean;
|
|
1272
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1273
|
+
new_unfiled: z.ZodBoolean;
|
|
1274
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1275
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1276
|
+
at_ms: z.ZodInt;
|
|
1277
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1278
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1279
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1280
|
+
cache_warm: z.ZodBoolean;
|
|
1281
|
+
cache_minutes_left: z.ZodInt;
|
|
1282
|
+
}, z.core.$strict>>;
|
|
1283
|
+
}, z.core.$strict>;
|
|
1284
|
+
message: z.ZodString;
|
|
1285
|
+
}, z.core.$strict>;
|
|
1286
|
+
readonly kind: "unary";
|
|
1287
|
+
readonly since: "1.9";
|
|
1288
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1289
|
+
};
|
|
1290
|
+
readonly "apps.projects.file_many": {
|
|
1291
|
+
readonly params: z.ZodObject<{
|
|
1292
|
+
app_key: z.ZodString;
|
|
1293
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
1294
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
}, z.core.$strict>;
|
|
1297
|
+
readonly result: z.ZodObject<{
|
|
1298
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1299
|
+
id: z.ZodString;
|
|
1300
|
+
short_id: z.ZodString;
|
|
1301
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
title: z.ZodString;
|
|
1303
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1304
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1305
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1306
|
+
starred: z.ZodBoolean;
|
|
1307
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1308
|
+
window: z.ZodString;
|
|
1309
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1310
|
+
}, z.core.$strict>>;
|
|
1311
|
+
places: z.ZodArray<z.ZodString>;
|
|
1312
|
+
held: z.ZodBoolean;
|
|
1313
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1314
|
+
window: z.ZodString;
|
|
1315
|
+
how: z.ZodEnum<{
|
|
1316
|
+
process: "process";
|
|
1317
|
+
activity: "activity";
|
|
1318
|
+
}>;
|
|
1319
|
+
}, z.core.$strict>>;
|
|
1320
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1321
|
+
window: z.ZodString;
|
|
1322
|
+
reason: z.ZodString;
|
|
1323
|
+
}, z.core.$strict>>;
|
|
1324
|
+
hidden_from_main: z.ZodBoolean;
|
|
1325
|
+
main_pending: z.ZodBoolean;
|
|
1326
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1327
|
+
new_unfiled: z.ZodBoolean;
|
|
1328
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1329
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1330
|
+
at_ms: z.ZodInt;
|
|
1331
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1333
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1334
|
+
cache_warm: z.ZodBoolean;
|
|
1335
|
+
cache_minutes_left: z.ZodInt;
|
|
1336
|
+
}, z.core.$strict>>;
|
|
1337
|
+
}, z.core.$strict>>;
|
|
1338
|
+
project: z.ZodObject<{
|
|
1339
|
+
id: z.ZodString;
|
|
1340
|
+
name: z.ZodString;
|
|
1341
|
+
archived: z.ZodBoolean;
|
|
1342
|
+
count: z.ZodInt;
|
|
1343
|
+
}, z.core.$strict>;
|
|
1344
|
+
}, z.core.$strict>;
|
|
1345
|
+
readonly kind: "unary";
|
|
1346
|
+
readonly since: "1.9";
|
|
1347
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1348
|
+
};
|
|
1349
|
+
readonly "apps.projects.update": {
|
|
1350
|
+
readonly params: z.ZodObject<{
|
|
1351
|
+
app_key: z.ZodString;
|
|
1352
|
+
project_id: z.ZodString;
|
|
1353
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1355
|
+
}, z.core.$strict>;
|
|
1356
|
+
readonly result: z.ZodObject<{
|
|
1357
|
+
project: z.ZodObject<{
|
|
1358
|
+
id: z.ZodString;
|
|
1359
|
+
name: z.ZodString;
|
|
1360
|
+
archived: z.ZodBoolean;
|
|
1361
|
+
count: z.ZodInt;
|
|
1362
|
+
}, z.core.$strict>;
|
|
1363
|
+
}, z.core.$strict>;
|
|
1364
|
+
readonly kind: "unary";
|
|
1365
|
+
readonly since: "1.9";
|
|
1366
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1367
|
+
};
|
|
1368
|
+
readonly "apps.projects.copy": {
|
|
1369
|
+
readonly params: z.ZodObject<{
|
|
1370
|
+
app_key: z.ZodString;
|
|
1371
|
+
project_id: z.ZodString;
|
|
1372
|
+
new_project_name: z.ZodString;
|
|
1373
|
+
}, z.core.$strict>;
|
|
1374
|
+
readonly result: z.ZodObject<{
|
|
1375
|
+
project: z.ZodObject<{
|
|
1376
|
+
id: z.ZodString;
|
|
1377
|
+
name: z.ZodString;
|
|
1378
|
+
archived: z.ZodBoolean;
|
|
1379
|
+
count: z.ZodInt;
|
|
1380
|
+
}, z.core.$strict>;
|
|
1381
|
+
}, z.core.$strict>;
|
|
1382
|
+
readonly kind: "unary";
|
|
1383
|
+
readonly since: "1.9";
|
|
1384
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1385
|
+
};
|
|
1224
1386
|
readonly "apps.projects.unfile": {
|
|
1225
1387
|
readonly params: z.ZodObject<{
|
|
1226
1388
|
app_key: z.ZodString;
|
|
@@ -1273,6 +1435,215 @@ declare const OPS: {
|
|
|
1273
1435
|
readonly since: "1.8";
|
|
1274
1436
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1275
1437
|
};
|
|
1438
|
+
readonly "apps.windows.list": {
|
|
1439
|
+
readonly params: z.ZodObject<{
|
|
1440
|
+
app_key: z.ZodString;
|
|
1441
|
+
}, z.core.$strict>;
|
|
1442
|
+
readonly result: z.ZodObject<{
|
|
1443
|
+
app_key: z.ZodString;
|
|
1444
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1445
|
+
key: z.ZodString;
|
|
1446
|
+
main: z.ZodBoolean;
|
|
1447
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1448
|
+
signed_in: z.ZodNullable<z.ZodString>;
|
|
1449
|
+
signed_in_is_email: z.ZodBoolean;
|
|
1450
|
+
mismatch: z.ZodBoolean;
|
|
1451
|
+
created: z.ZodBoolean;
|
|
1452
|
+
running: z.ZodBoolean;
|
|
1453
|
+
open_chats: z.ZodInt;
|
|
1454
|
+
}, z.core.$strict>>;
|
|
1455
|
+
}, z.core.$strict>;
|
|
1456
|
+
readonly kind: "unary";
|
|
1457
|
+
readonly since: "1.10";
|
|
1458
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1459
|
+
};
|
|
1460
|
+
readonly "apps.windows.open": {
|
|
1461
|
+
readonly params: z.ZodObject<{
|
|
1462
|
+
app_key: z.ZodString;
|
|
1463
|
+
window: z.ZodString;
|
|
1464
|
+
}, z.core.$strict>;
|
|
1465
|
+
readonly result: z.ZodObject<{
|
|
1466
|
+
message: z.ZodString;
|
|
1467
|
+
}, z.core.$strict>;
|
|
1468
|
+
readonly kind: "unary";
|
|
1469
|
+
readonly since: "1.10";
|
|
1470
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1471
|
+
};
|
|
1472
|
+
readonly "apps.windows.reload": {
|
|
1473
|
+
readonly params: z.ZodObject<{
|
|
1474
|
+
app_key: z.ZodString;
|
|
1475
|
+
window: z.ZodString;
|
|
1476
|
+
}, z.core.$strict>;
|
|
1477
|
+
readonly result: z.ZodObject<{
|
|
1478
|
+
message: z.ZodString;
|
|
1479
|
+
}, z.core.$strict>;
|
|
1480
|
+
readonly kind: "unary";
|
|
1481
|
+
readonly since: "1.10";
|
|
1482
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1483
|
+
};
|
|
1484
|
+
readonly "apps.windows.restart": {
|
|
1485
|
+
readonly params: z.ZodObject<{
|
|
1486
|
+
app_key: z.ZodString;
|
|
1487
|
+
window: z.ZodString;
|
|
1488
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
1489
|
+
}, z.core.$strict>;
|
|
1490
|
+
readonly result: z.ZodObject<{
|
|
1491
|
+
message: z.ZodString;
|
|
1492
|
+
}, z.core.$strict>;
|
|
1493
|
+
readonly kind: "unary";
|
|
1494
|
+
readonly since: "1.10";
|
|
1495
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1496
|
+
};
|
|
1497
|
+
readonly "apps.windows.refresh_usage": {
|
|
1498
|
+
readonly params: z.ZodObject<{
|
|
1499
|
+
app_key: z.ZodString;
|
|
1500
|
+
window: z.ZodString;
|
|
1501
|
+
}, z.core.$strict>;
|
|
1502
|
+
readonly result: z.ZodObject<{
|
|
1503
|
+
message: z.ZodString;
|
|
1504
|
+
}, z.core.$strict>;
|
|
1505
|
+
readonly kind: "unary";
|
|
1506
|
+
readonly since: "1.10";
|
|
1507
|
+
readonly errors: readonly ["NOT_FOUND", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1508
|
+
};
|
|
1509
|
+
readonly "apps.accounts.usage": {
|
|
1510
|
+
readonly params: z.ZodObject<{
|
|
1511
|
+
app_key: z.ZodString;
|
|
1512
|
+
}, z.core.$strict>;
|
|
1513
|
+
readonly result: z.ZodObject<{
|
|
1514
|
+
app_key: z.ZodString;
|
|
1515
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1516
|
+
account: z.ZodString;
|
|
1517
|
+
org: z.ZodNullable<z.ZodString>;
|
|
1518
|
+
account_certain: z.ZodBoolean;
|
|
1519
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
1520
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
1521
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
1522
|
+
weekly_reset_since: z.ZodBoolean;
|
|
1523
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
1524
|
+
extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
1525
|
+
as_of_ms: z.ZodInt;
|
|
1526
|
+
windows: z.ZodArray<z.ZodString>;
|
|
1527
|
+
live: z.ZodBoolean;
|
|
1528
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1529
|
+
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
1530
|
+
}, z.core.$strict>>;
|
|
1531
|
+
}, z.core.$strict>;
|
|
1532
|
+
readonly kind: "unary";
|
|
1533
|
+
readonly since: "1.10";
|
|
1534
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1535
|
+
};
|
|
1536
|
+
readonly "apps.accounts.resets": {
|
|
1537
|
+
readonly params: z.ZodObject<{
|
|
1538
|
+
app_key: z.ZodString;
|
|
1539
|
+
}, z.core.$strict>;
|
|
1540
|
+
readonly result: z.ZodObject<{
|
|
1541
|
+
app_key: z.ZodString;
|
|
1542
|
+
resets: z.ZodArray<z.ZodObject<{
|
|
1543
|
+
window: z.ZodString;
|
|
1544
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1545
|
+
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
1546
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1547
|
+
claude: "claude";
|
|
1548
|
+
usage_history: "usage_history";
|
|
1549
|
+
your_list: "your_list";
|
|
1550
|
+
}>>;
|
|
1551
|
+
official: z.ZodBoolean;
|
|
1552
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1553
|
+
}, z.core.$strict>>;
|
|
1554
|
+
}, z.core.$strict>;
|
|
1555
|
+
readonly kind: "unary";
|
|
1556
|
+
readonly since: "1.10";
|
|
1557
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1558
|
+
};
|
|
1559
|
+
readonly "apps.projects.move": {
|
|
1560
|
+
readonly params: z.ZodObject<{
|
|
1561
|
+
app_key: z.ZodString;
|
|
1562
|
+
chat_id: z.ZodString;
|
|
1563
|
+
from_project_id: z.ZodString;
|
|
1564
|
+
to_project_id: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
}, z.core.$strict>;
|
|
1567
|
+
readonly result: z.ZodObject<{
|
|
1568
|
+
chat: z.ZodObject<{
|
|
1569
|
+
id: z.ZodString;
|
|
1570
|
+
short_id: z.ZodString;
|
|
1571
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1572
|
+
title: z.ZodString;
|
|
1573
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1574
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1575
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1576
|
+
starred: z.ZodBoolean;
|
|
1577
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1578
|
+
window: z.ZodString;
|
|
1579
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1580
|
+
}, z.core.$strict>>;
|
|
1581
|
+
places: z.ZodArray<z.ZodString>;
|
|
1582
|
+
held: z.ZodBoolean;
|
|
1583
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1584
|
+
window: z.ZodString;
|
|
1585
|
+
how: z.ZodEnum<{
|
|
1586
|
+
process: "process";
|
|
1587
|
+
activity: "activity";
|
|
1588
|
+
}>;
|
|
1589
|
+
}, z.core.$strict>>;
|
|
1590
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1591
|
+
window: z.ZodString;
|
|
1592
|
+
reason: z.ZodString;
|
|
1593
|
+
}, z.core.$strict>>;
|
|
1594
|
+
hidden_from_main: z.ZodBoolean;
|
|
1595
|
+
main_pending: z.ZodBoolean;
|
|
1596
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1597
|
+
new_unfiled: z.ZodBoolean;
|
|
1598
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1599
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1600
|
+
at_ms: z.ZodInt;
|
|
1601
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1602
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1603
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1604
|
+
cache_warm: z.ZodBoolean;
|
|
1605
|
+
cache_minutes_left: z.ZodInt;
|
|
1606
|
+
}, z.core.$strict>>;
|
|
1607
|
+
}, z.core.$strict>;
|
|
1608
|
+
project: z.ZodObject<{
|
|
1609
|
+
id: z.ZodString;
|
|
1610
|
+
name: z.ZodString;
|
|
1611
|
+
archived: z.ZodBoolean;
|
|
1612
|
+
count: z.ZodInt;
|
|
1613
|
+
}, z.core.$strict>;
|
|
1614
|
+
}, z.core.$strict>;
|
|
1615
|
+
readonly kind: "unary";
|
|
1616
|
+
readonly since: "1.10";
|
|
1617
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1618
|
+
};
|
|
1619
|
+
readonly "apps.projects.create": {
|
|
1620
|
+
readonly params: z.ZodObject<{
|
|
1621
|
+
app_key: z.ZodString;
|
|
1622
|
+
name: z.ZodString;
|
|
1623
|
+
}, z.core.$strict>;
|
|
1624
|
+
readonly result: z.ZodObject<{
|
|
1625
|
+
project: z.ZodObject<{
|
|
1626
|
+
id: z.ZodString;
|
|
1627
|
+
name: z.ZodString;
|
|
1628
|
+
archived: z.ZodBoolean;
|
|
1629
|
+
count: z.ZodInt;
|
|
1630
|
+
}, z.core.$strict>;
|
|
1631
|
+
}, z.core.$strict>;
|
|
1632
|
+
readonly kind: "unary";
|
|
1633
|
+
readonly since: "1.10";
|
|
1634
|
+
readonly errors: readonly ["INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1635
|
+
};
|
|
1636
|
+
readonly "apps.projects.import_pins": {
|
|
1637
|
+
readonly params: z.ZodObject<{
|
|
1638
|
+
app_key: z.ZodString;
|
|
1639
|
+
}, z.core.$strict>;
|
|
1640
|
+
readonly result: z.ZodObject<{
|
|
1641
|
+
message: z.ZodString;
|
|
1642
|
+
}, z.core.$strict>;
|
|
1643
|
+
readonly kind: "unary";
|
|
1644
|
+
readonly since: "1.10";
|
|
1645
|
+
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1646
|
+
};
|
|
1276
1647
|
readonly "proc.list": {
|
|
1277
1648
|
readonly params: z.ZodObject<{
|
|
1278
1649
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2028,6 +2399,12 @@ declare const EVENTS: {
|
|
|
2028
2399
|
ids: z.ZodArray<z.ZodString>;
|
|
2029
2400
|
all: z.ZodBoolean;
|
|
2030
2401
|
}, z.core.$strict>;
|
|
2402
|
+
readonly "apps.chats.watch_state": z.ZodObject<{
|
|
2403
|
+
app_key: z.ZodString;
|
|
2404
|
+
live: z.ZodBoolean;
|
|
2405
|
+
updating: z.ZodBoolean;
|
|
2406
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2407
|
+
}, z.core.$strict>;
|
|
2031
2408
|
readonly "exec.exited": z.ZodObject<{
|
|
2032
2409
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2033
2410
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|