@remnawave/backend-contract 2.9.1 → 2.9.3
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/api/controllers/connections.d.ts +9 -0
- package/build/backend/api/controllers/connections.d.ts.map +1 -0
- package/build/backend/api/controllers/connections.js +16 -0
- package/build/backend/api/controllers/index.d.ts +1 -1
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -1
- package/build/backend/api/controllers-info.d.ts +4 -4
- package/build/backend/api/controllers-info.js +4 -4
- package/build/backend/api/routes.d.ts +6 -6
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +6 -6
- package/build/backend/commands/{ip-control/fetch-users-ips-result.command.d.ts → connections/connections-by-node-result.command.d.ts} +2 -2
- package/build/backend/commands/connections/connections-by-node-result.command.d.ts.map +1 -0
- package/build/backend/commands/{ip-control/fetch-users-ips-result.command.js → connections/connections-by-node-result.command.js} +9 -9
- package/build/backend/commands/{ip-control/fetch-users-ips.command.d.ts → connections/connections-by-node.command.d.ts} +3 -3
- package/build/backend/commands/connections/connections-by-node.command.d.ts.map +1 -0
- package/build/backend/commands/connections/connections-by-node.command.js +20 -0
- package/build/backend/commands/{ip-control/fetch-ips-result.command.d.ts → connections/connections-by-user-result.command.d.ts} +2 -2
- package/build/backend/commands/connections/connections-by-user-result.command.d.ts.map +1 -0
- package/build/{frontend/commands/ip-control/fetch-ips-result.command.js → backend/commands/connections/connections-by-user-result.command.js} +9 -9
- package/build/backend/commands/{ip-control/fetch-ips.command.d.ts → connections/connections-by-user.command.d.ts} +2 -2
- package/build/backend/commands/connections/connections-by-user.command.d.ts.map +1 -0
- package/build/backend/commands/connections/connections-by-user.command.js +20 -0
- package/build/backend/commands/{ip-control → connections}/drop-connections.command.d.ts +2 -2
- package/build/backend/commands/connections/drop-connections.command.d.ts.map +1 -0
- package/build/backend/commands/{ip-control → connections}/drop-connections.command.js +2 -2
- package/build/backend/commands/connections/index.d.ts +6 -0
- package/build/backend/commands/connections/index.d.ts.map +1 -0
- package/build/backend/commands/{ip-control → connections}/index.js +4 -4
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +0 -218
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +0 -4
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +0 -218
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.js +0 -4
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +0 -218
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.js +0 -4
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts +0 -218
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +0 -4
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +5 -22
- package/build/backend/commands/hosts/get-host.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-host.command.js +2 -4
- package/build/backend/commands/hosts/host.response.d.ts +219 -0
- package/build/backend/commands/hosts/host.response.d.ts.map +1 -0
- package/build/backend/commands/hosts/host.response.js +8 -0
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +5 -22
- package/build/backend/commands/index.d.ts +1 -1
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -1
- package/build/frontend/api/controllers/connections.js +16 -0
- package/build/frontend/api/controllers/index.js +1 -1
- package/build/frontend/api/controllers-info.js +4 -4
- package/build/frontend/api/routes.js +6 -6
- package/build/frontend/commands/{ip-control/fetch-users-ips-result.command.js → connections/connections-by-node-result.command.js} +9 -9
- package/build/frontend/commands/connections/connections-by-node.command.js +20 -0
- package/build/{backend/commands/ip-control/fetch-ips-result.command.js → frontend/commands/connections/connections-by-user-result.command.js} +9 -9
- package/build/frontend/commands/connections/connections-by-user.command.js +20 -0
- package/build/frontend/commands/{ip-control → connections}/drop-connections.command.js +2 -2
- package/build/frontend/commands/{ip-control → connections}/index.js +4 -4
- package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +0 -4
- package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +0 -4
- package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +0 -4
- package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +0 -4
- package/build/frontend/commands/hosts/create.command.js +5 -22
- package/build/frontend/commands/hosts/get-host.command.js +2 -4
- package/build/frontend/commands/hosts/host.response.js +8 -0
- package/build/frontend/commands/hosts/update.command.js +5 -22
- package/build/frontend/commands/index.js +1 -1
- package/package.json +1 -1
- package/build/backend/api/controllers/ip-control.d.ts +0 -9
- package/build/backend/api/controllers/ip-control.d.ts.map +0 -1
- package/build/backend/api/controllers/ip-control.js +0 -16
- package/build/backend/commands/ip-control/drop-connections.command.d.ts.map +0 -1
- package/build/backend/commands/ip-control/fetch-ips-result.command.d.ts.map +0 -1
- package/build/backend/commands/ip-control/fetch-ips.command.d.ts.map +0 -1
- package/build/backend/commands/ip-control/fetch-ips.command.js +0 -20
- package/build/backend/commands/ip-control/fetch-users-ips-result.command.d.ts.map +0 -1
- package/build/backend/commands/ip-control/fetch-users-ips.command.d.ts.map +0 -1
- package/build/backend/commands/ip-control/fetch-users-ips.command.js +0 -20
- package/build/backend/commands/ip-control/index.d.ts +0 -6
- package/build/backend/commands/ip-control/index.d.ts.map +0 -1
- package/build/frontend/api/controllers/ip-control.js +0 -16
- package/build/frontend/commands/ip-control/fetch-ips.command.js +0 -20
- package/build/frontend/commands/ip-control/fetch-users-ips.command.js +0 -20
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const CONNECTIONS_CONTROLLER: "connections";
|
|
2
|
+
export declare const CONNECTIONS_ROUTES: {
|
|
3
|
+
readonly CONNECTIONS_BY_USER: (uuid: string) => string;
|
|
4
|
+
readonly CONNECTIONS_BY_USER_RESULT: (jobId: string) => string;
|
|
5
|
+
readonly CONNECTIONS_BY_NODE: (uuid: string) => string;
|
|
6
|
+
readonly CONNECTIONS_BY_NODE_RESULT: (jobId: string) => string;
|
|
7
|
+
readonly DROP_CONNECTIONS: "drop";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../../api/controllers/connections.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,EAAG,aAAsB,CAAC;AAE7D,eAAO,MAAM,kBAAkB;yCAEC,MAAM;iDAEE,MAAM;yCAGd,MAAM;iDAEE,MAAM;;CAIpC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CONNECTIONS_ROUTES = exports.CONNECTIONS_CONTROLLER = void 0;
|
|
4
|
+
exports.CONNECTIONS_CONTROLLER = 'connections';
|
|
5
|
+
exports.CONNECTIONS_ROUTES = {
|
|
6
|
+
// POST
|
|
7
|
+
CONNECTIONS_BY_USER: (uuid) => `by-user/${uuid}`,
|
|
8
|
+
// GET
|
|
9
|
+
CONNECTIONS_BY_USER_RESULT: (jobId) => `by-user/${jobId}`,
|
|
10
|
+
// POST
|
|
11
|
+
CONNECTIONS_BY_NODE: (uuid) => `by-node/${uuid}`,
|
|
12
|
+
// GET
|
|
13
|
+
CONNECTIONS_BY_NODE_RESULT: (jobId) => `by-node/${jobId}`,
|
|
14
|
+
// POST
|
|
15
|
+
DROP_CONNECTIONS: 'drop',
|
|
16
|
+
};
|
|
@@ -7,7 +7,7 @@ export * from './hosts';
|
|
|
7
7
|
export * from './hwid';
|
|
8
8
|
export * from './infra-billing';
|
|
9
9
|
export * from './internal-squads';
|
|
10
|
-
export * from './
|
|
10
|
+
export * from './connections';
|
|
11
11
|
export * from './keygen';
|
|
12
12
|
export * from './metadata';
|
|
13
13
|
export * from './node-plugins';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -23,7 +23,7 @@ __exportStar(require("./hosts"), exports);
|
|
|
23
23
|
__exportStar(require("./hwid"), exports);
|
|
24
24
|
__exportStar(require("./infra-billing"), exports);
|
|
25
25
|
__exportStar(require("./internal-squads"), exports);
|
|
26
|
-
__exportStar(require("./
|
|
26
|
+
__exportStar(require("./connections"), exports);
|
|
27
27
|
__exportStar(require("./keygen"), exports);
|
|
28
28
|
__exportStar(require("./metadata"), exports);
|
|
29
29
|
__exportStar(require("./node-plugins"), exports);
|
|
@@ -54,10 +54,10 @@ export declare const CONTROLLERS_INFO: {
|
|
|
54
54
|
readonly description: "";
|
|
55
55
|
readonly resource: "bandwidth-stats";
|
|
56
56
|
};
|
|
57
|
-
readonly
|
|
58
|
-
readonly tag: "
|
|
59
|
-
readonly description: "Management of
|
|
60
|
-
readonly resource: "
|
|
57
|
+
readonly CONNECTIONS: {
|
|
58
|
+
readonly tag: "Connections Controller";
|
|
59
|
+
readonly description: "Management of connections by user and node.";
|
|
60
|
+
readonly resource: "connections";
|
|
61
61
|
};
|
|
62
62
|
readonly CONFIG_PROFILES: {
|
|
63
63
|
readonly tag: "Config Profiles Controller";
|
|
@@ -57,10 +57,10 @@ exports.CONTROLLERS_INFO = {
|
|
|
57
57
|
description: '',
|
|
58
58
|
resource: 'bandwidth-stats',
|
|
59
59
|
},
|
|
60
|
-
|
|
61
|
-
tag: '
|
|
62
|
-
description: 'Management of
|
|
63
|
-
resource: '
|
|
60
|
+
CONNECTIONS: {
|
|
61
|
+
tag: 'Connections Controller',
|
|
62
|
+
description: 'Management of connections by user and node.',
|
|
63
|
+
resource: 'connections',
|
|
64
64
|
},
|
|
65
65
|
CONFIG_PROFILES: {
|
|
66
66
|
tag: 'Config Profiles Controller',
|
|
@@ -288,12 +288,12 @@ export declare const REST_API: {
|
|
|
288
288
|
};
|
|
289
289
|
};
|
|
290
290
|
};
|
|
291
|
-
readonly
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
291
|
+
readonly CONNECTIONS: {
|
|
292
|
+
readonly CONNECTIONS_BY_USER: (uuid: string) => string;
|
|
293
|
+
readonly CONNECTIONS_BY_USER_RESULT: (jobId: string) => string;
|
|
294
|
+
readonly CONNECTIONS_BY_NODE: (uuid: string) => string;
|
|
295
|
+
readonly CONNECTIONS_BY_NODE_RESULT: (jobId: string) => string;
|
|
296
|
+
readonly DROP_CONNECTIONS: "/api/connections/drop";
|
|
297
297
|
};
|
|
298
298
|
readonly METADATA: {
|
|
299
299
|
readonly NODE: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;;qCAaD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;;gCAkBjB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;;;;;;;;;;;;;;;;;;;;;;kCAyBd,MAAM;uCAED,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAmCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;6CAMV,MAAM;;qDAKE,MAAM;;;;;;qCAStB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAWP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;;;;;;uCAkBC,MAAM;;;;yCAKJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;;qCAaD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;;gCAkBjB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;;;;;;;;;;;;;;;;;;;;;;kCAyBd,MAAM;uCAED,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAmCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;6CAMV,MAAM;;qDAKE,MAAM;;;;;;qCAStB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAWP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;;;;;;uCAkBC,MAAM;;;;yCAKJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;6CAMN,MAAM;qDAEE,MAAM;6CAEd,MAAM;qDAEE,MAAM;;;;;iCAM1B,MAAM;oCAEH,MAAM;;;iCAIT,MAAM;oCAEH,MAAM;;;CAIvB,CAAC"}
|
|
@@ -325,12 +325,12 @@ exports.REST_API = {
|
|
|
325
325
|
},
|
|
326
326
|
},
|
|
327
327
|
},
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
328
|
+
CONNECTIONS: {
|
|
329
|
+
CONNECTIONS_BY_USER: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONNECTIONS_CONTROLLER}/${CONTROLLERS.CONNECTIONS_ROUTES.CONNECTIONS_BY_USER(uuid)}`,
|
|
330
|
+
CONNECTIONS_BY_USER_RESULT: (jobId) => `${exports.ROOT}/${CONTROLLERS.CONNECTIONS_CONTROLLER}/${CONTROLLERS.CONNECTIONS_ROUTES.CONNECTIONS_BY_USER_RESULT(jobId)}`,
|
|
331
|
+
CONNECTIONS_BY_NODE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CONNECTIONS_CONTROLLER}/${CONTROLLERS.CONNECTIONS_ROUTES.CONNECTIONS_BY_NODE(uuid)}`,
|
|
332
|
+
CONNECTIONS_BY_NODE_RESULT: (jobId) => `${exports.ROOT}/${CONTROLLERS.CONNECTIONS_CONTROLLER}/${CONTROLLERS.CONNECTIONS_ROUTES.CONNECTIONS_BY_NODE_RESULT(jobId)}`,
|
|
333
|
+
DROP_CONNECTIONS: `${exports.ROOT}/${CONTROLLERS.CONNECTIONS_CONTROLLER}/${CONTROLLERS.CONNECTIONS_ROUTES.DROP_CONNECTIONS}`,
|
|
334
334
|
},
|
|
335
335
|
METADATA: {
|
|
336
336
|
NODE: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare namespace
|
|
2
|
+
export declare namespace ConnectionsByNodeResultCommand {
|
|
3
3
|
const url: (jobId: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
@@ -128,4 +128,4 @@ export declare namespace FetchUsersIpsResultCommand {
|
|
|
128
128
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
129
129
|
type Response = z.infer<typeof ResponseSchema>;
|
|
130
130
|
}
|
|
131
|
-
//# sourceMappingURL=
|
|
131
|
+
//# sourceMappingURL=connections-by-node-result.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections-by-node-result.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-node-result.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,2BAAkD,CAAC;IAC5D,MAAM,OAAO,QAAgB,CAAC;IAE9B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4BzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ConnectionsByNodeResultCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
var ConnectionsByNodeResultCommand;
|
|
8
|
+
(function (ConnectionsByNodeResultCommand) {
|
|
9
|
+
ConnectionsByNodeResultCommand.url = api_1.REST_API.CONNECTIONS.CONNECTIONS_BY_NODE_RESULT;
|
|
10
|
+
ConnectionsByNodeResultCommand.TSQ_url = ConnectionsByNodeResultCommand.url(':jobId');
|
|
11
|
+
ConnectionsByNodeResultCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONNECTIONS_ROUTES.CONNECTIONS_BY_NODE_RESULT(':jobId'), 'get', 'Get Connections for Node by Job ID', { scope: 'by-node-result', kind: 'read' });
|
|
12
|
+
ConnectionsByNodeResultCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
jobId: zod_1.z.string(),
|
|
14
14
|
});
|
|
15
|
-
|
|
15
|
+
ConnectionsByNodeResultCommand.ResponseSchema = zod_1.z.object({
|
|
16
16
|
response: zod_1.z.object({
|
|
17
17
|
isCompleted: zod_1.z.boolean(),
|
|
18
18
|
isFailed: zod_1.z.boolean(),
|
|
@@ -37,4 +37,4 @@ var FetchUsersIpsResultCommand;
|
|
|
37
37
|
.nullable(),
|
|
38
38
|
}),
|
|
39
39
|
});
|
|
40
|
-
})(
|
|
40
|
+
})(ConnectionsByNodeResultCommand || (exports.ConnectionsByNodeResultCommand = ConnectionsByNodeResultCommand = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare namespace
|
|
3
|
-
const url: (
|
|
2
|
+
export declare namespace ConnectionsByNodeCommand {
|
|
3
|
+
const url: (uuid: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestParamSchema: z.ZodObject<{
|
|
@@ -30,4 +30,4 @@ export declare namespace FetchUsersIpsCommand {
|
|
|
30
30
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
31
31
|
type Response = z.infer<typeof ResponseSchema>;
|
|
32
32
|
}
|
|
33
|
-
//# sourceMappingURL=
|
|
33
|
+
//# sourceMappingURL=connections-by-node.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections-by-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,0BAA2C,CAAC;IACrD,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConnectionsByNodeCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var ConnectionsByNodeCommand;
|
|
8
|
+
(function (ConnectionsByNodeCommand) {
|
|
9
|
+
ConnectionsByNodeCommand.url = api_1.REST_API.CONNECTIONS.CONNECTIONS_BY_NODE;
|
|
10
|
+
ConnectionsByNodeCommand.TSQ_url = ConnectionsByNodeCommand.url(':nodeUuid');
|
|
11
|
+
ConnectionsByNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONNECTIONS_ROUTES.CONNECTIONS_BY_NODE(':nodeUuid'), 'post', 'Request Connections for Node', { scope: 'by-node', kind: 'read' });
|
|
12
|
+
ConnectionsByNodeCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
nodeUuid: zod_1.z.string().uuid().describe('Node UUID'),
|
|
14
|
+
});
|
|
15
|
+
ConnectionsByNodeCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
+
response: zod_1.z.object({
|
|
17
|
+
jobId: zod_1.z.string(),
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
20
|
+
})(ConnectionsByNodeCommand || (exports.ConnectionsByNodeCommand = ConnectionsByNodeCommand = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare namespace
|
|
2
|
+
export declare namespace ConnectionsByUserResultCommand {
|
|
3
3
|
const url: (jobId: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
@@ -186,4 +186,4 @@ export declare namespace FetchIpsResultCommand {
|
|
|
186
186
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
187
187
|
type Response = z.infer<typeof ResponseSchema>;
|
|
188
188
|
}
|
|
189
|
-
//# sourceMappingURL=
|
|
189
|
+
//# sourceMappingURL=connections-by-user-result.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections-by-user-result.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-user-result.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,2BAAkD,CAAC;IAC5D,MAAM,OAAO,QAAgB,CAAC;IAE9B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ConnectionsByUserResultCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const api_1 = require("../../api");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
var ConnectionsByUserResultCommand;
|
|
8
|
+
(function (ConnectionsByUserResultCommand) {
|
|
9
|
+
ConnectionsByUserResultCommand.url = api_1.REST_API.CONNECTIONS.CONNECTIONS_BY_USER_RESULT;
|
|
10
|
+
ConnectionsByUserResultCommand.TSQ_url = ConnectionsByUserResultCommand.url(':jobId');
|
|
11
|
+
ConnectionsByUserResultCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONNECTIONS_ROUTES.CONNECTIONS_BY_USER_RESULT(':jobId'), 'get', 'Get Connections for User by Job ID', { scope: 'by-user-result', kind: 'read' });
|
|
12
|
+
ConnectionsByUserResultCommand.RequestParamSchema = zod_1.z.object({
|
|
13
13
|
jobId: zod_1.z.string(),
|
|
14
14
|
});
|
|
15
|
-
|
|
15
|
+
ConnectionsByUserResultCommand.ResponseSchema = zod_1.z.object({
|
|
16
16
|
response: zod_1.z.object({
|
|
17
17
|
isCompleted: zod_1.z.boolean(),
|
|
18
18
|
isFailed: zod_1.z.boolean(),
|
|
@@ -45,4 +45,4 @@ var FetchIpsResultCommand;
|
|
|
45
45
|
.nullable(),
|
|
46
46
|
}),
|
|
47
47
|
});
|
|
48
|
-
})(
|
|
48
|
+
})(ConnectionsByUserResultCommand || (exports.ConnectionsByUserResultCommand = ConnectionsByUserResultCommand = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare namespace
|
|
2
|
+
export declare namespace ConnectionsByUserCommand {
|
|
3
3
|
const url: (uuid: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
@@ -30,4 +30,4 @@ export declare namespace FetchIpsCommand {
|
|
|
30
30
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
31
31
|
type Response = z.infer<typeof ResponseSchema>;
|
|
32
32
|
}
|
|
33
|
-
//# sourceMappingURL=
|
|
33
|
+
//# sourceMappingURL=connections-by-user.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections-by-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/connections-by-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,0BAA2C,CAAC;IACrD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConnectionsByUserCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var ConnectionsByUserCommand;
|
|
8
|
+
(function (ConnectionsByUserCommand) {
|
|
9
|
+
ConnectionsByUserCommand.url = api_1.REST_API.CONNECTIONS.CONNECTIONS_BY_USER;
|
|
10
|
+
ConnectionsByUserCommand.TSQ_url = ConnectionsByUserCommand.url(':uuid');
|
|
11
|
+
ConnectionsByUserCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONNECTIONS_ROUTES.CONNECTIONS_BY_USER(':uuid'), 'post', 'Request Connections for User', { scope: 'by-user', kind: 'read' });
|
|
12
|
+
ConnectionsByUserCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid().describe('User UUID'),
|
|
14
|
+
});
|
|
15
|
+
ConnectionsByUserCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
+
response: zod_1.z.object({
|
|
17
|
+
jobId: zod_1.z.string(),
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
20
|
+
})(ConnectionsByUserCommand || (exports.ConnectionsByUserCommand = ConnectionsByUserCommand = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace DropConnectionsCommand {
|
|
3
|
-
const url: "/api/
|
|
4
|
-
const TSQ_url: "/api/
|
|
3
|
+
const url: "/api/connections/drop";
|
|
4
|
+
const TSQ_url: "/api/connections/drop";
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const DropBySchema: z.ZodDiscriminatedUnion<"by", [z.ZodObject<{
|
|
7
7
|
by: z.ZodLiteral<"userUuids">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drop-connections.command.d.ts","sourceRoot":"","sources":["../../../../commands/connections/drop-connections.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,yBAAwC,CAAC;IAClD,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,YAAY;;;;;;;;;;;;;;;;;;QAavB,CAAC;IAEI,MAAM,iBAAiB;;;;;;;;;;;;;;;QAY5B,CAAC;IAEI,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAG5B,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;CAC/D"}
|
|
@@ -6,9 +6,9 @@ const api_1 = require("../../api");
|
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
7
|
var DropConnectionsCommand;
|
|
8
8
|
(function (DropConnectionsCommand) {
|
|
9
|
-
DropConnectionsCommand.url = api_1.REST_API.
|
|
9
|
+
DropConnectionsCommand.url = api_1.REST_API.CONNECTIONS.DROP_CONNECTIONS;
|
|
10
10
|
DropConnectionsCommand.TSQ_url = DropConnectionsCommand.url;
|
|
11
|
-
DropConnectionsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.
|
|
11
|
+
DropConnectionsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONNECTIONS_ROUTES.DROP_CONNECTIONS, 'post', 'Drop Connections for Users or IPs', { scope: 'drop', kind: 'write' });
|
|
12
12
|
DropConnectionsCommand.DropBySchema = zod_1.z.discriminatedUnion('by', [
|
|
13
13
|
zod_1.z
|
|
14
14
|
.object({
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './drop-connections.command';
|
|
2
|
+
export * from './connections-by-user-result.command';
|
|
3
|
+
export * from './connections-by-user.command';
|
|
4
|
+
export * from './connections-by-node-result.command';
|
|
5
|
+
export * from './connections-by-node.command';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/connections/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC"}
|
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./drop-connections.command"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./connections-by-user-result.command"), exports);
|
|
19
|
+
__exportStar(require("./connections-by-user.command"), exports);
|
|
20
|
+
__exportStar(require("./connections-by-node-result.command"), exports);
|
|
21
|
+
__exportStar(require("./connections-by-node.command"), exports);
|
|
@@ -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;
|
|
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"}
|