@assetsfirst/pasarguard-sdk 1.1.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).
@@ -2250,7 +2512,7 @@ type CMaxReuseTimes = number | string;
2250
2512
  * PasarGuardAPI
2251
2513
  * Unified GUI Censorship Resistant Solution
2252
2514
  *
2253
- * The version of the OpenAPI document: 1.8.2
2515
+ * The version of the OpenAPI document: 2.2.0
2254
2516
  *
2255
2517
  *
2256
2518
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2278,7 +2540,7 @@ type ConfigFormat = typeof ConfigFormat[keyof typeof ConfigFormat];
2278
2540
  * PasarGuardAPI
2279
2541
  * Unified GUI Censorship Resistant Solution
2280
2542
  *
2281
- * The version of the OpenAPI document: 1.8.2
2543
+ * The version of the OpenAPI document: 2.2.0
2282
2544
  *
2283
2545
  *
2284
2546
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2323,7 +2585,7 @@ interface CoreCreate {
2323
2585
  * PasarGuardAPI
2324
2586
  * Unified GUI Censorship Resistant Solution
2325
2587
  *
2326
- * The version of the OpenAPI document: 1.8.2
2588
+ * The version of the OpenAPI document: 2.2.0
2327
2589
  *
2328
2590
  *
2329
2591
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2380,7 +2642,7 @@ interface CoreResponse {
2380
2642
  * PasarGuardAPI
2381
2643
  * Unified GUI Censorship Resistant Solution
2382
2644
  *
2383
- * The version of the OpenAPI document: 1.8.2
2645
+ * The version of the OpenAPI document: 2.2.0
2384
2646
  *
2385
2647
  *
2386
2648
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2412,51 +2674,38 @@ interface CoreResponseList {
2412
2674
  * PasarGuardAPI
2413
2675
  * Unified GUI Censorship Resistant Solution
2414
2676
  *
2415
- * The version of the OpenAPI document: 1.8.2
2677
+ * The version of the OpenAPI document: 2.2.0
2416
2678
  *
2417
2679
  *
2418
2680
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2419
2681
  * https://openapi-generator.tech
2420
2682
  * Do not edit the class manually.
2421
2683
  */
2422
-
2423
2684
  /**
2424
- *
2685
+ * Lightweight core model with only id and name for performance.
2425
2686
  * @export
2426
- * @interface XrayMuxSettingsInput
2687
+ * @interface CoreSimple
2427
2688
  */
2428
- interface XrayMuxSettingsInput {
2429
- /**
2430
- *
2431
- * @type {boolean}
2432
- * @memberof XrayMuxSettingsInput
2433
- */
2434
- 'enabled'?: boolean;
2689
+ interface CoreSimple {
2435
2690
  /**
2436
2691
  *
2437
2692
  * @type {number}
2438
- * @memberof XrayMuxSettingsInput
2439
- */
2440
- 'concurrency'?: number | null;
2441
- /**
2442
- *
2443
- * @type {number}
2444
- * @memberof XrayMuxSettingsInput
2693
+ * @memberof CoreSimple
2445
2694
  */
2446
- 'xudp_concurrency'?: number | null;
2695
+ 'id': number;
2447
2696
  /**
2448
2697
  *
2449
- * @type {XUDP}
2450
- * @memberof XrayMuxSettingsInput
2698
+ * @type {string}
2699
+ * @memberof CoreSimple
2451
2700
  */
2452
- 'xudp_proxy_udp_443'?: XUDP;
2701
+ 'name': string;
2453
2702
  }
2454
2703
 
2455
2704
  /**
2456
2705
  * PasarGuardAPI
2457
2706
  * Unified GUI Censorship Resistant Solution
2458
2707
  *
2459
- * The version of the OpenAPI document: 1.8.2
2708
+ * The version of the OpenAPI document: 2.2.0
2460
2709
  *
2461
2710
  *
2462
2711
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2465,23 +2714,99 @@ interface XrayMuxSettingsInput {
2465
2714
  */
2466
2715
 
2467
2716
  /**
2468
- *
2717
+ * Response model for lightweight core list.
2469
2718
  * @export
2470
- * @interface MuxSettingsInput
2719
+ * @interface CoresSimpleResponse
2471
2720
  */
2472
- interface MuxSettingsInput {
2721
+ interface CoresSimpleResponse {
2473
2722
  /**
2474
2723
  *
2475
- * @type {SingBoxMuxSettings}
2476
- * @memberof MuxSettingsInput
2724
+ * @type {Array<CoreSimple>}
2725
+ * @memberof CoresSimpleResponse
2477
2726
  */
2478
- 'sing_box'?: SingBoxMuxSettings | null;
2727
+ 'cores': Array<CoreSimple>;
2479
2728
  /**
2480
2729
  *
2481
- * @type {ClashMuxSettings}
2482
- * @memberof MuxSettingsInput
2730
+ * @type {number}
2731
+ * @memberof CoresSimpleResponse
2483
2732
  */
2484
- 'clash'?: ClashMuxSettings | null;
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
2808
+ */
2809
+ 'clash'?: ClashMuxSettings | null;
2485
2810
  /**
2486
2811
  *
2487
2812
  * @type {XrayMuxSettingsInput}
@@ -2494,7 +2819,7 @@ interface MuxSettingsInput {
2494
2819
  * PasarGuardAPI
2495
2820
  * Unified GUI Censorship Resistant Solution
2496
2821
  *
2497
- * The version of the OpenAPI document: 1.8.2
2822
+ * The version of the OpenAPI document: 2.2.0
2498
2823
  *
2499
2824
  *
2500
2825
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2511,7 +2836,7 @@ type ScMaxEachPostBytes = number | string;
2511
2836
  * PasarGuardAPI
2512
2837
  * Unified GUI Censorship Resistant Solution
2513
2838
  *
2514
- * The version of the OpenAPI document: 1.8.2
2839
+ * The version of the OpenAPI document: 2.2.0
2515
2840
  *
2516
2841
  *
2517
2842
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2528,7 +2853,7 @@ type ScMinPostsIntervalMs = number | string;
2528
2853
  * PasarGuardAPI
2529
2854
  * Unified GUI Censorship Resistant Solution
2530
2855
  *
2531
- * The version of the OpenAPI document: 1.8.2
2856
+ * The version of the OpenAPI document: 2.2.0
2532
2857
  *
2533
2858
  *
2534
2859
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2545,7 +2870,7 @@ type HMaxRequestTimes = number | string;
2545
2870
  * PasarGuardAPI
2546
2871
  * Unified GUI Censorship Resistant Solution
2547
2872
  *
2548
- * The version of the OpenAPI document: 1.8.2
2873
+ * The version of the OpenAPI document: 2.2.0
2549
2874
  *
2550
2875
  *
2551
2876
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2562,7 +2887,7 @@ type HMaxReusableSecs = number | string;
2562
2887
  * PasarGuardAPI
2563
2888
  * Unified GUI Censorship Resistant Solution
2564
2889
  *
2565
- * The version of the OpenAPI document: 1.8.2
2890
+ * The version of the OpenAPI document: 2.2.0
2566
2891
  *
2567
2892
  *
2568
2893
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2579,7 +2904,7 @@ type MaxConcurrency = number | string;
2579
2904
  * PasarGuardAPI
2580
2905
  * Unified GUI Censorship Resistant Solution
2581
2906
  *
2582
- * The version of the OpenAPI document: 1.8.2
2907
+ * The version of the OpenAPI document: 2.2.0
2583
2908
  *
2584
2909
  *
2585
2910
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2596,7 +2921,7 @@ type MaxConnections = number | string;
2596
2921
  * PasarGuardAPI
2597
2922
  * Unified GUI Censorship Resistant Solution
2598
2923
  *
2599
- * The version of the OpenAPI document: 1.8.2
2924
+ * The version of the OpenAPI document: 2.2.0
2600
2925
  *
2601
2926
  *
2602
2927
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2652,7 +2977,7 @@ interface XMuxSettingsInput {
2652
2977
  * PasarGuardAPI
2653
2978
  * Unified GUI Censorship Resistant Solution
2654
2979
  *
2655
- * The version of the OpenAPI document: 1.8.2
2980
+ * The version of the OpenAPI document: 2.2.0
2656
2981
  *
2657
2982
  *
2658
2983
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2669,7 +2994,7 @@ type XPaddingBytes = number | string;
2669
2994
  * PasarGuardAPI
2670
2995
  * Unified GUI Censorship Resistant Solution
2671
2996
  *
2672
- * The version of the OpenAPI document: 1.8.2
2997
+ * The version of the OpenAPI document: 2.2.0
2673
2998
  *
2674
2999
  *
2675
3000
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2688,7 +3013,7 @@ interface XHttpSettingsInput {
2688
3013
  * @type {XHttpModes}
2689
3014
  * @memberof XHttpSettingsInput
2690
3015
  */
2691
- 'mode'?: XHttpModes;
3016
+ 'mode'?: XHttpModes | null;
2692
3017
  /**
2693
3018
  *
2694
3019
  * @type {boolean}
@@ -2701,6 +3026,84 @@ interface XHttpSettingsInput {
2701
3026
  * @memberof XHttpSettingsInput
2702
3027
  */
2703
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;
2704
3107
  /**
2705
3108
  *
2706
3109
  * @type {ScMaxEachPostBytes}
@@ -2731,7 +3134,7 @@ interface XHttpSettingsInput {
2731
3134
  * PasarGuardAPI
2732
3135
  * Unified GUI Censorship Resistant Solution
2733
3136
  *
2734
- * The version of the OpenAPI document: 1.8.2
3137
+ * The version of the OpenAPI document: 2.2.0
2735
3138
  *
2736
3139
  *
2737
3140
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2781,7 +3184,7 @@ interface TransportSettingsInput {
2781
3184
  * PasarGuardAPI
2782
3185
  * Unified GUI Censorship Resistant Solution
2783
3186
  *
2784
- * The version of the OpenAPI document: 1.8.2
3187
+ * The version of the OpenAPI document: 2.2.0
2785
3188
  *
2786
3189
  *
2787
3190
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2917,6 +3320,12 @@ interface CreateHost {
2917
3320
  * @memberof CreateHost
2918
3321
  */
2919
3322
  'use_sni_as_host'?: boolean;
3323
+ /**
3324
+ *
3325
+ * @type {string}
3326
+ * @memberof CreateHost
3327
+ */
3328
+ 'vless_route'?: string | null;
2920
3329
  /**
2921
3330
  *
2922
3331
  * @type {number}
@@ -2935,13 +3344,25 @@ interface CreateHost {
2935
3344
  * @memberof CreateHost
2936
3345
  */
2937
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;
2938
3359
  }
2939
3360
 
2940
3361
  /**
2941
3362
  * PasarGuardAPI
2942
3363
  * Unified GUI Censorship Resistant Solution
2943
3364
  *
2944
- * The version of the OpenAPI document: 1.8.2
3365
+ * The version of the OpenAPI document: 2.2.0
2945
3366
  *
2946
3367
  *
2947
3368
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2978,7 +3399,7 @@ interface CreateUserFromTemplate {
2978
3399
  * PasarGuardAPI
2979
3400
  * Unified GUI Censorship Resistant Solution
2980
3401
  *
2981
- * The version of the OpenAPI document: 1.8.2
3402
+ * The version of the OpenAPI document: 2.2.0
2982
3403
  *
2983
3404
  *
2984
3405
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3003,7 +3424,7 @@ type DataLimitResetStrategy = typeof DataLimitResetStrategy[keyof typeof DataLim
3003
3424
  * PasarGuardAPI
3004
3425
  * Unified GUI Censorship Resistant Solution
3005
3426
  *
3006
- * The version of the OpenAPI document: 1.8.2
3427
+ * The version of the OpenAPI document: 2.2.0
3007
3428
  *
3008
3429
  *
3009
3430
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3040,7 +3461,7 @@ interface Discord {
3040
3461
  * PasarGuardAPI
3041
3462
  * Unified GUI Censorship Resistant Solution
3042
3463
  *
3043
- * The version of the OpenAPI document: 1.8.2
3464
+ * The version of the OpenAPI document: 2.2.0
3044
3465
  *
3045
3466
  *
3046
3467
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3057,7 +3478,7 @@ type Expire = number | string;
3057
3478
  * PasarGuardAPI
3058
3479
  * Unified GUI Censorship Resistant Solution
3059
3480
  *
3060
- * The version of the OpenAPI document: 1.8.2
3481
+ * The version of the OpenAPI document: 2.2.0
3061
3482
  *
3062
3483
  *
3063
3484
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3089,7 +3510,7 @@ interface ExtraSettings {
3089
3510
  * PasarGuardAPI
3090
3511
  * Unified GUI Censorship Resistant Solution
3091
3512
  *
3092
- * The version of the OpenAPI document: 1.8.2
3513
+ * The version of the OpenAPI document: 2.2.0
3093
3514
  *
3094
3515
  *
3095
3516
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3121,7 +3542,30 @@ interface General {
3121
3542
  * PasarGuardAPI
3122
3543
  * Unified GUI Censorship Resistant Solution
3123
3544
  *
3124
- * 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
3125
3569
  *
3126
3570
  *
3127
3571
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3158,7 +3602,7 @@ interface GroupCreate {
3158
3602
  * PasarGuardAPI
3159
3603
  * Unified GUI Censorship Resistant Solution
3160
3604
  *
3161
- * The version of the OpenAPI document: 1.8.2
3605
+ * The version of the OpenAPI document: 2.2.0
3162
3606
  *
3163
3607
  *
3164
3608
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3195,7 +3639,7 @@ interface GroupModify {
3195
3639
  * PasarGuardAPI
3196
3640
  * Unified GUI Censorship Resistant Solution
3197
3641
  *
3198
- * The version of the OpenAPI document: 1.8.2
3642
+ * The version of the OpenAPI document: 2.2.0
3199
3643
  *
3200
3644
  *
3201
3645
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3244,7 +3688,38 @@ interface GroupResponse {
3244
3688
  * PasarGuardAPI
3245
3689
  * Unified GUI Censorship Resistant Solution
3246
3690
  *
3247
- * 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
3248
3723
  *
3249
3724
  *
3250
3725
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3276,7 +3751,39 @@ interface GroupsResponse {
3276
3751
  * PasarGuardAPI
3277
3752
  * Unified GUI Censorship Resistant Solution
3278
3753
  *
3279
- * 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
3280
3787
  *
3281
3788
  *
3282
3789
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3319,7 +3826,7 @@ interface HostNotificationEnable {
3319
3826
  * PasarGuardAPI
3320
3827
  * Unified GUI Censorship Resistant Solution
3321
3828
  *
3322
- * The version of the OpenAPI document: 1.8.2
3829
+ * The version of the OpenAPI document: 2.2.0
3323
3830
  *
3324
3831
  *
3325
3832
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3350,7 +3857,7 @@ interface ModifyUserByTemplate {
3350
3857
  * PasarGuardAPI
3351
3858
  * Unified GUI Censorship Resistant Solution
3352
3859
  *
3353
- * The version of the OpenAPI document: 1.8.2
3860
+ * The version of the OpenAPI document: 2.2.0
3354
3861
  *
3355
3862
  *
3356
3863
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3393,7 +3900,7 @@ interface NextPlanModel {
3393
3900
  * PasarGuardAPI
3394
3901
  * Unified GUI Censorship Resistant Solution
3395
3902
  *
3396
- * The version of the OpenAPI document: 1.8.2
3903
+ * The version of the OpenAPI document: 2.2.0
3397
3904
  *
3398
3905
  *
3399
3906
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3415,7 +3922,32 @@ type NodeConnectionType = typeof NodeConnectionType[keyof typeof NodeConnectionT
3415
3922
  * PasarGuardAPI
3416
3923
  * Unified GUI Censorship Resistant Solution
3417
3924
  *
3418
- * 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
3419
3951
  *
3420
3952
  *
3421
3953
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3447,6 +3979,12 @@ interface NodeCreate {
3447
3979
  * @memberof NodeCreate
3448
3980
  */
3449
3981
  'port'?: number;
3982
+ /**
3983
+ *
3984
+ * @type {number}
3985
+ * @memberof NodeCreate
3986
+ */
3987
+ 'api_port'?: number;
3450
3988
  /**
3451
3989
  *
3452
3990
  * @type {number}
@@ -3519,32 +4057,58 @@ interface NodeCreate {
3519
4057
  * PasarGuardAPI
3520
4058
  * Unified GUI Censorship Resistant Solution
3521
4059
  *
3522
- * The version of the OpenAPI document: 1.8.2
4060
+ * The version of the OpenAPI document: 2.2.0
3523
4061
  *
3524
4062
  *
3525
4063
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3526
4064
  * https://openapi-generator.tech
3527
4065
  * Do not edit the class manually.
3528
4066
  */
4067
+
3529
4068
  /**
3530
4069
  *
3531
4070
  * @export
3532
- * @enum {string}
4071
+ * @interface NodeGeoFilesUpdate
3533
4072
  */
3534
- declare const NodeStatus: {
3535
- readonly Connected: "connected";
3536
- readonly Connecting: "connecting";
3537
- readonly Error: "error";
3538
- readonly Disabled: "disabled";
3539
- readonly Limited: "limited";
3540
- };
3541
- type NodeStatus = typeof NodeStatus[keyof typeof NodeStatus];
4073
+ interface NodeGeoFilesUpdate {
4074
+ /**
4075
+ *
4076
+ * @type {GeoFilseRegion}
4077
+ * @memberof NodeGeoFilesUpdate
4078
+ */
4079
+ 'region'?: GeoFilseRegion;
4080
+ }
3542
4081
 
3543
4082
  /**
3544
4083
  * PasarGuardAPI
3545
4084
  * Unified GUI Censorship Resistant Solution
3546
4085
  *
3547
- * The version of the OpenAPI document: 1.8.2
4086
+ * The version of the OpenAPI document: 2.2.0
4087
+ *
4088
+ *
4089
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4090
+ * https://openapi-generator.tech
4091
+ * Do not edit the class manually.
4092
+ */
4093
+ /**
4094
+ *
4095
+ * @export
4096
+ * @enum {string}
4097
+ */
4098
+ declare const NodeStatus: {
4099
+ readonly Connected: "connected";
4100
+ readonly Connecting: "connecting";
4101
+ readonly Error: "error";
4102
+ readonly Disabled: "disabled";
4103
+ readonly Limited: "limited";
4104
+ };
4105
+ type NodeStatus = typeof NodeStatus[keyof typeof NodeStatus];
4106
+
4107
+ /**
4108
+ * PasarGuardAPI
4109
+ * Unified GUI Censorship Resistant Solution
4110
+ *
4111
+ * The version of the OpenAPI document: 2.2.0
3548
4112
  *
3549
4113
  *
3550
4114
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3576,6 +4140,12 @@ interface NodeModify {
3576
4140
  * @memberof NodeModify
3577
4141
  */
3578
4142
  'port'?: number | null;
4143
+ /**
4144
+ *
4145
+ * @type {number}
4146
+ * @memberof NodeModify
4147
+ */
4148
+ 'api_port'?: number;
3579
4149
  /**
3580
4150
  *
3581
4151
  * @type {number}
@@ -3654,7 +4224,7 @@ interface NodeModify {
3654
4224
  * PasarGuardAPI
3655
4225
  * Unified GUI Censorship Resistant Solution
3656
4226
  *
3657
- * The version of the OpenAPI document: 1.8.2
4227
+ * The version of the OpenAPI document: 2.2.0
3658
4228
  *
3659
4229
  *
3660
4230
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3715,7 +4285,7 @@ interface NodeNotificationEnable {
3715
4285
  * PasarGuardAPI
3716
4286
  * Unified GUI Censorship Resistant Solution
3717
4287
  *
3718
- * The version of the OpenAPI document: 1.8.2
4288
+ * The version of the OpenAPI document: 2.2.0
3719
4289
  *
3720
4290
  *
3721
4291
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3770,7 +4340,7 @@ interface NodeRealtimeStats {
3770
4340
  * PasarGuardAPI
3771
4341
  * Unified GUI Censorship Resistant Solution
3772
4342
  *
3773
- * The version of the OpenAPI document: 1.8.2
4343
+ * The version of the OpenAPI document: 2.2.0
3774
4344
  *
3775
4345
  *
3776
4346
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3802,6 +4372,12 @@ interface NodeResponse {
3802
4372
  * @memberof NodeResponse
3803
4373
  */
3804
4374
  'port'?: number;
4375
+ /**
4376
+ *
4377
+ * @type {number}
4378
+ * @memberof NodeResponse
4379
+ */
4380
+ 'api_port'?: number;
3805
4381
  /**
3806
4382
  *
3807
4383
  * @type {number}
@@ -3928,7 +4504,7 @@ interface NodeResponse {
3928
4504
  * PasarGuardAPI
3929
4505
  * Unified GUI Censorship Resistant Solution
3930
4506
  *
3931
- * The version of the OpenAPI document: 1.8.2
4507
+ * The version of the OpenAPI document: 2.2.0
3932
4508
  *
3933
4509
  *
3934
4510
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3953,7 +4529,45 @@ interface NodeSettings {
3953
4529
  * PasarGuardAPI
3954
4530
  * Unified GUI Censorship Resistant Solution
3955
4531
  *
3956
- * 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
3957
4571
  *
3958
4572
  *
3959
4573
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4002,7 +4616,7 @@ interface NodeStats {
4002
4616
  * PasarGuardAPI
4003
4617
  * Unified GUI Censorship Resistant Solution
4004
4618
  *
4005
- * The version of the OpenAPI document: 1.8.2
4619
+ * The version of the OpenAPI document: 2.2.0
4006
4620
  *
4007
4621
  *
4008
4622
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4026,7 +4640,7 @@ type Period = typeof Period[keyof typeof Period];
4026
4640
  * PasarGuardAPI
4027
4641
  * Unified GUI Censorship Resistant Solution
4028
4642
  *
4029
- * The version of the OpenAPI document: 1.8.2
4643
+ * The version of the OpenAPI document: 2.2.0
4030
4644
  *
4031
4645
  *
4032
4646
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4070,7 +4684,7 @@ interface NodeStatsList {
4070
4684
  * PasarGuardAPI
4071
4685
  * Unified GUI Censorship Resistant Solution
4072
4686
  *
4073
- * The version of the OpenAPI document: 1.8.2
4687
+ * The version of the OpenAPI document: 2.2.0
4074
4688
  *
4075
4689
  *
4076
4690
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4107,7 +4721,7 @@ interface NodeUsageStat {
4107
4721
  * PasarGuardAPI
4108
4722
  * Unified GUI Censorship Resistant Solution
4109
4723
  *
4110
- * The version of the OpenAPI document: 1.8.2
4724
+ * The version of the OpenAPI document: 2.2.0
4111
4725
  *
4112
4726
  *
4113
4727
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4153,7 +4767,7 @@ interface NodeUsageStatsList {
4153
4767
  * PasarGuardAPI
4154
4768
  * Unified GUI Censorship Resistant Solution
4155
4769
  *
4156
- * The version of the OpenAPI document: 1.8.2
4770
+ * The version of the OpenAPI document: 2.2.0
4157
4771
  *
4158
4772
  *
4159
4773
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4185,7 +4799,39 @@ interface NodesResponse {
4185
4799
  * PasarGuardAPI
4186
4800
  * Unified GUI Censorship Resistant Solution
4187
4801
  *
4188
- * The version of the OpenAPI document: 1.8.2
4802
+ * The version of the OpenAPI document: 2.2.0
4803
+ *
4804
+ *
4805
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4806
+ * https://openapi-generator.tech
4807
+ * Do not edit the class manually.
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
+
4830
+ /**
4831
+ * PasarGuardAPI
4832
+ * Unified GUI Censorship Resistant Solution
4833
+ *
4834
+ * The version of the OpenAPI document: 2.2.0
4189
4835
  *
4190
4836
  *
4191
4837
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4212,7 +4858,7 @@ interface UserIPList {
4212
4858
  * PasarGuardAPI
4213
4859
  * Unified GUI Censorship Resistant Solution
4214
4860
  *
4215
- * The version of the OpenAPI document: 1.8.2
4861
+ * The version of the OpenAPI document: 2.2.0
4216
4862
  *
4217
4863
  *
4218
4864
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4230,7 +4876,7 @@ type NodesValue = UserIPList;
4230
4876
  * PasarGuardAPI
4231
4877
  * Unified GUI Censorship Resistant Solution
4232
4878
  *
4233
- * The version of the OpenAPI document: 1.8.2
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).
@@ -4568,7 +5214,7 @@ type OnHoldTimeout = number | string;
4568
5214
  * PasarGuardAPI
4569
5215
  * Unified GUI Censorship Resistant Solution
4570
5216
  *
4571
- * The version of the OpenAPI document: 1.8.2
5217
+ * The version of the OpenAPI document: 2.2.0
4572
5218
  *
4573
5219
  *
4574
5220
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4600,7 +5246,7 @@ interface ShadowsocksSettings {
4600
5246
  * PasarGuardAPI
4601
5247
  * Unified GUI Censorship Resistant Solution
4602
5248
  *
4603
- * The version of the OpenAPI document: 1.8.2
5249
+ * The version of the OpenAPI document: 2.2.0
4604
5250
  *
4605
5251
  *
4606
5252
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4625,7 +5271,7 @@ interface TrojanSettings {
4625
5271
  * PasarGuardAPI
4626
5272
  * Unified GUI Censorship Resistant Solution
4627
5273
  *
4628
- * The version of the OpenAPI document: 1.8.2
5274
+ * The version of the OpenAPI document: 2.2.0
4629
5275
  *
4630
5276
  *
4631
5277
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4650,7 +5296,7 @@ interface VMessSettings {
4650
5296
  * PasarGuardAPI
4651
5297
  * Unified GUI Censorship Resistant Solution
4652
5298
  *
4653
- * The version of the OpenAPI document: 1.8.2
5299
+ * The version of the OpenAPI document: 2.2.0
4654
5300
  *
4655
5301
  *
4656
5302
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4682,7 +5328,7 @@ interface VlessSettings {
4682
5328
  * PasarGuardAPI
4683
5329
  * Unified GUI Censorship Resistant Solution
4684
5330
  *
4685
- * The version of the OpenAPI document: 1.8.2
5331
+ * The version of the OpenAPI document: 2.2.0
4686
5332
  *
4687
5333
  *
4688
5334
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4726,7 +5372,7 @@ interface ProxyTableInput {
4726
5372
  * PasarGuardAPI
4727
5373
  * Unified GUI Censorship Resistant Solution
4728
5374
  *
4729
- * The version of the OpenAPI document: 1.8.2
5375
+ * The version of the OpenAPI document: 2.2.0
4730
5376
  *
4731
5377
  *
4732
5378
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4770,7 +5416,7 @@ interface ProxyTableOutput {
4770
5416
  * PasarGuardAPI
4771
5417
  * Unified GUI Censorship Resistant Solution
4772
5418
  *
4773
- * The version of the OpenAPI document: 1.8.2
5419
+ * The version of the OpenAPI document: 2.2.0
4774
5420
  *
4775
5421
  *
4776
5422
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4801,7 +5447,7 @@ interface RemoveUsersResponse {
4801
5447
  * PasarGuardAPI
4802
5448
  * Unified GUI Censorship Resistant Solution
4803
5449
  *
4804
- * The version of the OpenAPI document: 1.8.2
5450
+ * The version of the OpenAPI document: 2.2.0
4805
5451
  *
4806
5452
  *
4807
5453
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4819,7 +5465,7 @@ type ResponseRealtimeNodesStatsApiNodesRealtimeStatsGetValue = NodeRealtimeStats
4819
5465
  * PasarGuardAPI
4820
5466
  * Unified GUI Censorship Resistant Solution
4821
5467
  *
4822
- * The version of the OpenAPI document: 1.8.2
5468
+ * The version of the OpenAPI document: 2.2.0
4823
5469
  *
4824
5470
  *
4825
5471
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4841,7 +5487,7 @@ type RunMethod = typeof RunMethod[keyof typeof RunMethod];
4841
5487
  * PasarGuardAPI
4842
5488
  * Unified GUI Censorship Resistant Solution
4843
5489
  *
4844
- * The version of the OpenAPI document: 1.8.2
5490
+ * The version of the OpenAPI document: 2.2.0
4845
5491
  *
4846
5492
  *
4847
5493
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4902,7 +5548,7 @@ interface SubFormatEnable {
4902
5548
  * PasarGuardAPI
4903
5549
  * Unified GUI Censorship Resistant Solution
4904
5550
  *
4905
- * The version of the OpenAPI document: 1.8.2
5551
+ * The version of the OpenAPI document: 2.2.0
4906
5552
  *
4907
5553
  *
4908
5554
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4934,7 +5580,7 @@ interface SubRule {
4934
5580
  * PasarGuardAPI
4935
5581
  * Unified GUI Censorship Resistant Solution
4936
5582
  *
4937
- * The version of the OpenAPI document: 1.8.2
5583
+ * The version of the OpenAPI document: 2.2.0
4938
5584
  *
4939
5585
  *
4940
5586
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5002,13 +5648,31 @@ interface SubscriptionInput {
5002
5648
  * @memberof SubscriptionInput
5003
5649
  */
5004
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;
5005
5669
  }
5006
5670
 
5007
5671
  /**
5008
5672
  * PasarGuardAPI
5009
5673
  * Unified GUI Censorship Resistant Solution
5010
5674
  *
5011
- * The version of the OpenAPI document: 1.8.2
5675
+ * The version of the OpenAPI document: 2.2.0
5012
5676
  *
5013
5677
  *
5014
5678
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5082,7 +5746,7 @@ interface Telegram {
5082
5746
  * PasarGuardAPI
5083
5747
  * Unified GUI Censorship Resistant Solution
5084
5748
  *
5085
- * The version of the OpenAPI document: 1.8.2
5749
+ * The version of the OpenAPI document: 2.2.0
5086
5750
  *
5087
5751
  *
5088
5752
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5113,7 +5777,7 @@ interface WebhookInfo {
5113
5777
  * PasarGuardAPI
5114
5778
  * Unified GUI Censorship Resistant Solution
5115
5779
  *
5116
- * The version of the OpenAPI document: 1.8.2
5780
+ * The version of the OpenAPI document: 2.2.0
5117
5781
  *
5118
5782
  *
5119
5783
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5175,7 +5839,7 @@ interface Webhook {
5175
5839
  * PasarGuardAPI
5176
5840
  * Unified GUI Censorship Resistant Solution
5177
5841
  *
5178
- * The version of the OpenAPI document: 1.8.2
5842
+ * The version of the OpenAPI document: 2.2.0
5179
5843
  *
5180
5844
  *
5181
5845
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5237,7 +5901,7 @@ interface SettingsSchemaInput {
5237
5901
  * PasarGuardAPI
5238
5902
  * Unified GUI Censorship Resistant Solution
5239
5903
  *
5240
- * The version of the OpenAPI document: 1.8.2
5904
+ * The version of the OpenAPI document: 2.2.0
5241
5905
  *
5242
5906
  *
5243
5907
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5305,13 +5969,31 @@ interface SubscriptionOutput {
5305
5969
  * @memberof SubscriptionOutput
5306
5970
  */
5307
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;
5308
5990
  }
5309
5991
 
5310
5992
  /**
5311
5993
  * PasarGuardAPI
5312
5994
  * Unified GUI Censorship Resistant Solution
5313
5995
  *
5314
- * The version of the OpenAPI document: 1.8.2
5996
+ * The version of the OpenAPI document: 2.2.0
5315
5997
  *
5316
5998
  *
5317
5999
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5373,7 +6055,7 @@ interface SettingsSchemaOutput {
5373
6055
  * PasarGuardAPI
5374
6056
  * Unified GUI Censorship Resistant Solution
5375
6057
  *
5376
- * The version of the OpenAPI document: 1.8.2
6058
+ * The version of the OpenAPI document: 2.2.0
5377
6059
  *
5378
6060
  *
5379
6061
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5489,7 +6171,7 @@ interface SubscriptionUserResponse {
5489
6171
  * PasarGuardAPI
5490
6172
  * Unified GUI Censorship Resistant Solution
5491
6173
  *
5492
- * The version of the OpenAPI document: 1.8.2
6174
+ * The version of the OpenAPI document: 2.2.0
5493
6175
  *
5494
6176
  *
5495
6177
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5520,6 +6202,18 @@ interface SystemStats {
5520
6202
  * @memberof SystemStats
5521
6203
  */
5522
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;
5523
6217
  /**
5524
6218
  *
5525
6219
  * @type {number}
@@ -5592,7 +6286,7 @@ interface SystemStats {
5592
6286
  * PasarGuardAPI
5593
6287
  * Unified GUI Censorship Resistant Solution
5594
6288
  *
5595
- * The version of the OpenAPI document: 1.8.2
6289
+ * The version of the OpenAPI document: 2.2.0
5596
6290
  *
5597
6291
  *
5598
6292
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5623,7 +6317,7 @@ interface Token {
5623
6317
  * PasarGuardAPI
5624
6318
  * Unified GUI Censorship Resistant Solution
5625
6319
  *
5626
- * The version of the OpenAPI document: 1.8.2
6320
+ * The version of the OpenAPI document: 2.2.0
5627
6321
  *
5628
6322
  *
5629
6323
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5645,7 +6339,7 @@ type UsageTable = typeof UsageTable[keyof typeof UsageTable];
5645
6339
  * PasarGuardAPI
5646
6340
  * Unified GUI Censorship Resistant Solution
5647
6341
  *
5648
- * The version of the OpenAPI document: 1.8.2
6342
+ * The version of the OpenAPI document: 2.2.0
5649
6343
  *
5650
6344
  *
5651
6345
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5667,7 +6361,7 @@ type UserStatusCreate = typeof UserStatusCreate[keyof typeof UserStatusCreate];
5667
6361
  * PasarGuardAPI
5668
6362
  * Unified GUI Censorship Resistant Solution
5669
6363
  *
5670
- * The version of the OpenAPI document: 1.8.2
6364
+ * The version of the OpenAPI document: 2.2.0
5671
6365
  *
5672
6366
  *
5673
6367
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5759,7 +6453,7 @@ interface UserCreate {
5759
6453
  * PasarGuardAPI
5760
6454
  * Unified GUI Censorship Resistant Solution
5761
6455
  *
5762
- * The version of the OpenAPI document: 1.8.2
6456
+ * The version of the OpenAPI document: 2.2.0
5763
6457
  *
5764
6458
  *
5765
6459
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5787,7 +6481,7 @@ interface UserIPListAll {
5787
6481
  * PasarGuardAPI
5788
6482
  * Unified GUI Censorship Resistant Solution
5789
6483
  *
5790
- * The version of the OpenAPI document: 1.8.2
6484
+ * The version of the OpenAPI document: 2.2.0
5791
6485
  *
5792
6486
  *
5793
6487
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5810,7 +6504,7 @@ type UserStatusModify = typeof UserStatusModify[keyof typeof UserStatusModify];
5810
6504
  * PasarGuardAPI
5811
6505
  * Unified GUI Censorship Resistant Solution
5812
6506
  *
5813
- * The version of the OpenAPI document: 1.8.2
6507
+ * The version of the OpenAPI document: 2.2.0
5814
6508
  *
5815
6509
  *
5816
6510
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5896,7 +6590,7 @@ interface UserModify {
5896
6590
  * PasarGuardAPI
5897
6591
  * Unified GUI Censorship Resistant Solution
5898
6592
  *
5899
- * The version of the OpenAPI document: 1.8.2
6593
+ * The version of the OpenAPI document: 2.2.0
5900
6594
  *
5901
6595
  *
5902
6596
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6036,7 +6730,38 @@ interface UserResponse {
6036
6730
  * PasarGuardAPI
6037
6731
  * Unified GUI Censorship Resistant Solution
6038
6732
  *
6039
- * 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
6040
6765
  *
6041
6766
  *
6042
6767
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6073,7 +6798,7 @@ interface UserSubscriptionUpdateChartSegment {
6073
6798
  * PasarGuardAPI
6074
6799
  * Unified GUI Censorship Resistant Solution
6075
6800
  *
6076
- * The version of the OpenAPI document: 1.8.2
6801
+ * The version of the OpenAPI document: 2.2.0
6077
6802
  *
6078
6803
  *
6079
6804
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6105,7 +6830,7 @@ interface UserSubscriptionUpdateChart {
6105
6830
  * PasarGuardAPI
6106
6831
  * Unified GUI Censorship Resistant Solution
6107
6832
  *
6108
- * The version of the OpenAPI document: 1.8.2
6833
+ * The version of the OpenAPI document: 2.2.0
6109
6834
  *
6110
6835
  *
6111
6836
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6136,7 +6861,7 @@ interface UserSubscriptionUpdateSchema {
6136
6861
  * PasarGuardAPI
6137
6862
  * Unified GUI Censorship Resistant Solution
6138
6863
  *
6139
- * The version of the OpenAPI document: 1.8.2
6864
+ * The version of the OpenAPI document: 2.2.0
6140
6865
  *
6141
6866
  *
6142
6867
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6168,7 +6893,7 @@ interface UserSubscriptionUpdateList {
6168
6893
  * PasarGuardAPI
6169
6894
  * Unified GUI Censorship Resistant Solution
6170
6895
  *
6171
- * The version of the OpenAPI document: 1.8.2
6896
+ * The version of the OpenAPI document: 2.2.0
6172
6897
  *
6173
6898
  *
6174
6899
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6260,7 +6985,7 @@ interface UserTemplateCreate {
6260
6985
  * PasarGuardAPI
6261
6986
  * Unified GUI Censorship Resistant Solution
6262
6987
  *
6263
- * The version of the OpenAPI document: 1.8.2
6988
+ * The version of the OpenAPI document: 2.2.0
6264
6989
  *
6265
6990
  *
6266
6991
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6352,7 +7077,7 @@ interface UserTemplateModify {
6352
7077
  * PasarGuardAPI
6353
7078
  * Unified GUI Censorship Resistant Solution
6354
7079
  *
6355
- * The version of the OpenAPI document: 1.8.2
7080
+ * The version of the OpenAPI document: 2.2.0
6356
7081
  *
6357
7082
  *
6358
7083
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6450,7 +7175,70 @@ interface UserTemplateResponse {
6450
7175
  * PasarGuardAPI
6451
7176
  * Unified GUI Censorship Resistant Solution
6452
7177
  *
6453
- * The version of the OpenAPI document: 1.8.2
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
7195
+ */
7196
+ 'id': number;
7197
+ /**
7198
+ *
7199
+ * @type {string}
7200
+ * @memberof UserTemplateSimple
7201
+ */
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 {
7223
+ /**
7224
+ *
7225
+ * @type {Array<UserTemplateSimple>}
7226
+ * @memberof UserTemplatesSimpleResponse
7227
+ */
7228
+ 'templates': Array<UserTemplateSimple>;
7229
+ /**
7230
+ *
7231
+ * @type {number}
7232
+ * @memberof UserTemplatesSimpleResponse
7233
+ */
7234
+ 'total': number;
7235
+ }
7236
+
7237
+ /**
7238
+ * PasarGuardAPI
7239
+ * Unified GUI Censorship Resistant Solution
7240
+ *
7241
+ * The version of the OpenAPI document: 2.2.0
6454
7242
  *
6455
7243
  *
6456
7244
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6481,7 +7269,7 @@ interface UserUsageStat {
6481
7269
  * PasarGuardAPI
6482
7270
  * Unified GUI Censorship Resistant Solution
6483
7271
  *
6484
- * The version of the OpenAPI document: 1.8.2
7272
+ * The version of the OpenAPI document: 2.2.0
6485
7273
  *
6486
7274
  *
6487
7275
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6527,7 +7315,7 @@ interface UserUsageStatsList {
6527
7315
  * PasarGuardAPI
6528
7316
  * Unified GUI Censorship Resistant Solution
6529
7317
  *
6530
- * The version of the OpenAPI document: 1.8.2
7318
+ * The version of the OpenAPI document: 2.2.0
6531
7319
  *
6532
7320
  *
6533
7321
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6559,7 +7347,108 @@ interface UsersResponse {
6559
7347
  * PasarGuardAPI
6560
7348
  * Unified GUI Censorship Resistant Solution
6561
7349
  *
6562
- * 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
6563
7452
  *
6564
7453
  *
6565
7454
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6617,6 +7506,19 @@ declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => {
6617
7506
  * @throws {RequiredError}
6618
7507
  */
6619
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>;
6620
7522
  /**
6621
7523
  * Fetch a list of admins with optional filters for pagination and username.
6622
7524
  * @summary Get Admins
@@ -6628,6 +7530,18 @@ declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => {
6628
7530
  * @throws {RequiredError}
6629
7531
  */
6630
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>;
6631
7545
  /**
6632
7546
  * Retrieve the current authenticated admin.
6633
7547
  * @summary Get Current Admin
@@ -6719,6 +7633,19 @@ declare const AdminApiFp: (configuration?: Configuration) => {
6719
7633
  * @throws {RequiredError}
6720
7634
  */
6721
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>>;
6722
7649
  /**
6723
7650
  * Fetch a list of admins with optional filters for pagination and username.
6724
7651
  * @summary Get Admins
@@ -6730,6 +7657,18 @@ declare const AdminApiFp: (configuration?: Configuration) => {
6730
7657
  * @throws {RequiredError}
6731
7658
  */
6732
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>>;
6733
7672
  /**
6734
7673
  * Retrieve the current authenticated admin.
6735
7674
  * @summary Get Current Admin
@@ -6821,6 +7760,19 @@ declare const AdminApiFactory: (configuration?: Configuration, basePath?: string
6821
7760
  * @throws {RequiredError}
6822
7761
  */
6823
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>;
6824
7776
  /**
6825
7777
  * Fetch a list of admins with optional filters for pagination and username.
6826
7778
  * @summary Get Admins
@@ -6832,6 +7784,18 @@ declare const AdminApiFactory: (configuration?: Configuration, basePath?: string
6832
7784
  * @throws {RequiredError}
6833
7785
  */
6834
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>;
6835
7799
  /**
6836
7800
  * Retrieve the current authenticated admin.
6837
7801
  * @summary Get Current Admin
@@ -6930,6 +7894,20 @@ declare class AdminApi extends BaseAPI {
6930
7894
  * @memberof AdminApi
6931
7895
  */
6932
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>;
6933
7911
  /**
6934
7912
  * Fetch a list of admins with optional filters for pagination and username.
6935
7913
  * @summary Get Admins
@@ -6942,6 +7920,19 @@ declare class AdminApi extends BaseAPI {
6942
7920
  * @memberof AdminApi
6943
7921
  */
6944
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>;
6945
7936
  /**
6946
7937
  * Retrieve the current authenticated admin.
6947
7938
  * @summary Get Current Admin
@@ -6993,7 +7984,7 @@ declare class AdminApi extends BaseAPI {
6993
7984
  * PasarGuardAPI
6994
7985
  * Unified GUI Censorship Resistant Solution
6995
7986
  *
6996
- * The version of the OpenAPI document: 1.8.2
7987
+ * The version of the OpenAPI document: 2.2.0
6997
7988
  *
6998
7989
  *
6999
7990
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7040,6 +8031,18 @@ declare const CoreApiAxiosParamCreator: (configuration?: Configuration) => {
7040
8031
  * @throws {RequiredError}
7041
8032
  */
7042
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>;
7043
8046
  /**
7044
8047
  * Update an existing core configuration.
7045
8048
  * @summary Modify Core Config
@@ -7098,6 +8101,18 @@ declare const CoreApiFp: (configuration?: Configuration) => {
7098
8101
  * @throws {RequiredError}
7099
8102
  */
7100
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>>;
7101
8116
  /**
7102
8117
  * Update an existing core configuration.
7103
8118
  * @summary Modify Core Config
@@ -7156,6 +8171,18 @@ declare const CoreApiFactory: (configuration?: Configuration, basePath?: string,
7156
8171
  * @throws {RequiredError}
7157
8172
  */
7158
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>;
7159
8186
  /**
7160
8187
  * Update an existing core configuration.
7161
8188
  * @summary Modify Core Config
@@ -7220,6 +8247,19 @@ declare class CoreApi extends BaseAPI {
7220
8247
  * @memberof CoreApi
7221
8248
  */
7222
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>;
7223
8263
  /**
7224
8264
  * Update an existing core configuration.
7225
8265
  * @summary Modify Core Config
@@ -7246,7 +8286,7 @@ declare class CoreApi extends BaseAPI {
7246
8286
  * PasarGuardAPI
7247
8287
  * Unified GUI Censorship Resistant Solution
7248
8288
  *
7249
- * The version of the OpenAPI document: 1.8.2
8289
+ * The version of the OpenAPI document: 2.2.0
7250
8290
  *
7251
8291
  *
7252
8292
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7274,6 +8314,13 @@ declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
7274
8314
  * @throws {RequiredError}
7275
8315
  */
7276
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>;
7277
8324
  };
7278
8325
  /**
7279
8326
  * DefaultApi - functional programming interface
@@ -7295,6 +8342,15 @@ declare const DefaultApiFp: (configuration?: Configuration) => {
7295
8342
  * @throws {RequiredError}
7296
8343
  */
7297
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
+ }>>;
7298
8354
  };
7299
8355
  /**
7300
8356
  * DefaultApi - factory interface
@@ -7316,6 +8372,15 @@ declare const DefaultApiFactory: (configuration?: Configuration, basePath?: stri
7316
8372
  * @throws {RequiredError}
7317
8373
  */
7318
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
+ }>;
7319
8384
  };
7320
8385
  /**
7321
8386
  * DefaultApi - object-oriented interface
@@ -7341,13 +8406,23 @@ declare class DefaultApi extends BaseAPI {
7341
8406
  * @memberof DefaultApi
7342
8407
  */
7343
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
+ }>;
7344
8419
  }
7345
8420
 
7346
8421
  /**
7347
8422
  * PasarGuardAPI
7348
8423
  * Unified GUI Censorship Resistant Solution
7349
8424
  *
7350
- * The version of the OpenAPI document: 1.8.2
8425
+ * The version of the OpenAPI document: 2.2.0
7351
8426
  *
7352
8427
  *
7353
8428
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7400,7 +8475,19 @@ declare const GroupsApiAxiosParamCreator: (configuration?: Configuration) => {
7400
8475
  * @param {*} [options] Override http request option.
7401
8476
  * @throws {RequiredError}
7402
8477
  */
7403
- 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>;
7404
8491
  /**
7405
8492
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7406
8493
  * @summary Modify group
@@ -7465,6 +8552,18 @@ declare const GroupsApiFp: (configuration?: Configuration) => {
7465
8552
  * @throws {RequiredError}
7466
8553
  */
7467
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>>;
7468
8567
  /**
7469
8568
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7470
8569
  * @summary Modify group
@@ -7529,6 +8628,18 @@ declare const GroupsApiFactory: (configuration?: Configuration, basePath?: strin
7529
8628
  * @throws {RequiredError}
7530
8629
  */
7531
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>;
7532
8643
  /**
7533
8644
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7534
8645
  * @summary Modify group
@@ -7600,6 +8711,19 @@ declare class GroupsApi extends BaseAPI {
7600
8711
  * @memberof GroupsApi
7601
8712
  */
7602
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>;
7603
8727
  /**
7604
8728
  * Updates an existing group\'s information. Only sudo administrators can modify groups.
7605
8729
  * @summary Modify group
@@ -7625,7 +8749,7 @@ declare class GroupsApi extends BaseAPI {
7625
8749
  * PasarGuardAPI
7626
8750
  * Unified GUI Censorship Resistant Solution
7627
8751
  *
7628
- * The version of the OpenAPI document: 1.8.2
8752
+ * The version of the OpenAPI document: 2.2.0
7629
8753
  *
7630
8754
  *
7631
8755
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7870,7 +8994,7 @@ declare class HostApi extends BaseAPI {
7870
8994
  * PasarGuardAPI
7871
8995
  * Unified GUI Censorship Resistant Solution
7872
8996
  *
7873
- * The version of the OpenAPI document: 1.8.2
8997
+ * The version of the OpenAPI document: 2.2.0
7874
8998
  *
7875
8999
  *
7876
9000
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7941,6 +9065,18 @@ declare const NodeApiAxiosParamCreator: (configuration?: Configuration) => {
7941
9065
  * @throws {RequiredError}
7942
9066
  */
7943
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>;
7944
9080
  /**
7945
9081
  * Retrieve usage statistics for nodes within a specified date range.
7946
9082
  * @summary Get Usage
@@ -8026,6 +9162,32 @@ declare const NodeApiAxiosParamCreator: (configuration?: Configuration) => {
8026
9162
  * @throws {RequiredError}
8027
9163
  */
8028
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>;
8029
9191
  /**
8030
9192
  * Retrieve user ips by node.
8031
9193
  * @summary User Online Ip List
@@ -8116,6 +9278,18 @@ declare const NodeApiFp: (configuration?: Configuration) => {
8116
9278
  * @throws {RequiredError}
8117
9279
  */
8118
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>>;
8119
9293
  /**
8120
9294
  * Retrieve usage statistics for nodes within a specified date range.
8121
9295
  * @summary Get Usage
@@ -8203,6 +9377,32 @@ declare const NodeApiFp: (configuration?: Configuration) => {
8203
9377
  * @throws {RequiredError}
8204
9378
  */
8205
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>>;
8206
9406
  /**
8207
9407
  * Retrieve user ips by node.
8208
9408
  * @summary User Online Ip List
@@ -8295,6 +9495,18 @@ declare const NodeApiFactory: (configuration?: Configuration, basePath?: string,
8295
9495
  * @throws {RequiredError}
8296
9496
  */
8297
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>;
8298
9510
  /**
8299
9511
  * Retrieve usage statistics for nodes within a specified date range.
8300
9512
  * @summary Get Usage
@@ -8382,6 +9594,32 @@ declare const NodeApiFactory: (configuration?: Configuration, basePath?: string,
8382
9594
  * @throws {RequiredError}
8383
9595
  */
8384
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>;
8385
9623
  /**
8386
9624
  * Retrieve user ips by node.
8387
9625
  * @summary User Online Ip List
@@ -8482,6 +9720,19 @@ declare class NodeApi extends BaseAPI {
8482
9720
  * @memberof NodeApi
8483
9721
  */
8484
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>;
8485
9736
  /**
8486
9737
  * Retrieve usage statistics for nodes within a specified date range.
8487
9738
  * @summary Get Usage
@@ -8579,6 +9830,35 @@ declare class NodeApi extends BaseAPI {
8579
9830
  * @memberof NodeApi
8580
9831
  */
8581
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>;
8582
9862
  /**
8583
9863
  * Retrieve user ips by node.
8584
9864
  * @summary User Online Ip List
@@ -8616,7 +9896,7 @@ declare class NodeApi extends BaseAPI {
8616
9896
  * PasarGuardAPI
8617
9897
  * Unified GUI Censorship Resistant Solution
8618
9898
  *
8619
- * The version of the OpenAPI document: 1.8.2
9899
+ * The version of the OpenAPI document: 2.2.0
8620
9900
  *
8621
9901
  *
8622
9902
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8746,7 +10026,7 @@ declare class SettingsApi extends BaseAPI {
8746
10026
  * PasarGuardAPI
8747
10027
  * Unified GUI Censorship Resistant Solution
8748
10028
  *
8749
- * The version of the OpenAPI document: 1.8.2
10029
+ * The version of the OpenAPI document: 2.2.0
8750
10030
  *
8751
10031
  *
8752
10032
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8970,7 +10250,7 @@ declare class SubscriptionApi extends BaseAPI {
8970
10250
  * PasarGuardAPI
8971
10251
  * Unified GUI Censorship Resistant Solution
8972
10252
  *
8973
- * The version of the OpenAPI document: 1.8.2
10253
+ * The version of the OpenAPI document: 2.2.0
8974
10254
  *
8975
10255
  *
8976
10256
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8991,13 +10271,20 @@ declare const SystemApiAxiosParamCreator: (configuration?: Configuration) => {
8991
10271
  */
8992
10272
  getInbounds: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8993
10273
  /**
8994
- * Fetch system stats including memory, CPU, and user metrics.
10274
+ * Fetch system stats including memory, CPU, disk, and user metrics.
8995
10275
  * @summary Get System Stats
8996
10276
  * @param {string | null} [adminUsername]
8997
10277
  * @param {*} [options] Override http request option.
8998
10278
  * @throws {RequiredError}
8999
10279
  */
9000
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>;
9001
10288
  };
9002
10289
  /**
9003
10290
  * SystemApi - functional programming interface
@@ -9012,13 +10299,20 @@ declare const SystemApiFp: (configuration?: Configuration) => {
9012
10299
  */
9013
10300
  getInbounds(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string | null>>>;
9014
10301
  /**
9015
- * Fetch system stats including memory, CPU, and user metrics.
10302
+ * Fetch system stats including memory, CPU, disk, and user metrics.
9016
10303
  * @summary Get System Stats
9017
10304
  * @param {string | null} [adminUsername]
9018
10305
  * @param {*} [options] Override http request option.
9019
10306
  * @throws {RequiredError}
9020
10307
  */
9021
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>>;
9022
10316
  };
9023
10317
  /**
9024
10318
  * SystemApi - factory interface
@@ -9033,13 +10327,20 @@ declare const SystemApiFactory: (configuration?: Configuration, basePath?: strin
9033
10327
  */
9034
10328
  getInbounds(options?: RawAxiosRequestConfig): AxiosPromise<Array<string | null>>;
9035
10329
  /**
9036
- * Fetch system stats including memory, CPU, and user metrics.
10330
+ * Fetch system stats including memory, CPU, disk, and user metrics.
9037
10331
  * @summary Get System Stats
9038
10332
  * @param {string | null} [adminUsername]
9039
10333
  * @param {*} [options] Override http request option.
9040
10334
  * @throws {RequiredError}
9041
10335
  */
9042
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>;
9043
10344
  };
9044
10345
  /**
9045
10346
  * SystemApi - object-oriented interface
@@ -9057,7 +10358,7 @@ declare class SystemApi extends BaseAPI {
9057
10358
  */
9058
10359
  getInbounds(options?: RawAxiosRequestConfig): Promise<(string | null)[]>;
9059
10360
  /**
9060
- * Fetch system stats including memory, CPU, and user metrics.
10361
+ * Fetch system stats including memory, CPU, disk, and user metrics.
9061
10362
  * @summary Get System Stats
9062
10363
  * @param {string | null} [adminUsername]
9063
10364
  * @param {*} [options] Override http request option.
@@ -9065,13 +10366,21 @@ declare class SystemApi extends BaseAPI {
9065
10366
  * @memberof SystemApi
9066
10367
  */
9067
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>;
9068
10377
  }
9069
10378
 
9070
10379
  /**
9071
10380
  * PasarGuardAPI
9072
10381
  * Unified GUI Censorship Resistant Solution
9073
10382
  *
9074
- * The version of the OpenAPI document: 1.8.2
10383
+ * The version of the OpenAPI document: 2.2.0
9075
10384
  *
9076
10385
  *
9077
10386
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9092,6 +10401,14 @@ declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
9092
10401
  * @throws {RequiredError}
9093
10402
  */
9094
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>;
9095
10412
  /**
9096
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
9097
10414
  * @summary Bulk sum/sub to data limit of users
@@ -9133,25 +10450,27 @@ declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
9133
10450
  */
9134
10451
  createUserFromTemplate: (createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9135
10452
  /**
9136
- * 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`
9137
10454
  * @summary Delete Expired Users
9138
10455
  * @param {string | null} [adminUsername]
10456
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9139
10457
  * @param {string | null} [expiredAfter]
9140
10458
  * @param {string | null} [expiredBefore]
9141
10459
  * @param {*} [options] Override http request option.
9142
10460
  * @throws {RequiredError}
9143
10461
  */
9144
- 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>;
9145
10463
  /**
9146
- * 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`
9147
10465
  * @summary Get Expired Users
9148
10466
  * @param {string | null} [adminUsername]
10467
+ * @param {GetExpiredUsersTargetEnum} [target]
9149
10468
  * @param {string | null} [expiredAfter]
9150
10469
  * @param {string | null} [expiredBefore]
9151
10470
  * @param {*} [options] Override http request option.
9152
10471
  * @throws {RequiredError}
9153
10472
  */
9154
- 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>;
9155
10474
  /**
9156
10475
  * Get user information
9157
10476
  * @summary Get User
@@ -9200,6 +10519,18 @@ declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
9200
10519
  * @throws {RequiredError}
9201
10520
  */
9202
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>;
9203
10534
  /**
9204
10535
  * Get subscription agent distribution percentages (optionally filtered by username)
9205
10536
  * @summary Get Users Sub Update Chart
@@ -9294,6 +10625,14 @@ declare const UserApiFp: (configuration?: Configuration) => {
9294
10625
  * @throws {RequiredError}
9295
10626
  */
9296
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>>;
9297
10636
  /**
9298
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
9299
10638
  * @summary Bulk sum/sub to data limit of users
@@ -9335,25 +10674,27 @@ declare const UserApiFp: (configuration?: Configuration) => {
9335
10674
  */
9336
10675
  createUserFromTemplate(createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>>;
9337
10676
  /**
9338
- * 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`
9339
10678
  * @summary Delete Expired Users
9340
10679
  * @param {string | null} [adminUsername]
10680
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9341
10681
  * @param {string | null} [expiredAfter]
9342
10682
  * @param {string | null} [expiredBefore]
9343
10683
  * @param {*} [options] Override http request option.
9344
10684
  * @throws {RequiredError}
9345
10685
  */
9346
- 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>>;
9347
10687
  /**
9348
- * 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`
9349
10689
  * @summary Get Expired Users
9350
10690
  * @param {string | null} [adminUsername]
10691
+ * @param {GetExpiredUsersTargetEnum} [target]
9351
10692
  * @param {string | null} [expiredAfter]
9352
10693
  * @param {string | null} [expiredBefore]
9353
10694
  * @param {*} [options] Override http request option.
9354
10695
  * @throws {RequiredError}
9355
10696
  */
9356
- 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>>>;
9357
10698
  /**
9358
10699
  * Get user information
9359
10700
  * @summary Get User
@@ -9402,6 +10743,18 @@ declare const UserApiFp: (configuration?: Configuration) => {
9402
10743
  * @throws {RequiredError}
9403
10744
  */
9404
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>>;
9405
10758
  /**
9406
10759
  * Get subscription agent distribution percentages (optionally filtered by username)
9407
10760
  * @summary Get Users Sub Update Chart
@@ -9496,6 +10849,14 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
9496
10849
  * @throws {RequiredError}
9497
10850
  */
9498
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>;
9499
10860
  /**
9500
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
9501
10862
  * @summary Bulk sum/sub to data limit of users
@@ -9537,25 +10898,27 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
9537
10898
  */
9538
10899
  createUserFromTemplate(createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse>;
9539
10900
  /**
9540
- * 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`
9541
10902
  * @summary Delete Expired Users
9542
10903
  * @param {string | null} [adminUsername]
10904
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9543
10905
  * @param {string | null} [expiredAfter]
9544
10906
  * @param {string | null} [expiredBefore]
9545
10907
  * @param {*} [options] Override http request option.
9546
10908
  * @throws {RequiredError}
9547
10909
  */
9548
- 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>;
9549
10911
  /**
9550
- * 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`
9551
10913
  * @summary Get Expired Users
9552
10914
  * @param {string | null} [adminUsername]
10915
+ * @param {GetExpiredUsersTargetEnum} [target]
9553
10916
  * @param {string | null} [expiredAfter]
9554
10917
  * @param {string | null} [expiredBefore]
9555
10918
  * @param {*} [options] Override http request option.
9556
10919
  * @throws {RequiredError}
9557
10920
  */
9558
- 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>>;
9559
10922
  /**
9560
10923
  * Get user information
9561
10924
  * @summary Get User
@@ -9604,6 +10967,18 @@ declare const UserApiFactory: (configuration?: Configuration, basePath?: string,
9604
10967
  * @throws {RequiredError}
9605
10968
  */
9606
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>;
9607
10982
  /**
9608
10983
  * Get subscription agent distribution percentages (optionally filtered by username)
9609
10984
  * @summary Get Users Sub Update Chart
@@ -9701,6 +11076,15 @@ declare class UserApi extends BaseAPI {
9701
11076
  * @memberof UserApi
9702
11077
  */
9703
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>;
9704
11088
  /**
9705
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
9706
11090
  * @summary Bulk sum/sub to data limit of users
@@ -9747,27 +11131,29 @@ declare class UserApi extends BaseAPI {
9747
11131
  */
9748
11132
  createUserFromTemplate(createUserFromTemplate: CreateUserFromTemplate, options?: RawAxiosRequestConfig): Promise<UserResponse>;
9749
11133
  /**
9750
- * 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`
9751
11135
  * @summary Delete Expired Users
9752
11136
  * @param {string | null} [adminUsername]
11137
+ * @param {DeleteExpiredUsersTargetEnum} [target]
9753
11138
  * @param {string | null} [expiredAfter]
9754
11139
  * @param {string | null} [expiredBefore]
9755
11140
  * @param {*} [options] Override http request option.
9756
11141
  * @throws {RequiredError}
9757
11142
  * @memberof UserApi
9758
11143
  */
9759
- 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>;
9760
11145
  /**
9761
- * 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`
9762
11147
  * @summary Get Expired Users
9763
11148
  * @param {string | null} [adminUsername]
11149
+ * @param {GetExpiredUsersTargetEnum} [target]
9764
11150
  * @param {string | null} [expiredAfter]
9765
11151
  * @param {string | null} [expiredBefore]
9766
11152
  * @param {*} [options] Override http request option.
9767
11153
  * @throws {RequiredError}
9768
11154
  * @memberof UserApi
9769
11155
  */
9770
- 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)[]>;
9771
11157
  /**
9772
11158
  * Get user information
9773
11159
  * @summary Get User
@@ -9820,6 +11206,19 @@ declare class UserApi extends BaseAPI {
9820
11206
  * @memberof UserApi
9821
11207
  */
9822
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>;
9823
11222
  /**
9824
11223
  * Get subscription agent distribution percentages (optionally filtered by username)
9825
11224
  * @summary Get Users Sub Update Chart
@@ -9910,12 +11309,28 @@ declare class UserApi extends BaseAPI {
9910
11309
  */
9911
11310
  setOwner(username: string, adminUsername: string, options?: RawAxiosRequestConfig): Promise<UserResponse>;
9912
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];
9913
11328
 
9914
11329
  /**
9915
11330
  * PasarGuardAPI
9916
11331
  * Unified GUI Censorship Resistant Solution
9917
11332
  *
9918
- * The version of the OpenAPI document: 1.8.2
11333
+ * The version of the OpenAPI document: 2.2.0
9919
11334
  *
9920
11335
  *
9921
11336
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9953,6 +11368,18 @@ declare const UserTemplateApiAxiosParamCreator: (configuration?: Configuration)
9953
11368
  * @throws {RequiredError}
9954
11369
  */
9955
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>;
9956
11383
  /**
9957
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
9958
11385
  * @summary Modify User Template
@@ -10001,6 +11428,18 @@ declare const UserTemplateApiFp: (configuration?: Configuration) => {
10001
11428
  * @throws {RequiredError}
10002
11429
  */
10003
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>>;
10004
11443
  /**
10005
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
10006
11445
  * @summary Modify User Template
@@ -10049,6 +11488,18 @@ declare const UserTemplateApiFactory: (configuration?: Configuration, basePath?:
10049
11488
  * @throws {RequiredError}
10050
11489
  */
10051
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>;
10052
11503
  /**
10053
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
10054
11505
  * @summary Modify User Template
@@ -10102,6 +11553,19 @@ declare class UserTemplateApi extends BaseAPI {
10102
11553
  * @memberof UserTemplateApi
10103
11554
  */
10104
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>;
10105
11569
  /**
10106
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
10107
11571
  * @summary Modify User Template
@@ -10259,4 +11723,4 @@ declare class PasarguardSDK {
10259
11723
  authorize(force?: boolean): Promise<void>;
10260
11724
  }
10261
11725
 
10262
- 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 };