@ai-matrx/desktop-protocol 0.17.3 → 0.17.4
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 +12 -0
- package/dist/client.cjs +115 -1
- 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 +115 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +418 -262
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +348 -9
- package/dist/index.d.ts +348 -9
- package/dist/index.js +418 -262
- package/dist/index.js.map +1 -1
- package/dist/{models-BiquRLLO.d.cts → models-9j0ncAJj.d.cts} +548 -4
- package/dist/{models-BiquRLLO.d.ts → models-9j0ncAJj.d.ts} +548 -4
- package/dist/react.d.cts +246 -0
- package/dist/react.d.ts +246 -0
- package/generated/desktop-protocol.schema.json +635 -1
- package/package.json +1 -1
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -1573,6 +1573,246 @@ declare const OPS: {
|
|
|
1573
1573
|
readonly since: "1.2";
|
|
1574
1574
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "AUTH_REQUIRED", "DEVICE_OFFLINE", "INTERNAL"];
|
|
1575
1575
|
};
|
|
1576
|
+
readonly "apps.chats.list": {
|
|
1577
|
+
readonly params: z.ZodObject<{
|
|
1578
|
+
app_key: z.ZodString;
|
|
1579
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1580
|
+
}, z.core.$strict>;
|
|
1581
|
+
readonly result: z.ZodObject<{
|
|
1582
|
+
app_key: z.ZodString;
|
|
1583
|
+
version: z.ZodInt;
|
|
1584
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1585
|
+
key: z.ZodString;
|
|
1586
|
+
main: z.ZodBoolean;
|
|
1587
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1588
|
+
}, z.core.$strict>>;
|
|
1589
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
1590
|
+
id: z.ZodString;
|
|
1591
|
+
name: z.ZodString;
|
|
1592
|
+
archived: z.ZodBoolean;
|
|
1593
|
+
count: z.ZodInt;
|
|
1594
|
+
}, z.core.$strict>>;
|
|
1595
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1596
|
+
id: z.ZodString;
|
|
1597
|
+
short_id: z.ZodString;
|
|
1598
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1599
|
+
title: z.ZodString;
|
|
1600
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1601
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1602
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1603
|
+
starred: z.ZodBoolean;
|
|
1604
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1605
|
+
window: z.ZodString;
|
|
1606
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1607
|
+
}, z.core.$strict>>;
|
|
1608
|
+
places: z.ZodArray<z.ZodString>;
|
|
1609
|
+
held: z.ZodBoolean;
|
|
1610
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1611
|
+
window: z.ZodString;
|
|
1612
|
+
how: z.ZodEnum<{
|
|
1613
|
+
process: "process";
|
|
1614
|
+
activity: "activity";
|
|
1615
|
+
}>;
|
|
1616
|
+
}, z.core.$strict>>;
|
|
1617
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1618
|
+
window: z.ZodString;
|
|
1619
|
+
reason: z.ZodString;
|
|
1620
|
+
}, z.core.$strict>>;
|
|
1621
|
+
hidden_from_main: z.ZodBoolean;
|
|
1622
|
+
main_pending: z.ZodBoolean;
|
|
1623
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1624
|
+
new_unfiled: z.ZodBoolean;
|
|
1625
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1626
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1627
|
+
at_ms: z.ZodInt;
|
|
1628
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1629
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1630
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1631
|
+
cache_warm: z.ZodBoolean;
|
|
1632
|
+
cache_minutes_left: z.ZodInt;
|
|
1633
|
+
}, z.core.$strict>>;
|
|
1634
|
+
}, z.core.$strict>>;
|
|
1635
|
+
new_window_ms: z.ZodInt;
|
|
1636
|
+
}, z.core.$strict>;
|
|
1637
|
+
readonly kind: "unary";
|
|
1638
|
+
readonly since: "1.8";
|
|
1639
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1640
|
+
};
|
|
1641
|
+
readonly "apps.chats.watch": {
|
|
1642
|
+
readonly params: z.ZodObject<{
|
|
1643
|
+
app_key: z.ZodString;
|
|
1644
|
+
}, z.core.$strict>;
|
|
1645
|
+
readonly result: z.ZodObject<{
|
|
1646
|
+
resource_id: z.ZodString;
|
|
1647
|
+
version: z.ZodInt;
|
|
1648
|
+
}, z.core.$strict>;
|
|
1649
|
+
readonly kind: "resource";
|
|
1650
|
+
readonly since: "1.8";
|
|
1651
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
1652
|
+
};
|
|
1653
|
+
readonly "apps.chats.star": {
|
|
1654
|
+
readonly params: z.ZodObject<{
|
|
1655
|
+
app_key: z.ZodString;
|
|
1656
|
+
chat_id: z.ZodString;
|
|
1657
|
+
starred: z.ZodBoolean;
|
|
1658
|
+
}, z.core.$strict>;
|
|
1659
|
+
readonly result: z.ZodObject<{
|
|
1660
|
+
chat: z.ZodObject<{
|
|
1661
|
+
id: z.ZodString;
|
|
1662
|
+
short_id: z.ZodString;
|
|
1663
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1664
|
+
title: z.ZodString;
|
|
1665
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1666
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1667
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1668
|
+
starred: z.ZodBoolean;
|
|
1669
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1670
|
+
window: z.ZodString;
|
|
1671
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1672
|
+
}, z.core.$strict>>;
|
|
1673
|
+
places: z.ZodArray<z.ZodString>;
|
|
1674
|
+
held: z.ZodBoolean;
|
|
1675
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1676
|
+
window: z.ZodString;
|
|
1677
|
+
how: z.ZodEnum<{
|
|
1678
|
+
process: "process";
|
|
1679
|
+
activity: "activity";
|
|
1680
|
+
}>;
|
|
1681
|
+
}, z.core.$strict>>;
|
|
1682
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1683
|
+
window: z.ZodString;
|
|
1684
|
+
reason: z.ZodString;
|
|
1685
|
+
}, z.core.$strict>>;
|
|
1686
|
+
hidden_from_main: z.ZodBoolean;
|
|
1687
|
+
main_pending: z.ZodBoolean;
|
|
1688
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1689
|
+
new_unfiled: z.ZodBoolean;
|
|
1690
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1691
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1692
|
+
at_ms: z.ZodInt;
|
|
1693
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1694
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1695
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1696
|
+
cache_warm: z.ZodBoolean;
|
|
1697
|
+
cache_minutes_left: z.ZodInt;
|
|
1698
|
+
}, z.core.$strict>>;
|
|
1699
|
+
}, z.core.$strict>;
|
|
1700
|
+
}, z.core.$strict>;
|
|
1701
|
+
readonly kind: "unary";
|
|
1702
|
+
readonly since: "1.8";
|
|
1703
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1704
|
+
};
|
|
1705
|
+
readonly "apps.projects.file": {
|
|
1706
|
+
readonly params: z.ZodObject<{
|
|
1707
|
+
app_key: z.ZodString;
|
|
1708
|
+
chat_id: z.ZodString;
|
|
1709
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1711
|
+
}, z.core.$strict>;
|
|
1712
|
+
readonly result: z.ZodObject<{
|
|
1713
|
+
chat: z.ZodObject<{
|
|
1714
|
+
id: z.ZodString;
|
|
1715
|
+
short_id: z.ZodString;
|
|
1716
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1717
|
+
title: z.ZodString;
|
|
1718
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1719
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1720
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1721
|
+
starred: z.ZodBoolean;
|
|
1722
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1723
|
+
window: z.ZodString;
|
|
1724
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1725
|
+
}, z.core.$strict>>;
|
|
1726
|
+
places: z.ZodArray<z.ZodString>;
|
|
1727
|
+
held: z.ZodBoolean;
|
|
1728
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1729
|
+
window: z.ZodString;
|
|
1730
|
+
how: z.ZodEnum<{
|
|
1731
|
+
process: "process";
|
|
1732
|
+
activity: "activity";
|
|
1733
|
+
}>;
|
|
1734
|
+
}, z.core.$strict>>;
|
|
1735
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1736
|
+
window: z.ZodString;
|
|
1737
|
+
reason: z.ZodString;
|
|
1738
|
+
}, z.core.$strict>>;
|
|
1739
|
+
hidden_from_main: z.ZodBoolean;
|
|
1740
|
+
main_pending: z.ZodBoolean;
|
|
1741
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1742
|
+
new_unfiled: z.ZodBoolean;
|
|
1743
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1744
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1745
|
+
at_ms: z.ZodInt;
|
|
1746
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1747
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1748
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1749
|
+
cache_warm: z.ZodBoolean;
|
|
1750
|
+
cache_minutes_left: z.ZodInt;
|
|
1751
|
+
}, z.core.$strict>>;
|
|
1752
|
+
}, z.core.$strict>;
|
|
1753
|
+
project: z.ZodObject<{
|
|
1754
|
+
id: z.ZodString;
|
|
1755
|
+
name: z.ZodString;
|
|
1756
|
+
archived: z.ZodBoolean;
|
|
1757
|
+
count: z.ZodInt;
|
|
1758
|
+
}, z.core.$strict>;
|
|
1759
|
+
}, z.core.$strict>;
|
|
1760
|
+
readonly kind: "unary";
|
|
1761
|
+
readonly since: "1.8";
|
|
1762
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1763
|
+
};
|
|
1764
|
+
readonly "apps.projects.unfile": {
|
|
1765
|
+
readonly params: z.ZodObject<{
|
|
1766
|
+
app_key: z.ZodString;
|
|
1767
|
+
chat_id: z.ZodString;
|
|
1768
|
+
project_id: z.ZodString;
|
|
1769
|
+
}, z.core.$strict>;
|
|
1770
|
+
readonly result: z.ZodObject<{
|
|
1771
|
+
chat: z.ZodObject<{
|
|
1772
|
+
id: z.ZodString;
|
|
1773
|
+
short_id: z.ZodString;
|
|
1774
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1775
|
+
title: z.ZodString;
|
|
1776
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1777
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1778
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1779
|
+
starred: z.ZodBoolean;
|
|
1780
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1781
|
+
window: z.ZodString;
|
|
1782
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1783
|
+
}, z.core.$strict>>;
|
|
1784
|
+
places: z.ZodArray<z.ZodString>;
|
|
1785
|
+
held: z.ZodBoolean;
|
|
1786
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1787
|
+
window: z.ZodString;
|
|
1788
|
+
how: z.ZodEnum<{
|
|
1789
|
+
process: "process";
|
|
1790
|
+
activity: "activity";
|
|
1791
|
+
}>;
|
|
1792
|
+
}, z.core.$strict>>;
|
|
1793
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1794
|
+
window: z.ZodString;
|
|
1795
|
+
reason: z.ZodString;
|
|
1796
|
+
}, z.core.$strict>>;
|
|
1797
|
+
hidden_from_main: z.ZodBoolean;
|
|
1798
|
+
main_pending: z.ZodBoolean;
|
|
1799
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1800
|
+
new_unfiled: z.ZodBoolean;
|
|
1801
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1802
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1803
|
+
at_ms: z.ZodInt;
|
|
1804
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1805
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1806
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1807
|
+
cache_warm: z.ZodBoolean;
|
|
1808
|
+
cache_minutes_left: z.ZodInt;
|
|
1809
|
+
}, z.core.$strict>>;
|
|
1810
|
+
}, z.core.$strict>;
|
|
1811
|
+
}, z.core.$strict>;
|
|
1812
|
+
readonly kind: "unary";
|
|
1813
|
+
readonly since: "1.8";
|
|
1814
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1815
|
+
};
|
|
1576
1816
|
readonly "proc.list": {
|
|
1577
1817
|
readonly params: z.ZodObject<{
|
|
1578
1818
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2322,6 +2562,12 @@ declare const EVENTS: {
|
|
|
2322
2562
|
}, z.core.$strict>>;
|
|
2323
2563
|
overflow: z.ZodBoolean;
|
|
2324
2564
|
}, z.core.$strict>;
|
|
2565
|
+
readonly "apps.chats.changed": z.ZodObject<{
|
|
2566
|
+
app_key: z.ZodString;
|
|
2567
|
+
version: z.ZodInt;
|
|
2568
|
+
ids: z.ZodArray<z.ZodString>;
|
|
2569
|
+
all: z.ZodBoolean;
|
|
2570
|
+
}, z.core.$strict>;
|
|
2325
2571
|
readonly "exec.exited": z.ZodObject<{
|
|
2326
2572
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2327
2573
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|
|
@@ -5148,9 +5394,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5148
5394
|
}, z.core.$strict>>;
|
|
5149
5395
|
}, z.core.$strict>;
|
|
5150
5396
|
readonly ToolLevel: z.ZodEnum<{
|
|
5397
|
+
chat: "chat";
|
|
5151
5398
|
programmatic: "programmatic";
|
|
5152
5399
|
protocol: "protocol";
|
|
5153
|
-
chat: "chat";
|
|
5154
5400
|
}>;
|
|
5155
5401
|
readonly ToolOutcome: z.ZodEnum<{
|
|
5156
5402
|
pass: "pass";
|
|
@@ -5172,9 +5418,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5172
5418
|
readonly ToolLevelResult: z.ZodObject<{
|
|
5173
5419
|
tool: z.ZodString;
|
|
5174
5420
|
level: z.ZodEnum<{
|
|
5421
|
+
chat: "chat";
|
|
5175
5422
|
programmatic: "programmatic";
|
|
5176
5423
|
protocol: "protocol";
|
|
5177
|
-
chat: "chat";
|
|
5178
5424
|
}>;
|
|
5179
5425
|
platform: z.ZodEnum<{
|
|
5180
5426
|
darwin: "darwin";
|
|
@@ -5204,9 +5450,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5204
5450
|
results: z.ZodArray<z.ZodObject<{
|
|
5205
5451
|
tool: z.ZodString;
|
|
5206
5452
|
level: z.ZodEnum<{
|
|
5453
|
+
chat: "chat";
|
|
5207
5454
|
programmatic: "programmatic";
|
|
5208
5455
|
protocol: "protocol";
|
|
5209
|
-
chat: "chat";
|
|
5210
5456
|
}>;
|
|
5211
5457
|
platform: z.ZodEnum<{
|
|
5212
5458
|
darwin: "darwin";
|
|
@@ -5398,6 +5644,304 @@ declare const NAMED_SCHEMAS: {
|
|
|
5398
5644
|
already_running: z.ZodBoolean;
|
|
5399
5645
|
folder: z.ZodNullable<z.ZodString>;
|
|
5400
5646
|
}, z.core.$strict>;
|
|
5647
|
+
readonly ChatId: z.ZodString;
|
|
5648
|
+
readonly ChatPlace: z.ZodString;
|
|
5649
|
+
readonly ChatProjectId: z.ZodString;
|
|
5650
|
+
readonly ChatWindow: z.ZodObject<{
|
|
5651
|
+
key: z.ZodString;
|
|
5652
|
+
main: z.ZodBoolean;
|
|
5653
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5654
|
+
}, z.core.$strict>;
|
|
5655
|
+
readonly ChatProject: z.ZodObject<{
|
|
5656
|
+
id: z.ZodString;
|
|
5657
|
+
name: z.ZodString;
|
|
5658
|
+
archived: z.ZodBoolean;
|
|
5659
|
+
count: z.ZodInt;
|
|
5660
|
+
}, z.core.$strict>;
|
|
5661
|
+
readonly ChatPin: z.ZodObject<{
|
|
5662
|
+
window: z.ZodString;
|
|
5663
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5664
|
+
}, z.core.$strict>;
|
|
5665
|
+
readonly ChatRunning: z.ZodObject<{
|
|
5666
|
+
window: z.ZodString;
|
|
5667
|
+
how: z.ZodEnum<{
|
|
5668
|
+
process: "process";
|
|
5669
|
+
activity: "activity";
|
|
5670
|
+
}>;
|
|
5671
|
+
}, z.core.$strict>;
|
|
5672
|
+
readonly ChatHidden: z.ZodObject<{
|
|
5673
|
+
window: z.ZodString;
|
|
5674
|
+
reason: z.ZodString;
|
|
5675
|
+
}, z.core.$strict>;
|
|
5676
|
+
readonly ChatLastUse: z.ZodObject<{
|
|
5677
|
+
at_ms: z.ZodInt;
|
|
5678
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5679
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5680
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5681
|
+
cache_warm: z.ZodBoolean;
|
|
5682
|
+
cache_minutes_left: z.ZodInt;
|
|
5683
|
+
}, z.core.$strict>;
|
|
5684
|
+
readonly ChatRow: z.ZodObject<{
|
|
5685
|
+
id: z.ZodString;
|
|
5686
|
+
short_id: z.ZodString;
|
|
5687
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5688
|
+
title: z.ZodString;
|
|
5689
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5690
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5691
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5692
|
+
starred: z.ZodBoolean;
|
|
5693
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5694
|
+
window: z.ZodString;
|
|
5695
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5696
|
+
}, z.core.$strict>>;
|
|
5697
|
+
places: z.ZodArray<z.ZodString>;
|
|
5698
|
+
held: z.ZodBoolean;
|
|
5699
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5700
|
+
window: z.ZodString;
|
|
5701
|
+
how: z.ZodEnum<{
|
|
5702
|
+
process: "process";
|
|
5703
|
+
activity: "activity";
|
|
5704
|
+
}>;
|
|
5705
|
+
}, z.core.$strict>>;
|
|
5706
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5707
|
+
window: z.ZodString;
|
|
5708
|
+
reason: z.ZodString;
|
|
5709
|
+
}, z.core.$strict>>;
|
|
5710
|
+
hidden_from_main: z.ZodBoolean;
|
|
5711
|
+
main_pending: z.ZodBoolean;
|
|
5712
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5713
|
+
new_unfiled: z.ZodBoolean;
|
|
5714
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5715
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5716
|
+
at_ms: z.ZodInt;
|
|
5717
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5718
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5719
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5720
|
+
cache_warm: z.ZodBoolean;
|
|
5721
|
+
cache_minutes_left: z.ZodInt;
|
|
5722
|
+
}, z.core.$strict>>;
|
|
5723
|
+
}, z.core.$strict>;
|
|
5724
|
+
readonly AppsChatsListParams: z.ZodObject<{
|
|
5725
|
+
app_key: z.ZodString;
|
|
5726
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5727
|
+
}, z.core.$strict>;
|
|
5728
|
+
readonly AppsChatsListResult: z.ZodObject<{
|
|
5729
|
+
app_key: z.ZodString;
|
|
5730
|
+
version: z.ZodInt;
|
|
5731
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
5732
|
+
key: z.ZodString;
|
|
5733
|
+
main: z.ZodBoolean;
|
|
5734
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5735
|
+
}, z.core.$strict>>;
|
|
5736
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
5737
|
+
id: z.ZodString;
|
|
5738
|
+
name: z.ZodString;
|
|
5739
|
+
archived: z.ZodBoolean;
|
|
5740
|
+
count: z.ZodInt;
|
|
5741
|
+
}, z.core.$strict>>;
|
|
5742
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
5743
|
+
id: z.ZodString;
|
|
5744
|
+
short_id: z.ZodString;
|
|
5745
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5746
|
+
title: z.ZodString;
|
|
5747
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5748
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5749
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5750
|
+
starred: z.ZodBoolean;
|
|
5751
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5752
|
+
window: z.ZodString;
|
|
5753
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5754
|
+
}, z.core.$strict>>;
|
|
5755
|
+
places: z.ZodArray<z.ZodString>;
|
|
5756
|
+
held: z.ZodBoolean;
|
|
5757
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5758
|
+
window: z.ZodString;
|
|
5759
|
+
how: z.ZodEnum<{
|
|
5760
|
+
process: "process";
|
|
5761
|
+
activity: "activity";
|
|
5762
|
+
}>;
|
|
5763
|
+
}, z.core.$strict>>;
|
|
5764
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5765
|
+
window: z.ZodString;
|
|
5766
|
+
reason: z.ZodString;
|
|
5767
|
+
}, z.core.$strict>>;
|
|
5768
|
+
hidden_from_main: z.ZodBoolean;
|
|
5769
|
+
main_pending: z.ZodBoolean;
|
|
5770
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5771
|
+
new_unfiled: z.ZodBoolean;
|
|
5772
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5773
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5774
|
+
at_ms: z.ZodInt;
|
|
5775
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5776
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5777
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5778
|
+
cache_warm: z.ZodBoolean;
|
|
5779
|
+
cache_minutes_left: z.ZodInt;
|
|
5780
|
+
}, z.core.$strict>>;
|
|
5781
|
+
}, z.core.$strict>>;
|
|
5782
|
+
new_window_ms: z.ZodInt;
|
|
5783
|
+
}, z.core.$strict>;
|
|
5784
|
+
readonly AppsChatsWatchParams: z.ZodObject<{
|
|
5785
|
+
app_key: z.ZodString;
|
|
5786
|
+
}, z.core.$strict>;
|
|
5787
|
+
readonly AppsChatsWatchResult: z.ZodObject<{
|
|
5788
|
+
resource_id: z.ZodString;
|
|
5789
|
+
version: z.ZodInt;
|
|
5790
|
+
}, z.core.$strict>;
|
|
5791
|
+
readonly AppsChatsChangedEvent: z.ZodObject<{
|
|
5792
|
+
app_key: z.ZodString;
|
|
5793
|
+
version: z.ZodInt;
|
|
5794
|
+
ids: z.ZodArray<z.ZodString>;
|
|
5795
|
+
all: z.ZodBoolean;
|
|
5796
|
+
}, z.core.$strict>;
|
|
5797
|
+
readonly AppsChatsStarParams: z.ZodObject<{
|
|
5798
|
+
app_key: z.ZodString;
|
|
5799
|
+
chat_id: z.ZodString;
|
|
5800
|
+
starred: z.ZodBoolean;
|
|
5801
|
+
}, z.core.$strict>;
|
|
5802
|
+
readonly AppsChatsStarResult: z.ZodObject<{
|
|
5803
|
+
chat: z.ZodObject<{
|
|
5804
|
+
id: z.ZodString;
|
|
5805
|
+
short_id: z.ZodString;
|
|
5806
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5807
|
+
title: z.ZodString;
|
|
5808
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5809
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5810
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5811
|
+
starred: z.ZodBoolean;
|
|
5812
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5813
|
+
window: z.ZodString;
|
|
5814
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5815
|
+
}, z.core.$strict>>;
|
|
5816
|
+
places: z.ZodArray<z.ZodString>;
|
|
5817
|
+
held: z.ZodBoolean;
|
|
5818
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5819
|
+
window: z.ZodString;
|
|
5820
|
+
how: z.ZodEnum<{
|
|
5821
|
+
process: "process";
|
|
5822
|
+
activity: "activity";
|
|
5823
|
+
}>;
|
|
5824
|
+
}, z.core.$strict>>;
|
|
5825
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5826
|
+
window: z.ZodString;
|
|
5827
|
+
reason: z.ZodString;
|
|
5828
|
+
}, z.core.$strict>>;
|
|
5829
|
+
hidden_from_main: z.ZodBoolean;
|
|
5830
|
+
main_pending: z.ZodBoolean;
|
|
5831
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5832
|
+
new_unfiled: z.ZodBoolean;
|
|
5833
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5834
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5835
|
+
at_ms: z.ZodInt;
|
|
5836
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5837
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5838
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5839
|
+
cache_warm: z.ZodBoolean;
|
|
5840
|
+
cache_minutes_left: z.ZodInt;
|
|
5841
|
+
}, z.core.$strict>>;
|
|
5842
|
+
}, z.core.$strict>;
|
|
5843
|
+
}, z.core.$strict>;
|
|
5844
|
+
readonly AppsProjectsFileParams: z.ZodObject<{
|
|
5845
|
+
app_key: z.ZodString;
|
|
5846
|
+
chat_id: z.ZodString;
|
|
5847
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
5848
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
5849
|
+
}, z.core.$strict>;
|
|
5850
|
+
readonly AppsProjectsFileResult: z.ZodObject<{
|
|
5851
|
+
chat: z.ZodObject<{
|
|
5852
|
+
id: z.ZodString;
|
|
5853
|
+
short_id: z.ZodString;
|
|
5854
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5855
|
+
title: z.ZodString;
|
|
5856
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5857
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5858
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5859
|
+
starred: z.ZodBoolean;
|
|
5860
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5861
|
+
window: z.ZodString;
|
|
5862
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5863
|
+
}, z.core.$strict>>;
|
|
5864
|
+
places: z.ZodArray<z.ZodString>;
|
|
5865
|
+
held: z.ZodBoolean;
|
|
5866
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5867
|
+
window: z.ZodString;
|
|
5868
|
+
how: z.ZodEnum<{
|
|
5869
|
+
process: "process";
|
|
5870
|
+
activity: "activity";
|
|
5871
|
+
}>;
|
|
5872
|
+
}, z.core.$strict>>;
|
|
5873
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5874
|
+
window: z.ZodString;
|
|
5875
|
+
reason: z.ZodString;
|
|
5876
|
+
}, z.core.$strict>>;
|
|
5877
|
+
hidden_from_main: z.ZodBoolean;
|
|
5878
|
+
main_pending: z.ZodBoolean;
|
|
5879
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5880
|
+
new_unfiled: z.ZodBoolean;
|
|
5881
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5882
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5883
|
+
at_ms: z.ZodInt;
|
|
5884
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5885
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5886
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5887
|
+
cache_warm: z.ZodBoolean;
|
|
5888
|
+
cache_minutes_left: z.ZodInt;
|
|
5889
|
+
}, z.core.$strict>>;
|
|
5890
|
+
}, z.core.$strict>;
|
|
5891
|
+
project: z.ZodObject<{
|
|
5892
|
+
id: z.ZodString;
|
|
5893
|
+
name: z.ZodString;
|
|
5894
|
+
archived: z.ZodBoolean;
|
|
5895
|
+
count: z.ZodInt;
|
|
5896
|
+
}, z.core.$strict>;
|
|
5897
|
+
}, z.core.$strict>;
|
|
5898
|
+
readonly AppsProjectsUnfileParams: z.ZodObject<{
|
|
5899
|
+
app_key: z.ZodString;
|
|
5900
|
+
chat_id: z.ZodString;
|
|
5901
|
+
project_id: z.ZodString;
|
|
5902
|
+
}, z.core.$strict>;
|
|
5903
|
+
readonly AppsProjectsUnfileResult: z.ZodObject<{
|
|
5904
|
+
chat: z.ZodObject<{
|
|
5905
|
+
id: z.ZodString;
|
|
5906
|
+
short_id: z.ZodString;
|
|
5907
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5908
|
+
title: z.ZodString;
|
|
5909
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5910
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5911
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5912
|
+
starred: z.ZodBoolean;
|
|
5913
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5914
|
+
window: z.ZodString;
|
|
5915
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5916
|
+
}, z.core.$strict>>;
|
|
5917
|
+
places: z.ZodArray<z.ZodString>;
|
|
5918
|
+
held: z.ZodBoolean;
|
|
5919
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5920
|
+
window: z.ZodString;
|
|
5921
|
+
how: z.ZodEnum<{
|
|
5922
|
+
process: "process";
|
|
5923
|
+
activity: "activity";
|
|
5924
|
+
}>;
|
|
5925
|
+
}, z.core.$strict>>;
|
|
5926
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5927
|
+
window: z.ZodString;
|
|
5928
|
+
reason: z.ZodString;
|
|
5929
|
+
}, z.core.$strict>>;
|
|
5930
|
+
hidden_from_main: z.ZodBoolean;
|
|
5931
|
+
main_pending: z.ZodBoolean;
|
|
5932
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5933
|
+
new_unfiled: z.ZodBoolean;
|
|
5934
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5935
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5936
|
+
at_ms: z.ZodInt;
|
|
5937
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5938
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5939
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5940
|
+
cache_warm: z.ZodBoolean;
|
|
5941
|
+
cache_minutes_left: z.ZodInt;
|
|
5942
|
+
}, z.core.$strict>>;
|
|
5943
|
+
}, z.core.$strict>;
|
|
5944
|
+
}, z.core.$strict>;
|
|
5401
5945
|
};
|
|
5402
5946
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
5403
5947
|
|