telegram-jobs-contract 1.0.13 → 1.0.14
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/contracts/channels.contract.d.ts +191 -307
- package/dist/contracts/channels.contract.d.ts.map +1 -1
- package/dist/contracts/channels.contract.js +26 -10
- package/dist/contracts/stats.contract.d.ts +4 -4
- package/dist/index.d.ts +195 -311
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -958,109 +958,75 @@ export declare const apiContract: {
|
|
|
958
958
|
200: z.ZodObject<{
|
|
959
959
|
success: z.ZodLiteral<true>;
|
|
960
960
|
message: z.ZodString;
|
|
961
|
-
data: z.ZodObject<{
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
974
|
-
}, "strip", z.ZodTypeAny, {
|
|
975
|
-
id: string;
|
|
976
|
-
createdAt: string;
|
|
977
|
-
username: string;
|
|
978
|
-
title: string;
|
|
979
|
-
isActive: boolean;
|
|
980
|
-
isRecommended: boolean;
|
|
981
|
-
description?: string | undefined;
|
|
982
|
-
updatedAt?: string | undefined;
|
|
983
|
-
category?: string | undefined;
|
|
984
|
-
memberCount?: string | undefined;
|
|
985
|
-
lastScrapedAt?: string | undefined;
|
|
986
|
-
}, {
|
|
987
|
-
id: string;
|
|
988
|
-
createdAt: string;
|
|
989
|
-
username: string;
|
|
990
|
-
title: string;
|
|
991
|
-
isActive: boolean;
|
|
992
|
-
isRecommended: boolean;
|
|
993
|
-
description?: string | undefined;
|
|
994
|
-
updatedAt?: string | undefined;
|
|
995
|
-
category?: string | undefined;
|
|
996
|
-
memberCount?: string | undefined;
|
|
997
|
-
lastScrapedAt?: string | undefined;
|
|
998
|
-
}>, "many">;
|
|
961
|
+
data: z.ZodArray<z.ZodObject<{
|
|
962
|
+
id: z.ZodString;
|
|
963
|
+
username: z.ZodString;
|
|
964
|
+
title: z.ZodString;
|
|
965
|
+
description: z.ZodOptional<z.ZodString>;
|
|
966
|
+
category: z.ZodOptional<z.ZodString>;
|
|
967
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
968
|
+
isActive: z.ZodBoolean;
|
|
969
|
+
isRecommended: z.ZodBoolean;
|
|
970
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
971
|
+
createdAt: z.ZodString;
|
|
972
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
999
973
|
}, "strip", z.ZodTypeAny, {
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
lastScrapedAt?: string | undefined;
|
|
1012
|
-
}[];
|
|
974
|
+
id: string;
|
|
975
|
+
createdAt: string;
|
|
976
|
+
username: string;
|
|
977
|
+
title: string;
|
|
978
|
+
isActive: boolean;
|
|
979
|
+
isRecommended: boolean;
|
|
980
|
+
description?: string | undefined;
|
|
981
|
+
updatedAt?: string | undefined;
|
|
982
|
+
category?: string | undefined;
|
|
983
|
+
memberCount?: string | undefined;
|
|
984
|
+
lastScrapedAt?: string | undefined;
|
|
1013
985
|
}, {
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
}[];
|
|
1027
|
-
}>;
|
|
986
|
+
id: string;
|
|
987
|
+
createdAt: string;
|
|
988
|
+
username: string;
|
|
989
|
+
title: string;
|
|
990
|
+
isActive: boolean;
|
|
991
|
+
isRecommended: boolean;
|
|
992
|
+
description?: string | undefined;
|
|
993
|
+
updatedAt?: string | undefined;
|
|
994
|
+
category?: string | undefined;
|
|
995
|
+
memberCount?: string | undefined;
|
|
996
|
+
lastScrapedAt?: string | undefined;
|
|
997
|
+
}>, "many">;
|
|
1028
998
|
}, "strip", z.ZodTypeAny, {
|
|
1029
999
|
message: string;
|
|
1030
1000
|
success: true;
|
|
1031
1001
|
data: {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
}[];
|
|
1045
|
-
};
|
|
1002
|
+
id: string;
|
|
1003
|
+
createdAt: string;
|
|
1004
|
+
username: string;
|
|
1005
|
+
title: string;
|
|
1006
|
+
isActive: boolean;
|
|
1007
|
+
isRecommended: boolean;
|
|
1008
|
+
description?: string | undefined;
|
|
1009
|
+
updatedAt?: string | undefined;
|
|
1010
|
+
category?: string | undefined;
|
|
1011
|
+
memberCount?: string | undefined;
|
|
1012
|
+
lastScrapedAt?: string | undefined;
|
|
1013
|
+
}[];
|
|
1046
1014
|
}, {
|
|
1047
1015
|
message: string;
|
|
1048
1016
|
success: true;
|
|
1049
1017
|
data: {
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
}[];
|
|
1063
|
-
};
|
|
1018
|
+
id: string;
|
|
1019
|
+
createdAt: string;
|
|
1020
|
+
username: string;
|
|
1021
|
+
title: string;
|
|
1022
|
+
isActive: boolean;
|
|
1023
|
+
isRecommended: boolean;
|
|
1024
|
+
description?: string | undefined;
|
|
1025
|
+
updatedAt?: string | undefined;
|
|
1026
|
+
category?: string | undefined;
|
|
1027
|
+
memberCount?: string | undefined;
|
|
1028
|
+
lastScrapedAt?: string | undefined;
|
|
1029
|
+
}[];
|
|
1064
1030
|
}>;
|
|
1065
1031
|
401: z.ZodObject<{
|
|
1066
1032
|
success: z.ZodLiteral<false>;
|
|
@@ -1098,109 +1064,75 @@ export declare const apiContract: {
|
|
|
1098
1064
|
200: z.ZodObject<{
|
|
1099
1065
|
success: z.ZodLiteral<true>;
|
|
1100
1066
|
message: z.ZodString;
|
|
1101
|
-
data: z.ZodObject<{
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1114
|
-
}, "strip", z.ZodTypeAny, {
|
|
1115
|
-
id: string;
|
|
1116
|
-
createdAt: string;
|
|
1117
|
-
username: string;
|
|
1118
|
-
title: string;
|
|
1119
|
-
isActive: boolean;
|
|
1120
|
-
isRecommended: boolean;
|
|
1121
|
-
description?: string | undefined;
|
|
1122
|
-
updatedAt?: string | undefined;
|
|
1123
|
-
category?: string | undefined;
|
|
1124
|
-
memberCount?: string | undefined;
|
|
1125
|
-
lastScrapedAt?: string | undefined;
|
|
1126
|
-
}, {
|
|
1127
|
-
id: string;
|
|
1128
|
-
createdAt: string;
|
|
1129
|
-
username: string;
|
|
1130
|
-
title: string;
|
|
1131
|
-
isActive: boolean;
|
|
1132
|
-
isRecommended: boolean;
|
|
1133
|
-
description?: string | undefined;
|
|
1134
|
-
updatedAt?: string | undefined;
|
|
1135
|
-
category?: string | undefined;
|
|
1136
|
-
memberCount?: string | undefined;
|
|
1137
|
-
lastScrapedAt?: string | undefined;
|
|
1138
|
-
}>, "many">;
|
|
1067
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1068
|
+
id: z.ZodString;
|
|
1069
|
+
username: z.ZodString;
|
|
1070
|
+
title: z.ZodString;
|
|
1071
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
memberCount: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
isActive: z.ZodBoolean;
|
|
1075
|
+
isRecommended: z.ZodBoolean;
|
|
1076
|
+
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
createdAt: z.ZodString;
|
|
1078
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1139
1079
|
}, "strip", z.ZodTypeAny, {
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
lastScrapedAt?: string | undefined;
|
|
1152
|
-
}[];
|
|
1080
|
+
id: string;
|
|
1081
|
+
createdAt: string;
|
|
1082
|
+
username: string;
|
|
1083
|
+
title: string;
|
|
1084
|
+
isActive: boolean;
|
|
1085
|
+
isRecommended: boolean;
|
|
1086
|
+
description?: string | undefined;
|
|
1087
|
+
updatedAt?: string | undefined;
|
|
1088
|
+
category?: string | undefined;
|
|
1089
|
+
memberCount?: string | undefined;
|
|
1090
|
+
lastScrapedAt?: string | undefined;
|
|
1153
1091
|
}, {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
}[];
|
|
1167
|
-
}>;
|
|
1092
|
+
id: string;
|
|
1093
|
+
createdAt: string;
|
|
1094
|
+
username: string;
|
|
1095
|
+
title: string;
|
|
1096
|
+
isActive: boolean;
|
|
1097
|
+
isRecommended: boolean;
|
|
1098
|
+
description?: string | undefined;
|
|
1099
|
+
updatedAt?: string | undefined;
|
|
1100
|
+
category?: string | undefined;
|
|
1101
|
+
memberCount?: string | undefined;
|
|
1102
|
+
lastScrapedAt?: string | undefined;
|
|
1103
|
+
}>, "many">;
|
|
1168
1104
|
}, "strip", z.ZodTypeAny, {
|
|
1169
1105
|
message: string;
|
|
1170
1106
|
success: true;
|
|
1171
1107
|
data: {
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
}[];
|
|
1185
|
-
};
|
|
1108
|
+
id: string;
|
|
1109
|
+
createdAt: string;
|
|
1110
|
+
username: string;
|
|
1111
|
+
title: string;
|
|
1112
|
+
isActive: boolean;
|
|
1113
|
+
isRecommended: boolean;
|
|
1114
|
+
description?: string | undefined;
|
|
1115
|
+
updatedAt?: string | undefined;
|
|
1116
|
+
category?: string | undefined;
|
|
1117
|
+
memberCount?: string | undefined;
|
|
1118
|
+
lastScrapedAt?: string | undefined;
|
|
1119
|
+
}[];
|
|
1186
1120
|
}, {
|
|
1187
1121
|
message: string;
|
|
1188
1122
|
success: true;
|
|
1189
1123
|
data: {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
}[];
|
|
1203
|
-
};
|
|
1124
|
+
id: string;
|
|
1125
|
+
createdAt: string;
|
|
1126
|
+
username: string;
|
|
1127
|
+
title: string;
|
|
1128
|
+
isActive: boolean;
|
|
1129
|
+
isRecommended: boolean;
|
|
1130
|
+
description?: string | undefined;
|
|
1131
|
+
updatedAt?: string | undefined;
|
|
1132
|
+
category?: string | undefined;
|
|
1133
|
+
memberCount?: string | undefined;
|
|
1134
|
+
lastScrapedAt?: string | undefined;
|
|
1135
|
+
}[];
|
|
1204
1136
|
}>;
|
|
1205
1137
|
401: z.ZodObject<{
|
|
1206
1138
|
success: z.ZodLiteral<false>;
|
|
@@ -1372,6 +1304,16 @@ export declare const apiContract: {
|
|
|
1372
1304
|
};
|
|
1373
1305
|
};
|
|
1374
1306
|
exploreChannels: {
|
|
1307
|
+
query: z.ZodObject<{
|
|
1308
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1310
|
+
}, "strip", z.ZodTypeAny, {
|
|
1311
|
+
categories?: string[] | undefined;
|
|
1312
|
+
searchQuery?: string | undefined;
|
|
1313
|
+
}, {
|
|
1314
|
+
categories?: string[] | undefined;
|
|
1315
|
+
searchQuery?: string | undefined;
|
|
1316
|
+
}>;
|
|
1375
1317
|
summary: "Get explore channels modal data";
|
|
1376
1318
|
method: "GET";
|
|
1377
1319
|
path: "/api/channels/explore";
|
|
@@ -1380,133 +1322,70 @@ export declare const apiContract: {
|
|
|
1380
1322
|
success: z.ZodLiteral<true>;
|
|
1381
1323
|
message: z.ZodString;
|
|
1382
1324
|
data: z.ZodObject<{
|
|
1383
|
-
|
|
1384
|
-
name: z.ZodString;
|
|
1385
|
-
count: z.ZodNumber;
|
|
1386
|
-
}, "strip", z.ZodTypeAny, {
|
|
1387
|
-
name: string;
|
|
1388
|
-
count: number;
|
|
1389
|
-
}, {
|
|
1390
|
-
name: string;
|
|
1391
|
-
count: number;
|
|
1392
|
-
}>, "many">;
|
|
1393
|
-
channelsByCategory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1394
|
-
id: z.ZodString;
|
|
1325
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
1395
1326
|
username: z.ZodString;
|
|
1396
1327
|
title: z.ZodString;
|
|
1397
1328
|
description: z.ZodOptional<z.ZodString>;
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
isActive: z.ZodBoolean;
|
|
1401
|
-
isRecommended: z.ZodBoolean;
|
|
1402
|
-
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1403
|
-
createdAt: z.ZodString;
|
|
1404
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
1330
|
+
isJoined: z.ZodBoolean;
|
|
1405
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1406
|
-
id: string;
|
|
1407
|
-
createdAt: string;
|
|
1408
1332
|
username: string;
|
|
1409
1333
|
title: string;
|
|
1410
|
-
|
|
1411
|
-
isRecommended: boolean;
|
|
1334
|
+
isJoined: boolean;
|
|
1412
1335
|
description?: string | undefined;
|
|
1413
|
-
|
|
1414
|
-
category?: string | undefined;
|
|
1415
|
-
memberCount?: string | undefined;
|
|
1416
|
-
lastScrapedAt?: string | undefined;
|
|
1336
|
+
memberCount?: number | undefined;
|
|
1417
1337
|
}, {
|
|
1418
|
-
id: string;
|
|
1419
|
-
createdAt: string;
|
|
1420
1338
|
username: string;
|
|
1421
1339
|
title: string;
|
|
1422
|
-
|
|
1423
|
-
isRecommended: boolean;
|
|
1340
|
+
isJoined: boolean;
|
|
1424
1341
|
description?: string | undefined;
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
lastScrapedAt?: string | undefined;
|
|
1429
|
-
}>, "many">>;
|
|
1342
|
+
memberCount?: number | undefined;
|
|
1343
|
+
}>, "many">;
|
|
1344
|
+
missedJobsCount: z.ZodNumber;
|
|
1430
1345
|
}, "strip", z.ZodTypeAny, {
|
|
1431
|
-
|
|
1432
|
-
name: string;
|
|
1433
|
-
count: number;
|
|
1434
|
-
}[];
|
|
1435
|
-
channelsByCategory: Record<string, {
|
|
1436
|
-
id: string;
|
|
1437
|
-
createdAt: string;
|
|
1346
|
+
channels: {
|
|
1438
1347
|
username: string;
|
|
1439
1348
|
title: string;
|
|
1440
|
-
|
|
1441
|
-
isRecommended: boolean;
|
|
1349
|
+
isJoined: boolean;
|
|
1442
1350
|
description?: string | undefined;
|
|
1443
|
-
|
|
1444
|
-
category?: string | undefined;
|
|
1445
|
-
memberCount?: string | undefined;
|
|
1446
|
-
lastScrapedAt?: string | undefined;
|
|
1447
|
-
}[]>;
|
|
1448
|
-
}, {
|
|
1449
|
-
categories: {
|
|
1450
|
-
name: string;
|
|
1451
|
-
count: number;
|
|
1351
|
+
memberCount?: number | undefined;
|
|
1452
1352
|
}[];
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1353
|
+
missedJobsCount: number;
|
|
1354
|
+
}, {
|
|
1355
|
+
channels: {
|
|
1456
1356
|
username: string;
|
|
1457
1357
|
title: string;
|
|
1458
|
-
|
|
1459
|
-
isRecommended: boolean;
|
|
1358
|
+
isJoined: boolean;
|
|
1460
1359
|
description?: string | undefined;
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
lastScrapedAt?: string | undefined;
|
|
1465
|
-
}[]>;
|
|
1360
|
+
memberCount?: number | undefined;
|
|
1361
|
+
}[];
|
|
1362
|
+
missedJobsCount: number;
|
|
1466
1363
|
}>;
|
|
1467
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1468
1365
|
message: string;
|
|
1469
1366
|
success: true;
|
|
1470
1367
|
data: {
|
|
1471
|
-
|
|
1472
|
-
name: string;
|
|
1473
|
-
count: number;
|
|
1474
|
-
}[];
|
|
1475
|
-
channelsByCategory: Record<string, {
|
|
1476
|
-
id: string;
|
|
1477
|
-
createdAt: string;
|
|
1368
|
+
channels: {
|
|
1478
1369
|
username: string;
|
|
1479
1370
|
title: string;
|
|
1480
|
-
|
|
1481
|
-
isRecommended: boolean;
|
|
1371
|
+
isJoined: boolean;
|
|
1482
1372
|
description?: string | undefined;
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
lastScrapedAt?: string | undefined;
|
|
1487
|
-
}[]>;
|
|
1373
|
+
memberCount?: number | undefined;
|
|
1374
|
+
}[];
|
|
1375
|
+
missedJobsCount: number;
|
|
1488
1376
|
};
|
|
1489
1377
|
}, {
|
|
1490
1378
|
message: string;
|
|
1491
1379
|
success: true;
|
|
1492
1380
|
data: {
|
|
1493
|
-
|
|
1494
|
-
name: string;
|
|
1495
|
-
count: number;
|
|
1496
|
-
}[];
|
|
1497
|
-
channelsByCategory: Record<string, {
|
|
1498
|
-
id: string;
|
|
1499
|
-
createdAt: string;
|
|
1381
|
+
channels: {
|
|
1500
1382
|
username: string;
|
|
1501
1383
|
title: string;
|
|
1502
|
-
|
|
1503
|
-
isRecommended: boolean;
|
|
1384
|
+
isJoined: boolean;
|
|
1504
1385
|
description?: string | undefined;
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
lastScrapedAt?: string | undefined;
|
|
1509
|
-
}[]>;
|
|
1386
|
+
memberCount?: number | undefined;
|
|
1387
|
+
}[];
|
|
1388
|
+
missedJobsCount: number;
|
|
1510
1389
|
};
|
|
1511
1390
|
}>;
|
|
1512
1391
|
401: z.ZodObject<{
|
|
@@ -1654,11 +1533,11 @@ export declare const apiContract: {
|
|
|
1654
1533
|
summary: "Subscribe to channels (replaces existing)";
|
|
1655
1534
|
method: "POST";
|
|
1656
1535
|
body: z.ZodObject<{
|
|
1657
|
-
|
|
1536
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
1658
1537
|
}, "strip", z.ZodTypeAny, {
|
|
1659
|
-
|
|
1538
|
+
channels: string[];
|
|
1660
1539
|
}, {
|
|
1661
|
-
|
|
1540
|
+
channels: string[];
|
|
1662
1541
|
}>;
|
|
1663
1542
|
path: "/api/channels/subscribe";
|
|
1664
1543
|
responses: {
|
|
@@ -1666,28 +1545,28 @@ export declare const apiContract: {
|
|
|
1666
1545
|
success: z.ZodLiteral<true>;
|
|
1667
1546
|
message: z.ZodString;
|
|
1668
1547
|
data: z.ZodObject<{
|
|
1669
|
-
|
|
1548
|
+
success: z.ZodBoolean;
|
|
1670
1549
|
message: z.ZodString;
|
|
1671
1550
|
}, "strip", z.ZodTypeAny, {
|
|
1672
1551
|
message: string;
|
|
1673
|
-
|
|
1552
|
+
success: boolean;
|
|
1674
1553
|
}, {
|
|
1675
1554
|
message: string;
|
|
1676
|
-
|
|
1555
|
+
success: boolean;
|
|
1677
1556
|
}>;
|
|
1678
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1679
1558
|
message: string;
|
|
1680
1559
|
success: true;
|
|
1681
1560
|
data: {
|
|
1682
1561
|
message: string;
|
|
1683
|
-
|
|
1562
|
+
success: boolean;
|
|
1684
1563
|
};
|
|
1685
1564
|
}, {
|
|
1686
1565
|
message: string;
|
|
1687
1566
|
success: true;
|
|
1688
1567
|
data: {
|
|
1689
1568
|
message: string;
|
|
1690
|
-
|
|
1569
|
+
success: boolean;
|
|
1691
1570
|
};
|
|
1692
1571
|
}>;
|
|
1693
1572
|
400: z.ZodObject<{
|
|
@@ -1735,11 +1614,11 @@ export declare const apiContract: {
|
|
|
1735
1614
|
summary: "Add channels to subscription";
|
|
1736
1615
|
method: "POST";
|
|
1737
1616
|
body: z.ZodObject<{
|
|
1738
|
-
|
|
1617
|
+
channels: z.ZodArray<z.ZodString, "many">;
|
|
1739
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1740
|
-
|
|
1619
|
+
channels: string[];
|
|
1741
1620
|
}, {
|
|
1742
|
-
|
|
1621
|
+
channels: string[];
|
|
1743
1622
|
}>;
|
|
1744
1623
|
path: "/api/channels/add";
|
|
1745
1624
|
responses: {
|
|
@@ -1747,28 +1626,28 @@ export declare const apiContract: {
|
|
|
1747
1626
|
success: z.ZodLiteral<true>;
|
|
1748
1627
|
message: z.ZodString;
|
|
1749
1628
|
data: z.ZodObject<{
|
|
1750
|
-
|
|
1629
|
+
success: z.ZodBoolean;
|
|
1751
1630
|
message: z.ZodString;
|
|
1752
1631
|
}, "strip", z.ZodTypeAny, {
|
|
1753
1632
|
message: string;
|
|
1754
|
-
|
|
1633
|
+
success: boolean;
|
|
1755
1634
|
}, {
|
|
1756
1635
|
message: string;
|
|
1757
|
-
|
|
1636
|
+
success: boolean;
|
|
1758
1637
|
}>;
|
|
1759
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1760
1639
|
message: string;
|
|
1761
1640
|
success: true;
|
|
1762
1641
|
data: {
|
|
1763
1642
|
message: string;
|
|
1764
|
-
|
|
1643
|
+
success: boolean;
|
|
1765
1644
|
};
|
|
1766
1645
|
}, {
|
|
1767
1646
|
message: string;
|
|
1768
1647
|
success: true;
|
|
1769
1648
|
data: {
|
|
1770
1649
|
message: string;
|
|
1771
|
-
|
|
1650
|
+
success: boolean;
|
|
1772
1651
|
};
|
|
1773
1652
|
}>;
|
|
1774
1653
|
400: z.ZodObject<{
|
|
@@ -1816,11 +1695,11 @@ export declare const apiContract: {
|
|
|
1816
1695
|
summary: "Unsubscribe from channel";
|
|
1817
1696
|
method: "POST";
|
|
1818
1697
|
body: z.ZodObject<{
|
|
1819
|
-
|
|
1698
|
+
channel: z.ZodString;
|
|
1820
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1821
|
-
|
|
1700
|
+
channel: string;
|
|
1822
1701
|
}, {
|
|
1823
|
-
|
|
1702
|
+
channel: string;
|
|
1824
1703
|
}>;
|
|
1825
1704
|
path: "/api/channels/unsubscribe";
|
|
1826
1705
|
responses: {
|
|
@@ -1828,28 +1707,33 @@ export declare const apiContract: {
|
|
|
1828
1707
|
success: z.ZodLiteral<true>;
|
|
1829
1708
|
message: z.ZodString;
|
|
1830
1709
|
data: z.ZodObject<{
|
|
1831
|
-
|
|
1832
|
-
|
|
1710
|
+
success: z.ZodBoolean;
|
|
1711
|
+
totalChannels: z.ZodNumber;
|
|
1712
|
+
swapsRemaining: z.ZodOptional<z.ZodNumber>;
|
|
1833
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1834
|
-
|
|
1835
|
-
|
|
1714
|
+
success: boolean;
|
|
1715
|
+
totalChannels: number;
|
|
1716
|
+
swapsRemaining?: number | undefined;
|
|
1836
1717
|
}, {
|
|
1837
|
-
|
|
1838
|
-
|
|
1718
|
+
success: boolean;
|
|
1719
|
+
totalChannels: number;
|
|
1720
|
+
swapsRemaining?: number | undefined;
|
|
1839
1721
|
}>;
|
|
1840
1722
|
}, "strip", z.ZodTypeAny, {
|
|
1841
1723
|
message: string;
|
|
1842
1724
|
success: true;
|
|
1843
1725
|
data: {
|
|
1844
|
-
|
|
1845
|
-
|
|
1726
|
+
success: boolean;
|
|
1727
|
+
totalChannels: number;
|
|
1728
|
+
swapsRemaining?: number | undefined;
|
|
1846
1729
|
};
|
|
1847
1730
|
}, {
|
|
1848
1731
|
message: string;
|
|
1849
1732
|
success: true;
|
|
1850
1733
|
data: {
|
|
1851
|
-
|
|
1852
|
-
|
|
1734
|
+
success: boolean;
|
|
1735
|
+
totalChannels: number;
|
|
1736
|
+
swapsRemaining?: number | undefined;
|
|
1853
1737
|
};
|
|
1854
1738
|
}>;
|
|
1855
1739
|
400: z.ZodObject<{
|
|
@@ -3223,14 +3107,14 @@ export declare const apiContract: {
|
|
|
3223
3107
|
activeUsers: z.ZodNumber;
|
|
3224
3108
|
jobsLast24h: z.ZodNumber;
|
|
3225
3109
|
}, "strip", z.ZodTypeAny, {
|
|
3226
|
-
totalJobs: number;
|
|
3227
3110
|
totalChannels: number;
|
|
3111
|
+
totalJobs: number;
|
|
3228
3112
|
totalUsers: number;
|
|
3229
3113
|
activeUsers: number;
|
|
3230
3114
|
jobsLast24h: number;
|
|
3231
3115
|
}, {
|
|
3232
|
-
totalJobs: number;
|
|
3233
3116
|
totalChannels: number;
|
|
3117
|
+
totalJobs: number;
|
|
3234
3118
|
totalUsers: number;
|
|
3235
3119
|
activeUsers: number;
|
|
3236
3120
|
jobsLast24h: number;
|
|
@@ -3239,8 +3123,8 @@ export declare const apiContract: {
|
|
|
3239
3123
|
message: string;
|
|
3240
3124
|
success: true;
|
|
3241
3125
|
data: {
|
|
3242
|
-
totalJobs: number;
|
|
3243
3126
|
totalChannels: number;
|
|
3127
|
+
totalJobs: number;
|
|
3244
3128
|
totalUsers: number;
|
|
3245
3129
|
activeUsers: number;
|
|
3246
3130
|
jobsLast24h: number;
|
|
@@ -3249,8 +3133,8 @@ export declare const apiContract: {
|
|
|
3249
3133
|
message: string;
|
|
3250
3134
|
success: true;
|
|
3251
3135
|
data: {
|
|
3252
|
-
totalJobs: number;
|
|
3253
3136
|
totalChannels: number;
|
|
3137
|
+
totalJobs: number;
|
|
3254
3138
|
totalUsers: number;
|
|
3255
3139
|
activeUsers: number;
|
|
3256
3140
|
jobsLast24h: number;
|