@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
@@ -22,7 +22,7 @@ __exportStar(require("./get-all-users-v2.command"), exports);
|
|
22
22
|
__exportStar(require("./get-all-users.command"), exports);
|
23
23
|
__exportStar(require("./get-user-by-short-uuid.command"), exports);
|
24
24
|
__exportStar(require("./get-user-by-subscription-uuid.command"), exports);
|
25
|
+
__exportStar(require("./get-user-by-username.command"), exports);
|
25
26
|
__exportStar(require("./get-user-by-uuid.command"), exports);
|
26
27
|
__exportStar(require("./revoke-user-subscription.command"), exports);
|
27
28
|
__exportStar(require("./update-user.command"), exports);
|
28
|
-
__exportStar(require("./get-user-by-username.command"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAqC,CAAC;IAC/C,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.RevokeUserSubscriptionCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var RevokeUserSubscriptionCommand;
|
8
8
|
(function (RevokeUserSubscriptionCommand) {
|
9
9
|
RevokeUserSubscriptionCommand.url = api_1.REST_API.USERS.REVOKE_SUBSCRIPTION;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/update-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"update-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/update-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyCxB,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,9 +2,9 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateUserCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const constants_1 = require("../../constants");
|
7
6
|
const models_1 = require("../../models");
|
7
|
+
const api_1 = require("../../api");
|
8
8
|
var UpdateUserCommand;
|
9
9
|
(function (UpdateUserCommand) {
|
10
10
|
UpdateUserCommand.url = api_1.REST_API.USERS.UPDATE;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-config.command.d.ts","sourceRoot":"","sources":["../../../../commands/xray/get-config.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-config.command.d.ts","sourceRoot":"","sources":["../../../../commands/xray/get-config.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,wBAA2B,CAAC;IACrC,MAAM,OAAO,wBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-config.command.d.ts","sourceRoot":"","sources":["../../../../commands/xray/update-config.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"update-config.command.d.ts","sourceRoot":"","sources":["../../../../commands/xray/update-config.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAA8B,CAAC;IACxC,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,aAAa,oCAAoB,CAAC;IAE/C,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"}
|
@@ -289,5 +289,10 @@ export declare const ERRORS: {
|
|
289
289
|
readonly message: "Enabled nodes not found";
|
290
290
|
readonly httpCode: 409;
|
291
291
|
};
|
292
|
+
readonly GET_NODES_USAGE_BY_RANGE_ERROR: {
|
293
|
+
readonly code: "A055";
|
294
|
+
readonly message: "Get nodes usage by range error";
|
295
|
+
readonly httpCode: 500;
|
296
|
+
};
|
292
297
|
};
|
293
298
|
//# sourceMappingURL=errors.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+G3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./errors"), exports);
|
18
|
+
__exportStar(require("./events"), exports);
|
18
19
|
__exportStar(require("./hosts"), exports);
|
19
20
|
__exportStar(require("./nodes"), exports);
|
20
21
|
__exportStar(require("./roles"), exports);
|
21
22
|
__exportStar(require("./templates"), exports);
|
22
23
|
__exportStar(require("./users"), exports);
|
23
|
-
__exportStar(require("./events"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,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("./status"), exports);
|
18
17
|
__exportStar(require("./cycle"), exports);
|
18
|
+
__exportStar(require("./status"), exports);
|
@@ -23,6 +23,19 @@ export declare const NodesSchema: z.ZodObject<{
|
|
23
23
|
totalRam: z.ZodNullable<z.ZodString>;
|
24
24
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
25
25
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
26
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
27
|
+
uuid: z.ZodString;
|
28
|
+
tag: z.ZodString;
|
29
|
+
type: z.ZodString;
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
31
|
+
uuid: string;
|
32
|
+
type: string;
|
33
|
+
tag: string;
|
34
|
+
}, {
|
35
|
+
uuid: string;
|
36
|
+
type: string;
|
37
|
+
tag: string;
|
38
|
+
}>, "many">;
|
26
39
|
}, "strip", z.ZodTypeAny, {
|
27
40
|
uuid: string;
|
28
41
|
createdAt: Date;
|
@@ -47,6 +60,11 @@ export declare const NodesSchema: z.ZodObject<{
|
|
47
60
|
cpuCount: number | null;
|
48
61
|
cpuModel: string | null;
|
49
62
|
totalRam: string | null;
|
63
|
+
excludedInbounds: {
|
64
|
+
uuid: string;
|
65
|
+
type: string;
|
66
|
+
tag: string;
|
67
|
+
}[];
|
50
68
|
}, {
|
51
69
|
uuid: string;
|
52
70
|
createdAt: string;
|
@@ -71,5 +89,10 @@ export declare const NodesSchema: z.ZodObject<{
|
|
71
89
|
cpuCount: number | null;
|
72
90
|
cpuModel: string | null;
|
73
91
|
totalRam: string | null;
|
92
|
+
excludedInbounds: {
|
93
|
+
uuid: string;
|
94
|
+
type: string;
|
95
|
+
tag: string;
|
96
|
+
}[];
|
74
97
|
}>;
|
75
98
|
//# sourceMappingURL=nodes.schema.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BtB,CAAC"}
|
@@ -2,6 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.NodesSchema = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
+
const inbounds_schema_1 = require("./inbounds.schema");
|
5
6
|
exports.NodesSchema = zod_1.z.object({
|
6
7
|
uuid: zod_1.z.string().uuid(),
|
7
8
|
name: zod_1.z.string(),
|
@@ -26,4 +27,5 @@ exports.NodesSchema = zod_1.z.object({
|
|
26
27
|
totalRam: zod_1.z.nullable(zod_1.z.string()),
|
27
28
|
createdAt: zod_1.z.string().transform((str) => new Date(str)),
|
28
29
|
updatedAt: zod_1.z.string().transform((str) => new Date(str)),
|
30
|
+
excludedInbounds: zod_1.z.array(inbounds_schema_1.InboundsSchema),
|
29
31
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"users.schema.d.ts","sourceRoot":"","sources":["../../../models/users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"users.schema.d.ts","sourceRoot":"","sources":["../../../models/users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCtB,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);
|
@@ -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}`,
|
@@ -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;
|
@@ -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;
|
@@ -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;
|
@@ -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;
|
@@ -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;
|
@@ -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;
|
@@ -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,
|
@@ -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;
|
@@ -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;
|
@@ -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;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetNodesUsageByRangeCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
var GetNodesUsageByRangeCommand;
|
7
|
+
(function (GetNodesUsageByRangeCommand) {
|
8
|
+
GetNodesUsageByRangeCommand.url = api_1.REST_API.NODES.STATS.USAGE_BY_RANGE;
|
9
|
+
GetNodesUsageByRangeCommand.TSQ_url = GetNodesUsageByRangeCommand.url;
|
10
|
+
GetNodesUsageByRangeCommand.RequestQuerySchema = zod_1.z.object({
|
11
|
+
start: zod_1.z.string().transform((str) => new Date(str)),
|
12
|
+
end: zod_1.z.string().transform((str) => new Date(str)),
|
13
|
+
});
|
14
|
+
GetNodesUsageByRangeCommand.ResponseSchema = zod_1.z.object({
|
15
|
+
response: zod_1.z.array(zod_1.z.object({
|
16
|
+
nodeUuid: zod_1.z.string().uuid(),
|
17
|
+
nodeName: zod_1.z.string(),
|
18
|
+
total: zod_1.z.number(),
|
19
|
+
totalDownload: zod_1.z.number(),
|
20
|
+
totalUpload: zod_1.z.number(),
|
21
|
+
humanReadableTotal: zod_1.z.string(),
|
22
|
+
humanReadableTotalDownload: zod_1.z.string(),
|
23
|
+
humanReadableTotalUpload: zod_1.z.string(),
|
24
|
+
})),
|
25
|
+
});
|
26
|
+
})(GetNodesUsageByRangeCommand || (exports.GetNodesUsageByRangeCommand = GetNodesUsageByRangeCommand = {}));
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetOneNodeCommand = 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 GetOneNodeCommand;
|
8
8
|
(function (GetOneNodeCommand) {
|
9
9
|
GetOneNodeCommand.url = api_1.REST_API.NODES.GET_ONE;
|
@@ -19,6 +19,7 @@ __exportStar(require("./delete.command"), exports);
|
|
19
19
|
__exportStar(require("./disable.command"), exports);
|
20
20
|
__exportStar(require("./enable.command"), exports);
|
21
21
|
__exportStar(require("./get-all.command"), exports);
|
22
|
+
__exportStar(require("./get-nodes-usage-by-range.command"), exports);
|
22
23
|
__exportStar(require("./get-one.command"), exports);
|
23
24
|
__exportStar(require("./restart-all.command"), exports);
|
24
25
|
__exportStar(require("./restart.command"), exports);
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateNodeCommand = 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 UpdateNodeCommand;
|
8
8
|
(function (UpdateNodeCommand) {
|
9
9
|
UpdateNodeCommand.url = api_1.REST_API.NODES.UPDATE;
|
@@ -24,6 +24,9 @@ var UpdateNodeCommand;
|
|
24
24
|
.number()
|
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
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
29
32
|
response: models_1.NodesSchema,
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetSubscriptionInfoByShortUuidCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const constants_1 = require("../../constants");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetSubscriptionInfoByShortUuidCommand;
|
8
8
|
(function (GetSubscriptionInfoByShortUuidCommand) {
|
9
9
|
GetSubscriptionInfoByShortUuidCommand.url = api_1.REST_API.SUBSCRIPTION.GET_INFO;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetBandwidthStatsCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const base_stat_schema_1 = require("../../models/base-stat.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetBandwidthStatsCommand;
|
8
8
|
(function (GetBandwidthStatsCommand) {
|
9
9
|
GetBandwidthStatsCommand.url = api_1.REST_API.SYSTEM.BANDWIDTH;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetStatsCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const constants_1 = require("../../constants");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetStatsCommand;
|
8
8
|
(function (GetStatsCommand) {
|
9
9
|
GetStatsCommand.url = api_1.REST_API.SYSTEM.STATS;
|
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateUserCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const constants_1 = require("../../constants");
|
7
6
|
const models_1 = require("../../models");
|
7
|
+
const api_1 = require("../../api");
|
8
8
|
var CreateUserCommand;
|
9
9
|
(function (CreateUserCommand) {
|
10
10
|
CreateUserCommand.url = api_1.REST_API.USERS.CREATE;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DisableUserCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var DisableUserCommand;
|
8
8
|
(function (DisableUserCommand) {
|
9
9
|
DisableUserCommand.url = api_1.REST_API.USERS.DISABLE_USER;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.EnableUserCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var EnableUserCommand;
|
8
8
|
(function (EnableUserCommand) {
|
9
9
|
EnableUserCommand.url = api_1.REST_API.USERS.ENABLE_USER;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetAllUsersV2Command = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetAllUsersV2Command;
|
8
8
|
(function (GetAllUsersV2Command) {
|
9
9
|
GetAllUsersV2Command.url = api_1.REST_API.USERS.GET_ALL_V2;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetAllUsersCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetAllUsersCommand;
|
8
8
|
(function (GetAllUsersCommand) {
|
9
9
|
GetAllUsersCommand.url = api_1.REST_API.USERS.GET_ALL;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserByShortUuidCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetUserByShortUuidCommand;
|
8
8
|
(function (GetUserByShortUuidCommand) {
|
9
9
|
GetUserByShortUuidCommand.url = api_1.REST_API.USERS.GET_BY_SHORT_UUID;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserBySubscriptionUuidCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetUserBySubscriptionUuidCommand;
|
8
8
|
(function (GetUserBySubscriptionUuidCommand) {
|
9
9
|
GetUserBySubscriptionUuidCommand.url = api_1.REST_API.USERS.GET_BY_SUBSCRIPTION_UUID;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserByUsernameCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetUserByUsernameCommand;
|
8
8
|
(function (GetUserByUsernameCommand) {
|
9
9
|
GetUserByUsernameCommand.url = api_1.REST_API.USERS.GET_BY_USERNAME;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetUserByUuidCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var GetUserByUuidCommand;
|
8
8
|
(function (GetUserByUuidCommand) {
|
9
9
|
GetUserByUuidCommand.url = api_1.REST_API.USERS.GET_BY_UUID;
|
@@ -22,7 +22,7 @@ __exportStar(require("./get-all-users-v2.command"), exports);
|
|
22
22
|
__exportStar(require("./get-all-users.command"), exports);
|
23
23
|
__exportStar(require("./get-user-by-short-uuid.command"), exports);
|
24
24
|
__exportStar(require("./get-user-by-subscription-uuid.command"), exports);
|
25
|
+
__exportStar(require("./get-user-by-username.command"), exports);
|
25
26
|
__exportStar(require("./get-user-by-uuid.command"), exports);
|
26
27
|
__exportStar(require("./revoke-user-subscription.command"), exports);
|
27
28
|
__exportStar(require("./update-user.command"), exports);
|
28
|
-
__exportStar(require("./get-user-by-username.command"), exports);
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.RevokeUserSubscriptionCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const users_schema_1 = require("../../models/users.schema");
|
6
|
+
const api_1 = require("../../api");
|
7
7
|
var RevokeUserSubscriptionCommand;
|
8
8
|
(function (RevokeUserSubscriptionCommand) {
|
9
9
|
RevokeUserSubscriptionCommand.url = api_1.REST_API.USERS.REVOKE_SUBSCRIPTION;
|
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateUserCommand = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const api_1 = require("../../api");
|
6
5
|
const constants_1 = require("../../constants");
|
7
6
|
const models_1 = require("../../models");
|
7
|
+
const api_1 = require("../../api");
|
8
8
|
var UpdateUserCommand;
|
9
9
|
(function (UpdateUserCommand) {
|
10
10
|
UpdateUserCommand.url = api_1.REST_API.USERS.UPDATE;
|
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./errors"), exports);
|
18
|
+
__exportStar(require("./events"), exports);
|
18
19
|
__exportStar(require("./hosts"), exports);
|
19
20
|
__exportStar(require("./nodes"), exports);
|
20
21
|
__exportStar(require("./roles"), exports);
|
21
22
|
__exportStar(require("./templates"), exports);
|
22
23
|
__exportStar(require("./users"), exports);
|
23
|
-
__exportStar(require("./events"), exports);
|