@assetsfirst/pasarguard-sdk 1.0.0 → 2.2.0

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.cts CHANGED
@@ -4,7 +4,7 @@ import { RawAxiosRequestConfig, AxiosInstance, AxiosPromise } from 'axios';
4
4
  * PasarGuardAPI
5
5
  * Unified GUI Censorship Resistant Solution
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 2.2.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -96,7 +96,7 @@ declare class Configuration {
96
96
  * PasarGuardAPI
97
97
  * Unified GUI Censorship Resistant Solution
98
98
  *
99
- * The version of the OpenAPI document: 1.8.2
99
+ * The version of the OpenAPI document: 2.2.0
100
100
  *
101
101
  *
102
102
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -129,7 +129,7 @@ declare class BaseAPI {
129
129
  * PasarGuardAPI
130
130
  * Unified GUI Censorship Resistant Solution
131
131
  *
132
- * The version of the OpenAPI document: 1.8.2
132
+ * The version of the OpenAPI document: 2.2.0
133
133
  *
134
134
  *
135
135
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -154,7 +154,7 @@ interface AdminBase {
154
154
  * PasarGuardAPI
155
155
  * Unified GUI Censorship Resistant Solution
156
156
  *
157
- * The version of the OpenAPI document: 1.8.2
157
+ * The version of the OpenAPI document: 2.2.0
158
158
  *
159
159
  *
160
160
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -215,7 +215,7 @@ interface UserNotificationEnable {
215
215
  * PasarGuardAPI
216
216
  * Unified GUI Censorship Resistant Solution
217
217
  *
218
- * The version of the OpenAPI document: 1.8.2
218
+ * The version of the OpenAPI document: 2.2.0
219
219
  *
220
220
  *
221
221
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -307,7 +307,7 @@ interface AdminCreate {
307
307
  * PasarGuardAPI
308
308
  * Unified GUI Censorship Resistant Solution
309
309
  *
310
- * The version of the OpenAPI document: 1.8.2
310
+ * The version of the OpenAPI document: 2.2.0
311
311
  *
312
312
  *
313
313
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -417,7 +417,7 @@ interface AdminDetails {
417
417
  * PasarGuardAPI
418
418
  * Unified GUI Censorship Resistant Solution
419
419
  *
420
- * The version of the OpenAPI document: 1.8.2
420
+ * The version of the OpenAPI document: 2.2.0
421
421
  *
422
422
  *
423
423
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -503,7 +503,7 @@ interface AdminModify {
503
503
  * PasarGuardAPI
504
504
  * Unified GUI Censorship Resistant Solution
505
505
  *
506
- * The version of the OpenAPI document: 1.8.2
506
+ * The version of the OpenAPI document: 2.2.0
507
507
  *
508
508
  *
509
509
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -552,7 +552,38 @@ interface AdminNotificationEnable {
552
552
  * PasarGuardAPI
553
553
  * Unified GUI Censorship Resistant Solution
554
554
  *
555
- * The version of the OpenAPI document: 1.8.2
555
+ * The version of the OpenAPI document: 2.2.0
556
+ *
557
+ *
558
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
559
+ * https://openapi-generator.tech
560
+ * Do not edit the class manually.
561
+ */
562
+ /**
563
+ * Lightweight admin model with only id and username for performance.
564
+ * @export
565
+ * @interface AdminSimple
566
+ */
567
+ interface AdminSimple {
568
+ /**
569
+ *
570
+ * @type {number}
571
+ * @memberof AdminSimple
572
+ */
573
+ 'id': number;
574
+ /**
575
+ *
576
+ * @type {string}
577
+ * @memberof AdminSimple
578
+ */
579
+ 'username': string;
580
+ }
581
+
582
+ /**
583
+ * PasarGuardAPI
584
+ * Unified GUI Censorship Resistant Solution
585
+ *
586
+ * The version of the OpenAPI document: 2.2.0
556
587
  *
557
588
  *
558
589
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -596,7 +627,39 @@ interface AdminsResponse {
596
627
  * PasarGuardAPI
597
628
  * Unified GUI Censorship Resistant Solution
598
629
  *
599
- * The version of the OpenAPI document: 1.8.2
630
+ * The version of the OpenAPI document: 2.2.0
631
+ *
632
+ *
633
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
634
+ * https://openapi-generator.tech
635
+ * Do not edit the class manually.
636
+ */
637
+
638
+ /**
639
+ * Response model for lightweight admin list.
640
+ * @export
641
+ * @interface AdminsSimpleResponse
642
+ */
643
+ interface AdminsSimpleResponse {
644
+ /**
645
+ *
646
+ * @type {Array<AdminSimple>}
647
+ * @memberof AdminsSimpleResponse
648
+ */
649
+ 'admins': Array<AdminSimple>;
650
+ /**
651
+ *
652
+ * @type {number}
653
+ * @memberof AdminsSimpleResponse
654
+ */
655
+ 'total': number;
656
+ }
657
+
658
+ /**
659
+ * PasarGuardAPI
660
+ * Unified GUI Censorship Resistant Solution
661
+ *
662
+ * The version of the OpenAPI document: 2.2.0
600
663
  *
601
664
  *
602
665
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -620,7 +683,7 @@ type Language = typeof Language[keyof typeof Language];
620
683
  * PasarGuardAPI
621
684
  * Unified GUI Censorship Resistant Solution
622
685
  *
623
- * The version of the OpenAPI document: 1.8.2
686
+ * The version of the OpenAPI document: 2.2.0
624
687
  *
625
688
  *
626
689
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -658,7 +721,7 @@ interface DownloadLink {
658
721
  * PasarGuardAPI
659
722
  * Unified GUI Censorship Resistant Solution
660
723
  *
661
- * The version of the OpenAPI document: 1.8.2
724
+ * The version of the OpenAPI document: 2.2.0
662
725
  *
663
726
  *
664
727
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -685,7 +748,7 @@ type Platform = typeof Platform[keyof typeof Platform];
685
748
  * PasarGuardAPI
686
749
  * Unified GUI Censorship Resistant Solution
687
750
  *
688
- * The version of the OpenAPI document: 1.8.2
751
+ * The version of the OpenAPI document: 2.2.0
689
752
  *
690
753
  *
691
754
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -749,7 +812,7 @@ interface ApplicationInput {
749
812
  * PasarGuardAPI
750
813
  * Unified GUI Censorship Resistant Solution
751
814
  *
752
- * The version of the OpenAPI document: 1.8.2
815
+ * The version of the OpenAPI document: 2.2.0
753
816
  *
754
817
  *
755
818
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -813,7 +876,7 @@ interface ApplicationOutput {
813
876
  * PasarGuardAPI
814
877
  * Unified GUI Censorship Resistant Solution
815
878
  *
816
- * The version of the OpenAPI document: 1.8.2
879
+ * The version of the OpenAPI document: 2.2.0
817
880
  *
818
881
  *
819
882
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -850,7 +913,7 @@ interface SingBoxFragmentSettings {
850
913
  * PasarGuardAPI
851
914
  * Unified GUI Censorship Resistant Solution
852
915
  *
853
- * The version of the OpenAPI document: 1.8.2
916
+ * The version of the OpenAPI document: 2.2.0
854
917
  *
855
918
  *
856
919
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -887,7 +950,7 @@ interface XrayFragmentSettings {
887
950
  * PasarGuardAPI
888
951
  * Unified GUI Censorship Resistant Solution
889
952
  *
890
- * The version of the OpenAPI document: 1.8.2
953
+ * The version of the OpenAPI document: 2.2.0
891
954
  *
892
955
  *
893
956
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -919,7 +982,7 @@ interface FragmentSettings {
919
982
  * PasarGuardAPI
920
983
  * Unified GUI Censorship Resistant Solution
921
984
  *
922
- * The version of the OpenAPI document: 1.8.2
985
+ * The version of the OpenAPI document: 2.2.0
923
986
  *
924
987
  *
925
988
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -956,7 +1019,7 @@ interface Brutal {
956
1019
  * PasarGuardAPI
957
1020
  * Unified GUI Censorship Resistant Solution
958
1021
  *
959
- * The version of the OpenAPI document: 1.8.2
1022
+ * The version of the OpenAPI document: 2.2.0
960
1023
  *
961
1024
  *
962
1025
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -979,7 +1042,7 @@ type MultiplexProtocol = typeof MultiplexProtocol[keyof typeof MultiplexProtocol
979
1042
  * PasarGuardAPI
980
1043
  * Unified GUI Censorship Resistant Solution
981
1044
  *
982
- * The version of the OpenAPI document: 1.8.2
1045
+ * The version of the OpenAPI document: 2.2.0
983
1046
  *
984
1047
  *
985
1048
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1053,7 +1116,7 @@ interface ClashMuxSettings {
1053
1116
  * PasarGuardAPI
1054
1117
  * Unified GUI Censorship Resistant Solution
1055
1118
  *
1056
- * The version of the OpenAPI document: 1.8.2
1119
+ * The version of the OpenAPI document: 2.2.0
1057
1120
  *
1058
1121
  *
1059
1122
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1115,7 +1178,7 @@ interface SingBoxMuxSettings {
1115
1178
  * PasarGuardAPI
1116
1179
  * Unified GUI Censorship Resistant Solution
1117
1180
  *
1118
- * The version of the OpenAPI document: 1.8.2
1181
+ * The version of the OpenAPI document: 2.2.0
1119
1182
  *
1120
1183
  *
1121
1184
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1138,7 +1201,7 @@ type XUDP = typeof XUDP[keyof typeof XUDP];
1138
1201
  * PasarGuardAPI
1139
1202
  * Unified GUI Censorship Resistant Solution
1140
1203
  *
1141
- * The version of the OpenAPI document: 1.8.2
1204
+ * The version of the OpenAPI document: 2.2.0
1142
1205
  *
1143
1206
  *
1144
1207
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1182,7 +1245,7 @@ interface XrayMuxSettingsOutput {
1182
1245
  * PasarGuardAPI
1183
1246
  * Unified GUI Censorship Resistant Solution
1184
1247
  *
1185
- * The version of the OpenAPI document: 1.8.2
1248
+ * The version of the OpenAPI document: 2.2.0
1186
1249
  *
1187
1250
  *
1188
1251
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1220,7 +1283,7 @@ interface MuxSettingsOutput {
1220
1283
  * PasarGuardAPI
1221
1284
  * Unified GUI Censorship Resistant Solution
1222
1285
  *
1223
- * The version of the OpenAPI document: 1.8.2
1286
+ * The version of the OpenAPI document: 2.2.0
1224
1287
  *
1225
1288
  *
1226
1289
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1263,7 +1326,7 @@ interface XrayNoiseSettings {
1263
1326
  * PasarGuardAPI
1264
1327
  * Unified GUI Censorship Resistant Solution
1265
1328
  *
1266
- * The version of the OpenAPI document: 1.8.2
1329
+ * The version of the OpenAPI document: 2.2.0
1267
1330
  *
1268
1331
  *
1269
1332
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1289,7 +1352,7 @@ interface NoiseSettings {
1289
1352
  * PasarGuardAPI
1290
1353
  * Unified GUI Censorship Resistant Solution
1291
1354
  *
1292
- * The version of the OpenAPI document: 1.8.2
1355
+ * The version of the OpenAPI document: 2.2.0
1293
1356
  *
1294
1357
  *
1295
1358
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1312,7 +1375,7 @@ type ProxyHostALPN = typeof ProxyHostALPN[keyof typeof ProxyHostALPN];
1312
1375
  * PasarGuardAPI
1313
1376
  * Unified GUI Censorship Resistant Solution
1314
1377
  *
1315
- * The version of the OpenAPI document: 1.8.2
1378
+ * The version of the OpenAPI document: 2.2.0
1316
1379
  *
1317
1380
  *
1318
1381
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1345,7 +1408,7 @@ type ProxyHostFingerprint = typeof ProxyHostFingerprint[keyof typeof ProxyHostFi
1345
1408
  * PasarGuardAPI
1346
1409
  * Unified GUI Censorship Resistant Solution
1347
1410
  *
1348
- * The version of the OpenAPI document: 1.8.2
1411
+ * The version of the OpenAPI document: 2.2.0
1349
1412
  *
1350
1413
  *
1351
1414
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1368,7 +1431,7 @@ type ProxyHostSecurity = typeof ProxyHostSecurity[keyof typeof ProxyHostSecurity
1368
1431
  * PasarGuardAPI
1369
1432
  * Unified GUI Censorship Resistant Solution
1370
1433
  *
1371
- * The version of the OpenAPI document: 1.8.2
1434
+ * The version of the OpenAPI document: 2.2.0
1372
1435
  *
1373
1436
  *
1374
1437
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1417,7 +1480,7 @@ interface GRPCSettings {
1417
1480
  * PasarGuardAPI
1418
1481
  * Unified GUI Censorship Resistant Solution
1419
1482
  *
1420
- * The version of the OpenAPI document: 1.8.2
1483
+ * The version of the OpenAPI document: 2.2.0
1421
1484
  *
1422
1485
  *
1423
1486
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1430,12 +1493,6 @@ interface GRPCSettings {
1430
1493
  * @interface KCPSettings
1431
1494
  */
1432
1495
  interface KCPSettings {
1433
- /**
1434
- *
1435
- * @type {string}
1436
- * @memberof KCPSettings
1437
- */
1438
- 'header'?: string;
1439
1496
  /**
1440
1497
  *
1441
1498
  * @type {number}
@@ -1462,10 +1519,10 @@ interface KCPSettings {
1462
1519
  'downlink_capacity'?: number | null;
1463
1520
  /**
1464
1521
  *
1465
- * @type {number}
1522
+ * @type {boolean}
1466
1523
  * @memberof KCPSettings
1467
1524
  */
1468
- 'congestion'?: number | null;
1525
+ 'congestion'?: boolean | null;
1469
1526
  /**
1470
1527
  *
1471
1528
  * @type {number}
@@ -1484,7 +1541,7 @@ interface KCPSettings {
1484
1541
  * PasarGuardAPI
1485
1542
  * Unified GUI Censorship Resistant Solution
1486
1543
  *
1487
- * The version of the OpenAPI document: 1.8.2
1544
+ * The version of the OpenAPI document: 2.2.0
1488
1545
  *
1489
1546
  *
1490
1547
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1523,7 +1580,7 @@ interface HTTPRequest {
1523
1580
  * PasarGuardAPI
1524
1581
  * Unified GUI Censorship Resistant Solution
1525
1582
  *
1526
- * The version of the OpenAPI document: 1.8.2
1583
+ * The version of the OpenAPI document: 2.2.0
1527
1584
  *
1528
1585
  *
1529
1586
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1568,7 +1625,7 @@ interface HTTPResponse {
1568
1625
  * PasarGuardAPI
1569
1626
  * Unified GUI Censorship Resistant Solution
1570
1627
  *
1571
- * The version of the OpenAPI document: 1.8.2
1628
+ * The version of the OpenAPI document: 2.2.0
1572
1629
  *
1573
1630
  *
1574
1631
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1606,7 +1663,7 @@ interface TcpSettings {
1606
1663
  * PasarGuardAPI
1607
1664
  * Unified GUI Censorship Resistant Solution
1608
1665
  *
1609
- * The version of the OpenAPI document: 1.8.2
1666
+ * The version of the OpenAPI document: 2.2.0
1610
1667
  *
1611
1668
  *
1612
1669
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1631,7 +1688,7 @@ interface WebSocketSettings {
1631
1688
  * PasarGuardAPI
1632
1689
  * Unified GUI Censorship Resistant Solution
1633
1690
  *
1634
- * The version of the OpenAPI document: 1.8.2
1691
+ * The version of the OpenAPI document: 2.2.0
1635
1692
  *
1636
1693
  *
1637
1694
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1655,7 +1712,7 @@ type XHttpModes = typeof XHttpModes[keyof typeof XHttpModes];
1655
1712
  * PasarGuardAPI
1656
1713
  * Unified GUI Censorship Resistant Solution
1657
1714
  *
1658
- * The version of the OpenAPI document: 1.8.2
1715
+ * The version of the OpenAPI document: 2.2.0
1659
1716
  *
1660
1717
  *
1661
1718
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1710,7 +1767,7 @@ interface XMuxSettingsOutput {
1710
1767
  * PasarGuardAPI
1711
1768
  * Unified GUI Censorship Resistant Solution
1712
1769
  *
1713
- * The version of the OpenAPI document: 1.8.2
1770
+ * The version of the OpenAPI document: 2.2.0
1714
1771
  *
1715
1772
  *
1716
1773
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1729,7 +1786,7 @@ interface XHttpSettingsOutput {
1729
1786
  * @type {XHttpModes}
1730
1787
  * @memberof XHttpSettingsOutput
1731
1788
  */
1732
- 'mode'?: XHttpModes;
1789
+ 'mode'?: XHttpModes | null;
1733
1790
  /**
1734
1791
  *
1735
1792
  * @type {boolean}
@@ -1742,6 +1799,84 @@ interface XHttpSettingsOutput {
1742
1799
  * @memberof XHttpSettingsOutput
1743
1800
  */
1744
1801
  'x_padding_bytes'?: string | null;
1802
+ /**
1803
+ *
1804
+ * @type {boolean}
1805
+ * @memberof XHttpSettingsOutput
1806
+ */
1807
+ 'x_padding_obfs_mode'?: boolean | null;
1808
+ /**
1809
+ *
1810
+ * @type {string}
1811
+ * @memberof XHttpSettingsOutput
1812
+ */
1813
+ 'x_padding_key'?: string | null;
1814
+ /**
1815
+ *
1816
+ * @type {string}
1817
+ * @memberof XHttpSettingsOutput
1818
+ */
1819
+ 'x_padding_header'?: string | null;
1820
+ /**
1821
+ *
1822
+ * @type {string}
1823
+ * @memberof XHttpSettingsOutput
1824
+ */
1825
+ 'x_padding_placement'?: string | null;
1826
+ /**
1827
+ *
1828
+ * @type {string}
1829
+ * @memberof XHttpSettingsOutput
1830
+ */
1831
+ 'x_padding_method'?: string | null;
1832
+ /**
1833
+ *
1834
+ * @type {string}
1835
+ * @memberof XHttpSettingsOutput
1836
+ */
1837
+ 'uplink_http_method'?: string | null;
1838
+ /**
1839
+ *
1840
+ * @type {string}
1841
+ * @memberof XHttpSettingsOutput
1842
+ */
1843
+ 'session_placement'?: string | null;
1844
+ /**
1845
+ *
1846
+ * @type {string}
1847
+ * @memberof XHttpSettingsOutput
1848
+ */
1849
+ 'session_key'?: string | null;
1850
+ /**
1851
+ *
1852
+ * @type {string}
1853
+ * @memberof XHttpSettingsOutput
1854
+ */
1855
+ 'seq_placement'?: string | null;
1856
+ /**
1857
+ *
1858
+ * @type {string}
1859
+ * @memberof XHttpSettingsOutput
1860
+ */
1861
+ 'seq_key'?: string | null;
1862
+ /**
1863
+ *
1864
+ * @type {string}
1865
+ * @memberof XHttpSettingsOutput
1866
+ */
1867
+ 'uplink_data_placement'?: string | null;
1868
+ /**
1869
+ *
1870
+ * @type {string}
1871
+ * @memberof XHttpSettingsOutput
1872
+ */
1873
+ 'uplink_data_key'?: string | null;
1874
+ /**
1875
+ *
1876
+ * @type {number}
1877
+ * @memberof XHttpSettingsOutput
1878
+ */
1879
+ 'uplink_chunk_size'?: number | null;
1745
1880
  /**
1746
1881
  *
1747
1882
  * @type {string}
@@ -1772,7 +1907,7 @@ interface XHttpSettingsOutput {
1772
1907
  * PasarGuardAPI
1773
1908
  * Unified GUI Censorship Resistant Solution
1774
1909
  *
1775
- * The version of the OpenAPI document: 1.8.2
1910
+ * The version of the OpenAPI document: 2.2.0
1776
1911
  *
1777
1912
  *
1778
1913
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1822,7 +1957,7 @@ interface TransportSettingsOutput {
1822
1957
  * PasarGuardAPI
1823
1958
  * Unified GUI Censorship Resistant Solution
1824
1959
  *
1825
- * The version of the OpenAPI document: 1.8.2
1960
+ * The version of the OpenAPI document: 2.2.0
1826
1961
  *
1827
1962
  *
1828
1963
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1847,7 +1982,7 @@ type UserStatus = typeof UserStatus[keyof typeof UserStatus];
1847
1982
  * PasarGuardAPI
1848
1983
  * Unified GUI Censorship Resistant Solution
1849
1984
  *
1850
- * The version of the OpenAPI document: 1.8.2
1985
+ * The version of the OpenAPI document: 2.2.0
1851
1986
  *
1852
1987
  *
1853
1988
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1983,6 +2118,12 @@ interface BaseHost {
1983
2118
  * @memberof BaseHost
1984
2119
  */
1985
2120
  'use_sni_as_host'?: boolean;
2121
+ /**
2122
+ *
2123
+ * @type {string}
2124
+ * @memberof BaseHost
2125
+ */
2126
+ 'vless_route'?: string | null;
1986
2127
  /**
1987
2128
  *
1988
2129
  * @type {number}
@@ -2001,13 +2142,25 @@ interface BaseHost {
2001
2142
  * @memberof BaseHost
2002
2143
  */
2003
2144
  'ech_config_list'?: string | null;
2145
+ /**
2146
+ *
2147
+ * @type {string}
2148
+ * @memberof BaseHost
2149
+ */
2150
+ 'pinned_peer_cert_sha256'?: string | null;
2151
+ /**
2152
+ *
2153
+ * @type {Set<string>}
2154
+ * @memberof BaseHost
2155
+ */
2156
+ 'verify_peer_cert_by_name'?: Set<string> | null;
2004
2157
  }
2005
2158
 
2006
2159
  /**
2007
2160
  * PasarGuardAPI
2008
2161
  * Unified GUI Censorship Resistant Solution
2009
2162
  *
2010
- * The version of the OpenAPI document: 1.8.2
2163
+ * The version of the OpenAPI document: 2.2.0
2011
2164
  *
2012
2165
  *
2013
2166
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2044,7 +2197,7 @@ interface BaseNotificationEnable {
2044
2197
  * PasarGuardAPI
2045
2198
  * Unified GUI Censorship Resistant Solution
2046
2199
  *
2047
- * The version of the OpenAPI document: 1.8.2
2200
+ * The version of the OpenAPI document: 2.2.0
2048
2201
  *
2049
2202
  *
2050
2203
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2087,7 +2240,7 @@ interface BulkGroup {
2087
2240
  * PasarGuardAPI
2088
2241
  * Unified GUI Censorship Resistant Solution
2089
2242
  *
2090
- * The version of the OpenAPI document: 1.8.2
2243
+ * The version of the OpenAPI document: 2.2.0
2091
2244
  *
2092
2245
  *
2093
2246
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2137,7 +2290,116 @@ interface BulkUser {
2137
2290
  * PasarGuardAPI
2138
2291
  * Unified GUI Censorship Resistant Solution
2139
2292
  *
2140
- * The version of the OpenAPI document: 1.8.2
2293
+ * The version of the OpenAPI document: 2.2.0
2294
+ *
2295
+ *
2296
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2297
+ * https://openapi-generator.tech
2298
+ * Do not edit the class manually.
2299
+ */
2300
+ /**
2301
+ *
2302
+ * @export
2303
+ * @interface BulkUsersCreateResponse
2304
+ */
2305
+ interface BulkUsersCreateResponse {
2306
+ /**
2307
+ *
2308
+ * @type {Array<string>}
2309
+ * @memberof BulkUsersCreateResponse
2310
+ */
2311
+ 'subscription_urls'?: Array<string>;
2312
+ /**
2313
+ *
2314
+ * @type {number}
2315
+ * @memberof BulkUsersCreateResponse
2316
+ */
2317
+ 'created'?: number;
2318
+ }
2319
+
2320
+ /**
2321
+ * PasarGuardAPI
2322
+ * Unified GUI Censorship Resistant Solution
2323
+ *
2324
+ * The version of the OpenAPI document: 2.2.0
2325
+ *
2326
+ *
2327
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2328
+ * https://openapi-generator.tech
2329
+ * Do not edit the class manually.
2330
+ */
2331
+ /**
2332
+ *
2333
+ * @export
2334
+ * @enum {string}
2335
+ */
2336
+ declare const UsernameGenerationStrategy: {
2337
+ readonly Random: "random";
2338
+ readonly Sequence: "sequence";
2339
+ };
2340
+ type UsernameGenerationStrategy = typeof UsernameGenerationStrategy[keyof typeof UsernameGenerationStrategy];
2341
+
2342
+ /**
2343
+ * PasarGuardAPI
2344
+ * Unified GUI Censorship Resistant Solution
2345
+ *
2346
+ * The version of the OpenAPI document: 2.2.0
2347
+ *
2348
+ *
2349
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2350
+ * https://openapi-generator.tech
2351
+ * Do not edit the class manually.
2352
+ */
2353
+
2354
+ /**
2355
+ *
2356
+ * @export
2357
+ * @interface BulkUsersFromTemplate
2358
+ */
2359
+ interface BulkUsersFromTemplate {
2360
+ /**
2361
+ *
2362
+ * @type {number}
2363
+ * @memberof BulkUsersFromTemplate
2364
+ */
2365
+ 'user_template_id': number;
2366
+ /**
2367
+ *
2368
+ * @type {string}
2369
+ * @memberof BulkUsersFromTemplate
2370
+ */
2371
+ 'note'?: string | null;
2372
+ /**
2373
+ *
2374
+ * @type {string}
2375
+ * @memberof BulkUsersFromTemplate
2376
+ */
2377
+ 'username'?: string | null;
2378
+ /**
2379
+ *
2380
+ * @type {number}
2381
+ * @memberof BulkUsersFromTemplate
2382
+ */
2383
+ 'count': number;
2384
+ /**
2385
+ *
2386
+ * @type {UsernameGenerationStrategy}
2387
+ * @memberof BulkUsersFromTemplate
2388
+ */
2389
+ 'strategy'?: UsernameGenerationStrategy;
2390
+ /**
2391
+ *
2392
+ * @type {number}
2393
+ * @memberof BulkUsersFromTemplate
2394
+ */
2395
+ 'start_number'?: number | null;
2396
+ }
2397
+
2398
+ /**
2399
+ * PasarGuardAPI
2400
+ * Unified GUI Censorship Resistant Solution
2401
+ *
2402
+ * The version of the OpenAPI document: 2.2.0
2141
2403
  *
2142
2404
  *
2143
2405
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2161,7 +2423,7 @@ type ShadowsocksMethods = typeof ShadowsocksMethods[keyof typeof ShadowsocksMeth
2161
2423
  * PasarGuardAPI
2162
2424
  * Unified GUI Censorship Resistant Solution
2163
2425
  *
2164
- * The version of the OpenAPI document: 1.8.2
2426
+ * The version of the OpenAPI document: 2.2.0
2165
2427
  *
2166
2428
  *
2167
2429
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2183,7 +2445,7 @@ type XTLSFlows = typeof XTLSFlows[keyof typeof XTLSFlows];
2183
2445
  * PasarGuardAPI
2184
2446
  * Unified GUI Censorship Resistant Solution
2185
2447
  *
2186
- * The version of the OpenAPI document: 1.8.2
2448
+ * The version of the OpenAPI document: 2.2.0
2187
2449
  *
2188
2450
  *
2189
2451
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2233,7 +2495,7 @@ interface BulkUsersProxy {
2233
2495
  * PasarGuardAPI
2234
2496
  * Unified GUI Censorship Resistant Solution
2235
2497
  *
2236
- * The version of the OpenAPI document: 1.8.2
2498
+ * The version of the OpenAPI document: 2.2.0
2237
2499
  *
2238
2500
  *
2239
2501
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2241,18 +2503,16 @@ interface BulkUsersProxy {
2241
2503
  * Do not edit the class manually.
2242
2504
  */
2243
2505
  /**
2244
- *
2506
+ * @type CMaxReuseTimes
2245
2507
  * @export
2246
- * @interface CMaxReuseTimes
2247
2508
  */
2248
- interface CMaxReuseTimes {
2249
- }
2509
+ type CMaxReuseTimes = number | string;
2250
2510
 
2251
2511
  /**
2252
2512
  * PasarGuardAPI
2253
2513
  * Unified GUI Censorship Resistant Solution
2254
2514
  *
2255
- * The version of the OpenAPI document: 1.8.2
2515
+ * The version of the OpenAPI document: 2.2.0
2256
2516
  *
2257
2517
  *
2258
2518
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2280,7 +2540,7 @@ type ConfigFormat = typeof ConfigFormat[keyof typeof ConfigFormat];
2280
2540
  * PasarGuardAPI
2281
2541
  * Unified GUI Censorship Resistant Solution
2282
2542
  *
2283
- * The version of the OpenAPI document: 1.8.2
2543
+ * The version of the OpenAPI document: 2.2.0
2284
2544
  *
2285
2545
  *
2286
2546
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2325,7 +2585,7 @@ interface CoreCreate {
2325
2585
  * PasarGuardAPI
2326
2586
  * Unified GUI Censorship Resistant Solution
2327
2587
  *
2328
- * The version of the OpenAPI document: 1.8.2
2588
+ * The version of the OpenAPI document: 2.2.0
2329
2589
  *
2330
2590
  *
2331
2591
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2382,7 +2642,7 @@ interface CoreResponse {
2382
2642
  * PasarGuardAPI
2383
2643
  * Unified GUI Censorship Resistant Solution
2384
2644
  *
2385
- * The version of the OpenAPI document: 1.8.2
2645
+ * The version of the OpenAPI document: 2.2.0
2386
2646
  *
2387
2647
  *
2388
2648
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2414,51 +2674,38 @@ interface CoreResponseList {
2414
2674
  * PasarGuardAPI
2415
2675
  * Unified GUI Censorship Resistant Solution
2416
2676
  *
2417
- * The version of the OpenAPI document: 1.8.2
2677
+ * The version of the OpenAPI document: 2.2.0
2418
2678
  *
2419
2679
  *
2420
2680
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2421
2681
  * https://openapi-generator.tech
2422
2682
  * Do not edit the class manually.
2423
2683
  */
2424
-
2425
2684
  /**
2426
- *
2685
+ * Lightweight core model with only id and name for performance.
2427
2686
  * @export
2428
- * @interface XrayMuxSettingsInput
2687
+ * @interface CoreSimple
2429
2688
  */
2430
- interface XrayMuxSettingsInput {
2431
- /**
2432
- *
2433
- * @type {boolean}
2434
- * @memberof XrayMuxSettingsInput
2435
- */
2436
- 'enabled'?: boolean;
2437
- /**
2438
- *
2439
- * @type {number}
2440
- * @memberof XrayMuxSettingsInput
2441
- */
2442
- 'concurrency'?: number | null;
2689
+ interface CoreSimple {
2443
2690
  /**
2444
2691
  *
2445
2692
  * @type {number}
2446
- * @memberof XrayMuxSettingsInput
2693
+ * @memberof CoreSimple
2447
2694
  */
2448
- 'xudp_concurrency'?: number | null;
2695
+ 'id': number;
2449
2696
  /**
2450
2697
  *
2451
- * @type {XUDP}
2452
- * @memberof XrayMuxSettingsInput
2698
+ * @type {string}
2699
+ * @memberof CoreSimple
2453
2700
  */
2454
- 'xudp_proxy_udp_443'?: XUDP;
2701
+ 'name': string;
2455
2702
  }
2456
2703
 
2457
2704
  /**
2458
2705
  * PasarGuardAPI
2459
2706
  * Unified GUI Censorship Resistant Solution
2460
2707
  *
2461
- * The version of the OpenAPI document: 1.8.2
2708
+ * The version of the OpenAPI document: 2.2.0
2462
2709
  *
2463
2710
  *
2464
2711
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2467,21 +2714,97 @@ interface XrayMuxSettingsInput {
2467
2714
  */
2468
2715
 
2469
2716
  /**
2470
- *
2717
+ * Response model for lightweight core list.
2471
2718
  * @export
2472
- * @interface MuxSettingsInput
2719
+ * @interface CoresSimpleResponse
2473
2720
  */
2474
- interface MuxSettingsInput {
2721
+ interface CoresSimpleResponse {
2475
2722
  /**
2476
2723
  *
2477
- * @type {SingBoxMuxSettings}
2478
- * @memberof MuxSettingsInput
2724
+ * @type {Array<CoreSimple>}
2725
+ * @memberof CoresSimpleResponse
2479
2726
  */
2480
- 'sing_box'?: SingBoxMuxSettings | null;
2727
+ 'cores': Array<CoreSimple>;
2481
2728
  /**
2482
2729
  *
2483
- * @type {ClashMuxSettings}
2484
- * @memberof MuxSettingsInput
2730
+ * @type {number}
2731
+ * @memberof CoresSimpleResponse
2732
+ */
2733
+ 'total': number;
2734
+ }
2735
+
2736
+ /**
2737
+ * PasarGuardAPI
2738
+ * Unified GUI Censorship Resistant Solution
2739
+ *
2740
+ * The version of the OpenAPI document: 2.2.0
2741
+ *
2742
+ *
2743
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2744
+ * https://openapi-generator.tech
2745
+ * Do not edit the class manually.
2746
+ */
2747
+
2748
+ /**
2749
+ *
2750
+ * @export
2751
+ * @interface XrayMuxSettingsInput
2752
+ */
2753
+ interface XrayMuxSettingsInput {
2754
+ /**
2755
+ *
2756
+ * @type {boolean}
2757
+ * @memberof XrayMuxSettingsInput
2758
+ */
2759
+ 'enabled'?: boolean;
2760
+ /**
2761
+ *
2762
+ * @type {number}
2763
+ * @memberof XrayMuxSettingsInput
2764
+ */
2765
+ 'concurrency'?: number | null;
2766
+ /**
2767
+ *
2768
+ * @type {number}
2769
+ * @memberof XrayMuxSettingsInput
2770
+ */
2771
+ 'xudp_concurrency'?: number | null;
2772
+ /**
2773
+ *
2774
+ * @type {XUDP}
2775
+ * @memberof XrayMuxSettingsInput
2776
+ */
2777
+ 'xudp_proxy_udp_443'?: XUDP;
2778
+ }
2779
+
2780
+ /**
2781
+ * PasarGuardAPI
2782
+ * Unified GUI Censorship Resistant Solution
2783
+ *
2784
+ * The version of the OpenAPI document: 2.2.0
2785
+ *
2786
+ *
2787
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2788
+ * https://openapi-generator.tech
2789
+ * Do not edit the class manually.
2790
+ */
2791
+
2792
+ /**
2793
+ *
2794
+ * @export
2795
+ * @interface MuxSettingsInput
2796
+ */
2797
+ interface MuxSettingsInput {
2798
+ /**
2799
+ *
2800
+ * @type {SingBoxMuxSettings}
2801
+ * @memberof MuxSettingsInput
2802
+ */
2803
+ 'sing_box'?: SingBoxMuxSettings | null;
2804
+ /**
2805
+ *
2806
+ * @type {ClashMuxSettings}
2807
+ * @memberof MuxSettingsInput
2485
2808
  */
2486
2809
  'clash'?: ClashMuxSettings | null;
2487
2810
  /**
@@ -2496,7 +2819,7 @@ interface MuxSettingsInput {
2496
2819
  * PasarGuardAPI
2497
2820
  * Unified GUI Censorship Resistant Solution
2498
2821
  *
2499
- * The version of the OpenAPI document: 1.8.2
2822
+ * The version of the OpenAPI document: 2.2.0
2500
2823
  *
2501
2824
  *
2502
2825
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2504,18 +2827,16 @@ interface MuxSettingsInput {
2504
2827
  * Do not edit the class manually.
2505
2828
  */
2506
2829
  /**
2507
- *
2830
+ * @type ScMaxEachPostBytes
2508
2831
  * @export
2509
- * @interface ScMaxEachPostBytes
2510
2832
  */
2511
- interface ScMaxEachPostBytes {
2512
- }
2833
+ type ScMaxEachPostBytes = number | string;
2513
2834
 
2514
2835
  /**
2515
2836
  * PasarGuardAPI
2516
2837
  * Unified GUI Censorship Resistant Solution
2517
2838
  *
2518
- * The version of the OpenAPI document: 1.8.2
2839
+ * The version of the OpenAPI document: 2.2.0
2519
2840
  *
2520
2841
  *
2521
2842
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2523,18 +2844,16 @@ interface ScMaxEachPostBytes {
2523
2844
  * Do not edit the class manually.
2524
2845
  */
2525
2846
  /**
2526
- *
2847
+ * @type ScMinPostsIntervalMs
2527
2848
  * @export
2528
- * @interface ScMinPostsIntervalMs
2529
2849
  */
2530
- interface ScMinPostsIntervalMs {
2531
- }
2850
+ type ScMinPostsIntervalMs = number | string;
2532
2851
 
2533
2852
  /**
2534
2853
  * PasarGuardAPI
2535
2854
  * Unified GUI Censorship Resistant Solution
2536
2855
  *
2537
- * The version of the OpenAPI document: 1.8.2
2856
+ * The version of the OpenAPI document: 2.2.0
2538
2857
  *
2539
2858
  *
2540
2859
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2542,18 +2861,16 @@ interface ScMinPostsIntervalMs {
2542
2861
  * Do not edit the class manually.
2543
2862
  */
2544
2863
  /**
2545
- *
2864
+ * @type HMaxRequestTimes
2546
2865
  * @export
2547
- * @interface HMaxRequestTimes
2548
2866
  */
2549
- interface HMaxRequestTimes {
2550
- }
2867
+ type HMaxRequestTimes = number | string;
2551
2868
 
2552
2869
  /**
2553
2870
  * PasarGuardAPI
2554
2871
  * Unified GUI Censorship Resistant Solution
2555
2872
  *
2556
- * The version of the OpenAPI document: 1.8.2
2873
+ * The version of the OpenAPI document: 2.2.0
2557
2874
  *
2558
2875
  *
2559
2876
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2561,18 +2878,16 @@ interface HMaxRequestTimes {
2561
2878
  * Do not edit the class manually.
2562
2879
  */
2563
2880
  /**
2564
- *
2881
+ * @type HMaxReusableSecs
2565
2882
  * @export
2566
- * @interface HMaxReusableSecs
2567
2883
  */
2568
- interface HMaxReusableSecs {
2569
- }
2884
+ type HMaxReusableSecs = number | string;
2570
2885
 
2571
2886
  /**
2572
2887
  * PasarGuardAPI
2573
2888
  * Unified GUI Censorship Resistant Solution
2574
2889
  *
2575
- * The version of the OpenAPI document: 1.8.2
2890
+ * The version of the OpenAPI document: 2.2.0
2576
2891
  *
2577
2892
  *
2578
2893
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2580,18 +2895,16 @@ interface HMaxReusableSecs {
2580
2895
  * Do not edit the class manually.
2581
2896
  */
2582
2897
  /**
2583
- *
2898
+ * @type MaxConcurrency
2584
2899
  * @export
2585
- * @interface MaxConcurrency
2586
2900
  */
2587
- interface MaxConcurrency {
2588
- }
2901
+ type MaxConcurrency = number | string;
2589
2902
 
2590
2903
  /**
2591
2904
  * PasarGuardAPI
2592
2905
  * Unified GUI Censorship Resistant Solution
2593
2906
  *
2594
- * The version of the OpenAPI document: 1.8.2
2907
+ * The version of the OpenAPI document: 2.2.0
2595
2908
  *
2596
2909
  *
2597
2910
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2599,18 +2912,16 @@ interface MaxConcurrency {
2599
2912
  * Do not edit the class manually.
2600
2913
  */
2601
2914
  /**
2602
- *
2915
+ * @type MaxConnections
2603
2916
  * @export
2604
- * @interface MaxConnections
2605
2917
  */
2606
- interface MaxConnections {
2607
- }
2918
+ type MaxConnections = number | string;
2608
2919
 
2609
2920
  /**
2610
2921
  * PasarGuardAPI
2611
2922
  * Unified GUI Censorship Resistant Solution
2612
2923
  *
2613
- * The version of the OpenAPI document: 1.8.2
2924
+ * The version of the OpenAPI document: 2.2.0
2614
2925
  *
2615
2926
  *
2616
2927
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2666,7 +2977,7 @@ interface XMuxSettingsInput {
2666
2977
  * PasarGuardAPI
2667
2978
  * Unified GUI Censorship Resistant Solution
2668
2979
  *
2669
- * The version of the OpenAPI document: 1.8.2
2980
+ * The version of the OpenAPI document: 2.2.0
2670
2981
  *
2671
2982
  *
2672
2983
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2674,18 +2985,16 @@ interface XMuxSettingsInput {
2674
2985
  * Do not edit the class manually.
2675
2986
  */
2676
2987
  /**
2677
- *
2988
+ * @type XPaddingBytes
2678
2989
  * @export
2679
- * @interface XPaddingBytes
2680
2990
  */
2681
- interface XPaddingBytes {
2682
- }
2991
+ type XPaddingBytes = number | string;
2683
2992
 
2684
2993
  /**
2685
2994
  * PasarGuardAPI
2686
2995
  * Unified GUI Censorship Resistant Solution
2687
2996
  *
2688
- * The version of the OpenAPI document: 1.8.2
2997
+ * The version of the OpenAPI document: 2.2.0
2689
2998
  *
2690
2999
  *
2691
3000
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2704,7 +3013,7 @@ interface XHttpSettingsInput {
2704
3013
  * @type {XHttpModes}
2705
3014
  * @memberof XHttpSettingsInput
2706
3015
  */
2707
- 'mode'?: XHttpModes;
3016
+ 'mode'?: XHttpModes | null;
2708
3017
  /**
2709
3018
  *
2710
3019
  * @type {boolean}
@@ -2717,6 +3026,84 @@ interface XHttpSettingsInput {
2717
3026
  * @memberof XHttpSettingsInput
2718
3027
  */
2719
3028
  'x_padding_bytes'?: XPaddingBytes | null;
3029
+ /**
3030
+ *
3031
+ * @type {boolean}
3032
+ * @memberof XHttpSettingsInput
3033
+ */
3034
+ 'x_padding_obfs_mode'?: boolean | null;
3035
+ /**
3036
+ *
3037
+ * @type {string}
3038
+ * @memberof XHttpSettingsInput
3039
+ */
3040
+ 'x_padding_key'?: string | null;
3041
+ /**
3042
+ *
3043
+ * @type {string}
3044
+ * @memberof XHttpSettingsInput
3045
+ */
3046
+ 'x_padding_header'?: string | null;
3047
+ /**
3048
+ *
3049
+ * @type {string}
3050
+ * @memberof XHttpSettingsInput
3051
+ */
3052
+ 'x_padding_placement'?: string | null;
3053
+ /**
3054
+ *
3055
+ * @type {string}
3056
+ * @memberof XHttpSettingsInput
3057
+ */
3058
+ 'x_padding_method'?: string | null;
3059
+ /**
3060
+ *
3061
+ * @type {string}
3062
+ * @memberof XHttpSettingsInput
3063
+ */
3064
+ 'uplink_http_method'?: string | null;
3065
+ /**
3066
+ *
3067
+ * @type {string}
3068
+ * @memberof XHttpSettingsInput
3069
+ */
3070
+ 'session_placement'?: string | null;
3071
+ /**
3072
+ *
3073
+ * @type {string}
3074
+ * @memberof XHttpSettingsInput
3075
+ */
3076
+ 'session_key'?: string | null;
3077
+ /**
3078
+ *
3079
+ * @type {string}
3080
+ * @memberof XHttpSettingsInput
3081
+ */
3082
+ 'seq_placement'?: string | null;
3083
+ /**
3084
+ *
3085
+ * @type {string}
3086
+ * @memberof XHttpSettingsInput
3087
+ */
3088
+ 'seq_key'?: string | null;
3089
+ /**
3090
+ *
3091
+ * @type {string}
3092
+ * @memberof XHttpSettingsInput
3093
+ */
3094
+ 'uplink_data_placement'?: string | null;
3095
+ /**
3096
+ *
3097
+ * @type {string}
3098
+ * @memberof XHttpSettingsInput
3099
+ */
3100
+ 'uplink_data_key'?: string | null;
3101
+ /**
3102
+ *
3103
+ * @type {number}
3104
+ * @memberof XHttpSettingsInput
3105
+ */
3106
+ 'uplink_chunk_size'?: number | null;
2720
3107
  /**
2721
3108
  *
2722
3109
  * @type {ScMaxEachPostBytes}
@@ -2747,7 +3134,7 @@ interface XHttpSettingsInput {
2747
3134
  * PasarGuardAPI
2748
3135
  * Unified GUI Censorship Resistant Solution
2749
3136
  *
2750
- * The version of the OpenAPI document: 1.8.2
3137
+ * The version of the OpenAPI document: 2.2.0
2751
3138
  *
2752
3139
  *
2753
3140
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2797,7 +3184,7 @@ interface TransportSettingsInput {
2797
3184
  * PasarGuardAPI
2798
3185
  * Unified GUI Censorship Resistant Solution
2799
3186
  *
2800
- * The version of the OpenAPI document: 1.8.2
3187
+ * The version of the OpenAPI document: 2.2.0
2801
3188
  *
2802
3189
  *
2803
3190
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2933,6 +3320,12 @@ interface CreateHost {
2933
3320
  * @memberof CreateHost
2934
3321
  */
2935
3322
  'use_sni_as_host'?: boolean;
3323
+ /**
3324
+ *
3325
+ * @type {string}
3326
+ * @memberof CreateHost
3327
+ */
3328
+ 'vless_route'?: string | null;
2936
3329
  /**
2937
3330
  *
2938
3331
  * @type {number}
@@ -2951,13 +3344,25 @@ interface CreateHost {
2951
3344
  * @memberof CreateHost
2952
3345
  */
2953
3346
  'ech_config_list'?: string | null;
3347
+ /**
3348
+ *
3349
+ * @type {string}
3350
+ * @memberof CreateHost
3351
+ */
3352
+ 'pinned_peer_cert_sha256'?: string | null;
3353
+ /**
3354
+ *
3355
+ * @type {Set<string>}
3356
+ * @memberof CreateHost
3357
+ */
3358
+ 'verify_peer_cert_by_name'?: Set<string> | null;
2954
3359
  }
2955
3360
 
2956
3361
  /**
2957
3362
  * PasarGuardAPI
2958
3363
  * Unified GUI Censorship Resistant Solution
2959
3364
  *
2960
- * The version of the OpenAPI document: 1.8.2
3365
+ * The version of the OpenAPI document: 2.2.0
2961
3366
  *
2962
3367
  *
2963
3368
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2994,7 +3399,7 @@ interface CreateUserFromTemplate {
2994
3399
  * PasarGuardAPI
2995
3400
  * Unified GUI Censorship Resistant Solution
2996
3401
  *
2997
- * The version of the OpenAPI document: 1.8.2
3402
+ * The version of the OpenAPI document: 2.2.0
2998
3403
  *
2999
3404
  *
3000
3405
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3019,7 +3424,7 @@ type DataLimitResetStrategy = typeof DataLimitResetStrategy[keyof typeof DataLim
3019
3424
  * PasarGuardAPI
3020
3425
  * Unified GUI Censorship Resistant Solution
3021
3426
  *
3022
- * The version of the OpenAPI document: 1.8.2
3427
+ * The version of the OpenAPI document: 2.2.0
3023
3428
  *
3024
3429
  *
3025
3430
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3056,7 +3461,7 @@ interface Discord {
3056
3461
  * PasarGuardAPI
3057
3462
  * Unified GUI Censorship Resistant Solution
3058
3463
  *
3059
- * The version of the OpenAPI document: 1.8.2
3464
+ * The version of the OpenAPI document: 2.2.0
3060
3465
  *
3061
3466
  *
3062
3467
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3064,18 +3469,16 @@ interface Discord {
3064
3469
  * Do not edit the class manually.
3065
3470
  */
3066
3471
  /**
3067
- *
3472
+ * @type Expire
3068
3473
  * @export
3069
- * @interface Expire
3070
3474
  */
3071
- interface Expire {
3072
- }
3475
+ type Expire = number | string;
3073
3476
 
3074
3477
  /**
3075
3478
  * PasarGuardAPI
3076
3479
  * Unified GUI Censorship Resistant Solution
3077
3480
  *
3078
- * The version of the OpenAPI document: 1.8.2
3481
+ * The version of the OpenAPI document: 2.2.0
3079
3482
  *
3080
3483
  *
3081
3484
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3107,7 +3510,7 @@ interface ExtraSettings {
3107
3510
  * PasarGuardAPI
3108
3511
  * Unified GUI Censorship Resistant Solution
3109
3512
  *
3110
- * The version of the OpenAPI document: 1.8.2
3513
+ * The version of the OpenAPI document: 2.2.0
3111
3514
  *
3112
3515
  *
3113
3516
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3139,7 +3542,30 @@ interface General {
3139
3542
  * PasarGuardAPI
3140
3543
  * Unified GUI Censorship Resistant Solution
3141
3544
  *
3142
- * The version of the OpenAPI document: 1.8.2
3545
+ * The version of the OpenAPI document: 2.2.0
3546
+ *
3547
+ *
3548
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3549
+ * https://openapi-generator.tech
3550
+ * Do not edit the class manually.
3551
+ */
3552
+ /**
3553
+ *
3554
+ * @export
3555
+ * @enum {string}
3556
+ */
3557
+ declare const GeoFilseRegion: {
3558
+ readonly Iran: "iran";
3559
+ readonly China: "china";
3560
+ readonly Russia: "russia";
3561
+ };
3562
+ type GeoFilseRegion = typeof GeoFilseRegion[keyof typeof GeoFilseRegion];
3563
+
3564
+ /**
3565
+ * PasarGuardAPI
3566
+ * Unified GUI Censorship Resistant Solution
3567
+ *
3568
+ * The version of the OpenAPI document: 2.2.0
3143
3569
  *
3144
3570
  *
3145
3571
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3176,7 +3602,7 @@ interface GroupCreate {
3176
3602
  * PasarGuardAPI
3177
3603
  * Unified GUI Censorship Resistant Solution
3178
3604
  *
3179
- * The version of the OpenAPI document: 1.8.2
3605
+ * The version of the OpenAPI document: 2.2.0
3180
3606
  *
3181
3607
  *
3182
3608
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3213,7 +3639,7 @@ interface GroupModify {
3213
3639
  * PasarGuardAPI
3214
3640
  * Unified GUI Censorship Resistant Solution
3215
3641
  *
3216
- * The version of the OpenAPI document: 1.8.2
3642
+ * The version of the OpenAPI document: 2.2.0
3217
3643
  *
3218
3644
  *
3219
3645
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3262,7 +3688,38 @@ interface GroupResponse {
3262
3688
  * PasarGuardAPI
3263
3689
  * Unified GUI Censorship Resistant Solution
3264
3690
  *
3265
- * The version of the OpenAPI document: 1.8.2
3691
+ * The version of the OpenAPI document: 2.2.0
3692
+ *
3693
+ *
3694
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3695
+ * https://openapi-generator.tech
3696
+ * Do not edit the class manually.
3697
+ */
3698
+ /**
3699
+ * Lightweight group model with only id and name for performance.
3700
+ * @export
3701
+ * @interface GroupSimple
3702
+ */
3703
+ interface GroupSimple {
3704
+ /**
3705
+ *
3706
+ * @type {number}
3707
+ * @memberof GroupSimple
3708
+ */
3709
+ 'id': number;
3710
+ /**
3711
+ *
3712
+ * @type {string}
3713
+ * @memberof GroupSimple
3714
+ */
3715
+ 'name': string;
3716
+ }
3717
+
3718
+ /**
3719
+ * PasarGuardAPI
3720
+ * Unified GUI Censorship Resistant Solution
3721
+ *
3722
+ * The version of the OpenAPI document: 2.2.0
3266
3723
  *
3267
3724
  *
3268
3725
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3294,7 +3751,39 @@ interface GroupsResponse {
3294
3751
  * PasarGuardAPI
3295
3752
  * Unified GUI Censorship Resistant Solution
3296
3753
  *
3297
- * The version of the OpenAPI document: 1.8.2
3754
+ * The version of the OpenAPI document: 2.2.0
3755
+ *
3756
+ *
3757
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3758
+ * https://openapi-generator.tech
3759
+ * Do not edit the class manually.
3760
+ */
3761
+
3762
+ /**
3763
+ * Response model for lightweight group list.
3764
+ * @export
3765
+ * @interface GroupsSimpleResponse
3766
+ */
3767
+ interface GroupsSimpleResponse {
3768
+ /**
3769
+ *
3770
+ * @type {Array<GroupSimple>}
3771
+ * @memberof GroupsSimpleResponse
3772
+ */
3773
+ 'groups': Array<GroupSimple>;
3774
+ /**
3775
+ *
3776
+ * @type {number}
3777
+ * @memberof GroupsSimpleResponse
3778
+ */
3779
+ 'total': number;
3780
+ }
3781
+
3782
+ /**
3783
+ * PasarGuardAPI
3784
+ * Unified GUI Censorship Resistant Solution
3785
+ *
3786
+ * The version of the OpenAPI document: 2.2.0
3298
3787
  *
3299
3788
  *
3300
3789
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3337,7 +3826,7 @@ interface HostNotificationEnable {
3337
3826
  * PasarGuardAPI
3338
3827
  * Unified GUI Censorship Resistant Solution
3339
3828
  *
3340
- * The version of the OpenAPI document: 1.8.2
3829
+ * The version of the OpenAPI document: 2.2.0
3341
3830
  *
3342
3831
  *
3343
3832
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3368,7 +3857,7 @@ interface ModifyUserByTemplate {
3368
3857
  * PasarGuardAPI
3369
3858
  * Unified GUI Censorship Resistant Solution
3370
3859
  *
3371
- * The version of the OpenAPI document: 1.8.2
3860
+ * The version of the OpenAPI document: 2.2.0
3372
3861
  *
3373
3862
  *
3374
3863
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3411,7 +3900,7 @@ interface NextPlanModel {
3411
3900
  * PasarGuardAPI
3412
3901
  * Unified GUI Censorship Resistant Solution
3413
3902
  *
3414
- * The version of the OpenAPI document: 1.8.2
3903
+ * The version of the OpenAPI document: 2.2.0
3415
3904
  *
3416
3905
  *
3417
3906
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3433,7 +3922,32 @@ type NodeConnectionType = typeof NodeConnectionType[keyof typeof NodeConnectionT
3433
3922
  * PasarGuardAPI
3434
3923
  * Unified GUI Censorship Resistant Solution
3435
3924
  *
3436
- * The version of the OpenAPI document: 1.8.2
3925
+ * The version of the OpenAPI document: 2.2.0
3926
+ *
3927
+ *
3928
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3929
+ * https://openapi-generator.tech
3930
+ * Do not edit the class manually.
3931
+ */
3932
+ /**
3933
+ *
3934
+ * @export
3935
+ * @interface NodeCoreUpdate
3936
+ */
3937
+ interface NodeCoreUpdate {
3938
+ /**
3939
+ *
3940
+ * @type {string}
3941
+ * @memberof NodeCoreUpdate
3942
+ */
3943
+ 'core_version'?: string;
3944
+ }
3945
+
3946
+ /**
3947
+ * PasarGuardAPI
3948
+ * Unified GUI Censorship Resistant Solution
3949
+ *
3950
+ * The version of the OpenAPI document: 2.2.0
3437
3951
  *
3438
3952
  *
3439
3953
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3464,7 +3978,13 @@ interface NodeCreate {
3464
3978
  * @type {number}
3465
3979
  * @memberof NodeCreate
3466
3980
  */
3467
- 'port'?: number;
3981
+ 'port'?: number;
3982
+ /**
3983
+ *
3984
+ * @type {number}
3985
+ * @memberof NodeCreate
3986
+ */
3987
+ 'api_port'?: number;
3468
3988
  /**
3469
3989
  *
3470
3990
  * @type {number}
@@ -3537,7 +4057,33 @@ interface NodeCreate {
3537
4057
  * PasarGuardAPI
3538
4058
  * Unified GUI Censorship Resistant Solution
3539
4059
  *
3540
- * The version of the OpenAPI document: 1.8.2
4060
+ * The version of the OpenAPI document: 2.2.0
4061
+ *
4062
+ *
4063
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4064
+ * https://openapi-generator.tech
4065
+ * Do not edit the class manually.
4066
+ */
4067
+
4068
+ /**
4069
+ *
4070
+ * @export
4071
+ * @interface NodeGeoFilesUpdate
4072
+ */
4073
+ interface NodeGeoFilesUpdate {
4074
+ /**
4075
+ *
4076
+ * @type {GeoFilseRegion}
4077
+ * @memberof NodeGeoFilesUpdate
4078
+ */
4079
+ 'region'?: GeoFilseRegion;
4080
+ }
4081
+
4082
+ /**
4083
+ * PasarGuardAPI
4084
+ * Unified GUI Censorship Resistant Solution
4085
+ *
4086
+ * The version of the OpenAPI document: 2.2.0
3541
4087
  *
3542
4088
  *
3543
4089
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3562,7 +4108,7 @@ type NodeStatus = typeof NodeStatus[keyof typeof NodeStatus];
3562
4108
  * PasarGuardAPI
3563
4109
  * Unified GUI Censorship Resistant Solution
3564
4110
  *
3565
- * The version of the OpenAPI document: 1.8.2
4111
+ * The version of the OpenAPI document: 2.2.0
3566
4112
  *
3567
4113
  *
3568
4114
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3594,6 +4140,12 @@ interface NodeModify {
3594
4140
  * @memberof NodeModify
3595
4141
  */
3596
4142
  'port'?: number | null;
4143
+ /**
4144
+ *
4145
+ * @type {number}
4146
+ * @memberof NodeModify
4147
+ */
4148
+ 'api_port'?: number;
3597
4149
  /**
3598
4150
  *
3599
4151
  * @type {number}
@@ -3672,7 +4224,7 @@ interface NodeModify {
3672
4224
  * PasarGuardAPI
3673
4225
  * Unified GUI Censorship Resistant Solution
3674
4226
  *
3675
- * The version of the OpenAPI document: 1.8.2
4227
+ * The version of the OpenAPI document: 2.2.0
3676
4228
  *
3677
4229
  *
3678
4230
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3733,7 +4285,7 @@ interface NodeNotificationEnable {
3733
4285
  * PasarGuardAPI
3734
4286
  * Unified GUI Censorship Resistant Solution
3735
4287
  *
3736
- * The version of the OpenAPI document: 1.8.2
4288
+ * The version of the OpenAPI document: 2.2.0
3737
4289
  *
3738
4290
  *
3739
4291
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3788,7 +4340,7 @@ interface NodeRealtimeStats {
3788
4340
  * PasarGuardAPI
3789
4341
  * Unified GUI Censorship Resistant Solution
3790
4342
  *
3791
- * The version of the OpenAPI document: 1.8.2
4343
+ * The version of the OpenAPI document: 2.2.0
3792
4344
  *
3793
4345
  *
3794
4346
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3820,6 +4372,12 @@ interface NodeResponse {
3820
4372
  * @memberof NodeResponse
3821
4373
  */
3822
4374
  'port'?: number;
4375
+ /**
4376
+ *
4377
+ * @type {number}
4378
+ * @memberof NodeResponse
4379
+ */
4380
+ 'api_port'?: number;
3823
4381
  /**
3824
4382
  *
3825
4383
  * @type {number}
@@ -3946,7 +4504,7 @@ interface NodeResponse {
3946
4504
  * PasarGuardAPI
3947
4505
  * Unified GUI Censorship Resistant Solution
3948
4506
  *
3949
- * The version of the OpenAPI document: 1.8.2
4507
+ * The version of the OpenAPI document: 2.2.0
3950
4508
  *
3951
4509
  *
3952
4510
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3971,7 +4529,45 @@ interface NodeSettings {
3971
4529
  * PasarGuardAPI
3972
4530
  * Unified GUI Censorship Resistant Solution
3973
4531
  *
3974
- * The version of the OpenAPI document: 1.8.2
4532
+ * The version of the OpenAPI document: 2.2.0
4533
+ *
4534
+ *
4535
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4536
+ * https://openapi-generator.tech
4537
+ * Do not edit the class manually.
4538
+ */
4539
+
4540
+ /**
4541
+ * Lightweight node model with only id and name for performance.
4542
+ * @export
4543
+ * @interface NodeSimple
4544
+ */
4545
+ interface NodeSimple {
4546
+ /**
4547
+ *
4548
+ * @type {number}
4549
+ * @memberof NodeSimple
4550
+ */
4551
+ 'id': number;
4552
+ /**
4553
+ *
4554
+ * @type {string}
4555
+ * @memberof NodeSimple
4556
+ */
4557
+ 'name': string;
4558
+ /**
4559
+ *
4560
+ * @type {NodeStatus}
4561
+ * @memberof NodeSimple
4562
+ */
4563
+ 'status': NodeStatus;
4564
+ }
4565
+
4566
+ /**
4567
+ * PasarGuardAPI
4568
+ * Unified GUI Censorship Resistant Solution
4569
+ *
4570
+ * The version of the OpenAPI document: 2.2.0
3975
4571
  *
3976
4572
  *
3977
4573
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4020,7 +4616,7 @@ interface NodeStats {
4020
4616
  * PasarGuardAPI
4021
4617
  * Unified GUI Censorship Resistant Solution
4022
4618
  *
4023
- * The version of the OpenAPI document: 1.8.2
4619
+ * The version of the OpenAPI document: 2.2.0
4024
4620
  *
4025
4621
  *
4026
4622
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4044,7 +4640,7 @@ type Period = typeof Period[keyof typeof Period];
4044
4640
  * PasarGuardAPI
4045
4641
  * Unified GUI Censorship Resistant Solution
4046
4642
  *
4047
- * The version of the OpenAPI document: 1.8.2
4643
+ * The version of the OpenAPI document: 2.2.0
4048
4644
  *
4049
4645
  *
4050
4646
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4088,7 +4684,7 @@ interface NodeStatsList {
4088
4684
  * PasarGuardAPI
4089
4685
  * Unified GUI Censorship Resistant Solution
4090
4686
  *
4091
- * The version of the OpenAPI document: 1.8.2
4687
+ * The version of the OpenAPI document: 2.2.0
4092
4688
  *
4093
4689
  *
4094
4690
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4125,7 +4721,7 @@ interface NodeUsageStat {
4125
4721
  * PasarGuardAPI
4126
4722
  * Unified GUI Censorship Resistant Solution
4127
4723
  *
4128
- * The version of the OpenAPI document: 1.8.2
4724
+ * The version of the OpenAPI document: 2.2.0
4129
4725
  *
4130
4726
  *
4131
4727
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4171,7 +4767,7 @@ interface NodeUsageStatsList {
4171
4767
  * PasarGuardAPI
4172
4768
  * Unified GUI Censorship Resistant Solution
4173
4769
  *
4174
- * The version of the OpenAPI document: 1.8.2
4770
+ * The version of the OpenAPI document: 2.2.0
4175
4771
  *
4176
4772
  *
4177
4773
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4203,23 +4799,55 @@ interface NodesResponse {
4203
4799
  * PasarGuardAPI
4204
4800
  * Unified GUI Censorship Resistant Solution
4205
4801
  *
4206
- * The version of the OpenAPI document: 1.8.2
4802
+ * The version of the OpenAPI document: 2.2.0
4207
4803
  *
4208
4804
  *
4209
4805
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4210
4806
  * https://openapi-generator.tech
4211
4807
  * Do not edit the class manually.
4212
4808
  */
4809
+
4810
+ /**
4811
+ * Response model for lightweight node list.
4812
+ * @export
4813
+ * @interface NodesSimpleResponse
4814
+ */
4815
+ interface NodesSimpleResponse {
4816
+ /**
4817
+ *
4818
+ * @type {Array<NodeSimple>}
4819
+ * @memberof NodesSimpleResponse
4820
+ */
4821
+ 'nodes': Array<NodeSimple>;
4822
+ /**
4823
+ *
4824
+ * @type {number}
4825
+ * @memberof NodesSimpleResponse
4826
+ */
4827
+ 'total': number;
4828
+ }
4829
+
4213
4830
  /**
4831
+ * PasarGuardAPI
4832
+ * Unified GUI Censorship Resistant Solution
4833
+ *
4834
+ * The version of the OpenAPI document: 2.2.0
4835
+ *
4214
4836
  *
4837
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4838
+ * https://openapi-generator.tech
4839
+ * Do not edit the class manually.
4840
+ */
4841
+ /**
4842
+ * User IP list - mapping of IP addresses to connection counts
4215
4843
  * @export
4216
- * @interface NodesValue
4844
+ * @interface UserIPList
4217
4845
  */
4218
- interface NodesValue {
4846
+ interface UserIPList {
4219
4847
  /**
4220
4848
  *
4221
4849
  * @type {{ [key: string]: number; }}
4222
- * @memberof NodesValue
4850
+ * @memberof UserIPList
4223
4851
  */
4224
4852
  'ips': {
4225
4853
  [key: string]: number;
@@ -4230,7 +4858,25 @@ interface NodesValue {
4230
4858
  * PasarGuardAPI
4231
4859
  * Unified GUI Censorship Resistant Solution
4232
4860
  *
4233
- * The version of the OpenAPI document: 1.8.2
4861
+ * The version of the OpenAPI document: 2.2.0
4862
+ *
4863
+ *
4864
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4865
+ * https://openapi-generator.tech
4866
+ * Do not edit the class manually.
4867
+ */
4868
+
4869
+ /**
4870
+ * @type NodesValue
4871
+ * @export
4872
+ */
4873
+ type NodesValue = UserIPList;
4874
+
4875
+ /**
4876
+ * PasarGuardAPI
4877
+ * Unified GUI Censorship Resistant Solution
4878
+ *
4879
+ * The version of the OpenAPI document: 2.2.0
4234
4880
  *
4235
4881
  *
4236
4882
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4267,7 +4913,7 @@ interface NotificationChannel {
4267
4913
  * PasarGuardAPI
4268
4914
  * Unified GUI Censorship Resistant Solution
4269
4915
  *
4270
- * The version of the OpenAPI document: 1.8.2
4916
+ * The version of the OpenAPI document: 2.2.0
4271
4917
  *
4272
4918
  *
4273
4919
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4329,7 +4975,7 @@ interface NotificationChannels {
4329
4975
  * PasarGuardAPI
4330
4976
  * Unified GUI Censorship Resistant Solution
4331
4977
  *
4332
- * The version of the OpenAPI document: 1.8.2
4978
+ * The version of the OpenAPI document: 2.2.0
4333
4979
  *
4334
4980
  *
4335
4981
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4403,7 +5049,7 @@ interface NotificationEnable {
4403
5049
  * PasarGuardAPI
4404
5050
  * Unified GUI Censorship Resistant Solution
4405
5051
  *
4406
- * The version of the OpenAPI document: 1.8.2
5052
+ * The version of the OpenAPI document: 2.2.0
4407
5053
  *
4408
5054
  *
4409
5055
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4477,7 +5123,7 @@ interface NotificationSettingsInput {
4477
5123
  * PasarGuardAPI
4478
5124
  * Unified GUI Censorship Resistant Solution
4479
5125
  *
4480
- * The version of the OpenAPI document: 1.8.2
5126
+ * The version of the OpenAPI document: 2.2.0
4481
5127
  *
4482
5128
  *
4483
5129
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4551,7 +5197,7 @@ interface NotificationSettingsOutput {
4551
5197
  * PasarGuardAPI
4552
5198
  * Unified GUI Censorship Resistant Solution
4553
5199
  *
4554
- * The version of the OpenAPI document: 1.8.2
5200
+ * The version of the OpenAPI document: 2.2.0
4555
5201
  *
4556
5202
  *
4557
5203
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4559,18 +5205,16 @@ interface NotificationSettingsOutput {
4559
5205
  * Do not edit the class manually.
4560
5206
  */
4561
5207
  /**
4562
- *
5208
+ * @type OnHoldTimeout
4563
5209
  * @export
4564
- * @interface OnHoldTimeout
4565
5210
  */
4566
- interface OnHoldTimeout {
4567
- }
5211
+ type OnHoldTimeout = number | string;
4568
5212
 
4569
5213
  /**
4570
5214
  * PasarGuardAPI
4571
5215
  * Unified GUI Censorship Resistant Solution
4572
5216
  *
4573
- * The version of the OpenAPI document: 1.8.2
5217
+ * The version of the OpenAPI document: 2.2.0
4574
5218
  *
4575
5219
  *
4576
5220
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4602,7 +5246,7 @@ interface ShadowsocksSettings {
4602
5246
  * PasarGuardAPI
4603
5247
  * Unified GUI Censorship Resistant Solution
4604
5248
  *
4605
- * The version of the OpenAPI document: 1.8.2
5249
+ * The version of the OpenAPI document: 2.2.0
4606
5250
  *
4607
5251
  *
4608
5252
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4627,7 +5271,7 @@ interface TrojanSettings {
4627
5271
  * PasarGuardAPI
4628
5272
  * Unified GUI Censorship Resistant Solution
4629
5273
  *
4630
- * The version of the OpenAPI document: 1.8.2
5274
+ * The version of the OpenAPI document: 2.2.0
4631
5275
  *
4632
5276
  *
4633
5277
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4652,7 +5296,7 @@ interface VMessSettings {
4652
5296
  * PasarGuardAPI
4653
5297
  * Unified GUI Censorship Resistant Solution
4654
5298
  *
4655
- * The version of the OpenAPI document: 1.8.2
5299
+ * The version of the OpenAPI document: 2.2.0
4656
5300
  *
4657
5301
  *
4658
5302
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4684,7 +5328,7 @@ interface VlessSettings {
4684
5328
  * PasarGuardAPI
4685
5329
  * Unified GUI Censorship Resistant Solution
4686
5330
  *
4687
- * The version of the OpenAPI document: 1.8.2
5331
+ * The version of the OpenAPI document: 2.2.0
4688
5332
  *
4689
5333
  *
4690
5334
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4728,7 +5372,7 @@ interface ProxyTableInput {
4728
5372
  * PasarGuardAPI
4729
5373
  * Unified GUI Censorship Resistant Solution
4730
5374
  *
4731
- * The version of the OpenAPI document: 1.8.2
5375
+ * The version of the OpenAPI document: 2.2.0
4732
5376
  *
4733
5377
  *
4734
5378
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4772,7 +5416,7 @@ interface ProxyTableOutput {
4772
5416
  * PasarGuardAPI
4773
5417
  * Unified GUI Censorship Resistant Solution
4774
5418
  *
4775
- * The version of the OpenAPI document: 1.8.2
5419
+ * The version of the OpenAPI document: 2.2.0
4776
5420
  *
4777
5421
  *
4778
5422
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4803,62 +5447,25 @@ interface RemoveUsersResponse {
4803
5447
  * PasarGuardAPI
4804
5448
  * Unified GUI Censorship Resistant Solution
4805
5449
  *
4806
- * The version of the OpenAPI document: 1.8.2
5450
+ * The version of the OpenAPI document: 2.2.0
4807
5451
  *
4808
5452
  *
4809
5453
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4810
5454
  * https://openapi-generator.tech
4811
5455
  * Do not edit the class manually.
4812
5456
  */
5457
+
4813
5458
  /**
4814
- *
5459
+ * @type ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4815
5460
  * @export
4816
- * @interface ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4817
5461
  */
4818
- interface ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue {
4819
- /**
4820
- *
4821
- * @type {number}
4822
- * @memberof ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4823
- */
4824
- 'mem_total': number;
4825
- /**
4826
- *
4827
- * @type {number}
4828
- * @memberof ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4829
- */
4830
- 'mem_used': number;
4831
- /**
4832
- *
4833
- * @type {number}
4834
- * @memberof ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4835
- */
4836
- 'cpu_cores': number;
4837
- /**
4838
- *
4839
- * @type {number}
4840
- * @memberof ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4841
- */
4842
- 'cpu_usage': number;
4843
- /**
4844
- *
4845
- * @type {number}
4846
- * @memberof ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4847
- */
4848
- 'incoming_bandwidth_speed': number;
4849
- /**
4850
- *
4851
- * @type {number}
4852
- * @memberof ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue
4853
- */
4854
- 'outgoing_bandwidth_speed': number;
4855
- }
5462
+ type ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue = NodeRealtimeStats;
4856
5463
 
4857
5464
  /**
4858
5465
  * PasarGuardAPI
4859
5466
  * Unified GUI Censorship Resistant Solution
4860
5467
  *
4861
- * The version of the OpenAPI document: 1.8.2
5468
+ * The version of the OpenAPI document: 2.2.0
4862
5469
  *
4863
5470
  *
4864
5471
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4880,7 +5487,7 @@ type RunMethod = typeof RunMethod[keyof typeof RunMethod];
4880
5487
  * PasarGuardAPI
4881
5488
  * Unified GUI Censorship Resistant Solution
4882
5489
  *
4883
- * The version of the OpenAPI document: 1.8.2
5490
+ * The version of the OpenAPI document: 2.2.0
4884
5491
  *
4885
5492
  *
4886
5493
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4941,7 +5548,7 @@ interface SubFormatEnable {
4941
5548
  * PasarGuardAPI
4942
5549
  * Unified GUI Censorship Resistant Solution
4943
5550
  *
4944
- * The version of the OpenAPI document: 1.8.2
5551
+ * The version of the OpenAPI document: 2.2.0
4945
5552
  *
4946
5553
  *
4947
5554
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4973,7 +5580,7 @@ interface SubRule {
4973
5580
  * PasarGuardAPI
4974
5581
  * Unified GUI Censorship Resistant Solution
4975
5582
  *
4976
- * The version of the OpenAPI document: 1.8.2
5583
+ * The version of the OpenAPI document: 2.2.0
4977
5584
  *
4978
5585
  *
4979
5586
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5041,13 +5648,31 @@ interface SubscriptionInput {
5041
5648
  * @memberof SubscriptionInput
5042
5649
  */
5043
5650
  'applications'?: Array<ApplicationInput>;
5651
+ /**
5652
+ *
5653
+ * @type {boolean}
5654
+ * @memberof SubscriptionInput
5655
+ */
5656
+ 'allow_browser_config'?: boolean;
5657
+ /**
5658
+ *
5659
+ * @type {boolean}
5660
+ * @memberof SubscriptionInput
5661
+ */
5662
+ 'disable_sub_template'?: boolean;
5663
+ /**
5664
+ *
5665
+ * @type {boolean}
5666
+ * @memberof SubscriptionInput
5667
+ */
5668
+ 'randomize_order'?: boolean;
5044
5669
  }
5045
5670
 
5046
5671
  /**
5047
5672
  * PasarGuardAPI
5048
5673
  * Unified GUI Censorship Resistant Solution
5049
5674
  *
5050
- * The version of the OpenAPI document: 1.8.2
5675
+ * The version of the OpenAPI document: 2.2.0
5051
5676
  *
5052
5677
  *
5053
5678
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5121,7 +5746,7 @@ interface Telegram {
5121
5746
  * PasarGuardAPI
5122
5747
  * Unified GUI Censorship Resistant Solution
5123
5748
  *
5124
- * The version of the OpenAPI document: 1.8.2
5749
+ * The version of the OpenAPI document: 2.2.0
5125
5750
  *
5126
5751
  *
5127
5752
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5152,7 +5777,7 @@ interface WebhookInfo {
5152
5777
  * PasarGuardAPI
5153
5778
  * Unified GUI Censorship Resistant Solution
5154
5779
  *
5155
- * The version of the OpenAPI document: 1.8.2
5780
+ * The version of the OpenAPI document: 2.2.0
5156
5781
  *
5157
5782
  *
5158
5783
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5214,7 +5839,7 @@ interface Webhook {
5214
5839
  * PasarGuardAPI
5215
5840
  * Unified GUI Censorship Resistant Solution
5216
5841
  *
5217
- * The version of the OpenAPI document: 1.8.2
5842
+ * The version of the OpenAPI document: 2.2.0
5218
5843
  *
5219
5844
  *
5220
5845
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5276,7 +5901,7 @@ interface SettingsSchemaInput {
5276
5901
  * PasarGuardAPI
5277
5902
  * Unified GUI Censorship Resistant Solution
5278
5903
  *
5279
- * The version of the OpenAPI document: 1.8.2
5904
+ * The version of the OpenAPI document: 2.2.0
5280
5905
  *
5281
5906
  *
5282
5907
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5344,13 +5969,31 @@ interface SubscriptionOutput {
5344
5969
  * @memberof SubscriptionOutput
5345
5970
  */
5346
5971
  'applications'?: Array<ApplicationOutput>;
5972
+ /**
5973
+ *
5974
+ * @type {boolean}
5975
+ * @memberof SubscriptionOutput
5976
+ */
5977
+ 'allow_browser_config'?: boolean;
5978
+ /**
5979
+ *
5980
+ * @type {boolean}
5981
+ * @memberof SubscriptionOutput
5982
+ */
5983
+ 'disable_sub_template'?: boolean;
5984
+ /**
5985
+ *
5986
+ * @type {boolean}
5987
+ * @memberof SubscriptionOutput
5988
+ */
5989
+ 'randomize_order'?: boolean;
5347
5990
  }
5348
5991
 
5349
5992
  /**
5350
5993
  * PasarGuardAPI
5351
5994
  * Unified GUI Censorship Resistant Solution
5352
5995
  *
5353
- * The version of the OpenAPI document: 1.8.2
5996
+ * The version of the OpenAPI document: 2.2.0
5354
5997
  *
5355
5998
  *
5356
5999
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5412,7 +6055,7 @@ interface SettingsSchemaOutput {
5412
6055
  * PasarGuardAPI
5413
6056
  * Unified GUI Censorship Resistant Solution
5414
6057
  *
5415
- * The version of the OpenAPI document: 1.8.2
6058
+ * The version of the OpenAPI document: 2.2.0
5416
6059
  *
5417
6060
  *
5418
6061
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5528,7 +6171,7 @@ interface SubscriptionUserResponse {
5528
6171
  * PasarGuardAPI
5529
6172
  * Unified GUI Censorship Resistant Solution
5530
6173
  *
5531
- * The version of the OpenAPI document: 1.8.2
6174
+ * The version of the OpenAPI document: 2.2.0
5532
6175
  *
5533
6176
  *
5534
6177
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5559,6 +6202,18 @@ interface SystemStats {
5559
6202
  * @memberof SystemStats
5560
6203
  */
5561
6204
  'mem_used'?: number | null;
6205
+ /**
6206
+ *
6207
+ * @type {number}
6208
+ * @memberof SystemStats
6209
+ */
6210
+ 'disk_total'?: number | null;
6211
+ /**
6212
+ *
6213
+ * @type {number}
6214
+ * @memberof SystemStats
6215
+ */
6216
+ 'disk_used'?: number | null;
5562
6217
  /**
5563
6218
  *
5564
6219
  * @type {number}
@@ -5631,7 +6286,7 @@ interface SystemStats {
5631
6286
  * PasarGuardAPI
5632
6287
  * Unified GUI Censorship Resistant Solution
5633
6288
  *
5634
- * The version of the OpenAPI document: 1.8.2
6289
+ * The version of the OpenAPI document: 2.2.0
5635
6290
  *
5636
6291
  *
5637
6292
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5662,7 +6317,7 @@ interface Token {
5662
6317
  * PasarGuardAPI
5663
6318
  * Unified GUI Censorship Resistant Solution
5664
6319
  *
5665
- * The version of the OpenAPI document: 1.8.2
6320
+ * The version of the OpenAPI document: 2.2.0
5666
6321
  *
5667
6322
  *
5668
6323
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5684,7 +6339,7 @@ type UsageTable = typeof UsageTable[keyof typeof UsageTable];
5684
6339
  * PasarGuardAPI
5685
6340
  * Unified GUI Censorship Resistant Solution
5686
6341
  *
5687
- * The version of the OpenAPI document: 1.8.2
6342
+ * The version of the OpenAPI document: 2.2.0
5688
6343
  *
5689
6344
  *
5690
6345
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5706,7 +6361,7 @@ type UserStatusCreate = typeof UserStatusCreate[keyof typeof UserStatusCreate];
5706
6361
  * PasarGuardAPI
5707
6362
  * Unified GUI Censorship Resistant Solution
5708
6363
  *
5709
- * The version of the OpenAPI document: 1.8.2
6364
+ * The version of the OpenAPI document: 2.2.0
5710
6365
  *
5711
6366
  *
5712
6367
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5798,34 +6453,7 @@ interface UserCreate {
5798
6453
  * PasarGuardAPI
5799
6454
  * Unified GUI Censorship Resistant Solution
5800
6455
  *
5801
- * The version of the OpenAPI document: 1.8.2
5802
- *
5803
- *
5804
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5805
- * https://openapi-generator.tech
5806
- * Do not edit the class manually.
5807
- */
5808
- /**
5809
- * User IP list - mapping of IP addresses to connection counts
5810
- * @export
5811
- * @interface UserIPList
5812
- */
5813
- interface UserIPList {
5814
- /**
5815
- *
5816
- * @type {{ [key: string]: number; }}
5817
- * @memberof UserIPList
5818
- */
5819
- 'ips': {
5820
- [key: string]: number;
5821
- };
5822
- }
5823
-
5824
- /**
5825
- * PasarGuardAPI
5826
- * Unified GUI Censorship Resistant Solution
5827
- *
5828
- * The version of the OpenAPI document: 1.8.2
6456
+ * The version of the OpenAPI document: 2.2.0
5829
6457
  *
5830
6458
  *
5831
6459
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5853,7 +6481,7 @@ interface UserIPListAll {
5853
6481
  * PasarGuardAPI
5854
6482
  * Unified GUI Censorship Resistant Solution
5855
6483
  *
5856
- * The version of the OpenAPI document: 1.8.2
6484
+ * The version of the OpenAPI document: 2.2.0
5857
6485
  *
5858
6486
  *
5859
6487
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5876,7 +6504,7 @@ type UserStatusModify = typeof UserStatusModify[keyof typeof UserStatusModify];
5876
6504
  * PasarGuardAPI
5877
6505
  * Unified GUI Censorship Resistant Solution
5878
6506
  *
5879
- * The version of the OpenAPI document: 1.8.2
6507
+ * The version of the OpenAPI document: 2.2.0
5880
6508
  *
5881
6509
  *
5882
6510
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5962,7 +6590,7 @@ interface UserModify {
5962
6590
  * PasarGuardAPI
5963
6591
  * Unified GUI Censorship Resistant Solution
5964
6592
  *
5965
- * The version of the OpenAPI document: 1.8.2
6593
+ * The version of the OpenAPI document: 2.2.0
5966
6594
  *
5967
6595
  *
5968
6596
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6102,7 +6730,38 @@ interface UserResponse {
6102
6730
  * PasarGuardAPI
6103
6731
  * Unified GUI Censorship Resistant Solution
6104
6732
  *
6105
- * The version of the OpenAPI document: 1.8.2
6733
+ * The version of the OpenAPI document: 2.2.0
6734
+ *
6735
+ *
6736
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6737
+ * https://openapi-generator.tech
6738
+ * Do not edit the class manually.
6739
+ */
6740
+ /**
6741
+ * Lightweight user model with only id and username for performance.
6742
+ * @export
6743
+ * @interface UserSimple
6744
+ */
6745
+ interface UserSimple {
6746
+ /**
6747
+ *
6748
+ * @type {number}
6749
+ * @memberof UserSimple
6750
+ */
6751
+ 'id': number;
6752
+ /**
6753
+ *
6754
+ * @type {string}
6755
+ * @memberof UserSimple
6756
+ */
6757
+ 'username': string;
6758
+ }
6759
+
6760
+ /**
6761
+ * PasarGuardAPI
6762
+ * Unified GUI Censorship Resistant Solution
6763
+ *
6764
+ * The version of the OpenAPI document: 2.2.0
6106
6765
  *
6107
6766
  *
6108
6767
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6139,7 +6798,7 @@ interface UserSubscriptionUpdateChartSegment {
6139
6798
  * PasarGuardAPI
6140
6799
  * Unified GUI Censorship Resistant Solution
6141
6800
  *
6142
- * The version of the OpenAPI document: 1.8.2
6801
+ * The version of the OpenAPI document: 2.2.0
6143
6802
  *
6144
6803
  *
6145
6804
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6171,7 +6830,7 @@ interface UserSubscriptionUpdateChart {
6171
6830
  * PasarGuardAPI
6172
6831
  * Unified GUI Censorship Resistant Solution
6173
6832
  *
6174
- * The version of the OpenAPI document: 1.8.2
6833
+ * The version of the OpenAPI document: 2.2.0
6175
6834
  *
6176
6835
  *
6177
6836
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6202,7 +6861,7 @@ interface UserSubscriptionUpdateSchema {
6202
6861
  * PasarGuardAPI
6203
6862
  * Unified GUI Censorship Resistant Solution
6204
6863
  *
6205
- * The version of the OpenAPI document: 1.8.2
6864
+ * The version of the OpenAPI document: 2.2.0
6206
6865
  *
6207
6866
  *
6208
6867
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6234,7 +6893,7 @@ interface UserSubscriptionUpdateList {
6234
6893
  * PasarGuardAPI
6235
6894
  * Unified GUI Censorship Resistant Solution
6236
6895
  *
6237
- * The version of the OpenAPI document: 1.8.2
6896
+ * The version of the OpenAPI document: 2.2.0
6238
6897
  *
6239
6898
  *
6240
6899
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6326,7 +6985,7 @@ interface UserTemplateCreate {
6326
6985
  * PasarGuardAPI
6327
6986
  * Unified GUI Censorship Resistant Solution
6328
6987
  *
6329
- * The version of the OpenAPI document: 1.8.2
6988
+ * The version of the OpenAPI document: 2.2.0
6330
6989
  *
6331
6990
  *
6332
6991
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6418,7 +7077,7 @@ interface UserTemplateModify {
6418
7077
  * PasarGuardAPI
6419
7078
  * Unified GUI Censorship Resistant Solution
6420
7079
  *
6421
- * The version of the OpenAPI document: 1.8.2
7080
+ * The version of the OpenAPI document: 2.2.0
6422
7081
  *
6423
7082
  *
6424
7083
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6489,34 +7148,97 @@ interface UserTemplateResponse {
6489
7148
  /**
6490
7149
  *
6491
7150
  * @type {number}
6492
- * @memberof UserTemplateResponse
7151
+ * @memberof UserTemplateResponse
7152
+ */
7153
+ 'on_hold_timeout'?: number | null;
7154
+ /**
7155
+ *
7156
+ * @type {DataLimitResetStrategy}
7157
+ * @memberof UserTemplateResponse
7158
+ */
7159
+ 'data_limit_reset_strategy'?: DataLimitResetStrategy;
7160
+ /**
7161
+ *
7162
+ * @type {boolean}
7163
+ * @memberof UserTemplateResponse
7164
+ */
7165
+ 'is_disabled'?: boolean | null;
7166
+ /**
7167
+ *
7168
+ * @type {number}
7169
+ * @memberof UserTemplateResponse
7170
+ */
7171
+ 'id': number;
7172
+ }
7173
+
7174
+ /**
7175
+ * PasarGuardAPI
7176
+ * Unified GUI Censorship Resistant Solution
7177
+ *
7178
+ * The version of the OpenAPI document: 2.2.0
7179
+ *
7180
+ *
7181
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7182
+ * https://openapi-generator.tech
7183
+ * Do not edit the class manually.
7184
+ */
7185
+ /**
7186
+ * Lightweight user template model with only id and name for performance.
7187
+ * @export
7188
+ * @interface UserTemplateSimple
7189
+ */
7190
+ interface UserTemplateSimple {
7191
+ /**
7192
+ *
7193
+ * @type {number}
7194
+ * @memberof UserTemplateSimple
6493
7195
  */
6494
- 'on_hold_timeout'?: number | null;
7196
+ 'id': number;
6495
7197
  /**
6496
7198
  *
6497
- * @type {DataLimitResetStrategy}
6498
- * @memberof UserTemplateResponse
7199
+ * @type {string}
7200
+ * @memberof UserTemplateSimple
6499
7201
  */
6500
- 'data_limit_reset_strategy'?: DataLimitResetStrategy;
7202
+ 'name'?: string | null;
7203
+ }
7204
+
7205
+ /**
7206
+ * PasarGuardAPI
7207
+ * Unified GUI Censorship Resistant Solution
7208
+ *
7209
+ * The version of the OpenAPI document: 2.2.0
7210
+ *
7211
+ *
7212
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7213
+ * https://openapi-generator.tech
7214
+ * Do not edit the class manually.
7215
+ */
7216
+
7217
+ /**
7218
+ * Response model for lightweight user template list.
7219
+ * @export
7220
+ * @interface UserTemplatesSimpleResponse
7221
+ */
7222
+ interface UserTemplatesSimpleResponse {
6501
7223
  /**
6502
7224
  *
6503
- * @type {boolean}
6504
- * @memberof UserTemplateResponse
7225
+ * @type {Array<UserTemplateSimple>}
7226
+ * @memberof UserTemplatesSimpleResponse
6505
7227
  */
6506
- 'is_disabled'?: boolean | null;
7228
+ 'templates': Array<UserTemplateSimple>;
6507
7229
  /**
6508
7230
  *
6509
7231
  * @type {number}
6510
- * @memberof UserTemplateResponse
7232
+ * @memberof UserTemplatesSimpleResponse
6511
7233
  */
6512
- 'id': number;
7234
+ 'total': number;
6513
7235
  }
6514
7236
 
6515
7237
  /**
6516
7238
  * PasarGuardAPI
6517
7239
  * Unified GUI Censorship Resistant Solution
6518
7240
  *
6519
- * The version of the OpenAPI document: 1.8.2
7241
+ * The version of the OpenAPI document: 2.2.0
6520
7242
  *
6521
7243
  *
6522
7244
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6547,7 +7269,7 @@ interface UserUsageStat {
6547
7269
  * PasarGuardAPI
6548
7270
  * Unified GUI Censorship Resistant Solution
6549
7271
  *
6550
- * The version of the OpenAPI document: 1.8.2
7272
+ * The version of the OpenAPI document: 2.2.0
6551
7273
  *
6552
7274
  *
6553
7275
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6593,7 +7315,7 @@ interface UserUsageStatsList {
6593
7315
  * PasarGuardAPI
6594
7316
  * Unified GUI Censorship Resistant Solution
6595
7317
  *
6596
- * The version of the OpenAPI document: 1.8.2
7318
+ * The version of the OpenAPI document: 2.2.0
6597
7319
  *
6598
7320
  *
6599
7321
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6625,7 +7347,108 @@ interface UsersResponse {
6625
7347
  * PasarGuardAPI
6626
7348
  * Unified GUI Censorship Resistant Solution
6627
7349
  *
6628
- * The version of the OpenAPI document: 1.8.2
7350
+ * The version of the OpenAPI document: 2.2.0
7351
+ *
7352
+ *
7353
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7354
+ * https://openapi-generator.tech
7355
+ * Do not edit the class manually.
7356
+ */
7357
+
7358
+ /**
7359
+ * Response model for lightweight user list.
7360
+ * @export
7361
+ * @interface UsersSimpleResponse
7362
+ */
7363
+ interface UsersSimpleResponse {
7364
+ /**
7365
+ *
7366
+ * @type {Array<UserSimple>}
7367
+ * @memberof UsersSimpleResponse
7368
+ */
7369
+ 'users': Array<UserSimple>;
7370
+ /**
7371
+ *
7372
+ * @type {number}
7373
+ * @memberof UsersSimpleResponse
7374
+ */
7375
+ 'total': number;
7376
+ }
7377
+
7378
+ /**
7379
+ * PasarGuardAPI
7380
+ * Unified GUI Censorship Resistant Solution
7381
+ *
7382
+ * The version of the OpenAPI document: 2.2.0
7383
+ *
7384
+ *
7385
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7386
+ * https://openapi-generator.tech
7387
+ * Do not edit the class manually.
7388
+ */
7389
+ /**
7390
+ *
7391
+ * @export
7392
+ * @interface WorkerHealth
7393
+ */
7394
+ interface WorkerHealth {
7395
+ /**
7396
+ *
7397
+ * @type {string}
7398
+ * @memberof WorkerHealth
7399
+ */
7400
+ 'status': string;
7401
+ /**
7402
+ *
7403
+ * @type {number}
7404
+ * @memberof WorkerHealth
7405
+ */
7406
+ 'response_time_ms'?: number | null;
7407
+ /**
7408
+ *
7409
+ * @type {string}
7410
+ * @memberof WorkerHealth
7411
+ */
7412
+ 'error'?: string | null;
7413
+ }
7414
+
7415
+ /**
7416
+ * PasarGuardAPI
7417
+ * Unified GUI Censorship Resistant Solution
7418
+ *
7419
+ * The version of the OpenAPI document: 2.2.0
7420
+ *
7421
+ *
7422
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7423
+ * https://openapi-generator.tech
7424
+ * Do not edit the class manually.
7425
+ */
7426
+
7427
+ /**
7428
+ *
7429
+ * @export
7430
+ * @interface WorkersHealth
7431
+ */
7432
+ interface WorkersHealth {
7433
+ /**
7434
+ *
7435
+ * @type {WorkerHealth}
7436
+ * @memberof WorkersHealth
7437
+ */
7438
+ 'scheduler': WorkerHealth;
7439
+ /**
7440
+ *
7441
+ * @type {WorkerHealth}
7442
+ * @memberof WorkersHealth
7443
+ */
7444
+ 'node': WorkerHealth;
7445
+ }
7446
+
7447
+ /**
7448
+ * PasarGuardAPI
7449
+ * Unified GUI Censorship Resistant Solution
7450
+ *
7451
+ * The version of the OpenAPI document: 2.2.0
6629
7452
  *
6630
7453
  *
6631
7454
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6683,6 +7506,19 @@ declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => {
6683
7506
  * @throws {RequiredError}
6684
7507
  */
6685
7508
  disableAllActiveUsers: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7509
+ /**
7510
+ * Get admin usage aggregated from user traffic.
7511
+ * @summary Get Admin Usage
7512
+ * @param {string} username
7513
+ * @param {Period} period
7514
+ * @param {number | null} [nodeId]
7515
+ * @param {boolean} [groupByNode]
7516
+ * @param {string | null} [start]
7517
+ * @param {string | null} [end]
7518
+ * @param {*} [options] Override http request option.
7519
+ * @throws {RequiredError}
7520
+ */
7521
+ getAdminUsage: (username: string, period: Period, nodeId?: number | null, groupByNode?: boolean, start?: string | null, end?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6686
7522
  /**
6687
7523
  * Fetch a list of admins with optional filters for pagination and username.
6688
7524
  * @summary Get Admins
@@ -6694,6 +7530,18 @@ declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => {
6694
7530
  * @throws {RequiredError}
6695
7531
  */
6696
7532
  getAdmins: (username?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7533
+ /**
7534
+ * Returns only id and username for admins. Optimized for dropdowns and autocomplete.
7535
+ * @summary Get lightweight admin list
7536
+ * @param {string | null} [search]
7537
+ * @param {number | null} [offset]
7538
+ * @param {number | null} [limit]
7539
+ * @param {string | null} [sort]
7540
+ * @param {boolean} [all]
7541
+ * @param {*} [options] Override http request option.
7542
+ * @throws {RequiredError}
7543
+ */
7544
+ getAdminsSimple: (search?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6697
7545
  /**
6698
7546
  * Retrieve the current authenticated admin.
6699
7547
  * @summary Get Current Admin
@@ -6785,6 +7633,19 @@ declare const AdminApiFp: (configuration?: Configuration) => {
6785
7633
  * @throws {RequiredError}
6786
7634
  */
6787
7635
  disableAllActiveUsers(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
7636
+ /**
7637
+ * Get admin usage aggregated from user traffic.
7638
+ * @summary Get Admin Usage
7639
+ * @param {string} username
7640
+ * @param {Period} period
7641
+ * @param {number | null} [nodeId]
7642
+ * @param {boolean} [groupByNode]
7643
+ * @param {string | null} [start]
7644
+ * @param {string | null} [end]
7645
+ * @param {*} [options] Override http request option.
7646
+ * @throws {RequiredError}
7647
+ */
7648
+ getAdminUsage(username: string, period: Period, nodeId?: number | null, groupByNode?: boolean, start?: string | null, end?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserUsageStatsList>>;
6788
7649
  /**
6789
7650
  * Fetch a list of admins with optional filters for pagination and username.
6790
7651
  * @summary Get Admins
@@ -6796,6 +7657,18 @@ declare const AdminApiFp: (configuration?: Configuration) => {
6796
7657
  * @throws {RequiredError}
6797
7658
  */
6798
7659
  getAdmins(username?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminsResponse>>;
7660
+ /**
7661
+ * Returns only id and username for admins. Optimized for dropdowns and autocomplete.
7662
+ * @summary Get lightweight admin list
7663
+ * @param {string | null} [search]
7664
+ * @param {number | null} [offset]
7665
+ * @param {number | null} [limit]
7666
+ * @param {string | null} [sort]
7667
+ * @param {boolean} [all]
7668
+ * @param {*} [options] Override http request option.
7669
+ * @throws {RequiredError}
7670
+ */
7671
+ getAdminsSimple(search?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminsSimpleResponse>>;
6799
7672
  /**
6800
7673
  * Retrieve the current authenticated admin.
6801
7674
  * @summary Get Current Admin
@@ -6887,6 +7760,19 @@ declare const AdminApiFactory: (configuration?: Configuration, basePath?: string
6887
7760
  * @throws {RequiredError}
6888
7761
  */
6889
7762
  disableAllActiveUsers(username: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
7763
+ /**
7764
+ * Get admin usage aggregated from user traffic.
7765
+ * @summary Get Admin Usage
7766
+ * @param {string} username
7767
+ * @param {Period} period
7768
+ * @param {number | null} [nodeId]
7769
+ * @param {boolean} [groupByNode]
7770
+ * @param {string | null} [start]
7771
+ * @param {string | null} [end]
7772
+ * @param {*} [options] Override http request option.
7773
+ * @throws {RequiredError}
7774
+ */
7775
+ getAdminUsage(username: string, period: Period, nodeId?: number | null, groupByNode?: boolean, start?: string | null, end?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UserUsageStatsList>;
6890
7776
  /**
6891
7777
  * Fetch a list of admins with optional filters for pagination and username.
6892
7778
  * @summary Get Admins
@@ -6898,6 +7784,18 @@ declare const AdminApiFactory: (configuration?: Configuration, basePath?: string
6898
7784
  * @throws {RequiredError}
6899
7785
  */
6900
7786
  getAdmins(username?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AdminsResponse>;
7787
+ /**
7788
+ * Returns only id and username for admins. Optimized for dropdowns and autocomplete.
7789
+ * @summary Get lightweight admin list
7790
+ * @param {string | null} [search]
7791
+ * @param {number | null} [offset]
7792
+ * @param {number | null} [limit]
7793
+ * @param {string | null} [sort]
7794
+ * @param {boolean} [all]
7795
+ * @param {*} [options] Override http request option.
7796
+ * @throws {RequiredError}
7797
+ */
7798
+ getAdminsSimple(search?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<AdminsSimpleResponse>;
6901
7799
  /**
6902
7800
  * Retrieve the current authenticated admin.
6903
7801
  * @summary Get Current Admin
@@ -6996,6 +7894,20 @@ declare class AdminApi extends BaseAPI {
6996
7894
  * @memberof AdminApi
6997
7895
  */
6998
7896
  disableAllActiveUsers(username: string, options?: RawAxiosRequestConfig): Promise<any>;
7897
+ /**
7898
+ * Get admin usage aggregated from user traffic.
7899
+ * @summary Get Admin Usage
7900
+ * @param {string} username
7901
+ * @param {Period} period
7902
+ * @param {number | null} [nodeId]
7903
+ * @param {boolean} [groupByNode]
7904
+ * @param {string | null} [start]
7905
+ * @param {string | null} [end]
7906
+ * @param {*} [options] Override http request option.
7907
+ * @throws {RequiredError}
7908
+ * @memberof AdminApi
7909
+ */
7910
+ getAdminUsage(username: string, period: Period, nodeId?: number | null, groupByNode?: boolean, start?: string | null, end?: string | null, options?: RawAxiosRequestConfig): Promise<UserUsageStatsList>;
6999
7911
  /**
7000
7912
  * Fetch a list of admins with optional filters for pagination and username.
7001
7913
  * @summary Get Admins
@@ -7008,6 +7920,19 @@ declare class AdminApi extends BaseAPI {
7008
7920
  * @memberof AdminApi
7009
7921
  */
7010
7922
  getAdmins(username?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, options?: RawAxiosRequestConfig): Promise<AdminsResponse>;
7923
+ /**
7924
+ * Returns only id and username for admins. Optimized for dropdowns and autocomplete.
7925
+ * @summary Get lightweight admin list
7926
+ * @param {string | null} [search]
7927
+ * @param {number | null} [offset]
7928
+ * @param {number | null} [limit]
7929
+ * @param {string | null} [sort]
7930
+ * @param {boolean} [all]
7931
+ * @param {*} [options] Override http request option.
7932
+ * @throws {RequiredError}
7933
+ * @memberof AdminApi
7934
+ */
7935
+ getAdminsSimple(search?: string | null, offset?: number | null, limit?: number | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<AdminsSimpleResponse>;
7011
7936
  /**
7012
7937
  * Retrieve the current authenticated admin.
7013
7938
  * @summary Get Current Admin
@@ -7059,7 +7984,7 @@ declare class AdminApi extends BaseAPI {
7059
7984
  * PasarGuardAPI
7060
7985
  * Unified GUI Censorship Resistant Solution
7061
7986
  *
7062
- * The version of the OpenAPI document: 1.8.2
7987
+ * The version of the OpenAPI document: 2.2.0
7063
7988
  *
7064
7989
  *
7065
7990
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7106,6 +8031,18 @@ declare const CoreApiAxiosParamCreator: (configuration?: Configuration) => {
7106
8031
  * @throws {RequiredError}
7107
8032
  */
7108
8033
  getCoreConfig: (coreId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8034
+ /**
8035
+ * Returns only id and name for cores. Optimized for dropdowns and autocomplete.
8036
+ * @summary Get lightweight core list
8037
+ * @param {number | null} [offset]
8038
+ * @param {number | null} [limit]
8039
+ * @param {string | null} [search]
8040
+ * @param {string | null} [sort]
8041
+ * @param {boolean} [all]
8042
+ * @param {*} [options] Override http request option.
8043
+ * @throws {RequiredError}
8044
+ */
8045
+ getCoresSimple: (offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7109
8046
  /**
7110
8047
  * Update an existing core configuration.
7111
8048
  * @summary Modify Core Config
@@ -7164,6 +8101,18 @@ declare const CoreApiFp: (configuration?: Configuration) => {
7164
8101
  * @throws {RequiredError}
7165
8102
  */
7166
8103
  getCoreConfig(coreId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CoreResponse>>;
8104
+ /**
8105
+ * Returns only id and name for cores. Optimized for dropdowns and autocomplete.
8106
+ * @summary Get lightweight core list
8107
+ * @param {number | null} [offset]
8108
+ * @param {number | null} [limit]
8109
+ * @param {string | null} [search]
8110
+ * @param {string | null} [sort]
8111
+ * @param {boolean} [all]
8112
+ * @param {*} [options] Override http request option.
8113
+ * @throws {RequiredError}
8114
+ */
8115
+ getCoresSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CoresSimpleResponse>>;
7167
8116
  /**
7168
8117
  * Update an existing core configuration.
7169
8118
  * @summary Modify Core Config
@@ -7222,6 +8171,18 @@ declare const CoreApiFactory: (configuration?: Configuration, basePath?: string,
7222
8171
  * @throws {RequiredError}
7223
8172
  */
7224
8173
  getCoreConfig(coreId: number, options?: RawAxiosRequestConfig): AxiosPromise<CoreResponse>;
8174
+ /**
8175
+ * Returns only id and name for cores. Optimized for dropdowns and autocomplete.
8176
+ * @summary Get lightweight core list
8177
+ * @param {number | null} [offset]
8178
+ * @param {number | null} [limit]
8179
+ * @param {string | null} [search]
8180
+ * @param {string | null} [sort]
8181
+ * @param {boolean} [all]
8182
+ * @param {*} [options] Override http request option.
8183
+ * @throws {RequiredError}
8184
+ */
8185
+ getCoresSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<CoresSimpleResponse>;
7225
8186
  /**
7226
8187
  * Update an existing core configuration.
7227
8188
  * @summary Modify Core Config
@@ -7286,6 +8247,19 @@ declare class CoreApi extends BaseAPI {
7286
8247
  * @memberof CoreApi
7287
8248
  */
7288
8249
  getCoreConfig(coreId: number, options?: RawAxiosRequestConfig): Promise<CoreResponse>;
8250
+ /**
8251
+ * Returns only id and name for cores. Optimized for dropdowns and autocomplete.
8252
+ * @summary Get lightweight core list
8253
+ * @param {number | null} [offset]
8254
+ * @param {number | null} [limit]
8255
+ * @param {string | null} [search]
8256
+ * @param {string | null} [sort]
8257
+ * @param {boolean} [all]
8258
+ * @param {*} [options] Override http request option.
8259
+ * @throws {RequiredError}
8260
+ * @memberof CoreApi
8261
+ */
8262
+ getCoresSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<CoresSimpleResponse>;
7289
8263
  /**
7290
8264
  * Update an existing core configuration.
7291
8265
  * @summary Modify Core Config
@@ -7312,7 +8286,7 @@ declare class CoreApi extends BaseAPI {
7312
8286
  * PasarGuardAPI
7313
8287
  * Unified GUI Censorship Resistant Solution
7314
8288
  *
7315
- * The version of the OpenAPI document: 1.8.2
8289
+ * The version of the OpenAPI document: 2.2.0
7316
8290
  *
7317
8291
  *
7318
8292
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7340,6 +8314,13 @@ declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
7340
8314
  * @throws {RequiredError}
7341
8315
  */
7342
8316
  getManifest: (startUrl?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8317
+ /**
8318
+ *
8319
+ * @summary Health
8320
+ * @param {*} [options] Override http request option.
8321
+ * @throws {RequiredError}
8322
+ */
8323
+ health: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7343
8324
  };
7344
8325
  /**
7345
8326
  * DefaultApi - functional programming interface
@@ -7361,6 +8342,15 @@ declare const DefaultApiFp: (configuration?: Configuration) => {
7361
8342
  * @throws {RequiredError}
7362
8343
  */
7363
8344
  getManifest(startUrl?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
8345
+ /**
8346
+ *
8347
+ * @summary Health
8348
+ * @param {*} [options] Override http request option.
8349
+ * @throws {RequiredError}
8350
+ */
8351
+ health(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
8352
+ [key: string]: any;
8353
+ }>>;
7364
8354
  };
7365
8355
  /**
7366
8356
  * DefaultApi - factory interface
@@ -7382,6 +8372,15 @@ declare const DefaultApiFactory: (configuration?: Configuration, basePath?: stri
7382
8372
  * @throws {RequiredError}
7383
8373
  */
7384
8374
  getManifest(startUrl?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
8375
+ /**
8376
+ *
8377
+ * @summary Health
8378
+ * @param {*} [options] Override http request option.
8379
+ * @throws {RequiredError}
8380
+ */
8381
+ health(options?: RawAxiosRequestConfig): AxiosPromise<{
8382
+ [key: string]: any;
8383
+ }>;
7385
8384
  };
7386
8385
  /**
7387
8386
  * DefaultApi - object-oriented interface
@@ -7407,13 +8406,23 @@ declare class DefaultApi extends BaseAPI {
7407
8406
  * @memberof DefaultApi
7408
8407
  */
7409
8408
  getManifest(startUrl?: string | null, options?: RawAxiosRequestConfig): Promise<any>;
8409
+ /**
8410
+ *
8411
+ * @summary Health
8412
+ * @param {*} [options] Override http request option.
8413
+ * @throws {RequiredError}
8414
+ * @memberof DefaultApi
8415
+ */
8416
+ health(options?: RawAxiosRequestConfig): Promise<{
8417
+ [key: string]: any;
8418
+ }>;
7410
8419
  }
7411
8420
 
7412
8421
  /**
7413
8422
  * PasarGuardAPI
7414
8423
  * Unified GUI Censorship Resistant Solution
7415
8424
  *
7416
- * The version of the OpenAPI document: 1.8.2
8425
+ * The version of the OpenAPI document: 2.2.0
7417
8426
  *
7418
8427
  *
7419
8428
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7466,7 +8475,19 @@ declare const GroupsApiAxiosParamCreator: (configuration?: Configuration) => {
7466
8475
  * @param {*} [options] Override http request option.
7467
8476
  * @throws {RequiredError}
7468
8477
  */
7469
- getGroup: (groupId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8478
+ getGroup: (groupId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8479
+ /**
8480
+ * Returns only id and name for groups. Optimized for dropdowns and autocomplete.
8481
+ * @summary Get lightweight group list
8482
+ * @param {number} [offset]
8483
+ * @param {number} [limit]
8484
+ * @param {string | null} [search]
8485
+ * @param {string | null} [sort]
8486
+ * @param {boolean} [all]
8487
+ * @param {*} [options] Override http request option.
8488
+ * @throws {RequiredError}
8489
+ */
8490
+ getGroupsSimple: (offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7470
8491
  /**
7471
8492
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7472
8493
  * @summary Modify group
@@ -7531,6 +8552,18 @@ declare const GroupsApiFp: (configuration?: Configuration) => {
7531
8552
  * @throws {RequiredError}
7532
8553
  */
7533
8554
  getGroup(groupId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupResponse>>;
8555
+ /**
8556
+ * Returns only id and name for groups. Optimized for dropdowns and autocomplete.
8557
+ * @summary Get lightweight group list
8558
+ * @param {number} [offset]
8559
+ * @param {number} [limit]
8560
+ * @param {string | null} [search]
8561
+ * @param {string | null} [sort]
8562
+ * @param {boolean} [all]
8563
+ * @param {*} [options] Override http request option.
8564
+ * @throws {RequiredError}
8565
+ */
8566
+ getGroupsSimple(offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupsSimpleResponse>>;
7534
8567
  /**
7535
8568
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7536
8569
  * @summary Modify group
@@ -7595,6 +8628,18 @@ declare const GroupsApiFactory: (configuration?: Configuration, basePath?: strin
7595
8628
  * @throws {RequiredError}
7596
8629
  */
7597
8630
  getGroup(groupId: number, options?: RawAxiosRequestConfig): AxiosPromise<GroupResponse>;
8631
+ /**
8632
+ * Returns only id and name for groups. Optimized for dropdowns and autocomplete.
8633
+ * @summary Get lightweight group list
8634
+ * @param {number} [offset]
8635
+ * @param {number} [limit]
8636
+ * @param {string | null} [search]
8637
+ * @param {string | null} [sort]
8638
+ * @param {boolean} [all]
8639
+ * @param {*} [options] Override http request option.
8640
+ * @throws {RequiredError}
8641
+ */
8642
+ getGroupsSimple(offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<GroupsSimpleResponse>;
7598
8643
  /**
7599
8644
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7600
8645
  * @summary Modify group
@@ -7666,6 +8711,19 @@ declare class GroupsApi extends BaseAPI {
7666
8711
  * @memberof GroupsApi
7667
8712
  */
7668
8713
  getGroup(groupId: number, options?: RawAxiosRequestConfig): Promise<GroupResponse>;
8714
+ /**
8715
+ * Returns only id and name for groups. Optimized for dropdowns and autocomplete.
8716
+ * @summary Get lightweight group list
8717
+ * @param {number} [offset]
8718
+ * @param {number} [limit]
8719
+ * @param {string | null} [search]
8720
+ * @param {string | null} [sort]
8721
+ * @param {boolean} [all]
8722
+ * @param {*} [options] Override http request option.
8723
+ * @throws {RequiredError}
8724
+ * @memberof GroupsApi
8725
+ */
8726
+ getGroupsSimple(offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<GroupsSimpleResponse>;
7669
8727
  /**
7670
8728
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7671
8729
  * @summary Modify group
@@ -7691,7 +8749,7 @@ declare class GroupsApi extends BaseAPI {
7691
8749
  * PasarGuardAPI
7692
8750
  * Unified GUI Censorship Resistant Solution
7693
8751
  *
7694
- * The version of the OpenAPI document: 1.8.2
8752
+ * The version of the OpenAPI document: 2.2.0
7695
8753
  *
7696
8754
  *
7697
8755
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7936,7 +8994,7 @@ declare class HostApi extends BaseAPI {
7936
8994
  * PasarGuardAPI
7937
8995
  * Unified GUI Censorship Resistant Solution
7938
8996
  *
7939
- * The version of the OpenAPI document: 1.8.2
8997
+ * The version of the OpenAPI document: 2.2.0
7940
8998
  *
7941
8999
  *
7942
9000
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8007,6 +9065,18 @@ declare const NodeApiAxiosParamCreator: (configuration?: Configuration) => {
8007
9065
  * @throws {RequiredError}
8008
9066
  */
8009
9067
  getNodes: (coreId?: number | null, offset?: number | null, limit?: number | null, status?: Array<NodeStatus> | null, enabled?: boolean, ids?: Array<number> | null, search?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9068
+ /**
9069
+ * Returns only id and name for nodes. Optimized for dropdowns and autocomplete.
9070
+ * @summary Get lightweight node list
9071
+ * @param {number | null} [offset]
9072
+ * @param {number | null} [limit]
9073
+ * @param {string | null} [search]
9074
+ * @param {string | null} [sort]
9075
+ * @param {boolean} [all]
9076
+ * @param {*} [options] Override http request option.
9077
+ * @throws {RequiredError}
9078
+ */
9079
+ getNodesSimple: (offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8010
9080
  /**
8011
9081
  * Retrieve usage statistics for nodes within a specified date range.
8012
9082
  * @summary Get Usage
@@ -8092,6 +9162,32 @@ declare const NodeApiAxiosParamCreator: (configuration?: Configuration) => {
8092
9162
  * @throws {RequiredError}
8093
9163
  */
8094
9164
  syncNode: (nodeId: number, flushUsers?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9165
+ /**
9166
+ *
9167
+ * @summary Update Core
9168
+ * @param {number} nodeId
9169
+ * @param {NodeCoreUpdate} nodeCoreUpdate
9170
+ * @param {*} [options] Override http request option.
9171
+ * @throws {RequiredError}
9172
+ */
9173
+ updateCore: (nodeId: number, nodeCoreUpdate: NodeCoreUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9174
+ /**
9175
+ *
9176
+ * @summary Update Geofiles
9177
+ * @param {number} nodeId
9178
+ * @param {NodeGeoFilesUpdate} nodeGeoFilesUpdate
9179
+ * @param {*} [options] Override http request option.
9180
+ * @throws {RequiredError}
9181
+ */
9182
+ updateGeofiles: (nodeId: number, nodeGeoFilesUpdate: NodeGeoFilesUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9183
+ /**
9184
+ *
9185
+ * @summary Update Node
9186
+ * @param {number} nodeId
9187
+ * @param {*} [options] Override http request option.
9188
+ * @throws {RequiredError}
9189
+ */
9190
+ updateNode: (nodeId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8095
9191
  /**
8096
9192
  * Retrieve user ips by node.
8097
9193
  * @summary User Online Ip List
@@ -8182,6 +9278,18 @@ declare const NodeApiFp: (configuration?: Configuration) => {
8182
9278
  * @throws {RequiredError}
8183
9279
  */
8184
9280
  getNodes(coreId?: number | null, offset?: number | null, limit?: number | null, status?: Array<NodeStatus> | null, enabled?: boolean, ids?: Array<number> | null, search?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NodesResponse>>;
9281
+ /**
9282
+ * Returns only id and name for nodes. Optimized for dropdowns and autocomplete.
9283
+ * @summary Get lightweight node list
9284
+ * @param {number | null} [offset]
9285
+ * @param {number | null} [limit]
9286
+ * @param {string | null} [search]
9287
+ * @param {string | null} [sort]
9288
+ * @param {boolean} [all]
9289
+ * @param {*} [options] Override http request option.
9290
+ * @throws {RequiredError}
9291
+ */
9292
+ getNodesSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NodesSimpleResponse>>;
8185
9293
  /**
8186
9294
  * Retrieve usage statistics for nodes within a specified date range.
8187
9295
  * @summary Get Usage
@@ -8269,6 +9377,32 @@ declare const NodeApiFp: (configuration?: Configuration) => {
8269
9377
  * @throws {RequiredError}
8270
9378
  */
8271
9379
  syncNode(nodeId: number, flushUsers?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
9380
+ /**
9381
+ *
9382
+ * @summary Update Core
9383
+ * @param {number} nodeId
9384
+ * @param {NodeCoreUpdate} nodeCoreUpdate
9385
+ * @param {*} [options] Override http request option.
9386
+ * @throws {RequiredError}
9387
+ */
9388
+ updateCore(nodeId: number, nodeCoreUpdate: NodeCoreUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
9389
+ /**
9390
+ *
9391
+ * @summary Update Geofiles
9392
+ * @param {number} nodeId
9393
+ * @param {NodeGeoFilesUpdate} nodeGeoFilesUpdate
9394
+ * @param {*} [options] Override http request option.
9395
+ * @throws {RequiredError}
9396
+ */
9397
+ updateGeofiles(nodeId: number, nodeGeoFilesUpdate: NodeGeoFilesUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
9398
+ /**
9399
+ *
9400
+ * @summary Update Node
9401
+ * @param {number} nodeId
9402
+ * @param {*} [options] Override http request option.
9403
+ * @throws {RequiredError}
9404
+ */
9405
+ updateNode(nodeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
8272
9406
  /**
8273
9407
  * Retrieve user ips by node.
8274
9408
  * @summary User Online Ip List
@@ -8361,6 +9495,18 @@ declare const NodeApiFactory: (configuration?: Configuration, basePath?: string,
8361
9495
  * @throws {RequiredError}
8362
9496
  */
8363
9497
  getNodes(coreId?: number | null, offset?: number | null, limit?: number | null, status?: Array<NodeStatus> | null, enabled?: boolean, ids?: Array<number> | null, search?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<NodesResponse>;
9498
+ /**
9499
+ * Returns only id and name for nodes. Optimized for dropdowns and autocomplete.
9500
+ * @summary Get lightweight node list
9501
+ * @param {number | null} [offset]
9502
+ * @param {number | null} [limit]
9503
+ * @param {string | null} [search]
9504
+ * @param {string | null} [sort]
9505
+ * @param {boolean} [all]
9506
+ * @param {*} [options] Override http request option.
9507
+ * @throws {RequiredError}
9508
+ */
9509
+ getNodesSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<NodesSimpleResponse>;
8364
9510
  /**
8365
9511
  * Retrieve usage statistics for nodes within a specified date range.
8366
9512
  * @summary Get Usage
@@ -8448,6 +9594,32 @@ declare const NodeApiFactory: (configuration?: Configuration, basePath?: string,
8448
9594
  * @throws {RequiredError}
8449
9595
  */
8450
9596
  syncNode(nodeId: number, flushUsers?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<any>;
9597
+ /**
9598
+ *
9599
+ * @summary Update Core
9600
+ * @param {number} nodeId
9601
+ * @param {NodeCoreUpdate} nodeCoreUpdate
9602
+ * @param {*} [options] Override http request option.
9603
+ * @throws {RequiredError}
9604
+ */
9605
+ updateCore(nodeId: number, nodeCoreUpdate: NodeCoreUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
9606
+ /**
9607
+ *
9608
+ * @summary Update Geofiles
9609
+ * @param {number} nodeId
9610
+ * @param {NodeGeoFilesUpdate} nodeGeoFilesUpdate
9611
+ * @param {*} [options] Override http request option.
9612
+ * @throws {RequiredError}
9613
+ */
9614
+ updateGeofiles(nodeId: number, nodeGeoFilesUpdate: NodeGeoFilesUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
9615
+ /**
9616
+ *
9617
+ * @summary Update Node
9618
+ * @param {number} nodeId
9619
+ * @param {*} [options] Override http request option.
9620
+ * @throws {RequiredError}
9621
+ */
9622
+ updateNode(nodeId: number, options?: RawAxiosRequestConfig): AxiosPromise<any>;
8451
9623
  /**
8452
9624
  * Retrieve user ips by node.
8453
9625
  * @summary User Online Ip List
@@ -8548,6 +9720,19 @@ declare class NodeApi extends BaseAPI {
8548
9720
  * @memberof NodeApi
8549
9721
  */
8550
9722
  getNodes(coreId?: number | null, offset?: number | null, limit?: number | null, status?: Array<NodeStatus> | null, enabled?: boolean, ids?: Array<number> | null, search?: string | null, options?: RawAxiosRequestConfig): Promise<NodesResponse>;
9723
+ /**
9724
+ * Returns only id and name for nodes. Optimized for dropdowns and autocomplete.
9725
+ * @summary Get lightweight node list
9726
+ * @param {number | null} [offset]
9727
+ * @param {number | null} [limit]
9728
+ * @param {string | null} [search]
9729
+ * @param {string | null} [sort]
9730
+ * @param {boolean} [all]
9731
+ * @param {*} [options] Override http request option.
9732
+ * @throws {RequiredError}
9733
+ * @memberof NodeApi
9734
+ */
9735
+ getNodesSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<NodesSimpleResponse>;
8551
9736
  /**
8552
9737
  * Retrieve usage statistics for nodes within a specified date range.
8553
9738
  * @summary Get Usage
@@ -8597,7 +9782,7 @@ declare class NodeApi extends BaseAPI {
8597
9782
  * @memberof NodeApi
8598
9783
  */
8599
9784
  realtimeNodesStats(options?: RawAxiosRequestConfig): Promise<{
8600
- [key: string]: ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue;
9785
+ [key: string]: NodeRealtimeStats;
8601
9786
  }>;
8602
9787
  /**
8603
9788
  * Trigger reconnection for all nodes or a specific core.
@@ -8645,6 +9830,35 @@ declare class NodeApi extends BaseAPI {
8645
9830
  * @memberof NodeApi
8646
9831
  */
8647
9832
  syncNode(nodeId: number, flushUsers?: boolean, options?: RawAxiosRequestConfig): Promise<any>;
9833
+ /**
9834
+ *
9835
+ * @summary Update Core
9836
+ * @param {number} nodeId
9837
+ * @param {NodeCoreUpdate} nodeCoreUpdate
9838
+ * @param {*} [options] Override http request option.
9839
+ * @throws {RequiredError}
9840
+ * @memberof NodeApi
9841
+ */
9842
+ updateCore(nodeId: number, nodeCoreUpdate: NodeCoreUpdate, options?: RawAxiosRequestConfig): Promise<any>;
9843
+ /**
9844
+ *
9845
+ * @summary Update Geofiles
9846
+ * @param {number} nodeId
9847
+ * @param {NodeGeoFilesUpdate} nodeGeoFilesUpdate
9848
+ * @param {*} [options] Override http request option.
9849
+ * @throws {RequiredError}
9850
+ * @memberof NodeApi
9851
+ */
9852
+ updateGeofiles(nodeId: number, nodeGeoFilesUpdate: NodeGeoFilesUpdate, options?: RawAxiosRequestConfig): Promise<any>;
9853
+ /**
9854
+ *
9855
+ * @summary Update Node
9856
+ * @param {number} nodeId
9857
+ * @param {*} [options] Override http request option.
9858
+ * @throws {RequiredError}
9859
+ * @memberof NodeApi
9860
+ */
9861
+ updateNode(nodeId: number, options?: RawAxiosRequestConfig): Promise<any>;
8648
9862
  /**
8649
9863
  * Retrieve user ips by node.
8650
9864
  * @summary User Online Ip List
@@ -8682,7 +9896,7 @@ declare class NodeApi extends BaseAPI {
8682
9896
  * PasarGuardAPI
8683
9897
  * Unified GUI Censorship Resistant Solution
8684
9898
  *
8685
- * The version of the OpenAPI document: 1.8.2
9899
+ * The version of the OpenAPI document: 2.2.0
8686
9900
  *
8687
9901
  *
8688
9902
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8812,7 +10026,7 @@ declare class SettingsApi extends BaseAPI {
8812
10026
  * PasarGuardAPI
8813
10027
  * Unified GUI Censorship Resistant Solution
8814
10028
  *
8815
- * The version of the OpenAPI document: 1.8.2
10029
+ * The version of the OpenAPI document: 2.2.0
8816
10030
  *
8817
10031
  *
8818
10032
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9036,7 +10250,7 @@ declare class SubscriptionApi extends BaseAPI {
9036
10250
  * PasarGuardAPI
9037
10251
  * Unified GUI Censorship Resistant Solution
9038
10252
  *
9039
- * The version of the OpenAPI document: 1.8.2
10253
+ * The version of the OpenAPI document: 2.2.0
9040
10254
  *
9041
10255
  *
9042
10256
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9057,13 +10271,20 @@ declare const SystemApiAxiosParamCreator: (configuration?: Configuration) => {
9057
10271
  */
9058
10272
  getInbounds: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9059
10273
  /**
9060
- * Fetch system stats including memory, CPU, and user metrics.
10274
+ * Fetch system stats including memory, CPU, disk, and user metrics.
9061
10275
  * @summary Get System Stats
9062
10276
  * @param {string | null} [adminUsername]
9063
10277
  * @param {*} [options] Override http request option.
9064
10278
  * @throws {RequiredError}
9065
10279
  */
9066
10280
  getSystemStats: (adminUsername?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10281
+ /**
10282
+ *
10283
+ * @summary Get Workers Health
10284
+ * @param {*} [options] Override http request option.
10285
+ * @throws {RequiredError}
10286
+ */
10287
+ getWorkersHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9067
10288
  };
9068
10289
  /**
9069
10290
  * SystemApi - functional programming interface
@@ -9078,13 +10299,20 @@ declare const SystemApiFp: (configuration?: Configuration) => {
9078
10299
  */
9079
10300
  getInbounds(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string | null>>>;
9080
10301
  /**
9081
- * Fetch system stats including memory, CPU, and user metrics.
10302
+ * Fetch system stats including memory, CPU, disk, and user metrics.
9082
10303
  * @summary Get System Stats
9083
10304
  * @param {string | null} [adminUsername]
9084
10305
  * @param {*} [options] Override http request option.
9085
10306
  * @throws {RequiredError}
9086
10307
  */
9087
10308
  getSystemStats(adminUsername?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SystemStats>>;
10309
+ /**
10310
+ *
10311
+ * @summary Get Workers Health
10312
+ * @param {*} [options] Override http request option.
10313
+ * @throws {RequiredError}
10314
+ */
10315
+ getWorkersHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkersHealth>>;
9088
10316
  };
9089
10317
  /**
9090
10318
  * SystemApi - factory interface
@@ -9099,13 +10327,20 @@ declare const SystemApiFactory: (configuration?: Configuration, basePath?: strin
9099
10327
  */
9100
10328
  getInbounds(options?: RawAxiosRequestConfig): AxiosPromise<Array<string | null>>;
9101
10329
  /**
9102
- * Fetch system stats including memory, CPU, and user metrics.
10330
+ * Fetch system stats including memory, CPU, disk, and user metrics.
9103
10331
  * @summary Get System Stats
9104
10332
  * @param {string | null} [adminUsername]
9105
10333
  * @param {*} [options] Override http request option.
9106
10334
  * @throws {RequiredError}
9107
10335
  */
9108
10336
  getSystemStats(adminUsername?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<SystemStats>;
10337
+ /**
10338
+ *
10339
+ * @summary Get Workers Health
10340
+ * @param {*} [options] Override http request option.
10341
+ * @throws {RequiredError}
10342
+ */
10343
+ getWorkersHealth(options?: RawAxiosRequestConfig): AxiosPromise<WorkersHealth>;
9109
10344
  };
9110
10345
  /**
9111
10346
  * SystemApi - object-oriented interface
@@ -9123,7 +10358,7 @@ declare class SystemApi extends BaseAPI {
9123
10358
  */
9124
10359
  getInbounds(options?: RawAxiosRequestConfig): Promise<(string | null)[]>;
9125
10360
  /**
9126
- * Fetch system stats including memory, CPU, and user metrics.
10361
+ * Fetch system stats including memory, CPU, disk, and user metrics.
9127
10362
  * @summary Get System Stats
9128
10363
  * @param {string | null} [adminUsername]
9129
10364
  * @param {*} [options] Override http request option.
@@ -9131,13 +10366,21 @@ declare class SystemApi extends BaseAPI {
9131
10366
  * @memberof SystemApi
9132
10367
  */
9133
10368
  getSystemStats(adminUsername?: string | null, options?: RawAxiosRequestConfig): Promise<SystemStats>;
10369
+ /**
10370
+ *
10371
+ * @summary Get Workers Health
10372
+ * @param {*} [options] Override http request option.
10373
+ * @throws {RequiredError}
10374
+ * @memberof SystemApi
10375
+ */
10376
+ getWorkersHealth(options?: RawAxiosRequestConfig): Promise<WorkersHealth>;
9134
10377
  }
9135
10378
 
9136
10379
  /**
9137
10380
  * PasarGuardAPI
9138
10381
  * Unified GUI Censorship Resistant Solution
9139
10382
  *
9140
- * The version of the OpenAPI document: 1.8.2
10383
+ * The version of the OpenAPI document: 2.2.0
9141
10384
  *
9142
10385
  *
9143
10386
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9158,6 +10401,14 @@ declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
9158
10401
  * @throws {RequiredError}
9159
10402
  */
9160
10403
  activeNextPlan: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10404
+ /**
10405
+ * Bulk create users from a template using configurable username strategies. - Includes the template creation fields plus `count`, `strategy`, and `start_number` (for sequences). - **strategy**: Username generation strategy — `sequence` or `random`. - **start_number**: Optional starting suffix for `sequence` strategy. Defaults to `1` and does not parse numbers from the base username. Returns subscription URLs for created users.
10406
+ * @summary Bulk Create Users From Template
10407
+ * @param {BulkUsersFromTemplate} bulkUsersFromTemplate
10408
+ * @param {*} [options] Override http request option.
10409
+ * @throws {RequiredError}
10410
+ */
10411
+ bulkCreateUsersFromTemplate: (bulkUsersFromTemplate: BulkUsersFromTemplate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9161
10412
  /**
9162
10413
  * Bulk modify users\' data limit based on the provided criteria. - **amount**: amount to adjust the user\'s quota (positive to increase, negative to decrease) required - **user_ids**: Optional list of user IDs to modify - **admins**: Optional list of admin IDs — their users will be targeted - **status**: Optional status to filter users (e.g., \"expired\", \"active\"), Empty means no filtering - **group_ids**: Optional list of group IDs to filter users by their group membership
9163
10414
  * @summary Bulk sum/sub to data limit of users
@@ -9199,25 +10450,27 @@ declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
9199
10450
  */
9200
10451
  createUserFromTemplate: (createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9201
10452
  /**
9202
- * Delete users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided
10453
+ * Delete cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9203
10454
  * @summary Delete Expired Users
9204
10455
  * @param {string | null} [adminUsername]
10456
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9205
10457
  * @param {string | null} [expiredAfter]
9206
10458
  * @param {string | null} [expiredBefore]
9207
10459
  * @param {*} [options] Override http request option.
9208
10460
  * @throws {RequiredError}
9209
10461
  */
9210
- deleteExpiredUsers: (adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10462
+ deleteExpiredUsers: (adminUsername?: string | null, target?: DeleteExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9211
10463
  /**
9212
- * Get users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided for filtering - If both are omitted, returns all expired users
10464
+ * Get cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9213
10465
  * @summary Get Expired Users
9214
10466
  * @param {string | null} [adminUsername]
10467
+ * @param {GetExpiredUsersTargetEnum} [target]
9215
10468
  * @param {string | null} [expiredAfter]
9216
10469
  * @param {string | null} [expiredBefore]
9217
10470
  * @param {*} [options] Override http request option.
9218
10471
  * @throws {RequiredError}
9219
10472
  */
9220
- getExpiredUsers: (adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10473
+ getExpiredUsers: (adminUsername?: string | null, target?: GetExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9221
10474
  /**
9222
10475
  * Get user information
9223
10476
  * @summary Get User
@@ -9266,6 +10519,18 @@ declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
9266
10519
  * @throws {RequiredError}
9267
10520
  */
9268
10521
  getUsers: (offset?: number, limit?: number, username?: Array<string>, admin?: Array<string> | null, group?: Array<number> | null, search?: string | null, status?: UserStatus | null, sort?: string | null, proxyId?: string | null, loadSub?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10522
+ /**
10523
+ * Returns only id and username for users. Optimized for dropdowns and autocomplete.
10524
+ * @summary Get lightweight user list
10525
+ * @param {number} [offset]
10526
+ * @param {number} [limit]
10527
+ * @param {string | null} [search]
10528
+ * @param {string | null} [sort]
10529
+ * @param {boolean} [all]
10530
+ * @param {*} [options] Override http request option.
10531
+ * @throws {RequiredError}
10532
+ */
10533
+ getUsersSimple: (offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9269
10534
  /**
9270
10535
  * Get subscription agent distribution percentages (optionally filtered by username)
9271
10536
  * @summary Get Users Sub Update Chart
@@ -9360,6 +10625,14 @@ declare const UserApiFp: (configuration?: Configuration) => {
9360
10625
  * @throws {RequiredError}
9361
10626
  */
9362
10627
  activeNextPlan(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>>;
10628
+ /**
10629
+ * Bulk create users from a template using configurable username strategies. - Includes the template creation fields plus `count`, `strategy`, and `start_number` (for sequences). - **strategy**: Username generation strategy — `sequence` or `random`. - **start_number**: Optional starting suffix for `sequence` strategy. Defaults to `1` and does not parse numbers from the base username. Returns subscription URLs for created users.
10630
+ * @summary Bulk Create Users From Template
10631
+ * @param {BulkUsersFromTemplate} bulkUsersFromTemplate
10632
+ * @param {*} [options] Override http request option.
10633
+ * @throws {RequiredError}
10634
+ */
10635
+ bulkCreateUsersFromTemplate(bulkUsersFromTemplate: BulkUsersFromTemplate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkUsersCreateResponse>>;
9363
10636
  /**
9364
10637
  * Bulk modify users\' data limit based on the provided criteria. - **amount**: amount to adjust the user\'s quota (positive to increase, negative to decrease) required - **user_ids**: Optional list of user IDs to modify - **admins**: Optional list of admin IDs — their users will be targeted - **status**: Optional status to filter users (e.g., \"expired\", \"active\"), Empty means no filtering - **group_ids**: Optional list of group IDs to filter users by their group membership
9365
10638
  * @summary Bulk sum/sub to data limit of users
@@ -9401,25 +10674,27 @@ declare const UserApiFp: (configuration?: Configuration) => {
9401
10674
  */
9402
10675
  createUserFromTemplate(createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>>;
9403
10676
  /**
9404
- * Delete users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided
10677
+ * Delete cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9405
10678
  * @summary Delete Expired Users
9406
10679
  * @param {string | null} [adminUsername]
10680
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9407
10681
  * @param {string | null} [expiredAfter]
9408
10682
  * @param {string | null} [expiredBefore]
9409
10683
  * @param {*} [options] Override http request option.
9410
10684
  * @throws {RequiredError}
9411
10685
  */
9412
- deleteExpiredUsers(adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoveUsersResponse>>;
10686
+ deleteExpiredUsers(adminUsername?: string | null, target?: DeleteExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoveUsersResponse>>;
9413
10687
  /**
9414
- * Get users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided for filtering - If both are omitted, returns all expired users
10688
+ * Get cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9415
10689
  * @summary Get Expired Users
9416
10690
  * @param {string | null} [adminUsername]
10691
+ * @param {GetExpiredUsersTargetEnum} [target]
9417
10692
  * @param {string | null} [expiredAfter]
9418
10693
  * @param {string | null} [expiredBefore]
9419
10694
  * @param {*} [options] Override http request option.
9420
10695
  * @throws {RequiredError}
9421
10696
  */
9422
- getExpiredUsers(adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string | null>>>;
10697
+ getExpiredUsers(adminUsername?: string | null, target?: GetExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string | null>>>;
9423
10698
  /**
9424
10699
  * Get user information
9425
10700
  * @summary Get User
@@ -9468,6 +10743,18 @@ declare const UserApiFp: (configuration?: Configuration) => {
9468
10743
  * @throws {RequiredError}
9469
10744
  */
9470
10745
  getUsers(offset?: number, limit?: number, username?: Array<string>, admin?: Array<string> | null, group?: Array<number> | null, search?: string | null, status?: UserStatus | null, sort?: string | null, proxyId?: string | null, loadSub?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersResponse>>;
10746
+ /**
10747
+ * Returns only id and username for users. Optimized for dropdowns and autocomplete.
10748
+ * @summary Get lightweight user list
10749
+ * @param {number} [offset]
10750
+ * @param {number} [limit]
10751
+ * @param {string | null} [search]
10752
+ * @param {string | null} [sort]
10753
+ * @param {boolean} [all]
10754
+ * @param {*} [options] Override http request option.
10755
+ * @throws {RequiredError}
10756
+ */
10757
+ getUsersSimple(offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersSimpleResponse>>;
9471
10758
  /**
9472
10759
  * Get subscription agent distribution percentages (optionally filtered by username)
9473
10760
  * @summary Get Users Sub Update Chart
@@ -9562,6 +10849,14 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
9562
10849
  * @throws {RequiredError}
9563
10850
  */
9564
10851
  activeNextPlan(username: string, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse>;
10852
+ /**
10853
+ * Bulk create users from a template using configurable username strategies. - Includes the template creation fields plus `count`, `strategy`, and `start_number` (for sequences). - **strategy**: Username generation strategy — `sequence` or `random`. - **start_number**: Optional starting suffix for `sequence` strategy. Defaults to `1` and does not parse numbers from the base username. Returns subscription URLs for created users.
10854
+ * @summary Bulk Create Users From Template
10855
+ * @param {BulkUsersFromTemplate} bulkUsersFromTemplate
10856
+ * @param {*} [options] Override http request option.
10857
+ * @throws {RequiredError}
10858
+ */
10859
+ bulkCreateUsersFromTemplate(bulkUsersFromTemplate: BulkUsersFromTemplate, options?: RawAxiosRequestConfig): AxiosPromise<BulkUsersCreateResponse>;
9565
10860
  /**
9566
10861
  * Bulk modify users\' data limit based on the provided criteria. - **amount**: amount to adjust the user\'s quota (positive to increase, negative to decrease) required - **user_ids**: Optional list of user IDs to modify - **admins**: Optional list of admin IDs — their users will be targeted - **status**: Optional status to filter users (e.g., \"expired\", \"active\"), Empty means no filtering - **group_ids**: Optional list of group IDs to filter users by their group membership
9567
10862
  * @summary Bulk sum/sub to data limit of users
@@ -9603,25 +10898,27 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
9603
10898
  */
9604
10899
  createUserFromTemplate(createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse>;
9605
10900
  /**
9606
- * Delete users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided
10901
+ * Delete cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9607
10902
  * @summary Delete Expired Users
9608
10903
  * @param {string | null} [adminUsername]
10904
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9609
10905
  * @param {string | null} [expiredAfter]
9610
10906
  * @param {string | null} [expiredBefore]
9611
10907
  * @param {*} [options] Override http request option.
9612
10908
  * @throws {RequiredError}
9613
10909
  */
9614
- deleteExpiredUsers(adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<RemoveUsersResponse>;
10910
+ deleteExpiredUsers(adminUsername?: string | null, target?: DeleteExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<RemoveUsersResponse>;
9615
10911
  /**
9616
- * Get users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided for filtering - If both are omitted, returns all expired users
10912
+ * Get cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9617
10913
  * @summary Get Expired Users
9618
10914
  * @param {string | null} [adminUsername]
10915
+ * @param {GetExpiredUsersTargetEnum} [target]
9619
10916
  * @param {string | null} [expiredAfter]
9620
10917
  * @param {string | null} [expiredBefore]
9621
10918
  * @param {*} [options] Override http request option.
9622
10919
  * @throws {RequiredError}
9623
10920
  */
9624
- getExpiredUsers(adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<string | null>>;
10921
+ getExpiredUsers(adminUsername?: string | null, target?: GetExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<string | null>>;
9625
10922
  /**
9626
10923
  * Get user information
9627
10924
  * @summary Get User
@@ -9670,6 +10967,18 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
9670
10967
  * @throws {RequiredError}
9671
10968
  */
9672
10969
  getUsers(offset?: number, limit?: number, username?: Array<string>, admin?: Array<string> | null, group?: Array<number> | null, search?: string | null, status?: UserStatus | null, sort?: string | null, proxyId?: string | null, loadSub?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersResponse>;
10970
+ /**
10971
+ * Returns only id and username for users. Optimized for dropdowns and autocomplete.
10972
+ * @summary Get lightweight user list
10973
+ * @param {number} [offset]
10974
+ * @param {number} [limit]
10975
+ * @param {string | null} [search]
10976
+ * @param {string | null} [sort]
10977
+ * @param {boolean} [all]
10978
+ * @param {*} [options] Override http request option.
10979
+ * @throws {RequiredError}
10980
+ */
10981
+ getUsersSimple(offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersSimpleResponse>;
9673
10982
  /**
9674
10983
  * Get subscription agent distribution percentages (optionally filtered by username)
9675
10984
  * @summary Get Users Sub Update Chart
@@ -9767,6 +11076,15 @@ declare class UserApi extends BaseAPI {
9767
11076
  * @memberof UserApi
9768
11077
  */
9769
11078
  activeNextPlan(username: string, options?: RawAxiosRequestConfig): Promise<UserResponse>;
11079
+ /**
11080
+ * Bulk create users from a template using configurable username strategies. - Includes the template creation fields plus `count`, `strategy`, and `start_number` (for sequences). - **strategy**: Username generation strategy — `sequence` or `random`. - **start_number**: Optional starting suffix for `sequence` strategy. Defaults to `1` and does not parse numbers from the base username. Returns subscription URLs for created users.
11081
+ * @summary Bulk Create Users From Template
11082
+ * @param {BulkUsersFromTemplate} bulkUsersFromTemplate
11083
+ * @param {*} [options] Override http request option.
11084
+ * @throws {RequiredError}
11085
+ * @memberof UserApi
11086
+ */
11087
+ bulkCreateUsersFromTemplate(bulkUsersFromTemplate: BulkUsersFromTemplate, options?: RawAxiosRequestConfig): Promise<BulkUsersCreateResponse>;
9770
11088
  /**
9771
11089
  * Bulk modify users\' data limit based on the provided criteria. - **amount**: amount to adjust the user\'s quota (positive to increase, negative to decrease) required - **user_ids**: Optional list of user IDs to modify - **admins**: Optional list of admin IDs — their users will be targeted - **status**: Optional status to filter users (e.g., \"expired\", \"active\"), Empty means no filtering - **group_ids**: Optional list of group IDs to filter users by their group membership
9772
11090
  * @summary Bulk sum/sub to data limit of users
@@ -9813,27 +11131,29 @@ declare class UserApi extends BaseAPI {
9813
11131
  */
9814
11132
  createUserFromTemplate(createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig): Promise<UserResponse>;
9815
11133
  /**
9816
- * Delete users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided
11134
+ * Delete cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9817
11135
  * @summary Delete Expired Users
9818
11136
  * @param {string | null} [adminUsername]
11137
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9819
11138
  * @param {string | null} [expiredAfter]
9820
11139
  * @param {string | null} [expiredBefore]
9821
11140
  * @param {*} [options] Override http request option.
9822
11141
  * @throws {RequiredError}
9823
11142
  * @memberof UserApi
9824
11143
  */
9825
- deleteExpiredUsers(adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<RemoveUsersResponse>;
11144
+ deleteExpiredUsers(adminUsername?: string | null, target?: DeleteExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<RemoveUsersResponse>;
9826
11145
  /**
9827
- * Get users who have expired within the specified date range. - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - At least one of expired_after or expired_before must be provided for filtering - If both are omitted, returns all expired users
11146
+ * Get cleanup-target users in the specified scope. - **target**: `expired` (time-based) or `limited` (usage-based) - **expired_after** UTC datetime (optional) - **expired_before** UTC datetime (optional) - Date range filters are applied only when target is `expired`
9828
11147
  * @summary Get Expired Users
9829
11148
  * @param {string | null} [adminUsername]
11149
+ * @param {GetExpiredUsersTargetEnum} [target]
9830
11150
  * @param {string | null} [expiredAfter]
9831
11151
  * @param {string | null} [expiredBefore]
9832
11152
  * @param {*} [options] Override http request option.
9833
11153
  * @throws {RequiredError}
9834
11154
  * @memberof UserApi
9835
11155
  */
9836
- getExpiredUsers(adminUsername?: string | null, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<(string | null)[]>;
11156
+ getExpiredUsers(adminUsername?: string | null, target?: GetExpiredUsersTargetEnum, expiredAfter?: string | null, expiredBefore?: string | null, options?: RawAxiosRequestConfig): Promise<(string | null)[]>;
9837
11157
  /**
9838
11158
  * Get user information
9839
11159
  * @summary Get User
@@ -9886,6 +11206,19 @@ declare class UserApi extends BaseAPI {
9886
11206
  * @memberof UserApi
9887
11207
  */
9888
11208
  getUsers(offset?: number, limit?: number, username?: Array<string>, admin?: Array<string> | null, group?: Array<number> | null, search?: string | null, status?: UserStatus | null, sort?: string | null, proxyId?: string | null, loadSub?: boolean, options?: RawAxiosRequestConfig): Promise<UsersResponse>;
11209
+ /**
11210
+ * Returns only id and username for users. Optimized for dropdowns and autocomplete.
11211
+ * @summary Get lightweight user list
11212
+ * @param {number} [offset]
11213
+ * @param {number} [limit]
11214
+ * @param {string | null} [search]
11215
+ * @param {string | null} [sort]
11216
+ * @param {boolean} [all]
11217
+ * @param {*} [options] Override http request option.
11218
+ * @throws {RequiredError}
11219
+ * @memberof UserApi
11220
+ */
11221
+ getUsersSimple(offset?: number, limit?: number, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<UsersSimpleResponse>;
9889
11222
  /**
9890
11223
  * Get subscription agent distribution percentages (optionally filtered by username)
9891
11224
  * @summary Get Users Sub Update Chart
@@ -9976,12 +11309,28 @@ declare class UserApi extends BaseAPI {
9976
11309
  */
9977
11310
  setOwner(username: string, adminUsername: string, options?: RawAxiosRequestConfig): Promise<UserResponse>;
9978
11311
  }
11312
+ /**
11313
+ * @export
11314
+ */
11315
+ declare const DeleteExpiredUsersTargetEnum: {
11316
+ readonly Expired: "expired";
11317
+ readonly Limited: "limited";
11318
+ };
11319
+ type DeleteExpiredUsersTargetEnum = typeof DeleteExpiredUsersTargetEnum[keyof typeof DeleteExpiredUsersTargetEnum];
11320
+ /**
11321
+ * @export
11322
+ */
11323
+ declare const GetExpiredUsersTargetEnum: {
11324
+ readonly Expired: "expired";
11325
+ readonly Limited: "limited";
11326
+ };
11327
+ type GetExpiredUsersTargetEnum = typeof GetExpiredUsersTargetEnum[keyof typeof GetExpiredUsersTargetEnum];
9979
11328
 
9980
11329
  /**
9981
11330
  * PasarGuardAPI
9982
11331
  * Unified GUI Censorship Resistant Solution
9983
11332
  *
9984
- * The version of the OpenAPI document: 1.8.2
11333
+ * The version of the OpenAPI document: 2.2.0
9985
11334
  *
9986
11335
  *
9987
11336
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10019,6 +11368,18 @@ declare const UserTemplateApiAxiosParamCreator: (configuration?: Configuration)
10019
11368
  * @throws {RequiredError}
10020
11369
  */
10021
11370
  getUserTemplates: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11371
+ /**
11372
+ * Returns only id and name for user templates. Optimized for dropdowns and autocomplete.
11373
+ * @summary Get lightweight user template list
11374
+ * @param {number | null} [offset]
11375
+ * @param {number | null} [limit]
11376
+ * @param {string | null} [search]
11377
+ * @param {string | null} [sort]
11378
+ * @param {boolean} [all]
11379
+ * @param {*} [options] Override http request option.
11380
+ * @throws {RequiredError}
11381
+ */
11382
+ getUserTemplatesSimple: (offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10022
11383
  /**
10023
11384
  * Modify User Template - **name** can be up to 64 characters - **data_limit** must be in bytes and larger or equal to 0 - **expire_duration** must be in seconds and larger or equat to 0 - **group_ids** list of group ids
10024
11385
  * @summary Modify User Template
@@ -10067,6 +11428,18 @@ declare const UserTemplateApiFp: (configuration?: Configuration) => {
10067
11428
  * @throws {RequiredError}
10068
11429
  */
10069
11430
  getUserTemplates(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserTemplateResponse>>>;
11431
+ /**
11432
+ * Returns only id and name for user templates. Optimized for dropdowns and autocomplete.
11433
+ * @summary Get lightweight user template list
11434
+ * @param {number | null} [offset]
11435
+ * @param {number | null} [limit]
11436
+ * @param {string | null} [search]
11437
+ * @param {string | null} [sort]
11438
+ * @param {boolean} [all]
11439
+ * @param {*} [options] Override http request option.
11440
+ * @throws {RequiredError}
11441
+ */
11442
+ getUserTemplatesSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserTemplatesSimpleResponse>>;
10070
11443
  /**
10071
11444
  * Modify User Template - **name** can be up to 64 characters - **data_limit** must be in bytes and larger or equal to 0 - **expire_duration** must be in seconds and larger or equat to 0 - **group_ids** list of group ids
10072
11445
  * @summary Modify User Template
@@ -10115,6 +11488,18 @@ declare const UserTemplateApiFactory: (configuration?: Configuration, basePath?:
10115
11488
  * @throws {RequiredError}
10116
11489
  */
10117
11490
  getUserTemplates(offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserTemplateResponse>>;
11491
+ /**
11492
+ * Returns only id and name for user templates. Optimized for dropdowns and autocomplete.
11493
+ * @summary Get lightweight user template list
11494
+ * @param {number | null} [offset]
11495
+ * @param {number | null} [limit]
11496
+ * @param {string | null} [search]
11497
+ * @param {string | null} [sort]
11498
+ * @param {boolean} [all]
11499
+ * @param {*} [options] Override http request option.
11500
+ * @throws {RequiredError}
11501
+ */
11502
+ getUserTemplatesSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UserTemplatesSimpleResponse>;
10118
11503
  /**
10119
11504
  * Modify User Template - **name** can be up to 64 characters - **data_limit** must be in bytes and larger or equal to 0 - **expire_duration** must be in seconds and larger or equat to 0 - **group_ids** list of group ids
10120
11505
  * @summary Modify User Template
@@ -10168,6 +11553,19 @@ declare class UserTemplateApi extends BaseAPI {
10168
11553
  * @memberof UserTemplateApi
10169
11554
  */
10170
11555
  getUserTemplates(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<UserTemplateResponse[]>;
11556
+ /**
11557
+ * Returns only id and name for user templates. Optimized for dropdowns and autocomplete.
11558
+ * @summary Get lightweight user template list
11559
+ * @param {number | null} [offset]
11560
+ * @param {number | null} [limit]
11561
+ * @param {string | null} [search]
11562
+ * @param {string | null} [sort]
11563
+ * @param {boolean} [all]
11564
+ * @param {*} [options] Override http request option.
11565
+ * @throws {RequiredError}
11566
+ * @memberof UserTemplateApi
11567
+ */
11568
+ getUserTemplatesSimple(offset?: number | null, limit?: number | null, search?: string | null, sort?: string | null, all?: boolean, options?: RawAxiosRequestConfig): Promise<UserTemplatesSimpleResponse>;
10171
11569
  /**
10172
11570
  * Modify User Template - **name** can be up to 64 characters - **data_limit** must be in bytes and larger or equal to 0 - **expire_duration** must be in seconds and larger or equat to 0 - **group_ids** list of group ids
10173
11571
  * @summary Modify User Template
@@ -10325,4 +11723,4 @@ declare class PasarguardSDK {
10325
11723
  authorize(force?: boolean): Promise<void>;
10326
11724
  }
10327
11725
 
10328
- export { AdminApi, AdminApiAxiosParamCreator, AdminApiFactory, AdminApiFp, type Config, CoreApi, CoreApiAxiosParamCreator, CoreApiFactory, CoreApiFp, DefaultApi, DefaultApiAxiosParamCreator, DefaultApiFactory, DefaultApiFp, GroupsApi, GroupsApiAxiosParamCreator, GroupsApiFactory, GroupsApiFp, HostApi, HostApiAxiosParamCreator, HostApiFactory, HostApiFp, NodeApi, NodeApiAxiosParamCreator, NodeApiFactory, NodeApiFp, PasarguardSDK, SettingsApi, SettingsApiAxiosParamCreator, SettingsApiFactory, SettingsApiFp, SubscriptionApi, SubscriptionApiAxiosParamCreator, SubscriptionApiFactory, SubscriptionApiFp, SystemApi, SystemApiAxiosParamCreator, SystemApiFactory, SystemApiFp, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, UserTemplateApi, UserTemplateApiAxiosParamCreator, UserTemplateApiFactory, UserTemplateApiFp };
11726
+ export { AdminApi, AdminApiAxiosParamCreator, AdminApiFactory, AdminApiFp, type Config, CoreApi, CoreApiAxiosParamCreator, CoreApiFactory, CoreApiFp, DefaultApi, DefaultApiAxiosParamCreator, DefaultApiFactory, DefaultApiFp, DeleteExpiredUsersTargetEnum, GetExpiredUsersTargetEnum, GroupsApi, GroupsApiAxiosParamCreator, GroupsApiFactory, GroupsApiFp, HostApi, HostApiAxiosParamCreator, HostApiFactory, HostApiFp, NodeApi, NodeApiAxiosParamCreator, NodeApiFactory, NodeApiFp, PasarguardSDK, SettingsApi, SettingsApiAxiosParamCreator, SettingsApiFactory, SettingsApiFp, SubscriptionApi, SubscriptionApiAxiosParamCreator, SubscriptionApiFactory, SubscriptionApiFp, SystemApi, SystemApiAxiosParamCreator, SystemApiFactory, SystemApiFp, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, UserTemplateApi, UserTemplateApiAxiosParamCreator, UserTemplateApiFactory, UserTemplateApiFp };