@remnawave/backend-contract 2.3.33 → 2.3.35

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 (41) hide show
  1. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +5 -0
  2. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  3. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +5 -0
  4. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  5. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +5 -0
  6. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  7. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +5 -0
  8. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  9. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +5 -0
  10. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  11. package/build/backend/commands/hosts/create.command.d.ts +8 -0
  12. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  13. package/build/backend/commands/hosts/create.command.js +1 -0
  14. package/build/backend/commands/hosts/get-all.command.d.ts +5 -0
  15. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/get-one.command.d.ts +5 -0
  17. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  18. package/build/backend/commands/hosts/reorder.command.d.ts +1 -0
  19. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  20. package/build/backend/commands/hosts/update.command.d.ts +9 -0
  21. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  22. package/build/backend/commands/hosts/update.command.js +1 -0
  23. package/build/backend/constants/index.d.ts +0 -1
  24. package/build/backend/constants/index.d.ts.map +1 -1
  25. package/build/backend/constants/index.js +0 -1
  26. package/build/backend/models/hosts.schema.d.ts +3 -0
  27. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  28. package/build/backend/models/hosts.schema.js +1 -0
  29. package/build/frontend/commands/hosts/create.command.js +1 -0
  30. package/build/frontend/commands/hosts/update.command.js +1 -0
  31. package/build/frontend/constants/index.js +0 -1
  32. package/build/frontend/models/hosts.schema.js +1 -0
  33. package/package.json +1 -1
  34. package/build/backend/constants/messaging/index.d.ts +0 -2
  35. package/build/backend/constants/messaging/index.d.ts.map +0 -1
  36. package/build/backend/constants/messaging/index.js +0 -17
  37. package/build/backend/constants/messaging/messaging.constants.d.ts +0 -13
  38. package/build/backend/constants/messaging/messaging.constants.d.ts.map +0 -1
  39. package/build/backend/constants/messaging/messaging.constants.js +0 -19
  40. package/build/frontend/constants/messaging/index.js +0 -17
  41. package/build/frontend/constants/messaging/messaging.constants.js +0 -19
@@ -46,6 +46,7 @@ export declare namespace BulkDeleteHostsCommand {
46
46
  tag: z.ZodNullable<z.ZodString>;
47
47
  isHidden: z.ZodDefault<z.ZodBoolean>;
48
48
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
49
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
49
50
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
50
51
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
52
  shuffleHost: z.ZodBoolean;
@@ -75,6 +76,7 @@ export declare namespace BulkDeleteHostsCommand {
75
76
  serverDescription: string | null;
76
77
  isHidden: boolean;
77
78
  overrideSniFromAddress: boolean;
79
+ keepSniBlank: boolean;
78
80
  vlessRouteId: number | null;
79
81
  allowInsecure: boolean;
80
82
  shuffleHost: boolean;
@@ -114,6 +116,7 @@ export declare namespace BulkDeleteHostsCommand {
114
116
  sockoptParams?: unknown;
115
117
  isHidden?: boolean | undefined;
116
118
  overrideSniFromAddress?: boolean | undefined;
119
+ keepSniBlank?: boolean | undefined;
117
120
  allowInsecure?: boolean | undefined;
118
121
  }>, "many">;
119
122
  }, "strip", z.ZodTypeAny, {
@@ -139,6 +142,7 @@ export declare namespace BulkDeleteHostsCommand {
139
142
  serverDescription: string | null;
140
143
  isHidden: boolean;
141
144
  overrideSniFromAddress: boolean;
145
+ keepSniBlank: boolean;
142
146
  vlessRouteId: number | null;
143
147
  allowInsecure: boolean;
144
148
  shuffleHost: boolean;
@@ -180,6 +184,7 @@ export declare namespace BulkDeleteHostsCommand {
180
184
  sockoptParams?: unknown;
181
185
  isHidden?: boolean | undefined;
182
186
  overrideSniFromAddress?: boolean | undefined;
187
+ keepSniBlank?: boolean | undefined;
183
188
  allowInsecure?: boolean | undefined;
184
189
  }[];
185
190
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/delete-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,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"}
1
+ {"version":3,"file":"delete-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/delete-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,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"}
@@ -46,6 +46,7 @@ export declare namespace BulkDisableHostsCommand {
46
46
  tag: z.ZodNullable<z.ZodString>;
47
47
  isHidden: z.ZodDefault<z.ZodBoolean>;
48
48
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
49
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
49
50
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
50
51
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
52
  shuffleHost: z.ZodBoolean;
@@ -75,6 +76,7 @@ export declare namespace BulkDisableHostsCommand {
75
76
  serverDescription: string | null;
76
77
  isHidden: boolean;
77
78
  overrideSniFromAddress: boolean;
79
+ keepSniBlank: boolean;
78
80
  vlessRouteId: number | null;
79
81
  allowInsecure: boolean;
80
82
  shuffleHost: boolean;
@@ -114,6 +116,7 @@ export declare namespace BulkDisableHostsCommand {
114
116
  sockoptParams?: unknown;
115
117
  isHidden?: boolean | undefined;
116
118
  overrideSniFromAddress?: boolean | undefined;
119
+ keepSniBlank?: boolean | undefined;
117
120
  allowInsecure?: boolean | undefined;
118
121
  }>, "many">;
119
122
  }, "strip", z.ZodTypeAny, {
@@ -139,6 +142,7 @@ export declare namespace BulkDisableHostsCommand {
139
142
  serverDescription: string | null;
140
143
  isHidden: boolean;
141
144
  overrideSniFromAddress: boolean;
145
+ keepSniBlank: boolean;
142
146
  vlessRouteId: number | null;
143
147
  allowInsecure: boolean;
144
148
  shuffleHost: boolean;
@@ -180,6 +184,7 @@ export declare namespace BulkDisableHostsCommand {
180
184
  sockoptParams?: unknown;
181
185
  isHidden?: boolean | undefined;
182
186
  overrideSniFromAddress?: boolean | undefined;
187
+ keepSniBlank?: boolean | undefined;
183
188
  allowInsecure?: boolean | undefined;
184
189
  }[];
185
190
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,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"}
1
+ {"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,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"}
@@ -46,6 +46,7 @@ export declare namespace BulkEnableHostsCommand {
46
46
  tag: z.ZodNullable<z.ZodString>;
47
47
  isHidden: z.ZodDefault<z.ZodBoolean>;
48
48
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
49
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
49
50
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
50
51
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
52
  shuffleHost: z.ZodBoolean;
@@ -75,6 +76,7 @@ export declare namespace BulkEnableHostsCommand {
75
76
  serverDescription: string | null;
76
77
  isHidden: boolean;
77
78
  overrideSniFromAddress: boolean;
79
+ keepSniBlank: boolean;
78
80
  vlessRouteId: number | null;
79
81
  allowInsecure: boolean;
80
82
  shuffleHost: boolean;
@@ -114,6 +116,7 @@ export declare namespace BulkEnableHostsCommand {
114
116
  sockoptParams?: unknown;
115
117
  isHidden?: boolean | undefined;
116
118
  overrideSniFromAddress?: boolean | undefined;
119
+ keepSniBlank?: boolean | undefined;
117
120
  allowInsecure?: boolean | undefined;
118
121
  }>, "many">;
119
122
  }, "strip", z.ZodTypeAny, {
@@ -139,6 +142,7 @@ export declare namespace BulkEnableHostsCommand {
139
142
  serverDescription: string | null;
140
143
  isHidden: boolean;
141
144
  overrideSniFromAddress: boolean;
145
+ keepSniBlank: boolean;
142
146
  vlessRouteId: number | null;
143
147
  allowInsecure: boolean;
144
148
  shuffleHost: boolean;
@@ -180,6 +184,7 @@ export declare namespace BulkEnableHostsCommand {
180
184
  sockoptParams?: unknown;
181
185
  isHidden?: boolean | undefined;
182
186
  overrideSniFromAddress?: boolean | undefined;
187
+ keepSniBlank?: boolean | undefined;
183
188
  allowInsecure?: boolean | undefined;
184
189
  }[];
185
190
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,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"}
1
+ {"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,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"}
@@ -52,6 +52,7 @@ export declare namespace SetInboundToManyHostsCommand {
52
52
  tag: z.ZodNullable<z.ZodString>;
53
53
  isHidden: z.ZodDefault<z.ZodBoolean>;
54
54
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
55
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
55
56
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
56
57
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
57
58
  shuffleHost: z.ZodBoolean;
@@ -81,6 +82,7 @@ export declare namespace SetInboundToManyHostsCommand {
81
82
  serverDescription: string | null;
82
83
  isHidden: boolean;
83
84
  overrideSniFromAddress: boolean;
85
+ keepSniBlank: boolean;
84
86
  vlessRouteId: number | null;
85
87
  allowInsecure: boolean;
86
88
  shuffleHost: boolean;
@@ -120,6 +122,7 @@ export declare namespace SetInboundToManyHostsCommand {
120
122
  sockoptParams?: unknown;
121
123
  isHidden?: boolean | undefined;
122
124
  overrideSniFromAddress?: boolean | undefined;
125
+ keepSniBlank?: boolean | undefined;
123
126
  allowInsecure?: boolean | undefined;
124
127
  }>, "many">;
125
128
  }, "strip", z.ZodTypeAny, {
@@ -145,6 +148,7 @@ export declare namespace SetInboundToManyHostsCommand {
145
148
  serverDescription: string | null;
146
149
  isHidden: boolean;
147
150
  overrideSniFromAddress: boolean;
151
+ keepSniBlank: boolean;
148
152
  vlessRouteId: number | null;
149
153
  allowInsecure: boolean;
150
154
  shuffleHost: boolean;
@@ -186,6 +190,7 @@ export declare namespace SetInboundToManyHostsCommand {
186
190
  sockoptParams?: unknown;
187
191
  isHidden?: boolean | undefined;
188
192
  overrideSniFromAddress?: boolean | undefined;
193
+ keepSniBlank?: boolean | undefined;
189
194
  allowInsecure?: boolean | undefined;
190
195
  }[];
191
196
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,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"}
1
+ {"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,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"}
@@ -49,6 +49,7 @@ export declare namespace SetPortToManyHostsCommand {
49
49
  tag: z.ZodNullable<z.ZodString>;
50
50
  isHidden: z.ZodDefault<z.ZodBoolean>;
51
51
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
52
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
52
53
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
53
54
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
54
55
  shuffleHost: z.ZodBoolean;
@@ -78,6 +79,7 @@ export declare namespace SetPortToManyHostsCommand {
78
79
  serverDescription: string | null;
79
80
  isHidden: boolean;
80
81
  overrideSniFromAddress: boolean;
82
+ keepSniBlank: boolean;
81
83
  vlessRouteId: number | null;
82
84
  allowInsecure: boolean;
83
85
  shuffleHost: boolean;
@@ -117,6 +119,7 @@ export declare namespace SetPortToManyHostsCommand {
117
119
  sockoptParams?: unknown;
118
120
  isHidden?: boolean | undefined;
119
121
  overrideSniFromAddress?: boolean | undefined;
122
+ keepSniBlank?: boolean | undefined;
120
123
  allowInsecure?: boolean | undefined;
121
124
  }>, "many">;
122
125
  }, "strip", z.ZodTypeAny, {
@@ -142,6 +145,7 @@ export declare namespace SetPortToManyHostsCommand {
142
145
  serverDescription: string | null;
143
146
  isHidden: boolean;
144
147
  overrideSniFromAddress: boolean;
148
+ keepSniBlank: boolean;
145
149
  vlessRouteId: number | null;
146
150
  allowInsecure: boolean;
147
151
  shuffleHost: boolean;
@@ -183,6 +187,7 @@ export declare namespace SetPortToManyHostsCommand {
183
187
  sockoptParams?: unknown;
184
188
  isHidden?: boolean | undefined;
185
189
  overrideSniFromAddress?: boolean | undefined;
190
+ keepSniBlank?: boolean | undefined;
186
191
  allowInsecure?: boolean | undefined;
187
192
  }[];
188
193
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,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"}
1
+ {"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,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"}
@@ -52,6 +52,7 @@ export declare namespace CreateHostCommand {
52
52
  tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  isHidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
54
54
  overrideSniFromAddress: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
55
+ keepSniBlank: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
55
56
  allowInsecure: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
56
57
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
58
  shuffleHost: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -82,6 +83,7 @@ export declare namespace CreateHostCommand {
82
83
  serverDescription?: string | null | undefined;
83
84
  isHidden?: boolean | undefined;
84
85
  overrideSniFromAddress?: boolean | undefined;
86
+ keepSniBlank?: boolean | undefined;
85
87
  vlessRouteId?: number | null | undefined;
86
88
  allowInsecure?: boolean | undefined;
87
89
  shuffleHost?: boolean | undefined;
@@ -111,6 +113,7 @@ export declare namespace CreateHostCommand {
111
113
  serverDescription?: string | null | undefined;
112
114
  isHidden?: boolean | undefined;
113
115
  overrideSniFromAddress?: boolean | undefined;
116
+ keepSniBlank?: boolean | undefined;
114
117
  vlessRouteId?: number | null | undefined;
115
118
  allowInsecure?: boolean | undefined;
116
119
  shuffleHost?: boolean | undefined;
@@ -154,6 +157,7 @@ export declare namespace CreateHostCommand {
154
157
  tag: z.ZodNullable<z.ZodString>;
155
158
  isHidden: z.ZodDefault<z.ZodBoolean>;
156
159
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
160
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
157
161
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
158
162
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
159
163
  shuffleHost: z.ZodBoolean;
@@ -183,6 +187,7 @@ export declare namespace CreateHostCommand {
183
187
  serverDescription: string | null;
184
188
  isHidden: boolean;
185
189
  overrideSniFromAddress: boolean;
190
+ keepSniBlank: boolean;
186
191
  vlessRouteId: number | null;
187
192
  allowInsecure: boolean;
188
193
  shuffleHost: boolean;
@@ -222,6 +227,7 @@ export declare namespace CreateHostCommand {
222
227
  sockoptParams?: unknown;
223
228
  isHidden?: boolean | undefined;
224
229
  overrideSniFromAddress?: boolean | undefined;
230
+ keepSniBlank?: boolean | undefined;
225
231
  allowInsecure?: boolean | undefined;
226
232
  }>;
227
233
  }, "strip", z.ZodTypeAny, {
@@ -247,6 +253,7 @@ export declare namespace CreateHostCommand {
247
253
  serverDescription: string | null;
248
254
  isHidden: boolean;
249
255
  overrideSniFromAddress: boolean;
256
+ keepSniBlank: boolean;
250
257
  vlessRouteId: number | null;
251
258
  allowInsecure: boolean;
252
259
  shuffleHost: boolean;
@@ -288,6 +295,7 @@ export declare namespace CreateHostCommand {
288
295
  sockoptParams?: unknown;
289
296
  isHidden?: boolean | undefined;
290
297
  overrideSniFromAddress?: boolean | undefined;
298
+ keepSniBlank?: boolean | undefined;
291
299
  allowInsecure?: boolean | undefined;
292
300
  };
293
301
  }>;
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmExB,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"}
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoExB,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"}
@@ -58,6 +58,7 @@ var CreateHostCommand;
58
58
  .describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
59
59
  isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
60
60
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean().default(false)),
61
+ keepSniBlank: zod_1.z.optional(zod_1.z.boolean().default(false)),
61
62
  allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
62
63
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
63
64
  shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
@@ -38,6 +38,7 @@ export declare namespace GetAllHostsCommand {
38
38
  tag: z.ZodNullable<z.ZodString>;
39
39
  isHidden: z.ZodDefault<z.ZodBoolean>;
40
40
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
41
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
41
42
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
42
43
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
43
44
  shuffleHost: z.ZodBoolean;
@@ -67,6 +68,7 @@ export declare namespace GetAllHostsCommand {
67
68
  serverDescription: string | null;
68
69
  isHidden: boolean;
69
70
  overrideSniFromAddress: boolean;
71
+ keepSniBlank: boolean;
70
72
  vlessRouteId: number | null;
71
73
  allowInsecure: boolean;
72
74
  shuffleHost: boolean;
@@ -106,6 +108,7 @@ export declare namespace GetAllHostsCommand {
106
108
  sockoptParams?: unknown;
107
109
  isHidden?: boolean | undefined;
108
110
  overrideSniFromAddress?: boolean | undefined;
111
+ keepSniBlank?: boolean | undefined;
109
112
  allowInsecure?: boolean | undefined;
110
113
  }>, "many">;
111
114
  }, "strip", z.ZodTypeAny, {
@@ -131,6 +134,7 @@ export declare namespace GetAllHostsCommand {
131
134
  serverDescription: string | null;
132
135
  isHidden: boolean;
133
136
  overrideSniFromAddress: boolean;
137
+ keepSniBlank: boolean;
134
138
  vlessRouteId: number | null;
135
139
  allowInsecure: boolean;
136
140
  shuffleHost: boolean;
@@ -172,6 +176,7 @@ export declare namespace GetAllHostsCommand {
172
176
  sockoptParams?: unknown;
173
177
  isHidden?: boolean | undefined;
174
178
  overrideSniFromAddress?: boolean | undefined;
179
+ keepSniBlank?: boolean | undefined;
175
180
  allowInsecure?: boolean | undefined;
176
181
  }[];
177
182
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -46,6 +46,7 @@ export declare namespace GetOneHostCommand {
46
46
  tag: z.ZodNullable<z.ZodString>;
47
47
  isHidden: z.ZodDefault<z.ZodBoolean>;
48
48
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
49
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
49
50
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
50
51
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
52
  shuffleHost: z.ZodBoolean;
@@ -75,6 +76,7 @@ export declare namespace GetOneHostCommand {
75
76
  serverDescription: string | null;
76
77
  isHidden: boolean;
77
78
  overrideSniFromAddress: boolean;
79
+ keepSniBlank: boolean;
78
80
  vlessRouteId: number | null;
79
81
  allowInsecure: boolean;
80
82
  shuffleHost: boolean;
@@ -114,6 +116,7 @@ export declare namespace GetOneHostCommand {
114
116
  sockoptParams?: unknown;
115
117
  isHidden?: boolean | undefined;
116
118
  overrideSniFromAddress?: boolean | undefined;
119
+ keepSniBlank?: boolean | undefined;
117
120
  allowInsecure?: boolean | undefined;
118
121
  }>;
119
122
  }, "strip", z.ZodTypeAny, {
@@ -139,6 +142,7 @@ export declare namespace GetOneHostCommand {
139
142
  serverDescription: string | null;
140
143
  isHidden: boolean;
141
144
  overrideSniFromAddress: boolean;
145
+ keepSniBlank: boolean;
142
146
  vlessRouteId: number | null;
143
147
  allowInsecure: boolean;
144
148
  shuffleHost: boolean;
@@ -180,6 +184,7 @@ export declare namespace GetOneHostCommand {
180
184
  sockoptParams?: unknown;
181
185
  isHidden?: boolean | undefined;
182
186
  overrideSniFromAddress?: boolean | undefined;
187
+ keepSniBlank?: boolean | undefined;
183
188
  allowInsecure?: boolean | undefined;
184
189
  };
185
190
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,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"}
1
+ {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,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"}
@@ -38,6 +38,7 @@ export declare namespace ReorderHostCommand {
38
38
  tag: z.ZodNullable<z.ZodString>;
39
39
  isHidden: z.ZodDefault<z.ZodBoolean>;
40
40
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
41
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
41
42
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
42
43
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
43
44
  shuffleHost: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -37,6 +37,7 @@ export declare namespace UpdateHostCommand {
37
37
  tag: z.ZodNullable<z.ZodString>;
38
38
  isHidden: z.ZodDefault<z.ZodBoolean>;
39
39
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
40
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
40
41
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
41
42
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
42
43
  shuffleHost: z.ZodBoolean;
@@ -93,6 +94,7 @@ export declare namespace UpdateHostCommand {
93
94
  tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
95
  isHidden: z.ZodOptional<z.ZodBoolean>;
95
96
  overrideSniFromAddress: z.ZodOptional<z.ZodBoolean>;
97
+ keepSniBlank: z.ZodOptional<z.ZodBoolean>;
96
98
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
97
99
  allowInsecure: z.ZodOptional<z.ZodBoolean>;
98
100
  shuffleHost: z.ZodOptional<z.ZodBoolean>;
@@ -124,6 +126,7 @@ export declare namespace UpdateHostCommand {
124
126
  serverDescription?: string | null | undefined;
125
127
  isHidden?: boolean | undefined;
126
128
  overrideSniFromAddress?: boolean | undefined;
129
+ keepSniBlank?: boolean | undefined;
127
130
  vlessRouteId?: number | null | undefined;
128
131
  allowInsecure?: boolean | undefined;
129
132
  shuffleHost?: boolean | undefined;
@@ -154,6 +157,7 @@ export declare namespace UpdateHostCommand {
154
157
  serverDescription?: string | null | undefined;
155
158
  isHidden?: boolean | undefined;
156
159
  overrideSniFromAddress?: boolean | undefined;
160
+ keepSniBlank?: boolean | undefined;
157
161
  vlessRouteId?: number | null | undefined;
158
162
  allowInsecure?: boolean | undefined;
159
163
  shuffleHost?: boolean | undefined;
@@ -197,6 +201,7 @@ export declare namespace UpdateHostCommand {
197
201
  tag: z.ZodNullable<z.ZodString>;
198
202
  isHidden: z.ZodDefault<z.ZodBoolean>;
199
203
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
204
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
200
205
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
201
206
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
202
207
  shuffleHost: z.ZodBoolean;
@@ -226,6 +231,7 @@ export declare namespace UpdateHostCommand {
226
231
  serverDescription: string | null;
227
232
  isHidden: boolean;
228
233
  overrideSniFromAddress: boolean;
234
+ keepSniBlank: boolean;
229
235
  vlessRouteId: number | null;
230
236
  allowInsecure: boolean;
231
237
  shuffleHost: boolean;
@@ -265,6 +271,7 @@ export declare namespace UpdateHostCommand {
265
271
  sockoptParams?: unknown;
266
272
  isHidden?: boolean | undefined;
267
273
  overrideSniFromAddress?: boolean | undefined;
274
+ keepSniBlank?: boolean | undefined;
268
275
  allowInsecure?: boolean | undefined;
269
276
  }>;
270
277
  }, "strip", z.ZodTypeAny, {
@@ -290,6 +297,7 @@ export declare namespace UpdateHostCommand {
290
297
  serverDescription: string | null;
291
298
  isHidden: boolean;
292
299
  overrideSniFromAddress: boolean;
300
+ keepSniBlank: boolean;
293
301
  vlessRouteId: number | null;
294
302
  allowInsecure: boolean;
295
303
  shuffleHost: boolean;
@@ -331,6 +339,7 @@ export declare namespace UpdateHostCommand {
331
339
  sockoptParams?: unknown;
332
340
  isHidden?: boolean | undefined;
333
341
  overrideSniFromAddress?: boolean | undefined;
342
+ keepSniBlank?: boolean | undefined;
334
343
  allowInsecure?: boolean | undefined;
335
344
  };
336
345
  }>;
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuExB,CAAC;IACH,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"}
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwExB,CAAC;IACH,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"}
@@ -63,6 +63,7 @@ var UpdateHostCommand;
63
63
  .describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
64
64
  isHidden: zod_1.z.optional(zod_1.z.boolean()),
65
65
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean()),
66
+ keepSniBlank: zod_1.z.optional(zod_1.z.boolean()),
66
67
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
67
68
  allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
68
69
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
@@ -4,7 +4,6 @@ export * from './errors';
4
4
  export * from './events';
5
5
  export * from './headers';
6
6
  export * from './hosts';
7
- export * from './messaging';
8
7
  export * from './metrics';
9
8
  export * from './nodes';
10
9
  export * from './oauth2';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -20,7 +20,6 @@ __exportStar(require("./errors"), exports);
20
20
  __exportStar(require("./events"), exports);
21
21
  __exportStar(require("./headers"), exports);
22
22
  __exportStar(require("./hosts"), exports);
23
- __exportStar(require("./messaging"), exports);
24
23
  __exportStar(require("./metrics"), exports);
25
24
  __exportStar(require("./nodes"), exports);
26
25
  __exportStar(require("./oauth2"), exports);
@@ -33,6 +33,7 @@ export declare const HostsSchema: z.ZodObject<{
33
33
  tag: z.ZodNullable<z.ZodString>;
34
34
  isHidden: z.ZodDefault<z.ZodBoolean>;
35
35
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
36
+ keepSniBlank: z.ZodDefault<z.ZodBoolean>;
36
37
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
37
38
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
38
39
  shuffleHost: z.ZodBoolean;
@@ -62,6 +63,7 @@ export declare const HostsSchema: z.ZodObject<{
62
63
  serverDescription: string | null;
63
64
  isHidden: boolean;
64
65
  overrideSniFromAddress: boolean;
66
+ keepSniBlank: boolean;
65
67
  vlessRouteId: number | null;
66
68
  allowInsecure: boolean;
67
69
  shuffleHost: boolean;
@@ -101,6 +103,7 @@ export declare const HostsSchema: z.ZodObject<{
101
103
  sockoptParams?: unknown;
102
104
  isHidden?: boolean | undefined;
103
105
  overrideSniFromAddress?: boolean | undefined;
106
+ keepSniBlank?: boolean | undefined;
104
107
  allowInsecure?: boolean | undefined;
105
108
  }>;
106
109
  //# sourceMappingURL=hosts.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCtB,CAAC"}
1
+ {"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCtB,CAAC"}
@@ -27,6 +27,7 @@ exports.HostsSchema = zod_1.z.object({
27
27
  tag: zod_1.z.string().nullable(),
28
28
  isHidden: zod_1.z.boolean().default(false),
29
29
  overrideSniFromAddress: zod_1.z.boolean().default(false),
30
+ keepSniBlank: zod_1.z.boolean().default(false),
30
31
  vlessRouteId: zod_1.z.number().int().min(0).max(65535).nullable(),
31
32
  allowInsecure: zod_1.z.boolean().default(false),
32
33
  shuffleHost: zod_1.z.boolean(),
@@ -58,6 +58,7 @@ var CreateHostCommand;
58
58
  .describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
59
59
  isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
60
60
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean().default(false)),
61
+ keepSniBlank: zod_1.z.optional(zod_1.z.boolean().default(false)),
61
62
  allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
62
63
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
63
64
  shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
@@ -63,6 +63,7 @@ var UpdateHostCommand;
63
63
  .describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
64
64
  isHidden: zod_1.z.optional(zod_1.z.boolean()),
65
65
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean()),
66
+ keepSniBlank: zod_1.z.optional(zod_1.z.boolean()),
66
67
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
67
68
  allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
68
69
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
@@ -20,7 +20,6 @@ __exportStar(require("./errors"), exports);
20
20
  __exportStar(require("./events"), exports);
21
21
  __exportStar(require("./headers"), exports);
22
22
  __exportStar(require("./hosts"), exports);
23
- __exportStar(require("./messaging"), exports);
24
23
  __exportStar(require("./metrics"), exports);
25
24
  __exportStar(require("./nodes"), exports);
26
25
  __exportStar(require("./oauth2"), exports);
@@ -27,6 +27,7 @@ exports.HostsSchema = zod_1.z.object({
27
27
  tag: zod_1.z.string().nullable(),
28
28
  isHidden: zod_1.z.boolean().default(false),
29
29
  overrideSniFromAddress: zod_1.z.boolean().default(false),
30
+ keepSniBlank: zod_1.z.boolean().default(false),
30
31
  vlessRouteId: zod_1.z.number().int().min(0).max(65535).nullable(),
31
32
  allowInsecure: zod_1.z.boolean().default(false),
32
33
  shuffleHost: zod_1.z.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.3.33",
3
+ "version": "2.3.35",
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.",
@@ -1,2 +0,0 @@
1
- export * from './messaging.constants';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/messaging/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./messaging.constants"), exports);
@@ -1,13 +0,0 @@
1
- export declare enum MessagingChannels {
2
- EVENT = "redis-event"
3
- }
4
- export declare enum MessagingBuses {
5
- EVENT = "event.bus"
6
- }
7
- export declare enum MessagingQueues {
8
- EVENT = "event-queue"
9
- }
10
- export declare enum MessagingMessages {
11
- NODE_METRICS = "node.metrics"
12
- }
13
- //# sourceMappingURL=messaging.constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"messaging.constants.d.ts","sourceRoot":"","sources":["../../../../constants/messaging/messaging.constants.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IACzB,KAAK,gBAAgB;CACxB;AAED,oBAAY,cAAc;IACtB,KAAK,cAAc;CACtB;AAED,oBAAY,eAAe;IACvB,KAAK,gBAAgB;CACxB;AAED,oBAAY,iBAAiB;IACzB,YAAY,iBAAiB;CAChC"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessagingMessages = exports.MessagingQueues = exports.MessagingBuses = exports.MessagingChannels = void 0;
4
- var MessagingChannels;
5
- (function (MessagingChannels) {
6
- MessagingChannels["EVENT"] = "redis-event";
7
- })(MessagingChannels || (exports.MessagingChannels = MessagingChannels = {}));
8
- var MessagingBuses;
9
- (function (MessagingBuses) {
10
- MessagingBuses["EVENT"] = "event.bus";
11
- })(MessagingBuses || (exports.MessagingBuses = MessagingBuses = {}));
12
- var MessagingQueues;
13
- (function (MessagingQueues) {
14
- MessagingQueues["EVENT"] = "event-queue";
15
- })(MessagingQueues || (exports.MessagingQueues = MessagingQueues = {}));
16
- var MessagingMessages;
17
- (function (MessagingMessages) {
18
- MessagingMessages["NODE_METRICS"] = "node.metrics";
19
- })(MessagingMessages || (exports.MessagingMessages = MessagingMessages = {}));
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./messaging.constants"), exports);
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessagingMessages = exports.MessagingQueues = exports.MessagingBuses = exports.MessagingChannels = void 0;
4
- var MessagingChannels;
5
- (function (MessagingChannels) {
6
- MessagingChannels["EVENT"] = "redis-event";
7
- })(MessagingChannels || (exports.MessagingChannels = MessagingChannels = {}));
8
- var MessagingBuses;
9
- (function (MessagingBuses) {
10
- MessagingBuses["EVENT"] = "event.bus";
11
- })(MessagingBuses || (exports.MessagingBuses = MessagingBuses = {}));
12
- var MessagingQueues;
13
- (function (MessagingQueues) {
14
- MessagingQueues["EVENT"] = "event-queue";
15
- })(MessagingQueues || (exports.MessagingQueues = MessagingQueues = {}));
16
- var MessagingMessages;
17
- (function (MessagingMessages) {
18
- MessagingMessages["NODE_METRICS"] = "node.metrics";
19
- })(MessagingMessages || (exports.MessagingMessages = MessagingMessages = {}));