@ai-matrx/desktop-protocol 0.21.72 → 0.21.73
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 +21 -0
- package/dist/{chunk-server-FFLYSQUY.js → chunk-server-MK77KDKS.js} +46 -3
- package/dist/chunk-server-MK77KDKS.js.map +1 -0
- package/dist/client.cjs +32 -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 +1 -1
- package/dist/index.cjs +46 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +226 -6
- package/dist/index.d.ts +226 -6
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-BSiPIgIc.d.cts → models-ClCrYsEt.d.cts} +371 -1
- package/dist/{models-BSiPIgIc.d.ts → models-ClCrYsEt.d.ts} +371 -1
- package/dist/react.d.cts +175 -0
- package/dist/react.d.ts +175 -0
- package/generated/desktop-protocol.schema.json +300 -2
- package/package.json +2 -2
- package/dist/chunk-server-FFLYSQUY.js.map +0 -1
package/dist/react.d.cts
CHANGED
|
@@ -1350,6 +1350,14 @@ declare const OPS: {
|
|
|
1350
1350
|
}>;
|
|
1351
1351
|
note: z.ZodString;
|
|
1352
1352
|
}, z.core.$strict>>;
|
|
1353
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1354
|
+
state: z.ZodEnum<{
|
|
1355
|
+
unsupported: "unsupported";
|
|
1356
|
+
synced: "synced";
|
|
1357
|
+
not_synced: "not_synced";
|
|
1358
|
+
}>;
|
|
1359
|
+
note: z.ZodString;
|
|
1360
|
+
}, z.core.$strict>>;
|
|
1353
1361
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1354
1362
|
kind: z.ZodEnum<{
|
|
1355
1363
|
move: "move";
|
|
@@ -1476,6 +1484,14 @@ declare const OPS: {
|
|
|
1476
1484
|
}>;
|
|
1477
1485
|
note: z.ZodString;
|
|
1478
1486
|
}, z.core.$strict>>;
|
|
1487
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1488
|
+
state: z.ZodEnum<{
|
|
1489
|
+
unsupported: "unsupported";
|
|
1490
|
+
synced: "synced";
|
|
1491
|
+
not_synced: "not_synced";
|
|
1492
|
+
}>;
|
|
1493
|
+
note: z.ZodString;
|
|
1494
|
+
}, z.core.$strict>>;
|
|
1479
1495
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1480
1496
|
kind: z.ZodEnum<{
|
|
1481
1497
|
move: "move";
|
|
@@ -1598,6 +1614,14 @@ declare const OPS: {
|
|
|
1598
1614
|
}>;
|
|
1599
1615
|
note: z.ZodString;
|
|
1600
1616
|
}, z.core.$strict>>;
|
|
1617
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1618
|
+
state: z.ZodEnum<{
|
|
1619
|
+
unsupported: "unsupported";
|
|
1620
|
+
synced: "synced";
|
|
1621
|
+
not_synced: "not_synced";
|
|
1622
|
+
}>;
|
|
1623
|
+
note: z.ZodString;
|
|
1624
|
+
}, z.core.$strict>>;
|
|
1601
1625
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1602
1626
|
kind: z.ZodEnum<{
|
|
1603
1627
|
move: "move";
|
|
@@ -1716,6 +1740,14 @@ declare const OPS: {
|
|
|
1716
1740
|
}>;
|
|
1717
1741
|
note: z.ZodString;
|
|
1718
1742
|
}, z.core.$strict>>;
|
|
1743
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1744
|
+
state: z.ZodEnum<{
|
|
1745
|
+
unsupported: "unsupported";
|
|
1746
|
+
synced: "synced";
|
|
1747
|
+
not_synced: "not_synced";
|
|
1748
|
+
}>;
|
|
1749
|
+
note: z.ZodString;
|
|
1750
|
+
}, z.core.$strict>>;
|
|
1719
1751
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1720
1752
|
kind: z.ZodEnum<{
|
|
1721
1753
|
move: "move";
|
|
@@ -1824,6 +1856,14 @@ declare const OPS: {
|
|
|
1824
1856
|
}>;
|
|
1825
1857
|
note: z.ZodString;
|
|
1826
1858
|
}, z.core.$strict>>;
|
|
1859
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1860
|
+
state: z.ZodEnum<{
|
|
1861
|
+
unsupported: "unsupported";
|
|
1862
|
+
synced: "synced";
|
|
1863
|
+
not_synced: "not_synced";
|
|
1864
|
+
}>;
|
|
1865
|
+
note: z.ZodString;
|
|
1866
|
+
}, z.core.$strict>>;
|
|
1827
1867
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1828
1868
|
kind: z.ZodEnum<{
|
|
1829
1869
|
move: "move";
|
|
@@ -1973,6 +2013,14 @@ declare const OPS: {
|
|
|
1973
2013
|
}>;
|
|
1974
2014
|
note: z.ZodString;
|
|
1975
2015
|
}, z.core.$strict>>;
|
|
2016
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
2017
|
+
state: z.ZodEnum<{
|
|
2018
|
+
unsupported: "unsupported";
|
|
2019
|
+
synced: "synced";
|
|
2020
|
+
not_synced: "not_synced";
|
|
2021
|
+
}>;
|
|
2022
|
+
note: z.ZodString;
|
|
2023
|
+
}, z.core.$strict>>;
|
|
1976
2024
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1977
2025
|
kind: z.ZodEnum<{
|
|
1978
2026
|
move: "move";
|
|
@@ -2405,6 +2453,14 @@ declare const OPS: {
|
|
|
2405
2453
|
}>;
|
|
2406
2454
|
note: z.ZodString;
|
|
2407
2455
|
}, z.core.$strict>>;
|
|
2456
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
2457
|
+
state: z.ZodEnum<{
|
|
2458
|
+
unsupported: "unsupported";
|
|
2459
|
+
synced: "synced";
|
|
2460
|
+
not_synced: "not_synced";
|
|
2461
|
+
}>;
|
|
2462
|
+
note: z.ZodString;
|
|
2463
|
+
}, z.core.$strict>>;
|
|
2408
2464
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2409
2465
|
kind: z.ZodEnum<{
|
|
2410
2466
|
move: "move";
|
|
@@ -2768,6 +2824,125 @@ declare const OPS: {
|
|
|
2768
2824
|
readonly since: "1.29";
|
|
2769
2825
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2770
2826
|
};
|
|
2827
|
+
readonly "apps.chats.bring_back": {
|
|
2828
|
+
readonly params: z.ZodObject<{
|
|
2829
|
+
app_key: z.ZodString;
|
|
2830
|
+
chat_id: z.ZodString;
|
|
2831
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
2832
|
+
}, z.core.$strict>;
|
|
2833
|
+
readonly result: z.ZodObject<{
|
|
2834
|
+
window: z.ZodString;
|
|
2835
|
+
dry_run: z.ZodBoolean;
|
|
2836
|
+
place: z.ZodArray<z.ZodObject<{
|
|
2837
|
+
chat_id: z.ZodString;
|
|
2838
|
+
title: z.ZodString;
|
|
2839
|
+
}, z.core.$strict>>;
|
|
2840
|
+
already: z.ZodArray<z.ZodObject<{
|
|
2841
|
+
chat_id: z.ZodString;
|
|
2842
|
+
title: z.ZodString;
|
|
2843
|
+
}, z.core.$strict>>;
|
|
2844
|
+
take_off: z.ZodArray<z.ZodObject<{
|
|
2845
|
+
chat_id: z.ZodString;
|
|
2846
|
+
title: z.ZodString;
|
|
2847
|
+
window: z.ZodString;
|
|
2848
|
+
}, z.core.$strict>>;
|
|
2849
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
2850
|
+
chat_id: z.ZodString;
|
|
2851
|
+
title: z.ZodString;
|
|
2852
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2853
|
+
reason: z.ZodString;
|
|
2854
|
+
}, z.core.$strict>>;
|
|
2855
|
+
other_apps: z.ZodInt;
|
|
2856
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
2857
|
+
ok: z.ZodBoolean;
|
|
2858
|
+
name: z.ZodString;
|
|
2859
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
2861
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
2862
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
2863
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
2864
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
2865
|
+
now: "now";
|
|
2866
|
+
next_close: "next_close";
|
|
2867
|
+
}>>;
|
|
2868
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2869
|
+
}, z.core.$strict>>;
|
|
2870
|
+
pin: z.ZodOptional<z.ZodObject<{
|
|
2871
|
+
ok: z.ZodBoolean;
|
|
2872
|
+
when: z.ZodEnum<{
|
|
2873
|
+
now: "now";
|
|
2874
|
+
next_close: "next_close";
|
|
2875
|
+
}>;
|
|
2876
|
+
pinned: z.ZodInt;
|
|
2877
|
+
already: z.ZodInt;
|
|
2878
|
+
queued: z.ZodInt;
|
|
2879
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2880
|
+
}, z.core.$strict>>;
|
|
2881
|
+
chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2882
|
+
chat_id: z.ZodString;
|
|
2883
|
+
title: z.ZodString;
|
|
2884
|
+
outcome: z.ZodEnum<{
|
|
2885
|
+
moved: "moved";
|
|
2886
|
+
copied: "copied";
|
|
2887
|
+
already: "already";
|
|
2888
|
+
skipped: "skipped";
|
|
2889
|
+
}>;
|
|
2890
|
+
off: z.ZodArray<z.ZodString>;
|
|
2891
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2892
|
+
pin: z.ZodNullable<z.ZodEnum<{
|
|
2893
|
+
failed: "failed";
|
|
2894
|
+
now: "now";
|
|
2895
|
+
next_close: "next_close";
|
|
2896
|
+
}>>;
|
|
2897
|
+
group: z.ZodNullable<z.ZodEnum<{
|
|
2898
|
+
failed: "failed";
|
|
2899
|
+
now: "now";
|
|
2900
|
+
next_close: "next_close";
|
|
2901
|
+
}>>;
|
|
2902
|
+
}, z.core.$strict>>>;
|
|
2903
|
+
message: z.ZodString;
|
|
2904
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
2905
|
+
}, z.core.$strict>;
|
|
2906
|
+
readonly kind: "unary";
|
|
2907
|
+
readonly since: "1.72";
|
|
2908
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2909
|
+
};
|
|
2910
|
+
readonly "apps.chats.tidy_up": {
|
|
2911
|
+
readonly params: z.ZodObject<{
|
|
2912
|
+
dry_run: z.ZodBoolean;
|
|
2913
|
+
restart_windows: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2914
|
+
}, z.core.$strict>;
|
|
2915
|
+
readonly result: z.ZodObject<{
|
|
2916
|
+
dry_run: z.ZodBoolean;
|
|
2917
|
+
facets: z.ZodArray<z.ZodObject<{
|
|
2918
|
+
app_key: z.ZodString;
|
|
2919
|
+
facet: z.ZodEnum<{
|
|
2920
|
+
title: "title";
|
|
2921
|
+
pin: "pin";
|
|
2922
|
+
}>;
|
|
2923
|
+
state: z.ZodEnum<{
|
|
2924
|
+
unsupported: "unsupported";
|
|
2925
|
+
synced: "synced";
|
|
2926
|
+
not_synced: "not_synced";
|
|
2927
|
+
}>;
|
|
2928
|
+
note: z.ZodString;
|
|
2929
|
+
to_push: z.ZodInt;
|
|
2930
|
+
pushed: z.ZodInt;
|
|
2931
|
+
already: z.ZodInt;
|
|
2932
|
+
waiting: z.ZodInt;
|
|
2933
|
+
failed: z.ZodInt;
|
|
2934
|
+
}, z.core.$strict>>;
|
|
2935
|
+
restart: z.ZodArray<z.ZodObject<{
|
|
2936
|
+
window: z.ZodString;
|
|
2937
|
+
why: z.ZodString;
|
|
2938
|
+
}, z.core.$strict>>;
|
|
2939
|
+
restarted: z.ZodArray<z.ZodString>;
|
|
2940
|
+
message: z.ZodString;
|
|
2941
|
+
}, z.core.$strict>;
|
|
2942
|
+
readonly kind: "unary";
|
|
2943
|
+
readonly since: "1.72";
|
|
2944
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2945
|
+
};
|
|
2771
2946
|
readonly "apps.spend": {
|
|
2772
2947
|
readonly params: z.ZodObject<{
|
|
2773
2948
|
app_key: z.ZodString;
|
package/dist/react.d.ts
CHANGED
|
@@ -1350,6 +1350,14 @@ declare const OPS: {
|
|
|
1350
1350
|
}>;
|
|
1351
1351
|
note: z.ZodString;
|
|
1352
1352
|
}, z.core.$strict>>;
|
|
1353
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1354
|
+
state: z.ZodEnum<{
|
|
1355
|
+
unsupported: "unsupported";
|
|
1356
|
+
synced: "synced";
|
|
1357
|
+
not_synced: "not_synced";
|
|
1358
|
+
}>;
|
|
1359
|
+
note: z.ZodString;
|
|
1360
|
+
}, z.core.$strict>>;
|
|
1353
1361
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1354
1362
|
kind: z.ZodEnum<{
|
|
1355
1363
|
move: "move";
|
|
@@ -1476,6 +1484,14 @@ declare const OPS: {
|
|
|
1476
1484
|
}>;
|
|
1477
1485
|
note: z.ZodString;
|
|
1478
1486
|
}, z.core.$strict>>;
|
|
1487
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1488
|
+
state: z.ZodEnum<{
|
|
1489
|
+
unsupported: "unsupported";
|
|
1490
|
+
synced: "synced";
|
|
1491
|
+
not_synced: "not_synced";
|
|
1492
|
+
}>;
|
|
1493
|
+
note: z.ZodString;
|
|
1494
|
+
}, z.core.$strict>>;
|
|
1479
1495
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1480
1496
|
kind: z.ZodEnum<{
|
|
1481
1497
|
move: "move";
|
|
@@ -1598,6 +1614,14 @@ declare const OPS: {
|
|
|
1598
1614
|
}>;
|
|
1599
1615
|
note: z.ZodString;
|
|
1600
1616
|
}, z.core.$strict>>;
|
|
1617
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1618
|
+
state: z.ZodEnum<{
|
|
1619
|
+
unsupported: "unsupported";
|
|
1620
|
+
synced: "synced";
|
|
1621
|
+
not_synced: "not_synced";
|
|
1622
|
+
}>;
|
|
1623
|
+
note: z.ZodString;
|
|
1624
|
+
}, z.core.$strict>>;
|
|
1601
1625
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1602
1626
|
kind: z.ZodEnum<{
|
|
1603
1627
|
move: "move";
|
|
@@ -1716,6 +1740,14 @@ declare const OPS: {
|
|
|
1716
1740
|
}>;
|
|
1717
1741
|
note: z.ZodString;
|
|
1718
1742
|
}, z.core.$strict>>;
|
|
1743
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1744
|
+
state: z.ZodEnum<{
|
|
1745
|
+
unsupported: "unsupported";
|
|
1746
|
+
synced: "synced";
|
|
1747
|
+
not_synced: "not_synced";
|
|
1748
|
+
}>;
|
|
1749
|
+
note: z.ZodString;
|
|
1750
|
+
}, z.core.$strict>>;
|
|
1719
1751
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1720
1752
|
kind: z.ZodEnum<{
|
|
1721
1753
|
move: "move";
|
|
@@ -1824,6 +1856,14 @@ declare const OPS: {
|
|
|
1824
1856
|
}>;
|
|
1825
1857
|
note: z.ZodString;
|
|
1826
1858
|
}, z.core.$strict>>;
|
|
1859
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
1860
|
+
state: z.ZodEnum<{
|
|
1861
|
+
unsupported: "unsupported";
|
|
1862
|
+
synced: "synced";
|
|
1863
|
+
not_synced: "not_synced";
|
|
1864
|
+
}>;
|
|
1865
|
+
note: z.ZodString;
|
|
1866
|
+
}, z.core.$strict>>;
|
|
1827
1867
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1828
1868
|
kind: z.ZodEnum<{
|
|
1829
1869
|
move: "move";
|
|
@@ -1973,6 +2013,14 @@ declare const OPS: {
|
|
|
1973
2013
|
}>;
|
|
1974
2014
|
note: z.ZodString;
|
|
1975
2015
|
}, z.core.$strict>>;
|
|
2016
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
2017
|
+
state: z.ZodEnum<{
|
|
2018
|
+
unsupported: "unsupported";
|
|
2019
|
+
synced: "synced";
|
|
2020
|
+
not_synced: "not_synced";
|
|
2021
|
+
}>;
|
|
2022
|
+
note: z.ZodString;
|
|
2023
|
+
}, z.core.$strict>>;
|
|
1976
2024
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1977
2025
|
kind: z.ZodEnum<{
|
|
1978
2026
|
move: "move";
|
|
@@ -2405,6 +2453,14 @@ declare const OPS: {
|
|
|
2405
2453
|
}>;
|
|
2406
2454
|
note: z.ZodString;
|
|
2407
2455
|
}, z.core.$strict>>;
|
|
2456
|
+
pin_sync: z.ZodOptional<z.ZodObject<{
|
|
2457
|
+
state: z.ZodEnum<{
|
|
2458
|
+
unsupported: "unsupported";
|
|
2459
|
+
synced: "synced";
|
|
2460
|
+
not_synced: "not_synced";
|
|
2461
|
+
}>;
|
|
2462
|
+
note: z.ZodString;
|
|
2463
|
+
}, z.core.$strict>>;
|
|
2408
2464
|
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2409
2465
|
kind: z.ZodEnum<{
|
|
2410
2466
|
move: "move";
|
|
@@ -2768,6 +2824,125 @@ declare const OPS: {
|
|
|
2768
2824
|
readonly since: "1.29";
|
|
2769
2825
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2770
2826
|
};
|
|
2827
|
+
readonly "apps.chats.bring_back": {
|
|
2828
|
+
readonly params: z.ZodObject<{
|
|
2829
|
+
app_key: z.ZodString;
|
|
2830
|
+
chat_id: z.ZodString;
|
|
2831
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
2832
|
+
}, z.core.$strict>;
|
|
2833
|
+
readonly result: z.ZodObject<{
|
|
2834
|
+
window: z.ZodString;
|
|
2835
|
+
dry_run: z.ZodBoolean;
|
|
2836
|
+
place: z.ZodArray<z.ZodObject<{
|
|
2837
|
+
chat_id: z.ZodString;
|
|
2838
|
+
title: z.ZodString;
|
|
2839
|
+
}, z.core.$strict>>;
|
|
2840
|
+
already: z.ZodArray<z.ZodObject<{
|
|
2841
|
+
chat_id: z.ZodString;
|
|
2842
|
+
title: z.ZodString;
|
|
2843
|
+
}, z.core.$strict>>;
|
|
2844
|
+
take_off: z.ZodArray<z.ZodObject<{
|
|
2845
|
+
chat_id: z.ZodString;
|
|
2846
|
+
title: z.ZodString;
|
|
2847
|
+
window: z.ZodString;
|
|
2848
|
+
}, z.core.$strict>>;
|
|
2849
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
2850
|
+
chat_id: z.ZodString;
|
|
2851
|
+
title: z.ZodString;
|
|
2852
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2853
|
+
reason: z.ZodString;
|
|
2854
|
+
}, z.core.$strict>>;
|
|
2855
|
+
other_apps: z.ZodInt;
|
|
2856
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
2857
|
+
ok: z.ZodBoolean;
|
|
2858
|
+
name: z.ZodString;
|
|
2859
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
2861
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
2862
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
2863
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
2864
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
2865
|
+
now: "now";
|
|
2866
|
+
next_close: "next_close";
|
|
2867
|
+
}>>;
|
|
2868
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2869
|
+
}, z.core.$strict>>;
|
|
2870
|
+
pin: z.ZodOptional<z.ZodObject<{
|
|
2871
|
+
ok: z.ZodBoolean;
|
|
2872
|
+
when: z.ZodEnum<{
|
|
2873
|
+
now: "now";
|
|
2874
|
+
next_close: "next_close";
|
|
2875
|
+
}>;
|
|
2876
|
+
pinned: z.ZodInt;
|
|
2877
|
+
already: z.ZodInt;
|
|
2878
|
+
queued: z.ZodInt;
|
|
2879
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2880
|
+
}, z.core.$strict>>;
|
|
2881
|
+
chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2882
|
+
chat_id: z.ZodString;
|
|
2883
|
+
title: z.ZodString;
|
|
2884
|
+
outcome: z.ZodEnum<{
|
|
2885
|
+
moved: "moved";
|
|
2886
|
+
copied: "copied";
|
|
2887
|
+
already: "already";
|
|
2888
|
+
skipped: "skipped";
|
|
2889
|
+
}>;
|
|
2890
|
+
off: z.ZodArray<z.ZodString>;
|
|
2891
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2892
|
+
pin: z.ZodNullable<z.ZodEnum<{
|
|
2893
|
+
failed: "failed";
|
|
2894
|
+
now: "now";
|
|
2895
|
+
next_close: "next_close";
|
|
2896
|
+
}>>;
|
|
2897
|
+
group: z.ZodNullable<z.ZodEnum<{
|
|
2898
|
+
failed: "failed";
|
|
2899
|
+
now: "now";
|
|
2900
|
+
next_close: "next_close";
|
|
2901
|
+
}>>;
|
|
2902
|
+
}, z.core.$strict>>>;
|
|
2903
|
+
message: z.ZodString;
|
|
2904
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
2905
|
+
}, z.core.$strict>;
|
|
2906
|
+
readonly kind: "unary";
|
|
2907
|
+
readonly since: "1.72";
|
|
2908
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2909
|
+
};
|
|
2910
|
+
readonly "apps.chats.tidy_up": {
|
|
2911
|
+
readonly params: z.ZodObject<{
|
|
2912
|
+
dry_run: z.ZodBoolean;
|
|
2913
|
+
restart_windows: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2914
|
+
}, z.core.$strict>;
|
|
2915
|
+
readonly result: z.ZodObject<{
|
|
2916
|
+
dry_run: z.ZodBoolean;
|
|
2917
|
+
facets: z.ZodArray<z.ZodObject<{
|
|
2918
|
+
app_key: z.ZodString;
|
|
2919
|
+
facet: z.ZodEnum<{
|
|
2920
|
+
title: "title";
|
|
2921
|
+
pin: "pin";
|
|
2922
|
+
}>;
|
|
2923
|
+
state: z.ZodEnum<{
|
|
2924
|
+
unsupported: "unsupported";
|
|
2925
|
+
synced: "synced";
|
|
2926
|
+
not_synced: "not_synced";
|
|
2927
|
+
}>;
|
|
2928
|
+
note: z.ZodString;
|
|
2929
|
+
to_push: z.ZodInt;
|
|
2930
|
+
pushed: z.ZodInt;
|
|
2931
|
+
already: z.ZodInt;
|
|
2932
|
+
waiting: z.ZodInt;
|
|
2933
|
+
failed: z.ZodInt;
|
|
2934
|
+
}, z.core.$strict>>;
|
|
2935
|
+
restart: z.ZodArray<z.ZodObject<{
|
|
2936
|
+
window: z.ZodString;
|
|
2937
|
+
why: z.ZodString;
|
|
2938
|
+
}, z.core.$strict>>;
|
|
2939
|
+
restarted: z.ZodArray<z.ZodString>;
|
|
2940
|
+
message: z.ZodString;
|
|
2941
|
+
}, z.core.$strict>;
|
|
2942
|
+
readonly kind: "unary";
|
|
2943
|
+
readonly since: "1.72";
|
|
2944
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2945
|
+
};
|
|
2771
2946
|
readonly "apps.spend": {
|
|
2772
2947
|
readonly params: z.ZodObject<{
|
|
2773
2948
|
app_key: z.ZodString;
|