@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
@@ -44,7 +44,7 @@ export declare namespace BulkDeleteHostsCommand {
44
44
  configProfileInboundUuid: string | null;
45
45
  }>;
46
46
  serverDescription: z.ZodNullable<z.ZodString>;
47
- tag: z.ZodNullable<z.ZodString>;
47
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
48
48
  isHidden: z.ZodDefault<z.ZodBoolean>;
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -73,9 +73,9 @@ export declare namespace BulkDeleteHostsCommand {
73
73
  }>, "many">>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  nodes: string[];
76
+ tags: string[];
76
77
  path: string | null;
77
78
  uuid: string;
78
- tag: string | null;
79
79
  port: number;
80
80
  viewPosition: number;
81
81
  remark: string;
@@ -111,7 +111,6 @@ export declare namespace BulkDeleteHostsCommand {
111
111
  nodes: string[];
112
112
  path: string | null;
113
113
  uuid: string;
114
- tag: string | null;
115
114
  port: number;
116
115
  viewPosition: number;
117
116
  remark: string;
@@ -133,6 +132,7 @@ export declare namespace BulkDeleteHostsCommand {
133
132
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
134
133
  xrayJsonTemplateUuid: string | null;
135
134
  excludedInternalSquads: string[];
135
+ tags?: string[] | undefined;
136
136
  isDisabled?: boolean | undefined;
137
137
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
138
138
  xHttpExtraParams?: unknown;
@@ -147,9 +147,9 @@ export declare namespace BulkDeleteHostsCommand {
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  response: {
149
149
  nodes: string[];
150
+ tags: string[];
150
151
  path: string | null;
151
152
  uuid: string;
152
- tag: string | null;
153
153
  port: number;
154
154
  viewPosition: number;
155
155
  remark: string;
@@ -187,7 +187,6 @@ export declare namespace BulkDeleteHostsCommand {
187
187
  nodes: string[];
188
188
  path: string | null;
189
189
  uuid: string;
190
- tag: string | null;
191
190
  port: number;
192
191
  viewPosition: number;
193
192
  remark: string;
@@ -209,6 +208,7 @@ export declare namespace BulkDeleteHostsCommand {
209
208
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
210
209
  xrayJsonTemplateUuid: string | null;
211
210
  excludedInternalSquads: string[];
211
+ tags?: string[] | undefined;
212
212
  isDisabled?: boolean | undefined;
213
213
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
214
214
  xHttpExtraParams?: unknown;
@@ -44,7 +44,7 @@ export declare namespace BulkDisableHostsCommand {
44
44
  configProfileInboundUuid: string | null;
45
45
  }>;
46
46
  serverDescription: z.ZodNullable<z.ZodString>;
47
- tag: z.ZodNullable<z.ZodString>;
47
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
48
48
  isHidden: z.ZodDefault<z.ZodBoolean>;
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -73,9 +73,9 @@ export declare namespace BulkDisableHostsCommand {
73
73
  }>, "many">>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  nodes: string[];
76
+ tags: string[];
76
77
  path: string | null;
77
78
  uuid: string;
78
- tag: string | null;
79
79
  port: number;
80
80
  viewPosition: number;
81
81
  remark: string;
@@ -111,7 +111,6 @@ export declare namespace BulkDisableHostsCommand {
111
111
  nodes: string[];
112
112
  path: string | null;
113
113
  uuid: string;
114
- tag: string | null;
115
114
  port: number;
116
115
  viewPosition: number;
117
116
  remark: string;
@@ -133,6 +132,7 @@ export declare namespace BulkDisableHostsCommand {
133
132
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
134
133
  xrayJsonTemplateUuid: string | null;
135
134
  excludedInternalSquads: string[];
135
+ tags?: string[] | undefined;
136
136
  isDisabled?: boolean | undefined;
137
137
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
138
138
  xHttpExtraParams?: unknown;
@@ -147,9 +147,9 @@ export declare namespace BulkDisableHostsCommand {
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  response: {
149
149
  nodes: string[];
150
+ tags: string[];
150
151
  path: string | null;
151
152
  uuid: string;
152
- tag: string | null;
153
153
  port: number;
154
154
  viewPosition: number;
155
155
  remark: string;
@@ -187,7 +187,6 @@ export declare namespace BulkDisableHostsCommand {
187
187
  nodes: string[];
188
188
  path: string | null;
189
189
  uuid: string;
190
- tag: string | null;
191
190
  port: number;
192
191
  viewPosition: number;
193
192
  remark: string;
@@ -209,6 +208,7 @@ export declare namespace BulkDisableHostsCommand {
209
208
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
210
209
  xrayJsonTemplateUuid: string | null;
211
210
  excludedInternalSquads: string[];
211
+ tags?: string[] | undefined;
212
212
  isDisabled?: boolean | undefined;
213
213
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
214
214
  xHttpExtraParams?: unknown;
@@ -44,7 +44,7 @@ export declare namespace BulkEnableHostsCommand {
44
44
  configProfileInboundUuid: string | null;
45
45
  }>;
46
46
  serverDescription: z.ZodNullable<z.ZodString>;
47
- tag: z.ZodNullable<z.ZodString>;
47
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
48
48
  isHidden: z.ZodDefault<z.ZodBoolean>;
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -73,9 +73,9 @@ export declare namespace BulkEnableHostsCommand {
73
73
  }>, "many">>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  nodes: string[];
76
+ tags: string[];
76
77
  path: string | null;
77
78
  uuid: string;
78
- tag: string | null;
79
79
  port: number;
80
80
  viewPosition: number;
81
81
  remark: string;
@@ -111,7 +111,6 @@ export declare namespace BulkEnableHostsCommand {
111
111
  nodes: string[];
112
112
  path: string | null;
113
113
  uuid: string;
114
- tag: string | null;
115
114
  port: number;
116
115
  viewPosition: number;
117
116
  remark: string;
@@ -133,6 +132,7 @@ export declare namespace BulkEnableHostsCommand {
133
132
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
134
133
  xrayJsonTemplateUuid: string | null;
135
134
  excludedInternalSquads: string[];
135
+ tags?: string[] | undefined;
136
136
  isDisabled?: boolean | undefined;
137
137
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
138
138
  xHttpExtraParams?: unknown;
@@ -147,9 +147,9 @@ export declare namespace BulkEnableHostsCommand {
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  response: {
149
149
  nodes: string[];
150
+ tags: string[];
150
151
  path: string | null;
151
152
  uuid: string;
152
- tag: string | null;
153
153
  port: number;
154
154
  viewPosition: number;
155
155
  remark: string;
@@ -187,7 +187,6 @@ export declare namespace BulkEnableHostsCommand {
187
187
  nodes: string[];
188
188
  path: string | null;
189
189
  uuid: string;
190
- tag: string | null;
191
190
  port: number;
192
191
  viewPosition: number;
193
192
  remark: string;
@@ -209,6 +208,7 @@ export declare namespace BulkEnableHostsCommand {
209
208
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
210
209
  xrayJsonTemplateUuid: string | null;
211
210
  excludedInternalSquads: string[];
211
+ tags?: string[] | undefined;
212
212
  isDisabled?: boolean | undefined;
213
213
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
214
214
  xHttpExtraParams?: unknown;
@@ -50,7 +50,7 @@ export declare namespace SetInboundToManyHostsCommand {
50
50
  configProfileInboundUuid: string | null;
51
51
  }>;
52
52
  serverDescription: z.ZodNullable<z.ZodString>;
53
- tag: z.ZodNullable<z.ZodString>;
53
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
54
54
  isHidden: z.ZodDefault<z.ZodBoolean>;
55
55
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
56
56
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -79,9 +79,9 @@ export declare namespace SetInboundToManyHostsCommand {
79
79
  }>, "many">>;
80
80
  }, "strip", z.ZodTypeAny, {
81
81
  nodes: string[];
82
+ tags: string[];
82
83
  path: string | null;
83
84
  uuid: string;
84
- tag: string | null;
85
85
  port: number;
86
86
  viewPosition: number;
87
87
  remark: string;
@@ -117,7 +117,6 @@ export declare namespace SetInboundToManyHostsCommand {
117
117
  nodes: string[];
118
118
  path: string | null;
119
119
  uuid: string;
120
- tag: string | null;
121
120
  port: number;
122
121
  viewPosition: number;
123
122
  remark: string;
@@ -139,6 +138,7 @@ export declare namespace SetInboundToManyHostsCommand {
139
138
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
140
139
  xrayJsonTemplateUuid: string | null;
141
140
  excludedInternalSquads: string[];
141
+ tags?: string[] | undefined;
142
142
  isDisabled?: boolean | undefined;
143
143
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
144
144
  xHttpExtraParams?: unknown;
@@ -153,9 +153,9 @@ export declare namespace SetInboundToManyHostsCommand {
153
153
  }, "strip", z.ZodTypeAny, {
154
154
  response: {
155
155
  nodes: string[];
156
+ tags: string[];
156
157
  path: string | null;
157
158
  uuid: string;
158
- tag: string | null;
159
159
  port: number;
160
160
  viewPosition: number;
161
161
  remark: string;
@@ -193,7 +193,6 @@ export declare namespace SetInboundToManyHostsCommand {
193
193
  nodes: string[];
194
194
  path: string | null;
195
195
  uuid: string;
196
- tag: string | null;
197
196
  port: number;
198
197
  viewPosition: number;
199
198
  remark: string;
@@ -215,6 +214,7 @@ export declare namespace SetInboundToManyHostsCommand {
215
214
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
216
215
  xrayJsonTemplateUuid: string | null;
217
216
  excludedInternalSquads: string[];
217
+ tags?: string[] | undefined;
218
218
  isDisabled?: boolean | undefined;
219
219
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
220
220
  xHttpExtraParams?: unknown;
@@ -47,7 +47,7 @@ export declare namespace SetPortToManyHostsCommand {
47
47
  configProfileInboundUuid: string | null;
48
48
  }>;
49
49
  serverDescription: z.ZodNullable<z.ZodString>;
50
- tag: z.ZodNullable<z.ZodString>;
50
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
51
51
  isHidden: z.ZodDefault<z.ZodBoolean>;
52
52
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
53
53
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -76,9 +76,9 @@ export declare namespace SetPortToManyHostsCommand {
76
76
  }>, "many">>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  nodes: string[];
79
+ tags: string[];
79
80
  path: string | null;
80
81
  uuid: string;
81
- tag: string | null;
82
82
  port: number;
83
83
  viewPosition: number;
84
84
  remark: string;
@@ -114,7 +114,6 @@ export declare namespace SetPortToManyHostsCommand {
114
114
  nodes: string[];
115
115
  path: string | null;
116
116
  uuid: string;
117
- tag: string | null;
118
117
  port: number;
119
118
  viewPosition: number;
120
119
  remark: string;
@@ -136,6 +135,7 @@ export declare namespace SetPortToManyHostsCommand {
136
135
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
137
136
  xrayJsonTemplateUuid: string | null;
138
137
  excludedInternalSquads: string[];
138
+ tags?: string[] | undefined;
139
139
  isDisabled?: boolean | undefined;
140
140
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
141
141
  xHttpExtraParams?: unknown;
@@ -150,9 +150,9 @@ export declare namespace SetPortToManyHostsCommand {
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  response: {
152
152
  nodes: string[];
153
+ tags: string[];
153
154
  path: string | null;
154
155
  uuid: string;
155
- tag: string | null;
156
156
  port: number;
157
157
  viewPosition: number;
158
158
  remark: string;
@@ -190,7 +190,6 @@ export declare namespace SetPortToManyHostsCommand {
190
190
  nodes: string[];
191
191
  path: string | null;
192
192
  uuid: string;
193
- tag: string | null;
194
193
  port: number;
195
194
  viewPosition: number;
196
195
  remark: string;
@@ -212,6 +211,7 @@ export declare namespace SetPortToManyHostsCommand {
212
211
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
213
212
  xrayJsonTemplateUuid: string | null;
214
213
  excludedInternalSquads: string[];
214
+ tags?: string[] | undefined;
215
215
  isDisabled?: boolean | undefined;
216
216
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
217
217
  xHttpExtraParams?: unknown;
@@ -50,7 +50,7 @@ export declare namespace CreateHostCommand {
50
50
  sockoptParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
51
51
  finalMask: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
52
52
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
- tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
54
54
  isHidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
55
55
  overrideSniFromAddress: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
56
56
  keepSniBlank: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -86,8 +86,8 @@ export declare namespace CreateHostCommand {
86
86
  configProfileInboundUuid: string;
87
87
  };
88
88
  nodes?: string[] | undefined;
89
+ tags?: string[] | undefined;
89
90
  path?: string | undefined;
90
- tag?: string | null | undefined;
91
91
  sni?: string | undefined;
92
92
  host?: string | undefined;
93
93
  alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
@@ -120,8 +120,8 @@ export declare namespace CreateHostCommand {
120
120
  configProfileInboundUuid: string;
121
121
  };
122
122
  nodes?: string[] | undefined;
123
+ tags?: string[] | undefined;
123
124
  path?: string | undefined;
124
- tag?: string | null | undefined;
125
125
  sni?: string | undefined;
126
126
  host?: string | undefined;
127
127
  alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
@@ -180,7 +180,7 @@ export declare namespace CreateHostCommand {
180
180
  configProfileInboundUuid: string | null;
181
181
  }>;
182
182
  serverDescription: z.ZodNullable<z.ZodString>;
183
- tag: z.ZodNullable<z.ZodString>;
183
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
184
184
  isHidden: z.ZodDefault<z.ZodBoolean>;
185
185
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
186
186
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -209,9 +209,9 @@ export declare namespace CreateHostCommand {
209
209
  }>, "many">>;
210
210
  }, "strip", z.ZodTypeAny, {
211
211
  nodes: string[];
212
+ tags: string[];
212
213
  path: string | null;
213
214
  uuid: string;
214
- tag: string | null;
215
215
  port: number;
216
216
  viewPosition: number;
217
217
  remark: string;
@@ -247,7 +247,6 @@ export declare namespace CreateHostCommand {
247
247
  nodes: string[];
248
248
  path: string | null;
249
249
  uuid: string;
250
- tag: string | null;
251
250
  port: number;
252
251
  viewPosition: number;
253
252
  remark: string;
@@ -269,6 +268,7 @@ export declare namespace CreateHostCommand {
269
268
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
270
269
  xrayJsonTemplateUuid: string | null;
271
270
  excludedInternalSquads: string[];
271
+ tags?: string[] | undefined;
272
272
  isDisabled?: boolean | undefined;
273
273
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
274
274
  xHttpExtraParams?: unknown;
@@ -283,9 +283,9 @@ export declare namespace CreateHostCommand {
283
283
  }, "strip", z.ZodTypeAny, {
284
284
  response: {
285
285
  nodes: string[];
286
+ tags: string[];
286
287
  path: string | null;
287
288
  uuid: string;
288
- tag: string | null;
289
289
  port: number;
290
290
  viewPosition: number;
291
291
  remark: string;
@@ -323,7 +323,6 @@ export declare namespace CreateHostCommand {
323
323
  nodes: string[];
324
324
  path: string | null;
325
325
  uuid: string;
326
- tag: string | null;
327
326
  port: number;
328
327
  viewPosition: number;
329
328
  remark: string;
@@ -345,6 +344,7 @@ export declare namespace CreateHostCommand {
345
344
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
346
345
  xrayJsonTemplateUuid: string | null;
347
346
  excludedInternalSquads: string[];
347
+ tags?: string[] | undefined;
348
348
  isDisabled?: boolean | undefined;
349
349
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
350
350
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -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)),
@@ -36,7 +36,7 @@ export declare namespace GetAllHostsCommand {
36
36
  configProfileInboundUuid: string | null;
37
37
  }>;
38
38
  serverDescription: z.ZodNullable<z.ZodString>;
39
- tag: z.ZodNullable<z.ZodString>;
39
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
40
40
  isHidden: z.ZodDefault<z.ZodBoolean>;
41
41
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
42
42
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -65,9 +65,9 @@ export declare namespace GetAllHostsCommand {
65
65
  }>, "many">>;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  nodes: string[];
68
+ tags: string[];
68
69
  path: string | null;
69
70
  uuid: string;
70
- tag: string | null;
71
71
  port: number;
72
72
  viewPosition: number;
73
73
  remark: string;
@@ -103,7 +103,6 @@ export declare namespace GetAllHostsCommand {
103
103
  nodes: string[];
104
104
  path: string | null;
105
105
  uuid: string;
106
- tag: string | null;
107
106
  port: number;
108
107
  viewPosition: number;
109
108
  remark: string;
@@ -125,6 +124,7 @@ export declare namespace GetAllHostsCommand {
125
124
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
126
125
  xrayJsonTemplateUuid: string | null;
127
126
  excludedInternalSquads: string[];
127
+ tags?: string[] | undefined;
128
128
  isDisabled?: boolean | undefined;
129
129
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
130
130
  xHttpExtraParams?: unknown;
@@ -139,9 +139,9 @@ export declare namespace GetAllHostsCommand {
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  response: {
141
141
  nodes: string[];
142
+ tags: string[];
142
143
  path: string | null;
143
144
  uuid: string;
144
- tag: string | null;
145
145
  port: number;
146
146
  viewPosition: number;
147
147
  remark: string;
@@ -179,7 +179,6 @@ export declare namespace GetAllHostsCommand {
179
179
  nodes: string[];
180
180
  path: string | null;
181
181
  uuid: string;
182
- tag: string | null;
183
182
  port: number;
184
183
  viewPosition: number;
185
184
  remark: string;
@@ -201,6 +200,7 @@ export declare namespace GetAllHostsCommand {
201
200
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
202
201
  xrayJsonTemplateUuid: string | null;
203
202
  excludedInternalSquads: string[];
203
+ tags?: string[] | undefined;
204
204
  isDisabled?: boolean | undefined;
205
205
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
206
206
  xHttpExtraParams?: unknown;
@@ -44,7 +44,7 @@ export declare namespace GetOneHostCommand {
44
44
  configProfileInboundUuid: string | null;
45
45
  }>;
46
46
  serverDescription: z.ZodNullable<z.ZodString>;
47
- tag: z.ZodNullable<z.ZodString>;
47
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
48
48
  isHidden: z.ZodDefault<z.ZodBoolean>;
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -73,9 +73,9 @@ export declare namespace GetOneHostCommand {
73
73
  }>, "many">>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  nodes: string[];
76
+ tags: string[];
76
77
  path: string | null;
77
78
  uuid: string;
78
- tag: string | null;
79
79
  port: number;
80
80
  viewPosition: number;
81
81
  remark: string;
@@ -111,7 +111,6 @@ export declare namespace GetOneHostCommand {
111
111
  nodes: string[];
112
112
  path: string | null;
113
113
  uuid: string;
114
- tag: string | null;
115
114
  port: number;
116
115
  viewPosition: number;
117
116
  remark: string;
@@ -133,6 +132,7 @@ export declare namespace GetOneHostCommand {
133
132
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
134
133
  xrayJsonTemplateUuid: string | null;
135
134
  excludedInternalSquads: string[];
135
+ tags?: string[] | undefined;
136
136
  isDisabled?: boolean | undefined;
137
137
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
138
138
  xHttpExtraParams?: unknown;
@@ -147,9 +147,9 @@ export declare namespace GetOneHostCommand {
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  response: {
149
149
  nodes: string[];
150
+ tags: string[];
150
151
  path: string | null;
151
152
  uuid: string;
152
- tag: string | null;
153
153
  port: number;
154
154
  viewPosition: number;
155
155
  remark: string;
@@ -187,7 +187,6 @@ export declare namespace GetOneHostCommand {
187
187
  nodes: string[];
188
188
  path: string | null;
189
189
  uuid: string;
190
- tag: string | null;
191
190
  port: number;
192
191
  viewPosition: number;
193
192
  remark: string;
@@ -209,6 +208,7 @@ export declare namespace GetOneHostCommand {
209
208
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
210
209
  xrayJsonTemplateUuid: string | null;
211
210
  excludedInternalSquads: string[];
211
+ tags?: string[] | undefined;
212
212
  isDisabled?: boolean | undefined;
213
213
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
214
214
  xHttpExtraParams?: unknown;
@@ -36,7 +36,7 @@ export declare namespace ReorderHostCommand {
36
36
  configProfileInboundUuid: string | null;
37
37
  }>;
38
38
  serverDescription: z.ZodNullable<z.ZodString>;
39
- tag: z.ZodNullable<z.ZodString>;
39
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
40
40
  isHidden: z.ZodDefault<z.ZodBoolean>;
41
41
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
42
42
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -35,7 +35,7 @@ export declare namespace UpdateHostCommand {
35
35
  configProfileInboundUuid: string | null;
36
36
  }>;
37
37
  serverDescription: z.ZodNullable<z.ZodString>;
38
- tag: z.ZodNullable<z.ZodString>;
38
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
39
39
  isHidden: z.ZodDefault<z.ZodBoolean>;
40
40
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
41
41
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -109,7 +109,7 @@ export declare namespace UpdateHostCommand {
109
109
  sockoptParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
110
110
  finalMask: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
111
111
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
- tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
113
113
  isHidden: z.ZodOptional<z.ZodBoolean>;
114
114
  overrideSniFromAddress: z.ZodOptional<z.ZodBoolean>;
115
115
  keepSniBlank: z.ZodOptional<z.ZodBoolean>;
@@ -139,8 +139,8 @@ export declare namespace UpdateHostCommand {
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  uuid: string;
141
141
  nodes?: string[] | undefined;
142
+ tags?: string[] | undefined;
142
143
  path?: string | undefined;
143
- tag?: string | null | undefined;
144
144
  port?: number | undefined;
145
145
  remark?: string | undefined;
146
146
  address?: string | undefined;
@@ -174,8 +174,8 @@ export declare namespace UpdateHostCommand {
174
174
  }, {
175
175
  uuid: string;
176
176
  nodes?: string[] | undefined;
177
+ tags?: string[] | undefined;
177
178
  path?: string | undefined;
178
- tag?: string | null | undefined;
179
179
  port?: number | undefined;
180
180
  remark?: string | undefined;
181
181
  address?: string | undefined;
@@ -241,7 +241,7 @@ export declare namespace UpdateHostCommand {
241
241
  configProfileInboundUuid: string | null;
242
242
  }>;
243
243
  serverDescription: z.ZodNullable<z.ZodString>;
244
- tag: z.ZodNullable<z.ZodString>;
244
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
245
245
  isHidden: z.ZodDefault<z.ZodBoolean>;
246
246
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
247
247
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
@@ -270,9 +270,9 @@ export declare namespace UpdateHostCommand {
270
270
  }>, "many">>;
271
271
  }, "strip", z.ZodTypeAny, {
272
272
  nodes: string[];
273
+ tags: string[];
273
274
  path: string | null;
274
275
  uuid: string;
275
- tag: string | null;
276
276
  port: number;
277
277
  viewPosition: number;
278
278
  remark: string;
@@ -308,7 +308,6 @@ export declare namespace UpdateHostCommand {
308
308
  nodes: string[];
309
309
  path: string | null;
310
310
  uuid: string;
311
- tag: string | null;
312
311
  port: number;
313
312
  viewPosition: number;
314
313
  remark: string;
@@ -330,6 +329,7 @@ export declare namespace UpdateHostCommand {
330
329
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
331
330
  xrayJsonTemplateUuid: string | null;
332
331
  excludedInternalSquads: string[];
332
+ tags?: string[] | undefined;
333
333
  isDisabled?: boolean | undefined;
334
334
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
335
335
  xHttpExtraParams?: unknown;
@@ -344,9 +344,9 @@ export declare namespace UpdateHostCommand {
344
344
  }, "strip", z.ZodTypeAny, {
345
345
  response: {
346
346
  nodes: string[];
347
+ tags: string[];
347
348
  path: string | null;
348
349
  uuid: string;
349
- tag: string | null;
350
350
  port: number;
351
351
  viewPosition: number;
352
352
  remark: string;
@@ -384,7 +384,6 @@ export declare namespace UpdateHostCommand {
384
384
  nodes: string[];
385
385
  path: string | null;
386
386
  uuid: string;
387
- tag: string | null;
388
387
  port: number;
389
388
  viewPosition: number;
390
389
  remark: string;
@@ -406,6 +405,7 @@ export declare namespace UpdateHostCommand {
406
405
  mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
407
406
  xrayJsonTemplateUuid: string | null;
408
407
  excludedInternalSquads: string[];
408
+ tags?: string[] | undefined;
409
409
  isDisabled?: boolean | undefined;
410
410
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
411
411
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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