@remnawave/backend-contract 2.6.53 → 2.6.55

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 (57) hide show
  1. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +20 -0
  2. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  3. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +20 -0
  4. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  5. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +20 -0
  6. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
  7. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +20 -0
  8. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  9. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +30 -20
  10. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
  11. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +30 -20
  12. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -1
  13. package/build/backend/commands/nodes/actions/disable.command.d.ts +18 -0
  14. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  15. package/build/backend/commands/nodes/actions/enable.command.d.ts +18 -0
  16. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  17. package/build/backend/commands/nodes/actions/reorder.command.d.ts +28 -0
  18. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  19. package/build/backend/commands/nodes/create.command.d.ts +18 -0
  20. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  21. package/build/backend/commands/nodes/get-all.command.d.ts +18 -0
  22. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  23. package/build/backend/commands/nodes/get-one.command.d.ts +18 -0
  24. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  25. package/build/backend/commands/nodes/update.command.d.ts +28 -0
  26. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  27. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +878 -348
  28. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
  29. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +2 -59
  30. package/build/backend/constants/metrics/metric-names.constant.d.ts +10 -0
  31. package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
  32. package/build/backend/constants/metrics/metric-names.constant.js +11 -0
  33. package/build/backend/models/index.d.ts +1 -0
  34. package/build/backend/models/index.d.ts.map +1 -1
  35. package/build/backend/models/index.js +1 -0
  36. package/build/backend/models/infra-billing-available-node.schema.d.ts +10 -0
  37. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  38. package/build/backend/models/infra-billing-node.schema.d.ts +10 -0
  39. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  40. package/build/backend/models/node-system.schema.d.ts +16 -0
  41. package/build/backend/models/node-system.schema.d.ts.map +1 -1
  42. package/build/backend/models/node-system.schema.js +2 -0
  43. package/build/backend/models/nodes.schema.d.ts +14 -0
  44. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  45. package/build/backend/models/resolved-proxy-config.schema.d.ts +1422 -0
  46. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -0
  47. package/build/backend/models/resolved-proxy-config.schema.js +219 -0
  48. package/build/backend/models/torrent-blocker-report.schema.d.ts +22 -12
  49. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  50. package/build/backend/models/webhook/webhook.schema.d.ts +112 -32
  51. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  52. package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +2 -59
  53. package/build/frontend/constants/metrics/metric-names.constant.js +11 -0
  54. package/build/frontend/models/index.js +1 -0
  55. package/build/frontend/models/node-system.schema.js +2 -0
  56. package/build/frontend/models/resolved-proxy-config.schema.js +219 -0
  57. package/package.json +1 -1
@@ -177,97 +177,331 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
177
177
  isHwidLimited: boolean;
178
178
  }>;
179
179
  headers: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
180
- rawHosts: z.ZodArray<z.ZodObject<{
181
- address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
- alpn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
- fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
- host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
- network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
- password: z.ZodObject<{
187
- ssPassword: z.ZodString;
188
- trojanPassword: z.ZodString;
189
- vlessPassword: z.ZodString;
180
+ resolvedProxyConfigs: z.ZodArray<z.ZodObject<{
181
+ finalRemark: z.ZodString;
182
+ address: z.ZodString;
183
+ port: z.ZodNumber;
184
+ protocol: z.ZodEnum<["vless", "trojan", "shadowsocks", "hysteria"]>;
185
+ protocolOptions: z.ZodUnion<[z.ZodObject<{
186
+ encryption: z.ZodString;
187
+ id: z.ZodString;
188
+ flow: z.ZodEnum<["", "xtls-rprx-vision", "xtls-rprx-vision-udp443"]>;
190
189
  }, "strip", z.ZodTypeAny, {
191
- trojanPassword: string;
192
- ssPassword: string;
193
- vlessPassword: string;
190
+ id: string;
191
+ encryption: string;
192
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
194
193
  }, {
195
- trojanPassword: string;
196
- ssPassword: string;
197
- vlessPassword: string;
198
- }>;
199
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
- publicKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
- port: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
202
- protocol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
- remark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
- shortId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
205
- sni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
206
- spiderX: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
- tls: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
- rawSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
209
- headerType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
- request: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
194
+ id: string;
195
+ encryption: string;
196
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
197
+ }>, z.ZodObject<{
198
+ password: z.ZodString;
199
+ }, "strip", z.ZodTypeAny, {
200
+ password: string;
201
+ }, {
202
+ password: string;
203
+ }>, z.ZodObject<{
204
+ method: z.ZodString;
205
+ password: z.ZodString;
206
+ uot: z.ZodBoolean;
207
+ uotVersion: z.ZodNumber;
211
208
  }, "strip", z.ZodTypeAny, {
212
- headerType?: string | null | undefined;
213
- request?: {} | null | undefined;
209
+ password: string;
210
+ method: string;
211
+ uot: boolean;
212
+ uotVersion: number;
214
213
  }, {
215
- headerType?: string | null | undefined;
216
- request?: {} | null | undefined;
217
- }>>>;
218
- additionalParams: z.ZodOptional<z.ZodNullable<z.ZodObject<{
219
- mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
- heartbeatPeriod: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
214
+ password: string;
215
+ method: string;
216
+ uot: boolean;
217
+ uotVersion: number;
218
+ }>, z.ZodObject<{
219
+ version: z.ZodNumber;
221
220
  }, "strip", z.ZodTypeAny, {
222
- mode?: string | null | undefined;
223
- heartbeatPeriod?: number | null | undefined;
221
+ version: number;
224
222
  }, {
225
- mode?: string | null | undefined;
226
- heartbeatPeriod?: number | null | undefined;
227
- }>>>;
228
- xHttpExtraParams: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
229
- muxParams: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
230
- sockoptParams: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
231
- serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
- flow: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
- allowInsecure: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
234
- shuffleHost: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
235
- mihomoX25519: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
236
- mldsa65Verify: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
- encryption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
- protocolOptions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
239
- ss: z.ZodOptional<z.ZodNullable<z.ZodObject<{
240
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ version: number;
224
+ }>]>;
225
+ transport: z.ZodEnum<["tcp", "xhttp", "ws", "httpupgrade", "grpc", "kcp", "hysteria"]>;
226
+ transportOptions: z.ZodUnion<[z.ZodObject<{
227
+ header: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
228
+ type: z.ZodLiteral<"none">;
229
+ }, "strip", z.ZodTypeAny, {
230
+ type: "none";
231
+ }, {
232
+ type: "none";
233
+ }>, z.ZodObject<{
234
+ type: z.ZodLiteral<"http">;
235
+ request: z.ZodOptional<z.ZodObject<{
236
+ version: z.ZodOptional<z.ZodString>;
237
+ method: z.ZodOptional<z.ZodString>;
238
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
239
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ path?: string[] | undefined;
242
+ headers?: Record<string, unknown> | undefined;
243
+ version?: string | undefined;
244
+ method?: string | undefined;
245
+ }, {
246
+ path?: string[] | undefined;
247
+ headers?: Record<string, unknown> | undefined;
248
+ version?: string | undefined;
249
+ method?: string | undefined;
250
+ }>>;
251
+ response: z.ZodOptional<z.ZodObject<{
252
+ version: z.ZodOptional<z.ZodString>;
253
+ status: z.ZodOptional<z.ZodString>;
254
+ reason: z.ZodOptional<z.ZodString>;
255
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
256
+ }, "strip", z.ZodTypeAny, {
257
+ status?: string | undefined;
258
+ headers?: Record<string, unknown> | undefined;
259
+ version?: string | undefined;
260
+ reason?: string | undefined;
261
+ }, {
262
+ status?: string | undefined;
263
+ headers?: Record<string, unknown> | undefined;
264
+ version?: string | undefined;
265
+ reason?: string | undefined;
266
+ }>>;
241
267
  }, "strip", z.ZodTypeAny, {
242
- method?: string | null | undefined;
268
+ type: "http";
269
+ response?: {
270
+ status?: string | undefined;
271
+ headers?: Record<string, unknown> | undefined;
272
+ version?: string | undefined;
273
+ reason?: string | undefined;
274
+ } | undefined;
275
+ request?: {
276
+ path?: string[] | undefined;
277
+ headers?: Record<string, unknown> | undefined;
278
+ version?: string | undefined;
279
+ method?: string | undefined;
280
+ } | undefined;
243
281
  }, {
244
- method?: string | null | undefined;
245
- }>>>;
282
+ type: "http";
283
+ response?: {
284
+ status?: string | undefined;
285
+ headers?: Record<string, unknown> | undefined;
286
+ version?: string | undefined;
287
+ reason?: string | undefined;
288
+ } | undefined;
289
+ request?: {
290
+ path?: string[] | undefined;
291
+ headers?: Record<string, unknown> | undefined;
292
+ version?: string | undefined;
293
+ method?: string | undefined;
294
+ } | undefined;
295
+ }>]>>;
246
296
  }, "strip", z.ZodTypeAny, {
247
- ss?: {
248
- method?: string | null | undefined;
249
- } | null | undefined;
297
+ header: {
298
+ type: "none";
299
+ } | {
300
+ type: "http";
301
+ response?: {
302
+ status?: string | undefined;
303
+ headers?: Record<string, unknown> | undefined;
304
+ version?: string | undefined;
305
+ reason?: string | undefined;
306
+ } | undefined;
307
+ request?: {
308
+ path?: string[] | undefined;
309
+ headers?: Record<string, unknown> | undefined;
310
+ version?: string | undefined;
311
+ method?: string | undefined;
312
+ } | undefined;
313
+ } | null;
250
314
  }, {
251
- ss?: {
252
- method?: string | null | undefined;
253
- } | null | undefined;
254
- }>>>;
255
- dbData: z.ZodOptional<z.ZodObject<{
256
- rawInbound: z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
257
- inboundTag: z.ZodString;
315
+ header: {
316
+ type: "none";
317
+ } | {
318
+ type: "http";
319
+ response?: {
320
+ status?: string | undefined;
321
+ headers?: Record<string, unknown> | undefined;
322
+ version?: string | undefined;
323
+ reason?: string | undefined;
324
+ } | undefined;
325
+ request?: {
326
+ path?: string[] | undefined;
327
+ headers?: Record<string, unknown> | undefined;
328
+ version?: string | undefined;
329
+ method?: string | undefined;
330
+ } | undefined;
331
+ } | null;
332
+ }>, z.ZodObject<{
333
+ path: z.ZodNullable<z.ZodString>;
334
+ host: z.ZodNullable<z.ZodString>;
335
+ mode: z.ZodEnum<["auto", "packet-up", "stream-up", "stream-one"]>;
336
+ extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ path: string | null;
339
+ host: string | null;
340
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
341
+ extra: Record<string, unknown> | null;
342
+ }, {
343
+ path: string | null;
344
+ host: string | null;
345
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
346
+ extra: Record<string, unknown> | null;
347
+ }>, z.ZodObject<{
348
+ path: z.ZodNullable<z.ZodString>;
349
+ host: z.ZodNullable<z.ZodString>;
350
+ headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
351
+ heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ path: string | null;
354
+ host: string | null;
355
+ headers: Record<string, string> | null;
356
+ heartbeatPeriod: number | null;
357
+ }, {
358
+ path: string | null;
359
+ host: string | null;
360
+ headers: Record<string, string> | null;
361
+ heartbeatPeriod: number | null;
362
+ }>, z.ZodObject<{
363
+ path: z.ZodNullable<z.ZodString>;
364
+ host: z.ZodNullable<z.ZodString>;
365
+ headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ path: string | null;
368
+ host: string | null;
369
+ headers: Record<string, string> | null;
370
+ }, {
371
+ path: string | null;
372
+ host: string | null;
373
+ headers: Record<string, string> | null;
374
+ }>, z.ZodObject<{
375
+ authority: z.ZodNullable<z.ZodString>;
376
+ serviceName: z.ZodNullable<z.ZodString>;
377
+ multiMode: z.ZodBoolean;
378
+ }, "strip", z.ZodTypeAny, {
379
+ authority: string | null;
380
+ serviceName: string | null;
381
+ multiMode: boolean;
382
+ }, {
383
+ authority: string | null;
384
+ serviceName: string | null;
385
+ multiMode: boolean;
386
+ }>, z.ZodObject<{
387
+ clientMtu: z.ZodNumber;
388
+ tti: z.ZodNumber;
389
+ congestion: z.ZodBoolean;
390
+ }, "strip", z.ZodTypeAny, {
391
+ clientMtu: number;
392
+ tti: number;
393
+ congestion: boolean;
394
+ }, {
395
+ clientMtu: number;
396
+ tti: number;
397
+ congestion: boolean;
398
+ }>, z.ZodObject<{
399
+ version: z.ZodNumber;
400
+ auth: z.ZodString;
401
+ }, "strip", z.ZodTypeAny, {
402
+ auth: string;
403
+ version: number;
404
+ }, {
405
+ auth: string;
406
+ version: number;
407
+ }>]>;
408
+ security: z.ZodEnum<["tls", "reality", "none"]>;
409
+ securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
410
+ allowInsecure: z.ZodBoolean;
411
+ alpn: z.ZodNullable<z.ZodString>;
412
+ enableSessionResumption: z.ZodBoolean;
413
+ fingerprint: z.ZodNullable<z.ZodString>;
414
+ serverName: z.ZodNullable<z.ZodString>;
415
+ echConfigList: z.ZodNullable<z.ZodString>;
416
+ echForceQuery: z.ZodNullable<z.ZodString>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ alpn: string | null;
419
+ fingerprint: string | null;
420
+ allowInsecure: boolean;
421
+ enableSessionResumption: boolean;
422
+ serverName: string | null;
423
+ echConfigList: string | null;
424
+ echForceQuery: string | null;
425
+ }, {
426
+ alpn: string | null;
427
+ fingerprint: string | null;
428
+ allowInsecure: boolean;
429
+ enableSessionResumption: boolean;
430
+ serverName: string | null;
431
+ echConfigList: string | null;
432
+ echForceQuery: string | null;
433
+ }>, z.ZodObject<{
434
+ fingerprint: z.ZodString;
435
+ publicKey: z.ZodString;
436
+ shortId: z.ZodNullable<z.ZodString>;
437
+ serverName: z.ZodString;
438
+ spiderX: z.ZodNullable<z.ZodString>;
439
+ mldsa65Verify: z.ZodNullable<z.ZodString>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ fingerprint: string;
442
+ serverName: string;
443
+ publicKey: string;
444
+ shortId: string | null;
445
+ spiderX: string | null;
446
+ mldsa65Verify: string | null;
447
+ }, {
448
+ fingerprint: string;
449
+ serverName: string;
450
+ publicKey: string;
451
+ shortId: string | null;
452
+ spiderX: string | null;
453
+ mldsa65Verify: string | null;
454
+ }>]>>;
455
+ streamOverrides: z.ZodObject<{
456
+ finalMask: z.ZodNullable<z.ZodUnknown>;
457
+ sockopt: z.ZodNullable<z.ZodUnknown>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ finalMask?: unknown;
460
+ sockopt?: unknown;
461
+ }, {
462
+ finalMask?: unknown;
463
+ sockopt?: unknown;
464
+ }>;
465
+ mux: z.ZodNullable<z.ZodUnknown>;
466
+ clientOverrides: z.ZodObject<{
467
+ shuffleHost: z.ZodBoolean;
468
+ mihomoX25519: z.ZodBoolean;
469
+ serverDescription: z.ZodNullable<z.ZodString>;
470
+ xrayJsonTemplate: z.ZodNullable<z.ZodUnknown>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ serverDescription: string | null;
473
+ shuffleHost: boolean;
474
+ mihomoX25519: boolean;
475
+ xrayJsonTemplate?: unknown;
476
+ }, {
477
+ serverDescription: string | null;
478
+ shuffleHost: boolean;
479
+ mihomoX25519: boolean;
480
+ xrayJsonTemplate?: unknown;
481
+ }>;
482
+ metadata: z.ZodObject<{
258
483
  uuid: z.ZodString;
484
+ tag: z.ZodNullable<z.ZodString>;
485
+ excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
486
+ readonly XRAY_JSON: "XRAY_JSON";
487
+ readonly XRAY_BASE64: "XRAY_BASE64";
488
+ readonly MIHOMO: "MIHOMO";
489
+ readonly STASH: "STASH";
490
+ readonly CLASH: "CLASH";
491
+ readonly SINGBOX: "SINGBOX";
492
+ }>, "many">;
493
+ inboundTag: z.ZodString;
259
494
  configProfileUuid: z.ZodNullable<z.ZodString>;
260
495
  configProfileInboundUuid: z.ZodNullable<z.ZodString>;
261
496
  isDisabled: z.ZodBoolean;
497
+ isHidden: z.ZodBoolean;
262
498
  viewPosition: z.ZodNumber;
263
499
  remark: z.ZodString;
264
- isHidden: z.ZodBoolean;
265
- tag: z.ZodNullable<z.ZodString>;
266
500
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
501
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
267
502
  }, "strip", z.ZodTypeAny, {
268
503
  uuid: string;
269
504
  tag: string | null;
270
- rawInbound: {} | null;
271
505
  viewPosition: number;
272
506
  remark: string;
273
507
  isDisabled: boolean;
@@ -275,11 +509,12 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
275
509
  configProfileInboundUuid: string | null;
276
510
  isHidden: boolean;
277
511
  vlessRouteId: number | null;
512
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
278
513
  inboundTag: string;
514
+ rawInbound?: unknown;
279
515
  }, {
280
516
  uuid: string;
281
517
  tag: string | null;
282
- rawInbound: {} | null;
283
518
  viewPosition: number;
284
519
  remark: string;
285
520
  isDisabled: boolean;
@@ -287,56 +522,14 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
287
522
  configProfileInboundUuid: string | null;
288
523
  isHidden: boolean;
289
524
  vlessRouteId: number | null;
525
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
290
526
  inboundTag: string;
291
- }>>;
292
- xrayJsonTemplate: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
527
+ rawInbound?: unknown;
528
+ }>;
293
529
  }, "strip", z.ZodTypeAny, {
294
- password: {
295
- trojanPassword: string;
296
- ssPassword: string;
297
- vlessPassword: string;
298
- };
299
- path?: string | null | undefined;
300
- network?: string | null | undefined;
301
- port?: number | null | undefined;
302
- remark?: string | null | undefined;
303
- address?: string | null | undefined;
304
- sni?: string | null | undefined;
305
- host?: string | null | undefined;
306
- alpn?: string | null | undefined;
307
- fingerprint?: string | null | undefined;
308
- xHttpExtraParams?: {} | null | undefined;
309
- muxParams?: {} | null | undefined;
310
- sockoptParams?: {} | null | undefined;
311
- serverDescription?: string | null | undefined;
312
- allowInsecure?: boolean | null | undefined;
313
- shuffleHost?: boolean | null | undefined;
314
- mihomoX25519?: boolean | null | undefined;
315
- protocol?: string | null | undefined;
316
- publicKey?: string | null | undefined;
317
- shortId?: string | null | undefined;
318
- spiderX?: string | null | undefined;
319
- tls?: string | null | undefined;
320
- rawSettings?: {
321
- headerType?: string | null | undefined;
322
- request?: {} | null | undefined;
323
- } | null | undefined;
324
- additionalParams?: {
325
- mode?: string | null | undefined;
326
- heartbeatPeriod?: number | null | undefined;
327
- } | null | undefined;
328
- flow?: string | null | undefined;
329
- mldsa65Verify?: string | null | undefined;
330
- encryption?: string | null | undefined;
331
- protocolOptions?: {
332
- ss?: {
333
- method?: string | null | undefined;
334
- } | null | undefined;
335
- } | null | undefined;
336
- dbData?: {
530
+ metadata: {
337
531
  uuid: string;
338
532
  tag: string | null;
339
- rawInbound: {} | null;
340
533
  viewPosition: number;
341
534
  remark: string;
342
535
  isDisabled: boolean;
@@ -344,56 +537,105 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
344
537
  configProfileInboundUuid: string | null;
345
538
  isHidden: boolean;
346
539
  vlessRouteId: number | null;
540
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
347
541
  inboundTag: string;
542
+ rawInbound?: unknown;
543
+ };
544
+ security: "none" | "tls" | "reality";
545
+ port: number;
546
+ address: string;
547
+ protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
548
+ protocolOptions: {
549
+ id: string;
550
+ encryption: string;
551
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
552
+ } | {
553
+ password: string;
554
+ } | {
555
+ password: string;
556
+ method: string;
557
+ uot: boolean;
558
+ uotVersion: number;
559
+ } | {
560
+ version: number;
561
+ };
562
+ transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
563
+ transportOptions: {
564
+ header: {
565
+ type: "none";
566
+ } | {
567
+ type: "http";
568
+ response?: {
569
+ status?: string | undefined;
570
+ headers?: Record<string, unknown> | undefined;
571
+ version?: string | undefined;
572
+ reason?: string | undefined;
573
+ } | undefined;
574
+ request?: {
575
+ path?: string[] | undefined;
576
+ headers?: Record<string, unknown> | undefined;
577
+ version?: string | undefined;
578
+ method?: string | undefined;
579
+ } | undefined;
580
+ } | null;
581
+ } | {
582
+ path: string | null;
583
+ host: string | null;
584
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
585
+ extra: Record<string, unknown> | null;
586
+ } | {
587
+ path: string | null;
588
+ host: string | null;
589
+ headers: Record<string, string> | null;
590
+ heartbeatPeriod: number | null;
591
+ } | {
592
+ path: string | null;
593
+ host: string | null;
594
+ headers: Record<string, string> | null;
595
+ } | {
596
+ authority: string | null;
597
+ serviceName: string | null;
598
+ multiMode: boolean;
599
+ } | {
600
+ clientMtu: number;
601
+ tti: number;
602
+ congestion: boolean;
603
+ } | {
604
+ auth: string;
605
+ version: number;
606
+ };
607
+ finalRemark: string;
608
+ streamOverrides: {
609
+ finalMask?: unknown;
610
+ sockopt?: unknown;
611
+ };
612
+ clientOverrides: {
613
+ serverDescription: string | null;
614
+ shuffleHost: boolean;
615
+ mihomoX25519: boolean;
616
+ xrayJsonTemplate?: unknown;
617
+ };
618
+ securityOptions?: {
619
+ alpn: string | null;
620
+ fingerprint: string | null;
621
+ allowInsecure: boolean;
622
+ enableSessionResumption: boolean;
623
+ serverName: string | null;
624
+ echConfigList: string | null;
625
+ echForceQuery: string | null;
626
+ } | {
627
+ fingerprint: string;
628
+ serverName: string;
629
+ publicKey: string;
630
+ shortId: string | null;
631
+ spiderX: string | null;
632
+ mldsa65Verify: string | null;
348
633
  } | undefined;
349
- xrayJsonTemplate?: {} | null | undefined;
634
+ mux?: unknown;
350
635
  }, {
351
- password: {
352
- trojanPassword: string;
353
- ssPassword: string;
354
- vlessPassword: string;
355
- };
356
- path?: string | null | undefined;
357
- network?: string | null | undefined;
358
- port?: number | null | undefined;
359
- remark?: string | null | undefined;
360
- address?: string | null | undefined;
361
- sni?: string | null | undefined;
362
- host?: string | null | undefined;
363
- alpn?: string | null | undefined;
364
- fingerprint?: string | null | undefined;
365
- xHttpExtraParams?: {} | null | undefined;
366
- muxParams?: {} | null | undefined;
367
- sockoptParams?: {} | null | undefined;
368
- serverDescription?: string | null | undefined;
369
- allowInsecure?: boolean | null | undefined;
370
- shuffleHost?: boolean | null | undefined;
371
- mihomoX25519?: boolean | null | undefined;
372
- protocol?: string | null | undefined;
373
- publicKey?: string | null | undefined;
374
- shortId?: string | null | undefined;
375
- spiderX?: string | null | undefined;
376
- tls?: string | null | undefined;
377
- rawSettings?: {
378
- headerType?: string | null | undefined;
379
- request?: {} | null | undefined;
380
- } | null | undefined;
381
- additionalParams?: {
382
- mode?: string | null | undefined;
383
- heartbeatPeriod?: number | null | undefined;
384
- } | null | undefined;
385
- flow?: string | null | undefined;
386
- mldsa65Verify?: string | null | undefined;
387
- encryption?: string | null | undefined;
388
- protocolOptions?: {
389
- ss?: {
390
- method?: string | null | undefined;
391
- } | null | undefined;
392
- } | null | undefined;
393
- dbData?: {
636
+ metadata: {
394
637
  uuid: string;
395
638
  tag: string | null;
396
- rawInbound: {} | null;
397
639
  viewPosition: number;
398
640
  remark: string;
399
641
  isDisabled: boolean;
@@ -401,9 +643,101 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
401
643
  configProfileInboundUuid: string | null;
402
644
  isHidden: boolean;
403
645
  vlessRouteId: number | null;
646
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
404
647
  inboundTag: string;
648
+ rawInbound?: unknown;
649
+ };
650
+ security: "none" | "tls" | "reality";
651
+ port: number;
652
+ address: string;
653
+ protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
654
+ protocolOptions: {
655
+ id: string;
656
+ encryption: string;
657
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
658
+ } | {
659
+ password: string;
660
+ } | {
661
+ password: string;
662
+ method: string;
663
+ uot: boolean;
664
+ uotVersion: number;
665
+ } | {
666
+ version: number;
667
+ };
668
+ transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
669
+ transportOptions: {
670
+ header: {
671
+ type: "none";
672
+ } | {
673
+ type: "http";
674
+ response?: {
675
+ status?: string | undefined;
676
+ headers?: Record<string, unknown> | undefined;
677
+ version?: string | undefined;
678
+ reason?: string | undefined;
679
+ } | undefined;
680
+ request?: {
681
+ path?: string[] | undefined;
682
+ headers?: Record<string, unknown> | undefined;
683
+ version?: string | undefined;
684
+ method?: string | undefined;
685
+ } | undefined;
686
+ } | null;
687
+ } | {
688
+ path: string | null;
689
+ host: string | null;
690
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
691
+ extra: Record<string, unknown> | null;
692
+ } | {
693
+ path: string | null;
694
+ host: string | null;
695
+ headers: Record<string, string> | null;
696
+ heartbeatPeriod: number | null;
697
+ } | {
698
+ path: string | null;
699
+ host: string | null;
700
+ headers: Record<string, string> | null;
701
+ } | {
702
+ authority: string | null;
703
+ serviceName: string | null;
704
+ multiMode: boolean;
705
+ } | {
706
+ clientMtu: number;
707
+ tti: number;
708
+ congestion: boolean;
709
+ } | {
710
+ auth: string;
711
+ version: number;
712
+ };
713
+ finalRemark: string;
714
+ streamOverrides: {
715
+ finalMask?: unknown;
716
+ sockopt?: unknown;
717
+ };
718
+ clientOverrides: {
719
+ serverDescription: string | null;
720
+ shuffleHost: boolean;
721
+ mihomoX25519: boolean;
722
+ xrayJsonTemplate?: unknown;
723
+ };
724
+ securityOptions?: {
725
+ alpn: string | null;
726
+ fingerprint: string | null;
727
+ allowInsecure: boolean;
728
+ enableSessionResumption: boolean;
729
+ serverName: string | null;
730
+ echConfigList: string | null;
731
+ echForceQuery: string | null;
732
+ } | {
733
+ fingerprint: string;
734
+ serverName: string;
735
+ publicKey: string;
736
+ shortId: string | null;
737
+ spiderX: string | null;
738
+ mldsa65Verify: string | null;
405
739
  } | undefined;
406
- xrayJsonTemplate?: {} | null | undefined;
740
+ mux?: unknown;
407
741
  }>, "many">;
408
742
  }, "strip", z.ZodTypeAny, {
409
743
  user: {
@@ -450,53 +784,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
450
784
  lifetimeTrafficUsed: string;
451
785
  isHwidLimited: boolean;
452
786
  };
453
- rawHosts: {
454
- password: {
455
- trojanPassword: string;
456
- ssPassword: string;
457
- vlessPassword: string;
458
- };
459
- path?: string | null | undefined;
460
- network?: string | null | undefined;
461
- port?: number | null | undefined;
462
- remark?: string | null | undefined;
463
- address?: string | null | undefined;
464
- sni?: string | null | undefined;
465
- host?: string | null | undefined;
466
- alpn?: string | null | undefined;
467
- fingerprint?: string | null | undefined;
468
- xHttpExtraParams?: {} | null | undefined;
469
- muxParams?: {} | null | undefined;
470
- sockoptParams?: {} | null | undefined;
471
- serverDescription?: string | null | undefined;
472
- allowInsecure?: boolean | null | undefined;
473
- shuffleHost?: boolean | null | undefined;
474
- mihomoX25519?: boolean | null | undefined;
475
- protocol?: string | null | undefined;
476
- publicKey?: string | null | undefined;
477
- shortId?: string | null | undefined;
478
- spiderX?: string | null | undefined;
479
- tls?: string | null | undefined;
480
- rawSettings?: {
481
- headerType?: string | null | undefined;
482
- request?: {} | null | undefined;
483
- } | null | undefined;
484
- additionalParams?: {
485
- mode?: string | null | undefined;
486
- heartbeatPeriod?: number | null | undefined;
487
- } | null | undefined;
488
- flow?: string | null | undefined;
489
- mldsa65Verify?: string | null | undefined;
490
- encryption?: string | null | undefined;
491
- protocolOptions?: {
492
- ss?: {
493
- method?: string | null | undefined;
494
- } | null | undefined;
495
- } | null | undefined;
496
- dbData?: {
787
+ resolvedProxyConfigs: {
788
+ metadata: {
497
789
  uuid: string;
498
790
  tag: string | null;
499
- rawInbound: {} | null;
500
791
  viewPosition: number;
501
792
  remark: string;
502
793
  isDisabled: boolean;
@@ -504,9 +795,101 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
504
795
  configProfileInboundUuid: string | null;
505
796
  isHidden: boolean;
506
797
  vlessRouteId: number | null;
798
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
507
799
  inboundTag: string;
800
+ rawInbound?: unknown;
801
+ };
802
+ security: "none" | "tls" | "reality";
803
+ port: number;
804
+ address: string;
805
+ protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
806
+ protocolOptions: {
807
+ id: string;
808
+ encryption: string;
809
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
810
+ } | {
811
+ password: string;
812
+ } | {
813
+ password: string;
814
+ method: string;
815
+ uot: boolean;
816
+ uotVersion: number;
817
+ } | {
818
+ version: number;
819
+ };
820
+ transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
821
+ transportOptions: {
822
+ header: {
823
+ type: "none";
824
+ } | {
825
+ type: "http";
826
+ response?: {
827
+ status?: string | undefined;
828
+ headers?: Record<string, unknown> | undefined;
829
+ version?: string | undefined;
830
+ reason?: string | undefined;
831
+ } | undefined;
832
+ request?: {
833
+ path?: string[] | undefined;
834
+ headers?: Record<string, unknown> | undefined;
835
+ version?: string | undefined;
836
+ method?: string | undefined;
837
+ } | undefined;
838
+ } | null;
839
+ } | {
840
+ path: string | null;
841
+ host: string | null;
842
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
843
+ extra: Record<string, unknown> | null;
844
+ } | {
845
+ path: string | null;
846
+ host: string | null;
847
+ headers: Record<string, string> | null;
848
+ heartbeatPeriod: number | null;
849
+ } | {
850
+ path: string | null;
851
+ host: string | null;
852
+ headers: Record<string, string> | null;
853
+ } | {
854
+ authority: string | null;
855
+ serviceName: string | null;
856
+ multiMode: boolean;
857
+ } | {
858
+ clientMtu: number;
859
+ tti: number;
860
+ congestion: boolean;
861
+ } | {
862
+ auth: string;
863
+ version: number;
864
+ };
865
+ finalRemark: string;
866
+ streamOverrides: {
867
+ finalMask?: unknown;
868
+ sockopt?: unknown;
869
+ };
870
+ clientOverrides: {
871
+ serverDescription: string | null;
872
+ shuffleHost: boolean;
873
+ mihomoX25519: boolean;
874
+ xrayJsonTemplate?: unknown;
875
+ };
876
+ securityOptions?: {
877
+ alpn: string | null;
878
+ fingerprint: string | null;
879
+ allowInsecure: boolean;
880
+ enableSessionResumption: boolean;
881
+ serverName: string | null;
882
+ echConfigList: string | null;
883
+ echForceQuery: string | null;
884
+ } | {
885
+ fingerprint: string;
886
+ serverName: string;
887
+ publicKey: string;
888
+ shortId: string | null;
889
+ spiderX: string | null;
890
+ mldsa65Verify: string | null;
508
891
  } | undefined;
509
- xrayJsonTemplate?: {} | null | undefined;
892
+ mux?: unknown;
510
893
  }[];
511
894
  }, {
512
895
  user: {
@@ -553,53 +936,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
553
936
  lifetimeTrafficUsed: string;
554
937
  isHwidLimited: boolean;
555
938
  };
556
- rawHosts: {
557
- password: {
558
- trojanPassword: string;
559
- ssPassword: string;
560
- vlessPassword: string;
561
- };
562
- path?: string | null | undefined;
563
- network?: string | null | undefined;
564
- port?: number | null | undefined;
565
- remark?: string | null | undefined;
566
- address?: string | null | undefined;
567
- sni?: string | null | undefined;
568
- host?: string | null | undefined;
569
- alpn?: string | null | undefined;
570
- fingerprint?: string | null | undefined;
571
- xHttpExtraParams?: {} | null | undefined;
572
- muxParams?: {} | null | undefined;
573
- sockoptParams?: {} | null | undefined;
574
- serverDescription?: string | null | undefined;
575
- allowInsecure?: boolean | null | undefined;
576
- shuffleHost?: boolean | null | undefined;
577
- mihomoX25519?: boolean | null | undefined;
578
- protocol?: string | null | undefined;
579
- publicKey?: string | null | undefined;
580
- shortId?: string | null | undefined;
581
- spiderX?: string | null | undefined;
582
- tls?: string | null | undefined;
583
- rawSettings?: {
584
- headerType?: string | null | undefined;
585
- request?: {} | null | undefined;
586
- } | null | undefined;
587
- additionalParams?: {
588
- mode?: string | null | undefined;
589
- heartbeatPeriod?: number | null | undefined;
590
- } | null | undefined;
591
- flow?: string | null | undefined;
592
- mldsa65Verify?: string | null | undefined;
593
- encryption?: string | null | undefined;
594
- protocolOptions?: {
595
- ss?: {
596
- method?: string | null | undefined;
597
- } | null | undefined;
598
- } | null | undefined;
599
- dbData?: {
939
+ resolvedProxyConfigs: {
940
+ metadata: {
600
941
  uuid: string;
601
942
  tag: string | null;
602
- rawInbound: {} | null;
603
943
  viewPosition: number;
604
944
  remark: string;
605
945
  isDisabled: boolean;
@@ -607,9 +947,101 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
607
947
  configProfileInboundUuid: string | null;
608
948
  isHidden: boolean;
609
949
  vlessRouteId: number | null;
950
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
610
951
  inboundTag: string;
952
+ rawInbound?: unknown;
953
+ };
954
+ security: "none" | "tls" | "reality";
955
+ port: number;
956
+ address: string;
957
+ protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
958
+ protocolOptions: {
959
+ id: string;
960
+ encryption: string;
961
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
962
+ } | {
963
+ password: string;
964
+ } | {
965
+ password: string;
966
+ method: string;
967
+ uot: boolean;
968
+ uotVersion: number;
969
+ } | {
970
+ version: number;
971
+ };
972
+ transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
973
+ transportOptions: {
974
+ header: {
975
+ type: "none";
976
+ } | {
977
+ type: "http";
978
+ response?: {
979
+ status?: string | undefined;
980
+ headers?: Record<string, unknown> | undefined;
981
+ version?: string | undefined;
982
+ reason?: string | undefined;
983
+ } | undefined;
984
+ request?: {
985
+ path?: string[] | undefined;
986
+ headers?: Record<string, unknown> | undefined;
987
+ version?: string | undefined;
988
+ method?: string | undefined;
989
+ } | undefined;
990
+ } | null;
991
+ } | {
992
+ path: string | null;
993
+ host: string | null;
994
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
995
+ extra: Record<string, unknown> | null;
996
+ } | {
997
+ path: string | null;
998
+ host: string | null;
999
+ headers: Record<string, string> | null;
1000
+ heartbeatPeriod: number | null;
1001
+ } | {
1002
+ path: string | null;
1003
+ host: string | null;
1004
+ headers: Record<string, string> | null;
1005
+ } | {
1006
+ authority: string | null;
1007
+ serviceName: string | null;
1008
+ multiMode: boolean;
1009
+ } | {
1010
+ clientMtu: number;
1011
+ tti: number;
1012
+ congestion: boolean;
1013
+ } | {
1014
+ auth: string;
1015
+ version: number;
1016
+ };
1017
+ finalRemark: string;
1018
+ streamOverrides: {
1019
+ finalMask?: unknown;
1020
+ sockopt?: unknown;
1021
+ };
1022
+ clientOverrides: {
1023
+ serverDescription: string | null;
1024
+ shuffleHost: boolean;
1025
+ mihomoX25519: boolean;
1026
+ xrayJsonTemplate?: unknown;
1027
+ };
1028
+ securityOptions?: {
1029
+ alpn: string | null;
1030
+ fingerprint: string | null;
1031
+ allowInsecure: boolean;
1032
+ enableSessionResumption: boolean;
1033
+ serverName: string | null;
1034
+ echConfigList: string | null;
1035
+ echForceQuery: string | null;
1036
+ } | {
1037
+ fingerprint: string;
1038
+ serverName: string;
1039
+ publicKey: string;
1040
+ shortId: string | null;
1041
+ spiderX: string | null;
1042
+ mldsa65Verify: string | null;
611
1043
  } | undefined;
612
- xrayJsonTemplate?: {} | null | undefined;
1044
+ mux?: unknown;
613
1045
  }[];
614
1046
  }>;
615
1047
  }, "strip", z.ZodTypeAny, {
@@ -658,53 +1090,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
658
1090
  lifetimeTrafficUsed: string;
659
1091
  isHwidLimited: boolean;
660
1092
  };
661
- rawHosts: {
662
- password: {
663
- trojanPassword: string;
664
- ssPassword: string;
665
- vlessPassword: string;
666
- };
667
- path?: string | null | undefined;
668
- network?: string | null | undefined;
669
- port?: number | null | undefined;
670
- remark?: string | null | undefined;
671
- address?: string | null | undefined;
672
- sni?: string | null | undefined;
673
- host?: string | null | undefined;
674
- alpn?: string | null | undefined;
675
- fingerprint?: string | null | undefined;
676
- xHttpExtraParams?: {} | null | undefined;
677
- muxParams?: {} | null | undefined;
678
- sockoptParams?: {} | null | undefined;
679
- serverDescription?: string | null | undefined;
680
- allowInsecure?: boolean | null | undefined;
681
- shuffleHost?: boolean | null | undefined;
682
- mihomoX25519?: boolean | null | undefined;
683
- protocol?: string | null | undefined;
684
- publicKey?: string | null | undefined;
685
- shortId?: string | null | undefined;
686
- spiderX?: string | null | undefined;
687
- tls?: string | null | undefined;
688
- rawSettings?: {
689
- headerType?: string | null | undefined;
690
- request?: {} | null | undefined;
691
- } | null | undefined;
692
- additionalParams?: {
693
- mode?: string | null | undefined;
694
- heartbeatPeriod?: number | null | undefined;
695
- } | null | undefined;
696
- flow?: string | null | undefined;
697
- mldsa65Verify?: string | null | undefined;
698
- encryption?: string | null | undefined;
699
- protocolOptions?: {
700
- ss?: {
701
- method?: string | null | undefined;
702
- } | null | undefined;
703
- } | null | undefined;
704
- dbData?: {
1093
+ resolvedProxyConfigs: {
1094
+ metadata: {
705
1095
  uuid: string;
706
1096
  tag: string | null;
707
- rawInbound: {} | null;
708
1097
  viewPosition: number;
709
1098
  remark: string;
710
1099
  isDisabled: boolean;
@@ -712,9 +1101,101 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
712
1101
  configProfileInboundUuid: string | null;
713
1102
  isHidden: boolean;
714
1103
  vlessRouteId: number | null;
1104
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
715
1105
  inboundTag: string;
1106
+ rawInbound?: unknown;
1107
+ };
1108
+ security: "none" | "tls" | "reality";
1109
+ port: number;
1110
+ address: string;
1111
+ protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
1112
+ protocolOptions: {
1113
+ id: string;
1114
+ encryption: string;
1115
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
1116
+ } | {
1117
+ password: string;
1118
+ } | {
1119
+ password: string;
1120
+ method: string;
1121
+ uot: boolean;
1122
+ uotVersion: number;
1123
+ } | {
1124
+ version: number;
1125
+ };
1126
+ transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
1127
+ transportOptions: {
1128
+ header: {
1129
+ type: "none";
1130
+ } | {
1131
+ type: "http";
1132
+ response?: {
1133
+ status?: string | undefined;
1134
+ headers?: Record<string, unknown> | undefined;
1135
+ version?: string | undefined;
1136
+ reason?: string | undefined;
1137
+ } | undefined;
1138
+ request?: {
1139
+ path?: string[] | undefined;
1140
+ headers?: Record<string, unknown> | undefined;
1141
+ version?: string | undefined;
1142
+ method?: string | undefined;
1143
+ } | undefined;
1144
+ } | null;
1145
+ } | {
1146
+ path: string | null;
1147
+ host: string | null;
1148
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
1149
+ extra: Record<string, unknown> | null;
1150
+ } | {
1151
+ path: string | null;
1152
+ host: string | null;
1153
+ headers: Record<string, string> | null;
1154
+ heartbeatPeriod: number | null;
1155
+ } | {
1156
+ path: string | null;
1157
+ host: string | null;
1158
+ headers: Record<string, string> | null;
1159
+ } | {
1160
+ authority: string | null;
1161
+ serviceName: string | null;
1162
+ multiMode: boolean;
1163
+ } | {
1164
+ clientMtu: number;
1165
+ tti: number;
1166
+ congestion: boolean;
1167
+ } | {
1168
+ auth: string;
1169
+ version: number;
1170
+ };
1171
+ finalRemark: string;
1172
+ streamOverrides: {
1173
+ finalMask?: unknown;
1174
+ sockopt?: unknown;
1175
+ };
1176
+ clientOverrides: {
1177
+ serverDescription: string | null;
1178
+ shuffleHost: boolean;
1179
+ mihomoX25519: boolean;
1180
+ xrayJsonTemplate?: unknown;
1181
+ };
1182
+ securityOptions?: {
1183
+ alpn: string | null;
1184
+ fingerprint: string | null;
1185
+ allowInsecure: boolean;
1186
+ enableSessionResumption: boolean;
1187
+ serverName: string | null;
1188
+ echConfigList: string | null;
1189
+ echForceQuery: string | null;
1190
+ } | {
1191
+ fingerprint: string;
1192
+ serverName: string;
1193
+ publicKey: string;
1194
+ shortId: string | null;
1195
+ spiderX: string | null;
1196
+ mldsa65Verify: string | null;
716
1197
  } | undefined;
717
- xrayJsonTemplate?: {} | null | undefined;
1198
+ mux?: unknown;
718
1199
  }[];
719
1200
  };
720
1201
  }, {
@@ -763,53 +1244,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
763
1244
  lifetimeTrafficUsed: string;
764
1245
  isHwidLimited: boolean;
765
1246
  };
766
- rawHosts: {
767
- password: {
768
- trojanPassword: string;
769
- ssPassword: string;
770
- vlessPassword: string;
771
- };
772
- path?: string | null | undefined;
773
- network?: string | null | undefined;
774
- port?: number | null | undefined;
775
- remark?: string | null | undefined;
776
- address?: string | null | undefined;
777
- sni?: string | null | undefined;
778
- host?: string | null | undefined;
779
- alpn?: string | null | undefined;
780
- fingerprint?: string | null | undefined;
781
- xHttpExtraParams?: {} | null | undefined;
782
- muxParams?: {} | null | undefined;
783
- sockoptParams?: {} | null | undefined;
784
- serverDescription?: string | null | undefined;
785
- allowInsecure?: boolean | null | undefined;
786
- shuffleHost?: boolean | null | undefined;
787
- mihomoX25519?: boolean | null | undefined;
788
- protocol?: string | null | undefined;
789
- publicKey?: string | null | undefined;
790
- shortId?: string | null | undefined;
791
- spiderX?: string | null | undefined;
792
- tls?: string | null | undefined;
793
- rawSettings?: {
794
- headerType?: string | null | undefined;
795
- request?: {} | null | undefined;
796
- } | null | undefined;
797
- additionalParams?: {
798
- mode?: string | null | undefined;
799
- heartbeatPeriod?: number | null | undefined;
800
- } | null | undefined;
801
- flow?: string | null | undefined;
802
- mldsa65Verify?: string | null | undefined;
803
- encryption?: string | null | undefined;
804
- protocolOptions?: {
805
- ss?: {
806
- method?: string | null | undefined;
807
- } | null | undefined;
808
- } | null | undefined;
809
- dbData?: {
1247
+ resolvedProxyConfigs: {
1248
+ metadata: {
810
1249
  uuid: string;
811
1250
  tag: string | null;
812
- rawInbound: {} | null;
813
1251
  viewPosition: number;
814
1252
  remark: string;
815
1253
  isDisabled: boolean;
@@ -817,9 +1255,101 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
817
1255
  configProfileInboundUuid: string | null;
818
1256
  isHidden: boolean;
819
1257
  vlessRouteId: number | null;
1258
+ excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
820
1259
  inboundTag: string;
1260
+ rawInbound?: unknown;
1261
+ };
1262
+ security: "none" | "tls" | "reality";
1263
+ port: number;
1264
+ address: string;
1265
+ protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
1266
+ protocolOptions: {
1267
+ id: string;
1268
+ encryption: string;
1269
+ flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
1270
+ } | {
1271
+ password: string;
1272
+ } | {
1273
+ password: string;
1274
+ method: string;
1275
+ uot: boolean;
1276
+ uotVersion: number;
1277
+ } | {
1278
+ version: number;
1279
+ };
1280
+ transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
1281
+ transportOptions: {
1282
+ header: {
1283
+ type: "none";
1284
+ } | {
1285
+ type: "http";
1286
+ response?: {
1287
+ status?: string | undefined;
1288
+ headers?: Record<string, unknown> | undefined;
1289
+ version?: string | undefined;
1290
+ reason?: string | undefined;
1291
+ } | undefined;
1292
+ request?: {
1293
+ path?: string[] | undefined;
1294
+ headers?: Record<string, unknown> | undefined;
1295
+ version?: string | undefined;
1296
+ method?: string | undefined;
1297
+ } | undefined;
1298
+ } | null;
1299
+ } | {
1300
+ path: string | null;
1301
+ host: string | null;
1302
+ mode: "auto" | "packet-up" | "stream-up" | "stream-one";
1303
+ extra: Record<string, unknown> | null;
1304
+ } | {
1305
+ path: string | null;
1306
+ host: string | null;
1307
+ headers: Record<string, string> | null;
1308
+ heartbeatPeriod: number | null;
1309
+ } | {
1310
+ path: string | null;
1311
+ host: string | null;
1312
+ headers: Record<string, string> | null;
1313
+ } | {
1314
+ authority: string | null;
1315
+ serviceName: string | null;
1316
+ multiMode: boolean;
1317
+ } | {
1318
+ clientMtu: number;
1319
+ tti: number;
1320
+ congestion: boolean;
1321
+ } | {
1322
+ auth: string;
1323
+ version: number;
1324
+ };
1325
+ finalRemark: string;
1326
+ streamOverrides: {
1327
+ finalMask?: unknown;
1328
+ sockopt?: unknown;
1329
+ };
1330
+ clientOverrides: {
1331
+ serverDescription: string | null;
1332
+ shuffleHost: boolean;
1333
+ mihomoX25519: boolean;
1334
+ xrayJsonTemplate?: unknown;
1335
+ };
1336
+ securityOptions?: {
1337
+ alpn: string | null;
1338
+ fingerprint: string | null;
1339
+ allowInsecure: boolean;
1340
+ enableSessionResumption: boolean;
1341
+ serverName: string | null;
1342
+ echConfigList: string | null;
1343
+ echForceQuery: string | null;
1344
+ } | {
1345
+ fingerprint: string;
1346
+ serverName: string;
1347
+ publicKey: string;
1348
+ shortId: string | null;
1349
+ spiderX: string | null;
1350
+ mldsa65Verify: string | null;
821
1351
  } | undefined;
822
- xrayJsonTemplate?: {} | null | undefined;
1352
+ mux?: unknown;
823
1353
  }[];
824
1354
  };
825
1355
  }>;