@ai-matrx/desktop-protocol 0.21.48 → 0.21.50
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/client.cjs +53 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +53 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +73 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +153 -10
- package/dist/index.d.ts +153 -10
- package/dist/index.js +73 -3
- package/dist/index.js.map +1 -1
- package/dist/{models-78R7DKfg.d.cts → models-CqgbnWpk.d.cts} +229 -9
- package/dist/{models-78R7DKfg.d.ts → models-CqgbnWpk.d.ts} +229 -9
- package/dist/react.d.cts +100 -2
- package/dist/react.d.ts +100 -2
- package/generated/desktop-protocol.schema.json +395 -2
- package/package.json +2 -2
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50";
|
|
714
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2686,6 +2686,103 @@ declare const OPS: {
|
|
|
2686
2686
|
readonly since: "1.10";
|
|
2687
2687
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2688
2688
|
};
|
|
2689
|
+
readonly "apps.chats.copy_to_account": {
|
|
2690
|
+
readonly params: z.ZodObject<{
|
|
2691
|
+
app_key: z.ZodString;
|
|
2692
|
+
origin: z.ZodString;
|
|
2693
|
+
target: z.ZodString;
|
|
2694
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
2695
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
2696
|
+
copy: "copy";
|
|
2697
|
+
move: "move";
|
|
2698
|
+
}>>;
|
|
2699
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
2700
|
+
queued: "queued";
|
|
2701
|
+
restart_verify: "restart_verify";
|
|
2702
|
+
}>>;
|
|
2703
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
2704
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
2705
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
2706
|
+
}, z.core.$strict>;
|
|
2707
|
+
readonly result: z.ZodObject<{
|
|
2708
|
+
message: z.ZodString;
|
|
2709
|
+
origin: z.ZodString;
|
|
2710
|
+
target: z.ZodString;
|
|
2711
|
+
mode: z.ZodEnum<{
|
|
2712
|
+
copy: "copy";
|
|
2713
|
+
move: "move";
|
|
2714
|
+
}>;
|
|
2715
|
+
project: z.ZodObject<{
|
|
2716
|
+
id: z.ZodString;
|
|
2717
|
+
name: z.ZodString;
|
|
2718
|
+
}, z.core.$strict>;
|
|
2719
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2720
|
+
name: z.ZodString;
|
|
2721
|
+
chats: z.ZodNumber;
|
|
2722
|
+
ok: z.ZodBoolean;
|
|
2723
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2724
|
+
now: "now";
|
|
2725
|
+
next_close: "next_close";
|
|
2726
|
+
}>>;
|
|
2727
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2728
|
+
}, z.core.$strict>>;
|
|
2729
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
2730
|
+
name: z.ZodString;
|
|
2731
|
+
ok: z.ZodBoolean;
|
|
2732
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2733
|
+
now: "now";
|
|
2734
|
+
next_close: "next_close";
|
|
2735
|
+
}>>;
|
|
2736
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2737
|
+
}, z.core.$strict>>;
|
|
2738
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2739
|
+
chat_id: z.ZodString;
|
|
2740
|
+
title: z.ZodString;
|
|
2741
|
+
outcome: z.ZodEnum<{
|
|
2742
|
+
moved: "moved";
|
|
2743
|
+
copied: "copied";
|
|
2744
|
+
already: "already";
|
|
2745
|
+
skipped: "skipped";
|
|
2746
|
+
}>;
|
|
2747
|
+
group: z.ZodNullable<z.ZodString>;
|
|
2748
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
2749
|
+
failed: "failed";
|
|
2750
|
+
now: "now";
|
|
2751
|
+
next_close: "next_close";
|
|
2752
|
+
}>>;
|
|
2753
|
+
pinned: z.ZodBoolean;
|
|
2754
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
2755
|
+
failed: "failed";
|
|
2756
|
+
now: "now";
|
|
2757
|
+
next_close: "next_close";
|
|
2758
|
+
}>>;
|
|
2759
|
+
state: z.ZodEnum<{
|
|
2760
|
+
failed: "failed";
|
|
2761
|
+
queued: "queued";
|
|
2762
|
+
verified: "verified";
|
|
2763
|
+
}>;
|
|
2764
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2765
|
+
}, z.core.$strict>>;
|
|
2766
|
+
verified: z.ZodNumber;
|
|
2767
|
+
queued: z.ZodNumber;
|
|
2768
|
+
failed: z.ZodNumber;
|
|
2769
|
+
restart: z.ZodObject<{
|
|
2770
|
+
asked: z.ZodEnum<{
|
|
2771
|
+
queued: "queued";
|
|
2772
|
+
restart_verify: "restart_verify";
|
|
2773
|
+
}>;
|
|
2774
|
+
done: z.ZodEnum<{
|
|
2775
|
+
queued: "queued";
|
|
2776
|
+
restart_verify: "restart_verify";
|
|
2777
|
+
}>;
|
|
2778
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2779
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2780
|
+
}, z.core.$strict>;
|
|
2781
|
+
}, z.core.$strict>;
|
|
2782
|
+
readonly kind: "unary";
|
|
2783
|
+
readonly since: "1.55";
|
|
2784
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2785
|
+
};
|
|
2689
2786
|
readonly "apps.projects.to_window": {
|
|
2690
2787
|
readonly params: z.ZodObject<{
|
|
2691
2788
|
app_key: z.ZodString;
|
|
@@ -4134,8 +4231,8 @@ declare const OPS: {
|
|
|
4134
4231
|
name: z.ZodString;
|
|
4135
4232
|
verb: z.ZodEnum<{
|
|
4136
4233
|
start: "start";
|
|
4137
|
-
stop: "stop";
|
|
4138
4234
|
restart: "restart";
|
|
4235
|
+
stop: "stop";
|
|
4139
4236
|
}>;
|
|
4140
4237
|
}, z.core.$strict>;
|
|
4141
4238
|
readonly result: z.ZodObject<{
|
|
@@ -4310,8 +4407,8 @@ declare const OPS: {
|
|
|
4310
4407
|
readonly result: z.ZodObject<{
|
|
4311
4408
|
state: z.ZodEnum<{
|
|
4312
4409
|
cancelled: "cancelled";
|
|
4313
|
-
blocked: "blocked";
|
|
4314
4410
|
done: "done";
|
|
4411
|
+
blocked: "blocked";
|
|
4315
4412
|
}>;
|
|
4316
4413
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
4317
4414
|
signed_out: "signed_out";
|
|
@@ -4388,6 +4485,7 @@ declare const OPS: {
|
|
|
4388
4485
|
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
4389
4486
|
id: z.ZodString;
|
|
4390
4487
|
source: z.ZodEnum<{
|
|
4488
|
+
account: "account";
|
|
4391
4489
|
settings: "settings";
|
|
4392
4490
|
driver: "driver";
|
|
4393
4491
|
}>;
|
|
@@ -5528,8 +5626,8 @@ declare const OPS: {
|
|
|
5528
5626
|
}, z.core.$strict>;
|
|
5529
5627
|
readonly result: z.ZodObject<{
|
|
5530
5628
|
state: z.ZodEnum<{
|
|
5531
|
-
blocked: "blocked";
|
|
5532
5629
|
done: "done";
|
|
5630
|
+
blocked: "blocked";
|
|
5533
5631
|
nothing_to_do: "nothing_to_do";
|
|
5534
5632
|
}>;
|
|
5535
5633
|
summary: z.ZodString;
|
|
@@ -7294,8 +7392,8 @@ declare const OPS: {
|
|
|
7294
7392
|
name: z.ZodString;
|
|
7295
7393
|
action: z.ZodEnum<{
|
|
7296
7394
|
start: "start";
|
|
7297
|
-
stop: "stop";
|
|
7298
7395
|
restart: "restart";
|
|
7396
|
+
stop: "stop";
|
|
7299
7397
|
}>;
|
|
7300
7398
|
}, z.core.$strict>;
|
|
7301
7399
|
readonly result: z.ZodObject<{
|
|
@@ -10556,8 +10654,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
10556
10654
|
readonly CodingHistoryImportMissingResult: z.ZodObject<{
|
|
10557
10655
|
state: z.ZodEnum<{
|
|
10558
10656
|
cancelled: "cancelled";
|
|
10559
|
-
blocked: "blocked";
|
|
10560
10657
|
done: "done";
|
|
10658
|
+
blocked: "blocked";
|
|
10561
10659
|
}>;
|
|
10562
10660
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
10563
10661
|
signed_out: "signed_out";
|
|
@@ -10979,6 +11077,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10979
11077
|
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
10980
11078
|
id: z.ZodString;
|
|
10981
11079
|
source: z.ZodEnum<{
|
|
11080
|
+
account: "account";
|
|
10982
11081
|
settings: "settings";
|
|
10983
11082
|
driver: "driver";
|
|
10984
11083
|
}>;
|
|
@@ -11209,6 +11308,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
11209
11308
|
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
11210
11309
|
id: z.ZodString;
|
|
11211
11310
|
source: z.ZodEnum<{
|
|
11311
|
+
account: "account";
|
|
11212
11312
|
settings: "settings";
|
|
11213
11313
|
driver: "driver";
|
|
11214
11314
|
}>;
|
|
@@ -12129,8 +12229,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
12129
12229
|
}, z.core.$strict>;
|
|
12130
12230
|
readonly CodingReconcileResult: z.ZodObject<{
|
|
12131
12231
|
state: z.ZodEnum<{
|
|
12132
|
-
blocked: "blocked";
|
|
12133
12232
|
done: "done";
|
|
12233
|
+
blocked: "blocked";
|
|
12134
12234
|
nothing_to_do: "nothing_to_do";
|
|
12135
12235
|
}>;
|
|
12136
12236
|
summary: z.ZodString;
|
|
@@ -13821,8 +13921,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
13821
13921
|
name: z.ZodString;
|
|
13822
13922
|
verb: z.ZodEnum<{
|
|
13823
13923
|
start: "start";
|
|
13824
|
-
stop: "stop";
|
|
13825
13924
|
restart: "restart";
|
|
13925
|
+
stop: "stop";
|
|
13826
13926
|
}>;
|
|
13827
13927
|
}, z.core.$strict>;
|
|
13828
13928
|
readonly StackServerActionResult: z.ZodObject<{
|
|
@@ -15002,6 +15102,126 @@ declare const NAMED_SCHEMAS: {
|
|
|
15002
15102
|
problem: z.ZodOptional<z.ZodString>;
|
|
15003
15103
|
}, z.core.$strict>;
|
|
15004
15104
|
}, z.core.$strict>;
|
|
15105
|
+
readonly AppsChatsCopyToAccountParams: z.ZodObject<{
|
|
15106
|
+
app_key: z.ZodString;
|
|
15107
|
+
origin: z.ZodString;
|
|
15108
|
+
target: z.ZodString;
|
|
15109
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
15110
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
15111
|
+
copy: "copy";
|
|
15112
|
+
move: "move";
|
|
15113
|
+
}>>;
|
|
15114
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
15115
|
+
queued: "queued";
|
|
15116
|
+
restart_verify: "restart_verify";
|
|
15117
|
+
}>>;
|
|
15118
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
15119
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
15120
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
15121
|
+
}, z.core.$strict>;
|
|
15122
|
+
readonly CopiedChat: z.ZodObject<{
|
|
15123
|
+
chat_id: z.ZodString;
|
|
15124
|
+
title: z.ZodString;
|
|
15125
|
+
outcome: z.ZodEnum<{
|
|
15126
|
+
moved: "moved";
|
|
15127
|
+
copied: "copied";
|
|
15128
|
+
already: "already";
|
|
15129
|
+
skipped: "skipped";
|
|
15130
|
+
}>;
|
|
15131
|
+
group: z.ZodNullable<z.ZodString>;
|
|
15132
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
15133
|
+
failed: "failed";
|
|
15134
|
+
now: "now";
|
|
15135
|
+
next_close: "next_close";
|
|
15136
|
+
}>>;
|
|
15137
|
+
pinned: z.ZodBoolean;
|
|
15138
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
15139
|
+
failed: "failed";
|
|
15140
|
+
now: "now";
|
|
15141
|
+
next_close: "next_close";
|
|
15142
|
+
}>>;
|
|
15143
|
+
state: z.ZodEnum<{
|
|
15144
|
+
failed: "failed";
|
|
15145
|
+
queued: "queued";
|
|
15146
|
+
verified: "verified";
|
|
15147
|
+
}>;
|
|
15148
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15149
|
+
}, z.core.$strict>;
|
|
15150
|
+
readonly AppsChatsCopyToAccountResult: z.ZodObject<{
|
|
15151
|
+
message: z.ZodString;
|
|
15152
|
+
origin: z.ZodString;
|
|
15153
|
+
target: z.ZodString;
|
|
15154
|
+
mode: z.ZodEnum<{
|
|
15155
|
+
copy: "copy";
|
|
15156
|
+
move: "move";
|
|
15157
|
+
}>;
|
|
15158
|
+
project: z.ZodObject<{
|
|
15159
|
+
id: z.ZodString;
|
|
15160
|
+
name: z.ZodString;
|
|
15161
|
+
}, z.core.$strict>;
|
|
15162
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
15163
|
+
name: z.ZodString;
|
|
15164
|
+
chats: z.ZodNumber;
|
|
15165
|
+
ok: z.ZodBoolean;
|
|
15166
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
15167
|
+
now: "now";
|
|
15168
|
+
next_close: "next_close";
|
|
15169
|
+
}>>;
|
|
15170
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15171
|
+
}, z.core.$strict>>;
|
|
15172
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
15173
|
+
name: z.ZodString;
|
|
15174
|
+
ok: z.ZodBoolean;
|
|
15175
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
15176
|
+
now: "now";
|
|
15177
|
+
next_close: "next_close";
|
|
15178
|
+
}>>;
|
|
15179
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15180
|
+
}, z.core.$strict>>;
|
|
15181
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
15182
|
+
chat_id: z.ZodString;
|
|
15183
|
+
title: z.ZodString;
|
|
15184
|
+
outcome: z.ZodEnum<{
|
|
15185
|
+
moved: "moved";
|
|
15186
|
+
copied: "copied";
|
|
15187
|
+
already: "already";
|
|
15188
|
+
skipped: "skipped";
|
|
15189
|
+
}>;
|
|
15190
|
+
group: z.ZodNullable<z.ZodString>;
|
|
15191
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
15192
|
+
failed: "failed";
|
|
15193
|
+
now: "now";
|
|
15194
|
+
next_close: "next_close";
|
|
15195
|
+
}>>;
|
|
15196
|
+
pinned: z.ZodBoolean;
|
|
15197
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
15198
|
+
failed: "failed";
|
|
15199
|
+
now: "now";
|
|
15200
|
+
next_close: "next_close";
|
|
15201
|
+
}>>;
|
|
15202
|
+
state: z.ZodEnum<{
|
|
15203
|
+
failed: "failed";
|
|
15204
|
+
queued: "queued";
|
|
15205
|
+
verified: "verified";
|
|
15206
|
+
}>;
|
|
15207
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15208
|
+
}, z.core.$strict>>;
|
|
15209
|
+
verified: z.ZodNumber;
|
|
15210
|
+
queued: z.ZodNumber;
|
|
15211
|
+
failed: z.ZodNumber;
|
|
15212
|
+
restart: z.ZodObject<{
|
|
15213
|
+
asked: z.ZodEnum<{
|
|
15214
|
+
queued: "queued";
|
|
15215
|
+
restart_verify: "restart_verify";
|
|
15216
|
+
}>;
|
|
15217
|
+
done: z.ZodEnum<{
|
|
15218
|
+
queued: "queued";
|
|
15219
|
+
restart_verify: "restart_verify";
|
|
15220
|
+
}>;
|
|
15221
|
+
windows: z.ZodArray<z.ZodString>;
|
|
15222
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15223
|
+
}, z.core.$strict>;
|
|
15224
|
+
}, z.core.$strict>;
|
|
15005
15225
|
readonly AccountUsage: z.ZodObject<{
|
|
15006
15226
|
account: z.ZodString;
|
|
15007
15227
|
org: z.ZodNullable<z.ZodString>;
|
|
@@ -17971,8 +18191,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
17971
18191
|
name: z.ZodString;
|
|
17972
18192
|
action: z.ZodEnum<{
|
|
17973
18193
|
start: "start";
|
|
17974
|
-
stop: "stop";
|
|
17975
18194
|
restart: "restart";
|
|
18195
|
+
stop: "stop";
|
|
17976
18196
|
}>;
|
|
17977
18197
|
}, z.core.$strict>;
|
|
17978
18198
|
readonly WindowsServiceControlResult: z.ZodObject<{
|
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50";
|
|
714
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2686,6 +2686,103 @@ declare const OPS: {
|
|
|
2686
2686
|
readonly since: "1.10";
|
|
2687
2687
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2688
2688
|
};
|
|
2689
|
+
readonly "apps.chats.copy_to_account": {
|
|
2690
|
+
readonly params: z.ZodObject<{
|
|
2691
|
+
app_key: z.ZodString;
|
|
2692
|
+
origin: z.ZodString;
|
|
2693
|
+
target: z.ZodString;
|
|
2694
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
2695
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
2696
|
+
copy: "copy";
|
|
2697
|
+
move: "move";
|
|
2698
|
+
}>>;
|
|
2699
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
2700
|
+
queued: "queued";
|
|
2701
|
+
restart_verify: "restart_verify";
|
|
2702
|
+
}>>;
|
|
2703
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
2704
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
2705
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
2706
|
+
}, z.core.$strict>;
|
|
2707
|
+
readonly result: z.ZodObject<{
|
|
2708
|
+
message: z.ZodString;
|
|
2709
|
+
origin: z.ZodString;
|
|
2710
|
+
target: z.ZodString;
|
|
2711
|
+
mode: z.ZodEnum<{
|
|
2712
|
+
copy: "copy";
|
|
2713
|
+
move: "move";
|
|
2714
|
+
}>;
|
|
2715
|
+
project: z.ZodObject<{
|
|
2716
|
+
id: z.ZodString;
|
|
2717
|
+
name: z.ZodString;
|
|
2718
|
+
}, z.core.$strict>;
|
|
2719
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2720
|
+
name: z.ZodString;
|
|
2721
|
+
chats: z.ZodNumber;
|
|
2722
|
+
ok: z.ZodBoolean;
|
|
2723
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2724
|
+
now: "now";
|
|
2725
|
+
next_close: "next_close";
|
|
2726
|
+
}>>;
|
|
2727
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2728
|
+
}, z.core.$strict>>;
|
|
2729
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
2730
|
+
name: z.ZodString;
|
|
2731
|
+
ok: z.ZodBoolean;
|
|
2732
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2733
|
+
now: "now";
|
|
2734
|
+
next_close: "next_close";
|
|
2735
|
+
}>>;
|
|
2736
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2737
|
+
}, z.core.$strict>>;
|
|
2738
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2739
|
+
chat_id: z.ZodString;
|
|
2740
|
+
title: z.ZodString;
|
|
2741
|
+
outcome: z.ZodEnum<{
|
|
2742
|
+
moved: "moved";
|
|
2743
|
+
copied: "copied";
|
|
2744
|
+
already: "already";
|
|
2745
|
+
skipped: "skipped";
|
|
2746
|
+
}>;
|
|
2747
|
+
group: z.ZodNullable<z.ZodString>;
|
|
2748
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
2749
|
+
failed: "failed";
|
|
2750
|
+
now: "now";
|
|
2751
|
+
next_close: "next_close";
|
|
2752
|
+
}>>;
|
|
2753
|
+
pinned: z.ZodBoolean;
|
|
2754
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
2755
|
+
failed: "failed";
|
|
2756
|
+
now: "now";
|
|
2757
|
+
next_close: "next_close";
|
|
2758
|
+
}>>;
|
|
2759
|
+
state: z.ZodEnum<{
|
|
2760
|
+
failed: "failed";
|
|
2761
|
+
queued: "queued";
|
|
2762
|
+
verified: "verified";
|
|
2763
|
+
}>;
|
|
2764
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2765
|
+
}, z.core.$strict>>;
|
|
2766
|
+
verified: z.ZodNumber;
|
|
2767
|
+
queued: z.ZodNumber;
|
|
2768
|
+
failed: z.ZodNumber;
|
|
2769
|
+
restart: z.ZodObject<{
|
|
2770
|
+
asked: z.ZodEnum<{
|
|
2771
|
+
queued: "queued";
|
|
2772
|
+
restart_verify: "restart_verify";
|
|
2773
|
+
}>;
|
|
2774
|
+
done: z.ZodEnum<{
|
|
2775
|
+
queued: "queued";
|
|
2776
|
+
restart_verify: "restart_verify";
|
|
2777
|
+
}>;
|
|
2778
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2779
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2780
|
+
}, z.core.$strict>;
|
|
2781
|
+
}, z.core.$strict>;
|
|
2782
|
+
readonly kind: "unary";
|
|
2783
|
+
readonly since: "1.55";
|
|
2784
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2785
|
+
};
|
|
2689
2786
|
readonly "apps.projects.to_window": {
|
|
2690
2787
|
readonly params: z.ZodObject<{
|
|
2691
2788
|
app_key: z.ZodString;
|
|
@@ -4134,8 +4231,8 @@ declare const OPS: {
|
|
|
4134
4231
|
name: z.ZodString;
|
|
4135
4232
|
verb: z.ZodEnum<{
|
|
4136
4233
|
start: "start";
|
|
4137
|
-
stop: "stop";
|
|
4138
4234
|
restart: "restart";
|
|
4235
|
+
stop: "stop";
|
|
4139
4236
|
}>;
|
|
4140
4237
|
}, z.core.$strict>;
|
|
4141
4238
|
readonly result: z.ZodObject<{
|
|
@@ -4310,8 +4407,8 @@ declare const OPS: {
|
|
|
4310
4407
|
readonly result: z.ZodObject<{
|
|
4311
4408
|
state: z.ZodEnum<{
|
|
4312
4409
|
cancelled: "cancelled";
|
|
4313
|
-
blocked: "blocked";
|
|
4314
4410
|
done: "done";
|
|
4411
|
+
blocked: "blocked";
|
|
4315
4412
|
}>;
|
|
4316
4413
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
4317
4414
|
signed_out: "signed_out";
|
|
@@ -4388,6 +4485,7 @@ declare const OPS: {
|
|
|
4388
4485
|
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
4389
4486
|
id: z.ZodString;
|
|
4390
4487
|
source: z.ZodEnum<{
|
|
4488
|
+
account: "account";
|
|
4391
4489
|
settings: "settings";
|
|
4392
4490
|
driver: "driver";
|
|
4393
4491
|
}>;
|
|
@@ -5528,8 +5626,8 @@ declare const OPS: {
|
|
|
5528
5626
|
}, z.core.$strict>;
|
|
5529
5627
|
readonly result: z.ZodObject<{
|
|
5530
5628
|
state: z.ZodEnum<{
|
|
5531
|
-
blocked: "blocked";
|
|
5532
5629
|
done: "done";
|
|
5630
|
+
blocked: "blocked";
|
|
5533
5631
|
nothing_to_do: "nothing_to_do";
|
|
5534
5632
|
}>;
|
|
5535
5633
|
summary: z.ZodString;
|
|
@@ -7294,8 +7392,8 @@ declare const OPS: {
|
|
|
7294
7392
|
name: z.ZodString;
|
|
7295
7393
|
action: z.ZodEnum<{
|
|
7296
7394
|
start: "start";
|
|
7297
|
-
stop: "stop";
|
|
7298
7395
|
restart: "restart";
|
|
7396
|
+
stop: "stop";
|
|
7299
7397
|
}>;
|
|
7300
7398
|
}, z.core.$strict>;
|
|
7301
7399
|
readonly result: z.ZodObject<{
|
|
@@ -10556,8 +10654,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
10556
10654
|
readonly CodingHistoryImportMissingResult: z.ZodObject<{
|
|
10557
10655
|
state: z.ZodEnum<{
|
|
10558
10656
|
cancelled: "cancelled";
|
|
10559
|
-
blocked: "blocked";
|
|
10560
10657
|
done: "done";
|
|
10658
|
+
blocked: "blocked";
|
|
10561
10659
|
}>;
|
|
10562
10660
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
10563
10661
|
signed_out: "signed_out";
|
|
@@ -10979,6 +11077,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
10979
11077
|
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
10980
11078
|
id: z.ZodString;
|
|
10981
11079
|
source: z.ZodEnum<{
|
|
11080
|
+
account: "account";
|
|
10982
11081
|
settings: "settings";
|
|
10983
11082
|
driver: "driver";
|
|
10984
11083
|
}>;
|
|
@@ -11209,6 +11308,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
11209
11308
|
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
11210
11309
|
id: z.ZodString;
|
|
11211
11310
|
source: z.ZodEnum<{
|
|
11311
|
+
account: "account";
|
|
11212
11312
|
settings: "settings";
|
|
11213
11313
|
driver: "driver";
|
|
11214
11314
|
}>;
|
|
@@ -12129,8 +12229,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
12129
12229
|
}, z.core.$strict>;
|
|
12130
12230
|
readonly CodingReconcileResult: z.ZodObject<{
|
|
12131
12231
|
state: z.ZodEnum<{
|
|
12132
|
-
blocked: "blocked";
|
|
12133
12232
|
done: "done";
|
|
12233
|
+
blocked: "blocked";
|
|
12134
12234
|
nothing_to_do: "nothing_to_do";
|
|
12135
12235
|
}>;
|
|
12136
12236
|
summary: z.ZodString;
|
|
@@ -13821,8 +13921,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
13821
13921
|
name: z.ZodString;
|
|
13822
13922
|
verb: z.ZodEnum<{
|
|
13823
13923
|
start: "start";
|
|
13824
|
-
stop: "stop";
|
|
13825
13924
|
restart: "restart";
|
|
13925
|
+
stop: "stop";
|
|
13826
13926
|
}>;
|
|
13827
13927
|
}, z.core.$strict>;
|
|
13828
13928
|
readonly StackServerActionResult: z.ZodObject<{
|
|
@@ -15002,6 +15102,126 @@ declare const NAMED_SCHEMAS: {
|
|
|
15002
15102
|
problem: z.ZodOptional<z.ZodString>;
|
|
15003
15103
|
}, z.core.$strict>;
|
|
15004
15104
|
}, z.core.$strict>;
|
|
15105
|
+
readonly AppsChatsCopyToAccountParams: z.ZodObject<{
|
|
15106
|
+
app_key: z.ZodString;
|
|
15107
|
+
origin: z.ZodString;
|
|
15108
|
+
target: z.ZodString;
|
|
15109
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
15110
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
15111
|
+
copy: "copy";
|
|
15112
|
+
move: "move";
|
|
15113
|
+
}>>;
|
|
15114
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
15115
|
+
queued: "queued";
|
|
15116
|
+
restart_verify: "restart_verify";
|
|
15117
|
+
}>>;
|
|
15118
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
15119
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
15120
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
15121
|
+
}, z.core.$strict>;
|
|
15122
|
+
readonly CopiedChat: z.ZodObject<{
|
|
15123
|
+
chat_id: z.ZodString;
|
|
15124
|
+
title: z.ZodString;
|
|
15125
|
+
outcome: z.ZodEnum<{
|
|
15126
|
+
moved: "moved";
|
|
15127
|
+
copied: "copied";
|
|
15128
|
+
already: "already";
|
|
15129
|
+
skipped: "skipped";
|
|
15130
|
+
}>;
|
|
15131
|
+
group: z.ZodNullable<z.ZodString>;
|
|
15132
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
15133
|
+
failed: "failed";
|
|
15134
|
+
now: "now";
|
|
15135
|
+
next_close: "next_close";
|
|
15136
|
+
}>>;
|
|
15137
|
+
pinned: z.ZodBoolean;
|
|
15138
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
15139
|
+
failed: "failed";
|
|
15140
|
+
now: "now";
|
|
15141
|
+
next_close: "next_close";
|
|
15142
|
+
}>>;
|
|
15143
|
+
state: z.ZodEnum<{
|
|
15144
|
+
failed: "failed";
|
|
15145
|
+
queued: "queued";
|
|
15146
|
+
verified: "verified";
|
|
15147
|
+
}>;
|
|
15148
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15149
|
+
}, z.core.$strict>;
|
|
15150
|
+
readonly AppsChatsCopyToAccountResult: z.ZodObject<{
|
|
15151
|
+
message: z.ZodString;
|
|
15152
|
+
origin: z.ZodString;
|
|
15153
|
+
target: z.ZodString;
|
|
15154
|
+
mode: z.ZodEnum<{
|
|
15155
|
+
copy: "copy";
|
|
15156
|
+
move: "move";
|
|
15157
|
+
}>;
|
|
15158
|
+
project: z.ZodObject<{
|
|
15159
|
+
id: z.ZodString;
|
|
15160
|
+
name: z.ZodString;
|
|
15161
|
+
}, z.core.$strict>;
|
|
15162
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
15163
|
+
name: z.ZodString;
|
|
15164
|
+
chats: z.ZodNumber;
|
|
15165
|
+
ok: z.ZodBoolean;
|
|
15166
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
15167
|
+
now: "now";
|
|
15168
|
+
next_close: "next_close";
|
|
15169
|
+
}>>;
|
|
15170
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15171
|
+
}, z.core.$strict>>;
|
|
15172
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
15173
|
+
name: z.ZodString;
|
|
15174
|
+
ok: z.ZodBoolean;
|
|
15175
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
15176
|
+
now: "now";
|
|
15177
|
+
next_close: "next_close";
|
|
15178
|
+
}>>;
|
|
15179
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15180
|
+
}, z.core.$strict>>;
|
|
15181
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
15182
|
+
chat_id: z.ZodString;
|
|
15183
|
+
title: z.ZodString;
|
|
15184
|
+
outcome: z.ZodEnum<{
|
|
15185
|
+
moved: "moved";
|
|
15186
|
+
copied: "copied";
|
|
15187
|
+
already: "already";
|
|
15188
|
+
skipped: "skipped";
|
|
15189
|
+
}>;
|
|
15190
|
+
group: z.ZodNullable<z.ZodString>;
|
|
15191
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
15192
|
+
failed: "failed";
|
|
15193
|
+
now: "now";
|
|
15194
|
+
next_close: "next_close";
|
|
15195
|
+
}>>;
|
|
15196
|
+
pinned: z.ZodBoolean;
|
|
15197
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
15198
|
+
failed: "failed";
|
|
15199
|
+
now: "now";
|
|
15200
|
+
next_close: "next_close";
|
|
15201
|
+
}>>;
|
|
15202
|
+
state: z.ZodEnum<{
|
|
15203
|
+
failed: "failed";
|
|
15204
|
+
queued: "queued";
|
|
15205
|
+
verified: "verified";
|
|
15206
|
+
}>;
|
|
15207
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15208
|
+
}, z.core.$strict>>;
|
|
15209
|
+
verified: z.ZodNumber;
|
|
15210
|
+
queued: z.ZodNumber;
|
|
15211
|
+
failed: z.ZodNumber;
|
|
15212
|
+
restart: z.ZodObject<{
|
|
15213
|
+
asked: z.ZodEnum<{
|
|
15214
|
+
queued: "queued";
|
|
15215
|
+
restart_verify: "restart_verify";
|
|
15216
|
+
}>;
|
|
15217
|
+
done: z.ZodEnum<{
|
|
15218
|
+
queued: "queued";
|
|
15219
|
+
restart_verify: "restart_verify";
|
|
15220
|
+
}>;
|
|
15221
|
+
windows: z.ZodArray<z.ZodString>;
|
|
15222
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15223
|
+
}, z.core.$strict>;
|
|
15224
|
+
}, z.core.$strict>;
|
|
15005
15225
|
readonly AccountUsage: z.ZodObject<{
|
|
15006
15226
|
account: z.ZodString;
|
|
15007
15227
|
org: z.ZodNullable<z.ZodString>;
|
|
@@ -17971,8 +18191,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
17971
18191
|
name: z.ZodString;
|
|
17972
18192
|
action: z.ZodEnum<{
|
|
17973
18193
|
start: "start";
|
|
17974
|
-
stop: "stop";
|
|
17975
18194
|
restart: "restart";
|
|
18195
|
+
stop: "stop";
|
|
17976
18196
|
}>;
|
|
17977
18197
|
}, z.core.$strict>;
|
|
17978
18198
|
readonly WindowsServiceControlResult: z.ZodObject<{
|