@remnawave/backend-contract 2.8.7 → 2.8.9

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 (66) hide show
  1. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +5 -5
  2. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +5 -5
  3. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +5 -5
  4. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +5 -5
  5. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +5 -5
  6. package/build/backend/commands/hosts/create.command.d.ts +8 -8
  7. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  8. package/build/backend/commands/hosts/create.command.js +4 -5
  9. package/build/backend/commands/hosts/get-all.command.d.ts +5 -5
  10. package/build/backend/commands/hosts/get-one.command.d.ts +5 -5
  11. package/build/backend/commands/hosts/reorder.command.d.ts +1 -1
  12. package/build/backend/commands/hosts/update.command.d.ts +9 -9
  13. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  14. package/build/backend/commands/hosts/update.command.js +4 -5
  15. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +2 -0
  16. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  17. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +2 -0
  18. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  19. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +2 -0
  20. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
  21. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +2 -0
  22. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  23. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +1 -0
  24. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
  25. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +1 -0
  26. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -1
  27. package/build/backend/commands/nodes/actions/disable.command.d.ts +5 -0
  28. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  29. package/build/backend/commands/nodes/actions/enable.command.d.ts +5 -0
  30. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  31. package/build/backend/commands/nodes/actions/reorder.command.d.ts +6 -0
  32. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  33. package/build/backend/commands/nodes/create.command.d.ts +8 -0
  34. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  35. package/build/backend/commands/nodes/create.command.js +5 -0
  36. package/build/backend/commands/nodes/get-all.command.d.ts +5 -0
  37. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  38. package/build/backend/commands/nodes/get-one.command.d.ts +5 -0
  39. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  40. package/build/backend/commands/nodes/update.command.d.ts +9 -0
  41. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  42. package/build/backend/commands/nodes/update.command.js +5 -0
  43. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +9 -9
  44. package/build/backend/models/hosts.schema.d.ts +3 -3
  45. package/build/backend/models/hosts.schema.js +1 -1
  46. package/build/backend/models/infra-billing-available-node.schema.d.ts +1 -0
  47. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  48. package/build/backend/models/infra-billing-node.schema.d.ts +1 -0
  49. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  50. package/build/backend/models/nodes.schema.d.ts +3 -0
  51. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  52. package/build/backend/models/nodes.schema.js +1 -0
  53. package/build/backend/models/resolved-proxy-config.schema.d.ts +8 -8
  54. package/build/backend/models/resolved-proxy-config.schema.js +1 -1
  55. package/build/backend/models/torrent-blocker-report.schema.d.ts +1 -0
  56. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  57. package/build/backend/models/webhook/webhook.schema.d.ts +24 -0
  58. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  59. package/build/frontend/commands/hosts/create.command.js +4 -5
  60. package/build/frontend/commands/hosts/update.command.js +4 -5
  61. package/build/frontend/commands/nodes/create.command.js +5 -0
  62. package/build/frontend/commands/nodes/update.command.js +5 -0
  63. package/build/frontend/models/hosts.schema.js +1 -1
  64. package/build/frontend/models/nodes.schema.js +1 -0
  65. package/build/frontend/models/resolved-proxy-config.schema.js +1 -1
  66. package/package.json +1 -1
@@ -493,7 +493,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
493
493
  }>;
494
494
  metadata: z.ZodObject<{
495
495
  uuid: z.ZodString;
496
- tag: z.ZodNullable<z.ZodString>;
496
+ tags: z.ZodArray<z.ZodString, "many">;
497
497
  excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
498
498
  readonly XRAY_JSON: "XRAY_JSON";
499
499
  readonly XRAY_BASE64: "XRAY_BASE64";
@@ -512,8 +512,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
512
512
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
513
513
  rawInbound: z.ZodNullable<z.ZodUnknown>;
514
514
  }, "strip", z.ZodTypeAny, {
515
+ tags: string[];
515
516
  uuid: string;
516
- tag: string | null;
517
517
  viewPosition: number;
518
518
  remark: string;
519
519
  isDisabled: boolean;
@@ -525,8 +525,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
525
525
  inboundTag: string;
526
526
  rawInbound?: unknown;
527
527
  }, {
528
+ tags: string[];
528
529
  uuid: string;
529
- tag: string | null;
530
530
  viewPosition: number;
531
531
  remark: string;
532
532
  isDisabled: boolean;
@@ -540,8 +540,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
540
540
  }>;
541
541
  }, "strip", z.ZodTypeAny, {
542
542
  metadata: {
543
+ tags: string[];
543
544
  uuid: string;
544
- tag: string | null;
545
545
  viewPosition: number;
546
546
  remark: string;
547
547
  isDisabled: boolean;
@@ -648,8 +648,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
648
648
  mux?: unknown;
649
649
  }, {
650
650
  metadata: {
651
+ tags: string[];
651
652
  uuid: string;
652
- tag: string | null;
653
653
  viewPosition: number;
654
654
  remark: string;
655
655
  isDisabled: boolean;
@@ -802,8 +802,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
802
802
  };
803
803
  resolvedProxyConfigs: {
804
804
  metadata: {
805
+ tags: string[];
805
806
  uuid: string;
806
- tag: string | null;
807
807
  viewPosition: number;
808
808
  remark: string;
809
809
  isDisabled: boolean;
@@ -956,8 +956,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
956
956
  };
957
957
  resolvedProxyConfigs: {
958
958
  metadata: {
959
+ tags: string[];
959
960
  uuid: string;
960
- tag: string | null;
961
961
  viewPosition: number;
962
962
  remark: string;
963
963
  isDisabled: boolean;
@@ -1112,8 +1112,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1112
1112
  };
1113
1113
  resolvedProxyConfigs: {
1114
1114
  metadata: {
1115
+ tags: string[];
1115
1116
  uuid: string;
1116
- tag: string | null;
1117
1117
  viewPosition: number;
1118
1118
  remark: string;
1119
1119
  isDisabled: boolean;
@@ -1268,8 +1268,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1268
1268
  };
1269
1269
  resolvedProxyConfigs: {
1270
1270
  metadata: {
1271
+ tags: string[];
1271
1272
  uuid: string;
1272
- tag: string | null;
1273
1273
  viewPosition: number;
1274
1274
  remark: string;
1275
1275
  isDisabled: boolean;
@@ -31,7 +31,7 @@ export declare const HostsSchema: z.ZodObject<{
31
31
  configProfileInboundUuid: string | null;
32
32
  }>;
33
33
  serverDescription: z.ZodNullable<z.ZodString>;
34
- tag: z.ZodNullable<z.ZodString>;
34
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
35
35
  isHidden: z.ZodDefault<z.ZodBoolean>;
36
36
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
37
37
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -60,9 +60,9 @@ export declare const HostsSchema: z.ZodObject<{
60
60
  }>, "many">>;
61
61
  }, "strip", z.ZodTypeAny, {
62
62
  nodes: string[];
63
+ tags: string[];
63
64
  path: string | null;
64
65
  uuid: string;
65
- tag: string | null;
66
66
  port: number;
67
67
  viewPosition: number;
68
68
  remark: string;
@@ -98,7 +98,6 @@ export declare const HostsSchema: z.ZodObject<{
98
98
  nodes: string[];
99
99
  path: string | null;
100
100
  uuid: string;
101
- tag: string | null;
102
101
  port: number;
103
102
  viewPosition: number;
104
103
  remark: string;
@@ -120,6 +119,7 @@ export declare const HostsSchema: z.ZodObject<{
120
119
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
121
120
  xrayJsonTemplateUuid: string | null;
122
121
  excludedInternalSquads: string[];
122
+ tags?: string[] | undefined;
123
123
  isDisabled?: boolean | undefined;
124
124
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
125
125
  xHttpExtraParams?: unknown;
@@ -26,7 +26,7 @@ exports.HostsSchema = zod_1.z.object({
26
26
  configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
27
27
  }),
28
28
  serverDescription: zod_1.z.string().max(30).nullable(),
29
- tag: zod_1.z.string().nullable(),
29
+ tags: zod_1.z.array(zod_1.z.string()).default([]),
30
30
  isHidden: zod_1.z.boolean().default(false),
31
31
  overrideSniFromAddress: zod_1.z.boolean().default(false),
32
32
  keepSniBlank: zod_1.z.boolean().default(false),
@@ -3,6 +3,7 @@ export declare const InfraBillingAvailableNodeSchema: import("zod").ZodObject<Pi
3
3
  name: import("zod").ZodString;
4
4
  address: import("zod").ZodString;
5
5
  port: import("zod").ZodNullable<import("zod").ZodNumber>;
6
+ proxyUrl: import("zod").ZodNullable<import("zod").ZodString>;
6
7
  isConnected: import("zod").ZodBoolean;
7
8
  isDisabled: import("zod").ZodBoolean;
8
9
  isConnecting: import("zod").ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
1
+ {"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
@@ -26,6 +26,7 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
26
26
  name: z.ZodString;
27
27
  address: z.ZodString;
28
28
  port: z.ZodNullable<z.ZodNumber>;
29
+ proxyUrl: z.ZodNullable<z.ZodString>;
29
30
  isConnected: z.ZodBoolean;
30
31
  isDisabled: z.ZodBoolean;
31
32
  isConnecting: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
1
+ {"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
@@ -4,6 +4,7 @@ export declare const NodesSchema: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  address: z.ZodString;
6
6
  port: z.ZodNullable<z.ZodNumber>;
7
+ proxyUrl: z.ZodNullable<z.ZodString>;
7
8
  isConnected: z.ZodBoolean;
8
9
  isDisabled: z.ZodBoolean;
9
10
  isConnecting: z.ZodBoolean;
@@ -296,6 +297,7 @@ export declare const NodesSchema: z.ZodObject<{
296
297
  trafficLimitBytes: number | null;
297
298
  address: string;
298
299
  isDisabled: boolean;
300
+ proxyUrl: string | null;
299
301
  isConnected: boolean;
300
302
  isConnecting: boolean;
301
303
  lastStatusChange: Date | null;
@@ -374,6 +376,7 @@ export declare const NodesSchema: z.ZodObject<{
374
376
  trafficLimitBytes: number | null;
375
377
  address: string;
376
378
  isDisabled: boolean;
379
+ proxyUrl: string | null;
377
380
  isConnected: boolean;
378
381
  isConnecting: boolean;
379
382
  lastStatusChange: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDtB,CAAC"}
1
+ {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDtB,CAAC"}
@@ -10,6 +10,7 @@ exports.NodesSchema = zod_1.z.object({
10
10
  name: zod_1.z.string(),
11
11
  address: zod_1.z.string(),
12
12
  port: zod_1.z.nullable(zod_1.z.number().int()),
13
+ proxyUrl: zod_1.z.nullable(zod_1.z.string()),
13
14
  isConnected: zod_1.z.boolean(),
14
15
  isDisabled: zod_1.z.boolean(),
15
16
  isConnecting: zod_1.z.boolean(),
@@ -820,7 +820,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
820
820
  }>]>;
821
821
  export declare const ProxyEntryMetadataSchema: z.ZodObject<{
822
822
  uuid: z.ZodString;
823
- tag: z.ZodNullable<z.ZodString>;
823
+ tags: z.ZodArray<z.ZodString, "many">;
824
824
  excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
825
825
  readonly XRAY_JSON: "XRAY_JSON";
826
826
  readonly XRAY_BASE64: "XRAY_BASE64";
@@ -839,8 +839,8 @@ export declare const ProxyEntryMetadataSchema: z.ZodObject<{
839
839
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
840
840
  rawInbound: z.ZodNullable<z.ZodUnknown>;
841
841
  }, "strip", z.ZodTypeAny, {
842
+ tags: string[];
842
843
  uuid: string;
843
- tag: string | null;
844
844
  viewPosition: number;
845
845
  remark: string;
846
846
  isDisabled: boolean;
@@ -852,8 +852,8 @@ export declare const ProxyEntryMetadataSchema: z.ZodObject<{
852
852
  inboundTag: string;
853
853
  rawInbound?: unknown;
854
854
  }, {
855
+ tags: string[];
855
856
  uuid: string;
856
- tag: string | null;
857
857
  viewPosition: number;
858
858
  remark: string;
859
859
  isDisabled: boolean;
@@ -1181,7 +1181,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1181
1181
  }>;
1182
1182
  metadata: z.ZodObject<{
1183
1183
  uuid: z.ZodString;
1184
- tag: z.ZodNullable<z.ZodString>;
1184
+ tags: z.ZodArray<z.ZodString, "many">;
1185
1185
  excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
1186
1186
  readonly XRAY_JSON: "XRAY_JSON";
1187
1187
  readonly XRAY_BASE64: "XRAY_BASE64";
@@ -1200,8 +1200,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1200
1200
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
1201
1201
  rawInbound: z.ZodNullable<z.ZodUnknown>;
1202
1202
  }, "strip", z.ZodTypeAny, {
1203
+ tags: string[];
1203
1204
  uuid: string;
1204
- tag: string | null;
1205
1205
  viewPosition: number;
1206
1206
  remark: string;
1207
1207
  isDisabled: boolean;
@@ -1213,8 +1213,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1213
1213
  inboundTag: string;
1214
1214
  rawInbound?: unknown;
1215
1215
  }, {
1216
+ tags: string[];
1216
1217
  uuid: string;
1217
- tag: string | null;
1218
1218
  viewPosition: number;
1219
1219
  remark: string;
1220
1220
  isDisabled: boolean;
@@ -1228,8 +1228,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1228
1228
  }>;
1229
1229
  }, "strip", z.ZodTypeAny, {
1230
1230
  metadata: {
1231
+ tags: string[];
1231
1232
  uuid: string;
1232
- tag: string | null;
1233
1233
  viewPosition: number;
1234
1234
  remark: string;
1235
1235
  isDisabled: boolean;
@@ -1336,8 +1336,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1336
1336
  mux?: unknown;
1337
1337
  }, {
1338
1338
  metadata: {
1339
+ tags: string[];
1339
1340
  uuid: string;
1340
- tag: string | null;
1341
1341
  viewPosition: number;
1342
1342
  remark: string;
1343
1343
  isDisabled: boolean;
@@ -170,7 +170,7 @@ exports.SecurityVariantSchema = zod_1.z.discriminatedUnion('security', [
170
170
  ]);
171
171
  exports.ProxyEntryMetadataSchema = zod_1.z.object({
172
172
  uuid: zod_1.z.string().uuid(),
173
- tag: zod_1.z.string().nullable(),
173
+ tags: zod_1.z.array(zod_1.z.string()),
174
174
  excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE)),
175
175
  inboundTag: zod_1.z.string(),
176
176
  configProfileUuid: zod_1.z.string().uuid().nullable(),
@@ -80,6 +80,7 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
80
80
  name: z.ZodString;
81
81
  address: z.ZodString;
82
82
  port: z.ZodNullable<z.ZodNumber>;
83
+ proxyUrl: z.ZodNullable<z.ZodString>;
83
84
  isConnected: z.ZodBoolean;
84
85
  isDisabled: z.ZodBoolean;
85
86
  isConnecting: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"torrent-blocker-report.schema.d.ts","sourceRoot":"","sources":["../../../models/torrent-blocker-report.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDrC,CAAC"}
@@ -618,6 +618,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
618
618
  name: z.ZodString;
619
619
  address: z.ZodString;
620
620
  port: z.ZodNullable<z.ZodNumber>;
621
+ proxyUrl: z.ZodNullable<z.ZodString>;
621
622
  isConnected: z.ZodBoolean;
622
623
  isDisabled: z.ZodBoolean;
623
624
  isConnecting: z.ZodBoolean;
@@ -910,6 +911,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
910
911
  trafficLimitBytes: number | null;
911
912
  address: string;
912
913
  isDisabled: boolean;
914
+ proxyUrl: string | null;
913
915
  isConnected: boolean;
914
916
  isConnecting: boolean;
915
917
  lastStatusChange: Date | null;
@@ -988,6 +990,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
988
990
  trafficLimitBytes: number | null;
989
991
  address: string;
990
992
  isDisabled: boolean;
993
+ proxyUrl: string | null;
991
994
  isConnected: boolean;
992
995
  isConnecting: boolean;
993
996
  lastStatusChange: string | null;
@@ -1068,6 +1071,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
1068
1071
  trafficLimitBytes: number | null;
1069
1072
  address: string;
1070
1073
  isDisabled: boolean;
1074
+ proxyUrl: string | null;
1071
1075
  isConnected: boolean;
1072
1076
  isConnecting: boolean;
1073
1077
  lastStatusChange: Date | null;
@@ -1151,6 +1155,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
1151
1155
  trafficLimitBytes: number | null;
1152
1156
  address: string;
1153
1157
  isDisabled: boolean;
1158
+ proxyUrl: string | null;
1154
1159
  isConnected: boolean;
1155
1160
  isConnecting: boolean;
1156
1161
  lastStatusChange: string | null;
@@ -1363,6 +1368,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1363
1368
  name: z.ZodString;
1364
1369
  address: z.ZodString;
1365
1370
  port: z.ZodNullable<z.ZodNumber>;
1371
+ proxyUrl: z.ZodNullable<z.ZodString>;
1366
1372
  isConnected: z.ZodBoolean;
1367
1373
  isDisabled: z.ZodBoolean;
1368
1374
  isConnecting: z.ZodBoolean;
@@ -1655,6 +1661,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1655
1661
  trafficLimitBytes: number | null;
1656
1662
  address: string;
1657
1663
  isDisabled: boolean;
1664
+ proxyUrl: string | null;
1658
1665
  isConnected: boolean;
1659
1666
  isConnecting: boolean;
1660
1667
  lastStatusChange: Date | null;
@@ -1733,6 +1740,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1733
1740
  trafficLimitBytes: number | null;
1734
1741
  address: string;
1735
1742
  isDisabled: boolean;
1743
+ proxyUrl: string | null;
1736
1744
  isConnected: boolean;
1737
1745
  isConnecting: boolean;
1738
1746
  lastStatusChange: string | null;
@@ -2100,6 +2108,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2100
2108
  trafficLimitBytes: number | null;
2101
2109
  address: string;
2102
2110
  isDisabled: boolean;
2111
+ proxyUrl: string | null;
2103
2112
  isConnected: boolean;
2104
2113
  isConnecting: boolean;
2105
2114
  lastStatusChange: Date | null;
@@ -2241,6 +2250,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2241
2250
  trafficLimitBytes: number | null;
2242
2251
  address: string;
2243
2252
  isDisabled: boolean;
2253
+ proxyUrl: string | null;
2244
2254
  isConnected: boolean;
2245
2255
  isConnecting: boolean;
2246
2256
  lastStatusChange: string | null;
@@ -2384,6 +2394,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2384
2394
  trafficLimitBytes: number | null;
2385
2395
  address: string;
2386
2396
  isDisabled: boolean;
2397
+ proxyUrl: string | null;
2387
2398
  isConnected: boolean;
2388
2399
  isConnecting: boolean;
2389
2400
  lastStatusChange: Date | null;
@@ -2530,6 +2541,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2530
2541
  trafficLimitBytes: number | null;
2531
2542
  address: string;
2532
2543
  isDisabled: boolean;
2544
+ proxyUrl: string | null;
2533
2545
  isConnected: boolean;
2534
2546
  isConnecting: boolean;
2535
2547
  lastStatusChange: string | null;
@@ -3209,6 +3221,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3209
3221
  name: z.ZodString;
3210
3222
  address: z.ZodString;
3211
3223
  port: z.ZodNullable<z.ZodNumber>;
3224
+ proxyUrl: z.ZodNullable<z.ZodString>;
3212
3225
  isConnected: z.ZodBoolean;
3213
3226
  isDisabled: z.ZodBoolean;
3214
3227
  isConnecting: z.ZodBoolean;
@@ -3501,6 +3514,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3501
3514
  trafficLimitBytes: number | null;
3502
3515
  address: string;
3503
3516
  isDisabled: boolean;
3517
+ proxyUrl: string | null;
3504
3518
  isConnected: boolean;
3505
3519
  isConnecting: boolean;
3506
3520
  lastStatusChange: Date | null;
@@ -3579,6 +3593,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3579
3593
  trafficLimitBytes: number | null;
3580
3594
  address: string;
3581
3595
  isDisabled: boolean;
3596
+ proxyUrl: string | null;
3582
3597
  isConnected: boolean;
3583
3598
  isConnecting: boolean;
3584
3599
  lastStatusChange: string | null;
@@ -3659,6 +3674,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3659
3674
  trafficLimitBytes: number | null;
3660
3675
  address: string;
3661
3676
  isDisabled: boolean;
3677
+ proxyUrl: string | null;
3662
3678
  isConnected: boolean;
3663
3679
  isConnecting: boolean;
3664
3680
  lastStatusChange: Date | null;
@@ -3742,6 +3758,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3742
3758
  trafficLimitBytes: number | null;
3743
3759
  address: string;
3744
3760
  isDisabled: boolean;
3761
+ proxyUrl: string | null;
3745
3762
  isConnected: boolean;
3746
3763
  isConnecting: boolean;
3747
3764
  lastStatusChange: string | null;
@@ -3950,6 +3967,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3950
3967
  name: z.ZodString;
3951
3968
  address: z.ZodString;
3952
3969
  port: z.ZodNullable<z.ZodNumber>;
3970
+ proxyUrl: z.ZodNullable<z.ZodString>;
3953
3971
  isConnected: z.ZodBoolean;
3954
3972
  isDisabled: z.ZodBoolean;
3955
3973
  isConnecting: z.ZodBoolean;
@@ -4242,6 +4260,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4242
4260
  trafficLimitBytes: number | null;
4243
4261
  address: string;
4244
4262
  isDisabled: boolean;
4263
+ proxyUrl: string | null;
4245
4264
  isConnected: boolean;
4246
4265
  isConnecting: boolean;
4247
4266
  lastStatusChange: Date | null;
@@ -4320,6 +4339,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4320
4339
  trafficLimitBytes: number | null;
4321
4340
  address: string;
4322
4341
  isDisabled: boolean;
4342
+ proxyUrl: string | null;
4323
4343
  isConnected: boolean;
4324
4344
  isConnecting: boolean;
4325
4345
  lastStatusChange: string | null;
@@ -4687,6 +4707,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4687
4707
  trafficLimitBytes: number | null;
4688
4708
  address: string;
4689
4709
  isDisabled: boolean;
4710
+ proxyUrl: string | null;
4690
4711
  isConnected: boolean;
4691
4712
  isConnecting: boolean;
4692
4713
  lastStatusChange: Date | null;
@@ -4828,6 +4849,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4828
4849
  trafficLimitBytes: number | null;
4829
4850
  address: string;
4830
4851
  isDisabled: boolean;
4852
+ proxyUrl: string | null;
4831
4853
  isConnected: boolean;
4832
4854
  isConnecting: boolean;
4833
4855
  lastStatusChange: string | null;
@@ -4971,6 +4993,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4971
4993
  trafficLimitBytes: number | null;
4972
4994
  address: string;
4973
4995
  isDisabled: boolean;
4996
+ proxyUrl: string | null;
4974
4997
  isConnected: boolean;
4975
4998
  isConnecting: boolean;
4976
4999
  lastStatusChange: Date | null;
@@ -5117,6 +5140,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
5117
5140
  trafficLimitBytes: number | null;
5118
5141
  address: string;
5119
5142
  isDisabled: boolean;
5143
+ proxyUrl: string | null;
5120
5144
  isConnected: boolean;
5121
5145
  isConnecting: boolean;
5122
5146
  lastStatusChange: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.schema.d.ts","sourceRoot":"","sources":["../../../../models/webhook/webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACpF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACpF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAC1F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACxF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,qCAAqC,CAC/C,CAAC;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,oCAAoC,CAC9C,CAAC"}
@@ -50,13 +50,12 @@ var CreateHostCommand;
50
50
  message: 'Server description must be less than 30 characters',
51
51
  })
52
52
  .nullable()),
53
- tag: zod_1.z
54
- .optional(zod_1.z
53
+ tags: zod_1.z.optional(zod_1.z
54
+ .array(zod_1.z
55
55
  .string()
56
56
  .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
57
- .max(32, 'Tag must be less than 32 characters')
58
- .nullable())
59
- .describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
57
+ .max(36, 'Each tag must be less than 36 characters'))
58
+ .max(10, 'Maximum 10 tags')),
60
59
  isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
61
60
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean().default(false)),
62
61
  keepSniBlank: zod_1.z.optional(zod_1.z.boolean().default(false)),
@@ -55,13 +55,12 @@ var UpdateHostCommand;
55
55
  message: 'Server description must be less than 30 characters',
56
56
  })
57
57
  .nullable()),
58
- tag: zod_1.z
59
- .optional(zod_1.z
58
+ tags: zod_1.z.optional(zod_1.z
59
+ .array(zod_1.z
60
60
  .string()
61
61
  .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
62
- .max(32, 'Tag must be less than 32 characters')
63
- .nullable())
64
- .describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
62
+ .max(36, 'Each tag must be less than 36 characters'))
63
+ .max(10, 'Maximum 10 tags')),
65
64
  isHidden: zod_1.z.optional(zod_1.z.boolean()),
66
65
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean()),
67
66
  keepSniBlank: zod_1.z.optional(zod_1.z.boolean()),
@@ -19,6 +19,11 @@ var CreateNodeCommand;
19
19
  .min(1, 'Port is required')
20
20
  .max(65535, 'Port must be less than 65535')
21
21
  .optional(),
22
+ proxyUrl: zod_1.z
23
+ .string()
24
+ .regex(/^socks5:\/\/(?:[^:@/\s]+(?::[^@/\s]*)?@)?[^:@/\s]+:\d{1,5}$/, 'Expected socks5://[user:pass@]host:port')
25
+ .nullable()
26
+ .optional(),
22
27
  isTrafficTrackingActive: zod_1.z.boolean().optional().default(false),
23
28
  trafficLimitBytes: zod_1.z.optional(zod_1.z.number().min(0, 'Traffic limit must be greater than 0')),
24
29
  notifyPercent: zod_1.z.optional(zod_1.z
@@ -19,6 +19,11 @@ var UpdateNodeCommand;
19
19
  .number()
20
20
  .min(1, 'Port must be greater than 0')
21
21
  .max(65535, 'Port must be less than 65535')),
22
+ proxyUrl: zod_1.z
23
+ .string()
24
+ .regex(/^socks5:\/\/(?:[^:@/\s]+(?::[^@/\s]*)?@)?[^:@/\s]+:\d{1,5}$/, 'Expected socks5://[user:pass@]host:port')
25
+ .nullable()
26
+ .optional(),
22
27
  isTrafficTrackingActive: zod_1.z.optional(zod_1.z.boolean()),
23
28
  trafficLimitBytes: zod_1.z.optional(zod_1.z.number().min(0, 'Traffic limit must be greater than 0')),
24
29
  notifyPercent: zod_1.z.optional(zod_1.z
@@ -26,7 +26,7 @@ exports.HostsSchema = zod_1.z.object({
26
26
  configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
27
27
  }),
28
28
  serverDescription: zod_1.z.string().max(30).nullable(),
29
- tag: zod_1.z.string().nullable(),
29
+ tags: zod_1.z.array(zod_1.z.string()).default([]),
30
30
  isHidden: zod_1.z.boolean().default(false),
31
31
  overrideSniFromAddress: zod_1.z.boolean().default(false),
32
32
  keepSniBlank: zod_1.z.boolean().default(false),
@@ -10,6 +10,7 @@ exports.NodesSchema = zod_1.z.object({
10
10
  name: zod_1.z.string(),
11
11
  address: zod_1.z.string(),
12
12
  port: zod_1.z.nullable(zod_1.z.number().int()),
13
+ proxyUrl: zod_1.z.nullable(zod_1.z.string()),
13
14
  isConnected: zod_1.z.boolean(),
14
15
  isDisabled: zod_1.z.boolean(),
15
16
  isConnecting: zod_1.z.boolean(),
@@ -170,7 +170,7 @@ exports.SecurityVariantSchema = zod_1.z.discriminatedUnion('security', [
170
170
  ]);
171
171
  exports.ProxyEntryMetadataSchema = zod_1.z.object({
172
172
  uuid: zod_1.z.string().uuid(),
173
- tag: zod_1.z.string().nullable(),
173
+ tags: zod_1.z.array(zod_1.z.string()),
174
174
  excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE)),
175
175
  inboundTag: zod_1.z.string(),
176
176
  configProfileUuid: zod_1.z.string().uuid().nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.8.7",
3
+ "version": "2.8.9",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",