@remnawave/backend-contract 2.3.13 → 2.3.15
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.
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +5 -0
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +5 -0
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +5 -0
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +5 -0
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +5 -0
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +8 -0
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +3 -0
- package/build/backend/commands/hosts/get-all.command.d.ts +5 -0
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +5 -0
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +1 -0
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +9 -0
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +3 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +6 -1
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +6 -1
- package/build/backend/models/hosts.schema.d.ts +3 -0
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +1 -0
- package/build/frontend/commands/hosts/create.command.js +3 -0
- package/build/frontend/commands/hosts/update.command.js +3 -0
- package/build/frontend/commands/nodes/create.command.js +6 -1
- package/build/frontend/commands/nodes/update.command.js +6 -1
- package/build/frontend/models/hosts.schema.js +1 -0
- package/package.json +1 -1
|
@@ -52,6 +52,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
54
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
55
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
|
56
57
|
nodes: string[];
|
|
57
58
|
path: string | null;
|
|
@@ -79,6 +80,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
79
80
|
shuffleHost: boolean;
|
|
80
81
|
mihomoX25519: boolean;
|
|
81
82
|
xrayJsonTemplateUuid: string | null;
|
|
83
|
+
excludedInternalSquads: string[];
|
|
82
84
|
xHttpExtraParams?: unknown;
|
|
83
85
|
muxParams?: unknown;
|
|
84
86
|
sockoptParams?: unknown;
|
|
@@ -104,6 +106,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
104
106
|
shuffleHost: boolean;
|
|
105
107
|
mihomoX25519: boolean;
|
|
106
108
|
xrayJsonTemplateUuid: string | null;
|
|
109
|
+
excludedInternalSquads: string[];
|
|
107
110
|
isDisabled?: boolean | undefined;
|
|
108
111
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
109
112
|
xHttpExtraParams?: unknown;
|
|
@@ -141,6 +144,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
141
144
|
shuffleHost: boolean;
|
|
142
145
|
mihomoX25519: boolean;
|
|
143
146
|
xrayJsonTemplateUuid: string | null;
|
|
147
|
+
excludedInternalSquads: string[];
|
|
144
148
|
xHttpExtraParams?: unknown;
|
|
145
149
|
muxParams?: unknown;
|
|
146
150
|
sockoptParams?: unknown;
|
|
@@ -168,6 +172,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
168
172
|
shuffleHost: boolean;
|
|
169
173
|
mihomoX25519: boolean;
|
|
170
174
|
xrayJsonTemplateUuid: string | null;
|
|
175
|
+
excludedInternalSquads: string[];
|
|
171
176
|
isDisabled?: boolean | undefined;
|
|
172
177
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
173
178
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -52,6 +52,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
54
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
55
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
|
56
57
|
nodes: string[];
|
|
57
58
|
path: string | null;
|
|
@@ -79,6 +80,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
79
80
|
shuffleHost: boolean;
|
|
80
81
|
mihomoX25519: boolean;
|
|
81
82
|
xrayJsonTemplateUuid: string | null;
|
|
83
|
+
excludedInternalSquads: string[];
|
|
82
84
|
xHttpExtraParams?: unknown;
|
|
83
85
|
muxParams?: unknown;
|
|
84
86
|
sockoptParams?: unknown;
|
|
@@ -104,6 +106,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
104
106
|
shuffleHost: boolean;
|
|
105
107
|
mihomoX25519: boolean;
|
|
106
108
|
xrayJsonTemplateUuid: string | null;
|
|
109
|
+
excludedInternalSquads: string[];
|
|
107
110
|
isDisabled?: boolean | undefined;
|
|
108
111
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
109
112
|
xHttpExtraParams?: unknown;
|
|
@@ -141,6 +144,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
141
144
|
shuffleHost: boolean;
|
|
142
145
|
mihomoX25519: boolean;
|
|
143
146
|
xrayJsonTemplateUuid: string | null;
|
|
147
|
+
excludedInternalSquads: string[];
|
|
144
148
|
xHttpExtraParams?: unknown;
|
|
145
149
|
muxParams?: unknown;
|
|
146
150
|
sockoptParams?: unknown;
|
|
@@ -168,6 +172,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
168
172
|
shuffleHost: boolean;
|
|
169
173
|
mihomoX25519: boolean;
|
|
170
174
|
xrayJsonTemplateUuid: string | null;
|
|
175
|
+
excludedInternalSquads: string[];
|
|
171
176
|
isDisabled?: boolean | undefined;
|
|
172
177
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
173
178
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -52,6 +52,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
54
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
55
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
|
56
57
|
nodes: string[];
|
|
57
58
|
path: string | null;
|
|
@@ -79,6 +80,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
79
80
|
shuffleHost: boolean;
|
|
80
81
|
mihomoX25519: boolean;
|
|
81
82
|
xrayJsonTemplateUuid: string | null;
|
|
83
|
+
excludedInternalSquads: string[];
|
|
82
84
|
xHttpExtraParams?: unknown;
|
|
83
85
|
muxParams?: unknown;
|
|
84
86
|
sockoptParams?: unknown;
|
|
@@ -104,6 +106,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
104
106
|
shuffleHost: boolean;
|
|
105
107
|
mihomoX25519: boolean;
|
|
106
108
|
xrayJsonTemplateUuid: string | null;
|
|
109
|
+
excludedInternalSquads: string[];
|
|
107
110
|
isDisabled?: boolean | undefined;
|
|
108
111
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
109
112
|
xHttpExtraParams?: unknown;
|
|
@@ -141,6 +144,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
141
144
|
shuffleHost: boolean;
|
|
142
145
|
mihomoX25519: boolean;
|
|
143
146
|
xrayJsonTemplateUuid: string | null;
|
|
147
|
+
excludedInternalSquads: string[];
|
|
144
148
|
xHttpExtraParams?: unknown;
|
|
145
149
|
muxParams?: unknown;
|
|
146
150
|
sockoptParams?: unknown;
|
|
@@ -168,6 +172,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
168
172
|
shuffleHost: boolean;
|
|
169
173
|
mihomoX25519: boolean;
|
|
170
174
|
xrayJsonTemplateUuid: string | null;
|
|
175
|
+
excludedInternalSquads: string[];
|
|
171
176
|
isDisabled?: boolean | undefined;
|
|
172
177
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
173
178
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -58,6 +58,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
58
58
|
mihomoX25519: z.ZodBoolean;
|
|
59
59
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
60
60
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
61
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
61
62
|
}, "strip", z.ZodTypeAny, {
|
|
62
63
|
nodes: string[];
|
|
63
64
|
path: string | null;
|
|
@@ -85,6 +86,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
85
86
|
shuffleHost: boolean;
|
|
86
87
|
mihomoX25519: boolean;
|
|
87
88
|
xrayJsonTemplateUuid: string | null;
|
|
89
|
+
excludedInternalSquads: string[];
|
|
88
90
|
xHttpExtraParams?: unknown;
|
|
89
91
|
muxParams?: unknown;
|
|
90
92
|
sockoptParams?: unknown;
|
|
@@ -110,6 +112,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
110
112
|
shuffleHost: boolean;
|
|
111
113
|
mihomoX25519: boolean;
|
|
112
114
|
xrayJsonTemplateUuid: string | null;
|
|
115
|
+
excludedInternalSquads: string[];
|
|
113
116
|
isDisabled?: boolean | undefined;
|
|
114
117
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
115
118
|
xHttpExtraParams?: unknown;
|
|
@@ -147,6 +150,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
147
150
|
shuffleHost: boolean;
|
|
148
151
|
mihomoX25519: boolean;
|
|
149
152
|
xrayJsonTemplateUuid: string | null;
|
|
153
|
+
excludedInternalSquads: string[];
|
|
150
154
|
xHttpExtraParams?: unknown;
|
|
151
155
|
muxParams?: unknown;
|
|
152
156
|
sockoptParams?: unknown;
|
|
@@ -174,6 +178,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
174
178
|
shuffleHost: boolean;
|
|
175
179
|
mihomoX25519: boolean;
|
|
176
180
|
xrayJsonTemplateUuid: string | null;
|
|
181
|
+
excludedInternalSquads: string[];
|
|
177
182
|
isDisabled?: boolean | undefined;
|
|
178
183
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
179
184
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -55,6 +55,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
55
55
|
mihomoX25519: z.ZodBoolean;
|
|
56
56
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
57
57
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
58
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
58
59
|
}, "strip", z.ZodTypeAny, {
|
|
59
60
|
nodes: string[];
|
|
60
61
|
path: string | null;
|
|
@@ -82,6 +83,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
82
83
|
shuffleHost: boolean;
|
|
83
84
|
mihomoX25519: boolean;
|
|
84
85
|
xrayJsonTemplateUuid: string | null;
|
|
86
|
+
excludedInternalSquads: string[];
|
|
85
87
|
xHttpExtraParams?: unknown;
|
|
86
88
|
muxParams?: unknown;
|
|
87
89
|
sockoptParams?: unknown;
|
|
@@ -107,6 +109,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
107
109
|
shuffleHost: boolean;
|
|
108
110
|
mihomoX25519: boolean;
|
|
109
111
|
xrayJsonTemplateUuid: string | null;
|
|
112
|
+
excludedInternalSquads: string[];
|
|
110
113
|
isDisabled?: boolean | undefined;
|
|
111
114
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
112
115
|
xHttpExtraParams?: unknown;
|
|
@@ -144,6 +147,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
144
147
|
shuffleHost: boolean;
|
|
145
148
|
mihomoX25519: boolean;
|
|
146
149
|
xrayJsonTemplateUuid: string | null;
|
|
150
|
+
excludedInternalSquads: string[];
|
|
147
151
|
xHttpExtraParams?: unknown;
|
|
148
152
|
muxParams?: unknown;
|
|
149
153
|
sockoptParams?: unknown;
|
|
@@ -171,6 +175,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
171
175
|
shuffleHost: boolean;
|
|
172
176
|
mihomoX25519: boolean;
|
|
173
177
|
xrayJsonTemplateUuid: string | null;
|
|
178
|
+
excludedInternalSquads: string[];
|
|
174
179
|
isDisabled?: boolean | undefined;
|
|
175
180
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
176
181
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -58,6 +58,7 @@ export declare namespace CreateHostCommand {
|
|
|
58
58
|
mihomoX25519: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
59
59
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
60
60
|
xrayJsonTemplateUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
excludedInternalSquads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61
62
|
}, "strip", z.ZodTypeAny, {
|
|
62
63
|
port: number;
|
|
63
64
|
remark: string;
|
|
@@ -86,6 +87,7 @@ export declare namespace CreateHostCommand {
|
|
|
86
87
|
shuffleHost?: boolean | undefined;
|
|
87
88
|
mihomoX25519?: boolean | undefined;
|
|
88
89
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
90
|
+
excludedInternalSquads?: string[] | undefined;
|
|
89
91
|
}, {
|
|
90
92
|
port: number;
|
|
91
93
|
remark: string;
|
|
@@ -114,6 +116,7 @@ export declare namespace CreateHostCommand {
|
|
|
114
116
|
shuffleHost?: boolean | undefined;
|
|
115
117
|
mihomoX25519?: boolean | undefined;
|
|
116
118
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
119
|
+
excludedInternalSquads?: string[] | undefined;
|
|
117
120
|
}>;
|
|
118
121
|
type Request = z.infer<typeof RequestSchema>;
|
|
119
122
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -157,6 +160,7 @@ export declare namespace CreateHostCommand {
|
|
|
157
160
|
mihomoX25519: z.ZodBoolean;
|
|
158
161
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
159
162
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
163
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
160
164
|
}, "strip", z.ZodTypeAny, {
|
|
161
165
|
nodes: string[];
|
|
162
166
|
path: string | null;
|
|
@@ -184,6 +188,7 @@ export declare namespace CreateHostCommand {
|
|
|
184
188
|
shuffleHost: boolean;
|
|
185
189
|
mihomoX25519: boolean;
|
|
186
190
|
xrayJsonTemplateUuid: string | null;
|
|
191
|
+
excludedInternalSquads: string[];
|
|
187
192
|
xHttpExtraParams?: unknown;
|
|
188
193
|
muxParams?: unknown;
|
|
189
194
|
sockoptParams?: unknown;
|
|
@@ -209,6 +214,7 @@ export declare namespace CreateHostCommand {
|
|
|
209
214
|
shuffleHost: boolean;
|
|
210
215
|
mihomoX25519: boolean;
|
|
211
216
|
xrayJsonTemplateUuid: string | null;
|
|
217
|
+
excludedInternalSquads: string[];
|
|
212
218
|
isDisabled?: boolean | undefined;
|
|
213
219
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
214
220
|
xHttpExtraParams?: unknown;
|
|
@@ -246,6 +252,7 @@ export declare namespace CreateHostCommand {
|
|
|
246
252
|
shuffleHost: boolean;
|
|
247
253
|
mihomoX25519: boolean;
|
|
248
254
|
xrayJsonTemplateUuid: string | null;
|
|
255
|
+
excludedInternalSquads: string[];
|
|
249
256
|
xHttpExtraParams?: unknown;
|
|
250
257
|
muxParams?: unknown;
|
|
251
258
|
sockoptParams?: unknown;
|
|
@@ -273,6 +280,7 @@ export declare namespace CreateHostCommand {
|
|
|
273
280
|
shuffleHost: boolean;
|
|
274
281
|
mihomoX25519: boolean;
|
|
275
282
|
xrayJsonTemplateUuid: string | null;
|
|
283
|
+
excludedInternalSquads: string[];
|
|
276
284
|
isDisabled?: boolean | undefined;
|
|
277
285
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
278
286
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
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"}
|
|
@@ -64,6 +64,9 @@ var CreateHostCommand;
|
|
|
64
64
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
65
65
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
66
66
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
67
|
+
excludedInternalSquads: zod_1.z
|
|
68
|
+
.optional(zod_1.z.array(zod_1.z.string().uuid()))
|
|
69
|
+
.describe('Optional. Internal squads from which the host will be excluded.'),
|
|
67
70
|
});
|
|
68
71
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
|
69
72
|
response: models_1.HostsSchema,
|
|
@@ -44,6 +44,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
44
44
|
mihomoX25519: z.ZodBoolean;
|
|
45
45
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
46
46
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
47
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
|
48
49
|
nodes: string[];
|
|
49
50
|
path: string | null;
|
|
@@ -71,6 +72,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
71
72
|
shuffleHost: boolean;
|
|
72
73
|
mihomoX25519: boolean;
|
|
73
74
|
xrayJsonTemplateUuid: string | null;
|
|
75
|
+
excludedInternalSquads: string[];
|
|
74
76
|
xHttpExtraParams?: unknown;
|
|
75
77
|
muxParams?: unknown;
|
|
76
78
|
sockoptParams?: unknown;
|
|
@@ -96,6 +98,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
96
98
|
shuffleHost: boolean;
|
|
97
99
|
mihomoX25519: boolean;
|
|
98
100
|
xrayJsonTemplateUuid: string | null;
|
|
101
|
+
excludedInternalSquads: string[];
|
|
99
102
|
isDisabled?: boolean | undefined;
|
|
100
103
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
101
104
|
xHttpExtraParams?: unknown;
|
|
@@ -133,6 +136,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
133
136
|
shuffleHost: boolean;
|
|
134
137
|
mihomoX25519: boolean;
|
|
135
138
|
xrayJsonTemplateUuid: string | null;
|
|
139
|
+
excludedInternalSquads: string[];
|
|
136
140
|
xHttpExtraParams?: unknown;
|
|
137
141
|
muxParams?: unknown;
|
|
138
142
|
sockoptParams?: unknown;
|
|
@@ -160,6 +164,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
160
164
|
shuffleHost: boolean;
|
|
161
165
|
mihomoX25519: boolean;
|
|
162
166
|
xrayJsonTemplateUuid: string | null;
|
|
167
|
+
excludedInternalSquads: string[];
|
|
163
168
|
isDisabled?: boolean | undefined;
|
|
164
169
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
165
170
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -52,6 +52,7 @@ export declare namespace GetOneHostCommand {
|
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
54
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
55
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
|
56
57
|
nodes: string[];
|
|
57
58
|
path: string | null;
|
|
@@ -79,6 +80,7 @@ export declare namespace GetOneHostCommand {
|
|
|
79
80
|
shuffleHost: boolean;
|
|
80
81
|
mihomoX25519: boolean;
|
|
81
82
|
xrayJsonTemplateUuid: string | null;
|
|
83
|
+
excludedInternalSquads: string[];
|
|
82
84
|
xHttpExtraParams?: unknown;
|
|
83
85
|
muxParams?: unknown;
|
|
84
86
|
sockoptParams?: unknown;
|
|
@@ -104,6 +106,7 @@ export declare namespace GetOneHostCommand {
|
|
|
104
106
|
shuffleHost: boolean;
|
|
105
107
|
mihomoX25519: boolean;
|
|
106
108
|
xrayJsonTemplateUuid: string | null;
|
|
109
|
+
excludedInternalSquads: string[];
|
|
107
110
|
isDisabled?: boolean | undefined;
|
|
108
111
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
109
112
|
xHttpExtraParams?: unknown;
|
|
@@ -141,6 +144,7 @@ export declare namespace GetOneHostCommand {
|
|
|
141
144
|
shuffleHost: boolean;
|
|
142
145
|
mihomoX25519: boolean;
|
|
143
146
|
xrayJsonTemplateUuid: string | null;
|
|
147
|
+
excludedInternalSquads: string[];
|
|
144
148
|
xHttpExtraParams?: unknown;
|
|
145
149
|
muxParams?: unknown;
|
|
146
150
|
sockoptParams?: unknown;
|
|
@@ -168,6 +172,7 @@ export declare namespace GetOneHostCommand {
|
|
|
168
172
|
shuffleHost: boolean;
|
|
169
173
|
mihomoX25519: boolean;
|
|
170
174
|
xrayJsonTemplateUuid: string | null;
|
|
175
|
+
excludedInternalSquads: string[];
|
|
171
176
|
isDisabled?: boolean | undefined;
|
|
172
177
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
173
178
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -44,6 +44,7 @@ export declare namespace ReorderHostCommand {
|
|
|
44
44
|
mihomoX25519: z.ZodBoolean;
|
|
45
45
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
46
46
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
47
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
47
48
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
48
49
|
uuid: string;
|
|
49
50
|
viewPosition: number;
|
|
@@ -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
|
|
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"}
|
|
@@ -43,6 +43,7 @@ export declare namespace UpdateHostCommand {
|
|
|
43
43
|
mihomoX25519: z.ZodBoolean;
|
|
44
44
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
45
45
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
46
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
46
47
|
}, "uuid"> & {
|
|
47
48
|
inbound: z.ZodOptional<z.ZodObject<{
|
|
48
49
|
configProfileUuid: z.ZodString;
|
|
@@ -98,6 +99,7 @@ export declare namespace UpdateHostCommand {
|
|
|
98
99
|
mihomoX25519: z.ZodOptional<z.ZodBoolean>;
|
|
99
100
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
100
101
|
xrayJsonTemplateUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
excludedInternalSquads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
101
103
|
}, "strip", z.ZodTypeAny, {
|
|
102
104
|
uuid: string;
|
|
103
105
|
nodes?: string[] | undefined;
|
|
@@ -127,6 +129,7 @@ export declare namespace UpdateHostCommand {
|
|
|
127
129
|
shuffleHost?: boolean | undefined;
|
|
128
130
|
mihomoX25519?: boolean | undefined;
|
|
129
131
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
132
|
+
excludedInternalSquads?: string[] | undefined;
|
|
130
133
|
}, {
|
|
131
134
|
uuid: string;
|
|
132
135
|
nodes?: string[] | undefined;
|
|
@@ -156,6 +159,7 @@ export declare namespace UpdateHostCommand {
|
|
|
156
159
|
shuffleHost?: boolean | undefined;
|
|
157
160
|
mihomoX25519?: boolean | undefined;
|
|
158
161
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
162
|
+
excludedInternalSquads?: string[] | undefined;
|
|
159
163
|
}>;
|
|
160
164
|
type Request = z.infer<typeof RequestSchema>;
|
|
161
165
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -199,6 +203,7 @@ export declare namespace UpdateHostCommand {
|
|
|
199
203
|
mihomoX25519: z.ZodBoolean;
|
|
200
204
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
201
205
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
206
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
202
207
|
}, "strip", z.ZodTypeAny, {
|
|
203
208
|
nodes: string[];
|
|
204
209
|
path: string | null;
|
|
@@ -226,6 +231,7 @@ export declare namespace UpdateHostCommand {
|
|
|
226
231
|
shuffleHost: boolean;
|
|
227
232
|
mihomoX25519: boolean;
|
|
228
233
|
xrayJsonTemplateUuid: string | null;
|
|
234
|
+
excludedInternalSquads: string[];
|
|
229
235
|
xHttpExtraParams?: unknown;
|
|
230
236
|
muxParams?: unknown;
|
|
231
237
|
sockoptParams?: unknown;
|
|
@@ -251,6 +257,7 @@ export declare namespace UpdateHostCommand {
|
|
|
251
257
|
shuffleHost: boolean;
|
|
252
258
|
mihomoX25519: boolean;
|
|
253
259
|
xrayJsonTemplateUuid: string | null;
|
|
260
|
+
excludedInternalSquads: string[];
|
|
254
261
|
isDisabled?: boolean | undefined;
|
|
255
262
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
256
263
|
xHttpExtraParams?: unknown;
|
|
@@ -288,6 +295,7 @@ export declare namespace UpdateHostCommand {
|
|
|
288
295
|
shuffleHost: boolean;
|
|
289
296
|
mihomoX25519: boolean;
|
|
290
297
|
xrayJsonTemplateUuid: string | null;
|
|
298
|
+
excludedInternalSquads: string[];
|
|
291
299
|
xHttpExtraParams?: unknown;
|
|
292
300
|
muxParams?: unknown;
|
|
293
301
|
sockoptParams?: unknown;
|
|
@@ -315,6 +323,7 @@ export declare namespace UpdateHostCommand {
|
|
|
315
323
|
shuffleHost: boolean;
|
|
316
324
|
mihomoX25519: boolean;
|
|
317
325
|
xrayJsonTemplateUuid: string | null;
|
|
326
|
+
excludedInternalSquads: string[];
|
|
318
327
|
isDisabled?: boolean | undefined;
|
|
319
328
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
320
329
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
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"}
|
|
@@ -69,6 +69,9 @@ var UpdateHostCommand;
|
|
|
69
69
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
|
|
70
70
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
71
71
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
72
|
+
excludedInternalSquads: zod_1.z
|
|
73
|
+
.optional(zod_1.z.array(zod_1.z.string().uuid()))
|
|
74
|
+
.describe('Optional. Internal squads from which the host will be excluded.'),
|
|
72
75
|
});
|
|
73
76
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
|
74
77
|
response: models_1.HostsSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4DxB,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"}
|
|
@@ -47,7 +47,12 @@ var CreateNodeCommand;
|
|
|
47
47
|
}),
|
|
48
48
|
}),
|
|
49
49
|
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
|
50
|
-
tags: zod_1.z.optional(zod_1.z
|
|
50
|
+
tags: zod_1.z.optional(zod_1.z
|
|
51
|
+
.array(zod_1.z
|
|
52
|
+
.string()
|
|
53
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
54
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
55
|
+
.max(10, 'Maximum 10 tags')),
|
|
51
56
|
});
|
|
52
57
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
|
53
58
|
response: models_1.NodesSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/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,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/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,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyDxB,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"}
|
|
@@ -43,7 +43,12 @@ var UpdateNodeCommand;
|
|
|
43
43
|
})
|
|
44
44
|
.optional(),
|
|
45
45
|
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
|
46
|
-
tags: zod_1.z.optional(zod_1.z
|
|
46
|
+
tags: zod_1.z.optional(zod_1.z
|
|
47
|
+
.array(zod_1.z
|
|
48
|
+
.string()
|
|
49
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
50
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
51
|
+
.max(10, 'Maximum 10 tags')),
|
|
47
52
|
});
|
|
48
53
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
|
49
54
|
response: models_1.NodesSchema,
|
|
@@ -39,6 +39,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
39
39
|
mihomoX25519: z.ZodBoolean;
|
|
40
40
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
41
41
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
42
|
+
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
42
43
|
}, "strip", z.ZodTypeAny, {
|
|
43
44
|
nodes: string[];
|
|
44
45
|
path: string | null;
|
|
@@ -66,6 +67,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
66
67
|
shuffleHost: boolean;
|
|
67
68
|
mihomoX25519: boolean;
|
|
68
69
|
xrayJsonTemplateUuid: string | null;
|
|
70
|
+
excludedInternalSquads: string[];
|
|
69
71
|
xHttpExtraParams?: unknown;
|
|
70
72
|
muxParams?: unknown;
|
|
71
73
|
sockoptParams?: unknown;
|
|
@@ -91,6 +93,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
91
93
|
shuffleHost: boolean;
|
|
92
94
|
mihomoX25519: boolean;
|
|
93
95
|
xrayJsonTemplateUuid: string | null;
|
|
96
|
+
excludedInternalSquads: string[];
|
|
94
97
|
isDisabled?: boolean | undefined;
|
|
95
98
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
96
99
|
xHttpExtraParams?: unknown;
|
|
@@ -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
|
|
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"}
|
|
@@ -64,6 +64,9 @@ var CreateHostCommand;
|
|
|
64
64
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
65
65
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
66
66
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
67
|
+
excludedInternalSquads: zod_1.z
|
|
68
|
+
.optional(zod_1.z.array(zod_1.z.string().uuid()))
|
|
69
|
+
.describe('Optional. Internal squads from which the host will be excluded.'),
|
|
67
70
|
});
|
|
68
71
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
|
69
72
|
response: models_1.HostsSchema,
|
|
@@ -69,6 +69,9 @@ var UpdateHostCommand;
|
|
|
69
69
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
|
|
70
70
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
71
71
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
72
|
+
excludedInternalSquads: zod_1.z
|
|
73
|
+
.optional(zod_1.z.array(zod_1.z.string().uuid()))
|
|
74
|
+
.describe('Optional. Internal squads from which the host will be excluded.'),
|
|
72
75
|
});
|
|
73
76
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
|
74
77
|
response: models_1.HostsSchema,
|
|
@@ -47,7 +47,12 @@ var CreateNodeCommand;
|
|
|
47
47
|
}),
|
|
48
48
|
}),
|
|
49
49
|
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
|
50
|
-
tags: zod_1.z.optional(zod_1.z
|
|
50
|
+
tags: zod_1.z.optional(zod_1.z
|
|
51
|
+
.array(zod_1.z
|
|
52
|
+
.string()
|
|
53
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
54
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
55
|
+
.max(10, 'Maximum 10 tags')),
|
|
51
56
|
});
|
|
52
57
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
|
53
58
|
response: models_1.NodesSchema,
|
|
@@ -43,7 +43,12 @@ var UpdateNodeCommand;
|
|
|
43
43
|
})
|
|
44
44
|
.optional(),
|
|
45
45
|
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
|
46
|
-
tags: zod_1.z.optional(zod_1.z
|
|
46
|
+
tags: zod_1.z.optional(zod_1.z
|
|
47
|
+
.array(zod_1.z
|
|
48
|
+
.string()
|
|
49
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
50
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
51
|
+
.max(10, 'Maximum 10 tags')),
|
|
47
52
|
});
|
|
48
53
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
|
49
54
|
response: models_1.NodesSchema,
|