@ai-matrx/desktop-protocol 0.17.2 → 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/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>;
@@ -1331,6 +1571,8 @@ declare const OPS: {
1331
1571
  y: z.ZodInt;
1332
1572
  width: z.ZodInt;
1333
1573
  height: z.ZodInt;
1574
+ app: z.ZodOptional<z.ZodString>;
1575
+ pid: z.ZodOptional<z.ZodInt>;
1334
1576
  }, z.core.$strict>>;
1335
1577
  total: z.ZodInt;
1336
1578
  truncated: z.ZodBoolean;
@@ -1351,6 +1593,8 @@ declare const OPS: {
1351
1593
  y: z.ZodInt;
1352
1594
  width: z.ZodInt;
1353
1595
  height: z.ZodInt;
1596
+ app: z.ZodOptional<z.ZodString>;
1597
+ pid: z.ZodOptional<z.ZodInt>;
1354
1598
  }, z.core.$strict>;
1355
1599
  }, z.core.$strict>;
1356
1600
  readonly kind: "unary";
@@ -1373,6 +1617,8 @@ declare const OPS: {
1373
1617
  y: z.ZodInt;
1374
1618
  width: z.ZodInt;
1375
1619
  height: z.ZodInt;
1620
+ app: z.ZodOptional<z.ZodString>;
1621
+ pid: z.ZodOptional<z.ZodInt>;
1376
1622
  }, z.core.$strict>;
1377
1623
  }, z.core.$strict>;
1378
1624
  readonly kind: "unary";
@@ -1776,6 +2022,12 @@ declare const EVENTS: {
1776
2022
  }, z.core.$strict>>;
1777
2023
  overflow: z.ZodBoolean;
1778
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>;
1779
2031
  readonly "exec.exited": z.ZodObject<{
1780
2032
  exit_code: z.ZodNullable<z.ZodInt>;
1781
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>;
@@ -1331,6 +1571,8 @@ declare const OPS: {
1331
1571
  y: z.ZodInt;
1332
1572
  width: z.ZodInt;
1333
1573
  height: z.ZodInt;
1574
+ app: z.ZodOptional<z.ZodString>;
1575
+ pid: z.ZodOptional<z.ZodInt>;
1334
1576
  }, z.core.$strict>>;
1335
1577
  total: z.ZodInt;
1336
1578
  truncated: z.ZodBoolean;
@@ -1351,6 +1593,8 @@ declare const OPS: {
1351
1593
  y: z.ZodInt;
1352
1594
  width: z.ZodInt;
1353
1595
  height: z.ZodInt;
1596
+ app: z.ZodOptional<z.ZodString>;
1597
+ pid: z.ZodOptional<z.ZodInt>;
1354
1598
  }, z.core.$strict>;
1355
1599
  }, z.core.$strict>;
1356
1600
  readonly kind: "unary";
@@ -1373,6 +1617,8 @@ declare const OPS: {
1373
1617
  y: z.ZodInt;
1374
1618
  width: z.ZodInt;
1375
1619
  height: z.ZodInt;
1620
+ app: z.ZodOptional<z.ZodString>;
1621
+ pid: z.ZodOptional<z.ZodInt>;
1376
1622
  }, z.core.$strict>;
1377
1623
  }, z.core.$strict>;
1378
1624
  readonly kind: "unary";
@@ -1776,6 +2022,12 @@ declare const EVENTS: {
1776
2022
  }, z.core.$strict>>;
1777
2023
  overflow: z.ZodBoolean;
1778
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>;
1779
2031
  readonly "exec.exited": z.ZodObject<{
1780
2032
  exit_code: z.ZodNullable<z.ZodInt>;
1781
2033
  exit_signal: z.ZodNullable<z.ZodEnum<{