@ai-matrx/desktop-protocol 0.17.3 → 0.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/client.cjs +115 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +115 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +418 -262
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +348 -9
- package/dist/index.d.ts +348 -9
- package/dist/index.js +418 -262
- package/dist/index.js.map +1 -1
- package/dist/{models-BiquRLLO.d.cts → models-9j0ncAJj.d.cts} +548 -4
- package/dist/{models-BiquRLLO.d.ts → models-9j0ncAJj.d.ts} +548 -4
- package/dist/react.d.cts +246 -0
- package/dist/react.d.ts +246 -0
- package/generated/desktop-protocol.schema.json +635 -1
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -1033,6 +1033,246 @@ declare const OPS: {
|
|
|
1033
1033
|
readonly since: "1.2";
|
|
1034
1034
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "AUTH_REQUIRED", "DEVICE_OFFLINE", "INTERNAL"];
|
|
1035
1035
|
};
|
|
1036
|
+
readonly "apps.chats.list": {
|
|
1037
|
+
readonly params: z.ZodObject<{
|
|
1038
|
+
app_key: z.ZodString;
|
|
1039
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1040
|
+
}, z.core.$strict>;
|
|
1041
|
+
readonly result: z.ZodObject<{
|
|
1042
|
+
app_key: z.ZodString;
|
|
1043
|
+
version: z.ZodInt;
|
|
1044
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1045
|
+
key: z.ZodString;
|
|
1046
|
+
main: z.ZodBoolean;
|
|
1047
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1048
|
+
}, z.core.$strict>>;
|
|
1049
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
1050
|
+
id: z.ZodString;
|
|
1051
|
+
name: z.ZodString;
|
|
1052
|
+
archived: z.ZodBoolean;
|
|
1053
|
+
count: z.ZodInt;
|
|
1054
|
+
}, z.core.$strict>>;
|
|
1055
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1056
|
+
id: z.ZodString;
|
|
1057
|
+
short_id: z.ZodString;
|
|
1058
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1059
|
+
title: z.ZodString;
|
|
1060
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1061
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1062
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1063
|
+
starred: z.ZodBoolean;
|
|
1064
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1065
|
+
window: z.ZodString;
|
|
1066
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1067
|
+
}, z.core.$strict>>;
|
|
1068
|
+
places: z.ZodArray<z.ZodString>;
|
|
1069
|
+
held: z.ZodBoolean;
|
|
1070
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1071
|
+
window: z.ZodString;
|
|
1072
|
+
how: z.ZodEnum<{
|
|
1073
|
+
process: "process";
|
|
1074
|
+
activity: "activity";
|
|
1075
|
+
}>;
|
|
1076
|
+
}, z.core.$strict>>;
|
|
1077
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1078
|
+
window: z.ZodString;
|
|
1079
|
+
reason: z.ZodString;
|
|
1080
|
+
}, z.core.$strict>>;
|
|
1081
|
+
hidden_from_main: z.ZodBoolean;
|
|
1082
|
+
main_pending: z.ZodBoolean;
|
|
1083
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1084
|
+
new_unfiled: z.ZodBoolean;
|
|
1085
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1086
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1087
|
+
at_ms: z.ZodInt;
|
|
1088
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1089
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1090
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1091
|
+
cache_warm: z.ZodBoolean;
|
|
1092
|
+
cache_minutes_left: z.ZodInt;
|
|
1093
|
+
}, z.core.$strict>>;
|
|
1094
|
+
}, z.core.$strict>>;
|
|
1095
|
+
new_window_ms: z.ZodInt;
|
|
1096
|
+
}, z.core.$strict>;
|
|
1097
|
+
readonly kind: "unary";
|
|
1098
|
+
readonly since: "1.8";
|
|
1099
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1100
|
+
};
|
|
1101
|
+
readonly "apps.chats.watch": {
|
|
1102
|
+
readonly params: z.ZodObject<{
|
|
1103
|
+
app_key: z.ZodString;
|
|
1104
|
+
}, z.core.$strict>;
|
|
1105
|
+
readonly result: z.ZodObject<{
|
|
1106
|
+
resource_id: z.ZodString;
|
|
1107
|
+
version: z.ZodInt;
|
|
1108
|
+
}, z.core.$strict>;
|
|
1109
|
+
readonly kind: "resource";
|
|
1110
|
+
readonly since: "1.8";
|
|
1111
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
1112
|
+
};
|
|
1113
|
+
readonly "apps.chats.star": {
|
|
1114
|
+
readonly params: z.ZodObject<{
|
|
1115
|
+
app_key: z.ZodString;
|
|
1116
|
+
chat_id: z.ZodString;
|
|
1117
|
+
starred: z.ZodBoolean;
|
|
1118
|
+
}, z.core.$strict>;
|
|
1119
|
+
readonly result: z.ZodObject<{
|
|
1120
|
+
chat: z.ZodObject<{
|
|
1121
|
+
id: z.ZodString;
|
|
1122
|
+
short_id: z.ZodString;
|
|
1123
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1124
|
+
title: z.ZodString;
|
|
1125
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1126
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1127
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1128
|
+
starred: z.ZodBoolean;
|
|
1129
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1130
|
+
window: z.ZodString;
|
|
1131
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1132
|
+
}, z.core.$strict>>;
|
|
1133
|
+
places: z.ZodArray<z.ZodString>;
|
|
1134
|
+
held: z.ZodBoolean;
|
|
1135
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1136
|
+
window: z.ZodString;
|
|
1137
|
+
how: z.ZodEnum<{
|
|
1138
|
+
process: "process";
|
|
1139
|
+
activity: "activity";
|
|
1140
|
+
}>;
|
|
1141
|
+
}, z.core.$strict>>;
|
|
1142
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1143
|
+
window: z.ZodString;
|
|
1144
|
+
reason: z.ZodString;
|
|
1145
|
+
}, z.core.$strict>>;
|
|
1146
|
+
hidden_from_main: z.ZodBoolean;
|
|
1147
|
+
main_pending: z.ZodBoolean;
|
|
1148
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1149
|
+
new_unfiled: z.ZodBoolean;
|
|
1150
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1151
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1152
|
+
at_ms: z.ZodInt;
|
|
1153
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1154
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1155
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1156
|
+
cache_warm: z.ZodBoolean;
|
|
1157
|
+
cache_minutes_left: z.ZodInt;
|
|
1158
|
+
}, z.core.$strict>>;
|
|
1159
|
+
}, z.core.$strict>;
|
|
1160
|
+
}, z.core.$strict>;
|
|
1161
|
+
readonly kind: "unary";
|
|
1162
|
+
readonly since: "1.8";
|
|
1163
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1164
|
+
};
|
|
1165
|
+
readonly "apps.projects.file": {
|
|
1166
|
+
readonly params: z.ZodObject<{
|
|
1167
|
+
app_key: z.ZodString;
|
|
1168
|
+
chat_id: z.ZodString;
|
|
1169
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
}, z.core.$strict>;
|
|
1172
|
+
readonly result: z.ZodObject<{
|
|
1173
|
+
chat: z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
short_id: z.ZodString;
|
|
1176
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1177
|
+
title: z.ZodString;
|
|
1178
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1179
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1180
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1181
|
+
starred: z.ZodBoolean;
|
|
1182
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1183
|
+
window: z.ZodString;
|
|
1184
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1185
|
+
}, z.core.$strict>>;
|
|
1186
|
+
places: z.ZodArray<z.ZodString>;
|
|
1187
|
+
held: z.ZodBoolean;
|
|
1188
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1189
|
+
window: z.ZodString;
|
|
1190
|
+
how: z.ZodEnum<{
|
|
1191
|
+
process: "process";
|
|
1192
|
+
activity: "activity";
|
|
1193
|
+
}>;
|
|
1194
|
+
}, z.core.$strict>>;
|
|
1195
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1196
|
+
window: z.ZodString;
|
|
1197
|
+
reason: z.ZodString;
|
|
1198
|
+
}, z.core.$strict>>;
|
|
1199
|
+
hidden_from_main: z.ZodBoolean;
|
|
1200
|
+
main_pending: z.ZodBoolean;
|
|
1201
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1202
|
+
new_unfiled: z.ZodBoolean;
|
|
1203
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1204
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1205
|
+
at_ms: z.ZodInt;
|
|
1206
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1207
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1208
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1209
|
+
cache_warm: z.ZodBoolean;
|
|
1210
|
+
cache_minutes_left: z.ZodInt;
|
|
1211
|
+
}, z.core.$strict>>;
|
|
1212
|
+
}, z.core.$strict>;
|
|
1213
|
+
project: z.ZodObject<{
|
|
1214
|
+
id: z.ZodString;
|
|
1215
|
+
name: z.ZodString;
|
|
1216
|
+
archived: z.ZodBoolean;
|
|
1217
|
+
count: z.ZodInt;
|
|
1218
|
+
}, z.core.$strict>;
|
|
1219
|
+
}, z.core.$strict>;
|
|
1220
|
+
readonly kind: "unary";
|
|
1221
|
+
readonly since: "1.8";
|
|
1222
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1223
|
+
};
|
|
1224
|
+
readonly "apps.projects.unfile": {
|
|
1225
|
+
readonly params: z.ZodObject<{
|
|
1226
|
+
app_key: z.ZodString;
|
|
1227
|
+
chat_id: z.ZodString;
|
|
1228
|
+
project_id: z.ZodString;
|
|
1229
|
+
}, z.core.$strict>;
|
|
1230
|
+
readonly result: z.ZodObject<{
|
|
1231
|
+
chat: z.ZodObject<{
|
|
1232
|
+
id: z.ZodString;
|
|
1233
|
+
short_id: z.ZodString;
|
|
1234
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1235
|
+
title: z.ZodString;
|
|
1236
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1237
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1238
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1239
|
+
starred: z.ZodBoolean;
|
|
1240
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1241
|
+
window: z.ZodString;
|
|
1242
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1243
|
+
}, z.core.$strict>>;
|
|
1244
|
+
places: z.ZodArray<z.ZodString>;
|
|
1245
|
+
held: z.ZodBoolean;
|
|
1246
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1247
|
+
window: z.ZodString;
|
|
1248
|
+
how: z.ZodEnum<{
|
|
1249
|
+
process: "process";
|
|
1250
|
+
activity: "activity";
|
|
1251
|
+
}>;
|
|
1252
|
+
}, z.core.$strict>>;
|
|
1253
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1254
|
+
window: z.ZodString;
|
|
1255
|
+
reason: z.ZodString;
|
|
1256
|
+
}, z.core.$strict>>;
|
|
1257
|
+
hidden_from_main: z.ZodBoolean;
|
|
1258
|
+
main_pending: z.ZodBoolean;
|
|
1259
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1260
|
+
new_unfiled: z.ZodBoolean;
|
|
1261
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1262
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1263
|
+
at_ms: z.ZodInt;
|
|
1264
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1265
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1266
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1267
|
+
cache_warm: z.ZodBoolean;
|
|
1268
|
+
cache_minutes_left: z.ZodInt;
|
|
1269
|
+
}, z.core.$strict>>;
|
|
1270
|
+
}, z.core.$strict>;
|
|
1271
|
+
}, z.core.$strict>;
|
|
1272
|
+
readonly kind: "unary";
|
|
1273
|
+
readonly since: "1.8";
|
|
1274
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1275
|
+
};
|
|
1036
1276
|
readonly "proc.list": {
|
|
1037
1277
|
readonly params: z.ZodObject<{
|
|
1038
1278
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1782,6 +2022,12 @@ declare const EVENTS: {
|
|
|
1782
2022
|
}, z.core.$strict>>;
|
|
1783
2023
|
overflow: z.ZodBoolean;
|
|
1784
2024
|
}, z.core.$strict>;
|
|
2025
|
+
readonly "apps.chats.changed": z.ZodObject<{
|
|
2026
|
+
app_key: z.ZodString;
|
|
2027
|
+
version: z.ZodInt;
|
|
2028
|
+
ids: z.ZodArray<z.ZodString>;
|
|
2029
|
+
all: z.ZodBoolean;
|
|
2030
|
+
}, z.core.$strict>;
|
|
1785
2031
|
readonly "exec.exited": z.ZodObject<{
|
|
1786
2032
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
1787
2033
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|
package/dist/react.d.ts
CHANGED
|
@@ -1033,6 +1033,246 @@ declare const OPS: {
|
|
|
1033
1033
|
readonly since: "1.2";
|
|
1034
1034
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "AUTH_REQUIRED", "DEVICE_OFFLINE", "INTERNAL"];
|
|
1035
1035
|
};
|
|
1036
|
+
readonly "apps.chats.list": {
|
|
1037
|
+
readonly params: z.ZodObject<{
|
|
1038
|
+
app_key: z.ZodString;
|
|
1039
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1040
|
+
}, z.core.$strict>;
|
|
1041
|
+
readonly result: z.ZodObject<{
|
|
1042
|
+
app_key: z.ZodString;
|
|
1043
|
+
version: z.ZodInt;
|
|
1044
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1045
|
+
key: z.ZodString;
|
|
1046
|
+
main: z.ZodBoolean;
|
|
1047
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1048
|
+
}, z.core.$strict>>;
|
|
1049
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
1050
|
+
id: z.ZodString;
|
|
1051
|
+
name: z.ZodString;
|
|
1052
|
+
archived: z.ZodBoolean;
|
|
1053
|
+
count: z.ZodInt;
|
|
1054
|
+
}, z.core.$strict>>;
|
|
1055
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1056
|
+
id: z.ZodString;
|
|
1057
|
+
short_id: z.ZodString;
|
|
1058
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1059
|
+
title: z.ZodString;
|
|
1060
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1061
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1062
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1063
|
+
starred: z.ZodBoolean;
|
|
1064
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1065
|
+
window: z.ZodString;
|
|
1066
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1067
|
+
}, z.core.$strict>>;
|
|
1068
|
+
places: z.ZodArray<z.ZodString>;
|
|
1069
|
+
held: z.ZodBoolean;
|
|
1070
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1071
|
+
window: z.ZodString;
|
|
1072
|
+
how: z.ZodEnum<{
|
|
1073
|
+
process: "process";
|
|
1074
|
+
activity: "activity";
|
|
1075
|
+
}>;
|
|
1076
|
+
}, z.core.$strict>>;
|
|
1077
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1078
|
+
window: z.ZodString;
|
|
1079
|
+
reason: z.ZodString;
|
|
1080
|
+
}, z.core.$strict>>;
|
|
1081
|
+
hidden_from_main: z.ZodBoolean;
|
|
1082
|
+
main_pending: z.ZodBoolean;
|
|
1083
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1084
|
+
new_unfiled: z.ZodBoolean;
|
|
1085
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1086
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1087
|
+
at_ms: z.ZodInt;
|
|
1088
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1089
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1090
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1091
|
+
cache_warm: z.ZodBoolean;
|
|
1092
|
+
cache_minutes_left: z.ZodInt;
|
|
1093
|
+
}, z.core.$strict>>;
|
|
1094
|
+
}, z.core.$strict>>;
|
|
1095
|
+
new_window_ms: z.ZodInt;
|
|
1096
|
+
}, z.core.$strict>;
|
|
1097
|
+
readonly kind: "unary";
|
|
1098
|
+
readonly since: "1.8";
|
|
1099
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1100
|
+
};
|
|
1101
|
+
readonly "apps.chats.watch": {
|
|
1102
|
+
readonly params: z.ZodObject<{
|
|
1103
|
+
app_key: z.ZodString;
|
|
1104
|
+
}, z.core.$strict>;
|
|
1105
|
+
readonly result: z.ZodObject<{
|
|
1106
|
+
resource_id: z.ZodString;
|
|
1107
|
+
version: z.ZodInt;
|
|
1108
|
+
}, z.core.$strict>;
|
|
1109
|
+
readonly kind: "resource";
|
|
1110
|
+
readonly since: "1.8";
|
|
1111
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
1112
|
+
};
|
|
1113
|
+
readonly "apps.chats.star": {
|
|
1114
|
+
readonly params: z.ZodObject<{
|
|
1115
|
+
app_key: z.ZodString;
|
|
1116
|
+
chat_id: z.ZodString;
|
|
1117
|
+
starred: z.ZodBoolean;
|
|
1118
|
+
}, z.core.$strict>;
|
|
1119
|
+
readonly result: z.ZodObject<{
|
|
1120
|
+
chat: z.ZodObject<{
|
|
1121
|
+
id: z.ZodString;
|
|
1122
|
+
short_id: z.ZodString;
|
|
1123
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1124
|
+
title: z.ZodString;
|
|
1125
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1126
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1127
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1128
|
+
starred: z.ZodBoolean;
|
|
1129
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1130
|
+
window: z.ZodString;
|
|
1131
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1132
|
+
}, z.core.$strict>>;
|
|
1133
|
+
places: z.ZodArray<z.ZodString>;
|
|
1134
|
+
held: z.ZodBoolean;
|
|
1135
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1136
|
+
window: z.ZodString;
|
|
1137
|
+
how: z.ZodEnum<{
|
|
1138
|
+
process: "process";
|
|
1139
|
+
activity: "activity";
|
|
1140
|
+
}>;
|
|
1141
|
+
}, z.core.$strict>>;
|
|
1142
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1143
|
+
window: z.ZodString;
|
|
1144
|
+
reason: z.ZodString;
|
|
1145
|
+
}, z.core.$strict>>;
|
|
1146
|
+
hidden_from_main: z.ZodBoolean;
|
|
1147
|
+
main_pending: z.ZodBoolean;
|
|
1148
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1149
|
+
new_unfiled: z.ZodBoolean;
|
|
1150
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1151
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1152
|
+
at_ms: z.ZodInt;
|
|
1153
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1154
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1155
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1156
|
+
cache_warm: z.ZodBoolean;
|
|
1157
|
+
cache_minutes_left: z.ZodInt;
|
|
1158
|
+
}, z.core.$strict>>;
|
|
1159
|
+
}, z.core.$strict>;
|
|
1160
|
+
}, z.core.$strict>;
|
|
1161
|
+
readonly kind: "unary";
|
|
1162
|
+
readonly since: "1.8";
|
|
1163
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1164
|
+
};
|
|
1165
|
+
readonly "apps.projects.file": {
|
|
1166
|
+
readonly params: z.ZodObject<{
|
|
1167
|
+
app_key: z.ZodString;
|
|
1168
|
+
chat_id: z.ZodString;
|
|
1169
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
}, z.core.$strict>;
|
|
1172
|
+
readonly result: z.ZodObject<{
|
|
1173
|
+
chat: z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
short_id: z.ZodString;
|
|
1176
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1177
|
+
title: z.ZodString;
|
|
1178
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1179
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1180
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1181
|
+
starred: z.ZodBoolean;
|
|
1182
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1183
|
+
window: z.ZodString;
|
|
1184
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1185
|
+
}, z.core.$strict>>;
|
|
1186
|
+
places: z.ZodArray<z.ZodString>;
|
|
1187
|
+
held: z.ZodBoolean;
|
|
1188
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1189
|
+
window: z.ZodString;
|
|
1190
|
+
how: z.ZodEnum<{
|
|
1191
|
+
process: "process";
|
|
1192
|
+
activity: "activity";
|
|
1193
|
+
}>;
|
|
1194
|
+
}, z.core.$strict>>;
|
|
1195
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1196
|
+
window: z.ZodString;
|
|
1197
|
+
reason: z.ZodString;
|
|
1198
|
+
}, z.core.$strict>>;
|
|
1199
|
+
hidden_from_main: z.ZodBoolean;
|
|
1200
|
+
main_pending: z.ZodBoolean;
|
|
1201
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1202
|
+
new_unfiled: z.ZodBoolean;
|
|
1203
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1204
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1205
|
+
at_ms: z.ZodInt;
|
|
1206
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1207
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1208
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1209
|
+
cache_warm: z.ZodBoolean;
|
|
1210
|
+
cache_minutes_left: z.ZodInt;
|
|
1211
|
+
}, z.core.$strict>>;
|
|
1212
|
+
}, z.core.$strict>;
|
|
1213
|
+
project: z.ZodObject<{
|
|
1214
|
+
id: z.ZodString;
|
|
1215
|
+
name: z.ZodString;
|
|
1216
|
+
archived: z.ZodBoolean;
|
|
1217
|
+
count: z.ZodInt;
|
|
1218
|
+
}, z.core.$strict>;
|
|
1219
|
+
}, z.core.$strict>;
|
|
1220
|
+
readonly kind: "unary";
|
|
1221
|
+
readonly since: "1.8";
|
|
1222
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1223
|
+
};
|
|
1224
|
+
readonly "apps.projects.unfile": {
|
|
1225
|
+
readonly params: z.ZodObject<{
|
|
1226
|
+
app_key: z.ZodString;
|
|
1227
|
+
chat_id: z.ZodString;
|
|
1228
|
+
project_id: z.ZodString;
|
|
1229
|
+
}, z.core.$strict>;
|
|
1230
|
+
readonly result: z.ZodObject<{
|
|
1231
|
+
chat: z.ZodObject<{
|
|
1232
|
+
id: z.ZodString;
|
|
1233
|
+
short_id: z.ZodString;
|
|
1234
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1235
|
+
title: z.ZodString;
|
|
1236
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1237
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1238
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1239
|
+
starred: z.ZodBoolean;
|
|
1240
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1241
|
+
window: z.ZodString;
|
|
1242
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1243
|
+
}, z.core.$strict>>;
|
|
1244
|
+
places: z.ZodArray<z.ZodString>;
|
|
1245
|
+
held: z.ZodBoolean;
|
|
1246
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1247
|
+
window: z.ZodString;
|
|
1248
|
+
how: z.ZodEnum<{
|
|
1249
|
+
process: "process";
|
|
1250
|
+
activity: "activity";
|
|
1251
|
+
}>;
|
|
1252
|
+
}, z.core.$strict>>;
|
|
1253
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1254
|
+
window: z.ZodString;
|
|
1255
|
+
reason: z.ZodString;
|
|
1256
|
+
}, z.core.$strict>>;
|
|
1257
|
+
hidden_from_main: z.ZodBoolean;
|
|
1258
|
+
main_pending: z.ZodBoolean;
|
|
1259
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1260
|
+
new_unfiled: z.ZodBoolean;
|
|
1261
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1262
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1263
|
+
at_ms: z.ZodInt;
|
|
1264
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1265
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1266
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1267
|
+
cache_warm: z.ZodBoolean;
|
|
1268
|
+
cache_minutes_left: z.ZodInt;
|
|
1269
|
+
}, z.core.$strict>>;
|
|
1270
|
+
}, z.core.$strict>;
|
|
1271
|
+
}, z.core.$strict>;
|
|
1272
|
+
readonly kind: "unary";
|
|
1273
|
+
readonly since: "1.8";
|
|
1274
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1275
|
+
};
|
|
1036
1276
|
readonly "proc.list": {
|
|
1037
1277
|
readonly params: z.ZodObject<{
|
|
1038
1278
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1782,6 +2022,12 @@ declare const EVENTS: {
|
|
|
1782
2022
|
}, z.core.$strict>>;
|
|
1783
2023
|
overflow: z.ZodBoolean;
|
|
1784
2024
|
}, z.core.$strict>;
|
|
2025
|
+
readonly "apps.chats.changed": z.ZodObject<{
|
|
2026
|
+
app_key: z.ZodString;
|
|
2027
|
+
version: z.ZodInt;
|
|
2028
|
+
ids: z.ZodArray<z.ZodString>;
|
|
2029
|
+
all: z.ZodBoolean;
|
|
2030
|
+
}, z.core.$strict>;
|
|
1785
2031
|
readonly "exec.exited": z.ZodObject<{
|
|
1786
2032
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
1787
2033
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|