@getmikan/sdk 0.5.201-rc.6 → 0.5.201-rc.8

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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +1281 -55
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -244,6 +244,40 @@ export interface paths {
244
244
  patch?: never;
245
245
  trace?: never;
246
246
  };
247
+ "/auth/login/passkey": {
248
+ parameters: {
249
+ query?: never;
250
+ header?: never;
251
+ path?: never;
252
+ cookie?: never;
253
+ };
254
+ get?: never;
255
+ put?: never;
256
+ /** Вход по passkey */
257
+ post: operations["passkey-login"];
258
+ delete?: never;
259
+ options?: never;
260
+ head?: never;
261
+ patch?: never;
262
+ trace?: never;
263
+ };
264
+ "/auth/login/passkey/begin": {
265
+ parameters: {
266
+ query?: never;
267
+ header?: never;
268
+ path?: never;
269
+ cookie?: never;
270
+ };
271
+ get?: never;
272
+ put?: never;
273
+ /** Начать вход по passkey */
274
+ post: operations["passkey-login-begin"];
275
+ delete?: never;
276
+ options?: never;
277
+ head?: never;
278
+ patch?: never;
279
+ trace?: never;
280
+ };
247
281
  "/auth/logout": {
248
282
  parameters: {
249
283
  query?: never;
@@ -278,6 +312,58 @@ export interface paths {
278
312
  patch?: never;
279
313
  trace?: never;
280
314
  };
315
+ "/auth/passkeys": {
316
+ parameters: {
317
+ query?: never;
318
+ header?: never;
319
+ path?: never;
320
+ cookie?: never;
321
+ };
322
+ /** Ключи входа (passkey) */
323
+ get: operations["list-passkeys"];
324
+ put?: never;
325
+ /** Добавить passkey */
326
+ post: operations["add-passkey"];
327
+ delete?: never;
328
+ options?: never;
329
+ head?: never;
330
+ patch?: never;
331
+ trace?: never;
332
+ };
333
+ "/auth/passkeys/begin": {
334
+ parameters: {
335
+ query?: never;
336
+ header?: never;
337
+ path?: never;
338
+ cookie?: never;
339
+ };
340
+ get?: never;
341
+ put?: never;
342
+ /** Начать добавление passkey */
343
+ post: operations["passkey-begin"];
344
+ delete?: never;
345
+ options?: never;
346
+ head?: never;
347
+ patch?: never;
348
+ trace?: never;
349
+ };
350
+ "/auth/passkeys/{id}": {
351
+ parameters: {
352
+ query?: never;
353
+ header?: never;
354
+ path?: never;
355
+ cookie?: never;
356
+ };
357
+ get?: never;
358
+ put?: never;
359
+ post?: never;
360
+ /** Удалить passkey */
361
+ delete: operations["delete-passkey"];
362
+ options?: never;
363
+ head?: never;
364
+ patch?: never;
365
+ trace?: never;
366
+ };
281
367
  "/auth/password": {
282
368
  parameters: {
283
369
  query?: never;
@@ -779,6 +865,42 @@ export interface paths {
779
865
  patch?: never;
780
866
  trace?: never;
781
867
  };
868
+ "/inbounds/{id}/hosts": {
869
+ parameters: {
870
+ query?: never;
871
+ header?: never;
872
+ path?: never;
873
+ cookie?: never;
874
+ };
875
+ /** Адреса подключения для клиентов */
876
+ get: operations["list-inbound-hosts"];
877
+ put?: never;
878
+ /** Добавить адрес подключения */
879
+ post: operations["add-inbound-host"];
880
+ delete?: never;
881
+ options?: never;
882
+ head?: never;
883
+ patch?: never;
884
+ trace?: never;
885
+ };
886
+ "/inbounds/{id}/hosts/{host_id}": {
887
+ parameters: {
888
+ query?: never;
889
+ header?: never;
890
+ path?: never;
891
+ cookie?: never;
892
+ };
893
+ get?: never;
894
+ /** Изменить адрес подключения */
895
+ put: operations["update-inbound-host"];
896
+ post?: never;
897
+ /** Удалить адрес подключения */
898
+ delete: operations["delete-inbound-host"];
899
+ options?: never;
900
+ head?: never;
901
+ patch?: never;
902
+ trace?: never;
903
+ };
782
904
  "/lifecycle": {
783
905
  parameters: {
784
906
  query?: never;
@@ -1116,6 +1238,26 @@ export interface paths {
1116
1238
  patch?: never;
1117
1239
  trace?: never;
1118
1240
  };
1241
+ "/nodes/{id}/clients": {
1242
+ parameters: {
1243
+ query?: never;
1244
+ header?: never;
1245
+ path?: never;
1246
+ cookie?: never;
1247
+ };
1248
+ /**
1249
+ * Клиенты ноды
1250
+ * @description Кто ходил через ноду: последний раз, трафик на ней и кто в сети сейчас. Учёт идёт с версии, где он появился.
1251
+ */
1252
+ get: operations["node-clients"];
1253
+ put?: never;
1254
+ post?: never;
1255
+ delete?: never;
1256
+ options?: never;
1257
+ head?: never;
1258
+ patch?: never;
1259
+ trace?: never;
1260
+ };
1119
1261
  "/nodes/{id}/doctor": {
1120
1262
  parameters: {
1121
1263
  query?: never;
@@ -1692,6 +1834,23 @@ export interface paths {
1692
1834
  patch?: never;
1693
1835
  trace?: never;
1694
1836
  };
1837
+ "/settings/former-domains/{name}": {
1838
+ parameters: {
1839
+ query?: never;
1840
+ header?: never;
1841
+ path?: never;
1842
+ cookie?: never;
1843
+ };
1844
+ get?: never;
1845
+ put?: never;
1846
+ post?: never;
1847
+ /** Перестать отвечать по прежнему домену: старые ссылки с ним перестанут работать */
1848
+ delete: operations["remove-former-domain"];
1849
+ options?: never;
1850
+ head?: never;
1851
+ patch?: never;
1852
+ trace?: never;
1853
+ };
1695
1854
  "/settings/reset-admin-path": {
1696
1855
  parameters: {
1697
1856
  query?: never;
@@ -2016,6 +2175,46 @@ export interface paths {
2016
2175
  patch?: never;
2017
2176
  trace?: never;
2018
2177
  };
2178
+ "/sub-templates/ready": {
2179
+ parameters: {
2180
+ query?: never;
2181
+ header?: never;
2182
+ path?: never;
2183
+ cookie?: never;
2184
+ };
2185
+ /**
2186
+ * Готовые шаблоны подписки
2187
+ * @description Каталог, из которого редактор загружает шаблон. В базу панель их сама не кладёт.
2188
+ */
2189
+ get: operations["list-ready-sub-templates"];
2190
+ put?: never;
2191
+ post?: never;
2192
+ delete?: never;
2193
+ options?: never;
2194
+ head?: never;
2195
+ patch?: never;
2196
+ trace?: never;
2197
+ };
2198
+ "/sub-templates/ready/{id}": {
2199
+ parameters: {
2200
+ query?: never;
2201
+ header?: never;
2202
+ path?: never;
2203
+ cookie?: never;
2204
+ };
2205
+ /**
2206
+ * Готовый шаблон подписки с текстом
2207
+ * @description Ничего не сохраняет: текст для редактора.
2208
+ */
2209
+ get: operations["get-ready-sub-template"];
2210
+ put?: never;
2211
+ post?: never;
2212
+ delete?: never;
2213
+ options?: never;
2214
+ head?: never;
2215
+ patch?: never;
2216
+ trace?: never;
2217
+ };
2019
2218
  "/sub-templates/{id}": {
2020
2219
  parameters: {
2021
2220
  query?: never;
@@ -2858,6 +3057,43 @@ export interface paths {
2858
3057
  patch?: never;
2859
3058
  trace?: never;
2860
3059
  };
3060
+ "/users/{id}/nodes": {
3061
+ parameters: {
3062
+ query?: never;
3063
+ header?: never;
3064
+ path?: never;
3065
+ cookie?: never;
3066
+ };
3067
+ /**
3068
+ * Ноды пользователя
3069
+ * @description Через какие ноды ходил пользователь: последний раз и трафик на каждой. Учёт идёт с версии, где он появился.
3070
+ */
3071
+ get: operations["user-nodes"];
3072
+ put?: never;
3073
+ post?: never;
3074
+ delete?: never;
3075
+ options?: never;
3076
+ head?: never;
3077
+ patch?: never;
3078
+ trace?: never;
3079
+ };
3080
+ "/users/{id}/online": {
3081
+ parameters: {
3082
+ query?: never;
3083
+ header?: never;
3084
+ path?: never;
3085
+ cookie?: never;
3086
+ };
3087
+ /** Где пользователь онлайн сейчас: ноды, устройства, адреса */
3088
+ get: operations["user-online"];
3089
+ put?: never;
3090
+ post?: never;
3091
+ delete?: never;
3092
+ options?: never;
3093
+ head?: never;
3094
+ patch?: never;
3095
+ trace?: never;
3096
+ };
2861
3097
  "/users/{id}/pools": {
2862
3098
  parameters: {
2863
3099
  query?: never;
@@ -2893,6 +3129,23 @@ export interface paths {
2893
3129
  patch?: never;
2894
3130
  trace?: never;
2895
3131
  };
3132
+ "/users/{id}/reset-connections": {
3133
+ parameters: {
3134
+ query?: never;
3135
+ header?: never;
3136
+ path?: never;
3137
+ cookie?: never;
3138
+ };
3139
+ get?: never;
3140
+ put?: never;
3141
+ /** Сбросить соединения: ноды закрывают открытые соединения, доступ остаётся, приложения подключаются заново */
3142
+ post: operations["reset-user-connections"];
3143
+ delete?: never;
3144
+ options?: never;
3145
+ head?: never;
3146
+ patch?: never;
3147
+ trace?: never;
3148
+ };
2896
3149
  "/users/{id}/reset-traffic": {
2897
3150
  parameters: {
2898
3151
  query?: never;
@@ -3305,6 +3558,16 @@ export interface components {
3305
3558
  /** @description Панель видит каталог данных сервера; иначе ставить адаптеры нельзя */
3306
3559
  supported: boolean;
3307
3560
  };
3561
+ AddressStatus: {
3562
+ /** Format: date-time */
3563
+ checked_at?: string;
3564
+ found?: string;
3565
+ /** Format: date-time */
3566
+ moved_at?: string;
3567
+ moved_from?: string;
3568
+ reaches: boolean;
3569
+ unchecked?: boolean;
3570
+ };
3308
3571
  AdjustBalanceInputBody: {
3309
3572
  /**
3310
3573
  * Format: int64
@@ -3325,6 +3588,13 @@ export interface components {
3325
3588
  AlertsConfig: {
3326
3589
  admin_enabled: boolean;
3327
3590
  events: components["schemas"]["Events"];
3591
+ /** @description Группа Telegram, куда тоже идут уведомления админу: @username или числовой ID; пусто — нет */
3592
+ group_chat?: string;
3593
+ /**
3594
+ * Format: int64
3595
+ * @description Тема группы (message_thread_id) для групп с темами; 0 — общий чат группы
3596
+ */
3597
+ group_thread?: number;
3328
3598
  public_changes: boolean;
3329
3599
  public_channel?: string;
3330
3600
  public_enabled: boolean;
@@ -3332,7 +3602,12 @@ export interface components {
3332
3602
  };
3333
3603
  AlertsConfigPatch: {
3334
3604
  admin_enabled?: boolean;
3605
+ /** @description Адрес webhook канала Discord (https://discord.com/api/webhooks/…), куда тоже идут уведомления админу; пустая строка — удалить. В ответе не возвращается */
3606
+ discord_webhook?: string;
3335
3607
  events?: components["schemas"]["EventsPatch"];
3608
+ group_chat?: string;
3609
+ /** Format: int64 */
3610
+ group_thread?: number;
3336
3611
  public_changes?: boolean;
3337
3612
  public_channel?: string;
3338
3613
  public_enabled?: boolean;
@@ -3366,6 +3641,8 @@ export interface components {
3366
3641
  error?: string;
3367
3642
  /** @description Кто держал порт 80 (port80_busy), если это видно */
3368
3643
  holder?: string;
3644
+ /** @description На какое имя заказан сертификат: при смене домена новое */
3645
+ identifier?: string;
3369
3646
  };
3370
3647
  AuditEntry: {
3371
3648
  /** @description Например user.create, settings.update, auth.login_failed */
@@ -3604,6 +3881,31 @@ export interface components {
3604
3881
  */
3605
3882
  with_balance: number;
3606
3883
  };
3884
+ BulkFilter: {
3885
+ /**
3886
+ * @description all — любая; none — вне папок; число — id папки
3887
+ * @default all
3888
+ */
3889
+ folder: string;
3890
+ /**
3891
+ * @description Как у списка: по умолчанию вместе со скрытыми
3892
+ * @default show
3893
+ * @enum {string}
3894
+ */
3895
+ hidden: "hide" | "show" | "only";
3896
+ /** @description Оператору поддержки без показа подписчиков закрыт: 403 support_denied */
3897
+ q?: string;
3898
+ /**
3899
+ * @default all
3900
+ * @enum {string}
3901
+ */
3902
+ source: "all" | "admin" | "bot" | "trial" | "free" | "import";
3903
+ /**
3904
+ * @default all
3905
+ * @enum {string}
3906
+ */
3907
+ state: "all" | "active" | "expiring" | "limited" | "expired" | "disabled" | "attention";
3908
+ };
3607
3909
  BulkInputBody: {
3608
3910
  /**
3609
3911
  * @description hide и unhide прячут пользователей из списка и возвращают, move кладёт в папку: ни то ни другое не меняет доступ
@@ -3615,12 +3917,17 @@ export interface components {
3615
3917
  * @description Для extend; не задано — на один период: до следующего дня оплаты или на 30 дней
3616
3918
  */
3617
3919
  days?: number;
3920
+ /** @description Только с filter, и для действия обязательно: digest из предпросмотра с тем же filter. Если под фильтр сейчас подходят не ровно те же пользователи (другое число или хоть один другой) — 409 filter_changed, и ничего не сделано. Предпросмотр его значение не проверяет */
3921
+ expect?: string;
3922
+ /** @description Все, кто подходит под фильтр списка пользователей (те же параметры и тот же смысл, что у GET /users), сколько бы их ни было; задаётся либо ids, либо filter */
3923
+ filter?: components["schemas"]["BulkFilter"];
3618
3924
  /**
3619
3925
  * Format: int64
3620
3926
  * @description Для move: папка; 0 или не задано — убрать из папок
3621
3927
  */
3622
3928
  folder_id?: number;
3623
- ids: number[];
3929
+ /** @description Пользователи по id; задаётся либо ids, либо filter */
3930
+ ids?: number[];
3624
3931
  };
3625
3932
  BulkOutputBody: {
3626
3933
  /** Format: int64 */
@@ -3634,6 +3941,8 @@ export interface components {
3634
3941
  * @description Скольких действие изменит
3635
3942
  */
3636
3943
  changed: number;
3944
+ /** @description Только с filter: SHA-256 (hex) списка id подходящих пользователей по возрастанию через запятую; его передают в действие как expect */
3945
+ digest?: string;
3637
3946
  /**
3638
3947
  * Format: int64
3639
3948
  * @description Сколько из них есть: к ним действие и применится (affected)
@@ -3744,6 +4053,12 @@ export interface components {
3744
4053
  node_id: number;
3745
4054
  };
3746
4055
  CascadePatchInputBody: {
4056
+ /** @description true: порт служебного входа держит панель; false: port задаёт его */
4057
+ auto_port?: boolean;
4058
+ /** @description true: сайт маскировки служебного входа держит панель; false: dest и server_name задают его */
4059
+ auto_sni?: boolean;
4060
+ /** @description Сайт маскировки служебного входа, host:port; с auto_sni: false */
4061
+ dest?: string;
3747
4062
  /** Format: int64 */
3748
4063
  exit_node_id?: number;
3749
4064
  /**
@@ -3751,8 +4066,18 @@ export interface components {
3751
4066
  * @enum {string}
3752
4067
  */
3753
4068
  outbound: "direct" | "warp" | "node";
4069
+ /** @description Порт служебного входа, один TCP-порт; с auto_port: false */
4070
+ port?: string;
4071
+ /** @description Имя для подключений нод; нужно, когда в dest IP */
4072
+ server_name?: string;
3754
4073
  };
3755
4074
  CascadeRelay: {
4075
+ /** @description Порт держит панель: переносит его, если порт занят другой программой или его режут между серверами (при включённом «Менять порт, если его блокируют»); false - порт задан админом и не меняется сам */
4076
+ auto_port: boolean;
4077
+ /** @description Сайт держит панель: как у протоколов ноды, иначе подобранный рядом с сервером, и меняет его, когда он перестал работать */
4078
+ auto_sni: boolean;
4079
+ /** @description Сайт маскировки REALITY служебного входа, host:port */
4080
+ dest: string;
3756
4081
  /** @description Почему служебный вход не запустился, как сказала нода */
3757
4082
  error?: string;
3758
4083
  /** Format: int64 */
@@ -3768,8 +4093,15 @@ export interface components {
3768
4093
  */
3769
4094
  outbound: "direct" | "warp" | "node";
3770
4095
  port: string;
4096
+ /** @description Имя сайта (SNI), под которое маскируются подключения нод к служебному входу */
4097
+ server_name: string;
3771
4098
  /** @description Ноды, которые выходят через эту */
3772
4099
  sources: components["schemas"]["CascadeHop"][];
4100
+ /**
4101
+ * @description Откуда сайт: own - свой домен сервера, protocol - как у протоколов ноды, picked - подобран рядом с сервером, default - www.microsoft.com, пока лучшего нет, manual - задан админом
4102
+ * @enum {string}
4103
+ */
4104
+ target: "own" | "protocol" | "picked" | "default" | "manual";
3773
4105
  };
3774
4106
  CascadeView: {
3775
4107
  /** @description Ноды, через которые эта нода выпускает трафик */
@@ -3901,6 +4233,21 @@ export interface components {
3901
4233
  quiet_night: boolean;
3902
4234
  texts: components["schemas"]["Texts"];
3903
4235
  };
4236
+ ConnResetView: {
4237
+ /**
4238
+ * Format: int64
4239
+ * @description Сколько соединений закрыла нода
4240
+ */
4241
+ closed: number;
4242
+ /** Format: int64 */
4243
+ node_id: number;
4244
+ node_name: string;
4245
+ /**
4246
+ * @description ok — соединения закрыты; node_too_old — нода старее 0.5.2.1 и сбрасывать не умеет, её пропустили; node_unavailable — нода не ответила
4247
+ * @enum {string}
4248
+ */
4249
+ status: "ok" | "node_too_old" | "node_unavailable";
4250
+ };
3904
4251
  CopyInboundInputBody: {
3905
4252
  /** @description REALITY: другой сайт маскировки, host:port; пусто — тот же */
3906
4253
  dest?: string;
@@ -3976,6 +4323,8 @@ export interface components {
3976
4323
  port?: string;
3977
4324
  /** @enum {string} */
3978
4325
  preset: "vless_reality_xhttp" | "hysteria2" | "hysteria2_gecko" | "tuic_v5" | "vless_reality_vision" | "vless_reality_grpc" | "trojan_reality" | "vless_tls_xhttp" | "vless_tls_vision" | "vless_tls_ws" | "vless_cdn_xhttp" | "vless_cdn_xhttp_get" | "anytls" | "vless_reality_xhttp_pq" | "trusttunnel" | "shadowquic" | "mieru" | "shadowsocks_2022" | "sudoku" | "snell" | "custom";
4326
+ /** @description Метки подключения, как у пользователя */
4327
+ tags?: string[];
3979
4328
  };
3980
4329
  CreateNodeInputBody: {
3981
4330
  /**
@@ -3988,6 +4337,8 @@ export interface components {
3988
4337
  /** @description IP или имя сервера ноды */
3989
4338
  host: string;
3990
4339
  name: string;
4340
+ /** @description Метки ноды, как у пользователя */
4341
+ tags?: string[];
3991
4342
  };
3992
4343
  CreateSubTemplateInputBody: {
3993
4344
  /** @description Конфиг ядра без серверов: YAML для mihomo, JSON для sing-box и Xray */
@@ -4153,6 +4504,7 @@ export interface components {
4153
4504
  Events: {
4154
4505
  autotune: boolean;
4155
4506
  autotune_recovery: boolean;
4507
+ billing: boolean;
4156
4508
  exit: boolean;
4157
4509
  inbound: boolean;
4158
4510
  node: boolean;
@@ -4164,6 +4516,7 @@ export interface components {
4164
4516
  EventsPatch: {
4165
4517
  autotune?: boolean;
4166
4518
  autotune_recovery?: boolean;
4519
+ billing?: boolean;
4167
4520
  exit?: boolean;
4168
4521
  inbound?: boolean;
4169
4522
  node?: boolean;
@@ -4244,17 +4597,43 @@ export interface components {
4244
4597
  */
4245
4598
  users: number;
4246
4599
  };
4247
- GeoAnswer: {
4248
- /** @description ISO 3166-1 alpha-2 */
4249
- country?: string;
4600
+ FormerStatus: {
4250
4601
  /** @enum {string} */
4251
- error?: "timeout" | "limited" | "failed";
4252
- service: string;
4253
- };
4254
- GeoCheck: {
4255
- /** @description Все ответившие базы согласны */
4256
- agree: boolean;
4257
- answers: components["schemas"]["GeoAnswer"][];
4602
+ ca?: "letsencrypt" | "zerossl" | "google";
4603
+ /** Format: date-time */
4604
+ checked_at: string;
4605
+ /**
4606
+ * Format: date-time
4607
+ * @description Без действующего сертификата имя уберётся само в это время
4608
+ */
4609
+ drop_at?: string;
4610
+ /** @description Код errors.acme последнего заказа */
4611
+ error?: string;
4612
+ error_detail?: string;
4613
+ /** @enum {string} */
4614
+ kind: "own" | "none";
4615
+ name: string;
4616
+ /** Format: date-time */
4617
+ not_after?: string;
4618
+ /**
4619
+ * Format: date-time
4620
+ * @description Когда имя перестало быть именем панели
4621
+ */
4622
+ since: string;
4623
+ /** @description Бывший домен подписок: по нему открываются только подписки */
4624
+ sub?: boolean;
4625
+ };
4626
+ GeoAnswer: {
4627
+ /** @description ISO 3166-1 alpha-2 */
4628
+ country?: string;
4629
+ /** @enum {string} */
4630
+ error?: "timeout" | "limited" | "failed";
4631
+ service: string;
4632
+ };
4633
+ GeoCheck: {
4634
+ /** @description Все ответившие базы согласны */
4635
+ agree: boolean;
4636
+ answers: components["schemas"]["GeoAnswer"][];
4258
4637
  /** Format: date-time */
4259
4638
  at: string;
4260
4639
  cached: boolean;
@@ -4365,6 +4744,21 @@ export interface components {
4365
4744
  name: string;
4366
4745
  value: string;
4367
4746
  };
4747
+ HostInput: {
4748
+ /** @description Адрес для клиентов; пусто — адрес ноды */
4749
+ address: string;
4750
+ /** @description Отпечаток TLS у клиентов, как fingerprint подключения; пусто — общий из настроек */
4751
+ fingerprint: string;
4752
+ /** @description HTTP Host у клиентов: VLESS и Trojan по WebSocket и XHTTP; пусто — как на сервере */
4753
+ host: string;
4754
+ /**
4755
+ * Format: int64
4756
+ * @description Порт для клиентов; 0 — порт подключения
4757
+ */
4758
+ port: number;
4759
+ /** @description SNI для клиентов; пусто — как обычно. Не у REALITY: там имя задаёт сайт маскировки */
4760
+ sni: string;
4761
+ };
4368
4762
  HostItem: {
4369
4763
  detail: string;
4370
4764
  /** @description Что сделать; пусто, если всё хорошо */
@@ -4396,9 +4790,28 @@ export interface components {
4396
4790
  state: "running" | "ok" | "failed";
4397
4791
  version: string;
4398
4792
  };
4793
+ HostView: {
4794
+ /** @description Адрес для клиентов; пусто — адрес ноды */
4795
+ address: string;
4796
+ /** @description Адрес по умолчанию: тот же, что client и fingerprint подключения; удаляется только с подключением */
4797
+ default: boolean;
4798
+ /** @description Отпечаток TLS (uTLS); пусто — общий из настроек */
4799
+ fingerprint: string;
4800
+ /** @description HTTP Host у клиентов (WebSocket, XHTTP); пусто — как на сервере */
4801
+ host: string;
4802
+ /** Format: int64 */
4803
+ id: number;
4804
+ /**
4805
+ * Format: int64
4806
+ * @description Порт для клиентов; 0 — порт подключения
4807
+ */
4808
+ port: number;
4809
+ /** @description SNI для клиентов; пусто — как обычно */
4810
+ sni: string;
4811
+ };
4399
4812
  ImportRunInputBody: {
4400
4813
  /** @enum {string} */
4401
- kind: "marzban" | "pasarguard" | "remnawave";
4814
+ kind: "marzban" | "pasarguard" | "remnawave" | "3xui";
4402
4815
  password?: string;
4403
4816
  /**
4404
4817
  * Format: int64
@@ -4411,13 +4824,13 @@ export interface components {
4411
4824
  };
4412
4825
  ImportSource: {
4413
4826
  /** @enum {string} */
4414
- kind: "marzban" | "pasarguard" | "remnawave";
4827
+ kind: "marzban" | "pasarguard" | "remnawave" | "3xui";
4415
4828
  password?: string;
4416
- /** @description Remnawave: API-токен; PasarGuard: API-ключ вместо логина */
4829
+ /** @description Remnawave: API-токен; PasarGuard: API-ключ вместо логина; 3x-ui: API-токен вместо логина */
4417
4830
  token?: string;
4418
- /** @description Адрес старой панели: https://panel.example.com; http:// — только для этого сервера или локальной сети */
4831
+ /** @description Адрес старой панели: https://panel.example.com, у 3x-ui — с его секретным путём; http:// — только для этого сервера или локальной сети */
4419
4832
  url: string;
4420
- /** @description Marzban, PasarGuard: логин администратора */
4833
+ /** @description Marzban, PasarGuard, 3x-ui: логин администратора */
4421
4834
  username?: string;
4422
4835
  };
4423
4836
  InactiveOutputBody: {
@@ -4496,6 +4909,8 @@ export interface components {
4496
4909
  fingerprint?: string;
4497
4910
  /** Format: int64 */
4498
4911
  id: number;
4912
+ /** @description Подключение входит в «Авто» подписки; выключено — только в списке и группе страны (выключенная нода убирает все свои) */
4913
+ in_auto: boolean;
4499
4914
  /** @description Адрес, на котором нода слушает: пусто — все адреса, 127.0.0.1 — только сам сервер (за nginx или HAProxy) */
4500
4915
  listen: string;
4501
4916
  name: string;
@@ -4529,6 +4944,8 @@ export interface components {
4529
4944
  status: "ok" | "error" | "unknown";
4530
4945
  /** @description Имя, которое увидит клиент */
4531
4946
  sub_name: string;
4947
+ /** @description Метки подключения: свои слова админа, по ним фильтруют список; в подписку не попадают */
4948
+ tags: string[];
4532
4949
  title: string;
4533
4950
  /** @description Тип листенера mihomo */
4534
4951
  type: string;
@@ -4595,20 +5012,20 @@ export interface components {
4595
5012
  LegacyLinks: {
4596
5013
  /** @description Старые ссылки сейчас открываются: задан их путь, а для подписанных ещё и секрет старой панели */
4597
5014
  active: boolean;
4598
- /** @description Из какой панели: marzban, pasarguard или remnawave */
5015
+ /** @description Из какой панели: marzban, pasarguard, remnawave или 3xui */
4599
5016
  source: string;
4600
- /** @description Ссылка целиком. Только у Remnawave: токен Marzban и PasarGuard подписан, импорт его не видел и не хранит, а ссылки, что уже у людей, проверяются по подписи */
5017
+ /** @description Ссылка целиком. Только у Remnawave и 3x-ui: токен Marzban и PasarGuard подписан, импорт его не видел и не хранит, а ссылки, что уже у людей, проверяются по подписи */
4601
5018
  url?: string;
4602
5019
  };
4603
5020
  LegacyView: {
4604
- /** @description Чьи ссылки: marzban, pasarguard или remnawave; импорт ставит его сам */
5021
+ /** @description Чьи ссылки: marzban, pasarguard, remnawave или 3xui; импорт ставит его сам */
4605
5022
  kind: string;
4606
5023
  /**
4607
5024
  * Format: int64
4608
5025
  * @description У скольких пользователей заведены старые ссылки
4609
5026
  */
4610
5027
  links: number;
4611
- /** @description Путь старых ссылок подписки: sub у Marzban и PasarGuard, api/sub у Remnawave; пусто — выключено */
5028
+ /** @description Путь старых ссылок подписки: sub у Marzban, PasarGuard и 3x-ui, api/sub у Remnawave; пусто — выключено */
4612
5029
  path: string;
4613
5030
  /** @description Секрет старой панели задан; сам он не возвращается */
4614
5031
  secret_set: boolean;
@@ -4890,6 +5307,37 @@ export interface components {
4890
5307
  */
4891
5308
  term_days: number | null;
4892
5309
  };
5310
+ NodeBilling: {
5311
+ /** @description Дата оплаты, YYYY-MM-DD (UTC); пусто — не задана. С pay_months — любая оплата из череды, следующую считает панель */
5312
+ pay_date: string;
5313
+ /**
5314
+ * Format: int64
5315
+ * @description Оплата повторяется каждые столько месяцев; 0 — разовая
5316
+ */
5317
+ pay_months: number;
5318
+ /** @description Хостер сервера, как его назвал админ */
5319
+ provider: string;
5320
+ /**
5321
+ * Format: int64
5322
+ * @description За сколько дней до оплаты напомнить админу в Telegram; 0 — не напоминать
5323
+ */
5324
+ remind_days: number;
5325
+ /**
5326
+ * Format: int64
5327
+ * @description День месяца, с которого хостер считает трафик заново; в коротком месяце — его последний день
5328
+ */
5329
+ reset_day: number;
5330
+ /**
5331
+ * Format: int64
5332
+ * @description При скольких процентах лимита сказать админу; раз за период
5333
+ */
5334
+ traffic_alert: number;
5335
+ /**
5336
+ * Format: int64
5337
+ * @description Трафик тарифа сервера за период, байты; 0 — без лимита
5338
+ */
5339
+ traffic_limit: number;
5340
+ };
4893
5341
  NodeCertInputBody: {
4894
5342
  /** @description Цепочка в PEM: сначала сертификат, за ним промежуточные (fullchain.pem) */
4895
5343
  cert: string;
@@ -4907,6 +5355,54 @@ export interface components {
4907
5355
  /** @description Публично доверенный для адреса: приложения принимают его без пина */
4908
5356
  trusted: boolean;
4909
5357
  };
5358
+ NodeClient: {
5359
+ /**
5360
+ * Format: int64
5361
+ * @description Скачано через эту ноду с начала учёта
5362
+ */
5363
+ down: number;
5364
+ /**
5365
+ * Format: date-time
5366
+ * @description Последняя сохранённая порция трафика пользователя на этой ноде
5367
+ */
5368
+ last_seen: string;
5369
+ /** @description Что открыто на ноде сейчас, по ключам; пусто — не в сети */
5370
+ online: components["schemas"]["NodeClientOnline"][];
5371
+ /**
5372
+ * Format: int64
5373
+ * @description Отдано через эту ноду с начала учёта
5374
+ */
5375
+ up: number;
5376
+ /** Format: int64 */
5377
+ user_id: number;
5378
+ /** @description Имя пользователя; оператор поддержки без доступа к подписчикам видит #ID */
5379
+ user_name: string;
5380
+ };
5381
+ NodeClientOnline: {
5382
+ /** Format: int64 */
5383
+ conns: number;
5384
+ /**
5385
+ * Format: int64
5386
+ * @description Привязанное устройство, чьими ключами подключены; null — общие ключи пользователя
5387
+ */
5388
+ device_id: number | null;
5389
+ /** @description Адреса с открытыми соединениями; оператор поддержки без доступа к подписчикам получает пустой список */
5390
+ online_ips: string[];
5391
+ };
5392
+ NodeClientsOutputBody: {
5393
+ /** @description Последние увиденные сверху */
5394
+ items: components["schemas"]["NodeClient"][];
5395
+ /**
5396
+ * Format: int64
5397
+ * @description Сколько пользователей в сети на ноде сейчас, без учёта запроса
5398
+ */
5399
+ online: number;
5400
+ /**
5401
+ * Format: int64
5402
+ * @description Сколько всего пользователей под запрос
5403
+ */
5404
+ total: number;
5405
+ };
4910
5406
  NodeHello: {
4911
5407
  /** Format: date-time */
4912
5408
  at: string;
@@ -4936,6 +5432,7 @@ export interface components {
4936
5432
  balance_group: string;
4937
5433
  /** @description Нода старее панели */
4938
5434
  behind: boolean;
5435
+ billing: components["schemas"]["NodeBilling"];
4939
5436
  /** @description Панель может обновить ноду сама: удалённая, отвечает, версия 0.5.0.2 или новее; старую обновляют один раз вручную командой mikan update на её сервере */
4940
5437
  can_update: boolean;
4941
5438
  /**
@@ -5024,6 +5521,10 @@ export interface components {
5024
5521
  mem_used: number;
5025
5522
  /** @description Группа в подписке, например «🇳🇱 Нидерланды»; её флаг — префикс имён подключений */
5026
5523
  name: string;
5524
+ /** @description Ближайшая оплата сегодня или позже, YYYY-MM-DD (UTC); нет — оплата не задана или разовая прошла */
5525
+ next_payment?: string;
5526
+ /** @description Порты адреса самого сервера, которые админ открыл клиентам этой ноды, кроме 80, 443 и, на ноде панели, портов панели и подписок: они открыты всегда */
5527
+ own_ports: number[];
5027
5528
  /**
5028
5529
  * Format: double
5029
5530
  * @description Доля процессора самого процесса ноды (вся машина = 100); нет у нод до 0.5.0.4
@@ -5041,6 +5542,8 @@ export interface components {
5041
5542
  sni_router: boolean;
5042
5543
  /** @enum {string} */
5043
5544
  status: "ok" | "error" | "unknown";
5545
+ /** @description Метки ноды: свои слова админа, по ним фильтруют список */
5546
+ tags: string[];
5044
5547
  tls?: components["schemas"]["NodeTLSView"];
5045
5548
  /**
5046
5549
  * Format: int64
@@ -5050,6 +5553,8 @@ export interface components {
5050
5553
  /** @description Как идёт или прошло обновление ноды */
5051
5554
  update?: components["schemas"]["UpdateStatus"];
5052
5555
  version?: string;
5556
+ /** @description Трафик тарифа сервера за текущий период; только с billing.traffic_limit */
5557
+ vps_traffic?: components["schemas"]["VPSTraffic"];
5053
5558
  };
5054
5559
  NodeKeyOutputBody: {
5055
5560
  /** @description Команда установки на сервере ноды */
@@ -5172,9 +5677,10 @@ export interface components {
5172
5677
  };
5173
5678
  Note: {
5174
5679
  /** @enum {string} */
5175
- code: "fallback_fastest" | "balance_fastest" | "balance_random" | "balance_flat" | "select_first" | "chain_group_hop" | "chain_dialer_taken";
5680
+ code: "fallback_fastest" | "balance_fastest" | "balance_random" | "balance_flat" | "select_first" | "chain_group_hop" | "chain_dialer_taken" | "proxy_unsupported" | "rule_unsupported" | "list_unsupported" | "dns_policy_unsupported" | "category_missing";
5176
5681
  /** @enum {string} */
5177
5682
  core: "mihomo" | "singbox" | "xray";
5683
+ /** @description О чём заметка: группа, условие TYPE,VALUE, список, ключ политики DNS, сервер или geosite:NAME */
5178
5684
  group: string;
5179
5685
  };
5180
5686
  Notify: {
@@ -5410,11 +5916,46 @@ export interface components {
5410
5916
  /** @description Заголовок превью; пусто — бренд */
5411
5917
  title: string;
5412
5918
  };
5919
+ PasskeyAddInputBody: {
5920
+ /** @description Ответ navigator.credentials.create() в JSON (PublicKeyCredential.toJSON()) */
5921
+ credential: unknown;
5922
+ name: string;
5923
+ };
5924
+ PasskeyBeginInputBody: {
5925
+ /** @description Пароль: без него украденная сессия добавила бы свой вход */
5926
+ password: string;
5927
+ /** @description Код из приложения, если включена 2FA */
5928
+ totp?: string;
5929
+ };
5930
+ PasskeyLoginBeginOutputBody: {
5931
+ /** @description Передаётся обратно в POST /auth/login/passkey */
5932
+ ceremony: string;
5933
+ /** @description Параметры WebAuthn для navigator.credentials.get() ({publicKey: …}, двоичные поля в base64url) */
5934
+ options: unknown;
5935
+ };
5936
+ PasskeyLoginInputBody: {
5937
+ ceremony: string;
5938
+ /** @description Ответ navigator.credentials.get() в JSON (PublicKeyCredential.toJSON()) */
5939
+ credential: unknown;
5940
+ };
5941
+ PasskeyOptionsOutputBody: {
5942
+ /** @description Параметры WebAuthn для navigator.credentials.create() ({publicKey: …}, двоичные поля в base64url) */
5943
+ options: unknown;
5944
+ };
5945
+ PasskeyView: {
5946
+ /** Format: date-time */
5947
+ created_at: string;
5948
+ /** Format: int64 */
5949
+ id: number;
5950
+ /** Format: date-time */
5951
+ last_used_at?: string;
5952
+ name: string;
5953
+ };
5413
5954
  PasswordInputBody: {
5414
5955
  current: string;
5415
5956
  /** @description Не короче 12 символов */
5416
5957
  new: string;
5417
- /** @description Отозвать и ключи API (по умолчанию да): другие сессии завершаются при смене пароля, ключ, выпущенный из угнанной сессии, пережил бы это */
5958
+ /** @description Отозвать и ключи API, и ключи доступа (passkey) (по умолчанию да): другие сессии завершаются при смене пароля, ключ, выпущенный или добавленный из угнанной сессии, пережил бы это */
5418
5959
  revoke_keys?: boolean;
5419
5960
  };
5420
5961
  PatchAddonInputBody: {
@@ -5468,6 +6009,8 @@ export interface components {
5468
6009
  exit_node_id?: number;
5469
6010
  /** @description Отпечаток TLS у клиентов: из списка (chrome, firefox, safari, ios, android, edge, 360, qq, random, randomized) или своё — латиница, цифры, _; пусто — общий из настроек */
5470
6011
  fingerprint?: string;
6012
+ /** @description Подключение в «Авто» подписки; false — только в списке и группе страны */
6013
+ in_auto?: boolean;
5471
6014
  /** @description Адрес, на котором нода слушает: пусто — все адреса, иначе один IP (127.0.0.1 — за nginx или HAProxy на том же сервере). Свой адрес выключает перенос порта */
5472
6015
  listen?: string;
5473
6016
  /**
@@ -5490,12 +6033,14 @@ export interface components {
5490
6033
  server_name?: string;
5491
6034
  /** @description Поставить за SNI-роутер ноды на 443 (true) или вернуть на свой порт (false) */
5492
6035
  sni443?: boolean;
6036
+ /** @description Метки подключения целиком; пустой список снимает все */
6037
+ tags?: string[];
5493
6038
  /** @description Тонкая настройка XHTTP целиком: пустое поле — значение ядра по умолчанию */
5494
6039
  xhttp?: components["schemas"]["XHTTPTuning"];
5495
6040
  };
5496
6041
  PatchLegacyInputBody: {
5497
6042
  /** @enum {string} */
5498
- kind?: "marzban" | "pasarguard" | "remnawave" | "";
6043
+ kind?: "marzban" | "pasarguard" | "remnawave" | "3xui" | "";
5499
6044
  path?: string;
5500
6045
  /** @description Секрет из таблицы jwt базы старой панели; пусто — убрать */
5501
6046
  secret?: string;
@@ -5505,6 +6050,8 @@ export interface components {
5505
6050
  api_allow?: string[];
5506
6051
  /** @description API ноды только с адресов панели; не для ноды панели */
5507
6052
  api_lockdown?: boolean;
6053
+ /** @description Учёт сервера у хостера, целиком */
6054
+ billing?: components["schemas"]["NodeBilling"];
5508
6055
  /**
5509
6056
  * Format: int64
5510
6057
  * @description Ширина канала ноды, Мбит/с в каждую сторону
@@ -5525,10 +6072,14 @@ export interface components {
5525
6072
  /** @description Серверы ноды в «Авто» подписки; false — только в списке и группе страны */
5526
6073
  in_auto?: boolean;
5527
6074
  name?: string;
6075
+ /** @description Порты адреса самого сервера, которые открыть клиентам этой ноды, например свой DNS; файрвол сервера такие подключения не закрывает. Весь список целиком; пустой убирает все */
6076
+ own_ports?: number[];
5528
6077
  /** @description Публичное имя ноды; пустое — не публиковать её в канале */
5529
6078
  public_name?: string;
5530
6079
  /** @description SNI-роутер на 443: подключения с отметкой «через общий 443» слушают на loopback за ним */
5531
6080
  sni_router?: boolean;
6081
+ /** @description Метки ноды целиком; пустой список снимает все */
6082
+ tags?: string[];
5532
6083
  };
5533
6084
  PatchPaymentSettingsInputBody: {
5534
6085
  allow_new?: boolean;
@@ -5576,7 +6127,9 @@ export interface components {
5576
6127
  acme_email?: string;
5577
6128
  any_port?: boolean;
5578
6129
  app_branding?: boolean;
6130
+ auto_node_address?: boolean;
5579
6131
  auto_port?: boolean;
6132
+ auto_public_host?: boolean;
5580
6133
  auto_sni?: boolean;
5581
6134
  brand?: string;
5582
6135
  /** @description #RRGGBB или пусто */
@@ -5591,6 +6144,8 @@ export interface components {
5591
6144
  device_require_hwid?: boolean;
5592
6145
  device_unbind?: components["schemas"]["UnbindRules"];
5593
6146
  domain?: string;
6147
+ /** @description Сохранить новый домен или адрес, не дожидаясь сертификата на него (обычно панель сначала получает сертификат, а старое имя работает дальше) */
6148
+ force_domain?: boolean;
5594
6149
  /** @enum {string} */
5595
6150
  happ_crypt?: "off" | "api" | "local";
5596
6151
  happ_hide_settings?: boolean;
@@ -5900,7 +6455,7 @@ export interface components {
5900
6455
  starter?: boolean;
5901
6456
  };
5902
6457
  PreviewSubTemplateOutputBody: {
5903
- /** @description Что sing-box и Xray делают с группами шаблона Clash, которых у них нет как есть */
6458
+ /** @description Что sing-box и Xray делают с шаблоном Clash, которого не могут передать как есть: ближайший вид группы; сервер, правило, список, политика DNS или категория, которые они опускают */
5904
6459
  notes: components["schemas"]["Note"][];
5905
6460
  /** @description Что получит пользователь со всеми подключениями: профиль Clash (YAML), конфиг sing-box или список конфигов Xray (JSON); ключи — заглушки */
5906
6461
  profile: string;
@@ -6123,6 +6678,42 @@ export interface components {
6123
6678
  network: string;
6124
6679
  ports: components["schemas"]["ReachPort"][];
6125
6680
  };
6681
+ ReadySubTemplate: {
6682
+ author: string;
6683
+ /** @description Свой шаблон mikan: панель собирает его из своих настроек, когда его загружают */
6684
+ builtin: boolean;
6685
+ /** @enum {string} */
6686
+ core: "mihomo" | "singbox" | "xray";
6687
+ id: string;
6688
+ /** @description Лицензия текста шаблона, SPDX */
6689
+ license: string;
6690
+ name: string;
6691
+ /** @description Откуда шаблон и списки, на которые он ссылается */
6692
+ source: string;
6693
+ /** @description Описание по-русски; панель переводит его по id */
6694
+ summary: string;
6695
+ };
6696
+ ReadySubTemplateOutputBody: {
6697
+ author: string;
6698
+ /** @description Текст шаблона: для своего шаблона mikan собран из текущих настроек панели */
6699
+ body: string;
6700
+ /** @description Свой шаблон mikan: панель собирает его из своих настроек, когда его загружают */
6701
+ builtin: boolean;
6702
+ /** @enum {string} */
6703
+ core: "mihomo" | "singbox" | "xray";
6704
+ id: string;
6705
+ /** @description Лицензия текста шаблона, SPDX */
6706
+ license: string;
6707
+ name: string;
6708
+ /** @description Откуда шаблон и списки, на которые он ссылается */
6709
+ source: string;
6710
+ /** @description Описание по-русски; панель переводит его по id */
6711
+ summary: string;
6712
+ };
6713
+ ReadySubTemplatesOutputBody: {
6714
+ /** @description По ядрам, в порядке каталога */
6715
+ templates: components["schemas"]["ReadySubTemplate"][];
6716
+ };
6126
6717
  RecordingInfo: {
6127
6718
  /**
6128
6719
  * Format: date-time
@@ -6219,6 +6810,27 @@ export interface components {
6219
6810
  /** @description Имена, которые уже есть в mikan: эти пользователи не перенесены */
6220
6811
  skipped: components["schemas"]["List"];
6221
6812
  };
6813
+ ResetConnectionsInputBody: {
6814
+ /**
6815
+ * Format: int64
6816
+ * @description Чьи ключи: не передано — все ключи пользователя; 0 — общие ключи пользователя; иначе привязанное устройство (device_id из списка онлайн)
6817
+ */
6818
+ device_id?: number;
6819
+ /**
6820
+ * Format: int64
6821
+ * @description Нода; 0 или не передано — все ноды
6822
+ */
6823
+ node_id?: number;
6824
+ };
6825
+ ResetConnectionsOutputBody: {
6826
+ /**
6827
+ * Format: int64
6828
+ * @description Сколько соединений закрыто на всех нодах
6829
+ */
6830
+ closed: number;
6831
+ /** @description Как прошло на каждой ноде; нода, которая сбрасывать не умеет или не ответила, не делает ошибкой весь запрос */
6832
+ nodes: components["schemas"]["ConnResetView"][];
6833
+ };
6222
6834
  ResetPathOutputBody: {
6223
6835
  admin_url: string;
6224
6836
  };
@@ -6300,7 +6912,7 @@ export interface components {
6300
6912
  sub_rules?: string;
6301
6913
  };
6302
6914
  RoutesPreviewOutputBody: {
6303
- /** @description Что ядра sing-box и Xray делают с группами, которых у них нет как есть: ближайший вид */
6915
+ /** @description Что ядра sing-box и Xray делают с профилем, которого не могут передать как есть: ближайший вид группы; сервер, правило, список, политика DNS или категория, которые они опускают */
6304
6916
  notes: components["schemas"]["Note"][];
6305
6917
  /** @description Профиль Clash (YAML) пользователя со всеми подключениями; ключи — заглушки */
6306
6918
  profile: string;
@@ -6424,13 +7036,19 @@ export interface components {
6424
7036
  acme_eab_kid: string;
6425
7037
  /** @description E-mail для центра сертификации; ZeroSSL привязывает к нему аккаунт */
6426
7038
  acme_email: string;
7039
+ /** @description Последняя проверка адреса сервера: ведёт ли он на эту панель */
7040
+ address_check?: components["schemas"]["AddressStatus"];
6427
7041
  admin_url: string;
6428
7042
  /** @description Когда запасные порты (2053, 2083…) заняты, панель сама берёт любой свободный из 20000-32767: для нового подключения без порта и при автопереносе. Эти порты установщик в файрволе не открывает */
6429
7043
  any_port: boolean;
6430
7044
  /** @description Брендинг в приложениях, читающих операторские заголовки (ClashFest, SlothClash): название, логотип, цвет, ссылки */
6431
7045
  app_branding: boolean;
7046
+ /** @description Панель сама переносит удалённую ноду на новый IP, когда не может достучаться до неё по старому, а нода прислала hello с нового и ответила там */
7047
+ auto_node_address: boolean;
6432
7048
  /** @description Переносить подключение на другой порт, если клиенты перестали до него доходить */
6433
7049
  auto_port: boolean;
7050
+ /** @description Панель сама сохраняет новый «Адрес сервера» (IP), когда сохранённый перестал вести на неё, а новый проверен: хостер сменил IP, панель переехала */
7051
+ auto_public_host: boolean;
6434
7052
  /** @description Менять сайт маскировки REALITY, если он перестал подходить */
6435
7053
  auto_sni: boolean;
6436
7054
  brand: string;
@@ -6453,6 +7071,8 @@ export interface components {
6453
7071
  /** @description Сколько устройств подписчик может отвязать сам и через сколько отвязанное может вернуться */
6454
7072
  device_unbind: components["schemas"]["UnbindRules"];
6455
7073
  domain: string;
7074
+ /** @description Прежние домены панели и подписок (и адрес панели, у которой не было домена): старые ссылки, вебхуки и ключи нод работают через них, пока имя ведёт на сервер */
7075
+ former_domains: components["schemas"]["FormerStatus"][];
6456
7076
  /**
6457
7077
  * @description Шифрованная ссылка для кнопки Happ: off — обычная happ://add/, api — через сервис Happ (адрес подписки уходит на crypto.happ.su), local — панель шифрует сама
6458
7078
  * @enum {string}
@@ -7129,7 +7749,7 @@ export interface components {
7129
7749
  */
7130
7750
  accounts: number;
7131
7751
  admin_chat_set: boolean;
7132
- /** @description Последнее уведомление, которое Telegram отверг насовсем (бот заблокирован, чат или канал недоступен): оно не доставлено и не повторяется */
7752
+ /** @description Последнее уведомление, которое Telegram или Discord отверг насовсем (бот заблокирован, чат, канал или webhook недоступен): оно не доставлено и не повторяется */
7133
7753
  alerts_refused?: components["schemas"]["Refused"];
7134
7754
  bot?: components["schemas"]["TelegramBot"];
7135
7755
  /** @description Последняя рассылка с запуска панели */
@@ -7139,6 +7759,10 @@ export interface components {
7139
7759
  config: components["schemas"]["Config"];
7140
7760
  /** @description Встроенные тексты на языке бота: пустое поле берёт их */
7141
7761
  defaults: components["schemas"]["Texts"];
7762
+ /** @description Имя webhook в Discord */
7763
+ discord_name?: string;
7764
+ /** @description Webhook Discord для уведомлений админу сохранён; сам адрес не возвращается */
7765
+ discord_set: boolean;
7142
7766
  enabled: boolean;
7143
7767
  /** @description token_invalid, token_revoked, token_conflict (токен опрашивает ещё одна программа), unreachable или ответ Telegram */
7144
7768
  error?: string;
@@ -7447,6 +8071,48 @@ export interface components {
7447
8071
  /** Format: int64 */
7448
8072
  limited: number;
7449
8073
  };
8074
+ UserNode: {
8075
+ /**
8076
+ * Format: int64
8077
+ * @description Скачано через эту ноду с начала учёта
8078
+ */
8079
+ down: number;
8080
+ /**
8081
+ * Format: date-time
8082
+ * @description Последняя сохранённая порция трафика пользователя на этой ноде
8083
+ */
8084
+ last_seen: string;
8085
+ /** @description Своя нода панели */
8086
+ local: boolean;
8087
+ /** Format: int64 */
8088
+ node_id: number;
8089
+ /** @description Имя ноды; у своей ноды панели может быть пустым */
8090
+ node_name: string;
8091
+ /** @description Подключён к этой ноде сейчас */
8092
+ online: boolean;
8093
+ /**
8094
+ * Format: int64
8095
+ * @description Отдано через эту ноду с начала учёта
8096
+ */
8097
+ up: number;
8098
+ };
8099
+ UserOnlineView: {
8100
+ /**
8101
+ * Format: int64
8102
+ * @description Открытые соединения на этой ноде
8103
+ */
8104
+ conns: number;
8105
+ /**
8106
+ * Format: int64
8107
+ * @description Привязанное устройство, чьими ключами подключены; null — общие ключи пользователя (приложения без ID или без привязки)
8108
+ */
8109
+ device_id: number | null;
8110
+ /** Format: int64 */
8111
+ node_id: number;
8112
+ node_name: string;
8113
+ /** @description Адреса с открытыми соединениями на этой ноде; оператор поддержки без доступа к подписчикам получает пустой список */
8114
+ online_ips: string[];
8115
+ };
7450
8116
  UserPoolView: {
7451
8117
  /** @description Свой лимит группы и её пакеты исчерпаны: подключения группы не работают до сброса */
7452
8118
  exhausted: boolean;
@@ -7584,6 +8250,17 @@ export interface components {
7584
8250
  /** Format: int64 */
7585
8251
  used_up: number;
7586
8252
  };
8253
+ VPSTraffic: {
8254
+ /** @description День, с которого начнётся следующий период, YYYY-MM-DD (UTC) */
8255
+ resets: string;
8256
+ /** @description Первый день периода, YYYY-MM-DD (UTC) */
8257
+ since: string;
8258
+ /**
8259
+ * Format: int64
8260
+ * @description Сколько нода унесла с начала периода: трафик пользователей и каскада других нод, вверх и вниз вместе, байты
8261
+ */
8262
+ used: number;
8263
+ };
7587
8264
  ValidateInboundInputBody: {
7588
8265
  config: string;
7589
8266
  /**
@@ -8445,6 +9122,69 @@ export interface operations {
8445
9122
  };
8446
9123
  };
8447
9124
  };
9125
+ "passkey-login": {
9126
+ parameters: {
9127
+ query?: never;
9128
+ header?: never;
9129
+ path?: never;
9130
+ cookie?: never;
9131
+ };
9132
+ requestBody: {
9133
+ content: {
9134
+ "application/json": components["schemas"]["PasskeyLoginInputBody"];
9135
+ };
9136
+ };
9137
+ responses: {
9138
+ /** @description OK */
9139
+ 200: {
9140
+ headers: {
9141
+ "Set-Cookie"?: string;
9142
+ [name: string]: unknown;
9143
+ };
9144
+ content: {
9145
+ "application/json": components["schemas"]["MeBody"];
9146
+ };
9147
+ };
9148
+ /** @description Error */
9149
+ default: {
9150
+ headers: {
9151
+ [name: string]: unknown;
9152
+ };
9153
+ content: {
9154
+ "application/problem+json": components["schemas"]["ErrorModel"];
9155
+ };
9156
+ };
9157
+ };
9158
+ };
9159
+ "passkey-login-begin": {
9160
+ parameters: {
9161
+ query?: never;
9162
+ header?: never;
9163
+ path?: never;
9164
+ cookie?: never;
9165
+ };
9166
+ requestBody?: never;
9167
+ responses: {
9168
+ /** @description OK */
9169
+ 200: {
9170
+ headers: {
9171
+ [name: string]: unknown;
9172
+ };
9173
+ content: {
9174
+ "application/json": components["schemas"]["PasskeyLoginBeginOutputBody"];
9175
+ };
9176
+ };
9177
+ /** @description Error */
9178
+ default: {
9179
+ headers: {
9180
+ [name: string]: unknown;
9181
+ };
9182
+ content: {
9183
+ "application/problem+json": components["schemas"]["ErrorModel"];
9184
+ };
9185
+ };
9186
+ };
9187
+ };
8448
9188
  logout: {
8449
9189
  parameters: {
8450
9190
  query?: never;
@@ -8502,6 +9242,130 @@ export interface operations {
8502
9242
  };
8503
9243
  };
8504
9244
  };
9245
+ "list-passkeys": {
9246
+ parameters: {
9247
+ query?: never;
9248
+ header?: never;
9249
+ path?: never;
9250
+ cookie?: never;
9251
+ };
9252
+ requestBody?: never;
9253
+ responses: {
9254
+ /** @description OK */
9255
+ 200: {
9256
+ headers: {
9257
+ [name: string]: unknown;
9258
+ };
9259
+ content: {
9260
+ "application/json": components["schemas"]["PasskeyView"][];
9261
+ };
9262
+ };
9263
+ /** @description Error */
9264
+ default: {
9265
+ headers: {
9266
+ [name: string]: unknown;
9267
+ };
9268
+ content: {
9269
+ "application/problem+json": components["schemas"]["ErrorModel"];
9270
+ };
9271
+ };
9272
+ };
9273
+ };
9274
+ "add-passkey": {
9275
+ parameters: {
9276
+ query?: never;
9277
+ header?: never;
9278
+ path?: never;
9279
+ cookie?: never;
9280
+ };
9281
+ requestBody: {
9282
+ content: {
9283
+ "application/json": components["schemas"]["PasskeyAddInputBody"];
9284
+ };
9285
+ };
9286
+ responses: {
9287
+ /** @description Created */
9288
+ 201: {
9289
+ headers: {
9290
+ [name: string]: unknown;
9291
+ };
9292
+ content: {
9293
+ "application/json": components["schemas"]["PasskeyView"];
9294
+ };
9295
+ };
9296
+ /** @description Error */
9297
+ default: {
9298
+ headers: {
9299
+ [name: string]: unknown;
9300
+ };
9301
+ content: {
9302
+ "application/problem+json": components["schemas"]["ErrorModel"];
9303
+ };
9304
+ };
9305
+ };
9306
+ };
9307
+ "passkey-begin": {
9308
+ parameters: {
9309
+ query?: never;
9310
+ header?: never;
9311
+ path?: never;
9312
+ cookie?: never;
9313
+ };
9314
+ requestBody: {
9315
+ content: {
9316
+ "application/json": components["schemas"]["PasskeyBeginInputBody"];
9317
+ };
9318
+ };
9319
+ responses: {
9320
+ /** @description OK */
9321
+ 200: {
9322
+ headers: {
9323
+ [name: string]: unknown;
9324
+ };
9325
+ content: {
9326
+ "application/json": components["schemas"]["PasskeyOptionsOutputBody"];
9327
+ };
9328
+ };
9329
+ /** @description Error */
9330
+ default: {
9331
+ headers: {
9332
+ [name: string]: unknown;
9333
+ };
9334
+ content: {
9335
+ "application/problem+json": components["schemas"]["ErrorModel"];
9336
+ };
9337
+ };
9338
+ };
9339
+ };
9340
+ "delete-passkey": {
9341
+ parameters: {
9342
+ query?: never;
9343
+ header?: never;
9344
+ path: {
9345
+ id: number;
9346
+ };
9347
+ cookie?: never;
9348
+ };
9349
+ requestBody?: never;
9350
+ responses: {
9351
+ /** @description No Content */
9352
+ 204: {
9353
+ headers: {
9354
+ [name: string]: unknown;
9355
+ };
9356
+ content?: never;
9357
+ };
9358
+ /** @description Error */
9359
+ default: {
9360
+ headers: {
9361
+ [name: string]: unknown;
9362
+ };
9363
+ content: {
9364
+ "application/problem+json": components["schemas"]["ErrorModel"];
9365
+ };
9366
+ };
9367
+ };
9368
+ };
8505
9369
  "change-password": {
8506
9370
  parameters: {
8507
9371
  query?: never;
@@ -9410,7 +10274,10 @@ export interface operations {
9410
10274
  };
9411
10275
  "list-inbounds": {
9412
10276
  parameters: {
9413
- query?: never;
10277
+ query?: {
10278
+ /** @description Только подключения с этой меткой (без учёта регистра) */
10279
+ tag?: string;
10280
+ };
9414
10281
  header?: never;
9415
10282
  path?: never;
9416
10283
  cookie?: never;
@@ -9568,18 +10435,148 @@ export interface operations {
9568
10435
  };
9569
10436
  };
9570
10437
  };
9571
- "validate-inbound": {
10438
+ "validate-inbound": {
10439
+ parameters: {
10440
+ query?: never;
10441
+ header?: never;
10442
+ path?: never;
10443
+ cookie?: never;
10444
+ };
10445
+ requestBody: {
10446
+ content: {
10447
+ "application/json": components["schemas"]["ValidateInboundInputBody"];
10448
+ };
10449
+ };
10450
+ responses: {
10451
+ /** @description OK */
10452
+ 200: {
10453
+ headers: {
10454
+ [name: string]: unknown;
10455
+ };
10456
+ content: {
10457
+ "application/json": components["schemas"]["ValidateInboundOutputBody"];
10458
+ };
10459
+ };
10460
+ /** @description Error */
10461
+ default: {
10462
+ headers: {
10463
+ [name: string]: unknown;
10464
+ };
10465
+ content: {
10466
+ "application/problem+json": components["schemas"]["ErrorModel"];
10467
+ };
10468
+ };
10469
+ };
10470
+ };
10471
+ "delete-inbound": {
10472
+ parameters: {
10473
+ query?: never;
10474
+ header?: never;
10475
+ path: {
10476
+ id: number;
10477
+ };
10478
+ cookie?: never;
10479
+ };
10480
+ requestBody?: never;
10481
+ responses: {
10482
+ /** @description No Content */
10483
+ 204: {
10484
+ headers: {
10485
+ [name: string]: unknown;
10486
+ };
10487
+ content?: never;
10488
+ };
10489
+ /** @description Error */
10490
+ default: {
10491
+ headers: {
10492
+ [name: string]: unknown;
10493
+ };
10494
+ content: {
10495
+ "application/problem+json": components["schemas"]["ErrorModel"];
10496
+ };
10497
+ };
10498
+ };
10499
+ };
10500
+ "update-inbound": {
10501
+ parameters: {
10502
+ query?: never;
10503
+ header?: never;
10504
+ path: {
10505
+ id: number;
10506
+ };
10507
+ cookie?: never;
10508
+ };
10509
+ requestBody: {
10510
+ content: {
10511
+ "application/json": components["schemas"]["PatchInboundInputBody"];
10512
+ };
10513
+ };
10514
+ responses: {
10515
+ /** @description OK */
10516
+ 200: {
10517
+ headers: {
10518
+ [name: string]: unknown;
10519
+ };
10520
+ content: {
10521
+ "application/json": components["schemas"]["InboundView"];
10522
+ };
10523
+ };
10524
+ /** @description Error */
10525
+ default: {
10526
+ headers: {
10527
+ [name: string]: unknown;
10528
+ };
10529
+ content: {
10530
+ "application/problem+json": components["schemas"]["ErrorModel"];
10531
+ };
10532
+ };
10533
+ };
10534
+ };
10535
+ "copy-inbound": {
10536
+ parameters: {
10537
+ query?: never;
10538
+ header?: never;
10539
+ path: {
10540
+ id: number;
10541
+ };
10542
+ cookie?: never;
10543
+ };
10544
+ requestBody: {
10545
+ content: {
10546
+ "application/json": components["schemas"]["CopyInboundInputBody"];
10547
+ };
10548
+ };
10549
+ responses: {
10550
+ /** @description Created */
10551
+ 201: {
10552
+ headers: {
10553
+ [name: string]: unknown;
10554
+ };
10555
+ content: {
10556
+ "application/json": components["schemas"]["InboundView"];
10557
+ };
10558
+ };
10559
+ /** @description Error */
10560
+ default: {
10561
+ headers: {
10562
+ [name: string]: unknown;
10563
+ };
10564
+ content: {
10565
+ "application/problem+json": components["schemas"]["ErrorModel"];
10566
+ };
10567
+ };
10568
+ };
10569
+ };
10570
+ "list-inbound-hosts": {
9572
10571
  parameters: {
9573
10572
  query?: never;
9574
10573
  header?: never;
9575
- path?: never;
9576
- cookie?: never;
9577
- };
9578
- requestBody: {
9579
- content: {
9580
- "application/json": components["schemas"]["ValidateInboundInputBody"];
10574
+ path: {
10575
+ id: number;
9581
10576
  };
10577
+ cookie?: never;
9582
10578
  };
10579
+ requestBody?: never;
9583
10580
  responses: {
9584
10581
  /** @description OK */
9585
10582
  200: {
@@ -9587,7 +10584,7 @@ export interface operations {
9587
10584
  [name: string]: unknown;
9588
10585
  };
9589
10586
  content: {
9590
- "application/json": components["schemas"]["ValidateInboundOutputBody"];
10587
+ "application/json": components["schemas"]["HostView"][];
9591
10588
  };
9592
10589
  };
9593
10590
  /** @description Error */
@@ -9601,7 +10598,7 @@ export interface operations {
9601
10598
  };
9602
10599
  };
9603
10600
  };
9604
- "delete-inbound": {
10601
+ "add-inbound-host": {
9605
10602
  parameters: {
9606
10603
  query?: never;
9607
10604
  header?: never;
@@ -9610,14 +10607,20 @@ export interface operations {
9610
10607
  };
9611
10608
  cookie?: never;
9612
10609
  };
9613
- requestBody?: never;
10610
+ requestBody: {
10611
+ content: {
10612
+ "application/json": components["schemas"]["HostInput"];
10613
+ };
10614
+ };
9614
10615
  responses: {
9615
- /** @description No Content */
9616
- 204: {
10616
+ /** @description Created */
10617
+ 201: {
9617
10618
  headers: {
9618
10619
  [name: string]: unknown;
9619
10620
  };
9620
- content?: never;
10621
+ content: {
10622
+ "application/json": components["schemas"]["HostView"];
10623
+ };
9621
10624
  };
9622
10625
  /** @description Error */
9623
10626
  default: {
@@ -9630,18 +10633,19 @@ export interface operations {
9630
10633
  };
9631
10634
  };
9632
10635
  };
9633
- "update-inbound": {
10636
+ "update-inbound-host": {
9634
10637
  parameters: {
9635
10638
  query?: never;
9636
10639
  header?: never;
9637
10640
  path: {
9638
10641
  id: number;
10642
+ host_id: number;
9639
10643
  };
9640
10644
  cookie?: never;
9641
10645
  };
9642
10646
  requestBody: {
9643
10647
  content: {
9644
- "application/json": components["schemas"]["PatchInboundInputBody"];
10648
+ "application/json": components["schemas"]["HostInput"];
9645
10649
  };
9646
10650
  };
9647
10651
  responses: {
@@ -9651,7 +10655,7 @@ export interface operations {
9651
10655
  [name: string]: unknown;
9652
10656
  };
9653
10657
  content: {
9654
- "application/json": components["schemas"]["InboundView"];
10658
+ "application/json": components["schemas"]["HostView"];
9655
10659
  };
9656
10660
  };
9657
10661
  /** @description Error */
@@ -9665,29 +10669,24 @@ export interface operations {
9665
10669
  };
9666
10670
  };
9667
10671
  };
9668
- "copy-inbound": {
10672
+ "delete-inbound-host": {
9669
10673
  parameters: {
9670
10674
  query?: never;
9671
10675
  header?: never;
9672
10676
  path: {
9673
10677
  id: number;
10678
+ host_id: number;
9674
10679
  };
9675
10680
  cookie?: never;
9676
10681
  };
9677
- requestBody: {
9678
- content: {
9679
- "application/json": components["schemas"]["CopyInboundInputBody"];
9680
- };
9681
- };
10682
+ requestBody?: never;
9682
10683
  responses: {
9683
- /** @description Created */
9684
- 201: {
10684
+ /** @description No Content */
10685
+ 204: {
9685
10686
  headers: {
9686
10687
  [name: string]: unknown;
9687
10688
  };
9688
- content: {
9689
- "application/json": components["schemas"]["InboundView"];
9690
- };
10689
+ content?: never;
9691
10690
  };
9692
10691
  /** @description Error */
9693
10692
  default: {
@@ -10020,7 +11019,10 @@ export interface operations {
10020
11019
  };
10021
11020
  "list-nodes": {
10022
11021
  parameters: {
10023
- query?: never;
11022
+ query?: {
11023
+ /** @description Только ноды с этой меткой (без учёта регистра) */
11024
+ tag?: string;
11025
+ };
10024
11026
  header?: never;
10025
11027
  path?: never;
10026
11028
  cookie?: never;
@@ -10462,6 +11464,42 @@ export interface operations {
10462
11464
  };
10463
11465
  };
10464
11466
  };
11467
+ "node-clients": {
11468
+ parameters: {
11469
+ query?: {
11470
+ /** @description Часть имени пользователя. Оператору поддержки без показа подписчиков закрыт: 403 support_denied */
11471
+ q?: string;
11472
+ limit?: number;
11473
+ offset?: number;
11474
+ };
11475
+ header?: never;
11476
+ path: {
11477
+ id: number;
11478
+ };
11479
+ cookie?: never;
11480
+ };
11481
+ requestBody?: never;
11482
+ responses: {
11483
+ /** @description OK */
11484
+ 200: {
11485
+ headers: {
11486
+ [name: string]: unknown;
11487
+ };
11488
+ content: {
11489
+ "application/json": components["schemas"]["NodeClientsOutputBody"];
11490
+ };
11491
+ };
11492
+ /** @description Error */
11493
+ default: {
11494
+ headers: {
11495
+ [name: string]: unknown;
11496
+ };
11497
+ content: {
11498
+ "application/problem+json": components["schemas"]["ErrorModel"];
11499
+ };
11500
+ };
11501
+ };
11502
+ };
10465
11503
  "doctor-node": {
10466
11504
  parameters: {
10467
11505
  query?: never;
@@ -11831,6 +12869,37 @@ export interface operations {
11831
12869
  };
11832
12870
  };
11833
12871
  };
12872
+ "remove-former-domain": {
12873
+ parameters: {
12874
+ query?: never;
12875
+ header?: never;
12876
+ path: {
12877
+ name: string;
12878
+ };
12879
+ cookie?: never;
12880
+ };
12881
+ requestBody?: never;
12882
+ responses: {
12883
+ /** @description OK */
12884
+ 200: {
12885
+ headers: {
12886
+ [name: string]: unknown;
12887
+ };
12888
+ content: {
12889
+ "application/json": components["schemas"]["SettingsView"];
12890
+ };
12891
+ };
12892
+ /** @description Error */
12893
+ default: {
12894
+ headers: {
12895
+ [name: string]: unknown;
12896
+ };
12897
+ content: {
12898
+ "application/problem+json": components["schemas"]["ErrorModel"];
12899
+ };
12900
+ };
12901
+ };
12902
+ };
11834
12903
  "reset-admin-path": {
11835
12904
  parameters: {
11836
12905
  query?: never;
@@ -12675,6 +13744,66 @@ export interface operations {
12675
13744
  };
12676
13745
  };
12677
13746
  };
13747
+ "list-ready-sub-templates": {
13748
+ parameters: {
13749
+ query?: never;
13750
+ header?: never;
13751
+ path?: never;
13752
+ cookie?: never;
13753
+ };
13754
+ requestBody?: never;
13755
+ responses: {
13756
+ /** @description OK */
13757
+ 200: {
13758
+ headers: {
13759
+ [name: string]: unknown;
13760
+ };
13761
+ content: {
13762
+ "application/json": components["schemas"]["ReadySubTemplatesOutputBody"];
13763
+ };
13764
+ };
13765
+ /** @description Error */
13766
+ default: {
13767
+ headers: {
13768
+ [name: string]: unknown;
13769
+ };
13770
+ content: {
13771
+ "application/problem+json": components["schemas"]["ErrorModel"];
13772
+ };
13773
+ };
13774
+ };
13775
+ };
13776
+ "get-ready-sub-template": {
13777
+ parameters: {
13778
+ query?: never;
13779
+ header?: never;
13780
+ path: {
13781
+ id: string;
13782
+ };
13783
+ cookie?: never;
13784
+ };
13785
+ requestBody?: never;
13786
+ responses: {
13787
+ /** @description OK */
13788
+ 200: {
13789
+ headers: {
13790
+ [name: string]: unknown;
13791
+ };
13792
+ content: {
13793
+ "application/json": components["schemas"]["ReadySubTemplateOutputBody"];
13794
+ };
13795
+ };
13796
+ /** @description Error */
13797
+ default: {
13798
+ headers: {
13799
+ [name: string]: unknown;
13800
+ };
13801
+ content: {
13802
+ "application/problem+json": components["schemas"]["ErrorModel"];
13803
+ };
13804
+ };
13805
+ };
13806
+ };
12678
13807
  "get-sub-template": {
12679
13808
  parameters: {
12680
13809
  query?: never;
@@ -14705,6 +15834,68 @@ export interface operations {
14705
15834
  };
14706
15835
  };
14707
15836
  };
15837
+ "user-nodes": {
15838
+ parameters: {
15839
+ query?: never;
15840
+ header?: never;
15841
+ path: {
15842
+ id: number;
15843
+ };
15844
+ cookie?: never;
15845
+ };
15846
+ requestBody?: never;
15847
+ responses: {
15848
+ /** @description OK */
15849
+ 200: {
15850
+ headers: {
15851
+ [name: string]: unknown;
15852
+ };
15853
+ content: {
15854
+ "application/json": components["schemas"]["UserNode"][];
15855
+ };
15856
+ };
15857
+ /** @description Error */
15858
+ default: {
15859
+ headers: {
15860
+ [name: string]: unknown;
15861
+ };
15862
+ content: {
15863
+ "application/problem+json": components["schemas"]["ErrorModel"];
15864
+ };
15865
+ };
15866
+ };
15867
+ };
15868
+ "user-online": {
15869
+ parameters: {
15870
+ query?: never;
15871
+ header?: never;
15872
+ path: {
15873
+ id: number;
15874
+ };
15875
+ cookie?: never;
15876
+ };
15877
+ requestBody?: never;
15878
+ responses: {
15879
+ /** @description OK */
15880
+ 200: {
15881
+ headers: {
15882
+ [name: string]: unknown;
15883
+ };
15884
+ content: {
15885
+ "application/json": components["schemas"]["UserOnlineView"][];
15886
+ };
15887
+ };
15888
+ /** @description Error */
15889
+ default: {
15890
+ headers: {
15891
+ [name: string]: unknown;
15892
+ };
15893
+ content: {
15894
+ "application/problem+json": components["schemas"]["ErrorModel"];
15895
+ };
15896
+ };
15897
+ };
15898
+ };
14708
15899
  "user-pools": {
14709
15900
  parameters: {
14710
15901
  query?: never;
@@ -14802,6 +15993,41 @@ export interface operations {
14802
15993
  };
14803
15994
  };
14804
15995
  };
15996
+ "reset-user-connections": {
15997
+ parameters: {
15998
+ query?: never;
15999
+ header?: never;
16000
+ path: {
16001
+ id: number;
16002
+ };
16003
+ cookie?: never;
16004
+ };
16005
+ requestBody: {
16006
+ content: {
16007
+ "application/json": components["schemas"]["ResetConnectionsInputBody"];
16008
+ };
16009
+ };
16010
+ responses: {
16011
+ /** @description OK */
16012
+ 200: {
16013
+ headers: {
16014
+ [name: string]: unknown;
16015
+ };
16016
+ content: {
16017
+ "application/json": components["schemas"]["ResetConnectionsOutputBody"];
16018
+ };
16019
+ };
16020
+ /** @description Error */
16021
+ default: {
16022
+ headers: {
16023
+ [name: string]: unknown;
16024
+ };
16025
+ content: {
16026
+ "application/problem+json": components["schemas"]["ErrorModel"];
16027
+ };
16028
+ };
16029
+ };
16030
+ };
14805
16031
  "reset-user-traffic": {
14806
16032
  parameters: {
14807
16033
  query?: never;