@ai-matrx/desktop-protocol 0.17.3 → 0.17.5
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 +22 -0
- package/dist/client.cjs +156 -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 +156 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +483 -264
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +511 -9
- package/dist/index.d.ts +511 -9
- package/dist/index.js +483 -264
- package/dist/index.js.map +1 -1
- package/dist/{models-BiquRLLO.d.cts → models-Bb87iuvw.d.cts} +854 -4
- package/dist/{models-BiquRLLO.d.ts → models-Bb87iuvw.d.ts} +854 -4
- package/dist/react.d.cts +409 -0
- package/dist/react.d.ts +409 -0
- package/generated/desktop-protocol.schema.json +898 -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" | "1.9";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -1573,6 +1573,403 @@ 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
|
+
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1637
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
1638
|
+
}, z.core.$strict>;
|
|
1639
|
+
readonly kind: "unary";
|
|
1640
|
+
readonly since: "1.8";
|
|
1641
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1642
|
+
};
|
|
1643
|
+
readonly "apps.chats.watch": {
|
|
1644
|
+
readonly params: z.ZodObject<{
|
|
1645
|
+
app_key: z.ZodString;
|
|
1646
|
+
}, z.core.$strict>;
|
|
1647
|
+
readonly result: z.ZodObject<{
|
|
1648
|
+
resource_id: z.ZodString;
|
|
1649
|
+
version: z.ZodInt;
|
|
1650
|
+
}, z.core.$strict>;
|
|
1651
|
+
readonly kind: "resource";
|
|
1652
|
+
readonly since: "1.8";
|
|
1653
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
1654
|
+
};
|
|
1655
|
+
readonly "apps.chats.star": {
|
|
1656
|
+
readonly params: z.ZodObject<{
|
|
1657
|
+
app_key: z.ZodString;
|
|
1658
|
+
chat_id: z.ZodString;
|
|
1659
|
+
starred: z.ZodBoolean;
|
|
1660
|
+
}, z.core.$strict>;
|
|
1661
|
+
readonly result: z.ZodObject<{
|
|
1662
|
+
chat: z.ZodObject<{
|
|
1663
|
+
id: z.ZodString;
|
|
1664
|
+
short_id: z.ZodString;
|
|
1665
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1666
|
+
title: z.ZodString;
|
|
1667
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1668
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1669
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1670
|
+
starred: z.ZodBoolean;
|
|
1671
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1672
|
+
window: z.ZodString;
|
|
1673
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1674
|
+
}, z.core.$strict>>;
|
|
1675
|
+
places: z.ZodArray<z.ZodString>;
|
|
1676
|
+
held: z.ZodBoolean;
|
|
1677
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1678
|
+
window: z.ZodString;
|
|
1679
|
+
how: z.ZodEnum<{
|
|
1680
|
+
process: "process";
|
|
1681
|
+
activity: "activity";
|
|
1682
|
+
}>;
|
|
1683
|
+
}, z.core.$strict>>;
|
|
1684
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1685
|
+
window: z.ZodString;
|
|
1686
|
+
reason: z.ZodString;
|
|
1687
|
+
}, z.core.$strict>>;
|
|
1688
|
+
hidden_from_main: z.ZodBoolean;
|
|
1689
|
+
main_pending: z.ZodBoolean;
|
|
1690
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1691
|
+
new_unfiled: z.ZodBoolean;
|
|
1692
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1693
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1694
|
+
at_ms: z.ZodInt;
|
|
1695
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1696
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1697
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1698
|
+
cache_warm: z.ZodBoolean;
|
|
1699
|
+
cache_minutes_left: z.ZodInt;
|
|
1700
|
+
}, z.core.$strict>>;
|
|
1701
|
+
}, z.core.$strict>;
|
|
1702
|
+
}, z.core.$strict>;
|
|
1703
|
+
readonly kind: "unary";
|
|
1704
|
+
readonly since: "1.8";
|
|
1705
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1706
|
+
};
|
|
1707
|
+
readonly "apps.projects.file": {
|
|
1708
|
+
readonly params: z.ZodObject<{
|
|
1709
|
+
app_key: z.ZodString;
|
|
1710
|
+
chat_id: z.ZodString;
|
|
1711
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
}, z.core.$strict>;
|
|
1714
|
+
readonly result: z.ZodObject<{
|
|
1715
|
+
chat: z.ZodObject<{
|
|
1716
|
+
id: z.ZodString;
|
|
1717
|
+
short_id: z.ZodString;
|
|
1718
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1719
|
+
title: z.ZodString;
|
|
1720
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1721
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1722
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1723
|
+
starred: z.ZodBoolean;
|
|
1724
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1725
|
+
window: z.ZodString;
|
|
1726
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1727
|
+
}, z.core.$strict>>;
|
|
1728
|
+
places: z.ZodArray<z.ZodString>;
|
|
1729
|
+
held: z.ZodBoolean;
|
|
1730
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1731
|
+
window: z.ZodString;
|
|
1732
|
+
how: z.ZodEnum<{
|
|
1733
|
+
process: "process";
|
|
1734
|
+
activity: "activity";
|
|
1735
|
+
}>;
|
|
1736
|
+
}, z.core.$strict>>;
|
|
1737
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1738
|
+
window: z.ZodString;
|
|
1739
|
+
reason: z.ZodString;
|
|
1740
|
+
}, z.core.$strict>>;
|
|
1741
|
+
hidden_from_main: z.ZodBoolean;
|
|
1742
|
+
main_pending: z.ZodBoolean;
|
|
1743
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1744
|
+
new_unfiled: z.ZodBoolean;
|
|
1745
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1746
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1747
|
+
at_ms: z.ZodInt;
|
|
1748
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1749
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1750
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1751
|
+
cache_warm: z.ZodBoolean;
|
|
1752
|
+
cache_minutes_left: z.ZodInt;
|
|
1753
|
+
}, z.core.$strict>>;
|
|
1754
|
+
}, z.core.$strict>;
|
|
1755
|
+
project: z.ZodObject<{
|
|
1756
|
+
id: z.ZodString;
|
|
1757
|
+
name: z.ZodString;
|
|
1758
|
+
archived: z.ZodBoolean;
|
|
1759
|
+
count: z.ZodInt;
|
|
1760
|
+
}, z.core.$strict>;
|
|
1761
|
+
}, z.core.$strict>;
|
|
1762
|
+
readonly kind: "unary";
|
|
1763
|
+
readonly since: "1.8";
|
|
1764
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1765
|
+
};
|
|
1766
|
+
readonly "apps.chats.place": {
|
|
1767
|
+
readonly params: z.ZodObject<{
|
|
1768
|
+
app_key: z.ZodString;
|
|
1769
|
+
chat_id: z.ZodString;
|
|
1770
|
+
action: z.ZodEnum<{
|
|
1771
|
+
place: "place";
|
|
1772
|
+
take_off: "take_off";
|
|
1773
|
+
hold: "hold";
|
|
1774
|
+
}>;
|
|
1775
|
+
window: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
stop_if_open: z.ZodDefault<z.ZodBoolean>;
|
|
1777
|
+
}, z.core.$strict>;
|
|
1778
|
+
readonly result: z.ZodObject<{
|
|
1779
|
+
chat: z.ZodObject<{
|
|
1780
|
+
id: z.ZodString;
|
|
1781
|
+
short_id: z.ZodString;
|
|
1782
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1783
|
+
title: z.ZodString;
|
|
1784
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1785
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1786
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1787
|
+
starred: z.ZodBoolean;
|
|
1788
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1789
|
+
window: z.ZodString;
|
|
1790
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1791
|
+
}, z.core.$strict>>;
|
|
1792
|
+
places: z.ZodArray<z.ZodString>;
|
|
1793
|
+
held: z.ZodBoolean;
|
|
1794
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1795
|
+
window: z.ZodString;
|
|
1796
|
+
how: z.ZodEnum<{
|
|
1797
|
+
process: "process";
|
|
1798
|
+
activity: "activity";
|
|
1799
|
+
}>;
|
|
1800
|
+
}, z.core.$strict>>;
|
|
1801
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1802
|
+
window: z.ZodString;
|
|
1803
|
+
reason: z.ZodString;
|
|
1804
|
+
}, z.core.$strict>>;
|
|
1805
|
+
hidden_from_main: z.ZodBoolean;
|
|
1806
|
+
main_pending: z.ZodBoolean;
|
|
1807
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1808
|
+
new_unfiled: z.ZodBoolean;
|
|
1809
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1810
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1811
|
+
at_ms: z.ZodInt;
|
|
1812
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1813
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1814
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1815
|
+
cache_warm: z.ZodBoolean;
|
|
1816
|
+
cache_minutes_left: z.ZodInt;
|
|
1817
|
+
}, z.core.$strict>>;
|
|
1818
|
+
}, z.core.$strict>;
|
|
1819
|
+
message: z.ZodString;
|
|
1820
|
+
}, z.core.$strict>;
|
|
1821
|
+
readonly kind: "unary";
|
|
1822
|
+
readonly since: "1.9";
|
|
1823
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1824
|
+
};
|
|
1825
|
+
readonly "apps.projects.file_many": {
|
|
1826
|
+
readonly params: z.ZodObject<{
|
|
1827
|
+
app_key: z.ZodString;
|
|
1828
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
1829
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1830
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
}, z.core.$strict>;
|
|
1832
|
+
readonly result: z.ZodObject<{
|
|
1833
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1834
|
+
id: z.ZodString;
|
|
1835
|
+
short_id: z.ZodString;
|
|
1836
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1837
|
+
title: z.ZodString;
|
|
1838
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1839
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1840
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1841
|
+
starred: z.ZodBoolean;
|
|
1842
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1843
|
+
window: z.ZodString;
|
|
1844
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1845
|
+
}, z.core.$strict>>;
|
|
1846
|
+
places: z.ZodArray<z.ZodString>;
|
|
1847
|
+
held: z.ZodBoolean;
|
|
1848
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1849
|
+
window: z.ZodString;
|
|
1850
|
+
how: z.ZodEnum<{
|
|
1851
|
+
process: "process";
|
|
1852
|
+
activity: "activity";
|
|
1853
|
+
}>;
|
|
1854
|
+
}, z.core.$strict>>;
|
|
1855
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1856
|
+
window: z.ZodString;
|
|
1857
|
+
reason: z.ZodString;
|
|
1858
|
+
}, z.core.$strict>>;
|
|
1859
|
+
hidden_from_main: z.ZodBoolean;
|
|
1860
|
+
main_pending: z.ZodBoolean;
|
|
1861
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1862
|
+
new_unfiled: z.ZodBoolean;
|
|
1863
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1864
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1865
|
+
at_ms: z.ZodInt;
|
|
1866
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1867
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1868
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1869
|
+
cache_warm: z.ZodBoolean;
|
|
1870
|
+
cache_minutes_left: z.ZodInt;
|
|
1871
|
+
}, z.core.$strict>>;
|
|
1872
|
+
}, z.core.$strict>>;
|
|
1873
|
+
project: z.ZodObject<{
|
|
1874
|
+
id: z.ZodString;
|
|
1875
|
+
name: z.ZodString;
|
|
1876
|
+
archived: z.ZodBoolean;
|
|
1877
|
+
count: z.ZodInt;
|
|
1878
|
+
}, z.core.$strict>;
|
|
1879
|
+
}, z.core.$strict>;
|
|
1880
|
+
readonly kind: "unary";
|
|
1881
|
+
readonly since: "1.9";
|
|
1882
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1883
|
+
};
|
|
1884
|
+
readonly "apps.projects.update": {
|
|
1885
|
+
readonly params: z.ZodObject<{
|
|
1886
|
+
app_key: z.ZodString;
|
|
1887
|
+
project_id: z.ZodString;
|
|
1888
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1889
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1890
|
+
}, z.core.$strict>;
|
|
1891
|
+
readonly result: z.ZodObject<{
|
|
1892
|
+
project: z.ZodObject<{
|
|
1893
|
+
id: z.ZodString;
|
|
1894
|
+
name: z.ZodString;
|
|
1895
|
+
archived: z.ZodBoolean;
|
|
1896
|
+
count: z.ZodInt;
|
|
1897
|
+
}, z.core.$strict>;
|
|
1898
|
+
}, z.core.$strict>;
|
|
1899
|
+
readonly kind: "unary";
|
|
1900
|
+
readonly since: "1.9";
|
|
1901
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1902
|
+
};
|
|
1903
|
+
readonly "apps.projects.copy": {
|
|
1904
|
+
readonly params: z.ZodObject<{
|
|
1905
|
+
app_key: z.ZodString;
|
|
1906
|
+
project_id: z.ZodString;
|
|
1907
|
+
new_project_name: z.ZodString;
|
|
1908
|
+
}, z.core.$strict>;
|
|
1909
|
+
readonly result: z.ZodObject<{
|
|
1910
|
+
project: z.ZodObject<{
|
|
1911
|
+
id: z.ZodString;
|
|
1912
|
+
name: z.ZodString;
|
|
1913
|
+
archived: z.ZodBoolean;
|
|
1914
|
+
count: z.ZodInt;
|
|
1915
|
+
}, z.core.$strict>;
|
|
1916
|
+
}, z.core.$strict>;
|
|
1917
|
+
readonly kind: "unary";
|
|
1918
|
+
readonly since: "1.9";
|
|
1919
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1920
|
+
};
|
|
1921
|
+
readonly "apps.projects.unfile": {
|
|
1922
|
+
readonly params: z.ZodObject<{
|
|
1923
|
+
app_key: z.ZodString;
|
|
1924
|
+
chat_id: z.ZodString;
|
|
1925
|
+
project_id: z.ZodString;
|
|
1926
|
+
}, z.core.$strict>;
|
|
1927
|
+
readonly result: z.ZodObject<{
|
|
1928
|
+
chat: z.ZodObject<{
|
|
1929
|
+
id: z.ZodString;
|
|
1930
|
+
short_id: z.ZodString;
|
|
1931
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1932
|
+
title: z.ZodString;
|
|
1933
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1934
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1935
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1936
|
+
starred: z.ZodBoolean;
|
|
1937
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1938
|
+
window: z.ZodString;
|
|
1939
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1940
|
+
}, z.core.$strict>>;
|
|
1941
|
+
places: z.ZodArray<z.ZodString>;
|
|
1942
|
+
held: z.ZodBoolean;
|
|
1943
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1944
|
+
window: z.ZodString;
|
|
1945
|
+
how: z.ZodEnum<{
|
|
1946
|
+
process: "process";
|
|
1947
|
+
activity: "activity";
|
|
1948
|
+
}>;
|
|
1949
|
+
}, z.core.$strict>>;
|
|
1950
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1951
|
+
window: z.ZodString;
|
|
1952
|
+
reason: z.ZodString;
|
|
1953
|
+
}, z.core.$strict>>;
|
|
1954
|
+
hidden_from_main: z.ZodBoolean;
|
|
1955
|
+
main_pending: z.ZodBoolean;
|
|
1956
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1957
|
+
new_unfiled: z.ZodBoolean;
|
|
1958
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1959
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1960
|
+
at_ms: z.ZodInt;
|
|
1961
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1962
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1963
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1964
|
+
cache_warm: z.ZodBoolean;
|
|
1965
|
+
cache_minutes_left: z.ZodInt;
|
|
1966
|
+
}, z.core.$strict>>;
|
|
1967
|
+
}, z.core.$strict>;
|
|
1968
|
+
}, z.core.$strict>;
|
|
1969
|
+
readonly kind: "unary";
|
|
1970
|
+
readonly since: "1.8";
|
|
1971
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1972
|
+
};
|
|
1576
1973
|
readonly "proc.list": {
|
|
1577
1974
|
readonly params: z.ZodObject<{
|
|
1578
1975
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2322,6 +2719,18 @@ declare const EVENTS: {
|
|
|
2322
2719
|
}, z.core.$strict>>;
|
|
2323
2720
|
overflow: z.ZodBoolean;
|
|
2324
2721
|
}, z.core.$strict>;
|
|
2722
|
+
readonly "apps.chats.changed": z.ZodObject<{
|
|
2723
|
+
app_key: z.ZodString;
|
|
2724
|
+
version: z.ZodInt;
|
|
2725
|
+
ids: z.ZodArray<z.ZodString>;
|
|
2726
|
+
all: z.ZodBoolean;
|
|
2727
|
+
}, z.core.$strict>;
|
|
2728
|
+
readonly "apps.chats.watch_state": z.ZodObject<{
|
|
2729
|
+
app_key: z.ZodString;
|
|
2730
|
+
live: z.ZodBoolean;
|
|
2731
|
+
updating: z.ZodBoolean;
|
|
2732
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2733
|
+
}, z.core.$strict>;
|
|
2325
2734
|
readonly "exec.exited": z.ZodObject<{
|
|
2326
2735
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2327
2736
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|
|
@@ -5148,9 +5557,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5148
5557
|
}, z.core.$strict>>;
|
|
5149
5558
|
}, z.core.$strict>;
|
|
5150
5559
|
readonly ToolLevel: z.ZodEnum<{
|
|
5560
|
+
chat: "chat";
|
|
5151
5561
|
programmatic: "programmatic";
|
|
5152
5562
|
protocol: "protocol";
|
|
5153
|
-
chat: "chat";
|
|
5154
5563
|
}>;
|
|
5155
5564
|
readonly ToolOutcome: z.ZodEnum<{
|
|
5156
5565
|
pass: "pass";
|
|
@@ -5172,9 +5581,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5172
5581
|
readonly ToolLevelResult: z.ZodObject<{
|
|
5173
5582
|
tool: z.ZodString;
|
|
5174
5583
|
level: z.ZodEnum<{
|
|
5584
|
+
chat: "chat";
|
|
5175
5585
|
programmatic: "programmatic";
|
|
5176
5586
|
protocol: "protocol";
|
|
5177
|
-
chat: "chat";
|
|
5178
5587
|
}>;
|
|
5179
5588
|
platform: z.ZodEnum<{
|
|
5180
5589
|
darwin: "darwin";
|
|
@@ -5204,9 +5613,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5204
5613
|
results: z.ZodArray<z.ZodObject<{
|
|
5205
5614
|
tool: z.ZodString;
|
|
5206
5615
|
level: z.ZodEnum<{
|
|
5616
|
+
chat: "chat";
|
|
5207
5617
|
programmatic: "programmatic";
|
|
5208
5618
|
protocol: "protocol";
|
|
5209
|
-
chat: "chat";
|
|
5210
5619
|
}>;
|
|
5211
5620
|
platform: z.ZodEnum<{
|
|
5212
5621
|
darwin: "darwin";
|
|
@@ -5398,6 +5807,447 @@ declare const NAMED_SCHEMAS: {
|
|
|
5398
5807
|
already_running: z.ZodBoolean;
|
|
5399
5808
|
folder: z.ZodNullable<z.ZodString>;
|
|
5400
5809
|
}, z.core.$strict>;
|
|
5810
|
+
readonly ChatId: z.ZodString;
|
|
5811
|
+
readonly ChatPlace: z.ZodString;
|
|
5812
|
+
readonly ChatProjectId: z.ZodString;
|
|
5813
|
+
readonly ChatWindow: z.ZodObject<{
|
|
5814
|
+
key: z.ZodString;
|
|
5815
|
+
main: z.ZodBoolean;
|
|
5816
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5817
|
+
}, z.core.$strict>;
|
|
5818
|
+
readonly ChatProject: z.ZodObject<{
|
|
5819
|
+
id: z.ZodString;
|
|
5820
|
+
name: z.ZodString;
|
|
5821
|
+
archived: z.ZodBoolean;
|
|
5822
|
+
count: z.ZodInt;
|
|
5823
|
+
}, z.core.$strict>;
|
|
5824
|
+
readonly ChatPin: z.ZodObject<{
|
|
5825
|
+
window: z.ZodString;
|
|
5826
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5827
|
+
}, z.core.$strict>;
|
|
5828
|
+
readonly ChatRunning: z.ZodObject<{
|
|
5829
|
+
window: z.ZodString;
|
|
5830
|
+
how: z.ZodEnum<{
|
|
5831
|
+
process: "process";
|
|
5832
|
+
activity: "activity";
|
|
5833
|
+
}>;
|
|
5834
|
+
}, z.core.$strict>;
|
|
5835
|
+
readonly ChatHidden: z.ZodObject<{
|
|
5836
|
+
window: z.ZodString;
|
|
5837
|
+
reason: z.ZodString;
|
|
5838
|
+
}, z.core.$strict>;
|
|
5839
|
+
readonly ChatLastUse: z.ZodObject<{
|
|
5840
|
+
at_ms: z.ZodInt;
|
|
5841
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5842
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5843
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5844
|
+
cache_warm: z.ZodBoolean;
|
|
5845
|
+
cache_minutes_left: z.ZodInt;
|
|
5846
|
+
}, z.core.$strict>;
|
|
5847
|
+
readonly ChatRow: z.ZodObject<{
|
|
5848
|
+
id: z.ZodString;
|
|
5849
|
+
short_id: z.ZodString;
|
|
5850
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5851
|
+
title: z.ZodString;
|
|
5852
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5853
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5854
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5855
|
+
starred: z.ZodBoolean;
|
|
5856
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5857
|
+
window: z.ZodString;
|
|
5858
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5859
|
+
}, z.core.$strict>>;
|
|
5860
|
+
places: z.ZodArray<z.ZodString>;
|
|
5861
|
+
held: z.ZodBoolean;
|
|
5862
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5863
|
+
window: z.ZodString;
|
|
5864
|
+
how: z.ZodEnum<{
|
|
5865
|
+
process: "process";
|
|
5866
|
+
activity: "activity";
|
|
5867
|
+
}>;
|
|
5868
|
+
}, z.core.$strict>>;
|
|
5869
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5870
|
+
window: z.ZodString;
|
|
5871
|
+
reason: z.ZodString;
|
|
5872
|
+
}, z.core.$strict>>;
|
|
5873
|
+
hidden_from_main: z.ZodBoolean;
|
|
5874
|
+
main_pending: z.ZodBoolean;
|
|
5875
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5876
|
+
new_unfiled: z.ZodBoolean;
|
|
5877
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5878
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5879
|
+
at_ms: z.ZodInt;
|
|
5880
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5881
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5882
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5883
|
+
cache_warm: z.ZodBoolean;
|
|
5884
|
+
cache_minutes_left: z.ZodInt;
|
|
5885
|
+
}, z.core.$strict>>;
|
|
5886
|
+
}, z.core.$strict>;
|
|
5887
|
+
readonly AppsChatsListParams: z.ZodObject<{
|
|
5888
|
+
app_key: z.ZodString;
|
|
5889
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5890
|
+
}, z.core.$strict>;
|
|
5891
|
+
readonly AppsChatsListResult: z.ZodObject<{
|
|
5892
|
+
app_key: z.ZodString;
|
|
5893
|
+
version: z.ZodInt;
|
|
5894
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
5895
|
+
key: z.ZodString;
|
|
5896
|
+
main: z.ZodBoolean;
|
|
5897
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5898
|
+
}, z.core.$strict>>;
|
|
5899
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
5900
|
+
id: z.ZodString;
|
|
5901
|
+
name: z.ZodString;
|
|
5902
|
+
archived: z.ZodBoolean;
|
|
5903
|
+
count: z.ZodInt;
|
|
5904
|
+
}, z.core.$strict>>;
|
|
5905
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
5906
|
+
id: z.ZodString;
|
|
5907
|
+
short_id: z.ZodString;
|
|
5908
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5909
|
+
title: z.ZodString;
|
|
5910
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5911
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5912
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5913
|
+
starred: z.ZodBoolean;
|
|
5914
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5915
|
+
window: z.ZodString;
|
|
5916
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5917
|
+
}, z.core.$strict>>;
|
|
5918
|
+
places: z.ZodArray<z.ZodString>;
|
|
5919
|
+
held: z.ZodBoolean;
|
|
5920
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5921
|
+
window: z.ZodString;
|
|
5922
|
+
how: z.ZodEnum<{
|
|
5923
|
+
process: "process";
|
|
5924
|
+
activity: "activity";
|
|
5925
|
+
}>;
|
|
5926
|
+
}, z.core.$strict>>;
|
|
5927
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5928
|
+
window: z.ZodString;
|
|
5929
|
+
reason: z.ZodString;
|
|
5930
|
+
}, z.core.$strict>>;
|
|
5931
|
+
hidden_from_main: z.ZodBoolean;
|
|
5932
|
+
main_pending: z.ZodBoolean;
|
|
5933
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5934
|
+
new_unfiled: z.ZodBoolean;
|
|
5935
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5936
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5937
|
+
at_ms: z.ZodInt;
|
|
5938
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5939
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5940
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5941
|
+
cache_warm: z.ZodBoolean;
|
|
5942
|
+
cache_minutes_left: z.ZodInt;
|
|
5943
|
+
}, z.core.$strict>>;
|
|
5944
|
+
}, z.core.$strict>>;
|
|
5945
|
+
new_window_ms: z.ZodInt;
|
|
5946
|
+
updating: z.ZodOptional<z.ZodBoolean>;
|
|
5947
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
5948
|
+
}, z.core.$strict>;
|
|
5949
|
+
readonly AppsChatsWatchParams: z.ZodObject<{
|
|
5950
|
+
app_key: z.ZodString;
|
|
5951
|
+
}, z.core.$strict>;
|
|
5952
|
+
readonly AppsChatsWatchResult: z.ZodObject<{
|
|
5953
|
+
resource_id: z.ZodString;
|
|
5954
|
+
version: z.ZodInt;
|
|
5955
|
+
}, z.core.$strict>;
|
|
5956
|
+
readonly AppsChatsChangedEvent: z.ZodObject<{
|
|
5957
|
+
app_key: z.ZodString;
|
|
5958
|
+
version: z.ZodInt;
|
|
5959
|
+
ids: z.ZodArray<z.ZodString>;
|
|
5960
|
+
all: z.ZodBoolean;
|
|
5961
|
+
}, z.core.$strict>;
|
|
5962
|
+
readonly AppsChatsStarParams: z.ZodObject<{
|
|
5963
|
+
app_key: z.ZodString;
|
|
5964
|
+
chat_id: z.ZodString;
|
|
5965
|
+
starred: z.ZodBoolean;
|
|
5966
|
+
}, z.core.$strict>;
|
|
5967
|
+
readonly AppsChatsStarResult: z.ZodObject<{
|
|
5968
|
+
chat: z.ZodObject<{
|
|
5969
|
+
id: z.ZodString;
|
|
5970
|
+
short_id: z.ZodString;
|
|
5971
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5972
|
+
title: z.ZodString;
|
|
5973
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5974
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5975
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5976
|
+
starred: z.ZodBoolean;
|
|
5977
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5978
|
+
window: z.ZodString;
|
|
5979
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5980
|
+
}, z.core.$strict>>;
|
|
5981
|
+
places: z.ZodArray<z.ZodString>;
|
|
5982
|
+
held: z.ZodBoolean;
|
|
5983
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5984
|
+
window: z.ZodString;
|
|
5985
|
+
how: z.ZodEnum<{
|
|
5986
|
+
process: "process";
|
|
5987
|
+
activity: "activity";
|
|
5988
|
+
}>;
|
|
5989
|
+
}, z.core.$strict>>;
|
|
5990
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5991
|
+
window: z.ZodString;
|
|
5992
|
+
reason: z.ZodString;
|
|
5993
|
+
}, z.core.$strict>>;
|
|
5994
|
+
hidden_from_main: z.ZodBoolean;
|
|
5995
|
+
main_pending: z.ZodBoolean;
|
|
5996
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5997
|
+
new_unfiled: z.ZodBoolean;
|
|
5998
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5999
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
6000
|
+
at_ms: z.ZodInt;
|
|
6001
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6002
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6003
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6004
|
+
cache_warm: z.ZodBoolean;
|
|
6005
|
+
cache_minutes_left: z.ZodInt;
|
|
6006
|
+
}, z.core.$strict>>;
|
|
6007
|
+
}, z.core.$strict>;
|
|
6008
|
+
}, z.core.$strict>;
|
|
6009
|
+
readonly AppsProjectsFileParams: z.ZodObject<{
|
|
6010
|
+
app_key: z.ZodString;
|
|
6011
|
+
chat_id: z.ZodString;
|
|
6012
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
6013
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
6014
|
+
}, z.core.$strict>;
|
|
6015
|
+
readonly AppsProjectsFileResult: z.ZodObject<{
|
|
6016
|
+
chat: z.ZodObject<{
|
|
6017
|
+
id: z.ZodString;
|
|
6018
|
+
short_id: z.ZodString;
|
|
6019
|
+
record: z.ZodNullable<z.ZodString>;
|
|
6020
|
+
title: z.ZodString;
|
|
6021
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
6022
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
6023
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6024
|
+
starred: z.ZodBoolean;
|
|
6025
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
6026
|
+
window: z.ZodString;
|
|
6027
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6028
|
+
}, z.core.$strict>>;
|
|
6029
|
+
places: z.ZodArray<z.ZodString>;
|
|
6030
|
+
held: z.ZodBoolean;
|
|
6031
|
+
running: z.ZodArray<z.ZodObject<{
|
|
6032
|
+
window: z.ZodString;
|
|
6033
|
+
how: z.ZodEnum<{
|
|
6034
|
+
process: "process";
|
|
6035
|
+
activity: "activity";
|
|
6036
|
+
}>;
|
|
6037
|
+
}, z.core.$strict>>;
|
|
6038
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
6039
|
+
window: z.ZodString;
|
|
6040
|
+
reason: z.ZodString;
|
|
6041
|
+
}, z.core.$strict>>;
|
|
6042
|
+
hidden_from_main: z.ZodBoolean;
|
|
6043
|
+
main_pending: z.ZodBoolean;
|
|
6044
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
6045
|
+
new_unfiled: z.ZodBoolean;
|
|
6046
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
6047
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
6048
|
+
at_ms: z.ZodInt;
|
|
6049
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6050
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6051
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6052
|
+
cache_warm: z.ZodBoolean;
|
|
6053
|
+
cache_minutes_left: z.ZodInt;
|
|
6054
|
+
}, z.core.$strict>>;
|
|
6055
|
+
}, z.core.$strict>;
|
|
6056
|
+
project: z.ZodObject<{
|
|
6057
|
+
id: z.ZodString;
|
|
6058
|
+
name: z.ZodString;
|
|
6059
|
+
archived: z.ZodBoolean;
|
|
6060
|
+
count: z.ZodInt;
|
|
6061
|
+
}, z.core.$strict>;
|
|
6062
|
+
}, z.core.$strict>;
|
|
6063
|
+
readonly AppsProjectsUnfileParams: z.ZodObject<{
|
|
6064
|
+
app_key: z.ZodString;
|
|
6065
|
+
chat_id: z.ZodString;
|
|
6066
|
+
project_id: z.ZodString;
|
|
6067
|
+
}, z.core.$strict>;
|
|
6068
|
+
readonly AppsProjectsUnfileResult: z.ZodObject<{
|
|
6069
|
+
chat: z.ZodObject<{
|
|
6070
|
+
id: z.ZodString;
|
|
6071
|
+
short_id: z.ZodString;
|
|
6072
|
+
record: z.ZodNullable<z.ZodString>;
|
|
6073
|
+
title: z.ZodString;
|
|
6074
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
6075
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
6076
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6077
|
+
starred: z.ZodBoolean;
|
|
6078
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
6079
|
+
window: z.ZodString;
|
|
6080
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6081
|
+
}, z.core.$strict>>;
|
|
6082
|
+
places: z.ZodArray<z.ZodString>;
|
|
6083
|
+
held: z.ZodBoolean;
|
|
6084
|
+
running: z.ZodArray<z.ZodObject<{
|
|
6085
|
+
window: z.ZodString;
|
|
6086
|
+
how: z.ZodEnum<{
|
|
6087
|
+
process: "process";
|
|
6088
|
+
activity: "activity";
|
|
6089
|
+
}>;
|
|
6090
|
+
}, z.core.$strict>>;
|
|
6091
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
6092
|
+
window: z.ZodString;
|
|
6093
|
+
reason: z.ZodString;
|
|
6094
|
+
}, z.core.$strict>>;
|
|
6095
|
+
hidden_from_main: z.ZodBoolean;
|
|
6096
|
+
main_pending: z.ZodBoolean;
|
|
6097
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
6098
|
+
new_unfiled: z.ZodBoolean;
|
|
6099
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
6100
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
6101
|
+
at_ms: z.ZodInt;
|
|
6102
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6103
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6104
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6105
|
+
cache_warm: z.ZodBoolean;
|
|
6106
|
+
cache_minutes_left: z.ZodInt;
|
|
6107
|
+
}, z.core.$strict>>;
|
|
6108
|
+
}, z.core.$strict>;
|
|
6109
|
+
}, z.core.$strict>;
|
|
6110
|
+
readonly AppsChatsWatchStateEvent: z.ZodObject<{
|
|
6111
|
+
app_key: z.ZodString;
|
|
6112
|
+
live: z.ZodBoolean;
|
|
6113
|
+
updating: z.ZodBoolean;
|
|
6114
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
6115
|
+
}, z.core.$strict>;
|
|
6116
|
+
readonly AppsChatsPlaceParams: z.ZodObject<{
|
|
6117
|
+
app_key: z.ZodString;
|
|
6118
|
+
chat_id: z.ZodString;
|
|
6119
|
+
action: z.ZodEnum<{
|
|
6120
|
+
place: "place";
|
|
6121
|
+
take_off: "take_off";
|
|
6122
|
+
hold: "hold";
|
|
6123
|
+
}>;
|
|
6124
|
+
window: z.ZodOptional<z.ZodString>;
|
|
6125
|
+
stop_if_open: z.ZodDefault<z.ZodBoolean>;
|
|
6126
|
+
}, z.core.$strict>;
|
|
6127
|
+
readonly AppsChatsPlaceResult: z.ZodObject<{
|
|
6128
|
+
chat: z.ZodObject<{
|
|
6129
|
+
id: z.ZodString;
|
|
6130
|
+
short_id: z.ZodString;
|
|
6131
|
+
record: z.ZodNullable<z.ZodString>;
|
|
6132
|
+
title: z.ZodString;
|
|
6133
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
6134
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
6135
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6136
|
+
starred: z.ZodBoolean;
|
|
6137
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
6138
|
+
window: z.ZodString;
|
|
6139
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6140
|
+
}, z.core.$strict>>;
|
|
6141
|
+
places: z.ZodArray<z.ZodString>;
|
|
6142
|
+
held: z.ZodBoolean;
|
|
6143
|
+
running: z.ZodArray<z.ZodObject<{
|
|
6144
|
+
window: z.ZodString;
|
|
6145
|
+
how: z.ZodEnum<{
|
|
6146
|
+
process: "process";
|
|
6147
|
+
activity: "activity";
|
|
6148
|
+
}>;
|
|
6149
|
+
}, z.core.$strict>>;
|
|
6150
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
6151
|
+
window: z.ZodString;
|
|
6152
|
+
reason: z.ZodString;
|
|
6153
|
+
}, z.core.$strict>>;
|
|
6154
|
+
hidden_from_main: z.ZodBoolean;
|
|
6155
|
+
main_pending: z.ZodBoolean;
|
|
6156
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
6157
|
+
new_unfiled: z.ZodBoolean;
|
|
6158
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
6159
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
6160
|
+
at_ms: z.ZodInt;
|
|
6161
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6162
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6163
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6164
|
+
cache_warm: z.ZodBoolean;
|
|
6165
|
+
cache_minutes_left: z.ZodInt;
|
|
6166
|
+
}, z.core.$strict>>;
|
|
6167
|
+
}, z.core.$strict>;
|
|
6168
|
+
message: z.ZodString;
|
|
6169
|
+
}, z.core.$strict>;
|
|
6170
|
+
readonly AppsProjectsFileManyParams: z.ZodObject<{
|
|
6171
|
+
app_key: z.ZodString;
|
|
6172
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
6173
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
6174
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
6175
|
+
}, z.core.$strict>;
|
|
6176
|
+
readonly AppsProjectsFileManyResult: z.ZodObject<{
|
|
6177
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
6178
|
+
id: z.ZodString;
|
|
6179
|
+
short_id: z.ZodString;
|
|
6180
|
+
record: z.ZodNullable<z.ZodString>;
|
|
6181
|
+
title: z.ZodString;
|
|
6182
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
6183
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
6184
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6185
|
+
starred: z.ZodBoolean;
|
|
6186
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
6187
|
+
window: z.ZodString;
|
|
6188
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6189
|
+
}, z.core.$strict>>;
|
|
6190
|
+
places: z.ZodArray<z.ZodString>;
|
|
6191
|
+
held: z.ZodBoolean;
|
|
6192
|
+
running: z.ZodArray<z.ZodObject<{
|
|
6193
|
+
window: z.ZodString;
|
|
6194
|
+
how: z.ZodEnum<{
|
|
6195
|
+
process: "process";
|
|
6196
|
+
activity: "activity";
|
|
6197
|
+
}>;
|
|
6198
|
+
}, z.core.$strict>>;
|
|
6199
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
6200
|
+
window: z.ZodString;
|
|
6201
|
+
reason: z.ZodString;
|
|
6202
|
+
}, z.core.$strict>>;
|
|
6203
|
+
hidden_from_main: z.ZodBoolean;
|
|
6204
|
+
main_pending: z.ZodBoolean;
|
|
6205
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
6206
|
+
new_unfiled: z.ZodBoolean;
|
|
6207
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
6208
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
6209
|
+
at_ms: z.ZodInt;
|
|
6210
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6211
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6212
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6213
|
+
cache_warm: z.ZodBoolean;
|
|
6214
|
+
cache_minutes_left: z.ZodInt;
|
|
6215
|
+
}, z.core.$strict>>;
|
|
6216
|
+
}, z.core.$strict>>;
|
|
6217
|
+
project: z.ZodObject<{
|
|
6218
|
+
id: z.ZodString;
|
|
6219
|
+
name: z.ZodString;
|
|
6220
|
+
archived: z.ZodBoolean;
|
|
6221
|
+
count: z.ZodInt;
|
|
6222
|
+
}, z.core.$strict>;
|
|
6223
|
+
}, z.core.$strict>;
|
|
6224
|
+
readonly AppsProjectsUpdateParams: z.ZodObject<{
|
|
6225
|
+
app_key: z.ZodString;
|
|
6226
|
+
project_id: z.ZodString;
|
|
6227
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6228
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
6229
|
+
}, z.core.$strict>;
|
|
6230
|
+
readonly AppsProjectsUpdateResult: z.ZodObject<{
|
|
6231
|
+
project: z.ZodObject<{
|
|
6232
|
+
id: z.ZodString;
|
|
6233
|
+
name: z.ZodString;
|
|
6234
|
+
archived: z.ZodBoolean;
|
|
6235
|
+
count: z.ZodInt;
|
|
6236
|
+
}, z.core.$strict>;
|
|
6237
|
+
}, z.core.$strict>;
|
|
6238
|
+
readonly AppsProjectsCopyParams: z.ZodObject<{
|
|
6239
|
+
app_key: z.ZodString;
|
|
6240
|
+
project_id: z.ZodString;
|
|
6241
|
+
new_project_name: z.ZodString;
|
|
6242
|
+
}, z.core.$strict>;
|
|
6243
|
+
readonly AppsProjectsCopyResult: z.ZodObject<{
|
|
6244
|
+
project: z.ZodObject<{
|
|
6245
|
+
id: z.ZodString;
|
|
6246
|
+
name: z.ZodString;
|
|
6247
|
+
archived: z.ZodBoolean;
|
|
6248
|
+
count: z.ZodInt;
|
|
6249
|
+
}, z.core.$strict>;
|
|
6250
|
+
}, z.core.$strict>;
|
|
5401
6251
|
};
|
|
5402
6252
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
5403
6253
|
|