@remnawave/backend-contract 2.9.1 → 2.9.2

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 (30) hide show
  1. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +0 -218
  2. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  3. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +0 -4
  4. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +0 -218
  5. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  6. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.js +0 -4
  7. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +0 -218
  8. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  9. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.js +0 -4
  10. package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts +0 -218
  11. package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts.map +1 -1
  12. package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +0 -4
  13. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  14. package/build/backend/commands/hosts/create.command.js +5 -22
  15. package/build/backend/commands/hosts/get-host.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/get-host.command.js +2 -4
  17. package/build/backend/commands/hosts/host.response.d.ts +219 -0
  18. package/build/backend/commands/hosts/host.response.d.ts.map +1 -0
  19. package/build/backend/commands/hosts/host.response.js +8 -0
  20. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  21. package/build/backend/commands/hosts/update.command.js +5 -22
  22. package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +0 -4
  23. package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +0 -4
  24. package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +0 -4
  25. package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +0 -4
  26. package/build/frontend/commands/hosts/create.command.js +5 -22
  27. package/build/frontend/commands/hosts/get-host.command.js +2 -4
  28. package/build/frontend/commands/hosts/host.response.js +8 -0
  29. package/build/frontend/commands/hosts/update.command.js +5 -22
  30. package/package.json +1 -1
@@ -10,224 +10,6 @@ export declare namespace BulkDeleteHostsCommand {
10
10
  }, {
11
11
  uuids: string[];
12
12
  }>;
13
- const ResponseSchema: z.ZodObject<{
14
- response: z.ZodArray<z.ZodObject<{
15
- uuid: z.ZodString;
16
- viewPosition: z.ZodNumber;
17
- remark: z.ZodString;
18
- address: z.ZodString;
19
- port: z.ZodNumber;
20
- path: z.ZodNullable<z.ZodString>;
21
- sni: z.ZodNullable<z.ZodString>;
22
- host: z.ZodNullable<z.ZodString>;
23
- alpn: z.ZodNullable<z.ZodNativeEnum<{
24
- readonly H3: "h3";
25
- readonly H2: "h2";
26
- readonly HTTP_1_1: "http/1.1";
27
- readonly H_COMBINED: "h2,http/1.1";
28
- readonly H3_H2_H1_COMBINED: "h3,h2,http/1.1";
29
- readonly H3_H2_COMBINED: "h3,h2";
30
- }>>;
31
- fingerprint: z.ZodNullable<z.ZodString>;
32
- isDisabled: z.ZodBoolean;
33
- securityLayer: z.ZodDefault<z.ZodNativeEnum<{
34
- readonly DEFAULT: "DEFAULT";
35
- readonly TLS: "TLS";
36
- readonly NONE: "NONE";
37
- }>>;
38
- xhttpExtraParams: z.ZodNullable<z.ZodUnknown>;
39
- muxParams: z.ZodNullable<z.ZodUnknown>;
40
- sockoptParams: z.ZodNullable<z.ZodUnknown>;
41
- finalMask: z.ZodNullable<z.ZodUnknown>;
42
- inbound: z.ZodObject<{
43
- configProfileUuid: z.ZodNullable<z.ZodString>;
44
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
45
- }, "strip", z.ZodTypeAny, {
46
- configProfileUuid: string | null;
47
- configProfileInboundUuid: string | null;
48
- }, {
49
- configProfileUuid: string | null;
50
- configProfileInboundUuid: string | null;
51
- }>;
52
- serverDescription: z.ZodNullable<z.ZodString>;
53
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
54
- isHidden: z.ZodDefault<z.ZodBoolean>;
55
- overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
56
- keepSniBlank: z.ZodDefault<z.ZodBoolean>;
57
- vlessRouteId: z.ZodNullable<z.ZodNumber>;
58
- pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
59
- verifyPeerCertByName: z.ZodNullable<z.ZodString>;
60
- shuffleHost: z.ZodBoolean;
61
- mihomoX25519: z.ZodBoolean;
62
- mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
63
- readonly DUAL: "dual";
64
- readonly IPV4: "ipv4";
65
- readonly IPV6: "ipv6";
66
- readonly IPV4_PREFER: "ipv4-prefer";
67
- readonly IPV6_PREFER: "ipv6-prefer";
68
- }>>;
69
- nodes: z.ZodArray<z.ZodString, "many">;
70
- xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
71
- excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
72
- excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
73
- readonly XRAY_JSON: "XRAY_JSON";
74
- readonly XRAY_BASE64: "XRAY_BASE64";
75
- readonly MIHOMO: "MIHOMO";
76
- readonly STASH: "STASH";
77
- readonly CLASH: "CLASH";
78
- readonly SINGBOX: "SINGBOX";
79
- }>, "many">;
80
- }, "strip", z.ZodTypeAny, {
81
- nodes: string[];
82
- tags: string[];
83
- uuid: string;
84
- path: string | null;
85
- port: number;
86
- viewPosition: number;
87
- remark: string;
88
- address: string;
89
- sni: string | null;
90
- host: string | null;
91
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
92
- fingerprint: string | null;
93
- isDisabled: boolean;
94
- securityLayer: "DEFAULT" | "TLS" | "NONE";
95
- inbound: {
96
- configProfileUuid: string | null;
97
- configProfileInboundUuid: string | null;
98
- };
99
- serverDescription: string | null;
100
- isHidden: boolean;
101
- overrideSniFromAddress: boolean;
102
- keepSniBlank: boolean;
103
- vlessRouteId: number | null;
104
- pinnedPeerCertSha256: string | null;
105
- verifyPeerCertByName: string | null;
106
- shuffleHost: boolean;
107
- mihomoX25519: boolean;
108
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
109
- xrayJsonTemplateUuid: string | null;
110
- excludedInternalSquads: string[];
111
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
112
- xhttpExtraParams?: unknown;
113
- muxParams?: unknown;
114
- sockoptParams?: unknown;
115
- finalMask?: unknown;
116
- }, {
117
- nodes: string[];
118
- uuid: string;
119
- path: string | null;
120
- port: number;
121
- viewPosition: number;
122
- remark: string;
123
- address: string;
124
- sni: string | null;
125
- host: string | null;
126
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
127
- fingerprint: string | null;
128
- isDisabled: boolean;
129
- inbound: {
130
- configProfileUuid: string | null;
131
- configProfileInboundUuid: string | null;
132
- };
133
- serverDescription: string | null;
134
- vlessRouteId: number | null;
135
- pinnedPeerCertSha256: string | null;
136
- verifyPeerCertByName: string | null;
137
- shuffleHost: boolean;
138
- mihomoX25519: boolean;
139
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
140
- xrayJsonTemplateUuid: string | null;
141
- excludedInternalSquads: string[];
142
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
143
- tags?: string[] | undefined;
144
- securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
145
- xhttpExtraParams?: unknown;
146
- muxParams?: unknown;
147
- sockoptParams?: unknown;
148
- finalMask?: unknown;
149
- isHidden?: boolean | undefined;
150
- overrideSniFromAddress?: boolean | undefined;
151
- keepSniBlank?: boolean | undefined;
152
- }>, "many">;
153
- }, "strip", z.ZodTypeAny, {
154
- response: {
155
- nodes: string[];
156
- tags: string[];
157
- uuid: string;
158
- path: string | null;
159
- port: number;
160
- viewPosition: number;
161
- remark: string;
162
- address: string;
163
- sni: string | null;
164
- host: string | null;
165
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
166
- fingerprint: string | null;
167
- isDisabled: boolean;
168
- securityLayer: "DEFAULT" | "TLS" | "NONE";
169
- inbound: {
170
- configProfileUuid: string | null;
171
- configProfileInboundUuid: string | null;
172
- };
173
- serverDescription: string | null;
174
- isHidden: boolean;
175
- overrideSniFromAddress: boolean;
176
- keepSniBlank: boolean;
177
- vlessRouteId: number | null;
178
- pinnedPeerCertSha256: string | null;
179
- verifyPeerCertByName: string | null;
180
- shuffleHost: boolean;
181
- mihomoX25519: boolean;
182
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
183
- xrayJsonTemplateUuid: string | null;
184
- excludedInternalSquads: string[];
185
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
186
- xhttpExtraParams?: unknown;
187
- muxParams?: unknown;
188
- sockoptParams?: unknown;
189
- finalMask?: unknown;
190
- }[];
191
- }, {
192
- response: {
193
- nodes: string[];
194
- uuid: string;
195
- path: string | null;
196
- port: number;
197
- viewPosition: number;
198
- remark: string;
199
- address: string;
200
- sni: string | null;
201
- host: string | null;
202
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
203
- fingerprint: string | null;
204
- isDisabled: boolean;
205
- inbound: {
206
- configProfileUuid: string | null;
207
- configProfileInboundUuid: string | null;
208
- };
209
- serverDescription: string | null;
210
- vlessRouteId: number | null;
211
- pinnedPeerCertSha256: string | null;
212
- verifyPeerCertByName: string | null;
213
- shuffleHost: boolean;
214
- mihomoX25519: boolean;
215
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
216
- xrayJsonTemplateUuid: string | null;
217
- excludedInternalSquads: string[];
218
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
219
- tags?: string[] | undefined;
220
- securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
221
- xhttpExtraParams?: unknown;
222
- muxParams?: unknown;
223
- sockoptParams?: unknown;
224
- finalMask?: unknown;
225
- isHidden?: boolean | undefined;
226
- overrideSniFromAddress?: boolean | undefined;
227
- keepSniBlank?: boolean | undefined;
228
- }[];
229
- }>;
230
13
  type RequestBody = z.infer<typeof RequestBodySchema>;
231
- type Response = z.infer<typeof ResponseSchema>;
232
14
  }
233
15
  //# sourceMappingURL=delete-many-hosts.command.d.ts.map
@@ -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,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;MAE5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,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;AAKxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;MAE5B,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;CAC/D"}
@@ -4,7 +4,6 @@ exports.BulkDeleteHostsCommand = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const api_1 = require("../../../api");
6
6
  const constants_1 = require("../../../constants");
7
- const models_1 = require("../../../models");
8
7
  var BulkDeleteHostsCommand;
9
8
  (function (BulkDeleteHostsCommand) {
10
9
  BulkDeleteHostsCommand.url = api_1.REST_API.HOSTS.BULK.DELETE_HOSTS;
@@ -13,7 +12,4 @@ var BulkDeleteHostsCommand;
13
12
  BulkDeleteHostsCommand.RequestBodySchema = zod_1.z.object({
14
13
  uuids: zod_1.z.array(zod_1.z.string().uuid()),
15
14
  });
16
- BulkDeleteHostsCommand.ResponseSchema = zod_1.z.object({
17
- response: zod_1.z.array(models_1.HostsSchema),
18
- });
19
15
  })(BulkDeleteHostsCommand || (exports.BulkDeleteHostsCommand = BulkDeleteHostsCommand = {}));
@@ -10,224 +10,6 @@ export declare namespace BulkDisableHostsCommand {
10
10
  }, {
11
11
  uuids: string[];
12
12
  }>;
13
- const ResponseSchema: z.ZodObject<{
14
- response: z.ZodArray<z.ZodObject<{
15
- uuid: z.ZodString;
16
- viewPosition: z.ZodNumber;
17
- remark: z.ZodString;
18
- address: z.ZodString;
19
- port: z.ZodNumber;
20
- path: z.ZodNullable<z.ZodString>;
21
- sni: z.ZodNullable<z.ZodString>;
22
- host: z.ZodNullable<z.ZodString>;
23
- alpn: z.ZodNullable<z.ZodNativeEnum<{
24
- readonly H3: "h3";
25
- readonly H2: "h2";
26
- readonly HTTP_1_1: "http/1.1";
27
- readonly H_COMBINED: "h2,http/1.1";
28
- readonly H3_H2_H1_COMBINED: "h3,h2,http/1.1";
29
- readonly H3_H2_COMBINED: "h3,h2";
30
- }>>;
31
- fingerprint: z.ZodNullable<z.ZodString>;
32
- isDisabled: z.ZodBoolean;
33
- securityLayer: z.ZodDefault<z.ZodNativeEnum<{
34
- readonly DEFAULT: "DEFAULT";
35
- readonly TLS: "TLS";
36
- readonly NONE: "NONE";
37
- }>>;
38
- xhttpExtraParams: z.ZodNullable<z.ZodUnknown>;
39
- muxParams: z.ZodNullable<z.ZodUnknown>;
40
- sockoptParams: z.ZodNullable<z.ZodUnknown>;
41
- finalMask: z.ZodNullable<z.ZodUnknown>;
42
- inbound: z.ZodObject<{
43
- configProfileUuid: z.ZodNullable<z.ZodString>;
44
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
45
- }, "strip", z.ZodTypeAny, {
46
- configProfileUuid: string | null;
47
- configProfileInboundUuid: string | null;
48
- }, {
49
- configProfileUuid: string | null;
50
- configProfileInboundUuid: string | null;
51
- }>;
52
- serverDescription: z.ZodNullable<z.ZodString>;
53
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
54
- isHidden: z.ZodDefault<z.ZodBoolean>;
55
- overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
56
- keepSniBlank: z.ZodDefault<z.ZodBoolean>;
57
- vlessRouteId: z.ZodNullable<z.ZodNumber>;
58
- pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
59
- verifyPeerCertByName: z.ZodNullable<z.ZodString>;
60
- shuffleHost: z.ZodBoolean;
61
- mihomoX25519: z.ZodBoolean;
62
- mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
63
- readonly DUAL: "dual";
64
- readonly IPV4: "ipv4";
65
- readonly IPV6: "ipv6";
66
- readonly IPV4_PREFER: "ipv4-prefer";
67
- readonly IPV6_PREFER: "ipv6-prefer";
68
- }>>;
69
- nodes: z.ZodArray<z.ZodString, "many">;
70
- xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
71
- excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
72
- excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
73
- readonly XRAY_JSON: "XRAY_JSON";
74
- readonly XRAY_BASE64: "XRAY_BASE64";
75
- readonly MIHOMO: "MIHOMO";
76
- readonly STASH: "STASH";
77
- readonly CLASH: "CLASH";
78
- readonly SINGBOX: "SINGBOX";
79
- }>, "many">;
80
- }, "strip", z.ZodTypeAny, {
81
- nodes: string[];
82
- tags: string[];
83
- uuid: string;
84
- path: string | null;
85
- port: number;
86
- viewPosition: number;
87
- remark: string;
88
- address: string;
89
- sni: string | null;
90
- host: string | null;
91
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
92
- fingerprint: string | null;
93
- isDisabled: boolean;
94
- securityLayer: "DEFAULT" | "TLS" | "NONE";
95
- inbound: {
96
- configProfileUuid: string | null;
97
- configProfileInboundUuid: string | null;
98
- };
99
- serverDescription: string | null;
100
- isHidden: boolean;
101
- overrideSniFromAddress: boolean;
102
- keepSniBlank: boolean;
103
- vlessRouteId: number | null;
104
- pinnedPeerCertSha256: string | null;
105
- verifyPeerCertByName: string | null;
106
- shuffleHost: boolean;
107
- mihomoX25519: boolean;
108
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
109
- xrayJsonTemplateUuid: string | null;
110
- excludedInternalSquads: string[];
111
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
112
- xhttpExtraParams?: unknown;
113
- muxParams?: unknown;
114
- sockoptParams?: unknown;
115
- finalMask?: unknown;
116
- }, {
117
- nodes: string[];
118
- uuid: string;
119
- path: string | null;
120
- port: number;
121
- viewPosition: number;
122
- remark: string;
123
- address: string;
124
- sni: string | null;
125
- host: string | null;
126
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
127
- fingerprint: string | null;
128
- isDisabled: boolean;
129
- inbound: {
130
- configProfileUuid: string | null;
131
- configProfileInboundUuid: string | null;
132
- };
133
- serverDescription: string | null;
134
- vlessRouteId: number | null;
135
- pinnedPeerCertSha256: string | null;
136
- verifyPeerCertByName: string | null;
137
- shuffleHost: boolean;
138
- mihomoX25519: boolean;
139
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
140
- xrayJsonTemplateUuid: string | null;
141
- excludedInternalSquads: string[];
142
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
143
- tags?: string[] | undefined;
144
- securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
145
- xhttpExtraParams?: unknown;
146
- muxParams?: unknown;
147
- sockoptParams?: unknown;
148
- finalMask?: unknown;
149
- isHidden?: boolean | undefined;
150
- overrideSniFromAddress?: boolean | undefined;
151
- keepSniBlank?: boolean | undefined;
152
- }>, "many">;
153
- }, "strip", z.ZodTypeAny, {
154
- response: {
155
- nodes: string[];
156
- tags: string[];
157
- uuid: string;
158
- path: string | null;
159
- port: number;
160
- viewPosition: number;
161
- remark: string;
162
- address: string;
163
- sni: string | null;
164
- host: string | null;
165
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
166
- fingerprint: string | null;
167
- isDisabled: boolean;
168
- securityLayer: "DEFAULT" | "TLS" | "NONE";
169
- inbound: {
170
- configProfileUuid: string | null;
171
- configProfileInboundUuid: string | null;
172
- };
173
- serverDescription: string | null;
174
- isHidden: boolean;
175
- overrideSniFromAddress: boolean;
176
- keepSniBlank: boolean;
177
- vlessRouteId: number | null;
178
- pinnedPeerCertSha256: string | null;
179
- verifyPeerCertByName: string | null;
180
- shuffleHost: boolean;
181
- mihomoX25519: boolean;
182
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
183
- xrayJsonTemplateUuid: string | null;
184
- excludedInternalSquads: string[];
185
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
186
- xhttpExtraParams?: unknown;
187
- muxParams?: unknown;
188
- sockoptParams?: unknown;
189
- finalMask?: unknown;
190
- }[];
191
- }, {
192
- response: {
193
- nodes: string[];
194
- uuid: string;
195
- path: string | null;
196
- port: number;
197
- viewPosition: number;
198
- remark: string;
199
- address: string;
200
- sni: string | null;
201
- host: string | null;
202
- alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
203
- fingerprint: string | null;
204
- isDisabled: boolean;
205
- inbound: {
206
- configProfileUuid: string | null;
207
- configProfileInboundUuid: string | null;
208
- };
209
- serverDescription: string | null;
210
- vlessRouteId: number | null;
211
- pinnedPeerCertSha256: string | null;
212
- verifyPeerCertByName: string | null;
213
- shuffleHost: boolean;
214
- mihomoX25519: boolean;
215
- mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
216
- xrayJsonTemplateUuid: string | null;
217
- excludedInternalSquads: string[];
218
- excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
219
- tags?: string[] | undefined;
220
- securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
221
- xhttpExtraParams?: unknown;
222
- muxParams?: unknown;
223
- sockoptParams?: unknown;
224
- finalMask?: unknown;
225
- isHidden?: boolean | undefined;
226
- overrideSniFromAddress?: boolean | undefined;
227
- keepSniBlank?: boolean | undefined;
228
- }[];
229
- }>;
230
13
  type RequestBody = z.infer<typeof RequestBodySchema>;
231
- type Response = z.infer<typeof ResponseSchema>;
232
14
  }
233
15
  //# sourceMappingURL=disable-many-hosts.command.d.ts.map
@@ -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,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;MAE5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,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;AAKxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;MAE5B,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;CAC/D"}
@@ -4,7 +4,6 @@ exports.BulkDisableHostsCommand = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const api_1 = require("../../../api");
6
6
  const constants_1 = require("../../../constants");
7
- const models_1 = require("../../../models");
8
7
  var BulkDisableHostsCommand;
9
8
  (function (BulkDisableHostsCommand) {
10
9
  BulkDisableHostsCommand.url = api_1.REST_API.HOSTS.BULK.DISABLE_HOSTS;
@@ -13,7 +12,4 @@ var BulkDisableHostsCommand;
13
12
  BulkDisableHostsCommand.RequestBodySchema = zod_1.z.object({
14
13
  uuids: zod_1.z.array(zod_1.z.string().uuid()),
15
14
  });
16
- BulkDisableHostsCommand.ResponseSchema = zod_1.z.object({
17
- response: zod_1.z.array(models_1.HostsSchema),
18
- });
19
15
  })(BulkDisableHostsCommand || (exports.BulkDisableHostsCommand = BulkDisableHostsCommand = {}));