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/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
- channels: z.ZodArray<z.ZodObject<{
963
- id: z.ZodString;
964
- username: z.ZodString;
965
- title: z.ZodString;
966
- description: z.ZodOptional<z.ZodString>;
967
- category: z.ZodOptional<z.ZodString>;
968
- memberCount: z.ZodOptional<z.ZodString>;
969
- isActive: z.ZodBoolean;
970
- isRecommended: z.ZodBoolean;
971
- lastScrapedAt: z.ZodOptional<z.ZodString>;
972
- createdAt: z.ZodString;
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
- channels: {
1001
- id: string;
1002
- createdAt: string;
1003
- username: string;
1004
- title: string;
1005
- isActive: boolean;
1006
- isRecommended: boolean;
1007
- description?: string | undefined;
1008
- updatedAt?: string | undefined;
1009
- category?: string | undefined;
1010
- memberCount?: string | undefined;
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
- channels: {
1015
- id: string;
1016
- createdAt: string;
1017
- username: string;
1018
- title: string;
1019
- isActive: boolean;
1020
- isRecommended: boolean;
1021
- description?: string | undefined;
1022
- updatedAt?: string | undefined;
1023
- category?: string | undefined;
1024
- memberCount?: string | undefined;
1025
- lastScrapedAt?: string | undefined;
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
- channels: {
1033
- id: string;
1034
- createdAt: string;
1035
- username: string;
1036
- title: string;
1037
- isActive: boolean;
1038
- isRecommended: boolean;
1039
- description?: string | undefined;
1040
- updatedAt?: string | undefined;
1041
- category?: string | undefined;
1042
- memberCount?: string | undefined;
1043
- lastScrapedAt?: string | undefined;
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
- channels: {
1051
- id: string;
1052
- createdAt: string;
1053
- username: string;
1054
- title: string;
1055
- isActive: boolean;
1056
- isRecommended: boolean;
1057
- description?: string | undefined;
1058
- updatedAt?: string | undefined;
1059
- category?: string | undefined;
1060
- memberCount?: string | undefined;
1061
- lastScrapedAt?: string | undefined;
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
- channels: z.ZodArray<z.ZodObject<{
1103
- id: z.ZodString;
1104
- username: z.ZodString;
1105
- title: z.ZodString;
1106
- description: z.ZodOptional<z.ZodString>;
1107
- category: z.ZodOptional<z.ZodString>;
1108
- memberCount: z.ZodOptional<z.ZodString>;
1109
- isActive: z.ZodBoolean;
1110
- isRecommended: z.ZodBoolean;
1111
- lastScrapedAt: z.ZodOptional<z.ZodString>;
1112
- createdAt: z.ZodString;
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
- channels: {
1141
- id: string;
1142
- createdAt: string;
1143
- username: string;
1144
- title: string;
1145
- isActive: boolean;
1146
- isRecommended: boolean;
1147
- description?: string | undefined;
1148
- updatedAt?: string | undefined;
1149
- category?: string | undefined;
1150
- memberCount?: string | undefined;
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
- channels: {
1155
- id: string;
1156
- createdAt: string;
1157
- username: string;
1158
- title: string;
1159
- isActive: boolean;
1160
- isRecommended: boolean;
1161
- description?: string | undefined;
1162
- updatedAt?: string | undefined;
1163
- category?: string | undefined;
1164
- memberCount?: string | undefined;
1165
- lastScrapedAt?: string | undefined;
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
- channels: {
1173
- id: string;
1174
- createdAt: string;
1175
- username: string;
1176
- title: string;
1177
- isActive: boolean;
1178
- isRecommended: boolean;
1179
- description?: string | undefined;
1180
- updatedAt?: string | undefined;
1181
- category?: string | undefined;
1182
- memberCount?: string | undefined;
1183
- lastScrapedAt?: string | undefined;
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
- channels: {
1191
- id: string;
1192
- createdAt: string;
1193
- username: string;
1194
- title: string;
1195
- isActive: boolean;
1196
- isRecommended: boolean;
1197
- description?: string | undefined;
1198
- updatedAt?: string | undefined;
1199
- category?: string | undefined;
1200
- memberCount?: string | undefined;
1201
- lastScrapedAt?: string | undefined;
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
- categories: z.ZodArray<z.ZodObject<{
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
- category: z.ZodOptional<z.ZodString>;
1399
- memberCount: z.ZodOptional<z.ZodString>;
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
- isActive: boolean;
1411
- isRecommended: boolean;
1334
+ isJoined: boolean;
1412
1335
  description?: string | undefined;
1413
- updatedAt?: string | undefined;
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
- isActive: boolean;
1423
- isRecommended: boolean;
1340
+ isJoined: boolean;
1424
1341
  description?: string | undefined;
1425
- updatedAt?: string | undefined;
1426
- category?: string | undefined;
1427
- memberCount?: string | undefined;
1428
- lastScrapedAt?: string | undefined;
1429
- }>, "many">>;
1342
+ memberCount?: number | undefined;
1343
+ }>, "many">;
1344
+ missedJobsCount: z.ZodNumber;
1430
1345
  }, "strip", z.ZodTypeAny, {
1431
- categories: {
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
- isActive: boolean;
1441
- isRecommended: boolean;
1349
+ isJoined: boolean;
1442
1350
  description?: string | undefined;
1443
- updatedAt?: string | undefined;
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
- channelsByCategory: Record<string, {
1454
- id: string;
1455
- createdAt: string;
1353
+ missedJobsCount: number;
1354
+ }, {
1355
+ channels: {
1456
1356
  username: string;
1457
1357
  title: string;
1458
- isActive: boolean;
1459
- isRecommended: boolean;
1358
+ isJoined: boolean;
1460
1359
  description?: string | undefined;
1461
- updatedAt?: string | undefined;
1462
- category?: string | undefined;
1463
- memberCount?: string | undefined;
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
- categories: {
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
- isActive: boolean;
1481
- isRecommended: boolean;
1371
+ isJoined: boolean;
1482
1372
  description?: string | undefined;
1483
- updatedAt?: string | undefined;
1484
- category?: string | undefined;
1485
- memberCount?: string | undefined;
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
- categories: {
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
- isActive: boolean;
1503
- isRecommended: boolean;
1384
+ isJoined: boolean;
1504
1385
  description?: string | undefined;
1505
- updatedAt?: string | undefined;
1506
- category?: string | undefined;
1507
- memberCount?: string | undefined;
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
- channelUsernames: z.ZodArray<z.ZodString, "many">;
1536
+ channels: z.ZodArray<z.ZodString, "many">;
1658
1537
  }, "strip", z.ZodTypeAny, {
1659
- channelUsernames: string[];
1538
+ channels: string[];
1660
1539
  }, {
1661
- channelUsernames: string[];
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
- subscribedChannels: z.ZodArray<z.ZodString, "many">;
1548
+ success: z.ZodBoolean;
1670
1549
  message: z.ZodString;
1671
1550
  }, "strip", z.ZodTypeAny, {
1672
1551
  message: string;
1673
- subscribedChannels: string[];
1552
+ success: boolean;
1674
1553
  }, {
1675
1554
  message: string;
1676
- subscribedChannels: string[];
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
- subscribedChannels: string[];
1562
+ success: boolean;
1684
1563
  };
1685
1564
  }, {
1686
1565
  message: string;
1687
1566
  success: true;
1688
1567
  data: {
1689
1568
  message: string;
1690
- subscribedChannels: string[];
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
- channelUsernames: z.ZodArray<z.ZodString, "many">;
1617
+ channels: z.ZodArray<z.ZodString, "many">;
1739
1618
  }, "strip", z.ZodTypeAny, {
1740
- channelUsernames: string[];
1619
+ channels: string[];
1741
1620
  }, {
1742
- channelUsernames: string[];
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
- subscribedChannels: z.ZodArray<z.ZodString, "many">;
1629
+ success: z.ZodBoolean;
1751
1630
  message: z.ZodString;
1752
1631
  }, "strip", z.ZodTypeAny, {
1753
1632
  message: string;
1754
- subscribedChannels: string[];
1633
+ success: boolean;
1755
1634
  }, {
1756
1635
  message: string;
1757
- subscribedChannels: string[];
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
- subscribedChannels: string[];
1643
+ success: boolean;
1765
1644
  };
1766
1645
  }, {
1767
1646
  message: string;
1768
1647
  success: true;
1769
1648
  data: {
1770
1649
  message: string;
1771
- subscribedChannels: string[];
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
- channelUsername: z.ZodString;
1698
+ channel: z.ZodString;
1820
1699
  }, "strip", z.ZodTypeAny, {
1821
- channelUsername: string;
1700
+ channel: string;
1822
1701
  }, {
1823
- channelUsername: string;
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
- subscribedChannels: z.ZodArray<z.ZodString, "many">;
1832
- message: z.ZodString;
1710
+ success: z.ZodBoolean;
1711
+ totalChannels: z.ZodNumber;
1712
+ swapsRemaining: z.ZodOptional<z.ZodNumber>;
1833
1713
  }, "strip", z.ZodTypeAny, {
1834
- message: string;
1835
- subscribedChannels: string[];
1714
+ success: boolean;
1715
+ totalChannels: number;
1716
+ swapsRemaining?: number | undefined;
1836
1717
  }, {
1837
- message: string;
1838
- subscribedChannels: string[];
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
- message: string;
1845
- subscribedChannels: string[];
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
- message: string;
1852
- subscribedChannels: string[];
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;