@getmikan/sdk 0.5.201-rc.11 → 0.5.201-rc.13
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/schema.d.ts +2415 -319
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -227,6 +227,142 @@ export interface paths {
|
|
|
227
227
|
patch?: never;
|
|
228
228
|
trace?: never;
|
|
229
229
|
};
|
|
230
|
+
"/auth/github/callback": {
|
|
231
|
+
parameters: {
|
|
232
|
+
query?: never;
|
|
233
|
+
header?: never;
|
|
234
|
+
path?: never;
|
|
235
|
+
cookie?: never;
|
|
236
|
+
};
|
|
237
|
+
/** Возврат с GitHub */
|
|
238
|
+
get: operations["github-callback"];
|
|
239
|
+
put?: never;
|
|
240
|
+
post?: never;
|
|
241
|
+
delete?: never;
|
|
242
|
+
options?: never;
|
|
243
|
+
head?: never;
|
|
244
|
+
patch?: never;
|
|
245
|
+
trace?: never;
|
|
246
|
+
};
|
|
247
|
+
"/auth/identities": {
|
|
248
|
+
parameters: {
|
|
249
|
+
query?: never;
|
|
250
|
+
header?: never;
|
|
251
|
+
path?: never;
|
|
252
|
+
cookie?: never;
|
|
253
|
+
};
|
|
254
|
+
/** Аккаунты для входа (GitHub, Telegram) */
|
|
255
|
+
get: operations["list-identities"];
|
|
256
|
+
put?: never;
|
|
257
|
+
post?: never;
|
|
258
|
+
delete?: never;
|
|
259
|
+
options?: never;
|
|
260
|
+
head?: never;
|
|
261
|
+
patch?: never;
|
|
262
|
+
trace?: never;
|
|
263
|
+
};
|
|
264
|
+
"/auth/identities/github/begin": {
|
|
265
|
+
parameters: {
|
|
266
|
+
query?: never;
|
|
267
|
+
header?: never;
|
|
268
|
+
path?: never;
|
|
269
|
+
cookie?: never;
|
|
270
|
+
};
|
|
271
|
+
get?: never;
|
|
272
|
+
put?: never;
|
|
273
|
+
/** Начать привязку GitHub */
|
|
274
|
+
post: operations["github-link-begin"];
|
|
275
|
+
delete?: never;
|
|
276
|
+
options?: never;
|
|
277
|
+
head?: never;
|
|
278
|
+
patch?: never;
|
|
279
|
+
trace?: never;
|
|
280
|
+
};
|
|
281
|
+
"/auth/identities/telegram": {
|
|
282
|
+
parameters: {
|
|
283
|
+
query?: never;
|
|
284
|
+
header?: never;
|
|
285
|
+
path?: never;
|
|
286
|
+
cookie?: never;
|
|
287
|
+
};
|
|
288
|
+
get?: never;
|
|
289
|
+
put?: never;
|
|
290
|
+
/** Привязать Telegram */
|
|
291
|
+
post: operations["link-telegram"];
|
|
292
|
+
delete?: never;
|
|
293
|
+
options?: never;
|
|
294
|
+
head?: never;
|
|
295
|
+
patch?: never;
|
|
296
|
+
trace?: never;
|
|
297
|
+
};
|
|
298
|
+
"/auth/identities/telegram/begin": {
|
|
299
|
+
parameters: {
|
|
300
|
+
query?: never;
|
|
301
|
+
header?: never;
|
|
302
|
+
path?: never;
|
|
303
|
+
cookie?: never;
|
|
304
|
+
};
|
|
305
|
+
get?: never;
|
|
306
|
+
put?: never;
|
|
307
|
+
/** Начать привязку Telegram */
|
|
308
|
+
post: operations["telegram-link-begin"];
|
|
309
|
+
delete?: never;
|
|
310
|
+
options?: never;
|
|
311
|
+
head?: never;
|
|
312
|
+
patch?: never;
|
|
313
|
+
trace?: never;
|
|
314
|
+
};
|
|
315
|
+
"/auth/identities/{id}": {
|
|
316
|
+
parameters: {
|
|
317
|
+
query?: never;
|
|
318
|
+
header?: never;
|
|
319
|
+
path?: never;
|
|
320
|
+
cookie?: never;
|
|
321
|
+
};
|
|
322
|
+
get?: never;
|
|
323
|
+
put?: never;
|
|
324
|
+
post?: never;
|
|
325
|
+
/** Отвязать аккаунт */
|
|
326
|
+
delete: operations["delete-identity"];
|
|
327
|
+
options?: never;
|
|
328
|
+
head?: never;
|
|
329
|
+
patch?: never;
|
|
330
|
+
trace?: never;
|
|
331
|
+
};
|
|
332
|
+
"/auth/identity-providers": {
|
|
333
|
+
parameters: {
|
|
334
|
+
query?: never;
|
|
335
|
+
header?: never;
|
|
336
|
+
path?: never;
|
|
337
|
+
cookie?: never;
|
|
338
|
+
};
|
|
339
|
+
/** Настройка входа через GitHub и Telegram */
|
|
340
|
+
get: operations["identity-providers"];
|
|
341
|
+
put?: never;
|
|
342
|
+
post?: never;
|
|
343
|
+
delete?: never;
|
|
344
|
+
options?: never;
|
|
345
|
+
head?: never;
|
|
346
|
+
patch?: never;
|
|
347
|
+
trace?: never;
|
|
348
|
+
};
|
|
349
|
+
"/auth/identity-providers/github": {
|
|
350
|
+
parameters: {
|
|
351
|
+
query?: never;
|
|
352
|
+
header?: never;
|
|
353
|
+
path?: never;
|
|
354
|
+
cookie?: never;
|
|
355
|
+
};
|
|
356
|
+
get?: never;
|
|
357
|
+
/** OAuth-приложение GitHub */
|
|
358
|
+
put: operations["set-github-app"];
|
|
359
|
+
post?: never;
|
|
360
|
+
delete?: never;
|
|
361
|
+
options?: never;
|
|
362
|
+
head?: never;
|
|
363
|
+
patch?: never;
|
|
364
|
+
trace?: never;
|
|
365
|
+
};
|
|
230
366
|
"/auth/login": {
|
|
231
367
|
parameters: {
|
|
232
368
|
query?: never;
|
|
@@ -244,6 +380,57 @@ export interface paths {
|
|
|
244
380
|
patch?: never;
|
|
245
381
|
trace?: never;
|
|
246
382
|
};
|
|
383
|
+
"/auth/login/github": {
|
|
384
|
+
parameters: {
|
|
385
|
+
query?: never;
|
|
386
|
+
header?: never;
|
|
387
|
+
path?: never;
|
|
388
|
+
cookie?: never;
|
|
389
|
+
};
|
|
390
|
+
get?: never;
|
|
391
|
+
put?: never;
|
|
392
|
+
/** Вход через GitHub */
|
|
393
|
+
post: operations["github-login"];
|
|
394
|
+
delete?: never;
|
|
395
|
+
options?: never;
|
|
396
|
+
head?: never;
|
|
397
|
+
patch?: never;
|
|
398
|
+
trace?: never;
|
|
399
|
+
};
|
|
400
|
+
"/auth/login/github/begin": {
|
|
401
|
+
parameters: {
|
|
402
|
+
query?: never;
|
|
403
|
+
header?: never;
|
|
404
|
+
path?: never;
|
|
405
|
+
cookie?: never;
|
|
406
|
+
};
|
|
407
|
+
get?: never;
|
|
408
|
+
put?: never;
|
|
409
|
+
/** Начать вход через GitHub */
|
|
410
|
+
post: operations["github-login-begin"];
|
|
411
|
+
delete?: never;
|
|
412
|
+
options?: never;
|
|
413
|
+
head?: never;
|
|
414
|
+
patch?: never;
|
|
415
|
+
trace?: never;
|
|
416
|
+
};
|
|
417
|
+
"/auth/login/methods": {
|
|
418
|
+
parameters: {
|
|
419
|
+
query?: never;
|
|
420
|
+
header?: never;
|
|
421
|
+
path?: never;
|
|
422
|
+
cookie?: never;
|
|
423
|
+
};
|
|
424
|
+
/** Способы входа */
|
|
425
|
+
get: operations["login-methods"];
|
|
426
|
+
put?: never;
|
|
427
|
+
post?: never;
|
|
428
|
+
delete?: never;
|
|
429
|
+
options?: never;
|
|
430
|
+
head?: never;
|
|
431
|
+
patch?: never;
|
|
432
|
+
trace?: never;
|
|
433
|
+
};
|
|
247
434
|
"/auth/login/passkey": {
|
|
248
435
|
parameters: {
|
|
249
436
|
query?: never;
|
|
@@ -278,6 +465,40 @@ export interface paths {
|
|
|
278
465
|
patch?: never;
|
|
279
466
|
trace?: never;
|
|
280
467
|
};
|
|
468
|
+
"/auth/login/telegram": {
|
|
469
|
+
parameters: {
|
|
470
|
+
query?: never;
|
|
471
|
+
header?: never;
|
|
472
|
+
path?: never;
|
|
473
|
+
cookie?: never;
|
|
474
|
+
};
|
|
475
|
+
get?: never;
|
|
476
|
+
put?: never;
|
|
477
|
+
/** Вход через Telegram */
|
|
478
|
+
post: operations["telegram-login"];
|
|
479
|
+
delete?: never;
|
|
480
|
+
options?: never;
|
|
481
|
+
head?: never;
|
|
482
|
+
patch?: never;
|
|
483
|
+
trace?: never;
|
|
484
|
+
};
|
|
485
|
+
"/auth/login/telegram/begin": {
|
|
486
|
+
parameters: {
|
|
487
|
+
query?: never;
|
|
488
|
+
header?: never;
|
|
489
|
+
path?: never;
|
|
490
|
+
cookie?: never;
|
|
491
|
+
};
|
|
492
|
+
get?: never;
|
|
493
|
+
put?: never;
|
|
494
|
+
/** Начать вход через Telegram */
|
|
495
|
+
post: operations["telegram-login-begin"];
|
|
496
|
+
delete?: never;
|
|
497
|
+
options?: never;
|
|
498
|
+
head?: never;
|
|
499
|
+
patch?: never;
|
|
500
|
+
trace?: never;
|
|
501
|
+
};
|
|
281
502
|
"/auth/logout": {
|
|
282
503
|
parameters: {
|
|
283
504
|
query?: never;
|
|
@@ -570,6 +791,59 @@ export interface paths {
|
|
|
570
791
|
patch: operations["update-campaign"];
|
|
571
792
|
trace?: never;
|
|
572
793
|
};
|
|
794
|
+
"/custom-fields": {
|
|
795
|
+
parameters: {
|
|
796
|
+
query?: never;
|
|
797
|
+
header?: never;
|
|
798
|
+
path?: never;
|
|
799
|
+
cookie?: never;
|
|
800
|
+
};
|
|
801
|
+
/** Свои поля пользователей и нод */
|
|
802
|
+
get: operations["list-custom-fields"];
|
|
803
|
+
put?: never;
|
|
804
|
+
/** Добавить своё поле */
|
|
805
|
+
post: operations["create-custom-field"];
|
|
806
|
+
delete?: never;
|
|
807
|
+
options?: never;
|
|
808
|
+
head?: never;
|
|
809
|
+
patch?: never;
|
|
810
|
+
trace?: never;
|
|
811
|
+
};
|
|
812
|
+
"/custom-fields/order": {
|
|
813
|
+
parameters: {
|
|
814
|
+
query?: never;
|
|
815
|
+
header?: never;
|
|
816
|
+
path?: never;
|
|
817
|
+
cookie?: never;
|
|
818
|
+
};
|
|
819
|
+
get?: never;
|
|
820
|
+
/** Порядок своих полей */
|
|
821
|
+
put: operations["order-custom-fields"];
|
|
822
|
+
post?: never;
|
|
823
|
+
delete?: never;
|
|
824
|
+
options?: never;
|
|
825
|
+
head?: never;
|
|
826
|
+
patch?: never;
|
|
827
|
+
trace?: never;
|
|
828
|
+
};
|
|
829
|
+
"/custom-fields/{id}": {
|
|
830
|
+
parameters: {
|
|
831
|
+
query?: never;
|
|
832
|
+
header?: never;
|
|
833
|
+
path?: never;
|
|
834
|
+
cookie?: never;
|
|
835
|
+
};
|
|
836
|
+
get?: never;
|
|
837
|
+
put?: never;
|
|
838
|
+
post?: never;
|
|
839
|
+
/** Удалить своё поле вместе с его значениями */
|
|
840
|
+
delete: operations["delete-custom-field"];
|
|
841
|
+
options?: never;
|
|
842
|
+
head?: never;
|
|
843
|
+
/** Переименовать своё поле */
|
|
844
|
+
patch: operations["update-custom-field"];
|
|
845
|
+
trace?: never;
|
|
846
|
+
};
|
|
573
847
|
"/exit-dns": {
|
|
574
848
|
parameters: {
|
|
575
849
|
query?: never;
|
|
@@ -665,49 +939,42 @@ export interface paths {
|
|
|
665
939
|
patch: operations["update-folder"];
|
|
666
940
|
trace?: never;
|
|
667
941
|
};
|
|
668
|
-
"/
|
|
942
|
+
"/groups": {
|
|
669
943
|
parameters: {
|
|
670
944
|
query?: never;
|
|
671
945
|
header?: never;
|
|
672
946
|
path?: never;
|
|
673
947
|
cookie?: never;
|
|
674
948
|
};
|
|
675
|
-
|
|
949
|
+
/** Группы клиентов */
|
|
950
|
+
get: operations["list-groups"];
|
|
676
951
|
put?: never;
|
|
677
|
-
/**
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
*/
|
|
681
|
-
post: operations["import-run"];
|
|
682
|
-
/**
|
|
683
|
-
* Остановить импорт
|
|
684
|
-
* @description Уже созданные пользователи остаются, их список — в отчёте.
|
|
685
|
-
*/
|
|
686
|
-
delete: operations["import-cancel"];
|
|
952
|
+
/** Создать группу клиентов */
|
|
953
|
+
post: operations["create-group"];
|
|
954
|
+
delete?: never;
|
|
687
955
|
options?: never;
|
|
688
956
|
head?: never;
|
|
689
957
|
patch?: never;
|
|
690
958
|
trace?: never;
|
|
691
959
|
};
|
|
692
|
-
"/
|
|
960
|
+
"/groups/order": {
|
|
693
961
|
parameters: {
|
|
694
962
|
query?: never;
|
|
695
963
|
header?: never;
|
|
696
964
|
path?: never;
|
|
697
965
|
cookie?: never;
|
|
698
966
|
};
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
put
|
|
967
|
+
get?: never;
|
|
968
|
+
/** Порядок групп клиентов */
|
|
969
|
+
put: operations["order-groups"];
|
|
702
970
|
post?: never;
|
|
703
971
|
delete?: never;
|
|
704
972
|
options?: never;
|
|
705
973
|
head?: never;
|
|
706
|
-
|
|
707
|
-
patch: operations["update-legacy-links"];
|
|
974
|
+
patch?: never;
|
|
708
975
|
trace?: never;
|
|
709
976
|
};
|
|
710
|
-
"/
|
|
977
|
+
"/groups/{id}": {
|
|
711
978
|
parameters: {
|
|
712
979
|
query?: never;
|
|
713
980
|
header?: never;
|
|
@@ -716,35 +983,137 @@ export interface paths {
|
|
|
716
983
|
};
|
|
717
984
|
get?: never;
|
|
718
985
|
put?: never;
|
|
986
|
+
post?: never;
|
|
719
987
|
/**
|
|
720
|
-
*
|
|
721
|
-
* @description
|
|
988
|
+
* Удалить группу: её клиенты и тарифы остаются без неё
|
|
989
|
+
* @description Клиенты группы возвращаются к серверам тарифа. Адрес, который выдавался только этой группе, больше не выдаётся никому, пока ему не выберут другие группы.
|
|
722
990
|
*/
|
|
723
|
-
|
|
724
|
-
delete?: never;
|
|
991
|
+
delete: operations["delete-group"];
|
|
725
992
|
options?: never;
|
|
726
993
|
head?: never;
|
|
727
|
-
|
|
994
|
+
/** Изменить группу клиентов */
|
|
995
|
+
patch: operations["update-group"];
|
|
728
996
|
trace?: never;
|
|
729
997
|
};
|
|
730
|
-
"/
|
|
998
|
+
"/groups/{id}/page": {
|
|
731
999
|
parameters: {
|
|
732
1000
|
query?: never;
|
|
733
1001
|
header?: never;
|
|
734
1002
|
path?: never;
|
|
735
1003
|
cookie?: never;
|
|
736
1004
|
};
|
|
737
|
-
/**
|
|
738
|
-
get: operations["
|
|
739
|
-
|
|
1005
|
+
/** Страница подписки группы */
|
|
1006
|
+
get: operations["get-group-page"];
|
|
1007
|
+
/** Своя страница подписки группы */
|
|
1008
|
+
put: operations["put-group-page"];
|
|
740
1009
|
post?: never;
|
|
741
|
-
|
|
1010
|
+
/** Группе — страница подписки для всех */
|
|
1011
|
+
delete: operations["delete-group-page"];
|
|
742
1012
|
options?: never;
|
|
743
1013
|
head?: never;
|
|
744
1014
|
patch?: never;
|
|
745
1015
|
trace?: never;
|
|
746
1016
|
};
|
|
747
|
-
"/
|
|
1017
|
+
"/import": {
|
|
1018
|
+
parameters: {
|
|
1019
|
+
query?: never;
|
|
1020
|
+
header?: never;
|
|
1021
|
+
path?: never;
|
|
1022
|
+
cookie?: never;
|
|
1023
|
+
};
|
|
1024
|
+
get?: never;
|
|
1025
|
+
put?: never;
|
|
1026
|
+
/**
|
|
1027
|
+
* Перенести пользователей из другой панели
|
|
1028
|
+
* @description Импорт идёт в фоне: ответ 202 сразу, ход и итог — в GET /api/v1/import/status.
|
|
1029
|
+
*/
|
|
1030
|
+
post: operations["import-run"];
|
|
1031
|
+
/**
|
|
1032
|
+
* Остановить импорт
|
|
1033
|
+
* @description Уже созданные пользователи остаются, их список — в отчёте.
|
|
1034
|
+
*/
|
|
1035
|
+
delete: operations["import-cancel"];
|
|
1036
|
+
options?: never;
|
|
1037
|
+
head?: never;
|
|
1038
|
+
patch?: never;
|
|
1039
|
+
trace?: never;
|
|
1040
|
+
};
|
|
1041
|
+
"/import/bot": {
|
|
1042
|
+
parameters: {
|
|
1043
|
+
query?: never;
|
|
1044
|
+
header?: never;
|
|
1045
|
+
path?: never;
|
|
1046
|
+
cookie?: never;
|
|
1047
|
+
};
|
|
1048
|
+
get?: never;
|
|
1049
|
+
put?: never;
|
|
1050
|
+
/**
|
|
1051
|
+
* Перенести аккаунты из бота продаж
|
|
1052
|
+
* @description Telegram-аккаунты бота становятся владельцами своих подписок, их балансы переносятся один раз, завершённые транзакции — в историю. Идёт в фоне: ответ 202 сразу, ход и итог — в GET /api/v1/import/status (bot_report).
|
|
1053
|
+
*/
|
|
1054
|
+
post: operations["import-bot"];
|
|
1055
|
+
delete?: never;
|
|
1056
|
+
options?: never;
|
|
1057
|
+
head?: never;
|
|
1058
|
+
patch?: never;
|
|
1059
|
+
trace?: never;
|
|
1060
|
+
};
|
|
1061
|
+
"/import/legacy": {
|
|
1062
|
+
parameters: {
|
|
1063
|
+
query?: never;
|
|
1064
|
+
header?: never;
|
|
1065
|
+
path?: never;
|
|
1066
|
+
cookie?: never;
|
|
1067
|
+
};
|
|
1068
|
+
/** Старые ссылки подписки */
|
|
1069
|
+
get: operations["get-legacy-links"];
|
|
1070
|
+
put?: never;
|
|
1071
|
+
post?: never;
|
|
1072
|
+
delete?: never;
|
|
1073
|
+
options?: never;
|
|
1074
|
+
head?: never;
|
|
1075
|
+
/** Настроить старые ссылки подписки */
|
|
1076
|
+
patch: operations["update-legacy-links"];
|
|
1077
|
+
trace?: never;
|
|
1078
|
+
};
|
|
1079
|
+
"/import/preview": {
|
|
1080
|
+
parameters: {
|
|
1081
|
+
query?: never;
|
|
1082
|
+
header?: never;
|
|
1083
|
+
path?: never;
|
|
1084
|
+
cookie?: never;
|
|
1085
|
+
};
|
|
1086
|
+
get?: never;
|
|
1087
|
+
put?: never;
|
|
1088
|
+
/**
|
|
1089
|
+
* Что перенесётся из другой панели
|
|
1090
|
+
* @description Идёт в фоне: ответ 202 сразу, итог — в GET /api/v1/import/status (preview).
|
|
1091
|
+
*/
|
|
1092
|
+
post: operations["import-preview"];
|
|
1093
|
+
delete?: never;
|
|
1094
|
+
options?: never;
|
|
1095
|
+
head?: never;
|
|
1096
|
+
patch?: never;
|
|
1097
|
+
trace?: never;
|
|
1098
|
+
};
|
|
1099
|
+
"/import/status": {
|
|
1100
|
+
parameters: {
|
|
1101
|
+
query?: never;
|
|
1102
|
+
header?: never;
|
|
1103
|
+
path?: never;
|
|
1104
|
+
cookie?: never;
|
|
1105
|
+
};
|
|
1106
|
+
/** Ход импорта */
|
|
1107
|
+
get: operations["import-status"];
|
|
1108
|
+
put?: never;
|
|
1109
|
+
post?: never;
|
|
1110
|
+
delete?: never;
|
|
1111
|
+
options?: never;
|
|
1112
|
+
head?: never;
|
|
1113
|
+
patch?: never;
|
|
1114
|
+
trace?: never;
|
|
1115
|
+
};
|
|
1116
|
+
"/inbounds": {
|
|
748
1117
|
parameters: {
|
|
749
1118
|
query?: never;
|
|
750
1119
|
header?: never;
|
|
@@ -796,6 +1165,27 @@ export interface paths {
|
|
|
796
1165
|
patch?: never;
|
|
797
1166
|
trace?: never;
|
|
798
1167
|
};
|
|
1168
|
+
"/inbounds/order": {
|
|
1169
|
+
parameters: {
|
|
1170
|
+
query?: never;
|
|
1171
|
+
header?: never;
|
|
1172
|
+
path?: never;
|
|
1173
|
+
cookie?: never;
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* Порядок серверов в подписке
|
|
1177
|
+
* @description Все серверы подписок по порядку, у всех нод: каждый адрес для клиентов каждого подключения. Каждый клиент получает те из них, что ему доступны, в этом порядке.
|
|
1178
|
+
*/
|
|
1179
|
+
get: operations["list-server-order"];
|
|
1180
|
+
/** Задать порядок серверов в подписке */
|
|
1181
|
+
put: operations["order-servers"];
|
|
1182
|
+
post?: never;
|
|
1183
|
+
delete?: never;
|
|
1184
|
+
options?: never;
|
|
1185
|
+
head?: never;
|
|
1186
|
+
patch?: never;
|
|
1187
|
+
trace?: never;
|
|
1188
|
+
};
|
|
799
1189
|
"/inbounds/scan-targets": {
|
|
800
1190
|
parameters: {
|
|
801
1191
|
query?: never;
|
|
@@ -1090,7 +1480,7 @@ export interface paths {
|
|
|
1090
1480
|
cookie?: never;
|
|
1091
1481
|
};
|
|
1092
1482
|
get?: never;
|
|
1093
|
-
/** Порядок
|
|
1483
|
+
/** Порядок нод в подписке */
|
|
1094
1484
|
put: operations["order-nodes"];
|
|
1095
1485
|
post?: never;
|
|
1096
1486
|
delete?: never;
|
|
@@ -3266,6 +3656,26 @@ export interface paths {
|
|
|
3266
3656
|
patch?: never;
|
|
3267
3657
|
trace?: never;
|
|
3268
3658
|
};
|
|
3659
|
+
"/users/{id}/sub-preview": {
|
|
3660
|
+
parameters: {
|
|
3661
|
+
query?: never;
|
|
3662
|
+
header?: never;
|
|
3663
|
+
path?: never;
|
|
3664
|
+
cookie?: never;
|
|
3665
|
+
};
|
|
3666
|
+
get?: never;
|
|
3667
|
+
put?: never;
|
|
3668
|
+
/**
|
|
3669
|
+
* Что получит клиент: ответ на запрос его подписки
|
|
3670
|
+
* @description Ничего не меняет: ключи — заглушки, устройство места не занимает, балансировка клиента никуда не ставит, журнал запросов не пишется.
|
|
3671
|
+
*/
|
|
3672
|
+
post: operations["user-sub-preview"];
|
|
3673
|
+
delete?: never;
|
|
3674
|
+
options?: never;
|
|
3675
|
+
head?: never;
|
|
3676
|
+
patch?: never;
|
|
3677
|
+
trace?: never;
|
|
3678
|
+
};
|
|
3269
3679
|
"/users/{id}/telegram": {
|
|
3270
3680
|
parameters: {
|
|
3271
3681
|
query?: never;
|
|
@@ -3439,7 +3849,7 @@ export interface components {
|
|
|
3439
3849
|
/** @description Первые символы ключа, чтобы отличать ключи */
|
|
3440
3850
|
prefix: string;
|
|
3441
3851
|
/** @enum {string} */
|
|
3442
|
-
scope: "read" | "full";
|
|
3852
|
+
scope: "read" | "full" | "subscription";
|
|
3443
3853
|
};
|
|
3444
3854
|
Action: {
|
|
3445
3855
|
format?: string;
|
|
@@ -3878,10 +4288,84 @@ export interface components {
|
|
|
3878
4288
|
/** Format: int64 */
|
|
3879
4289
|
balance: number;
|
|
3880
4290
|
currency: string;
|
|
4291
|
+
/** @description История из бота продаж, откуда перенесён аккаунт: последние 50; это не платежи mikan */
|
|
4292
|
+
imported: components["schemas"]["ImportedPaymentView"][];
|
|
3881
4293
|
ops: components["schemas"]["BalanceOpView"][];
|
|
3882
4294
|
/** Format: int64 */
|
|
3883
4295
|
tg_id: number;
|
|
3884
4296
|
};
|
|
4297
|
+
BotPreview: {
|
|
4298
|
+
/**
|
|
4299
|
+
* Format: int64
|
|
4300
|
+
* @description Telegram-аккаунты бота
|
|
4301
|
+
*/
|
|
4302
|
+
accounts: number;
|
|
4303
|
+
/**
|
|
4304
|
+
* Format: int64
|
|
4305
|
+
* @description Сколько всего, в копейках (сотых) валюты баланса
|
|
4306
|
+
*/
|
|
4307
|
+
balance_total: number;
|
|
4308
|
+
/**
|
|
4309
|
+
* Format: int64
|
|
4310
|
+
* @description Аккаунты, чей баланс будет перенесён
|
|
4311
|
+
*/
|
|
4312
|
+
balances: number;
|
|
4313
|
+
/**
|
|
4314
|
+
* Format: int64
|
|
4315
|
+
* @description Аккаунты, чей баланс уже перенесён прежде: второй раз он не добавится
|
|
4316
|
+
*/
|
|
4317
|
+
carried: number;
|
|
4318
|
+
/** @description Валюта баланса mikan; пусто — не выбрана, и балансы не переносятся */
|
|
4319
|
+
currency: string;
|
|
4320
|
+
/**
|
|
4321
|
+
* Format: int64
|
|
4322
|
+
* @description Подписки, которые получат аккаунт-владельца
|
|
4323
|
+
*/
|
|
4324
|
+
links: number;
|
|
4325
|
+
/**
|
|
4326
|
+
* Format: int64
|
|
4327
|
+
* @description Аккаунты, чьи подписки нашлись среди пользователей mikan
|
|
4328
|
+
*/
|
|
4329
|
+
matched: number;
|
|
4330
|
+
/** @description Подписки, у которых уже другой владелец: он остаётся */
|
|
4331
|
+
owned: components["schemas"]["List"];
|
|
4332
|
+
/**
|
|
4333
|
+
* Format: int64
|
|
4334
|
+
* @description Завершённые транзакции бота
|
|
4335
|
+
*/
|
|
4336
|
+
payments: number;
|
|
4337
|
+
/** @description Аккаунты с подпиской в боте, которой нет в mikan: сначала импортируйте пользователей Remnawave */
|
|
4338
|
+
unmatched: components["schemas"]["List"];
|
|
4339
|
+
};
|
|
4340
|
+
BotReport: {
|
|
4341
|
+
/**
|
|
4342
|
+
* Format: int64
|
|
4343
|
+
* @description Аккаунты, у которых что-то перенесено
|
|
4344
|
+
*/
|
|
4345
|
+
accounts: number;
|
|
4346
|
+
/** Format: int64 */
|
|
4347
|
+
balance_total: number;
|
|
4348
|
+
/**
|
|
4349
|
+
* Format: int64
|
|
4350
|
+
* @description Аккаунты, чей баланс перенесён
|
|
4351
|
+
*/
|
|
4352
|
+
balances: number;
|
|
4353
|
+
currency: string;
|
|
4354
|
+
/** @description Аккаунты, которые не удалось сохранить */
|
|
4355
|
+
failed: components["schemas"]["List"];
|
|
4356
|
+
/**
|
|
4357
|
+
* Format: int64
|
|
4358
|
+
* @description Подписки, получившие аккаунт-владельца
|
|
4359
|
+
*/
|
|
4360
|
+
links: number;
|
|
4361
|
+
/** @description Подписки с другим владельцем: оставлены как были */
|
|
4362
|
+
owned: components["schemas"]["List"];
|
|
4363
|
+
/**
|
|
4364
|
+
* Format: int64
|
|
4365
|
+
* @description Транзакции, добавленные в историю (уже перенесённые не повторяются)
|
|
4366
|
+
*/
|
|
4367
|
+
payments: number;
|
|
4368
|
+
};
|
|
3885
4369
|
BotSlotInputBody: {
|
|
3886
4370
|
/** @description id аддона с правом bot или пусто */
|
|
3887
4371
|
addon: string;
|
|
@@ -3956,6 +4440,11 @@ export interface components {
|
|
|
3956
4440
|
* @default all
|
|
3957
4441
|
*/
|
|
3958
4442
|
folder: string;
|
|
4443
|
+
/**
|
|
4444
|
+
* @description all — любая; none — ни в какой группе; число — id группы (своей или тарифа)
|
|
4445
|
+
* @default all
|
|
4446
|
+
*/
|
|
4447
|
+
group: string;
|
|
3959
4448
|
/**
|
|
3960
4449
|
* @description Как у списка: по умолчанию вместе со скрытыми
|
|
3961
4450
|
* @default show
|
|
@@ -3968,7 +4457,7 @@ export interface components {
|
|
|
3968
4457
|
* @default all
|
|
3969
4458
|
* @enum {string}
|
|
3970
4459
|
*/
|
|
3971
|
-
source: "all" | "admin" | "bot" | "trial" | "free" | "import";
|
|
4460
|
+
source: "all" | "admin" | "bot" | "web" | "trial" | "free" | "import";
|
|
3972
4461
|
/**
|
|
3973
4462
|
* @default all
|
|
3974
4463
|
* @enum {string}
|
|
@@ -3977,10 +4466,10 @@ export interface components {
|
|
|
3977
4466
|
};
|
|
3978
4467
|
BulkInputBody: {
|
|
3979
4468
|
/**
|
|
3980
|
-
* @description hide и unhide прячут пользователей из списка и возвращают, move кладёт в папку: ни то ни другое не меняет
|
|
4469
|
+
* @description hide и unhide прячут пользователей из списка и возвращают, move кладёт в папку: ни то ни другое не меняет доступ. group даёт клиентам свою группу: от неё зависят серверы и адреса, которые они видят
|
|
3981
4470
|
* @enum {string}
|
|
3982
4471
|
*/
|
|
3983
|
-
action: "extend" | "reset" | "disable" | "enable" | "delete" | "hide" | "unhide" | "move";
|
|
4472
|
+
action: "extend" | "reset" | "disable" | "enable" | "delete" | "hide" | "unhide" | "move" | "group";
|
|
3984
4473
|
/**
|
|
3985
4474
|
* Format: int64
|
|
3986
4475
|
* @description Для extend; не задано — на один период: до следующего дня оплаты или на 30 дней
|
|
@@ -3995,6 +4484,11 @@ export interface components {
|
|
|
3995
4484
|
* @description Для move: папка; 0 или не задано — убрать из папок
|
|
3996
4485
|
*/
|
|
3997
4486
|
folder_id?: number;
|
|
4487
|
+
/**
|
|
4488
|
+
* Format: int64
|
|
4489
|
+
* @description Для group: группа; 0 или не задано — убрать свою группу, клиенты вернутся в группы своих тарифов
|
|
4490
|
+
*/
|
|
4491
|
+
group_id?: number;
|
|
3998
4492
|
/** @description Пользователи по id; задаётся либо ids, либо filter */
|
|
3999
4493
|
ids?: number[];
|
|
4000
4494
|
};
|
|
@@ -4045,6 +4539,11 @@ export interface components {
|
|
|
4045
4539
|
expires_at: string | null;
|
|
4046
4540
|
/** Format: int64 */
|
|
4047
4541
|
folder_id: number | null;
|
|
4542
|
+
/**
|
|
4543
|
+
* Format: int64
|
|
4544
|
+
* @description Только для group: своя группа клиента сейчас
|
|
4545
|
+
*/
|
|
4546
|
+
group_id: number | null;
|
|
4048
4547
|
/** @enum {string} */
|
|
4049
4548
|
state: "active" | "expiring" | "limited" | "expired" | "disabled";
|
|
4050
4549
|
/**
|
|
@@ -4340,10 +4839,10 @@ export interface components {
|
|
|
4340
4839
|
/** @description Пароль админа: ключ не выпускается из одной лишь украденной сессии */
|
|
4341
4840
|
password: string;
|
|
4342
4841
|
/**
|
|
4343
|
-
* @description read — только GET-запросы, без ссылок подписок и секретных адресов; full — изменения, кроме входа, сессий, ключей и операций, где уходят деньги, ключи и адреса клиентов (в справочнике помечены «только сессия»)
|
|
4842
|
+
* @description subscription — только mikan-sub; read — только GET-запросы, без ссылок подписок и секретных адресов; full — изменения, кроме входа, сессий, ключей и операций, где уходят деньги, ключи и адреса клиентов (в справочнике помечены «только сессия»)
|
|
4344
4843
|
* @enum {string}
|
|
4345
4844
|
*/
|
|
4346
|
-
scope: "read" | "full";
|
|
4845
|
+
scope: "read" | "full" | "subscription";
|
|
4347
4846
|
/** @description Код из приложения, если включена 2FA */
|
|
4348
4847
|
totp?: string;
|
|
4349
4848
|
};
|
|
@@ -4363,13 +4862,25 @@ export interface components {
|
|
|
4363
4862
|
/** @description Первые символы ключа, чтобы отличать ключи */
|
|
4364
4863
|
prefix: string;
|
|
4365
4864
|
/** @enum {string} */
|
|
4366
|
-
scope: "read" | "full";
|
|
4865
|
+
scope: "read" | "full" | "subscription";
|
|
4367
4866
|
};
|
|
4368
4867
|
CreateCampaignInputBody: {
|
|
4369
4868
|
/** @description Метка в ссылке: латиница, цифры, _ и -; пусто — случайная */
|
|
4370
4869
|
code?: string;
|
|
4371
4870
|
name: string;
|
|
4372
4871
|
};
|
|
4872
|
+
CreateCustomFieldInputBody: {
|
|
4873
|
+
/** @description Латиница в нижнем регистре, цифры и _, с буквы; потом не меняется */
|
|
4874
|
+
key: string;
|
|
4875
|
+
/**
|
|
4876
|
+
* @description Потом не меняется
|
|
4877
|
+
* @enum {string}
|
|
4878
|
+
*/
|
|
4879
|
+
kind: "text" | "number" | "bool" | "date" | "url";
|
|
4880
|
+
label: string;
|
|
4881
|
+
/** @enum {string} */
|
|
4882
|
+
scope: "user" | "node";
|
|
4883
|
+
};
|
|
4373
4884
|
CreateFolderInputBody: {
|
|
4374
4885
|
/**
|
|
4375
4886
|
* @description Не задан — gray
|
|
@@ -4379,6 +4890,17 @@ export interface components {
|
|
|
4379
4890
|
emoji?: string;
|
|
4380
4891
|
name: string;
|
|
4381
4892
|
};
|
|
4893
|
+
CreateGroupInputBody: {
|
|
4894
|
+
/**
|
|
4895
|
+
* @description Не задан — gray
|
|
4896
|
+
* @enum {string}
|
|
4897
|
+
*/
|
|
4898
|
+
color?: "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink";
|
|
4899
|
+
emoji?: string;
|
|
4900
|
+
name: string;
|
|
4901
|
+
/** @description Не передан — как в тарифе */
|
|
4902
|
+
servers?: components["schemas"]["GroupServersBody"];
|
|
4903
|
+
};
|
|
4382
4904
|
CreateInboundInputBody: {
|
|
4383
4905
|
/** @description Шаблон листенера (YAML) для preset=custom */
|
|
4384
4906
|
config?: string;
|
|
@@ -4452,6 +4974,10 @@ export interface components {
|
|
|
4452
4974
|
};
|
|
4453
4975
|
CreateUserInputBody: {
|
|
4454
4976
|
contact?: string;
|
|
4977
|
+
/** @description Значения своих полей по ключу; пустая строка — без значения */
|
|
4978
|
+
custom_fields?: {
|
|
4979
|
+
[key: string]: string;
|
|
4980
|
+
};
|
|
4455
4981
|
name: string;
|
|
4456
4982
|
note?: string;
|
|
4457
4983
|
/** @description Срок начнётся с первого подключения; не задано — как у тарифа */
|
|
@@ -4472,6 +4998,29 @@ export interface components {
|
|
|
4472
4998
|
/** @description http:// или https:// и адрес получателя. Адреса этого сервера, его сети и облачных метаданных панель не принимает; для адресов сети нужен allow_local */
|
|
4473
4999
|
url: string;
|
|
4474
5000
|
};
|
|
5001
|
+
CustomFieldView: {
|
|
5002
|
+
/** Format: int64 */
|
|
5003
|
+
id: number;
|
|
5004
|
+
/** @description Имя поля в API: ключ в custom_fields пользователя или ноды */
|
|
5005
|
+
key: string;
|
|
5006
|
+
/**
|
|
5007
|
+
* @description text — строка, number — число, bool — да/нет (значение true), date — дата YYYY-MM-DD, url — ссылка http(s)
|
|
5008
|
+
* @enum {string}
|
|
5009
|
+
*/
|
|
5010
|
+
kind: "text" | "number" | "bool" | "date" | "url";
|
|
5011
|
+
/** @description Название поля в панели */
|
|
5012
|
+
label: string;
|
|
5013
|
+
/**
|
|
5014
|
+
* @description Чьё поле: пользователей или нод
|
|
5015
|
+
* @enum {string}
|
|
5016
|
+
*/
|
|
5017
|
+
scope: "user" | "node";
|
|
5018
|
+
/**
|
|
5019
|
+
* Format: int64
|
|
5020
|
+
* @description У скольких пользователей или нод поле заполнено
|
|
5021
|
+
*/
|
|
5022
|
+
values: number;
|
|
5023
|
+
};
|
|
4475
5024
|
DNS: {
|
|
4476
5025
|
default_nameserver?: string[];
|
|
4477
5026
|
nameserver?: string[];
|
|
@@ -4714,6 +5263,26 @@ export interface components {
|
|
|
4714
5263
|
/** @description IP или домен сервера */
|
|
4715
5264
|
host: string;
|
|
4716
5265
|
};
|
|
5266
|
+
GitHubProvider: {
|
|
5267
|
+
/** @description Authorization callback URL, который нужно указать в приложении GitHub; пусто, пока у панели нет адреса */
|
|
5268
|
+
callback_url: string;
|
|
5269
|
+
/** @description Client ID OAuth-приложения GitHub; пусто — вход через GitHub выключен */
|
|
5270
|
+
client_id: string;
|
|
5271
|
+
/** @description Client secret сохранён (сам он не показывается) */
|
|
5272
|
+
secret_set: boolean;
|
|
5273
|
+
};
|
|
5274
|
+
GithubAppInputBody: {
|
|
5275
|
+
/** @description Client ID; пусто — выключить вход через GitHub */
|
|
5276
|
+
client_id: string;
|
|
5277
|
+
/** @description Client secret; не передан — остаётся сохранённый */
|
|
5278
|
+
client_secret?: string;
|
|
5279
|
+
};
|
|
5280
|
+
GithubLoginInputBody: {
|
|
5281
|
+
/** @description Из адреса страницы входа (#github=…) */
|
|
5282
|
+
ticket: string;
|
|
5283
|
+
/** @description Код из приложения, если включена 2FA */
|
|
5284
|
+
totp?: string;
|
|
5285
|
+
};
|
|
4717
5286
|
Goal: {
|
|
4718
5287
|
about?: {
|
|
4719
5288
|
[key: string]: string;
|
|
@@ -4786,56 +5355,276 @@ export interface components {
|
|
|
4786
5355
|
/** @enum {string} */
|
|
4787
5356
|
op: "and" | "or";
|
|
4788
5357
|
};
|
|
4789
|
-
|
|
4790
|
-
/** @
|
|
4791
|
-
|
|
5358
|
+
GroupAddressBody: {
|
|
5359
|
+
/** @description Адрес или домен; не передан — адрес ноды */
|
|
5360
|
+
address?: string;
|
|
5361
|
+
cdn?: boolean;
|
|
5362
|
+
host?: string;
|
|
4792
5363
|
/** Format: int64 */
|
|
4793
|
-
|
|
5364
|
+
inbound_id: number;
|
|
5365
|
+
name?: string;
|
|
4794
5366
|
/**
|
|
4795
5367
|
* Format: int64
|
|
4796
|
-
* @description
|
|
5368
|
+
* @description Не передан — порт подключения
|
|
4797
5369
|
*/
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
GroupInboundsInputBody: {
|
|
4801
|
-
/** @description Все подключения группы: перечисленные переходят в неё из других групп, остальные её подключения возвращаются к основным серверам */
|
|
4802
|
-
inbound_ids: number[];
|
|
4803
|
-
};
|
|
4804
|
-
GroupTariffsInputBody: {
|
|
4805
|
-
/** @description Тарифы, в которых группа меняется; остальные тарифы держат её как раньше. Закрытие и открытие группы действует сразу на клиентов тарифа */
|
|
4806
|
-
tariffs: components["schemas"]["GroupInTariff"][];
|
|
4807
|
-
};
|
|
4808
|
-
HappLinkOutputBody: {
|
|
4809
|
-
/** @description happ://crypt5/…: Happ открывает подписку, не показывая её адрес; пусто — шифрованная ссылка выключена */
|
|
4810
|
-
link: string;
|
|
4811
|
-
};
|
|
4812
|
-
Header: {
|
|
4813
|
-
name: string;
|
|
4814
|
-
value: string;
|
|
5370
|
+
port?: number;
|
|
5371
|
+
sni?: string;
|
|
4815
5372
|
};
|
|
4816
|
-
|
|
4817
|
-
/** @description Адрес
|
|
5373
|
+
GroupAddressView: {
|
|
5374
|
+
/** @description Адрес или домен; пусто — адрес ноды */
|
|
4818
5375
|
address: string;
|
|
4819
|
-
/** @description
|
|
4820
|
-
|
|
4821
|
-
/** @description HTTP Host у
|
|
5376
|
+
/** @description Впереди CDN со своим сертификатом: сертификат ноды не закрепляется */
|
|
5377
|
+
cdn: boolean;
|
|
5378
|
+
/** @description HTTP Host у WebSocket и XHTTP; пусто — как у сервера */
|
|
4822
5379
|
host: string;
|
|
5380
|
+
/** Format: int64 */
|
|
5381
|
+
inbound_id: number;
|
|
5382
|
+
/** @description Имя в подписке, с переменными заголовка; пусто — имя подключения */
|
|
5383
|
+
name: string;
|
|
4823
5384
|
/**
|
|
4824
5385
|
* Format: int64
|
|
4825
|
-
* @description
|
|
5386
|
+
* @description 0 — порт подключения
|
|
4826
5387
|
*/
|
|
4827
5388
|
port: number;
|
|
4828
|
-
/** @description
|
|
5389
|
+
/** @description Пусто — обычное имя TLS */
|
|
4829
5390
|
sni: string;
|
|
4830
5391
|
};
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
/** @description
|
|
4834
|
-
|
|
4835
|
-
|
|
5392
|
+
GroupAppearanceBody: {
|
|
5393
|
+
addresses?: components["schemas"]["GroupAddressBody"][];
|
|
5394
|
+
/** @description До 10 строк; пустая строка — без объявления */
|
|
5395
|
+
announce?: string;
|
|
5396
|
+
/** @description https://… или tg://… */
|
|
5397
|
+
announce_url?: string;
|
|
5398
|
+
/** @description Как дополнительные заголовки правила ответа: без заголовков кэша и длины */
|
|
5399
|
+
headers?: components["schemas"]["Header"][];
|
|
5400
|
+
require_hwid?: boolean;
|
|
5401
|
+
/** @description https://… или tg://… */
|
|
5402
|
+
support_url?: string;
|
|
5403
|
+
templates?: components["schemas"]["GroupTemplatesBody"];
|
|
5404
|
+
title?: string;
|
|
5405
|
+
/** @description Свои правила отвязки; не передано — правила для всех */
|
|
5406
|
+
unbind?: components["schemas"]["UnbindRules"];
|
|
5407
|
+
/** Format: int64 */
|
|
5408
|
+
update_hours?: number;
|
|
5409
|
+
};
|
|
5410
|
+
GroupAppearanceView: {
|
|
5411
|
+
/** @description Где клиенты группы подключаются к протоколу вместо его адреса по умолчанию */
|
|
5412
|
+
addresses: components["schemas"]["GroupAddressView"][];
|
|
5413
|
+
/** @description Объявление; пустая строка — без объявления; null — как в настройках подписки */
|
|
5414
|
+
announce: string | null;
|
|
5415
|
+
/** @description Куда ведёт нажатие на объявление; null — как в настройках подписки */
|
|
5416
|
+
announce_url: string | null;
|
|
5417
|
+
/** @description Свои заголовки каждого ответа подписки; заголовки правила ответа сильнее */
|
|
5418
|
+
headers: components["schemas"]["Header"][];
|
|
5419
|
+
/** @description Своя страница подписки: GET, PUT и DELETE /api/v1/groups/{id}/page */
|
|
5420
|
+
page: boolean;
|
|
5421
|
+
/** @description Не выдавать подписку приложениям без ID устройства; null — как в настройках */
|
|
5422
|
+
require_hwid: boolean | null;
|
|
5423
|
+
/** @description Ссылка на поддержку; null — как в настройках подписки */
|
|
5424
|
+
support_url: string | null;
|
|
5425
|
+
templates: components["schemas"]["GroupTemplates"];
|
|
5426
|
+
/** @description Название подписки в приложениях, с переменными как в sub_title; null — как в настройках подписки */
|
|
5427
|
+
title: string | null;
|
|
5428
|
+
unbind: components["schemas"]["UnbindRules"];
|
|
5429
|
+
/** @description Свои правила отвязки устройств; false — правила для всех, они в unbind */
|
|
5430
|
+
unbind_own: boolean;
|
|
5431
|
+
/**
|
|
5432
|
+
* Format: int64
|
|
5433
|
+
* @description Как часто приложения обновляют подписку, в часах (Profile-Update-Interval); null — раз в час
|
|
5434
|
+
*/
|
|
5435
|
+
update_hours: number | null;
|
|
5436
|
+
};
|
|
5437
|
+
GroupHostView: {
|
|
5438
|
+
/** @description Пусто — адрес ноды */
|
|
5439
|
+
address: string;
|
|
5440
|
+
/** @description Адрес по умолчанию: из настроек подключения */
|
|
5441
|
+
default: boolean;
|
|
5442
|
+
/** Format: int64 */
|
|
5443
|
+
id: number;
|
|
5444
|
+
/** Format: int64 */
|
|
5445
|
+
inbound_id: number;
|
|
5446
|
+
inbound_name: string;
|
|
5447
|
+
/**
|
|
5448
|
+
* @description only — адрес выдаётся только клиентам названных групп, never — всем, кроме них
|
|
5449
|
+
* @enum {string}
|
|
5450
|
+
*/
|
|
5451
|
+
mode: "only" | "never";
|
|
5452
|
+
/** @description Своё имя адреса в подписке; пусто — имя подключения */
|
|
5453
|
+
name: string;
|
|
5454
|
+
/** Format: int64 */
|
|
5455
|
+
node_id: number;
|
|
5456
|
+
};
|
|
5457
|
+
GroupInTariff: {
|
|
5458
|
+
/** @enum {string} */
|
|
5459
|
+
mode: "main" | "own" | "unlimited" | "closed";
|
|
5460
|
+
/** Format: int64 */
|
|
5461
|
+
tariff_id: number;
|
|
5462
|
+
/**
|
|
5463
|
+
* Format: int64
|
|
5464
|
+
* @description Байты за период; только с mode=own
|
|
5465
|
+
*/
|
|
5466
|
+
traffic_limit?: number;
|
|
5467
|
+
};
|
|
5468
|
+
GroupInboundsInputBody: {
|
|
5469
|
+
/** @description Все подключения группы: перечисленные переходят в неё из других групп, остальные её подключения возвращаются к основным серверам */
|
|
5470
|
+
inbound_ids: number[];
|
|
5471
|
+
};
|
|
5472
|
+
GroupPageView: {
|
|
5473
|
+
background?: components["schemas"]["PageAsset"];
|
|
5474
|
+
/** @description Название бренда (settings.brand), общее для всех страниц */
|
|
5475
|
+
brand: string;
|
|
5476
|
+
/** @description Цвет бренда (settings.brand_accent), общий для всех страниц */
|
|
5477
|
+
brand_accent: string;
|
|
5478
|
+
config: components["schemas"]["Page"];
|
|
5479
|
+
/** @description Страница по умолчанию — к ней ведёт «Сбросить» */
|
|
5480
|
+
defaults: components["schemas"]["Page"];
|
|
5481
|
+
logo?: components["schemas"]["PageAsset"];
|
|
5482
|
+
/** @description У группы своя страница; false — в config страница для всех */
|
|
5483
|
+
own: boolean;
|
|
5484
|
+
};
|
|
5485
|
+
GroupServers: {
|
|
5486
|
+
/** @description Серверы как в тарифе клиента; false — только выбранные ноды и протоколы, вместо тарифных. Свой список протоколов в карточке клиента сильнее и того и другого */
|
|
5487
|
+
as_tariff: boolean;
|
|
5488
|
+
/** @description Отдельные протоколы */
|
|
5489
|
+
inbounds: number[];
|
|
5490
|
+
/** @description Ноды целиком, с протоколами, которые на них появятся потом */
|
|
5491
|
+
nodes: number[];
|
|
5492
|
+
};
|
|
5493
|
+
GroupServersBody: {
|
|
5494
|
+
/** @description Серверы как в тарифе клиента; false — только выбранные, хотя бы одна нода или протокол */
|
|
5495
|
+
as_tariff: boolean;
|
|
5496
|
+
/** @description Отдельные протоколы */
|
|
5497
|
+
inbounds?: number[];
|
|
5498
|
+
/** @description Ноды целиком, с протоколами, которые на них появятся потом */
|
|
5499
|
+
nodes?: number[];
|
|
5500
|
+
};
|
|
5501
|
+
GroupTariffsInputBody: {
|
|
5502
|
+
/** @description Тарифы, в которых группа меняется; остальные тарифы держат её как раньше. Закрытие и открытие группы действует сразу на клиентов тарифа */
|
|
5503
|
+
tariffs: components["schemas"]["GroupInTariff"][];
|
|
5504
|
+
};
|
|
5505
|
+
GroupTemplates: {
|
|
5506
|
+
/**
|
|
5507
|
+
* Format: int64
|
|
5508
|
+
* @description Шаблон Clash (mihomo); null — шаблон по умолчанию
|
|
5509
|
+
*/
|
|
5510
|
+
mihomo: number | null;
|
|
5511
|
+
/**
|
|
5512
|
+
* Format: int64
|
|
5513
|
+
* @description Шаблон sing-box; null — шаблон по умолчанию
|
|
5514
|
+
*/
|
|
5515
|
+
singbox: number | null;
|
|
5516
|
+
/**
|
|
5517
|
+
* Format: int64
|
|
5518
|
+
* @description Шаблон Xray; null — шаблон по умолчанию
|
|
5519
|
+
*/
|
|
5520
|
+
xray: number | null;
|
|
5521
|
+
};
|
|
5522
|
+
GroupTemplatesBody: {
|
|
5523
|
+
/**
|
|
5524
|
+
* Format: int64
|
|
5525
|
+
* @description Шаблон Clash (mihomo); не передан — шаблон по умолчанию
|
|
5526
|
+
*/
|
|
5527
|
+
mihomo?: number;
|
|
5528
|
+
/**
|
|
5529
|
+
* Format: int64
|
|
5530
|
+
* @description Шаблон sing-box; не передан — шаблон по умолчанию
|
|
5531
|
+
*/
|
|
5532
|
+
singbox?: number;
|
|
5533
|
+
/**
|
|
5534
|
+
* Format: int64
|
|
5535
|
+
* @description Шаблон Xray; не передан — шаблон по умолчанию
|
|
5536
|
+
*/
|
|
5537
|
+
xray?: number;
|
|
5538
|
+
};
|
|
5539
|
+
GroupView: {
|
|
5540
|
+
appearance: components["schemas"]["GroupAppearanceView"];
|
|
5541
|
+
/** @enum {string} */
|
|
5542
|
+
color: "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink";
|
|
5543
|
+
/** @description Значок перед названием; может быть пустым */
|
|
5544
|
+
emoji: string;
|
|
5545
|
+
/** @description Адреса для клиентов, которые выдаются по группам и называют эту */
|
|
5546
|
+
hosts: components["schemas"]["GroupHostView"][];
|
|
5547
|
+
/** Format: int64 */
|
|
5548
|
+
id: number;
|
|
5549
|
+
name: string;
|
|
5550
|
+
/**
|
|
5551
|
+
* Format: int64
|
|
5552
|
+
* @description Из них в группе своей группой, заданной в карточке
|
|
5553
|
+
*/
|
|
5554
|
+
own_users: number;
|
|
5555
|
+
servers: components["schemas"]["GroupServers"];
|
|
5556
|
+
/**
|
|
5557
|
+
* Format: int64
|
|
5558
|
+
* @description Сколько тарифов, кроме архивных, кладут своих клиентов в эту группу
|
|
5559
|
+
*/
|
|
5560
|
+
tariffs: number;
|
|
5561
|
+
/**
|
|
5562
|
+
* Format: int64
|
|
5563
|
+
* @description Сколько клиентов в группе: своей группой и через тариф, скрытые тоже
|
|
5564
|
+
*/
|
|
5565
|
+
users: number;
|
|
5566
|
+
};
|
|
5567
|
+
HappLinkOutputBody: {
|
|
5568
|
+
/** @description happ://crypt5/…: Happ открывает подписку, не показывая её адрес; пусто — шифрованная ссылка выключена */
|
|
5569
|
+
link: string;
|
|
5570
|
+
};
|
|
5571
|
+
Header: {
|
|
5572
|
+
name: string;
|
|
5573
|
+
value: string;
|
|
5574
|
+
};
|
|
5575
|
+
HostInput: {
|
|
5576
|
+
/** @description Адрес для клиентов; пусто — адрес ноды */
|
|
5577
|
+
address: string;
|
|
5578
|
+
/** @description Ещё адреса для клиентов: каждый получает один из address и этих, всегда один и тот же (по токену подписки); пустой address среди них — адрес ноды */
|
|
5579
|
+
addresses?: string[];
|
|
5580
|
+
/** @description ALPN у клиентов, по порядку: h3, h2, http/1.1. Только с TLS: на сертификате ноды и у QUIC-протоколов; пусто — как в приложении */
|
|
5581
|
+
alpn?: string[];
|
|
5582
|
+
/** @description Перед адресом CDN со своим сертификатом: VLESS и Trojan на сертификате ноды по XHTTP, WebSocket или gRPC */
|
|
5583
|
+
cdn?: boolean;
|
|
5584
|
+
/** @description Отпечаток TLS у клиентов, как fingerprint подключения; пусто — общий из настроек */
|
|
5585
|
+
fingerprint: string;
|
|
5586
|
+
/** @description only — только клиентам групп groups, never — всем, кроме них; пусто — всем. Группа клиента — своя или его тарифа */
|
|
5587
|
+
group_mode?: string;
|
|
5588
|
+
/** @description Группы для group_mode, по id; с режимом нужна хотя бы одна */
|
|
5589
|
+
groups?: number[];
|
|
5590
|
+
/** @description HTTP Host у клиентов: VLESS и Trojan по WebSocket и XHTTP; пусто — как на сервере */
|
|
5591
|
+
host: string;
|
|
5592
|
+
/** @description Как клиенты доходят до адреса: ipv4, ipv6, ipv4-prefer, ipv6-prefer; пусто — как в приложении */
|
|
5593
|
+
ip_version?: string;
|
|
5594
|
+
/** @description Мультиплексирование соединений (sing-mux): VLESS, Trojan и Shadowsocks, не XHTTP и не Vision; выключенное не хранит протокол и padding */
|
|
5595
|
+
mux?: components["schemas"]["HostMux"];
|
|
5596
|
+
/** @description Имя в подписке; можно с переменными заголовка: «🇳🇱 NL · осталось {left}». Пусто — имя подключения, у доп. адресов с номером */
|
|
5597
|
+
name?: string;
|
|
5598
|
+
/**
|
|
5599
|
+
* Format: int64
|
|
5600
|
+
* @description Порт для клиентов; 0 — порт подключения
|
|
5601
|
+
*/
|
|
5602
|
+
port: number;
|
|
5603
|
+
/** @description SNI для клиентов; пусто — как обычно. Не у REALITY: там имя задаёт сайт маскировки */
|
|
5604
|
+
sni: string;
|
|
5605
|
+
/** @description Ещё SNI: каждый клиент получает одно из sni и этих, всегда одно и то же; только где можно задать sni */
|
|
5606
|
+
snis?: string[];
|
|
5607
|
+
/** @description Выдавать адрес только подпискам в этих статусах (истекающая — активная); пусто или все — всем. Скрытый адрес по умолчанию тоже не выдаётся */
|
|
5608
|
+
states?: ("active" | "limited" | "expired" | "disabled")[];
|
|
5609
|
+
/** @description only — только пробным (пришли с пробного и ничего не оплатили сверх него), never — всем, кроме пробных; пусто — всем */
|
|
5610
|
+
trial?: string;
|
|
5611
|
+
};
|
|
5612
|
+
HostItem: {
|
|
5613
|
+
detail: string;
|
|
5614
|
+
/** @description Что сделать; пусто, если всё хорошо */
|
|
5615
|
+
fix?: string;
|
|
5616
|
+
label: string;
|
|
4836
5617
|
/** @enum {string} */
|
|
4837
5618
|
level: "ok" | "warn" | "error";
|
|
4838
5619
|
};
|
|
5620
|
+
HostMux: {
|
|
5621
|
+
/** @description Включено: VLESS, Trojan и Shadowsocks, не XHTTP и не Vision */
|
|
5622
|
+
enabled: boolean;
|
|
5623
|
+
/** @description Дополнять кадры случайными данными */
|
|
5624
|
+
padding: boolean;
|
|
5625
|
+
/** @description smux, yamux или h2mux; пусто — как в приложении */
|
|
5626
|
+
protocol: string;
|
|
5627
|
+
};
|
|
4839
5628
|
HostReport: {
|
|
4840
5629
|
/** @description RFC 3339 */
|
|
4841
5630
|
at: string;
|
|
@@ -4862,14 +5651,30 @@ export interface components {
|
|
|
4862
5651
|
HostView: {
|
|
4863
5652
|
/** @description Адрес для клиентов; пусто — адрес ноды */
|
|
4864
5653
|
address: string;
|
|
5654
|
+
/** @description Ещё адреса: каждый клиент получает один из address и этих, всегда один и тот же */
|
|
5655
|
+
addresses: string[];
|
|
5656
|
+
/** @description ALPN, который предлагают клиенты, по порядку: h3, h2, http/1.1; пусто — как в приложении */
|
|
5657
|
+
alpn: string[];
|
|
5658
|
+
/** @description Перед адресом CDN со своим сертификатом: самоподписанный сертификат ноды клиентам не закрепляется */
|
|
5659
|
+
cdn: boolean;
|
|
4865
5660
|
/** @description Адрес по умолчанию: тот же, что client и fingerprint подключения; удаляется только с подключением */
|
|
4866
5661
|
default: boolean;
|
|
4867
5662
|
/** @description Отпечаток TLS (uTLS); пусто — общий из настроек */
|
|
4868
5663
|
fingerprint: string;
|
|
5664
|
+
/** @description Кому адрес выдаётся по группе клиента: only — только клиентам групп groups, never — всем, кроме них; пусто — всем */
|
|
5665
|
+
group_mode: string;
|
|
5666
|
+
/** @description Группы для group_mode, по id; при only без групп (все удалены) адрес не выдаётся никому */
|
|
5667
|
+
groups: number[];
|
|
4869
5668
|
/** @description HTTP Host у клиентов (WebSocket, XHTTP); пусто — как на сервере */
|
|
4870
5669
|
host: string;
|
|
4871
5670
|
/** Format: int64 */
|
|
4872
5671
|
id: number;
|
|
5672
|
+
/** @description Как клиенты доходят до адреса: ipv4, ipv6, ipv4-prefer, ipv6-prefer; пусто — как в приложении */
|
|
5673
|
+
ip_version: string;
|
|
5674
|
+
/** @description Мультиплексирование соединений (sing-mux) */
|
|
5675
|
+
mux: components["schemas"]["HostMux"];
|
|
5676
|
+
/** @description Имя в подписке, с переменными заголовка ({days}, {left}…) для каждого пользователя; пусто — имя подключения */
|
|
5677
|
+
name: string;
|
|
4873
5678
|
/**
|
|
4874
5679
|
* Format: int64
|
|
4875
5680
|
* @description Порт для клиентов; 0 — порт подключения
|
|
@@ -4877,6 +5682,46 @@ export interface components {
|
|
|
4877
5682
|
port: number;
|
|
4878
5683
|
/** @description SNI для клиентов; пусто — как обычно */
|
|
4879
5684
|
sni: string;
|
|
5685
|
+
/** @description Ещё SNI: каждый клиент получает одно из sni и этих, всегда одно и то же */
|
|
5686
|
+
snis: string[];
|
|
5687
|
+
/** @description Кому адрес выдаётся по статусу подписки (истекающая — активная); пусто — всем */
|
|
5688
|
+
states: ("active" | "limited" | "expired" | "disabled")[];
|
|
5689
|
+
/** @description only — только пробным, never — всем, кроме пробных; пусто — всем */
|
|
5690
|
+
trial: string;
|
|
5691
|
+
};
|
|
5692
|
+
IdentityBeginInputBody: {
|
|
5693
|
+
/** @description Пароль: без него украденная сессия привязала бы свой аккаунт */
|
|
5694
|
+
password: string;
|
|
5695
|
+
/** @description Код из приложения, если включена 2FA */
|
|
5696
|
+
totp?: string;
|
|
5697
|
+
};
|
|
5698
|
+
IdentityProviders: {
|
|
5699
|
+
github: components["schemas"]["GitHubProvider"];
|
|
5700
|
+
telegram: components["schemas"]["TelegramProvider"];
|
|
5701
|
+
};
|
|
5702
|
+
IdentityURLOutputBody: {
|
|
5703
|
+
/** @description Куда перейти браузеру */
|
|
5704
|
+
url: string;
|
|
5705
|
+
};
|
|
5706
|
+
IdentityView: {
|
|
5707
|
+
/** Format: date-time */
|
|
5708
|
+
created_at: string;
|
|
5709
|
+
/** Format: int64 */
|
|
5710
|
+
id: number;
|
|
5711
|
+
/** Format: date-time */
|
|
5712
|
+
last_used_at?: string;
|
|
5713
|
+
/** @description Имя аккаунта там: логин GitHub, @username или имя в Telegram */
|
|
5714
|
+
name: string;
|
|
5715
|
+
/** @enum {string} */
|
|
5716
|
+
provider: "github" | "telegram";
|
|
5717
|
+
};
|
|
5718
|
+
ImportBotInputBody: {
|
|
5719
|
+
/** @enum {string} */
|
|
5720
|
+
kind: "bedolaga";
|
|
5721
|
+
/** @description Ключ Web API бота */
|
|
5722
|
+
token: string;
|
|
5723
|
+
/** @description Адрес Web API бота: https://bot.example.com или http://127.0.0.1:8080 */
|
|
5724
|
+
url: string;
|
|
4880
5725
|
};
|
|
4881
5726
|
ImportRunInputBody: {
|
|
4882
5727
|
/** @enum {string} */
|
|
@@ -4892,16 +5737,36 @@ export interface components {
|
|
|
4892
5737
|
username?: string;
|
|
4893
5738
|
};
|
|
4894
5739
|
ImportSource: {
|
|
4895
|
-
/**
|
|
4896
|
-
|
|
5740
|
+
/**
|
|
5741
|
+
* @description bedolaga — бот продаж: аккаунты, балансы и история поверх уже перенесённых пользователей Remnawave; переносится через POST /api/v1/import/bot
|
|
5742
|
+
* @enum {string}
|
|
5743
|
+
*/
|
|
5744
|
+
kind: "marzban" | "pasarguard" | "remnawave" | "3xui" | "bedolaga";
|
|
4897
5745
|
password?: string;
|
|
4898
|
-
/** @description Remnawave: API-токен; PasarGuard: API-ключ вместо логина; 3x-ui: API-токен вместо
|
|
5746
|
+
/** @description Remnawave: API-токен; PasarGuard: API-ключ вместо логина; 3x-ui: API-токен вместо логина; Bedolaga: ключ его Web API (X-API-Key) */
|
|
4899
5747
|
token?: string;
|
|
4900
5748
|
/** @description Адрес старой панели: https://panel.example.com, у 3x-ui — с его секретным путём; http:// — только для этого сервера или локальной сети */
|
|
4901
5749
|
url: string;
|
|
4902
5750
|
/** @description Marzban, PasarGuard, 3x-ui: логин администратора */
|
|
4903
5751
|
username?: string;
|
|
4904
5752
|
};
|
|
5753
|
+
ImportedPaymentView: {
|
|
5754
|
+
/**
|
|
5755
|
+
* Format: int64
|
|
5756
|
+
* @description В копейках (сотых) валюты, как в боте
|
|
5757
|
+
*/
|
|
5758
|
+
amount: number;
|
|
5759
|
+
/** Format: date-time */
|
|
5760
|
+
created_at: string;
|
|
5761
|
+
currency: string;
|
|
5762
|
+
description?: string;
|
|
5763
|
+
/** @description Тип в боте: deposit, subscription_payment, refund, withdrawal, referral_reward и другие */
|
|
5764
|
+
kind: string;
|
|
5765
|
+
/** @description Способ оплаты в боте */
|
|
5766
|
+
method?: string;
|
|
5767
|
+
/** @description Откуда: bedolaga */
|
|
5768
|
+
source: string;
|
|
5769
|
+
};
|
|
4905
5770
|
InactiveOutputBody: {
|
|
4906
5771
|
/**
|
|
4907
5772
|
* Format: int64
|
|
@@ -4976,6 +5841,8 @@ export interface components {
|
|
|
4976
5841
|
exit_node_id?: number;
|
|
4977
5842
|
/** @description Отпечаток TLS (uTLS) у клиентов; пусто — общий из настроек */
|
|
4978
5843
|
fingerprint?: string;
|
|
5844
|
+
/** @description ALPN, которые можно задать адресам для клиентов: у QUIC — из ALPN самого подключения, у TLS по TCP — h2 и http/1.1, без TLS ноды — ничего */
|
|
5845
|
+
host_alpn: string[];
|
|
4979
5846
|
/** Format: int64 */
|
|
4980
5847
|
id: number;
|
|
4981
5848
|
/** @description Подключение входит в «Авто» подписки; выключено — только в списке и группе страны (выключенная нода убирает все свои) */
|
|
@@ -5009,6 +5876,8 @@ export interface components {
|
|
|
5009
5876
|
sni443: boolean;
|
|
5010
5877
|
/** @description Можно ли поставить за SNI-роутер: VLESS, Trojan или AnyTLS по TCP с TLS или REALITY */
|
|
5011
5878
|
sni443_possible: boolean;
|
|
5879
|
+
/** @description То же имя за общим 443 у других подключений ноды, и роутер их не различает: подключения дойдут только до одного из них */
|
|
5880
|
+
sni_clash?: components["schemas"]["SNIClashView"];
|
|
5012
5881
|
/** @enum {string} */
|
|
5013
5882
|
status: "ok" | "error" | "unknown";
|
|
5014
5883
|
/** @description Имя, которое увидит клиент */
|
|
@@ -5055,6 +5924,8 @@ export interface components {
|
|
|
5055
5924
|
op: "and" | "or";
|
|
5056
5925
|
};
|
|
5057
5926
|
JobState: {
|
|
5927
|
+
bot_preview?: components["schemas"]["BotPreview"];
|
|
5928
|
+
bot_report?: components["schemas"]["BotReport"];
|
|
5058
5929
|
/** Format: int64 */
|
|
5059
5930
|
done: number;
|
|
5060
5931
|
/** @description Код ошибки, когда state = failed */
|
|
@@ -5063,6 +5934,8 @@ export interface components {
|
|
|
5063
5934
|
finished?: string;
|
|
5064
5935
|
/** @description Панель и её адрес (без пути и данных для входа) */
|
|
5065
5936
|
from?: string;
|
|
5937
|
+
/** @description Откуда: marzban, pasarguard, remnawave, 3xui или bedolaga */
|
|
5938
|
+
kind?: string;
|
|
5066
5939
|
/** @enum {string} */
|
|
5067
5940
|
mode?: "preview" | "import";
|
|
5068
5941
|
preview?: components["schemas"]["Preview"];
|
|
@@ -5120,19 +5993,23 @@ export interface components {
|
|
|
5120
5993
|
names: string[];
|
|
5121
5994
|
};
|
|
5122
5995
|
ListUsersOutputBody: {
|
|
5123
|
-
/** @description Пользователи по состояниям среди подходящих под папку, источник и скрытых; состояние и поиск не учитываются */
|
|
5996
|
+
/** @description Пользователи по состояниям среди подходящих под папку, группу, источник и скрытых; состояние и поиск не учитываются */
|
|
5124
5997
|
counts: components["schemas"]["UserCounts"];
|
|
5125
|
-
/** @description Пользователи по папкам (ключ — id папки, none — вне папок) среди подходящих под источник и скрытых */
|
|
5998
|
+
/** @description Пользователи по папкам (ключ — id папки, none — вне папок) среди подходящих под группу, источник и скрытых */
|
|
5126
5999
|
folder_counts: {
|
|
5127
6000
|
[key: string]: number;
|
|
5128
6001
|
};
|
|
6002
|
+
/** @description Пользователи по группам (ключ — id группы, none — ни в какой) среди подходящих под папку, источник и скрытых */
|
|
6003
|
+
group_counts: {
|
|
6004
|
+
[key: string]: number;
|
|
6005
|
+
};
|
|
5129
6006
|
/**
|
|
5130
6007
|
* Format: int64
|
|
5131
6008
|
* @description Сколько из них скрыто
|
|
5132
6009
|
*/
|
|
5133
6010
|
hidden_total: number;
|
|
5134
6011
|
items: components["schemas"]["UserView"][];
|
|
5135
|
-
/** @description Пользователи по источникам (admin, bot, trial, import) среди подходящих под
|
|
6012
|
+
/** @description Пользователи по источникам (admin, bot, web, trial, free, import) среди подходящих под папку, группу и скрытых */
|
|
5136
6013
|
source_counts: {
|
|
5137
6014
|
[key: string]: number;
|
|
5138
6015
|
};
|
|
@@ -5167,6 +6044,12 @@ export interface components {
|
|
|
5167
6044
|
totp?: string;
|
|
5168
6045
|
username: string;
|
|
5169
6046
|
};
|
|
6047
|
+
LoginMethodsOutputBody: {
|
|
6048
|
+
/** @description Можно войти через GitHub */
|
|
6049
|
+
github: boolean;
|
|
6050
|
+
/** @description Можно войти через Telegram */
|
|
6051
|
+
telegram: boolean;
|
|
6052
|
+
};
|
|
5170
6053
|
LogsView: {
|
|
5171
6054
|
lines: components["schemas"]["LogLine"][];
|
|
5172
6055
|
source: string;
|
|
@@ -5536,6 +6419,10 @@ export interface components {
|
|
|
5536
6419
|
* @description Загрузка процессора всего сервера, не только ноды
|
|
5537
6420
|
*/
|
|
5538
6421
|
cpu_percent: number;
|
|
6422
|
+
/** @description Свои поля админа (GET /api/v1/custom-fields, scope node) по ключу; поля без значения нет в объекте */
|
|
6423
|
+
custom_fields: {
|
|
6424
|
+
[key: string]: string;
|
|
6425
|
+
};
|
|
5539
6426
|
domain: string;
|
|
5540
6427
|
enabled: boolean;
|
|
5541
6428
|
/** @description Слова ошибки связи как есть, для «подробнее» */
|
|
@@ -5607,6 +6494,8 @@ export interface components {
|
|
|
5607
6494
|
router_error?: string;
|
|
5608
6495
|
/** @description IP или имя сервера, как его задали: по нему панель ходит в API ноды; пусто у своей ноды */
|
|
5609
6496
|
server_host: string;
|
|
6497
|
+
/** @description Протоколы REALITY за общим 443 могут маскироваться под одно имя: нода узнаёт клиента каждого по его ключу */
|
|
6498
|
+
sni_by_key: boolean;
|
|
5610
6499
|
/** @description Порт 443 ноды делят подключения по имени TLS (SNI-роутер) */
|
|
5611
6500
|
sni_router: boolean;
|
|
5612
6501
|
/** @enum {string} */
|
|
@@ -5759,14 +6648,28 @@ export interface components {
|
|
|
5759
6648
|
traffic_100: boolean;
|
|
5760
6649
|
traffic_90: boolean;
|
|
5761
6650
|
};
|
|
6651
|
+
OrderCustomFieldsInputBody: {
|
|
6652
|
+
/** @description Все поля этого scope, каждое один раз, в том порядке, в каком их показывают карточки */
|
|
6653
|
+
ids: number[];
|
|
6654
|
+
/** @enum {string} */
|
|
6655
|
+
scope: "user" | "node";
|
|
6656
|
+
};
|
|
5762
6657
|
OrderFoldersInputBody: {
|
|
5763
6658
|
/** @description Все папки, каждая один раз, в том порядке, в каком их показывает список */
|
|
5764
6659
|
ids: number[];
|
|
5765
6660
|
};
|
|
6661
|
+
OrderGroupsInputBody: {
|
|
6662
|
+
/** @description Все группы, каждая один раз, в том порядке, в каком их показывать */
|
|
6663
|
+
ids: number[];
|
|
6664
|
+
};
|
|
5766
6665
|
OrderNodesInputBody: {
|
|
5767
|
-
/** @description Все ноды панели, каждая один
|
|
6666
|
+
/** @description Все ноды панели, каждая один раз. Их серверы встают в подписках блоками в этом порядке, серверы одной ноды — как шли */
|
|
5768
6667
|
ids: number[];
|
|
5769
6668
|
};
|
|
6669
|
+
OrderServersInputBody: {
|
|
6670
|
+
/** @description Все адреса подключений панели (host_id), каждый один раз, в том порядке, в каком серверы идут в подписках. Нода встаёт туда, где её первый сервер */
|
|
6671
|
+
host_ids: number[];
|
|
6672
|
+
};
|
|
5770
6673
|
OrderSubDocsInputBody: {
|
|
5771
6674
|
/** @description Все инструкции в новом порядке */
|
|
5772
6675
|
ids: number[];
|
|
@@ -6024,7 +6927,7 @@ export interface components {
|
|
|
6024
6927
|
current: string;
|
|
6025
6928
|
/** @description Не короче 12 символов */
|
|
6026
6929
|
new: string;
|
|
6027
|
-
/** @description Отозвать
|
|
6930
|
+
/** @description Отозвать ключи API и ключи доступа (passkey), отвязать аккаунты GitHub и Telegram (по умолчанию да): другие сессии завершаются при смене пароля, а выпущенное или привязанное из угнанной сессии пережило бы это */
|
|
6028
6931
|
revoke_keys?: boolean;
|
|
6029
6932
|
};
|
|
6030
6933
|
PatchAddonInputBody: {
|
|
@@ -6045,6 +6948,9 @@ export interface components {
|
|
|
6045
6948
|
archived?: boolean;
|
|
6046
6949
|
name?: string;
|
|
6047
6950
|
};
|
|
6951
|
+
PatchCustomFieldInputBody: {
|
|
6952
|
+
label: string;
|
|
6953
|
+
};
|
|
6048
6954
|
PatchFiltersInputBody: {
|
|
6049
6955
|
/** @description Весь исходящий фильтр */
|
|
6050
6956
|
egress?: components["schemas"]["EgressFilter"];
|
|
@@ -6058,6 +6964,17 @@ export interface components {
|
|
|
6058
6964
|
emoji?: string;
|
|
6059
6965
|
name?: string;
|
|
6060
6966
|
};
|
|
6967
|
+
PatchGroupInputBody: {
|
|
6968
|
+
/** @description Оформление целиком, с адресами; не передано — без изменений. Только из сессии администратора, не ключом API */
|
|
6969
|
+
appearance?: components["schemas"]["GroupAppearanceBody"];
|
|
6970
|
+
/** @enum {string} */
|
|
6971
|
+
color?: "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink";
|
|
6972
|
+
/** @description Пустая строка убирает значок */
|
|
6973
|
+
emoji?: string;
|
|
6974
|
+
name?: string;
|
|
6975
|
+
/** @description Не передан — без изменений. Действует сразу на всех клиентов группы */
|
|
6976
|
+
servers?: components["schemas"]["GroupServersBody"];
|
|
6977
|
+
};
|
|
6061
6978
|
PatchInboundInputBody: {
|
|
6062
6979
|
/** @description Нельзя включить, пока у подключения свой адрес (listen) */
|
|
6063
6980
|
auto_port?: boolean;
|
|
@@ -6126,6 +7043,10 @@ export interface components {
|
|
|
6126
7043
|
* @description Ширина канала ноды, Мбит/с в каждую сторону
|
|
6127
7044
|
*/
|
|
6128
7045
|
channel_mbps?: number;
|
|
7046
|
+
/** @description Значения своих полей по ключу, только названные; пустая строка стирает значение */
|
|
7047
|
+
custom_fields?: {
|
|
7048
|
+
[key: string]: string;
|
|
7049
|
+
};
|
|
6129
7050
|
domain?: string;
|
|
6130
7051
|
enabled?: boolean;
|
|
6131
7052
|
/** @description Делить канал ноды поровну между теми, кто сейчас качает; нужен channel_mbps */
|
|
@@ -6145,6 +7066,8 @@ export interface components {
|
|
|
6145
7066
|
own_ports?: number[];
|
|
6146
7067
|
/** @description Публичное имя ноды; пустое — не публиковать её в канале */
|
|
6147
7068
|
public_name?: string;
|
|
7069
|
+
/** @description Протоколы REALITY за общим 443 могут делить одно имя: нода узнаёт клиента каждого по его ключу */
|
|
7070
|
+
sni_by_key?: boolean;
|
|
6148
7071
|
/** @description SNI-роутер на 443: подключения с отметкой «через общий 443» слушают на loopback за ним */
|
|
6149
7072
|
sni_router?: boolean;
|
|
6150
7073
|
/** @description Метки ноды целиком; пустой список снимает все */
|
|
@@ -6183,6 +7106,7 @@ export interface components {
|
|
|
6183
7106
|
* @description Тариф пробного периода; 0 — выключить
|
|
6184
7107
|
*/
|
|
6185
7108
|
trial_tariff_id?: number;
|
|
7109
|
+
website?: boolean;
|
|
6186
7110
|
};
|
|
6187
7111
|
PatchSettingsInputBody: {
|
|
6188
7112
|
/**
|
|
@@ -6235,6 +7159,7 @@ export interface components {
|
|
|
6235
7159
|
sub_announce_url?: string;
|
|
6236
7160
|
/** @description Домен для ссылок подписки, отдельный от домена панели; пусто — убрать. Старые ссылки продолжают работать */
|
|
6237
7161
|
sub_domain?: string;
|
|
7162
|
+
sub_external?: boolean;
|
|
6238
7163
|
sub_group_auto?: string;
|
|
6239
7164
|
sub_group_main?: string;
|
|
6240
7165
|
sub_inactive_server?: boolean;
|
|
@@ -6295,6 +7220,10 @@ export interface components {
|
|
|
6295
7220
|
*/
|
|
6296
7221
|
billing_day?: number;
|
|
6297
7222
|
contact?: string;
|
|
7223
|
+
/** @description Значения своих полей по ключу, только названные; пустая строка стирает значение */
|
|
7224
|
+
custom_fields?: {
|
|
7225
|
+
[key: string]: string;
|
|
7226
|
+
};
|
|
6298
7227
|
/** Format: int64 */
|
|
6299
7228
|
device_limit?: number;
|
|
6300
7229
|
/**
|
|
@@ -6311,12 +7240,22 @@ export interface components {
|
|
|
6311
7240
|
* @description Положить в папку; 0 — убрать из папки
|
|
6312
7241
|
*/
|
|
6313
7242
|
folder_id?: number;
|
|
7243
|
+
/**
|
|
7244
|
+
* Format: int64
|
|
7245
|
+
* @description Своя группа клиента: от неё зависят серверы и адреса, которые он видит; 0 — убрать свою, клиент вернётся в группу тарифа
|
|
7246
|
+
*/
|
|
7247
|
+
group_id?: number;
|
|
6314
7248
|
/** @description Скрыть пользователя из списка или вернуть в него; доступ он не теряет */
|
|
6315
7249
|
hidden?: boolean;
|
|
6316
7250
|
inbounds?: number[];
|
|
6317
7251
|
name?: string;
|
|
6318
7252
|
never_expires?: boolean;
|
|
6319
7253
|
note?: string;
|
|
7254
|
+
/**
|
|
7255
|
+
* @description Когда обнулять трафик этому клиенту: основной и групп со своим лимитом. Продление, смена тарифа и применение тарифа к выданным подпискам снова ставят сброс тарифа; с tariff_id в том же запросе действует этот. Начавшийся период остаётся: если по новому правилу он уже прошёл, трафик обнулится при ближайшей проверке
|
|
7256
|
+
* @enum {string}
|
|
7257
|
+
*/
|
|
7258
|
+
reset_strategy?: "none" | "month_start" | "period";
|
|
6320
7259
|
/**
|
|
6321
7260
|
* Format: int64
|
|
6322
7261
|
* @description Скорость, Мбит/с в каждую сторону
|
|
@@ -6399,6 +7338,8 @@ export interface components {
|
|
|
6399
7338
|
* @description Сколько пробных подписок выдано
|
|
6400
7339
|
*/
|
|
6401
7340
|
trials: number;
|
|
7341
|
+
/** @description Продажи и продление подписок в браузере; выключено по умолчанию */
|
|
7342
|
+
website: boolean;
|
|
6402
7343
|
};
|
|
6403
7344
|
PaymentSettingsViewAvailableStruct: {
|
|
6404
7345
|
/** @description Адаптеры маркетплейса, которые принимают оплату прямо сейчас */
|
|
@@ -6501,7 +7442,7 @@ export interface components {
|
|
|
6501
7442
|
* @description Что меняется; у строки manual: что остаётся сделать самому
|
|
6502
7443
|
* @enum {string}
|
|
6503
7444
|
*/
|
|
6504
|
-
code: "panel_page" | "front_page" | "site" | "port" | "through_443" | "direct" | "router_on" | "router_off" | "api_lockdown" | "auto_off" | "disable" | "port_443_busy" | "port_443_panel" | "same_name" | "no_site" | "stranger_site" | "no_port" | "udp_ports" | "ssh_open";
|
|
7445
|
+
code: "panel_page" | "front_page" | "site" | "port" | "through_443" | "direct" | "router_on" | "router_by_key" | "router_off" | "api_lockdown" | "auto_off" | "disable" | "port_443_busy" | "port_443_panel" | "same_name" | "no_site" | "stranger_site" | "no_port" | "udp_ports" | "ssh_open";
|
|
6505
7446
|
/** @description После применения: почему не получилось */
|
|
6506
7447
|
error?: string;
|
|
6507
7448
|
inbound?: string;
|
|
@@ -6730,6 +7671,9 @@ export interface components {
|
|
|
6730
7671
|
/** Format: int64 */
|
|
6731
7672
|
successful_activations: number;
|
|
6732
7673
|
};
|
|
7674
|
+
PutGroupPageInputBody: {
|
|
7675
|
+
config: components["schemas"]["Page"];
|
|
7676
|
+
};
|
|
6733
7677
|
PutSitePageInputBody: {
|
|
6734
7678
|
/** @description Документ конструктора (JSON) */
|
|
6735
7679
|
doc: string;
|
|
@@ -7064,6 +8008,15 @@ export interface components {
|
|
|
7064
8008
|
/** @enum {string} */
|
|
7065
8009
|
verdict: "ok" | "partial" | "blocked" | "down";
|
|
7066
8010
|
};
|
|
8011
|
+
SNIClashView: {
|
|
8012
|
+
/**
|
|
8013
|
+
* @description Что поможет: by_key — включить у ноды «Одно имя для протоколов REALITY», update — обновить ноду (она старше этой настройки), name — дать подключению другое имя
|
|
8014
|
+
* @enum {string}
|
|
8015
|
+
*/
|
|
8016
|
+
fix: "by_key" | "update" | "name";
|
|
8017
|
+
/** @description Подключения ноды, которые спрашивают то же имя за общим 443 */
|
|
8018
|
+
with: string[];
|
|
8019
|
+
};
|
|
7067
8020
|
ScanTargetsOutputBody: {
|
|
7068
8021
|
/** @description Адрес сервера, вокруг которого искали */
|
|
7069
8022
|
ip: string;
|
|
@@ -7239,6 +8192,8 @@ export interface components {
|
|
|
7239
8192
|
sub_certificate?: components["schemas"]["Status"];
|
|
7240
8193
|
/** @description Свой домен для ссылок подписки; пусто — адрес панели */
|
|
7241
8194
|
sub_domain: string;
|
|
8195
|
+
/** @description Домен подписки обслуживает внешний mikan-sub */
|
|
8196
|
+
sub_external: boolean;
|
|
7242
8197
|
/** @description Группа автовыбора самого быстрого подключения */
|
|
7243
8198
|
sub_group_auto: string;
|
|
7244
8199
|
/** @description Главная группа в Clash-приложениях */
|
|
@@ -7497,6 +8452,37 @@ export interface components {
|
|
|
7497
8452
|
/** @description Что решило: имя правила, builtin:ssr, builtin:old, apps; пусто — ничего */
|
|
7498
8453
|
rule: string;
|
|
7499
8454
|
};
|
|
8455
|
+
SubOrderItem: {
|
|
8456
|
+
/** @description Адрес для клиентов; пусто — адрес ноды */
|
|
8457
|
+
address: string;
|
|
8458
|
+
/** @description Клиенты ходят через CDN */
|
|
8459
|
+
cdn: boolean;
|
|
8460
|
+
/** @description Адрес по умолчанию: тот, что задаёт само подключение */
|
|
8461
|
+
default: boolean;
|
|
8462
|
+
/** @description Адрес выдают не всем: только части статусов подписки, только пробным или всем, кроме них, или по группам клиентов */
|
|
8463
|
+
for_some: boolean;
|
|
8464
|
+
/**
|
|
8465
|
+
* Format: int64
|
|
8466
|
+
* @description Адрес подключения для клиентов: его id в порядке, который сохраняют
|
|
8467
|
+
*/
|
|
8468
|
+
host_id: number;
|
|
8469
|
+
/**
|
|
8470
|
+
* Format: int64
|
|
8471
|
+
* @description Подключение (протокол), чей это адрес
|
|
8472
|
+
*/
|
|
8473
|
+
inbound_id: number;
|
|
8474
|
+
/** @description Имя сервера в приложении клиента, которому доступно всё; переменные — как написаны. У сервера, который клиенты сейчас не получают, — его собственное имя или имя подключения, без флага ноды */
|
|
8475
|
+
name: string;
|
|
8476
|
+
/** Format: int64 */
|
|
8477
|
+
node_id: number;
|
|
8478
|
+
/**
|
|
8479
|
+
* Format: int64
|
|
8480
|
+
* @description Порт для клиентов; 0 — порт подключения
|
|
8481
|
+
*/
|
|
8482
|
+
port: number;
|
|
8483
|
+
/** @description Клиенты получают этот сервер сейчас: подключение и нода включены */
|
|
8484
|
+
served: boolean;
|
|
8485
|
+
};
|
|
7500
8486
|
SubPageView: {
|
|
7501
8487
|
background?: components["schemas"]["PageAsset"];
|
|
7502
8488
|
/** @description Название бренда (settings.brand) */
|
|
@@ -7508,40 +8494,164 @@ export interface components {
|
|
|
7508
8494
|
defaults: components["schemas"]["Page"];
|
|
7509
8495
|
logo?: components["schemas"]["PageAsset"];
|
|
7510
8496
|
};
|
|
7511
|
-
|
|
7512
|
-
/** Format: int64 */
|
|
7513
|
-
conds: number;
|
|
7514
|
-
/** Format: int64 */
|
|
7515
|
-
groups: number;
|
|
7516
|
-
/** Format: int64 */
|
|
7517
|
-
headers: number;
|
|
7518
|
-
/** Format: int64 */
|
|
7519
|
-
html: number;
|
|
7520
|
-
/** Format: int64 */
|
|
7521
|
-
name: number;
|
|
7522
|
-
/** Format: int64 */
|
|
7523
|
-
rules: number;
|
|
7524
|
-
/** Format: int64 */
|
|
7525
|
-
text: number;
|
|
7526
|
-
/** Format: int64 */
|
|
7527
|
-
value: number;
|
|
7528
|
-
};
|
|
7529
|
-
SubRuleTest: {
|
|
8497
|
+
SubPreview: {
|
|
7530
8498
|
/** @description Известное приложение по User-Agent; пусто — неизвестное */
|
|
7531
8499
|
app_id: string;
|
|
7532
8500
|
app_name: string;
|
|
7533
|
-
/** @description
|
|
7534
|
-
|
|
7535
|
-
/** @description
|
|
7536
|
-
|
|
8501
|
+
/** @description Тело ответа: профиль с ключами-заглушками, ссылки — раскрытыми из base64; токен ссылки скрыт. Пусто для страницы подписки */
|
|
8502
|
+
body: string;
|
|
8503
|
+
/** @description Тело длиннее 2 МиБ и обрезано */
|
|
8504
|
+
body_cut?: boolean;
|
|
8505
|
+
/** @description Серверы клиента — свои серверы его группы */
|
|
8506
|
+
by_group: boolean;
|
|
8507
|
+
/**
|
|
8508
|
+
* @description Что получит устройство: known — привязано и останется, new — займёт новое место, shared — общее место приложений без ID, inactive — подписка не работает, места не займёт; пусто — до ключей не дошло
|
|
8509
|
+
* @enum {string}
|
|
8510
|
+
*/
|
|
8511
|
+
device: "" | "known" | "new" | "shared" | "inactive";
|
|
8512
|
+
/**
|
|
8513
|
+
* @description Формат ответа: clash, singbox, xray, uri, html (страница подписки); пусто — правило ответило без профиля
|
|
8514
|
+
* @enum {string}
|
|
8515
|
+
*/
|
|
8516
|
+
format: "" | "clash" | "singbox" | "uri" | "xray" | "html";
|
|
7537
8517
|
/**
|
|
7538
8518
|
* Format: int64
|
|
7539
|
-
* @description
|
|
8519
|
+
* @description Группа, в которой клиент сейчас
|
|
8520
|
+
*/
|
|
8521
|
+
group_id: number | null;
|
|
8522
|
+
/** @description Заголовки ответа, по имени */
|
|
8523
|
+
headers: components["schemas"]["SubPreviewHeader"][];
|
|
8524
|
+
/** @description Что из серверов панели в ответ не попало, и почему */
|
|
8525
|
+
left: components["schemas"]["SubPreviewLeft"][];
|
|
8526
|
+
/** @description Что ядро формата (sing-box, Xray) делает с профилем по-своему или опускает */
|
|
8527
|
+
notes: components["schemas"]["Note"][];
|
|
8528
|
+
/**
|
|
8529
|
+
* @description error — панель не смогла ответить, причина в её журнале
|
|
8530
|
+
* @enum {string}
|
|
8531
|
+
*/
|
|
8532
|
+
outcome: "served" | "stub" | "blocked" | "dropped" | "error";
|
|
8533
|
+
/** @description Серверы клиента — свой список протоколов карточки */
|
|
8534
|
+
own: boolean;
|
|
8535
|
+
/**
|
|
8536
|
+
* Format: int64
|
|
8537
|
+
* @description Место сработавшего правила в списке, с 1; 0 — не правило из списка
|
|
7540
8538
|
*/
|
|
7541
8539
|
position: number;
|
|
8540
|
+
/** @description Серверы в ответе, по порядку */
|
|
8541
|
+
proxies: components["schemas"]["SubPreviewProxy"][];
|
|
7542
8542
|
/** @enum {string} */
|
|
7543
8543
|
respond: "serve" | "stub" | "403" | "404" | "html" | "drop";
|
|
7544
|
-
/** @description Что решило: имя
|
|
8544
|
+
/** @description Что решило: имя правила ответа, builtin:ssr, builtin:old, apps (список приложений); пусто — ничего */
|
|
8545
|
+
rule: string;
|
|
8546
|
+
/**
|
|
8547
|
+
* Format: int64
|
|
8548
|
+
* @description Код ответа; 0 — соединение закрыто без ответа
|
|
8549
|
+
*/
|
|
8550
|
+
status: number;
|
|
8551
|
+
/**
|
|
8552
|
+
* @description Почему вместо серверов ушла заглушка: unsupported, device_limit, no_hwid, device_banned, device_unbound, inactive, no_proxies; пусто — заглушки нет
|
|
8553
|
+
* @enum {string}
|
|
8554
|
+
*/
|
|
8555
|
+
stub: "" | "unsupported" | "device_limit" | "no_hwid" | "device_banned" | "device_unbound" | "inactive" | "no_proxies";
|
|
8556
|
+
/** @description Свой шаблон, из которого собран профиль; null — встроенный профиль */
|
|
8557
|
+
template: components["schemas"]["SubPreviewTemplate"];
|
|
8558
|
+
/** @description Шаблон не собрался для этого клиента, ушёл встроенный профиль */
|
|
8559
|
+
template_failed: boolean;
|
|
8560
|
+
};
|
|
8561
|
+
SubPreviewHeader: {
|
|
8562
|
+
name: string;
|
|
8563
|
+
/** @description Значение вида base64:… как текст */
|
|
8564
|
+
text?: string;
|
|
8565
|
+
value: string;
|
|
8566
|
+
};
|
|
8567
|
+
SubPreviewInputBody: {
|
|
8568
|
+
/**
|
|
8569
|
+
* @description Формат, который называет ссылка (?format=); не задан — как решат заголовки
|
|
8570
|
+
* @enum {string}
|
|
8571
|
+
*/
|
|
8572
|
+
format?: "clash" | "singbox" | "uri" | "xray" | "html";
|
|
8573
|
+
/** @description Остальные заголовки запроса: X-Hwid, X-Device-Os, Accept, Host, свои */
|
|
8574
|
+
headers?: components["schemas"]["Header"][];
|
|
8575
|
+
/** @description User-Agent приложения; пусто — запрос без него */
|
|
8576
|
+
user_agent: string;
|
|
8577
|
+
};
|
|
8578
|
+
SubPreviewLeft: {
|
|
8579
|
+
/** @description Адрес; пусто у адреса — адрес ноды */
|
|
8580
|
+
address?: string;
|
|
8581
|
+
/** @description Для broken: почему */
|
|
8582
|
+
error?: string;
|
|
8583
|
+
/**
|
|
8584
|
+
* Format: int64
|
|
8585
|
+
* @description Адрес для клиентов; не задан — протокол целиком
|
|
8586
|
+
*/
|
|
8587
|
+
host_id?: number;
|
|
8588
|
+
/** @description Своё имя адреса в подписке */
|
|
8589
|
+
host_name?: string;
|
|
8590
|
+
/** Format: int64 */
|
|
8591
|
+
inbound_id: number;
|
|
8592
|
+
/** @description Имя протокола в подписке */
|
|
8593
|
+
inbound_name: string;
|
|
8594
|
+
/** Format: int64 */
|
|
8595
|
+
node_id: number;
|
|
8596
|
+
/**
|
|
8597
|
+
* @description inbound_off — протокол выключен, node_off — нода выключена, not_own — нет в своём списке протоколов карточки, not_in_group — нет в серверах группы, not_in_tariff — нет в серверах тарифа, pool_shut — группа серверов закрыта или её трафик кончился, hidden — на ноде клиенту не выдаётся ни один адрес, balance — балансировка держит клиента на другой ноде, host_state, host_trial, host_group — адрес выдаётся другим статусам, пробным или группам, app — приложение не умеет этот протокол, broken — протокол не собрался
|
|
8598
|
+
* @enum {string}
|
|
8599
|
+
*/
|
|
8600
|
+
reason: "inbound_off" | "node_off" | "not_own" | "not_in_group" | "not_in_tariff" | "pool_shut" | "hidden" | "balance" | "host_state" | "host_trial" | "host_group" | "app" | "broken";
|
|
8601
|
+
};
|
|
8602
|
+
SubPreviewProxy: {
|
|
8603
|
+
name: string;
|
|
8604
|
+
/** Format: int64 */
|
|
8605
|
+
node_id: number;
|
|
8606
|
+
/** Format: int64 */
|
|
8607
|
+
port: number;
|
|
8608
|
+
/** @description Диапазон портов Hysteria2 */
|
|
8609
|
+
ports?: string;
|
|
8610
|
+
server: string;
|
|
8611
|
+
/** @description Протокол: vless, hysteria2, tuic… */
|
|
8612
|
+
type: string;
|
|
8613
|
+
};
|
|
8614
|
+
SubPreviewTemplate: {
|
|
8615
|
+
/** @enum {string} */
|
|
8616
|
+
core: "mihomo" | "singbox" | "xray";
|
|
8617
|
+
/** Format: int64 */
|
|
8618
|
+
id: number;
|
|
8619
|
+
name: string;
|
|
8620
|
+
};
|
|
8621
|
+
SubRuleLimits: {
|
|
8622
|
+
/** Format: int64 */
|
|
8623
|
+
conds: number;
|
|
8624
|
+
/** Format: int64 */
|
|
8625
|
+
groups: number;
|
|
8626
|
+
/** Format: int64 */
|
|
8627
|
+
headers: number;
|
|
8628
|
+
/** Format: int64 */
|
|
8629
|
+
html: number;
|
|
8630
|
+
/** Format: int64 */
|
|
8631
|
+
name: number;
|
|
8632
|
+
/** Format: int64 */
|
|
8633
|
+
rules: number;
|
|
8634
|
+
/** Format: int64 */
|
|
8635
|
+
text: number;
|
|
8636
|
+
/** Format: int64 */
|
|
8637
|
+
value: number;
|
|
8638
|
+
};
|
|
8639
|
+
SubRuleTest: {
|
|
8640
|
+
/** @description Известное приложение по User-Agent; пусто — неизвестное */
|
|
8641
|
+
app_id: string;
|
|
8642
|
+
app_name: string;
|
|
8643
|
+
/** @description Формат профиля или заглушки; пусто, когда профиля в ответе нет */
|
|
8644
|
+
format: string;
|
|
8645
|
+
/** @description Заголовки, которые добавляет правило */
|
|
8646
|
+
headers: components["schemas"]["Header"][];
|
|
8647
|
+
/**
|
|
8648
|
+
* Format: int64
|
|
8649
|
+
* @description Место сработавшего правила в списке, с 1; 0 — сработало не правило из списка
|
|
8650
|
+
*/
|
|
8651
|
+
position: number;
|
|
8652
|
+
/** @enum {string} */
|
|
8653
|
+
respond: "serve" | "stub" | "403" | "404" | "html" | "drop";
|
|
8654
|
+
/** @description Что решило: имя правила, builtin:ssr, builtin:old, apps (список приложений); пусто — ничего, ответ как обычно */
|
|
7545
8655
|
rule: string;
|
|
7546
8656
|
skip_hwid: boolean;
|
|
7547
8657
|
/**
|
|
@@ -7732,6 +8842,11 @@ export interface components {
|
|
|
7732
8842
|
extra_devices?: components["schemas"]["ExtraDevices"];
|
|
7733
8843
|
/** @description Пакеты трафика в подарок при каждой оплате тарифа; каждый должен добавлять к квоте, которую тариф даёт: к основному трафику с лимитом или к группе со своим лимитом. Не передан — без изменений */
|
|
7734
8844
|
gifts?: number[];
|
|
8845
|
+
/**
|
|
8846
|
+
* Format: int64
|
|
8847
|
+
* @description Группа для клиентов тарифа без своей группы; 0 — никакой. Не передан — без изменений (у нового тарифа — никакой). Действует сразу на всех клиентов тарифа
|
|
8848
|
+
*/
|
|
8849
|
+
group_id?: number;
|
|
7735
8850
|
name: string;
|
|
7736
8851
|
/** @description Продавать в боте и Mini App; нужна хотя бы одна цена */
|
|
7737
8852
|
on_sale?: boolean;
|
|
@@ -7798,6 +8913,11 @@ export interface components {
|
|
|
7798
8913
|
extra_devices: components["schemas"]["ExtraDevices"];
|
|
7799
8914
|
/** @description Пакеты трафика в подарок при каждой оплате тарифа: покупке и продлении */
|
|
7800
8915
|
gifts: number[];
|
|
8916
|
+
/**
|
|
8917
|
+
* Format: int64
|
|
8918
|
+
* @description Группа, в которой клиенты тарифа без своей группы: покупатели и пробные попадают в неё сами; null — ни в какой
|
|
8919
|
+
*/
|
|
8920
|
+
group_id: number | null;
|
|
7801
8921
|
/** Format: int64 */
|
|
7802
8922
|
id: number;
|
|
7803
8923
|
name: string;
|
|
@@ -7818,7 +8938,7 @@ export interface components {
|
|
|
7818
8938
|
price_stars: number | null;
|
|
7819
8939
|
/** @enum {string} */
|
|
7820
8940
|
reset_strategy: "none" | "month_start" | "period";
|
|
7821
|
-
/** @description Какие серверы входят в тариф: все или выбранные. Действует сразу на всех клиентов тарифа; клиент со своим списком протоколов в карточке остаётся при
|
|
8941
|
+
/** @description Какие серверы входят в тариф: все или выбранные. Действует сразу на всех клиентов тарифа; клиент со своим списком протоколов в карточке остаётся при нём, клиент в группе со своими серверами видит серверы группы */
|
|
7822
8942
|
servers: components["schemas"]["ServersView"];
|
|
7823
8943
|
/** Format: int64 */
|
|
7824
8944
|
sort: number;
|
|
@@ -7870,6 +8990,16 @@ export interface components {
|
|
|
7870
8990
|
name: string;
|
|
7871
8991
|
username: string;
|
|
7872
8992
|
};
|
|
8993
|
+
TelegramLinkInputBody: {
|
|
8994
|
+
/** @description Значение tgAuthResult из адреса, с которым Telegram вернул на страницу */
|
|
8995
|
+
result: string;
|
|
8996
|
+
};
|
|
8997
|
+
TelegramLoginInputBody: {
|
|
8998
|
+
/** @description Значение tgAuthResult из адреса страницы входа */
|
|
8999
|
+
result: string;
|
|
9000
|
+
/** @description Код из приложения, если включена 2FA */
|
|
9001
|
+
totp?: string;
|
|
9002
|
+
};
|
|
7873
9003
|
TelegramPreviewInputBody: {
|
|
7874
9004
|
/** @description Текст бота с Markdown */
|
|
7875
9005
|
text: string;
|
|
@@ -7882,6 +9012,12 @@ export interface components {
|
|
|
7882
9012
|
/** @description Сообщение, как его отправит бот: HTML Telegram */
|
|
7883
9013
|
html: string;
|
|
7884
9014
|
};
|
|
9015
|
+
TelegramProvider: {
|
|
9016
|
+
/** @description Бот панели (@username), через которого идёт вход; пусто — бот не подключён */
|
|
9017
|
+
bot: string;
|
|
9018
|
+
/** @description Домен, который нужно указать боту в @BotFather (/setdomain); пусто — у панели нет домена, вход через Telegram недоступен */
|
|
9019
|
+
domain: string;
|
|
9020
|
+
};
|
|
7885
9021
|
TelegramRoute: {
|
|
7886
9022
|
/**
|
|
7887
9023
|
* @description Напрямую с сервера панели, через её ноду или через прокси — когда Telegram на сервере заблокирован
|
|
@@ -8323,6 +9459,10 @@ export interface components {
|
|
|
8323
9459
|
contact: string;
|
|
8324
9460
|
/** Format: date-time */
|
|
8325
9461
|
created_at: string;
|
|
9462
|
+
/** @description Свои поля админа (GET /api/v1/custom-fields) по ключу; поля без значения нет в объекте */
|
|
9463
|
+
custom_fields: {
|
|
9464
|
+
[key: string]: string;
|
|
9465
|
+
};
|
|
8326
9466
|
/** Format: int64 */
|
|
8327
9467
|
device_limit: number | null;
|
|
8328
9468
|
/**
|
|
@@ -8330,6 +9470,11 @@ export interface components {
|
|
|
8330
9470
|
* @enum {string}
|
|
8331
9471
|
*/
|
|
8332
9472
|
device_mode: "bound" | "online";
|
|
9473
|
+
/**
|
|
9474
|
+
* Format: int64
|
|
9475
|
+
* @description Группа, в которой клиент сейчас: своя (group_id) или его тарифа; null — ни в какой. От неё зависят серверы и адреса, которые он видит
|
|
9476
|
+
*/
|
|
9477
|
+
effective_group_id: number | null;
|
|
8333
9478
|
/** Format: date-time */
|
|
8334
9479
|
expires_at: string | null;
|
|
8335
9480
|
/**
|
|
@@ -8337,6 +9482,11 @@ export interface components {
|
|
|
8337
9482
|
* @description Папка пользователя; null — вне папок
|
|
8338
9483
|
*/
|
|
8339
9484
|
folder_id: number | null;
|
|
9485
|
+
/**
|
|
9486
|
+
* Format: int64
|
|
9487
|
+
* @description Своя группа клиента, заданная в карточке; null — группа его тарифа
|
|
9488
|
+
*/
|
|
9489
|
+
group_id: number | null;
|
|
8340
9490
|
/** @description Скрыт из списка пользователей. Только прячет строку: подписка, оплата и ноды работают как у всех, счётчики обзора не меняются */
|
|
8341
9491
|
hidden: boolean;
|
|
8342
9492
|
/** Format: int64 */
|
|
@@ -8361,10 +9511,10 @@ export interface components {
|
|
|
8361
9511
|
/** Format: date-time */
|
|
8362
9512
|
resets_at: string | null;
|
|
8363
9513
|
/**
|
|
8364
|
-
* @description Откуда пользователь: admin — создан в панели или по ключу API, bot — куплен в боте, trial — пробный период бота, free — бесплатный тариф из бота или Mini App, import — перенесён из другой панели. Заполняется при создании, не меняется
|
|
9514
|
+
* @description Откуда пользователь: admin — создан в панели или по ключу API, bot — куплен в боте, web — куплен на сайте, trial — пробный период бота, free — бесплатный тариф из бота или Mini App, import — перенесён из другой панели. Заполняется при создании, не меняется
|
|
8365
9515
|
* @enum {string}
|
|
8366
9516
|
*/
|
|
8367
|
-
source: "admin" | "bot" | "trial" | "free" | "import";
|
|
9517
|
+
source: "admin" | "bot" | "web" | "trial" | "free" | "import";
|
|
8368
9518
|
/**
|
|
8369
9519
|
* Format: int64
|
|
8370
9520
|
* @description Мбит/с в каждую сторону; null — без ограничения
|
|
@@ -9132,9 +10282,820 @@ export interface operations {
|
|
|
9132
10282
|
headers: {
|
|
9133
10283
|
[name: string]: unknown;
|
|
9134
10284
|
};
|
|
9135
|
-
content: {
|
|
9136
|
-
"application/json": components["schemas"]["APIKeyView"][];
|
|
9137
|
-
};
|
|
10285
|
+
content: {
|
|
10286
|
+
"application/json": components["schemas"]["APIKeyView"][];
|
|
10287
|
+
};
|
|
10288
|
+
};
|
|
10289
|
+
/** @description Error */
|
|
10290
|
+
default: {
|
|
10291
|
+
headers: {
|
|
10292
|
+
[name: string]: unknown;
|
|
10293
|
+
};
|
|
10294
|
+
content: {
|
|
10295
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10296
|
+
};
|
|
10297
|
+
};
|
|
10298
|
+
};
|
|
10299
|
+
};
|
|
10300
|
+
"create-api-key": {
|
|
10301
|
+
parameters: {
|
|
10302
|
+
query?: never;
|
|
10303
|
+
header?: never;
|
|
10304
|
+
path?: never;
|
|
10305
|
+
cookie?: never;
|
|
10306
|
+
};
|
|
10307
|
+
requestBody: {
|
|
10308
|
+
content: {
|
|
10309
|
+
"application/json": components["schemas"]["CreateAPIKeyInputBody"];
|
|
10310
|
+
};
|
|
10311
|
+
};
|
|
10312
|
+
responses: {
|
|
10313
|
+
/** @description Created */
|
|
10314
|
+
201: {
|
|
10315
|
+
headers: {
|
|
10316
|
+
[name: string]: unknown;
|
|
10317
|
+
};
|
|
10318
|
+
content: {
|
|
10319
|
+
"application/json": components["schemas"]["CreateAPIKeyOutputBody"];
|
|
10320
|
+
};
|
|
10321
|
+
};
|
|
10322
|
+
/** @description Error */
|
|
10323
|
+
default: {
|
|
10324
|
+
headers: {
|
|
10325
|
+
[name: string]: unknown;
|
|
10326
|
+
};
|
|
10327
|
+
content: {
|
|
10328
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10329
|
+
};
|
|
10330
|
+
};
|
|
10331
|
+
};
|
|
10332
|
+
};
|
|
10333
|
+
"delete-api-key": {
|
|
10334
|
+
parameters: {
|
|
10335
|
+
query?: never;
|
|
10336
|
+
header?: never;
|
|
10337
|
+
path: {
|
|
10338
|
+
id: number;
|
|
10339
|
+
};
|
|
10340
|
+
cookie?: never;
|
|
10341
|
+
};
|
|
10342
|
+
requestBody?: never;
|
|
10343
|
+
responses: {
|
|
10344
|
+
/** @description No Content */
|
|
10345
|
+
204: {
|
|
10346
|
+
headers: {
|
|
10347
|
+
[name: string]: unknown;
|
|
10348
|
+
};
|
|
10349
|
+
content?: never;
|
|
10350
|
+
};
|
|
10351
|
+
/** @description Error */
|
|
10352
|
+
default: {
|
|
10353
|
+
headers: {
|
|
10354
|
+
[name: string]: unknown;
|
|
10355
|
+
};
|
|
10356
|
+
content: {
|
|
10357
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10358
|
+
};
|
|
10359
|
+
};
|
|
10360
|
+
};
|
|
10361
|
+
};
|
|
10362
|
+
"list-audit": {
|
|
10363
|
+
parameters: {
|
|
10364
|
+
query?: {
|
|
10365
|
+
/** @description Записи до этого номера; 0 — самые новые */
|
|
10366
|
+
before?: number;
|
|
10367
|
+
limit?: number;
|
|
10368
|
+
};
|
|
10369
|
+
header?: never;
|
|
10370
|
+
path?: never;
|
|
10371
|
+
cookie?: never;
|
|
10372
|
+
};
|
|
10373
|
+
requestBody?: never;
|
|
10374
|
+
responses: {
|
|
10375
|
+
/** @description OK */
|
|
10376
|
+
200: {
|
|
10377
|
+
headers: {
|
|
10378
|
+
[name: string]: unknown;
|
|
10379
|
+
};
|
|
10380
|
+
content: {
|
|
10381
|
+
"application/json": components["schemas"]["AuditOutputBody"];
|
|
10382
|
+
};
|
|
10383
|
+
};
|
|
10384
|
+
/** @description Error */
|
|
10385
|
+
default: {
|
|
10386
|
+
headers: {
|
|
10387
|
+
[name: string]: unknown;
|
|
10388
|
+
};
|
|
10389
|
+
content: {
|
|
10390
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10391
|
+
};
|
|
10392
|
+
};
|
|
10393
|
+
};
|
|
10394
|
+
};
|
|
10395
|
+
"github-callback": {
|
|
10396
|
+
parameters: {
|
|
10397
|
+
query?: {
|
|
10398
|
+
code?: string;
|
|
10399
|
+
state?: string;
|
|
10400
|
+
error?: string;
|
|
10401
|
+
};
|
|
10402
|
+
header?: never;
|
|
10403
|
+
path?: never;
|
|
10404
|
+
cookie?: never;
|
|
10405
|
+
};
|
|
10406
|
+
requestBody?: never;
|
|
10407
|
+
responses: {
|
|
10408
|
+
/** @description Found */
|
|
10409
|
+
302: {
|
|
10410
|
+
headers: {
|
|
10411
|
+
"Cache-Control"?: string;
|
|
10412
|
+
Location?: string;
|
|
10413
|
+
[name: string]: unknown;
|
|
10414
|
+
};
|
|
10415
|
+
content?: never;
|
|
10416
|
+
};
|
|
10417
|
+
/** @description Error */
|
|
10418
|
+
default: {
|
|
10419
|
+
headers: {
|
|
10420
|
+
[name: string]: unknown;
|
|
10421
|
+
};
|
|
10422
|
+
content: {
|
|
10423
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10424
|
+
};
|
|
10425
|
+
};
|
|
10426
|
+
};
|
|
10427
|
+
};
|
|
10428
|
+
"list-identities": {
|
|
10429
|
+
parameters: {
|
|
10430
|
+
query?: never;
|
|
10431
|
+
header?: never;
|
|
10432
|
+
path?: never;
|
|
10433
|
+
cookie?: never;
|
|
10434
|
+
};
|
|
10435
|
+
requestBody?: never;
|
|
10436
|
+
responses: {
|
|
10437
|
+
/** @description OK */
|
|
10438
|
+
200: {
|
|
10439
|
+
headers: {
|
|
10440
|
+
[name: string]: unknown;
|
|
10441
|
+
};
|
|
10442
|
+
content: {
|
|
10443
|
+
"application/json": components["schemas"]["IdentityView"][];
|
|
10444
|
+
};
|
|
10445
|
+
};
|
|
10446
|
+
/** @description Error */
|
|
10447
|
+
default: {
|
|
10448
|
+
headers: {
|
|
10449
|
+
[name: string]: unknown;
|
|
10450
|
+
};
|
|
10451
|
+
content: {
|
|
10452
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10453
|
+
};
|
|
10454
|
+
};
|
|
10455
|
+
};
|
|
10456
|
+
};
|
|
10457
|
+
"github-link-begin": {
|
|
10458
|
+
parameters: {
|
|
10459
|
+
query?: never;
|
|
10460
|
+
header?: never;
|
|
10461
|
+
path?: never;
|
|
10462
|
+
cookie?: never;
|
|
10463
|
+
};
|
|
10464
|
+
requestBody: {
|
|
10465
|
+
content: {
|
|
10466
|
+
"application/json": components["schemas"]["IdentityBeginInputBody"];
|
|
10467
|
+
};
|
|
10468
|
+
};
|
|
10469
|
+
responses: {
|
|
10470
|
+
/** @description OK */
|
|
10471
|
+
200: {
|
|
10472
|
+
headers: {
|
|
10473
|
+
[name: string]: unknown;
|
|
10474
|
+
};
|
|
10475
|
+
content: {
|
|
10476
|
+
"application/json": components["schemas"]["IdentityURLOutputBody"];
|
|
10477
|
+
};
|
|
10478
|
+
};
|
|
10479
|
+
/** @description Error */
|
|
10480
|
+
default: {
|
|
10481
|
+
headers: {
|
|
10482
|
+
[name: string]: unknown;
|
|
10483
|
+
};
|
|
10484
|
+
content: {
|
|
10485
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10486
|
+
};
|
|
10487
|
+
};
|
|
10488
|
+
};
|
|
10489
|
+
};
|
|
10490
|
+
"link-telegram": {
|
|
10491
|
+
parameters: {
|
|
10492
|
+
query?: never;
|
|
10493
|
+
header?: never;
|
|
10494
|
+
path?: never;
|
|
10495
|
+
cookie?: never;
|
|
10496
|
+
};
|
|
10497
|
+
requestBody: {
|
|
10498
|
+
content: {
|
|
10499
|
+
"application/json": components["schemas"]["TelegramLinkInputBody"];
|
|
10500
|
+
};
|
|
10501
|
+
};
|
|
10502
|
+
responses: {
|
|
10503
|
+
/** @description Created */
|
|
10504
|
+
201: {
|
|
10505
|
+
headers: {
|
|
10506
|
+
[name: string]: unknown;
|
|
10507
|
+
};
|
|
10508
|
+
content: {
|
|
10509
|
+
"application/json": components["schemas"]["IdentityView"];
|
|
10510
|
+
};
|
|
10511
|
+
};
|
|
10512
|
+
/** @description Error */
|
|
10513
|
+
default: {
|
|
10514
|
+
headers: {
|
|
10515
|
+
[name: string]: unknown;
|
|
10516
|
+
};
|
|
10517
|
+
content: {
|
|
10518
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10519
|
+
};
|
|
10520
|
+
};
|
|
10521
|
+
};
|
|
10522
|
+
};
|
|
10523
|
+
"telegram-link-begin": {
|
|
10524
|
+
parameters: {
|
|
10525
|
+
query?: never;
|
|
10526
|
+
header?: never;
|
|
10527
|
+
path?: never;
|
|
10528
|
+
cookie?: never;
|
|
10529
|
+
};
|
|
10530
|
+
requestBody: {
|
|
10531
|
+
content: {
|
|
10532
|
+
"application/json": components["schemas"]["IdentityBeginInputBody"];
|
|
10533
|
+
};
|
|
10534
|
+
};
|
|
10535
|
+
responses: {
|
|
10536
|
+
/** @description OK */
|
|
10537
|
+
200: {
|
|
10538
|
+
headers: {
|
|
10539
|
+
[name: string]: unknown;
|
|
10540
|
+
};
|
|
10541
|
+
content: {
|
|
10542
|
+
"application/json": components["schemas"]["IdentityURLOutputBody"];
|
|
10543
|
+
};
|
|
10544
|
+
};
|
|
10545
|
+
/** @description Error */
|
|
10546
|
+
default: {
|
|
10547
|
+
headers: {
|
|
10548
|
+
[name: string]: unknown;
|
|
10549
|
+
};
|
|
10550
|
+
content: {
|
|
10551
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10552
|
+
};
|
|
10553
|
+
};
|
|
10554
|
+
};
|
|
10555
|
+
};
|
|
10556
|
+
"delete-identity": {
|
|
10557
|
+
parameters: {
|
|
10558
|
+
query?: never;
|
|
10559
|
+
header?: never;
|
|
10560
|
+
path: {
|
|
10561
|
+
id: number;
|
|
10562
|
+
};
|
|
10563
|
+
cookie?: never;
|
|
10564
|
+
};
|
|
10565
|
+
requestBody?: never;
|
|
10566
|
+
responses: {
|
|
10567
|
+
/** @description No Content */
|
|
10568
|
+
204: {
|
|
10569
|
+
headers: {
|
|
10570
|
+
[name: string]: unknown;
|
|
10571
|
+
};
|
|
10572
|
+
content?: never;
|
|
10573
|
+
};
|
|
10574
|
+
/** @description Error */
|
|
10575
|
+
default: {
|
|
10576
|
+
headers: {
|
|
10577
|
+
[name: string]: unknown;
|
|
10578
|
+
};
|
|
10579
|
+
content: {
|
|
10580
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10581
|
+
};
|
|
10582
|
+
};
|
|
10583
|
+
};
|
|
10584
|
+
};
|
|
10585
|
+
"identity-providers": {
|
|
10586
|
+
parameters: {
|
|
10587
|
+
query?: never;
|
|
10588
|
+
header?: never;
|
|
10589
|
+
path?: never;
|
|
10590
|
+
cookie?: never;
|
|
10591
|
+
};
|
|
10592
|
+
requestBody?: never;
|
|
10593
|
+
responses: {
|
|
10594
|
+
/** @description OK */
|
|
10595
|
+
200: {
|
|
10596
|
+
headers: {
|
|
10597
|
+
[name: string]: unknown;
|
|
10598
|
+
};
|
|
10599
|
+
content: {
|
|
10600
|
+
"application/json": components["schemas"]["IdentityProviders"];
|
|
10601
|
+
};
|
|
10602
|
+
};
|
|
10603
|
+
/** @description Error */
|
|
10604
|
+
default: {
|
|
10605
|
+
headers: {
|
|
10606
|
+
[name: string]: unknown;
|
|
10607
|
+
};
|
|
10608
|
+
content: {
|
|
10609
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10610
|
+
};
|
|
10611
|
+
};
|
|
10612
|
+
};
|
|
10613
|
+
};
|
|
10614
|
+
"set-github-app": {
|
|
10615
|
+
parameters: {
|
|
10616
|
+
query?: never;
|
|
10617
|
+
header?: never;
|
|
10618
|
+
path?: never;
|
|
10619
|
+
cookie?: never;
|
|
10620
|
+
};
|
|
10621
|
+
requestBody: {
|
|
10622
|
+
content: {
|
|
10623
|
+
"application/json": components["schemas"]["GithubAppInputBody"];
|
|
10624
|
+
};
|
|
10625
|
+
};
|
|
10626
|
+
responses: {
|
|
10627
|
+
/** @description OK */
|
|
10628
|
+
200: {
|
|
10629
|
+
headers: {
|
|
10630
|
+
[name: string]: unknown;
|
|
10631
|
+
};
|
|
10632
|
+
content: {
|
|
10633
|
+
"application/json": components["schemas"]["IdentityProviders"];
|
|
10634
|
+
};
|
|
10635
|
+
};
|
|
10636
|
+
/** @description Error */
|
|
10637
|
+
default: {
|
|
10638
|
+
headers: {
|
|
10639
|
+
[name: string]: unknown;
|
|
10640
|
+
};
|
|
10641
|
+
content: {
|
|
10642
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10643
|
+
};
|
|
10644
|
+
};
|
|
10645
|
+
};
|
|
10646
|
+
};
|
|
10647
|
+
login: {
|
|
10648
|
+
parameters: {
|
|
10649
|
+
query?: never;
|
|
10650
|
+
header?: never;
|
|
10651
|
+
path?: never;
|
|
10652
|
+
cookie?: never;
|
|
10653
|
+
};
|
|
10654
|
+
requestBody: {
|
|
10655
|
+
content: {
|
|
10656
|
+
"application/json": components["schemas"]["LoginInputBody"];
|
|
10657
|
+
};
|
|
10658
|
+
};
|
|
10659
|
+
responses: {
|
|
10660
|
+
/** @description OK */
|
|
10661
|
+
200: {
|
|
10662
|
+
headers: {
|
|
10663
|
+
"Set-Cookie"?: string;
|
|
10664
|
+
[name: string]: unknown;
|
|
10665
|
+
};
|
|
10666
|
+
content: {
|
|
10667
|
+
"application/json": components["schemas"]["MeBody"];
|
|
10668
|
+
};
|
|
10669
|
+
};
|
|
10670
|
+
/** @description Error */
|
|
10671
|
+
default: {
|
|
10672
|
+
headers: {
|
|
10673
|
+
[name: string]: unknown;
|
|
10674
|
+
};
|
|
10675
|
+
content: {
|
|
10676
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10677
|
+
};
|
|
10678
|
+
};
|
|
10679
|
+
};
|
|
10680
|
+
};
|
|
10681
|
+
"github-login": {
|
|
10682
|
+
parameters: {
|
|
10683
|
+
query?: never;
|
|
10684
|
+
header?: never;
|
|
10685
|
+
path?: never;
|
|
10686
|
+
cookie?: never;
|
|
10687
|
+
};
|
|
10688
|
+
requestBody: {
|
|
10689
|
+
content: {
|
|
10690
|
+
"application/json": components["schemas"]["GithubLoginInputBody"];
|
|
10691
|
+
};
|
|
10692
|
+
};
|
|
10693
|
+
responses: {
|
|
10694
|
+
/** @description OK */
|
|
10695
|
+
200: {
|
|
10696
|
+
headers: {
|
|
10697
|
+
"Set-Cookie"?: string;
|
|
10698
|
+
[name: string]: unknown;
|
|
10699
|
+
};
|
|
10700
|
+
content: {
|
|
10701
|
+
"application/json": components["schemas"]["MeBody"];
|
|
10702
|
+
};
|
|
10703
|
+
};
|
|
10704
|
+
/** @description Error */
|
|
10705
|
+
default: {
|
|
10706
|
+
headers: {
|
|
10707
|
+
[name: string]: unknown;
|
|
10708
|
+
};
|
|
10709
|
+
content: {
|
|
10710
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10711
|
+
};
|
|
10712
|
+
};
|
|
10713
|
+
};
|
|
10714
|
+
};
|
|
10715
|
+
"github-login-begin": {
|
|
10716
|
+
parameters: {
|
|
10717
|
+
query?: never;
|
|
10718
|
+
header?: never;
|
|
10719
|
+
path?: never;
|
|
10720
|
+
cookie?: never;
|
|
10721
|
+
};
|
|
10722
|
+
requestBody?: never;
|
|
10723
|
+
responses: {
|
|
10724
|
+
/** @description OK */
|
|
10725
|
+
200: {
|
|
10726
|
+
headers: {
|
|
10727
|
+
[name: string]: unknown;
|
|
10728
|
+
};
|
|
10729
|
+
content: {
|
|
10730
|
+
"application/json": components["schemas"]["IdentityURLOutputBody"];
|
|
10731
|
+
};
|
|
10732
|
+
};
|
|
10733
|
+
/** @description Error */
|
|
10734
|
+
default: {
|
|
10735
|
+
headers: {
|
|
10736
|
+
[name: string]: unknown;
|
|
10737
|
+
};
|
|
10738
|
+
content: {
|
|
10739
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10740
|
+
};
|
|
10741
|
+
};
|
|
10742
|
+
};
|
|
10743
|
+
};
|
|
10744
|
+
"login-methods": {
|
|
10745
|
+
parameters: {
|
|
10746
|
+
query?: never;
|
|
10747
|
+
header?: never;
|
|
10748
|
+
path?: never;
|
|
10749
|
+
cookie?: never;
|
|
10750
|
+
};
|
|
10751
|
+
requestBody?: never;
|
|
10752
|
+
responses: {
|
|
10753
|
+
/** @description OK */
|
|
10754
|
+
200: {
|
|
10755
|
+
headers: {
|
|
10756
|
+
[name: string]: unknown;
|
|
10757
|
+
};
|
|
10758
|
+
content: {
|
|
10759
|
+
"application/json": components["schemas"]["LoginMethodsOutputBody"];
|
|
10760
|
+
};
|
|
10761
|
+
};
|
|
10762
|
+
/** @description Error */
|
|
10763
|
+
default: {
|
|
10764
|
+
headers: {
|
|
10765
|
+
[name: string]: unknown;
|
|
10766
|
+
};
|
|
10767
|
+
content: {
|
|
10768
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10769
|
+
};
|
|
10770
|
+
};
|
|
10771
|
+
};
|
|
10772
|
+
};
|
|
10773
|
+
"passkey-login": {
|
|
10774
|
+
parameters: {
|
|
10775
|
+
query?: never;
|
|
10776
|
+
header?: never;
|
|
10777
|
+
path?: never;
|
|
10778
|
+
cookie?: never;
|
|
10779
|
+
};
|
|
10780
|
+
requestBody: {
|
|
10781
|
+
content: {
|
|
10782
|
+
"application/json": components["schemas"]["PasskeyLoginInputBody"];
|
|
10783
|
+
};
|
|
10784
|
+
};
|
|
10785
|
+
responses: {
|
|
10786
|
+
/** @description OK */
|
|
10787
|
+
200: {
|
|
10788
|
+
headers: {
|
|
10789
|
+
"Set-Cookie"?: string;
|
|
10790
|
+
[name: string]: unknown;
|
|
10791
|
+
};
|
|
10792
|
+
content: {
|
|
10793
|
+
"application/json": components["schemas"]["MeBody"];
|
|
10794
|
+
};
|
|
10795
|
+
};
|
|
10796
|
+
/** @description Error */
|
|
10797
|
+
default: {
|
|
10798
|
+
headers: {
|
|
10799
|
+
[name: string]: unknown;
|
|
10800
|
+
};
|
|
10801
|
+
content: {
|
|
10802
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10803
|
+
};
|
|
10804
|
+
};
|
|
10805
|
+
};
|
|
10806
|
+
};
|
|
10807
|
+
"passkey-login-begin": {
|
|
10808
|
+
parameters: {
|
|
10809
|
+
query?: never;
|
|
10810
|
+
header?: never;
|
|
10811
|
+
path?: never;
|
|
10812
|
+
cookie?: never;
|
|
10813
|
+
};
|
|
10814
|
+
requestBody?: never;
|
|
10815
|
+
responses: {
|
|
10816
|
+
/** @description OK */
|
|
10817
|
+
200: {
|
|
10818
|
+
headers: {
|
|
10819
|
+
[name: string]: unknown;
|
|
10820
|
+
};
|
|
10821
|
+
content: {
|
|
10822
|
+
"application/json": components["schemas"]["PasskeyLoginBeginOutputBody"];
|
|
10823
|
+
};
|
|
10824
|
+
};
|
|
10825
|
+
/** @description Error */
|
|
10826
|
+
default: {
|
|
10827
|
+
headers: {
|
|
10828
|
+
[name: string]: unknown;
|
|
10829
|
+
};
|
|
10830
|
+
content: {
|
|
10831
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10832
|
+
};
|
|
10833
|
+
};
|
|
10834
|
+
};
|
|
10835
|
+
};
|
|
10836
|
+
"telegram-login": {
|
|
10837
|
+
parameters: {
|
|
10838
|
+
query?: never;
|
|
10839
|
+
header?: never;
|
|
10840
|
+
path?: never;
|
|
10841
|
+
cookie?: never;
|
|
10842
|
+
};
|
|
10843
|
+
requestBody: {
|
|
10844
|
+
content: {
|
|
10845
|
+
"application/json": components["schemas"]["TelegramLoginInputBody"];
|
|
10846
|
+
};
|
|
10847
|
+
};
|
|
10848
|
+
responses: {
|
|
10849
|
+
/** @description OK */
|
|
10850
|
+
200: {
|
|
10851
|
+
headers: {
|
|
10852
|
+
"Set-Cookie"?: string;
|
|
10853
|
+
[name: string]: unknown;
|
|
10854
|
+
};
|
|
10855
|
+
content: {
|
|
10856
|
+
"application/json": components["schemas"]["MeBody"];
|
|
10857
|
+
};
|
|
10858
|
+
};
|
|
10859
|
+
/** @description Error */
|
|
10860
|
+
default: {
|
|
10861
|
+
headers: {
|
|
10862
|
+
[name: string]: unknown;
|
|
10863
|
+
};
|
|
10864
|
+
content: {
|
|
10865
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10866
|
+
};
|
|
10867
|
+
};
|
|
10868
|
+
};
|
|
10869
|
+
};
|
|
10870
|
+
"telegram-login-begin": {
|
|
10871
|
+
parameters: {
|
|
10872
|
+
query?: never;
|
|
10873
|
+
header?: never;
|
|
10874
|
+
path?: never;
|
|
10875
|
+
cookie?: never;
|
|
10876
|
+
};
|
|
10877
|
+
requestBody?: never;
|
|
10878
|
+
responses: {
|
|
10879
|
+
/** @description OK */
|
|
10880
|
+
200: {
|
|
10881
|
+
headers: {
|
|
10882
|
+
[name: string]: unknown;
|
|
10883
|
+
};
|
|
10884
|
+
content: {
|
|
10885
|
+
"application/json": components["schemas"]["IdentityURLOutputBody"];
|
|
10886
|
+
};
|
|
10887
|
+
};
|
|
10888
|
+
/** @description Error */
|
|
10889
|
+
default: {
|
|
10890
|
+
headers: {
|
|
10891
|
+
[name: string]: unknown;
|
|
10892
|
+
};
|
|
10893
|
+
content: {
|
|
10894
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10895
|
+
};
|
|
10896
|
+
};
|
|
10897
|
+
};
|
|
10898
|
+
};
|
|
10899
|
+
logout: {
|
|
10900
|
+
parameters: {
|
|
10901
|
+
query?: never;
|
|
10902
|
+
header?: never;
|
|
10903
|
+
path?: never;
|
|
10904
|
+
cookie?: never;
|
|
10905
|
+
};
|
|
10906
|
+
requestBody?: never;
|
|
10907
|
+
responses: {
|
|
10908
|
+
/** @description No Content */
|
|
10909
|
+
204: {
|
|
10910
|
+
headers: {
|
|
10911
|
+
"Set-Cookie"?: string;
|
|
10912
|
+
[name: string]: unknown;
|
|
10913
|
+
};
|
|
10914
|
+
content?: never;
|
|
10915
|
+
};
|
|
10916
|
+
/** @description Error */
|
|
10917
|
+
default: {
|
|
10918
|
+
headers: {
|
|
10919
|
+
[name: string]: unknown;
|
|
10920
|
+
};
|
|
10921
|
+
content: {
|
|
10922
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10923
|
+
};
|
|
10924
|
+
};
|
|
10925
|
+
};
|
|
10926
|
+
};
|
|
10927
|
+
me: {
|
|
10928
|
+
parameters: {
|
|
10929
|
+
query?: never;
|
|
10930
|
+
header?: never;
|
|
10931
|
+
path?: never;
|
|
10932
|
+
cookie?: never;
|
|
10933
|
+
};
|
|
10934
|
+
requestBody?: never;
|
|
10935
|
+
responses: {
|
|
10936
|
+
/** @description OK */
|
|
10937
|
+
200: {
|
|
10938
|
+
headers: {
|
|
10939
|
+
[name: string]: unknown;
|
|
10940
|
+
};
|
|
10941
|
+
content: {
|
|
10942
|
+
"application/json": components["schemas"]["MeBody"];
|
|
10943
|
+
};
|
|
10944
|
+
};
|
|
10945
|
+
/** @description Error */
|
|
10946
|
+
default: {
|
|
10947
|
+
headers: {
|
|
10948
|
+
[name: string]: unknown;
|
|
10949
|
+
};
|
|
10950
|
+
content: {
|
|
10951
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10952
|
+
};
|
|
10953
|
+
};
|
|
10954
|
+
};
|
|
10955
|
+
};
|
|
10956
|
+
"list-passkeys": {
|
|
10957
|
+
parameters: {
|
|
10958
|
+
query?: never;
|
|
10959
|
+
header?: never;
|
|
10960
|
+
path?: never;
|
|
10961
|
+
cookie?: never;
|
|
10962
|
+
};
|
|
10963
|
+
requestBody?: never;
|
|
10964
|
+
responses: {
|
|
10965
|
+
/** @description OK */
|
|
10966
|
+
200: {
|
|
10967
|
+
headers: {
|
|
10968
|
+
[name: string]: unknown;
|
|
10969
|
+
};
|
|
10970
|
+
content: {
|
|
10971
|
+
"application/json": components["schemas"]["PasskeyView"][];
|
|
10972
|
+
};
|
|
10973
|
+
};
|
|
10974
|
+
/** @description Error */
|
|
10975
|
+
default: {
|
|
10976
|
+
headers: {
|
|
10977
|
+
[name: string]: unknown;
|
|
10978
|
+
};
|
|
10979
|
+
content: {
|
|
10980
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10981
|
+
};
|
|
10982
|
+
};
|
|
10983
|
+
};
|
|
10984
|
+
};
|
|
10985
|
+
"add-passkey": {
|
|
10986
|
+
parameters: {
|
|
10987
|
+
query?: never;
|
|
10988
|
+
header?: never;
|
|
10989
|
+
path?: never;
|
|
10990
|
+
cookie?: never;
|
|
10991
|
+
};
|
|
10992
|
+
requestBody: {
|
|
10993
|
+
content: {
|
|
10994
|
+
"application/json": components["schemas"]["PasskeyAddInputBody"];
|
|
10995
|
+
};
|
|
10996
|
+
};
|
|
10997
|
+
responses: {
|
|
10998
|
+
/** @description Created */
|
|
10999
|
+
201: {
|
|
11000
|
+
headers: {
|
|
11001
|
+
[name: string]: unknown;
|
|
11002
|
+
};
|
|
11003
|
+
content: {
|
|
11004
|
+
"application/json": components["schemas"]["PasskeyView"];
|
|
11005
|
+
};
|
|
11006
|
+
};
|
|
11007
|
+
/** @description Error */
|
|
11008
|
+
default: {
|
|
11009
|
+
headers: {
|
|
11010
|
+
[name: string]: unknown;
|
|
11011
|
+
};
|
|
11012
|
+
content: {
|
|
11013
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
11014
|
+
};
|
|
11015
|
+
};
|
|
11016
|
+
};
|
|
11017
|
+
};
|
|
11018
|
+
"passkey-begin": {
|
|
11019
|
+
parameters: {
|
|
11020
|
+
query?: never;
|
|
11021
|
+
header?: never;
|
|
11022
|
+
path?: never;
|
|
11023
|
+
cookie?: never;
|
|
11024
|
+
};
|
|
11025
|
+
requestBody: {
|
|
11026
|
+
content: {
|
|
11027
|
+
"application/json": components["schemas"]["PasskeyBeginInputBody"];
|
|
11028
|
+
};
|
|
11029
|
+
};
|
|
11030
|
+
responses: {
|
|
11031
|
+
/** @description OK */
|
|
11032
|
+
200: {
|
|
11033
|
+
headers: {
|
|
11034
|
+
[name: string]: unknown;
|
|
11035
|
+
};
|
|
11036
|
+
content: {
|
|
11037
|
+
"application/json": components["schemas"]["PasskeyOptionsOutputBody"];
|
|
11038
|
+
};
|
|
11039
|
+
};
|
|
11040
|
+
/** @description Error */
|
|
11041
|
+
default: {
|
|
11042
|
+
headers: {
|
|
11043
|
+
[name: string]: unknown;
|
|
11044
|
+
};
|
|
11045
|
+
content: {
|
|
11046
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
11047
|
+
};
|
|
11048
|
+
};
|
|
11049
|
+
};
|
|
11050
|
+
};
|
|
11051
|
+
"delete-passkey": {
|
|
11052
|
+
parameters: {
|
|
11053
|
+
query?: never;
|
|
11054
|
+
header?: never;
|
|
11055
|
+
path: {
|
|
11056
|
+
id: number;
|
|
11057
|
+
};
|
|
11058
|
+
cookie?: never;
|
|
11059
|
+
};
|
|
11060
|
+
requestBody?: never;
|
|
11061
|
+
responses: {
|
|
11062
|
+
/** @description No Content */
|
|
11063
|
+
204: {
|
|
11064
|
+
headers: {
|
|
11065
|
+
[name: string]: unknown;
|
|
11066
|
+
};
|
|
11067
|
+
content?: never;
|
|
11068
|
+
};
|
|
11069
|
+
/** @description Error */
|
|
11070
|
+
default: {
|
|
11071
|
+
headers: {
|
|
11072
|
+
[name: string]: unknown;
|
|
11073
|
+
};
|
|
11074
|
+
content: {
|
|
11075
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
11076
|
+
};
|
|
11077
|
+
};
|
|
11078
|
+
};
|
|
11079
|
+
};
|
|
11080
|
+
"change-password": {
|
|
11081
|
+
parameters: {
|
|
11082
|
+
query?: never;
|
|
11083
|
+
header?: never;
|
|
11084
|
+
path?: never;
|
|
11085
|
+
cookie?: never;
|
|
11086
|
+
};
|
|
11087
|
+
requestBody: {
|
|
11088
|
+
content: {
|
|
11089
|
+
"application/json": components["schemas"]["PasswordInputBody"];
|
|
11090
|
+
};
|
|
11091
|
+
};
|
|
11092
|
+
responses: {
|
|
11093
|
+
/** @description No Content */
|
|
11094
|
+
204: {
|
|
11095
|
+
headers: {
|
|
11096
|
+
[name: string]: unknown;
|
|
11097
|
+
};
|
|
11098
|
+
content?: never;
|
|
9138
11099
|
};
|
|
9139
11100
|
/** @description Error */
|
|
9140
11101
|
default: {
|
|
@@ -9147,26 +11108,22 @@ export interface operations {
|
|
|
9147
11108
|
};
|
|
9148
11109
|
};
|
|
9149
11110
|
};
|
|
9150
|
-
"
|
|
11111
|
+
"list-sessions": {
|
|
9151
11112
|
parameters: {
|
|
9152
11113
|
query?: never;
|
|
9153
11114
|
header?: never;
|
|
9154
11115
|
path?: never;
|
|
9155
11116
|
cookie?: never;
|
|
9156
11117
|
};
|
|
9157
|
-
requestBody
|
|
9158
|
-
content: {
|
|
9159
|
-
"application/json": components["schemas"]["CreateAPIKeyInputBody"];
|
|
9160
|
-
};
|
|
9161
|
-
};
|
|
11118
|
+
requestBody?: never;
|
|
9162
11119
|
responses: {
|
|
9163
|
-
/** @description
|
|
9164
|
-
|
|
11120
|
+
/** @description OK */
|
|
11121
|
+
200: {
|
|
9165
11122
|
headers: {
|
|
9166
11123
|
[name: string]: unknown;
|
|
9167
11124
|
};
|
|
9168
11125
|
content: {
|
|
9169
|
-
"application/json": components["schemas"]["
|
|
11126
|
+
"application/json": components["schemas"]["SessionView"][];
|
|
9170
11127
|
};
|
|
9171
11128
|
};
|
|
9172
11129
|
/** @description Error */
|
|
@@ -9180,12 +11137,12 @@ export interface operations {
|
|
|
9180
11137
|
};
|
|
9181
11138
|
};
|
|
9182
11139
|
};
|
|
9183
|
-
"
|
|
11140
|
+
"revoke-session": {
|
|
9184
11141
|
parameters: {
|
|
9185
11142
|
query?: never;
|
|
9186
11143
|
header?: never;
|
|
9187
11144
|
path: {
|
|
9188
|
-
id:
|
|
11145
|
+
id: string;
|
|
9189
11146
|
};
|
|
9190
11147
|
cookie?: never;
|
|
9191
11148
|
};
|
|
@@ -9209,27 +11166,25 @@ export interface operations {
|
|
|
9209
11166
|
};
|
|
9210
11167
|
};
|
|
9211
11168
|
};
|
|
9212
|
-
"
|
|
11169
|
+
"totp-disable": {
|
|
9213
11170
|
parameters: {
|
|
9214
|
-
query?:
|
|
9215
|
-
/** @description Записи до этого номера; 0 — самые новые */
|
|
9216
|
-
before?: number;
|
|
9217
|
-
limit?: number;
|
|
9218
|
-
};
|
|
11171
|
+
query?: never;
|
|
9219
11172
|
header?: never;
|
|
9220
11173
|
path?: never;
|
|
9221
11174
|
cookie?: never;
|
|
9222
11175
|
};
|
|
9223
|
-
requestBody
|
|
11176
|
+
requestBody: {
|
|
11177
|
+
content: {
|
|
11178
|
+
"application/json": components["schemas"]["TotpDisableInputBody"];
|
|
11179
|
+
};
|
|
11180
|
+
};
|
|
9224
11181
|
responses: {
|
|
9225
|
-
/** @description
|
|
9226
|
-
|
|
11182
|
+
/** @description No Content */
|
|
11183
|
+
204: {
|
|
9227
11184
|
headers: {
|
|
9228
11185
|
[name: string]: unknown;
|
|
9229
11186
|
};
|
|
9230
|
-
content
|
|
9231
|
-
"application/json": components["schemas"]["AuditOutputBody"];
|
|
9232
|
-
};
|
|
11187
|
+
content?: never;
|
|
9233
11188
|
};
|
|
9234
11189
|
/** @description Error */
|
|
9235
11190
|
default: {
|
|
@@ -9242,7 +11197,7 @@ export interface operations {
|
|
|
9242
11197
|
};
|
|
9243
11198
|
};
|
|
9244
11199
|
};
|
|
9245
|
-
|
|
11200
|
+
"totp-enable": {
|
|
9246
11201
|
parameters: {
|
|
9247
11202
|
query?: never;
|
|
9248
11203
|
header?: never;
|
|
@@ -9251,18 +11206,17 @@ export interface operations {
|
|
|
9251
11206
|
};
|
|
9252
11207
|
requestBody: {
|
|
9253
11208
|
content: {
|
|
9254
|
-
"application/json": components["schemas"]["
|
|
11209
|
+
"application/json": components["schemas"]["TotpCodeInputBody"];
|
|
9255
11210
|
};
|
|
9256
11211
|
};
|
|
9257
11212
|
responses: {
|
|
9258
11213
|
/** @description OK */
|
|
9259
11214
|
200: {
|
|
9260
11215
|
headers: {
|
|
9261
|
-
"Set-Cookie"?: string;
|
|
9262
11216
|
[name: string]: unknown;
|
|
9263
11217
|
};
|
|
9264
11218
|
content: {
|
|
9265
|
-
"application/json": components["schemas"]["
|
|
11219
|
+
"application/json": components["schemas"]["RecoveryOutputBody"];
|
|
9266
11220
|
};
|
|
9267
11221
|
};
|
|
9268
11222
|
/** @description Error */
|
|
@@ -9276,7 +11230,7 @@ export interface operations {
|
|
|
9276
11230
|
};
|
|
9277
11231
|
};
|
|
9278
11232
|
};
|
|
9279
|
-
"
|
|
11233
|
+
"totp-setup": {
|
|
9280
11234
|
parameters: {
|
|
9281
11235
|
query?: never;
|
|
9282
11236
|
header?: never;
|
|
@@ -9285,18 +11239,17 @@ export interface operations {
|
|
|
9285
11239
|
};
|
|
9286
11240
|
requestBody: {
|
|
9287
11241
|
content: {
|
|
9288
|
-
"application/json": components["schemas"]["
|
|
11242
|
+
"application/json": components["schemas"]["TotpSetupInputBody"];
|
|
9289
11243
|
};
|
|
9290
11244
|
};
|
|
9291
11245
|
responses: {
|
|
9292
11246
|
/** @description OK */
|
|
9293
11247
|
200: {
|
|
9294
11248
|
headers: {
|
|
9295
|
-
"Set-Cookie"?: string;
|
|
9296
11249
|
[name: string]: unknown;
|
|
9297
11250
|
};
|
|
9298
11251
|
content: {
|
|
9299
|
-
"application/json": components["schemas"]["
|
|
11252
|
+
"application/json": components["schemas"]["TotpSetupOutputBody"];
|
|
9300
11253
|
};
|
|
9301
11254
|
};
|
|
9302
11255
|
/** @description Error */
|
|
@@ -9310,7 +11263,7 @@ export interface operations {
|
|
|
9310
11263
|
};
|
|
9311
11264
|
};
|
|
9312
11265
|
};
|
|
9313
|
-
"
|
|
11266
|
+
"list-balance": {
|
|
9314
11267
|
parameters: {
|
|
9315
11268
|
query?: never;
|
|
9316
11269
|
header?: never;
|
|
@@ -9325,7 +11278,7 @@ export interface operations {
|
|
|
9325
11278
|
[name: string]: unknown;
|
|
9326
11279
|
};
|
|
9327
11280
|
content: {
|
|
9328
|
-
"application/json": components["schemas"]["
|
|
11281
|
+
"application/json": components["schemas"]["BalanceGroupView"][];
|
|
9329
11282
|
};
|
|
9330
11283
|
};
|
|
9331
11284
|
/** @description Error */
|
|
@@ -9339,22 +11292,25 @@ export interface operations {
|
|
|
9339
11292
|
};
|
|
9340
11293
|
};
|
|
9341
11294
|
};
|
|
9342
|
-
|
|
11295
|
+
"redistribute-balance": {
|
|
9343
11296
|
parameters: {
|
|
9344
11297
|
query?: never;
|
|
9345
11298
|
header?: never;
|
|
9346
|
-
path
|
|
11299
|
+
path: {
|
|
11300
|
+
group: string;
|
|
11301
|
+
};
|
|
9347
11302
|
cookie?: never;
|
|
9348
11303
|
};
|
|
9349
11304
|
requestBody?: never;
|
|
9350
11305
|
responses: {
|
|
9351
|
-
/** @description
|
|
9352
|
-
|
|
11306
|
+
/** @description OK */
|
|
11307
|
+
200: {
|
|
9353
11308
|
headers: {
|
|
9354
|
-
"Set-Cookie"?: string;
|
|
9355
11309
|
[name: string]: unknown;
|
|
9356
11310
|
};
|
|
9357
|
-
content
|
|
11311
|
+
content: {
|
|
11312
|
+
"application/json": components["schemas"]["RedistributeOutputBody"];
|
|
11313
|
+
};
|
|
9358
11314
|
};
|
|
9359
11315
|
/** @description Error */
|
|
9360
11316
|
default: {
|
|
@@ -9367,11 +11323,13 @@ export interface operations {
|
|
|
9367
11323
|
};
|
|
9368
11324
|
};
|
|
9369
11325
|
};
|
|
9370
|
-
|
|
11326
|
+
"get-balance": {
|
|
9371
11327
|
parameters: {
|
|
9372
11328
|
query?: never;
|
|
9373
11329
|
header?: never;
|
|
9374
|
-
path
|
|
11330
|
+
path: {
|
|
11331
|
+
tg_id: number;
|
|
11332
|
+
};
|
|
9375
11333
|
cookie?: never;
|
|
9376
11334
|
};
|
|
9377
11335
|
requestBody?: never;
|
|
@@ -9382,7 +11340,7 @@ export interface operations {
|
|
|
9382
11340
|
[name: string]: unknown;
|
|
9383
11341
|
};
|
|
9384
11342
|
content: {
|
|
9385
|
-
"application/json": components["schemas"]["
|
|
11343
|
+
"application/json": components["schemas"]["BalanceView"];
|
|
9386
11344
|
};
|
|
9387
11345
|
};
|
|
9388
11346
|
/** @description Error */
|
|
@@ -9396,14 +11354,20 @@ export interface operations {
|
|
|
9396
11354
|
};
|
|
9397
11355
|
};
|
|
9398
11356
|
};
|
|
9399
|
-
"
|
|
11357
|
+
"adjust-balance": {
|
|
9400
11358
|
parameters: {
|
|
9401
11359
|
query?: never;
|
|
9402
11360
|
header?: never;
|
|
9403
|
-
path
|
|
11361
|
+
path: {
|
|
11362
|
+
tg_id: number;
|
|
11363
|
+
};
|
|
9404
11364
|
cookie?: never;
|
|
9405
11365
|
};
|
|
9406
|
-
requestBody
|
|
11366
|
+
requestBody: {
|
|
11367
|
+
content: {
|
|
11368
|
+
"application/json": components["schemas"]["AdjustBalanceInputBody"];
|
|
11369
|
+
};
|
|
11370
|
+
};
|
|
9407
11371
|
responses: {
|
|
9408
11372
|
/** @description OK */
|
|
9409
11373
|
200: {
|
|
@@ -9411,7 +11375,7 @@ export interface operations {
|
|
|
9411
11375
|
[name: string]: unknown;
|
|
9412
11376
|
};
|
|
9413
11377
|
content: {
|
|
9414
|
-
"application/json": components["schemas"]["
|
|
11378
|
+
"application/json": components["schemas"]["BalanceView"];
|
|
9415
11379
|
};
|
|
9416
11380
|
};
|
|
9417
11381
|
/** @description Error */
|
|
@@ -9425,26 +11389,25 @@ export interface operations {
|
|
|
9425
11389
|
};
|
|
9426
11390
|
};
|
|
9427
11391
|
};
|
|
9428
|
-
"
|
|
11392
|
+
"list-campaigns": {
|
|
9429
11393
|
parameters: {
|
|
9430
|
-
query?:
|
|
11394
|
+
query?: {
|
|
11395
|
+
/** @description За сколько дней статистика; 0 — за всё время */
|
|
11396
|
+
days?: number;
|
|
11397
|
+
};
|
|
9431
11398
|
header?: never;
|
|
9432
11399
|
path?: never;
|
|
9433
11400
|
cookie?: never;
|
|
9434
11401
|
};
|
|
9435
|
-
requestBody
|
|
9436
|
-
content: {
|
|
9437
|
-
"application/json": components["schemas"]["PasskeyAddInputBody"];
|
|
9438
|
-
};
|
|
9439
|
-
};
|
|
11402
|
+
requestBody?: never;
|
|
9440
11403
|
responses: {
|
|
9441
|
-
/** @description
|
|
9442
|
-
|
|
11404
|
+
/** @description OK */
|
|
11405
|
+
200: {
|
|
9443
11406
|
headers: {
|
|
9444
11407
|
[name: string]: unknown;
|
|
9445
11408
|
};
|
|
9446
11409
|
content: {
|
|
9447
|
-
"application/json": components["schemas"]["
|
|
11410
|
+
"application/json": components["schemas"]["CampaignView"][];
|
|
9448
11411
|
};
|
|
9449
11412
|
};
|
|
9450
11413
|
/** @description Error */
|
|
@@ -9458,7 +11421,7 @@ export interface operations {
|
|
|
9458
11421
|
};
|
|
9459
11422
|
};
|
|
9460
11423
|
};
|
|
9461
|
-
"
|
|
11424
|
+
"create-campaign": {
|
|
9462
11425
|
parameters: {
|
|
9463
11426
|
query?: never;
|
|
9464
11427
|
header?: never;
|
|
@@ -9467,17 +11430,17 @@ export interface operations {
|
|
|
9467
11430
|
};
|
|
9468
11431
|
requestBody: {
|
|
9469
11432
|
content: {
|
|
9470
|
-
"application/json": components["schemas"]["
|
|
11433
|
+
"application/json": components["schemas"]["CreateCampaignInputBody"];
|
|
9471
11434
|
};
|
|
9472
11435
|
};
|
|
9473
11436
|
responses: {
|
|
9474
|
-
/** @description
|
|
9475
|
-
|
|
11437
|
+
/** @description Created */
|
|
11438
|
+
201: {
|
|
9476
11439
|
headers: {
|
|
9477
11440
|
[name: string]: unknown;
|
|
9478
11441
|
};
|
|
9479
11442
|
content: {
|
|
9480
|
-
"application/json": components["schemas"]["
|
|
11443
|
+
"application/json": components["schemas"]["CampaignView"];
|
|
9481
11444
|
};
|
|
9482
11445
|
};
|
|
9483
11446
|
/** @description Error */
|
|
@@ -9491,7 +11454,7 @@ export interface operations {
|
|
|
9491
11454
|
};
|
|
9492
11455
|
};
|
|
9493
11456
|
};
|
|
9494
|
-
"delete-
|
|
11457
|
+
"delete-campaign": {
|
|
9495
11458
|
parameters: {
|
|
9496
11459
|
query?: never;
|
|
9497
11460
|
header?: never;
|
|
@@ -9520,25 +11483,29 @@ export interface operations {
|
|
|
9520
11483
|
};
|
|
9521
11484
|
};
|
|
9522
11485
|
};
|
|
9523
|
-
"
|
|
11486
|
+
"update-campaign": {
|
|
9524
11487
|
parameters: {
|
|
9525
11488
|
query?: never;
|
|
9526
11489
|
header?: never;
|
|
9527
|
-
path
|
|
11490
|
+
path: {
|
|
11491
|
+
id: number;
|
|
11492
|
+
};
|
|
9528
11493
|
cookie?: never;
|
|
9529
11494
|
};
|
|
9530
11495
|
requestBody: {
|
|
9531
11496
|
content: {
|
|
9532
|
-
"application/json": components["schemas"]["
|
|
11497
|
+
"application/json": components["schemas"]["PatchCampaignInputBody"];
|
|
9533
11498
|
};
|
|
9534
11499
|
};
|
|
9535
11500
|
responses: {
|
|
9536
|
-
/** @description
|
|
9537
|
-
|
|
11501
|
+
/** @description OK */
|
|
11502
|
+
200: {
|
|
9538
11503
|
headers: {
|
|
9539
11504
|
[name: string]: unknown;
|
|
9540
11505
|
};
|
|
9541
|
-
content
|
|
11506
|
+
content: {
|
|
11507
|
+
"application/json": components["schemas"]["CampaignView"];
|
|
11508
|
+
};
|
|
9542
11509
|
};
|
|
9543
11510
|
/** @description Error */
|
|
9544
11511
|
default: {
|
|
@@ -9551,7 +11518,7 @@ export interface operations {
|
|
|
9551
11518
|
};
|
|
9552
11519
|
};
|
|
9553
11520
|
};
|
|
9554
|
-
"list-
|
|
11521
|
+
"list-custom-fields": {
|
|
9555
11522
|
parameters: {
|
|
9556
11523
|
query?: never;
|
|
9557
11524
|
header?: never;
|
|
@@ -9566,7 +11533,7 @@ export interface operations {
|
|
|
9566
11533
|
[name: string]: unknown;
|
|
9567
11534
|
};
|
|
9568
11535
|
content: {
|
|
9569
|
-
"application/json": components["schemas"]["
|
|
11536
|
+
"application/json": components["schemas"]["CustomFieldView"][];
|
|
9570
11537
|
};
|
|
9571
11538
|
};
|
|
9572
11539
|
/** @description Error */
|
|
@@ -9580,23 +11547,27 @@ export interface operations {
|
|
|
9580
11547
|
};
|
|
9581
11548
|
};
|
|
9582
11549
|
};
|
|
9583
|
-
"
|
|
11550
|
+
"create-custom-field": {
|
|
9584
11551
|
parameters: {
|
|
9585
11552
|
query?: never;
|
|
9586
11553
|
header?: never;
|
|
9587
|
-
path
|
|
9588
|
-
id: string;
|
|
9589
|
-
};
|
|
11554
|
+
path?: never;
|
|
9590
11555
|
cookie?: never;
|
|
9591
11556
|
};
|
|
9592
|
-
requestBody
|
|
11557
|
+
requestBody: {
|
|
11558
|
+
content: {
|
|
11559
|
+
"application/json": components["schemas"]["CreateCustomFieldInputBody"];
|
|
11560
|
+
};
|
|
11561
|
+
};
|
|
9593
11562
|
responses: {
|
|
9594
|
-
/** @description
|
|
9595
|
-
|
|
11563
|
+
/** @description Created */
|
|
11564
|
+
201: {
|
|
9596
11565
|
headers: {
|
|
9597
11566
|
[name: string]: unknown;
|
|
9598
11567
|
};
|
|
9599
|
-
content
|
|
11568
|
+
content: {
|
|
11569
|
+
"application/json": components["schemas"]["CustomFieldView"];
|
|
11570
|
+
};
|
|
9600
11571
|
};
|
|
9601
11572
|
/** @description Error */
|
|
9602
11573
|
default: {
|
|
@@ -9609,7 +11580,7 @@ export interface operations {
|
|
|
9609
11580
|
};
|
|
9610
11581
|
};
|
|
9611
11582
|
};
|
|
9612
|
-
"
|
|
11583
|
+
"order-custom-fields": {
|
|
9613
11584
|
parameters: {
|
|
9614
11585
|
query?: never;
|
|
9615
11586
|
header?: never;
|
|
@@ -9618,7 +11589,7 @@ export interface operations {
|
|
|
9618
11589
|
};
|
|
9619
11590
|
requestBody: {
|
|
9620
11591
|
content: {
|
|
9621
|
-
"application/json": components["schemas"]["
|
|
11592
|
+
"application/json": components["schemas"]["OrderCustomFieldsInputBody"];
|
|
9622
11593
|
};
|
|
9623
11594
|
};
|
|
9624
11595
|
responses: {
|
|
@@ -9640,27 +11611,23 @@ export interface operations {
|
|
|
9640
11611
|
};
|
|
9641
11612
|
};
|
|
9642
11613
|
};
|
|
9643
|
-
"
|
|
11614
|
+
"delete-custom-field": {
|
|
9644
11615
|
parameters: {
|
|
9645
11616
|
query?: never;
|
|
9646
11617
|
header?: never;
|
|
9647
|
-
path
|
|
9648
|
-
|
|
9649
|
-
};
|
|
9650
|
-
requestBody: {
|
|
9651
|
-
content: {
|
|
9652
|
-
"application/json": components["schemas"]["TotpCodeInputBody"];
|
|
11618
|
+
path: {
|
|
11619
|
+
id: number;
|
|
9653
11620
|
};
|
|
11621
|
+
cookie?: never;
|
|
9654
11622
|
};
|
|
11623
|
+
requestBody?: never;
|
|
9655
11624
|
responses: {
|
|
9656
|
-
/** @description
|
|
9657
|
-
|
|
11625
|
+
/** @description No Content */
|
|
11626
|
+
204: {
|
|
9658
11627
|
headers: {
|
|
9659
11628
|
[name: string]: unknown;
|
|
9660
11629
|
};
|
|
9661
|
-
content
|
|
9662
|
-
"application/json": components["schemas"]["RecoveryOutputBody"];
|
|
9663
|
-
};
|
|
11630
|
+
content?: never;
|
|
9664
11631
|
};
|
|
9665
11632
|
/** @description Error */
|
|
9666
11633
|
default: {
|
|
@@ -9673,16 +11640,18 @@ export interface operations {
|
|
|
9673
11640
|
};
|
|
9674
11641
|
};
|
|
9675
11642
|
};
|
|
9676
|
-
"
|
|
11643
|
+
"update-custom-field": {
|
|
9677
11644
|
parameters: {
|
|
9678
11645
|
query?: never;
|
|
9679
11646
|
header?: never;
|
|
9680
|
-
path
|
|
11647
|
+
path: {
|
|
11648
|
+
id: number;
|
|
11649
|
+
};
|
|
9681
11650
|
cookie?: never;
|
|
9682
11651
|
};
|
|
9683
11652
|
requestBody: {
|
|
9684
11653
|
content: {
|
|
9685
|
-
"application/json": components["schemas"]["
|
|
11654
|
+
"application/json": components["schemas"]["PatchCustomFieldInputBody"];
|
|
9686
11655
|
};
|
|
9687
11656
|
};
|
|
9688
11657
|
responses: {
|
|
@@ -9692,7 +11661,7 @@ export interface operations {
|
|
|
9692
11661
|
[name: string]: unknown;
|
|
9693
11662
|
};
|
|
9694
11663
|
content: {
|
|
9695
|
-
"application/json": components["schemas"]["
|
|
11664
|
+
"application/json": components["schemas"]["CustomFieldView"];
|
|
9696
11665
|
};
|
|
9697
11666
|
};
|
|
9698
11667
|
/** @description Error */
|
|
@@ -9706,7 +11675,7 @@ export interface operations {
|
|
|
9706
11675
|
};
|
|
9707
11676
|
};
|
|
9708
11677
|
};
|
|
9709
|
-
"
|
|
11678
|
+
"get-exit-dns": {
|
|
9710
11679
|
parameters: {
|
|
9711
11680
|
query?: never;
|
|
9712
11681
|
header?: never;
|
|
@@ -9721,7 +11690,7 @@ export interface operations {
|
|
|
9721
11690
|
[name: string]: unknown;
|
|
9722
11691
|
};
|
|
9723
11692
|
content: {
|
|
9724
|
-
"application/json": components["schemas"]["
|
|
11693
|
+
"application/json": components["schemas"]["ExitDNSInfo"];
|
|
9725
11694
|
};
|
|
9726
11695
|
};
|
|
9727
11696
|
/** @description Error */
|
|
@@ -9735,16 +11704,18 @@ export interface operations {
|
|
|
9735
11704
|
};
|
|
9736
11705
|
};
|
|
9737
11706
|
};
|
|
9738
|
-
"
|
|
11707
|
+
"update-exit-dns": {
|
|
9739
11708
|
parameters: {
|
|
9740
11709
|
query?: never;
|
|
9741
11710
|
header?: never;
|
|
9742
|
-
path
|
|
9743
|
-
group: string;
|
|
9744
|
-
};
|
|
11711
|
+
path?: never;
|
|
9745
11712
|
cookie?: never;
|
|
9746
11713
|
};
|
|
9747
|
-
requestBody
|
|
11714
|
+
requestBody: {
|
|
11715
|
+
content: {
|
|
11716
|
+
"application/json": components["schemas"]["ExitDNSView"];
|
|
11717
|
+
};
|
|
11718
|
+
};
|
|
9748
11719
|
responses: {
|
|
9749
11720
|
/** @description OK */
|
|
9750
11721
|
200: {
|
|
@@ -9752,7 +11723,7 @@ export interface operations {
|
|
|
9752
11723
|
[name: string]: unknown;
|
|
9753
11724
|
};
|
|
9754
11725
|
content: {
|
|
9755
|
-
"application/json": components["schemas"]["
|
|
11726
|
+
"application/json": components["schemas"]["ExitDNSInfo"];
|
|
9756
11727
|
};
|
|
9757
11728
|
};
|
|
9758
11729
|
/** @description Error */
|
|
@@ -9766,13 +11737,11 @@ export interface operations {
|
|
|
9766
11737
|
};
|
|
9767
11738
|
};
|
|
9768
11739
|
};
|
|
9769
|
-
"get-
|
|
11740
|
+
"get-filters": {
|
|
9770
11741
|
parameters: {
|
|
9771
11742
|
query?: never;
|
|
9772
11743
|
header?: never;
|
|
9773
|
-
path
|
|
9774
|
-
tg_id: number;
|
|
9775
|
-
};
|
|
11744
|
+
path?: never;
|
|
9776
11745
|
cookie?: never;
|
|
9777
11746
|
};
|
|
9778
11747
|
requestBody?: never;
|
|
@@ -9783,7 +11752,7 @@ export interface operations {
|
|
|
9783
11752
|
[name: string]: unknown;
|
|
9784
11753
|
};
|
|
9785
11754
|
content: {
|
|
9786
|
-
"application/json": components["schemas"]["
|
|
11755
|
+
"application/json": components["schemas"]["FiltersView"];
|
|
9787
11756
|
};
|
|
9788
11757
|
};
|
|
9789
11758
|
/** @description Error */
|
|
@@ -9797,20 +11766,47 @@ export interface operations {
|
|
|
9797
11766
|
};
|
|
9798
11767
|
};
|
|
9799
11768
|
};
|
|
9800
|
-
"
|
|
11769
|
+
"update-filters": {
|
|
9801
11770
|
parameters: {
|
|
9802
11771
|
query?: never;
|
|
9803
11772
|
header?: never;
|
|
9804
|
-
path
|
|
9805
|
-
tg_id: number;
|
|
9806
|
-
};
|
|
11773
|
+
path?: never;
|
|
9807
11774
|
cookie?: never;
|
|
9808
11775
|
};
|
|
9809
11776
|
requestBody: {
|
|
9810
11777
|
content: {
|
|
9811
|
-
"application/json": components["schemas"]["
|
|
11778
|
+
"application/json": components["schemas"]["PatchFiltersInputBody"];
|
|
11779
|
+
};
|
|
11780
|
+
};
|
|
11781
|
+
responses: {
|
|
11782
|
+
/** @description OK */
|
|
11783
|
+
200: {
|
|
11784
|
+
headers: {
|
|
11785
|
+
[name: string]: unknown;
|
|
11786
|
+
};
|
|
11787
|
+
content: {
|
|
11788
|
+
"application/json": components["schemas"]["FiltersView"];
|
|
11789
|
+
};
|
|
11790
|
+
};
|
|
11791
|
+
/** @description Error */
|
|
11792
|
+
default: {
|
|
11793
|
+
headers: {
|
|
11794
|
+
[name: string]: unknown;
|
|
11795
|
+
};
|
|
11796
|
+
content: {
|
|
11797
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
11798
|
+
};
|
|
9812
11799
|
};
|
|
9813
11800
|
};
|
|
11801
|
+
};
|
|
11802
|
+
"list-folders": {
|
|
11803
|
+
parameters: {
|
|
11804
|
+
query?: never;
|
|
11805
|
+
header?: never;
|
|
11806
|
+
path?: never;
|
|
11807
|
+
cookie?: never;
|
|
11808
|
+
};
|
|
11809
|
+
requestBody?: never;
|
|
9814
11810
|
responses: {
|
|
9815
11811
|
/** @description OK */
|
|
9816
11812
|
200: {
|
|
@@ -9818,7 +11814,7 @@ export interface operations {
|
|
|
9818
11814
|
[name: string]: unknown;
|
|
9819
11815
|
};
|
|
9820
11816
|
content: {
|
|
9821
|
-
"application/json": components["schemas"]["
|
|
11817
|
+
"application/json": components["schemas"]["FolderView"][];
|
|
9822
11818
|
};
|
|
9823
11819
|
};
|
|
9824
11820
|
/** @description Error */
|
|
@@ -9832,25 +11828,26 @@ export interface operations {
|
|
|
9832
11828
|
};
|
|
9833
11829
|
};
|
|
9834
11830
|
};
|
|
9835
|
-
"
|
|
11831
|
+
"create-folder": {
|
|
9836
11832
|
parameters: {
|
|
9837
|
-
query?:
|
|
9838
|
-
/** @description За сколько дней статистика; 0 — за всё время */
|
|
9839
|
-
days?: number;
|
|
9840
|
-
};
|
|
11833
|
+
query?: never;
|
|
9841
11834
|
header?: never;
|
|
9842
11835
|
path?: never;
|
|
9843
11836
|
cookie?: never;
|
|
9844
11837
|
};
|
|
9845
|
-
requestBody
|
|
11838
|
+
requestBody: {
|
|
11839
|
+
content: {
|
|
11840
|
+
"application/json": components["schemas"]["CreateFolderInputBody"];
|
|
11841
|
+
};
|
|
11842
|
+
};
|
|
9846
11843
|
responses: {
|
|
9847
|
-
/** @description
|
|
9848
|
-
|
|
11844
|
+
/** @description Created */
|
|
11845
|
+
201: {
|
|
9849
11846
|
headers: {
|
|
9850
11847
|
[name: string]: unknown;
|
|
9851
11848
|
};
|
|
9852
11849
|
content: {
|
|
9853
|
-
"application/json": components["schemas"]["
|
|
11850
|
+
"application/json": components["schemas"]["FolderView"];
|
|
9854
11851
|
};
|
|
9855
11852
|
};
|
|
9856
11853
|
/** @description Error */
|
|
@@ -9864,7 +11861,7 @@ export interface operations {
|
|
|
9864
11861
|
};
|
|
9865
11862
|
};
|
|
9866
11863
|
};
|
|
9867
|
-
"
|
|
11864
|
+
"order-folders": {
|
|
9868
11865
|
parameters: {
|
|
9869
11866
|
query?: never;
|
|
9870
11867
|
header?: never;
|
|
@@ -9873,18 +11870,16 @@ export interface operations {
|
|
|
9873
11870
|
};
|
|
9874
11871
|
requestBody: {
|
|
9875
11872
|
content: {
|
|
9876
|
-
"application/json": components["schemas"]["
|
|
11873
|
+
"application/json": components["schemas"]["OrderFoldersInputBody"];
|
|
9877
11874
|
};
|
|
9878
11875
|
};
|
|
9879
11876
|
responses: {
|
|
9880
|
-
/** @description
|
|
9881
|
-
|
|
11877
|
+
/** @description No Content */
|
|
11878
|
+
204: {
|
|
9882
11879
|
headers: {
|
|
9883
11880
|
[name: string]: unknown;
|
|
9884
11881
|
};
|
|
9885
|
-
content
|
|
9886
|
-
"application/json": components["schemas"]["CampaignView"];
|
|
9887
|
-
};
|
|
11882
|
+
content?: never;
|
|
9888
11883
|
};
|
|
9889
11884
|
/** @description Error */
|
|
9890
11885
|
default: {
|
|
@@ -9897,7 +11892,7 @@ export interface operations {
|
|
|
9897
11892
|
};
|
|
9898
11893
|
};
|
|
9899
11894
|
};
|
|
9900
|
-
"delete-
|
|
11895
|
+
"delete-folder": {
|
|
9901
11896
|
parameters: {
|
|
9902
11897
|
query?: never;
|
|
9903
11898
|
header?: never;
|
|
@@ -9926,7 +11921,7 @@ export interface operations {
|
|
|
9926
11921
|
};
|
|
9927
11922
|
};
|
|
9928
11923
|
};
|
|
9929
|
-
"update-
|
|
11924
|
+
"update-folder": {
|
|
9930
11925
|
parameters: {
|
|
9931
11926
|
query?: never;
|
|
9932
11927
|
header?: never;
|
|
@@ -9937,7 +11932,7 @@ export interface operations {
|
|
|
9937
11932
|
};
|
|
9938
11933
|
requestBody: {
|
|
9939
11934
|
content: {
|
|
9940
|
-
"application/json": components["schemas"]["
|
|
11935
|
+
"application/json": components["schemas"]["PatchFolderInputBody"];
|
|
9941
11936
|
};
|
|
9942
11937
|
};
|
|
9943
11938
|
responses: {
|
|
@@ -9947,7 +11942,7 @@ export interface operations {
|
|
|
9947
11942
|
[name: string]: unknown;
|
|
9948
11943
|
};
|
|
9949
11944
|
content: {
|
|
9950
|
-
"application/json": components["schemas"]["
|
|
11945
|
+
"application/json": components["schemas"]["FolderView"];
|
|
9951
11946
|
};
|
|
9952
11947
|
};
|
|
9953
11948
|
/** @description Error */
|
|
@@ -9961,7 +11956,7 @@ export interface operations {
|
|
|
9961
11956
|
};
|
|
9962
11957
|
};
|
|
9963
11958
|
};
|
|
9964
|
-
"
|
|
11959
|
+
"list-groups": {
|
|
9965
11960
|
parameters: {
|
|
9966
11961
|
query?: never;
|
|
9967
11962
|
header?: never;
|
|
@@ -9976,7 +11971,7 @@ export interface operations {
|
|
|
9976
11971
|
[name: string]: unknown;
|
|
9977
11972
|
};
|
|
9978
11973
|
content: {
|
|
9979
|
-
"application/json": components["schemas"]["
|
|
11974
|
+
"application/json": components["schemas"]["GroupView"][];
|
|
9980
11975
|
};
|
|
9981
11976
|
};
|
|
9982
11977
|
/** @description Error */
|
|
@@ -9990,7 +11985,7 @@ export interface operations {
|
|
|
9990
11985
|
};
|
|
9991
11986
|
};
|
|
9992
11987
|
};
|
|
9993
|
-
"
|
|
11988
|
+
"create-group": {
|
|
9994
11989
|
parameters: {
|
|
9995
11990
|
query?: never;
|
|
9996
11991
|
header?: never;
|
|
@@ -9999,17 +11994,17 @@ export interface operations {
|
|
|
9999
11994
|
};
|
|
10000
11995
|
requestBody: {
|
|
10001
11996
|
content: {
|
|
10002
|
-
"application/json": components["schemas"]["
|
|
11997
|
+
"application/json": components["schemas"]["CreateGroupInputBody"];
|
|
10003
11998
|
};
|
|
10004
11999
|
};
|
|
10005
12000
|
responses: {
|
|
10006
|
-
/** @description
|
|
10007
|
-
|
|
12001
|
+
/** @description Created */
|
|
12002
|
+
201: {
|
|
10008
12003
|
headers: {
|
|
10009
12004
|
[name: string]: unknown;
|
|
10010
12005
|
};
|
|
10011
12006
|
content: {
|
|
10012
|
-
"application/json": components["schemas"]["
|
|
12007
|
+
"application/json": components["schemas"]["GroupView"];
|
|
10013
12008
|
};
|
|
10014
12009
|
};
|
|
10015
12010
|
/** @description Error */
|
|
@@ -10023,23 +12018,25 @@ export interface operations {
|
|
|
10023
12018
|
};
|
|
10024
12019
|
};
|
|
10025
12020
|
};
|
|
10026
|
-
"
|
|
12021
|
+
"order-groups": {
|
|
10027
12022
|
parameters: {
|
|
10028
12023
|
query?: never;
|
|
10029
12024
|
header?: never;
|
|
10030
12025
|
path?: never;
|
|
10031
12026
|
cookie?: never;
|
|
10032
12027
|
};
|
|
10033
|
-
requestBody
|
|
12028
|
+
requestBody: {
|
|
12029
|
+
content: {
|
|
12030
|
+
"application/json": components["schemas"]["OrderGroupsInputBody"];
|
|
12031
|
+
};
|
|
12032
|
+
};
|
|
10034
12033
|
responses: {
|
|
10035
|
-
/** @description
|
|
10036
|
-
|
|
12034
|
+
/** @description No Content */
|
|
12035
|
+
204: {
|
|
10037
12036
|
headers: {
|
|
10038
12037
|
[name: string]: unknown;
|
|
10039
12038
|
};
|
|
10040
|
-
content
|
|
10041
|
-
"application/json": components["schemas"]["FiltersView"];
|
|
10042
|
-
};
|
|
12039
|
+
content?: never;
|
|
10043
12040
|
};
|
|
10044
12041
|
/** @description Error */
|
|
10045
12042
|
default: {
|
|
@@ -10052,27 +12049,23 @@ export interface operations {
|
|
|
10052
12049
|
};
|
|
10053
12050
|
};
|
|
10054
12051
|
};
|
|
10055
|
-
"
|
|
12052
|
+
"delete-group": {
|
|
10056
12053
|
parameters: {
|
|
10057
12054
|
query?: never;
|
|
10058
12055
|
header?: never;
|
|
10059
|
-
path
|
|
10060
|
-
|
|
10061
|
-
};
|
|
10062
|
-
requestBody: {
|
|
10063
|
-
content: {
|
|
10064
|
-
"application/json": components["schemas"]["PatchFiltersInputBody"];
|
|
12056
|
+
path: {
|
|
12057
|
+
id: number;
|
|
10065
12058
|
};
|
|
12059
|
+
cookie?: never;
|
|
10066
12060
|
};
|
|
12061
|
+
requestBody?: never;
|
|
10067
12062
|
responses: {
|
|
10068
|
-
/** @description
|
|
10069
|
-
|
|
12063
|
+
/** @description No Content */
|
|
12064
|
+
204: {
|
|
10070
12065
|
headers: {
|
|
10071
12066
|
[name: string]: unknown;
|
|
10072
12067
|
};
|
|
10073
|
-
content
|
|
10074
|
-
"application/json": components["schemas"]["FiltersView"];
|
|
10075
|
-
};
|
|
12068
|
+
content?: never;
|
|
10076
12069
|
};
|
|
10077
12070
|
/** @description Error */
|
|
10078
12071
|
default: {
|
|
@@ -10085,14 +12078,20 @@ export interface operations {
|
|
|
10085
12078
|
};
|
|
10086
12079
|
};
|
|
10087
12080
|
};
|
|
10088
|
-
"
|
|
12081
|
+
"update-group": {
|
|
10089
12082
|
parameters: {
|
|
10090
12083
|
query?: never;
|
|
10091
12084
|
header?: never;
|
|
10092
|
-
path
|
|
12085
|
+
path: {
|
|
12086
|
+
id: number;
|
|
12087
|
+
};
|
|
10093
12088
|
cookie?: never;
|
|
10094
12089
|
};
|
|
10095
|
-
requestBody
|
|
12090
|
+
requestBody: {
|
|
12091
|
+
content: {
|
|
12092
|
+
"application/json": components["schemas"]["PatchGroupInputBody"];
|
|
12093
|
+
};
|
|
12094
|
+
};
|
|
10096
12095
|
responses: {
|
|
10097
12096
|
/** @description OK */
|
|
10098
12097
|
200: {
|
|
@@ -10100,7 +12099,7 @@ export interface operations {
|
|
|
10100
12099
|
[name: string]: unknown;
|
|
10101
12100
|
};
|
|
10102
12101
|
content: {
|
|
10103
|
-
"application/json": components["schemas"]["
|
|
12102
|
+
"application/json": components["schemas"]["GroupView"];
|
|
10104
12103
|
};
|
|
10105
12104
|
};
|
|
10106
12105
|
/** @description Error */
|
|
@@ -10114,26 +12113,24 @@ export interface operations {
|
|
|
10114
12113
|
};
|
|
10115
12114
|
};
|
|
10116
12115
|
};
|
|
10117
|
-
"
|
|
12116
|
+
"get-group-page": {
|
|
10118
12117
|
parameters: {
|
|
10119
12118
|
query?: never;
|
|
10120
12119
|
header?: never;
|
|
10121
|
-
path
|
|
10122
|
-
|
|
10123
|
-
};
|
|
10124
|
-
requestBody: {
|
|
10125
|
-
content: {
|
|
10126
|
-
"application/json": components["schemas"]["CreateFolderInputBody"];
|
|
12120
|
+
path: {
|
|
12121
|
+
id: number;
|
|
10127
12122
|
};
|
|
12123
|
+
cookie?: never;
|
|
10128
12124
|
};
|
|
12125
|
+
requestBody?: never;
|
|
10129
12126
|
responses: {
|
|
10130
|
-
/** @description
|
|
10131
|
-
|
|
12127
|
+
/** @description OK */
|
|
12128
|
+
200: {
|
|
10132
12129
|
headers: {
|
|
10133
12130
|
[name: string]: unknown;
|
|
10134
12131
|
};
|
|
10135
12132
|
content: {
|
|
10136
|
-
"application/json": components["schemas"]["
|
|
12133
|
+
"application/json": components["schemas"]["GroupPageView"];
|
|
10137
12134
|
};
|
|
10138
12135
|
};
|
|
10139
12136
|
/** @description Error */
|
|
@@ -10147,25 +12144,29 @@ export interface operations {
|
|
|
10147
12144
|
};
|
|
10148
12145
|
};
|
|
10149
12146
|
};
|
|
10150
|
-
"
|
|
12147
|
+
"put-group-page": {
|
|
10151
12148
|
parameters: {
|
|
10152
12149
|
query?: never;
|
|
10153
12150
|
header?: never;
|
|
10154
|
-
path
|
|
12151
|
+
path: {
|
|
12152
|
+
id: number;
|
|
12153
|
+
};
|
|
10155
12154
|
cookie?: never;
|
|
10156
12155
|
};
|
|
10157
12156
|
requestBody: {
|
|
10158
12157
|
content: {
|
|
10159
|
-
"application/json": components["schemas"]["
|
|
12158
|
+
"application/json": components["schemas"]["PutGroupPageInputBody"];
|
|
10160
12159
|
};
|
|
10161
12160
|
};
|
|
10162
12161
|
responses: {
|
|
10163
|
-
/** @description
|
|
10164
|
-
|
|
12162
|
+
/** @description OK */
|
|
12163
|
+
200: {
|
|
10165
12164
|
headers: {
|
|
10166
12165
|
[name: string]: unknown;
|
|
10167
12166
|
};
|
|
10168
|
-
content
|
|
12167
|
+
content: {
|
|
12168
|
+
"application/json": components["schemas"]["GroupPageView"];
|
|
12169
|
+
};
|
|
10169
12170
|
};
|
|
10170
12171
|
/** @description Error */
|
|
10171
12172
|
default: {
|
|
@@ -10178,7 +12179,7 @@ export interface operations {
|
|
|
10178
12179
|
};
|
|
10179
12180
|
};
|
|
10180
12181
|
};
|
|
10181
|
-
"delete-
|
|
12182
|
+
"delete-group-page": {
|
|
10182
12183
|
parameters: {
|
|
10183
12184
|
query?: never;
|
|
10184
12185
|
header?: never;
|
|
@@ -10207,28 +12208,26 @@ export interface operations {
|
|
|
10207
12208
|
};
|
|
10208
12209
|
};
|
|
10209
12210
|
};
|
|
10210
|
-
"
|
|
12211
|
+
"import-run": {
|
|
10211
12212
|
parameters: {
|
|
10212
12213
|
query?: never;
|
|
10213
12214
|
header?: never;
|
|
10214
|
-
path
|
|
10215
|
-
id: number;
|
|
10216
|
-
};
|
|
12215
|
+
path?: never;
|
|
10217
12216
|
cookie?: never;
|
|
10218
12217
|
};
|
|
10219
12218
|
requestBody: {
|
|
10220
12219
|
content: {
|
|
10221
|
-
"application/json": components["schemas"]["
|
|
12220
|
+
"application/json": components["schemas"]["ImportRunInputBody"];
|
|
10222
12221
|
};
|
|
10223
12222
|
};
|
|
10224
12223
|
responses: {
|
|
10225
|
-
/** @description
|
|
10226
|
-
|
|
12224
|
+
/** @description Accepted */
|
|
12225
|
+
202: {
|
|
10227
12226
|
headers: {
|
|
10228
12227
|
[name: string]: unknown;
|
|
10229
12228
|
};
|
|
10230
12229
|
content: {
|
|
10231
|
-
"application/json": components["schemas"]["
|
|
12230
|
+
"application/json": components["schemas"]["JobState"];
|
|
10232
12231
|
};
|
|
10233
12232
|
};
|
|
10234
12233
|
/** @description Error */
|
|
@@ -10242,27 +12241,21 @@ export interface operations {
|
|
|
10242
12241
|
};
|
|
10243
12242
|
};
|
|
10244
12243
|
};
|
|
10245
|
-
"import-
|
|
12244
|
+
"import-cancel": {
|
|
10246
12245
|
parameters: {
|
|
10247
12246
|
query?: never;
|
|
10248
12247
|
header?: never;
|
|
10249
12248
|
path?: never;
|
|
10250
12249
|
cookie?: never;
|
|
10251
12250
|
};
|
|
10252
|
-
requestBody
|
|
10253
|
-
content: {
|
|
10254
|
-
"application/json": components["schemas"]["ImportRunInputBody"];
|
|
10255
|
-
};
|
|
10256
|
-
};
|
|
12251
|
+
requestBody?: never;
|
|
10257
12252
|
responses: {
|
|
10258
|
-
/** @description
|
|
10259
|
-
|
|
12253
|
+
/** @description No Content */
|
|
12254
|
+
204: {
|
|
10260
12255
|
headers: {
|
|
10261
12256
|
[name: string]: unknown;
|
|
10262
12257
|
};
|
|
10263
|
-
content
|
|
10264
|
-
"application/json": components["schemas"]["JobState"];
|
|
10265
|
-
};
|
|
12258
|
+
content?: never;
|
|
10266
12259
|
};
|
|
10267
12260
|
/** @description Error */
|
|
10268
12261
|
default: {
|
|
@@ -10275,21 +12268,27 @@ export interface operations {
|
|
|
10275
12268
|
};
|
|
10276
12269
|
};
|
|
10277
12270
|
};
|
|
10278
|
-
"import-
|
|
12271
|
+
"import-bot": {
|
|
10279
12272
|
parameters: {
|
|
10280
12273
|
query?: never;
|
|
10281
12274
|
header?: never;
|
|
10282
12275
|
path?: never;
|
|
10283
12276
|
cookie?: never;
|
|
10284
12277
|
};
|
|
10285
|
-
requestBody
|
|
12278
|
+
requestBody: {
|
|
12279
|
+
content: {
|
|
12280
|
+
"application/json": components["schemas"]["ImportBotInputBody"];
|
|
12281
|
+
};
|
|
12282
|
+
};
|
|
10286
12283
|
responses: {
|
|
10287
|
-
/** @description
|
|
10288
|
-
|
|
12284
|
+
/** @description Accepted */
|
|
12285
|
+
202: {
|
|
10289
12286
|
headers: {
|
|
10290
12287
|
[name: string]: unknown;
|
|
10291
12288
|
};
|
|
10292
|
-
content
|
|
12289
|
+
content: {
|
|
12290
|
+
"application/json": components["schemas"]["JobState"];
|
|
12291
|
+
};
|
|
10293
12292
|
};
|
|
10294
12293
|
/** @description Error */
|
|
10295
12294
|
default: {
|
|
@@ -10557,6 +12556,66 @@ export interface operations {
|
|
|
10557
12556
|
};
|
|
10558
12557
|
};
|
|
10559
12558
|
};
|
|
12559
|
+
"list-server-order": {
|
|
12560
|
+
parameters: {
|
|
12561
|
+
query?: never;
|
|
12562
|
+
header?: never;
|
|
12563
|
+
path?: never;
|
|
12564
|
+
cookie?: never;
|
|
12565
|
+
};
|
|
12566
|
+
requestBody?: never;
|
|
12567
|
+
responses: {
|
|
12568
|
+
/** @description OK */
|
|
12569
|
+
200: {
|
|
12570
|
+
headers: {
|
|
12571
|
+
[name: string]: unknown;
|
|
12572
|
+
};
|
|
12573
|
+
content: {
|
|
12574
|
+
"application/json": components["schemas"]["SubOrderItem"][];
|
|
12575
|
+
};
|
|
12576
|
+
};
|
|
12577
|
+
/** @description Error */
|
|
12578
|
+
default: {
|
|
12579
|
+
headers: {
|
|
12580
|
+
[name: string]: unknown;
|
|
12581
|
+
};
|
|
12582
|
+
content: {
|
|
12583
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
12584
|
+
};
|
|
12585
|
+
};
|
|
12586
|
+
};
|
|
12587
|
+
};
|
|
12588
|
+
"order-servers": {
|
|
12589
|
+
parameters: {
|
|
12590
|
+
query?: never;
|
|
12591
|
+
header?: never;
|
|
12592
|
+
path?: never;
|
|
12593
|
+
cookie?: never;
|
|
12594
|
+
};
|
|
12595
|
+
requestBody: {
|
|
12596
|
+
content: {
|
|
12597
|
+
"application/json": components["schemas"]["OrderServersInputBody"];
|
|
12598
|
+
};
|
|
12599
|
+
};
|
|
12600
|
+
responses: {
|
|
12601
|
+
/** @description No Content */
|
|
12602
|
+
204: {
|
|
12603
|
+
headers: {
|
|
12604
|
+
[name: string]: unknown;
|
|
12605
|
+
};
|
|
12606
|
+
content?: never;
|
|
12607
|
+
};
|
|
12608
|
+
/** @description Error */
|
|
12609
|
+
default: {
|
|
12610
|
+
headers: {
|
|
12611
|
+
[name: string]: unknown;
|
|
12612
|
+
};
|
|
12613
|
+
content: {
|
|
12614
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
12615
|
+
};
|
|
12616
|
+
};
|
|
12617
|
+
};
|
|
12618
|
+
};
|
|
10560
12619
|
"scan-targets": {
|
|
10561
12620
|
parameters: {
|
|
10562
12621
|
query?: {
|
|
@@ -15504,8 +17563,10 @@ export interface operations {
|
|
|
15504
17563
|
q?: string;
|
|
15505
17564
|
/** @description all — любая; none — вне папок; число — id папки */
|
|
15506
17565
|
folder?: string;
|
|
17566
|
+
/** @description all — любая; none — ни в какой группе; число — id группы. Группа клиента — своя или его тарифа (effective_group_id) */
|
|
17567
|
+
group?: string;
|
|
15507
17568
|
/** @description Откуда пользователь, см. source у пользователя */
|
|
15508
|
-
source?: "all" | "admin" | "bot" | "trial" | "free" | "import";
|
|
17569
|
+
source?: "all" | "admin" | "bot" | "web" | "trial" | "free" | "import";
|
|
15509
17570
|
/** @description show — вместе со скрытыми (по умолчанию: скрытие касается только списка в панели); hide — без скрытых; only — только скрытые */
|
|
15510
17571
|
hidden?: "hide" | "show" | "only";
|
|
15511
17572
|
limit?: number;
|
|
@@ -16439,6 +18500,41 @@ export interface operations {
|
|
|
16439
18500
|
};
|
|
16440
18501
|
};
|
|
16441
18502
|
};
|
|
18503
|
+
"user-sub-preview": {
|
|
18504
|
+
parameters: {
|
|
18505
|
+
query?: never;
|
|
18506
|
+
header?: never;
|
|
18507
|
+
path: {
|
|
18508
|
+
id: number;
|
|
18509
|
+
};
|
|
18510
|
+
cookie?: never;
|
|
18511
|
+
};
|
|
18512
|
+
requestBody: {
|
|
18513
|
+
content: {
|
|
18514
|
+
"application/json": components["schemas"]["SubPreviewInputBody"];
|
|
18515
|
+
};
|
|
18516
|
+
};
|
|
18517
|
+
responses: {
|
|
18518
|
+
/** @description OK */
|
|
18519
|
+
200: {
|
|
18520
|
+
headers: {
|
|
18521
|
+
[name: string]: unknown;
|
|
18522
|
+
};
|
|
18523
|
+
content: {
|
|
18524
|
+
"application/json": components["schemas"]["SubPreview"];
|
|
18525
|
+
};
|
|
18526
|
+
};
|
|
18527
|
+
/** @description Error */
|
|
18528
|
+
default: {
|
|
18529
|
+
headers: {
|
|
18530
|
+
[name: string]: unknown;
|
|
18531
|
+
};
|
|
18532
|
+
content: {
|
|
18533
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
18534
|
+
};
|
|
18535
|
+
};
|
|
18536
|
+
};
|
|
18537
|
+
};
|
|
16442
18538
|
"unlink-telegram": {
|
|
16443
18539
|
parameters: {
|
|
16444
18540
|
query?: never;
|