@remnawave/backend-contract 2.6.54 → 2.6.56

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 (60) hide show
  1. package/build/backend/api/controllers-info.d.ts +1 -1
  2. package/build/backend/api/controllers-info.js +1 -1
  3. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +24 -8
  4. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  5. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +24 -8
  6. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  7. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +24 -8
  8. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
  9. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +24 -8
  10. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  11. package/build/backend/commands/keygen/get-pubkey.command.js +1 -1
  12. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +32 -24
  13. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
  14. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +32 -24
  15. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -1
  16. package/build/backend/commands/nodes/actions/disable.command.d.ts +36 -20
  17. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  18. package/build/backend/commands/nodes/actions/enable.command.d.ts +36 -20
  19. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  20. package/build/backend/commands/nodes/actions/reorder.command.d.ts +48 -24
  21. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  22. package/build/backend/commands/nodes/create.command.d.ts +36 -20
  23. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  24. package/build/backend/commands/nodes/get-all.command.d.ts +36 -20
  25. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  26. package/build/backend/commands/nodes/get-one.command.d.ts +36 -20
  27. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  28. package/build/backend/commands/nodes/update.command.d.ts +48 -24
  29. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  30. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +878 -348
  31. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
  32. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +2 -59
  33. package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +5 -0
  34. package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
  35. package/build/backend/constants/cache-keys/cache-keys.constants.js +5 -0
  36. package/build/backend/models/index.d.ts +1 -0
  37. package/build/backend/models/index.d.ts.map +1 -1
  38. package/build/backend/models/index.js +1 -0
  39. package/build/backend/models/infra-billing-available-node.schema.d.ts +12 -4
  40. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  41. package/build/backend/models/infra-billing-node.schema.d.ts +12 -4
  42. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  43. package/build/backend/models/nodes.schema.d.ts +24 -12
  44. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  45. package/build/backend/models/nodes.schema.js +6 -4
  46. package/build/backend/models/resolved-proxy-config.schema.d.ts +1422 -0
  47. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -0
  48. package/build/backend/models/resolved-proxy-config.schema.js +219 -0
  49. package/build/backend/models/torrent-blocker-report.schema.d.ts +24 -16
  50. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  51. package/build/backend/models/webhook/webhook.schema.d.ts +200 -128
  52. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  53. package/build/frontend/api/controllers-info.js +1 -1
  54. package/build/frontend/commands/keygen/get-pubkey.command.js +1 -1
  55. package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +2 -59
  56. package/build/frontend/constants/cache-keys/cache-keys.constants.js +5 -0
  57. package/build/frontend/models/index.js +1 -0
  58. package/build/frontend/models/nodes.schema.js +6 -4
  59. package/build/frontend/models/resolved-proxy-config.schema.js +219 -0
  60. package/package.json +1 -1
@@ -91,15 +91,11 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
91
91
  isConnecting: z.ZodBoolean;
92
92
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
93
93
  lastStatusMessage: z.ZodNullable<z.ZodString>;
94
- xrayVersion: z.ZodNullable<z.ZodString>;
95
- nodeVersion: z.ZodNullable<z.ZodString>;
96
- xrayUptime: z.ZodString;
97
94
  isTrafficTrackingActive: z.ZodBoolean;
98
95
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
99
96
  trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
100
97
  trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
101
98
  notifyPercent: z.ZodNullable<z.ZodNumber>;
102
- usersOnline: z.ZodNullable<z.ZodNumber>;
103
99
  viewPosition: z.ZodNumber;
104
100
  countryCode: z.ZodString;
105
101
  consumptionMultiplier: z.ZodNumber;
@@ -322,6 +318,18 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
322
318
  networkInterfaces: string[];
323
319
  };
324
320
  }>>;
321
+ versions: z.ZodNullable<z.ZodObject<{
322
+ xray: z.ZodString;
323
+ node: z.ZodString;
324
+ }, "strip", z.ZodTypeAny, {
325
+ node: string;
326
+ xray: string;
327
+ }, {
328
+ node: string;
329
+ xray: string;
330
+ }>>;
331
+ xrayUptime: z.ZodNumber;
332
+ usersOnline: z.ZodNumber;
325
333
  }, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
326
334
  uuid: string;
327
335
  countryCode: string;
@@ -371,13 +379,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
371
379
  }, "strip", z.ZodTypeAny, {
372
380
  network: string;
373
381
  email: string | null;
374
- level: number | null;
375
382
  protocol: string | null;
383
+ inboundTag: string | null;
384
+ level: number | null;
376
385
  source: string | null;
377
386
  destination: string;
378
387
  routeTarget: string | null;
379
388
  originalTarget: string | null;
380
- inboundTag: string | null;
381
389
  inboundName: string | null;
382
390
  inboundLocal: string | null;
383
391
  outboundTag: string | null;
@@ -385,13 +393,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
385
393
  }, {
386
394
  network: string;
387
395
  email: string | null;
388
- level: number | null;
389
396
  protocol: string | null;
397
+ inboundTag: string | null;
398
+ level: number | null;
390
399
  source: string | null;
391
400
  destination: string;
392
401
  routeTarget: string | null;
393
402
  originalTarget: string | null;
394
- inboundTag: string | null;
395
403
  inboundName: string | null;
396
404
  inboundLocal: string | null;
397
405
  outboundTag: string | null;
@@ -409,13 +417,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
409
417
  xrayReport: {
410
418
  network: string;
411
419
  email: string | null;
412
- level: number | null;
413
420
  protocol: string | null;
421
+ inboundTag: string | null;
422
+ level: number | null;
414
423
  source: string | null;
415
424
  destination: string;
416
425
  routeTarget: string | null;
417
426
  originalTarget: string | null;
418
- inboundTag: string | null;
419
427
  inboundName: string | null;
420
428
  inboundLocal: string | null;
421
429
  outboundTag: string | null;
@@ -433,13 +441,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
433
441
  xrayReport: {
434
442
  network: string;
435
443
  email: string | null;
436
- level: number | null;
437
444
  protocol: string | null;
445
+ inboundTag: string | null;
446
+ level: number | null;
438
447
  source: string | null;
439
448
  destination: string;
440
449
  routeTarget: string | null;
441
450
  originalTarget: string | null;
442
- inboundTag: string | null;
443
451
  inboundName: string | null;
444
452
  inboundLocal: string | null;
445
453
  outboundTag: string | null;
@@ -473,13 +481,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
473
481
  xrayReport: {
474
482
  network: string;
475
483
  email: string | null;
476
- level: number | null;
477
484
  protocol: string | null;
485
+ inboundTag: string | null;
486
+ level: number | null;
478
487
  source: string | null;
479
488
  destination: string;
480
489
  routeTarget: string | null;
481
490
  originalTarget: string | null;
482
- inboundTag: string | null;
483
491
  inboundName: string | null;
484
492
  inboundLocal: string | null;
485
493
  outboundTag: string | null;
@@ -512,13 +520,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
512
520
  xrayReport: {
513
521
  network: string;
514
522
  email: string | null;
515
- level: number | null;
516
523
  protocol: string | null;
524
+ inboundTag: string | null;
525
+ level: number | null;
517
526
  source: string | null;
518
527
  destination: string;
519
528
  routeTarget: string | null;
520
529
  originalTarget: string | null;
521
- inboundTag: string | null;
522
530
  inboundName: string | null;
523
531
  inboundLocal: string | null;
524
532
  outboundTag: string | null;
@@ -555,13 +563,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
555
563
  xrayReport: {
556
564
  network: string;
557
565
  email: string | null;
558
- level: number | null;
559
566
  protocol: string | null;
567
+ inboundTag: string | null;
568
+ level: number | null;
560
569
  source: string | null;
561
570
  destination: string;
562
571
  routeTarget: string | null;
563
572
  originalTarget: string | null;
564
- inboundTag: string | null;
565
573
  inboundName: string | null;
566
574
  inboundLocal: string | null;
567
575
  outboundTag: string | null;
@@ -597,13 +605,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
597
605
  xrayReport: {
598
606
  network: string;
599
607
  email: string | null;
600
- level: number | null;
601
608
  protocol: string | null;
609
+ inboundTag: string | null;
610
+ level: number | null;
602
611
  source: string | null;
603
612
  destination: string;
604
613
  routeTarget: string | null;
605
614
  originalTarget: string | null;
606
- inboundTag: string | null;
607
615
  inboundName: string | null;
608
616
  inboundLocal: string | null;
609
617
  outboundTag: string | null;
@@ -641,13 +649,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
641
649
  xrayReport: {
642
650
  network: string;
643
651
  email: string | null;
644
- level: number | null;
645
652
  protocol: string | null;
653
+ inboundTag: string | null;
654
+ level: number | null;
646
655
  source: string | null;
647
656
  destination: string;
648
657
  routeTarget: string | null;
649
658
  originalTarget: string | null;
650
- inboundTag: string | null;
651
659
  inboundName: string | null;
652
660
  inboundLocal: string | null;
653
661
  outboundTag: string | null;
@@ -685,13 +693,13 @@ export declare namespace TruncateTorrentBlockerReportsCommand {
685
693
  xrayReport: {
686
694
  network: string;
687
695
  email: string | null;
688
- level: number | null;
689
696
  protocol: string | null;
697
+ inboundTag: string | null;
698
+ level: number | null;
690
699
  source: string | null;
691
700
  destination: string;
692
701
  routeTarget: string | null;
693
702
  originalTarget: string | null;
694
- inboundTag: string | null;
695
703
  inboundName: string | null;
696
704
  inboundLocal: string | null;
697
705
  outboundTag: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"truncate-torrent-blocker-reports.command.d.ts","sourceRoot":"","sources":["../../../../../commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,8CAAyD,CAAC;IACnE,MAAM,OAAO,8CAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"truncate-torrent-blocker-reports.command.d.ts","sourceRoot":"","sources":["../../../../../commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,8CAAyD,CAAC;IACnE,MAAM,OAAO,8CAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -22,15 +22,11 @@ export declare namespace DisableNodeCommand {
22
22
  isConnecting: z.ZodBoolean;
23
23
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
24
24
  lastStatusMessage: z.ZodNullable<z.ZodString>;
25
- xrayVersion: z.ZodNullable<z.ZodString>;
26
- nodeVersion: z.ZodNullable<z.ZodString>;
27
- xrayUptime: z.ZodString;
28
25
  isTrafficTrackingActive: z.ZodBoolean;
29
26
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
30
27
  trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
31
28
  trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
32
29
  notifyPercent: z.ZodNullable<z.ZodNumber>;
33
- usersOnline: z.ZodNullable<z.ZodNumber>;
34
30
  viewPosition: z.ZodNumber;
35
31
  countryCode: z.ZodString;
36
32
  consumptionMultiplier: z.ZodNumber;
@@ -253,6 +249,18 @@ export declare namespace DisableNodeCommand {
253
249
  networkInterfaces: string[];
254
250
  };
255
251
  }>>;
252
+ versions: z.ZodNullable<z.ZodObject<{
253
+ xray: z.ZodString;
254
+ node: z.ZodString;
255
+ }, "strip", z.ZodTypeAny, {
256
+ node: string;
257
+ xray: string;
258
+ }, {
259
+ node: string;
260
+ xray: string;
261
+ }>>;
262
+ xrayUptime: z.ZodNumber;
263
+ usersOnline: z.ZodNumber;
256
264
  }, "strip", z.ZodTypeAny, {
257
265
  tags: string[];
258
266
  system: {
@@ -304,14 +312,10 @@ export declare namespace DisableNodeCommand {
304
312
  isConnecting: boolean;
305
313
  lastStatusChange: Date | null;
306
314
  lastStatusMessage: string | null;
307
- xrayVersion: string | null;
308
- nodeVersion: string | null;
309
- xrayUptime: string;
310
315
  isTrafficTrackingActive: boolean;
311
316
  trafficResetDay: number | null;
312
317
  trafficUsedBytes: number | null;
313
318
  notifyPercent: number | null;
314
- usersOnline: number | null;
315
319
  consumptionMultiplier: number;
316
320
  configProfile: {
317
321
  activeConfigProfileUuid: string | null;
@@ -328,6 +332,12 @@ export declare namespace DisableNodeCommand {
328
332
  };
329
333
  providerUuid: string | null;
330
334
  activePluginUuid: string | null;
335
+ versions: {
336
+ node: string;
337
+ xray: string;
338
+ } | null;
339
+ xrayUptime: number;
340
+ usersOnline: number;
331
341
  }, {
332
342
  tags: string[];
333
343
  system: {
@@ -379,14 +389,10 @@ export declare namespace DisableNodeCommand {
379
389
  isConnecting: boolean;
380
390
  lastStatusChange: string | null;
381
391
  lastStatusMessage: string | null;
382
- xrayVersion: string | null;
383
- nodeVersion: string | null;
384
- xrayUptime: string;
385
392
  isTrafficTrackingActive: boolean;
386
393
  trafficResetDay: number | null;
387
394
  trafficUsedBytes: number | null;
388
395
  notifyPercent: number | null;
389
- usersOnline: number | null;
390
396
  consumptionMultiplier: number;
391
397
  configProfile: {
392
398
  activeConfigProfileUuid: string | null;
@@ -403,6 +409,12 @@ export declare namespace DisableNodeCommand {
403
409
  };
404
410
  providerUuid: string | null;
405
411
  activePluginUuid: string | null;
412
+ versions: {
413
+ node: string;
414
+ xray: string;
415
+ } | null;
416
+ xrayUptime: number;
417
+ usersOnline: number;
406
418
  }>;
407
419
  }, "strip", z.ZodTypeAny, {
408
420
  response: {
@@ -456,14 +468,10 @@ export declare namespace DisableNodeCommand {
456
468
  isConnecting: boolean;
457
469
  lastStatusChange: Date | null;
458
470
  lastStatusMessage: string | null;
459
- xrayVersion: string | null;
460
- nodeVersion: string | null;
461
- xrayUptime: string;
462
471
  isTrafficTrackingActive: boolean;
463
472
  trafficResetDay: number | null;
464
473
  trafficUsedBytes: number | null;
465
474
  notifyPercent: number | null;
466
- usersOnline: number | null;
467
475
  consumptionMultiplier: number;
468
476
  configProfile: {
469
477
  activeConfigProfileUuid: string | null;
@@ -480,6 +488,12 @@ export declare namespace DisableNodeCommand {
480
488
  };
481
489
  providerUuid: string | null;
482
490
  activePluginUuid: string | null;
491
+ versions: {
492
+ node: string;
493
+ xray: string;
494
+ } | null;
495
+ xrayUptime: number;
496
+ usersOnline: number;
483
497
  };
484
498
  }, {
485
499
  response: {
@@ -533,14 +547,10 @@ export declare namespace DisableNodeCommand {
533
547
  isConnecting: boolean;
534
548
  lastStatusChange: string | null;
535
549
  lastStatusMessage: string | null;
536
- xrayVersion: string | null;
537
- nodeVersion: string | null;
538
- xrayUptime: string;
539
550
  isTrafficTrackingActive: boolean;
540
551
  trafficResetDay: number | null;
541
552
  trafficUsedBytes: number | null;
542
553
  notifyPercent: number | null;
543
- usersOnline: number | null;
544
554
  consumptionMultiplier: number;
545
555
  configProfile: {
546
556
  activeConfigProfileUuid: string | null;
@@ -557,6 +567,12 @@ export declare namespace DisableNodeCommand {
557
567
  };
558
568
  providerUuid: string | null;
559
569
  activePluginUuid: string | null;
570
+ versions: {
571
+ node: string;
572
+ xray: string;
573
+ } | null;
574
+ xrayUptime: number;
575
+ usersOnline: number;
560
576
  };
561
577
  }>;
562
578
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,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3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -22,15 +22,11 @@ export declare namespace EnableNodeCommand {
22
22
  isConnecting: z.ZodBoolean;
23
23
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
24
24
  lastStatusMessage: z.ZodNullable<z.ZodString>;
25
- xrayVersion: z.ZodNullable<z.ZodString>;
26
- nodeVersion: z.ZodNullable<z.ZodString>;
27
- xrayUptime: z.ZodString;
28
25
  isTrafficTrackingActive: z.ZodBoolean;
29
26
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
30
27
  trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
31
28
  trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
32
29
  notifyPercent: z.ZodNullable<z.ZodNumber>;
33
- usersOnline: z.ZodNullable<z.ZodNumber>;
34
30
  viewPosition: z.ZodNumber;
35
31
  countryCode: z.ZodString;
36
32
  consumptionMultiplier: z.ZodNumber;
@@ -253,6 +249,18 @@ export declare namespace EnableNodeCommand {
253
249
  networkInterfaces: string[];
254
250
  };
255
251
  }>>;
252
+ versions: z.ZodNullable<z.ZodObject<{
253
+ xray: z.ZodString;
254
+ node: z.ZodString;
255
+ }, "strip", z.ZodTypeAny, {
256
+ node: string;
257
+ xray: string;
258
+ }, {
259
+ node: string;
260
+ xray: string;
261
+ }>>;
262
+ xrayUptime: z.ZodNumber;
263
+ usersOnline: z.ZodNumber;
256
264
  }, "strip", z.ZodTypeAny, {
257
265
  tags: string[];
258
266
  system: {
@@ -304,14 +312,10 @@ export declare namespace EnableNodeCommand {
304
312
  isConnecting: boolean;
305
313
  lastStatusChange: Date | null;
306
314
  lastStatusMessage: string | null;
307
- xrayVersion: string | null;
308
- nodeVersion: string | null;
309
- xrayUptime: string;
310
315
  isTrafficTrackingActive: boolean;
311
316
  trafficResetDay: number | null;
312
317
  trafficUsedBytes: number | null;
313
318
  notifyPercent: number | null;
314
- usersOnline: number | null;
315
319
  consumptionMultiplier: number;
316
320
  configProfile: {
317
321
  activeConfigProfileUuid: string | null;
@@ -328,6 +332,12 @@ export declare namespace EnableNodeCommand {
328
332
  };
329
333
  providerUuid: string | null;
330
334
  activePluginUuid: string | null;
335
+ versions: {
336
+ node: string;
337
+ xray: string;
338
+ } | null;
339
+ xrayUptime: number;
340
+ usersOnline: number;
331
341
  }, {
332
342
  tags: string[];
333
343
  system: {
@@ -379,14 +389,10 @@ export declare namespace EnableNodeCommand {
379
389
  isConnecting: boolean;
380
390
  lastStatusChange: string | null;
381
391
  lastStatusMessage: string | null;
382
- xrayVersion: string | null;
383
- nodeVersion: string | null;
384
- xrayUptime: string;
385
392
  isTrafficTrackingActive: boolean;
386
393
  trafficResetDay: number | null;
387
394
  trafficUsedBytes: number | null;
388
395
  notifyPercent: number | null;
389
- usersOnline: number | null;
390
396
  consumptionMultiplier: number;
391
397
  configProfile: {
392
398
  activeConfigProfileUuid: string | null;
@@ -403,6 +409,12 @@ export declare namespace EnableNodeCommand {
403
409
  };
404
410
  providerUuid: string | null;
405
411
  activePluginUuid: string | null;
412
+ versions: {
413
+ node: string;
414
+ xray: string;
415
+ } | null;
416
+ xrayUptime: number;
417
+ usersOnline: number;
406
418
  }>;
407
419
  }, "strip", z.ZodTypeAny, {
408
420
  response: {
@@ -456,14 +468,10 @@ export declare namespace EnableNodeCommand {
456
468
  isConnecting: boolean;
457
469
  lastStatusChange: Date | null;
458
470
  lastStatusMessage: string | null;
459
- xrayVersion: string | null;
460
- nodeVersion: string | null;
461
- xrayUptime: string;
462
471
  isTrafficTrackingActive: boolean;
463
472
  trafficResetDay: number | null;
464
473
  trafficUsedBytes: number | null;
465
474
  notifyPercent: number | null;
466
- usersOnline: number | null;
467
475
  consumptionMultiplier: number;
468
476
  configProfile: {
469
477
  activeConfigProfileUuid: string | null;
@@ -480,6 +488,12 @@ export declare namespace EnableNodeCommand {
480
488
  };
481
489
  providerUuid: string | null;
482
490
  activePluginUuid: string | null;
491
+ versions: {
492
+ node: string;
493
+ xray: string;
494
+ } | null;
495
+ xrayUptime: number;
496
+ usersOnline: number;
483
497
  };
484
498
  }, {
485
499
  response: {
@@ -533,14 +547,10 @@ export declare namespace EnableNodeCommand {
533
547
  isConnecting: boolean;
534
548
  lastStatusChange: string | null;
535
549
  lastStatusMessage: string | null;
536
- xrayVersion: string | null;
537
- nodeVersion: string | null;
538
- xrayUptime: string;
539
550
  isTrafficTrackingActive: boolean;
540
551
  trafficResetDay: number | null;
541
552
  trafficUsedBytes: number | null;
542
553
  notifyPercent: number | null;
543
- usersOnline: number | null;
544
554
  consumptionMultiplier: number;
545
555
  configProfile: {
546
556
  activeConfigProfileUuid: string | null;
@@ -557,6 +567,12 @@ export declare namespace EnableNodeCommand {
557
567
  };
558
568
  providerUuid: string | null;
559
569
  activePluginUuid: string | null;
570
+ versions: {
571
+ node: string;
572
+ xray: string;
573
+ } | null;
574
+ xrayUptime: number;
575
+ usersOnline: number;
560
576
  };
561
577
  }>;
562
578
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -14,15 +14,11 @@ export declare namespace ReorderNodeCommand {
14
14
  isConnecting: z.ZodBoolean;
15
15
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
16
16
  lastStatusMessage: z.ZodNullable<z.ZodString>;
17
- xrayVersion: z.ZodNullable<z.ZodString>;
18
- nodeVersion: z.ZodNullable<z.ZodString>;
19
- xrayUptime: z.ZodString;
20
17
  isTrafficTrackingActive: z.ZodBoolean;
21
18
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
22
19
  trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
23
20
  trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
24
21
  notifyPercent: z.ZodNullable<z.ZodNumber>;
25
- usersOnline: z.ZodNullable<z.ZodNumber>;
26
22
  viewPosition: z.ZodNumber;
27
23
  countryCode: z.ZodString;
28
24
  consumptionMultiplier: z.ZodNumber;
@@ -245,6 +241,18 @@ export declare namespace ReorderNodeCommand {
245
241
  networkInterfaces: string[];
246
242
  };
247
243
  }>>;
244
+ versions: z.ZodNullable<z.ZodObject<{
245
+ xray: z.ZodString;
246
+ node: z.ZodString;
247
+ }, "strip", z.ZodTypeAny, {
248
+ node: string;
249
+ xray: string;
250
+ }, {
251
+ node: string;
252
+ xray: string;
253
+ }>>;
254
+ xrayUptime: z.ZodNumber;
255
+ usersOnline: z.ZodNumber;
248
256
  }, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
249
257
  uuid: string;
250
258
  viewPosition: number;
@@ -275,15 +283,11 @@ export declare namespace ReorderNodeCommand {
275
283
  isConnecting: z.ZodBoolean;
276
284
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
277
285
  lastStatusMessage: z.ZodNullable<z.ZodString>;
278
- xrayVersion: z.ZodNullable<z.ZodString>;
279
- nodeVersion: z.ZodNullable<z.ZodString>;
280
- xrayUptime: z.ZodString;
281
286
  isTrafficTrackingActive: z.ZodBoolean;
282
287
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
283
288
  trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
284
289
  trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
285
290
  notifyPercent: z.ZodNullable<z.ZodNumber>;
286
- usersOnline: z.ZodNullable<z.ZodNumber>;
287
291
  viewPosition: z.ZodNumber;
288
292
  countryCode: z.ZodString;
289
293
  consumptionMultiplier: z.ZodNumber;
@@ -506,6 +510,18 @@ export declare namespace ReorderNodeCommand {
506
510
  networkInterfaces: string[];
507
511
  };
508
512
  }>>;
513
+ versions: z.ZodNullable<z.ZodObject<{
514
+ xray: z.ZodString;
515
+ node: z.ZodString;
516
+ }, "strip", z.ZodTypeAny, {
517
+ node: string;
518
+ xray: string;
519
+ }, {
520
+ node: string;
521
+ xray: string;
522
+ }>>;
523
+ xrayUptime: z.ZodNumber;
524
+ usersOnline: z.ZodNumber;
509
525
  }, "strip", z.ZodTypeAny, {
510
526
  tags: string[];
511
527
  system: {
@@ -557,14 +573,10 @@ export declare namespace ReorderNodeCommand {
557
573
  isConnecting: boolean;
558
574
  lastStatusChange: Date | null;
559
575
  lastStatusMessage: string | null;
560
- xrayVersion: string | null;
561
- nodeVersion: string | null;
562
- xrayUptime: string;
563
576
  isTrafficTrackingActive: boolean;
564
577
  trafficResetDay: number | null;
565
578
  trafficUsedBytes: number | null;
566
579
  notifyPercent: number | null;
567
- usersOnline: number | null;
568
580
  consumptionMultiplier: number;
569
581
  configProfile: {
570
582
  activeConfigProfileUuid: string | null;
@@ -581,6 +593,12 @@ export declare namespace ReorderNodeCommand {
581
593
  };
582
594
  providerUuid: string | null;
583
595
  activePluginUuid: string | null;
596
+ versions: {
597
+ node: string;
598
+ xray: string;
599
+ } | null;
600
+ xrayUptime: number;
601
+ usersOnline: number;
584
602
  }, {
585
603
  tags: string[];
586
604
  system: {
@@ -632,14 +650,10 @@ export declare namespace ReorderNodeCommand {
632
650
  isConnecting: boolean;
633
651
  lastStatusChange: string | null;
634
652
  lastStatusMessage: string | null;
635
- xrayVersion: string | null;
636
- nodeVersion: string | null;
637
- xrayUptime: string;
638
653
  isTrafficTrackingActive: boolean;
639
654
  trafficResetDay: number | null;
640
655
  trafficUsedBytes: number | null;
641
656
  notifyPercent: number | null;
642
- usersOnline: number | null;
643
657
  consumptionMultiplier: number;
644
658
  configProfile: {
645
659
  activeConfigProfileUuid: string | null;
@@ -656,6 +670,12 @@ export declare namespace ReorderNodeCommand {
656
670
  };
657
671
  providerUuid: string | null;
658
672
  activePluginUuid: string | null;
673
+ versions: {
674
+ node: string;
675
+ xray: string;
676
+ } | null;
677
+ xrayUptime: number;
678
+ usersOnline: number;
659
679
  }>, "many">;
660
680
  }, "strip", z.ZodTypeAny, {
661
681
  response: {
@@ -709,14 +729,10 @@ export declare namespace ReorderNodeCommand {
709
729
  isConnecting: boolean;
710
730
  lastStatusChange: Date | null;
711
731
  lastStatusMessage: string | null;
712
- xrayVersion: string | null;
713
- nodeVersion: string | null;
714
- xrayUptime: string;
715
732
  isTrafficTrackingActive: boolean;
716
733
  trafficResetDay: number | null;
717
734
  trafficUsedBytes: number | null;
718
735
  notifyPercent: number | null;
719
- usersOnline: number | null;
720
736
  consumptionMultiplier: number;
721
737
  configProfile: {
722
738
  activeConfigProfileUuid: string | null;
@@ -733,6 +749,12 @@ export declare namespace ReorderNodeCommand {
733
749
  };
734
750
  providerUuid: string | null;
735
751
  activePluginUuid: string | null;
752
+ versions: {
753
+ node: string;
754
+ xray: string;
755
+ } | null;
756
+ xrayUptime: number;
757
+ usersOnline: number;
736
758
  }[];
737
759
  }, {
738
760
  response: {
@@ -786,14 +808,10 @@ export declare namespace ReorderNodeCommand {
786
808
  isConnecting: boolean;
787
809
  lastStatusChange: string | null;
788
810
  lastStatusMessage: string | null;
789
- xrayVersion: string | null;
790
- nodeVersion: string | null;
791
- xrayUptime: string;
792
811
  isTrafficTrackingActive: boolean;
793
812
  trafficResetDay: number | null;
794
813
  trafficUsedBytes: number | null;
795
814
  notifyPercent: number | null;
796
- usersOnline: number | null;
797
815
  consumptionMultiplier: number;
798
816
  configProfile: {
799
817
  activeConfigProfileUuid: string | null;
@@ -810,6 +828,12 @@ export declare namespace ReorderNodeCommand {
810
828
  };
811
829
  providerUuid: string | null;
812
830
  activePluginUuid: string | null;
831
+ versions: {
832
+ node: string;
833
+ xray: string;
834
+ } | null;
835
+ xrayUptime: number;
836
+ usersOnline: number;
813
837
  }[];
814
838
  }>;
815
839
  type Response = z.infer<typeof ResponseSchema>;