@ai-matrx/desktop-protocol 0.17.4 → 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.
@@ -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" | "1.8";
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: {
@@ -1633,6 +1633,8 @@ declare const OPS: {
1633
1633
  }, z.core.$strict>>;
1634
1634
  }, z.core.$strict>>;
1635
1635
  new_window_ms: z.ZodInt;
1636
+ updating: z.ZodOptional<z.ZodBoolean>;
1637
+ live: z.ZodOptional<z.ZodBoolean>;
1636
1638
  }, z.core.$strict>;
1637
1639
  readonly kind: "unary";
1638
1640
  readonly since: "1.8";
@@ -1761,6 +1763,161 @@ declare const OPS: {
1761
1763
  readonly since: "1.8";
1762
1764
  readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1763
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
+ };
1764
1921
  readonly "apps.projects.unfile": {
1765
1922
  readonly params: z.ZodObject<{
1766
1923
  app_key: z.ZodString;
@@ -2568,6 +2725,12 @@ declare const EVENTS: {
2568
2725
  ids: z.ZodArray<z.ZodString>;
2569
2726
  all: z.ZodBoolean;
2570
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>;
2571
2734
  readonly "exec.exited": z.ZodObject<{
2572
2735
  exit_code: z.ZodNullable<z.ZodInt>;
2573
2736
  exit_signal: z.ZodNullable<z.ZodEnum<{
@@ -5780,6 +5943,8 @@ declare const NAMED_SCHEMAS: {
5780
5943
  }, z.core.$strict>>;
5781
5944
  }, z.core.$strict>>;
5782
5945
  new_window_ms: z.ZodInt;
5946
+ updating: z.ZodOptional<z.ZodBoolean>;
5947
+ live: z.ZodOptional<z.ZodBoolean>;
5783
5948
  }, z.core.$strict>;
5784
5949
  readonly AppsChatsWatchParams: z.ZodObject<{
5785
5950
  app_key: z.ZodString;
@@ -5942,6 +6107,147 @@ declare const NAMED_SCHEMAS: {
5942
6107
  }, z.core.$strict>>;
5943
6108
  }, z.core.$strict>;
5944
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>;
5945
6251
  };
5946
6252
  type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
5947
6253
 
@@ -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" | "1.8";
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: {
@@ -1633,6 +1633,8 @@ declare const OPS: {
1633
1633
  }, z.core.$strict>>;
1634
1634
  }, z.core.$strict>>;
1635
1635
  new_window_ms: z.ZodInt;
1636
+ updating: z.ZodOptional<z.ZodBoolean>;
1637
+ live: z.ZodOptional<z.ZodBoolean>;
1636
1638
  }, z.core.$strict>;
1637
1639
  readonly kind: "unary";
1638
1640
  readonly since: "1.8";
@@ -1761,6 +1763,161 @@ declare const OPS: {
1761
1763
  readonly since: "1.8";
1762
1764
  readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1763
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
+ };
1764
1921
  readonly "apps.projects.unfile": {
1765
1922
  readonly params: z.ZodObject<{
1766
1923
  app_key: z.ZodString;
@@ -2568,6 +2725,12 @@ declare const EVENTS: {
2568
2725
  ids: z.ZodArray<z.ZodString>;
2569
2726
  all: z.ZodBoolean;
2570
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>;
2571
2734
  readonly "exec.exited": z.ZodObject<{
2572
2735
  exit_code: z.ZodNullable<z.ZodInt>;
2573
2736
  exit_signal: z.ZodNullable<z.ZodEnum<{
@@ -5780,6 +5943,8 @@ declare const NAMED_SCHEMAS: {
5780
5943
  }, z.core.$strict>>;
5781
5944
  }, z.core.$strict>>;
5782
5945
  new_window_ms: z.ZodInt;
5946
+ updating: z.ZodOptional<z.ZodBoolean>;
5947
+ live: z.ZodOptional<z.ZodBoolean>;
5783
5948
  }, z.core.$strict>;
5784
5949
  readonly AppsChatsWatchParams: z.ZodObject<{
5785
5950
  app_key: z.ZodString;
@@ -5942,6 +6107,147 @@ declare const NAMED_SCHEMAS: {
5942
6107
  }, z.core.$strict>>;
5943
6108
  }, z.core.$strict>;
5944
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>;
5945
6251
  };
5946
6252
  type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
5947
6253