@@ -181,13 +181,6 @@ export type XrayMuxSettingsOutputXudpConcurrency = number | null
181181
182182export type XrayMuxSettingsOutputConcurrency = number | null
183183
184- export interface XrayMuxSettingsOutput {
185- enabled ?: boolean
186- concurrency ?: XrayMuxSettingsOutputConcurrency
187- xudpConcurrency ?: XrayMuxSettingsOutputXudpConcurrency
188- xudpProxyUDP443 ?: Xudp
189- }
190-
191184export type XrayMuxSettingsInputXudpConcurrency = number | null
192185
193186export type XrayMuxSettingsInputConcurrency = number | null
@@ -217,6 +210,13 @@ export const Xudp = {
217210 skip : 'skip' ,
218211} as const
219212
213+ export interface XrayMuxSettingsOutput {
214+ enabled ?: boolean
215+ concurrency ?: XrayMuxSettingsOutputConcurrency
216+ xudpConcurrency ?: XrayMuxSettingsOutputXudpConcurrency
217+ xudpProxyUDP443 ?: Xudp
218+ }
219+
220220export type XTLSFlows = ( typeof XTLSFlows ) [ keyof typeof XTLSFlows ]
221221
222222// eslint-disable-next-line @typescript-eslint/no-redeclare
@@ -759,6 +759,8 @@ export interface TransportSettingsOutput {
759759
760760export type TransportSettingsInputWebsocketSettings = WebSocketSettings | null
761761
762+ export type TransportSettingsInputTcpSettings = TcpSettings | null
763+
762764export type TransportSettingsInputKcpSettings = KCPSettings | null
763765
764766export type TransportSettingsInputGrpcSettings = GRPCSettings | null
@@ -811,8 +813,6 @@ export interface TcpSettings {
811813 response ?: TcpSettingsResponse
812814}
813815
814- export type TransportSettingsInputTcpSettings = TcpSettings | null
815-
816816export type SystemStatsCpuUsage = number | null
817817
818818export type SystemStatsCpuCores = number | null
@@ -1271,6 +1271,16 @@ export interface NodeResponse {
12711271 data_limit ?: number
12721272 data_limit_reset_strategy ?: DataLimitResetStrategy
12731273 reset_time ?: number
1274+ /**
1275+ * @minimum 3
1276+ * @maximum 60
1277+ */
1278+ default_timeout ?: number
1279+ /**
1280+ * @minimum 3
1281+ * @maximum 60
1282+ */
1283+ internal_timeout ?: number
12741284 id : number
12751285 xray_version : NodeResponseXrayVersion
12761286 node_version : NodeResponseNodeVersion
@@ -1303,6 +1313,10 @@ export interface NodeNotificationEnable {
13031313
13041314export type NodeModifyStatus = NodeStatus | null
13051315
1316+ export type NodeModifyInternalTimeout = number | null
1317+
1318+ export type NodeModifyDefaultTimeout = number | null
1319+
13061320export type NodeModifyResetTime = number | null
13071321
13081322export type NodeModifyDataLimitResetStrategy = DataLimitResetStrategy | null
@@ -1340,6 +1354,8 @@ export interface NodeModify {
13401354 data_limit ?: NodeModifyDataLimit
13411355 data_limit_reset_strategy ?: NodeModifyDataLimitResetStrategy
13421356 reset_time ?: NodeModifyResetTime
1357+ default_timeout ?: NodeModifyDefaultTimeout
1358+ internal_timeout ?: NodeModifyInternalTimeout
13431359 status ?: NodeModifyStatus
13441360}
13451361
@@ -1365,6 +1381,16 @@ export interface NodeCreate {
13651381 data_limit ?: number
13661382 data_limit_reset_strategy ?: DataLimitResetStrategy
13671383 reset_time ?: number
1384+ /**
1385+ * @minimum 3
1386+ * @maximum 60
1387+ */
1388+ default_timeout ?: number
1389+ /**
1390+ * @minimum 3
1391+ * @maximum 60
1392+ */
1393+ internal_timeout ?: number
13681394}
13691395
13701396export type NextPlanModelExpire = number | null
@@ -1884,6 +1910,16 @@ export interface ApplicationInput {
18841910 download_links : DownloadLink [ ]
18851911}
18861912
1913+ /**
1914+ * Response model for admins list with pagination and statistics.
1915+ */
1916+ export interface AdminsResponse {
1917+ admins : AdminDetails [ ]
1918+ total : number
1919+ active : number
1920+ disabled : number
1921+ }
1922+
18871923export interface AdminNotificationEnable {
18881924 create ?: boolean
18891925 modify ?: boolean
@@ -1949,13 +1985,6 @@ export type AdminDetailsTelegramId = number | null
19491985/**
19501986 * Complete admin model with all fields for database representation and API responses.
19511987 */
1952- export interface AdminsResponse {
1953- admins : AdminDetails [ ]
1954- total : number
1955- active : number
1956- disabled : number
1957- }
1958-
19591988export interface AdminDetails {
19601989 username : string
19611990 telegram_id ?: AdminDetailsTelegramId
0 commit comments