@remnawave/backend-contract 0.0.63 → 0.0.65
Sign up to get free protection for your applications and to get access to all the features.
- package/build/backend/api/controllers/nodes.d.ts +3 -0
- package/build/backend/api/controllers/nodes.d.ts.map +1 -1
- package/build/backend/api/controllers/nodes.js +3 -0
- package/build/backend/api/index.d.ts +1 -1
- package/build/backend/api/index.d.ts.map +1 -1
- package/build/backend/api/index.js +1 -1
- package/build/backend/api/routes.d.ts +3 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +3 -0
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/find.command.js +1 -1
- package/build/backend/commands/auth/login.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +2 -2
- package/build/backend/commands/hosts/delete.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-all.command.js +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.js +1 -1
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +2 -2
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/inbounds/get-inbounds.command.js +1 -1
- package/build/backend/commands/keygen/get-pubkey.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +36 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +4 -1
- package/build/backend/commands/nodes/delete.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/disable.command.d.ts +33 -0
- package/build/backend/commands/nodes/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/disable.command.js +1 -1
- package/build/backend/commands/nodes/enable.command.d.ts +33 -0
- package/build/backend/commands/nodes/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/enable.command.js +1 -1
- package/build/backend/commands/nodes/get-all.command.d.ts +33 -0
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-all.command.js +1 -1
- package/build/backend/commands/nodes/get-nodes-usage-by-range.command.d.ts +70 -0
- package/build/backend/commands/nodes/get-nodes-usage-by-range.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/get-nodes-usage-by-range.command.js +26 -0
- package/build/backend/commands/nodes/get-one.command.d.ts +33 -0
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.js +1 -1
- package/build/backend/commands/nodes/index.d.ts +1 -0
- package/build/backend/commands/nodes/index.d.ts.map +1 -1
- package/build/backend/commands/nodes/index.js +1 -0
- package/build/backend/commands/nodes/restart-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/restart.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +49 -0
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +4 -1
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.js +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.js +1 -1
- package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -1
- package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-stats.command.js +1 -1
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +1 -1
- package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/disable-user.command.ts.d.ts.map +1 -1
- package/build/backend/commands/users/disable-user.command.ts.js +1 -1
- package/build/backend/commands/users/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/enable-user.command.js +1 -1
- package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users-v2.command.js +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-all-users.command.js +1 -1
- package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-short-uuid.command.js +1 -1
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-subscription-uuid.command.js +1 -1
- package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-username.command.js +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.js +1 -1
- package/build/backend/commands/users/index.d.ts +1 -1
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -1
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/revoke-user-subscription.command.js +1 -1
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +1 -1
- package/build/backend/commands/xray/get-config.command.d.ts.map +1 -1
- package/build/backend/commands/xray/update-config.command.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/constants/index.d.ts +1 -1
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +1 -1
- package/build/backend/constants/nodes/index.d.ts +1 -1
- package/build/backend/constants/nodes/index.d.ts.map +1 -1
- package/build/backend/constants/nodes/index.js +1 -1
- package/build/backend/models/nodes.schema.d.ts +23 -0
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +2 -0
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/frontend/api/controllers/nodes.js +3 -0
- package/build/frontend/api/index.js +1 -1
- package/build/frontend/api/routes.js +3 -0
- package/build/frontend/commands/api-tokens/find.command.js +1 -1
- package/build/frontend/commands/hosts/create.command.js +2 -2
- package/build/frontend/commands/hosts/get-all.command.js +1 -1
- package/build/frontend/commands/hosts/reorder.command.js +1 -1
- package/build/frontend/commands/hosts/update.command.js +2 -2
- package/build/frontend/commands/inbounds/get-inbounds.command.js +1 -1
- package/build/frontend/commands/nodes/create.command.js +4 -1
- package/build/frontend/commands/nodes/disable.command.js +1 -1
- package/build/frontend/commands/nodes/enable.command.js +1 -1
- package/build/frontend/commands/nodes/get-all.command.js +1 -1
- package/build/frontend/commands/nodes/get-nodes-usage-by-range.command.js +26 -0
- package/build/frontend/commands/nodes/get-one.command.js +1 -1
- package/build/frontend/commands/nodes/index.js +1 -0
- package/build/frontend/commands/nodes/update.command.js +4 -1
- package/build/frontend/commands/subscription/get-subscription-info-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/system/get-bandwidth-stats.command.js +1 -1
- package/build/frontend/commands/system/get-stats.command.js +1 -1
- package/build/frontend/commands/users/create-user.command.js +1 -1
- package/build/frontend/commands/users/disable-user.command.ts.js +1 -1
- package/build/frontend/commands/users/enable-user.command.js +1 -1
- package/build/frontend/commands/users/get-all-users-v2.command.js +1 -1
- package/build/frontend/commands/users/get-all-users.command.js +1 -1
- package/build/frontend/commands/users/get-user-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/users/get-user-by-subscription-uuid.command.js +1 -1
- package/build/frontend/commands/users/get-user-by-username.command.js +1 -1
- package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
- package/build/frontend/commands/users/index.js +1 -1
- package/build/frontend/commands/users/revoke-user-subscription.command.js +1 -1
- package/build/frontend/commands/users/update-user.command.js +1 -1
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/constants/index.js +1 -1
- package/build/frontend/constants/nodes/index.js +1 -1
- package/build/frontend/models/nodes.schema.js +2 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY
|
1
|
+
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAcf,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./routes"), exports);
|
18
17
|
__exportStar(require("./controllers"), exports);
|
18
|
+
__exportStar(require("./routes"), exports);
|
@@ -21,6 +21,9 @@ export declare const REST_API: {
|
|
21
21
|
readonly DISABLE: (uuid: string) => string;
|
22
22
|
readonly ENABLE: (uuid: string) => string;
|
23
23
|
readonly RESTART_ALL: "/api/nodes/restart-all";
|
24
|
+
readonly STATS: {
|
25
|
+
readonly USAGE_BY_RANGE: "/api/nodes/usage/range";
|
26
|
+
};
|
24
27
|
};
|
25
28
|
readonly XRAY: {
|
26
29
|
readonly GET_CONFIG: "/api/xray/get-config";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM;;;;;;;;;;;;;;;qCAgBD,MAAM;gDAEK,MAAM;6CAET,MAAM;8DAEW,MAAM;;6CAGvB,MAAM;sCAEb,MAAM;qCAEP,MAAM;qCAEN,MAAM;;;;;kCAMT,MAAM;uCAED,MAAM;;;;;;;;gCASb,MAAM;;;;;;;CAQnB,CAAC"}
|
@@ -58,6 +58,9 @@ exports.REST_API = {
|
|
58
58
|
DISABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.DISABLE}/${uuid}`,
|
59
59
|
ENABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ENABLE}/${uuid}`,
|
60
60
|
RESTART_ALL: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.RESTART_ALL}`,
|
61
|
+
STATS: {
|
62
|
+
USAGE_BY_RANGE: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.STATS.USAGE_BY_RANGE}`,
|
63
|
+
},
|
61
64
|
},
|
62
65
|
XRAY: {
|
63
66
|
GET_CONFIG: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.GET_CONFIG}`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,sBAA6B,CAAC;IACvC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"find.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/find.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"find.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/find.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,gBAA8B,CAAC;IACxC,MAAM,OAAO,gBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.FindAllApiTokensCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const api_tokens_schema_1 = require("../../models/api-tokens.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var FindAllApiTokensCommand;
|
8
8
|
(function (FindAllApiTokensCommand) {
|
9
9
|
FindAllApiTokensCommand.url = api_1.REST_API.API_TOKENS.GET_ALL;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"login.command.d.ts","sourceRoot":"","sources":["../../../../commands/auth/login.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"login.command.d.ts","sourceRoot":"","sources":["../../../../commands/auth/login.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,YAAY,CAAC;IACnB,MAAM,GAAG,mBAAsB,CAAC;IAChC,MAAM,OAAO,mBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +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;
|
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;AAOxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BxB,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"}
|
@@ -2,10 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateHostCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
|
-
const alpn_1 = require("../../constants/hosts/alpn");
|
7
5
|
const fingerprints_1 = require("../../constants/hosts/fingerprints");
|
6
|
+
const alpn_1 = require("../../constants/hosts/alpn");
|
8
7
|
const models_1 = require("../../models");
|
8
|
+
const api_1 = require("../../api");
|
9
9
|
var CreateHostCommand;
|
10
10
|
(function (CreateHostCommand) {
|
11
11
|
CreateHostCommand.url = api_1.REST_API.HOSTS.CREATE;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +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;
|
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;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAyB,CAAC;IACnC,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetAllHostsCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const models_1 = require("../../models");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetAllHostsCommand;
|
8
8
|
(function (GetAllHostsCommand) {
|
9
9
|
GetAllHostsCommand.url = api_1.REST_API.HOSTS.GET_ALL;
|
@@ -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;
|
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;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,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"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ReorderHostCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const models_1 = require("../../models");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var ReorderHostCommand;
|
8
8
|
(function (ReorderHostCommand) {
|
9
9
|
ReorderHostCommand.url = api_1.REST_API.HOSTS.REORDER;
|
@@ -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;
|
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;AAOxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCxB,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"}
|
@@ -2,10 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateHostCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
|
-
const alpn_1 = require("../../constants/hosts/alpn");
|
7
5
|
const fingerprints_1 = require("../../constants/hosts/fingerprints");
|
6
|
+
const alpn_1 = require("../../constants/hosts/alpn");
|
8
7
|
const models_1 = require("../../models");
|
8
|
+
const api_1 = require("../../api");
|
9
9
|
var UpdateHostCommand;
|
10
10
|
(function (UpdateHostCommand) {
|
11
11
|
UpdateHostCommand.url = api_1.REST_API.HOSTS.UPDATE;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/inbounds/get-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/inbounds/get-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAiC,CAAC;IAC3C,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetInboundsCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const inbounds_schema_1 = require("../../models/inbounds.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetInboundsCommand;
|
8
8
|
(function (GetInboundsCommand) {
|
9
9
|
GetInboundsCommand.url = api_1.REST_API.INBOUNDS.GET_INBOUNDS;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-pubkey.command.d.ts","sourceRoot":"","sources":["../../../../commands/keygen/get-pubkey.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-pubkey.command.d.ts","sourceRoot":"","sources":["../../../../commands/keygen/get-pubkey.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,gBAAgB,CAAC;IACvB,MAAM,GAAG,mBAAsB,CAAC;IAChC,MAAM,OAAO,mBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -10,6 +10,7 @@ export declare namespace CreateNodeCommand {
|
|
10
10
|
trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
|
11
11
|
notifyPercent: z.ZodOptional<z.ZodNumber>;
|
12
12
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
13
|
+
excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
14
15
|
address: string;
|
15
16
|
name: string;
|
@@ -18,6 +19,7 @@ export declare namespace CreateNodeCommand {
|
|
18
19
|
trafficResetDay?: number | undefined;
|
19
20
|
trafficLimitBytes?: number | undefined;
|
20
21
|
notifyPercent?: number | undefined;
|
22
|
+
excludedInbounds?: string[] | undefined;
|
21
23
|
}, {
|
22
24
|
address: string;
|
23
25
|
name: string;
|
@@ -26,6 +28,7 @@ export declare namespace CreateNodeCommand {
|
|
26
28
|
trafficResetDay?: number | undefined;
|
27
29
|
trafficLimitBytes?: number | undefined;
|
28
30
|
notifyPercent?: number | undefined;
|
31
|
+
excludedInbounds?: string[] | undefined;
|
29
32
|
}>;
|
30
33
|
type Request = z.infer<typeof RequestSchema>;
|
31
34
|
const ResponseSchema: z.ZodObject<{
|
@@ -53,6 +56,19 @@ export declare namespace CreateNodeCommand {
|
|
53
56
|
totalRam: z.ZodNullable<z.ZodString>;
|
54
57
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
55
58
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
59
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
60
|
+
uuid: z.ZodString;
|
61
|
+
tag: z.ZodString;
|
62
|
+
type: z.ZodString;
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
64
|
+
uuid: string;
|
65
|
+
type: string;
|
66
|
+
tag: string;
|
67
|
+
}, {
|
68
|
+
uuid: string;
|
69
|
+
type: string;
|
70
|
+
tag: string;
|
71
|
+
}>, "many">;
|
56
72
|
}, "strip", z.ZodTypeAny, {
|
57
73
|
uuid: string;
|
58
74
|
createdAt: Date;
|
@@ -77,6 +93,11 @@ export declare namespace CreateNodeCommand {
|
|
77
93
|
cpuCount: number | null;
|
78
94
|
cpuModel: string | null;
|
79
95
|
totalRam: string | null;
|
96
|
+
excludedInbounds: {
|
97
|
+
uuid: string;
|
98
|
+
type: string;
|
99
|
+
tag: string;
|
100
|
+
}[];
|
80
101
|
}, {
|
81
102
|
uuid: string;
|
82
103
|
createdAt: string;
|
@@ -101,6 +122,11 @@ export declare namespace CreateNodeCommand {
|
|
101
122
|
cpuCount: number | null;
|
102
123
|
cpuModel: string | null;
|
103
124
|
totalRam: string | null;
|
125
|
+
excludedInbounds: {
|
126
|
+
uuid: string;
|
127
|
+
type: string;
|
128
|
+
tag: string;
|
129
|
+
}[];
|
104
130
|
}>;
|
105
131
|
}, "strip", z.ZodTypeAny, {
|
106
132
|
response: {
|
@@ -127,6 +153,11 @@ export declare namespace CreateNodeCommand {
|
|
127
153
|
cpuCount: number | null;
|
128
154
|
cpuModel: string | null;
|
129
155
|
totalRam: string | null;
|
156
|
+
excludedInbounds: {
|
157
|
+
uuid: string;
|
158
|
+
type: string;
|
159
|
+
tag: string;
|
160
|
+
}[];
|
130
161
|
};
|
131
162
|
}, {
|
132
163
|
response: {
|
@@ -153,6 +184,11 @@ export declare namespace CreateNodeCommand {
|
|
153
184
|
cpuCount: number | null;
|
154
185
|
cpuModel: string | null;
|
155
186
|
totalRam: string | null;
|
187
|
+
excludedInbounds: {
|
188
|
+
uuid: string;
|
189
|
+
type: string;
|
190
|
+
tag: string;
|
191
|
+
}[];
|
156
192
|
};
|
157
193
|
}>;
|
158
194
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -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;
|
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,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BxB,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"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateNodeCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const models_1 = require("../../models");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var CreateNodeCommand;
|
8
8
|
(function (CreateNodeCommand) {
|
9
9
|
CreateNodeCommand.url = api_1.REST_API.NODES.CREATE;
|
@@ -24,6 +24,9 @@ var CreateNodeCommand;
|
|
24
24
|
.int()
|
25
25
|
.min(1, 'Traffic reset day must be greater than 0')
|
26
26
|
.max(31, 'Traffic reset day must be less than 31')),
|
27
|
+
excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
28
|
+
invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
|
29
|
+
})),
|
27
30
|
});
|
28
31
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
29
32
|
response: models_1.NodesSchema,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,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"}
|
@@ -35,6 +35,19 @@ export declare namespace DisableNodeCommand {
|
|
35
35
|
totalRam: z.ZodNullable<z.ZodString>;
|
36
36
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
37
37
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
38
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
39
|
+
uuid: z.ZodString;
|
40
|
+
tag: z.ZodString;
|
41
|
+
type: z.ZodString;
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
43
|
+
uuid: string;
|
44
|
+
type: string;
|
45
|
+
tag: string;
|
46
|
+
}, {
|
47
|
+
uuid: string;
|
48
|
+
type: string;
|
49
|
+
tag: string;
|
50
|
+
}>, "many">;
|
38
51
|
}, "strip", z.ZodTypeAny, {
|
39
52
|
uuid: string;
|
40
53
|
createdAt: Date;
|
@@ -59,6 +72,11 @@ export declare namespace DisableNodeCommand {
|
|
59
72
|
cpuCount: number | null;
|
60
73
|
cpuModel: string | null;
|
61
74
|
totalRam: string | null;
|
75
|
+
excludedInbounds: {
|
76
|
+
uuid: string;
|
77
|
+
type: string;
|
78
|
+
tag: string;
|
79
|
+
}[];
|
62
80
|
}, {
|
63
81
|
uuid: string;
|
64
82
|
createdAt: string;
|
@@ -83,6 +101,11 @@ export declare namespace DisableNodeCommand {
|
|
83
101
|
cpuCount: number | null;
|
84
102
|
cpuModel: string | null;
|
85
103
|
totalRam: string | null;
|
104
|
+
excludedInbounds: {
|
105
|
+
uuid: string;
|
106
|
+
type: string;
|
107
|
+
tag: string;
|
108
|
+
}[];
|
86
109
|
}>;
|
87
110
|
}, "strip", z.ZodTypeAny, {
|
88
111
|
response: {
|
@@ -109,6 +132,11 @@ export declare namespace DisableNodeCommand {
|
|
109
132
|
cpuCount: number | null;
|
110
133
|
cpuModel: string | null;
|
111
134
|
totalRam: string | null;
|
135
|
+
excludedInbounds: {
|
136
|
+
uuid: string;
|
137
|
+
type: string;
|
138
|
+
tag: string;
|
139
|
+
}[];
|
112
140
|
};
|
113
141
|
}, {
|
114
142
|
response: {
|
@@ -135,6 +163,11 @@ export declare namespace DisableNodeCommand {
|
|
135
163
|
cpuCount: number | null;
|
136
164
|
cpuModel: string | null;
|
137
165
|
totalRam: string | null;
|
166
|
+
excludedInbounds: {
|
167
|
+
uuid: string;
|
168
|
+
type: string;
|
169
|
+
tag: string;
|
170
|
+
}[];
|
138
171
|
};
|
139
172
|
}>;
|
140
173
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAyB,CAAC;IACnC,MAAM,OAAO,QAAe,CAAC;IAE7B,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"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DisableNodeCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const models_1 = require("../../models");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var DisableNodeCommand;
|
8
8
|
(function (DisableNodeCommand) {
|
9
9
|
DisableNodeCommand.url = api_1.REST_API.NODES.DISABLE;
|
@@ -35,6 +35,19 @@ export declare namespace EnableNodeCommand {
|
|
35
35
|
totalRam: z.ZodNullable<z.ZodString>;
|
36
36
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
37
37
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
38
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
39
|
+
uuid: z.ZodString;
|
40
|
+
tag: z.ZodString;
|
41
|
+
type: z.ZodString;
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
43
|
+
uuid: string;
|
44
|
+
type: string;
|
45
|
+
tag: string;
|
46
|
+
}, {
|
47
|
+
uuid: string;
|
48
|
+
type: string;
|
49
|
+
tag: string;
|
50
|
+
}>, "many">;
|
38
51
|
}, "strip", z.ZodTypeAny, {
|
39
52
|
uuid: string;
|
40
53
|
createdAt: Date;
|
@@ -59,6 +72,11 @@ export declare namespace EnableNodeCommand {
|
|
59
72
|
cpuCount: number | null;
|
60
73
|
cpuModel: string | null;
|
61
74
|
totalRam: string | null;
|
75
|
+
excludedInbounds: {
|
76
|
+
uuid: string;
|
77
|
+
type: string;
|
78
|
+
tag: string;
|
79
|
+
}[];
|
62
80
|
}, {
|
63
81
|
uuid: string;
|
64
82
|
createdAt: string;
|
@@ -83,6 +101,11 @@ export declare namespace EnableNodeCommand {
|
|
83
101
|
cpuCount: number | null;
|
84
102
|
cpuModel: string | null;
|
85
103
|
totalRam: string | null;
|
104
|
+
excludedInbounds: {
|
105
|
+
uuid: string;
|
106
|
+
type: string;
|
107
|
+
tag: string;
|
108
|
+
}[];
|
86
109
|
}>;
|
87
110
|
}, "strip", z.ZodTypeAny, {
|
88
111
|
response: {
|
@@ -109,6 +132,11 @@ export declare namespace EnableNodeCommand {
|
|
109
132
|
cpuCount: number | null;
|
110
133
|
cpuModel: string | null;
|
111
134
|
totalRam: string | null;
|
135
|
+
excludedInbounds: {
|
136
|
+
uuid: string;
|
137
|
+
type: string;
|
138
|
+
tag: string;
|
139
|
+
}[];
|
112
140
|
};
|
113
141
|
}, {
|
114
142
|
response: {
|
@@ -135,6 +163,11 @@ export declare namespace EnableNodeCommand {
|
|
135
163
|
cpuCount: number | null;
|
136
164
|
cpuModel: string | null;
|
137
165
|
totalRam: string | null;
|
166
|
+
excludedInbounds: {
|
167
|
+
uuid: string;
|
168
|
+
type: string;
|
169
|
+
tag: string;
|
170
|
+
}[];
|
138
171
|
};
|
139
172
|
}>;
|
140
173
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,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"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.EnableNodeCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const models_1 = require("../../models");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var EnableNodeCommand;
|
8
8
|
(function (EnableNodeCommand) {
|
9
9
|
EnableNodeCommand.url = api_1.REST_API.NODES.ENABLE;
|
@@ -27,6 +27,19 @@ export declare namespace GetAllNodesCommand {
|
|
27
27
|
totalRam: z.ZodNullable<z.ZodString>;
|
28
28
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
29
29
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
30
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
31
|
+
uuid: z.ZodString;
|
32
|
+
tag: z.ZodString;
|
33
|
+
type: z.ZodString;
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
35
|
+
uuid: string;
|
36
|
+
type: string;
|
37
|
+
tag: string;
|
38
|
+
}, {
|
39
|
+
uuid: string;
|
40
|
+
type: string;
|
41
|
+
tag: string;
|
42
|
+
}>, "many">;
|
30
43
|
}, "strip", z.ZodTypeAny, {
|
31
44
|
uuid: string;
|
32
45
|
createdAt: Date;
|
@@ -51,6 +64,11 @@ export declare namespace GetAllNodesCommand {
|
|
51
64
|
cpuCount: number | null;
|
52
65
|
cpuModel: string | null;
|
53
66
|
totalRam: string | null;
|
67
|
+
excludedInbounds: {
|
68
|
+
uuid: string;
|
69
|
+
type: string;
|
70
|
+
tag: string;
|
71
|
+
}[];
|
54
72
|
}, {
|
55
73
|
uuid: string;
|
56
74
|
createdAt: string;
|
@@ -75,6 +93,11 @@ export declare namespace GetAllNodesCommand {
|
|
75
93
|
cpuCount: number | null;
|
76
94
|
cpuModel: string | null;
|
77
95
|
totalRam: string | null;
|
96
|
+
excludedInbounds: {
|
97
|
+
uuid: string;
|
98
|
+
type: string;
|
99
|
+
tag: string;
|
100
|
+
}[];
|
78
101
|
}>, "many">;
|
79
102
|
}, "strip", z.ZodTypeAny, {
|
80
103
|
response: {
|
@@ -101,6 +124,11 @@ export declare namespace GetAllNodesCommand {
|
|
101
124
|
cpuCount: number | null;
|
102
125
|
cpuModel: string | null;
|
103
126
|
totalRam: string | null;
|
127
|
+
excludedInbounds: {
|
128
|
+
uuid: string;
|
129
|
+
type: string;
|
130
|
+
tag: string;
|
131
|
+
}[];
|
104
132
|
}[];
|
105
133
|
}, {
|
106
134
|
response: {
|
@@ -127,6 +155,11 @@ export declare namespace GetAllNodesCommand {
|
|
127
155
|
cpuCount: number | null;
|
128
156
|
cpuModel: string | null;
|
129
157
|
totalRam: string | null;
|
158
|
+
excludedInbounds: {
|
159
|
+
uuid: string;
|
160
|
+
type: string;
|
161
|
+
tag: string;
|
162
|
+
}[];
|
130
163
|
}[];
|
131
164
|
}>;
|
132
165
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetAllNodesCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const models_1 = require("../../models");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetAllNodesCommand;
|
8
8
|
(function (GetAllNodesCommand) {
|
9
9
|
GetAllNodesCommand.url = api_1.REST_API.NODES.GET_ALL;
|