@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
@@ -0,0 +1,70 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace GetNodesUsageByRangeCommand {
|
3
|
+
const url: "/api/nodes/usage/range";
|
4
|
+
const TSQ_url: "/api/nodes/usage/range";
|
5
|
+
const RequestQuerySchema: z.ZodObject<{
|
6
|
+
start: z.ZodEffects<z.ZodString, Date, string>;
|
7
|
+
end: z.ZodEffects<z.ZodString, Date, string>;
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
9
|
+
start: Date;
|
10
|
+
end: Date;
|
11
|
+
}, {
|
12
|
+
start: string;
|
13
|
+
end: string;
|
14
|
+
}>;
|
15
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
16
|
+
const ResponseSchema: z.ZodObject<{
|
17
|
+
response: z.ZodArray<z.ZodObject<{
|
18
|
+
nodeUuid: z.ZodString;
|
19
|
+
nodeName: z.ZodString;
|
20
|
+
total: z.ZodNumber;
|
21
|
+
totalDownload: z.ZodNumber;
|
22
|
+
totalUpload: z.ZodNumber;
|
23
|
+
humanReadableTotal: z.ZodString;
|
24
|
+
humanReadableTotalDownload: z.ZodString;
|
25
|
+
humanReadableTotalUpload: z.ZodString;
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
27
|
+
nodeUuid: string;
|
28
|
+
nodeName: string;
|
29
|
+
total: number;
|
30
|
+
totalDownload: number;
|
31
|
+
totalUpload: number;
|
32
|
+
humanReadableTotal: string;
|
33
|
+
humanReadableTotalDownload: string;
|
34
|
+
humanReadableTotalUpload: string;
|
35
|
+
}, {
|
36
|
+
nodeUuid: string;
|
37
|
+
nodeName: string;
|
38
|
+
total: number;
|
39
|
+
totalDownload: number;
|
40
|
+
totalUpload: number;
|
41
|
+
humanReadableTotal: string;
|
42
|
+
humanReadableTotalDownload: string;
|
43
|
+
humanReadableTotalUpload: string;
|
44
|
+
}>, "many">;
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
46
|
+
response: {
|
47
|
+
nodeUuid: string;
|
48
|
+
nodeName: string;
|
49
|
+
total: number;
|
50
|
+
totalDownload: number;
|
51
|
+
totalUpload: number;
|
52
|
+
humanReadableTotal: string;
|
53
|
+
humanReadableTotalDownload: string;
|
54
|
+
humanReadableTotalUpload: string;
|
55
|
+
}[];
|
56
|
+
}, {
|
57
|
+
response: {
|
58
|
+
nodeUuid: string;
|
59
|
+
nodeName: string;
|
60
|
+
total: number;
|
61
|
+
totalDownload: number;
|
62
|
+
totalUpload: number;
|
63
|
+
humanReadableTotal: string;
|
64
|
+
humanReadableTotalDownload: string;
|
65
|
+
humanReadableTotalUpload: string;
|
66
|
+
}[];
|
67
|
+
}>;
|
68
|
+
type Response = z.infer<typeof ResponseSchema>;
|
69
|
+
}
|
70
|
+
//# sourceMappingURL=get-nodes-usage-by-range.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-nodes-usage-by-range.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-nodes-usage-by-range.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,0BAAsC,CAAC;IAChD,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;;;;MAG7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAazB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -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 = {}));
|
@@ -35,6 +35,19 @@ export declare namespace GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,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.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;
|
@@ -3,6 +3,7 @@ export * from './delete.command';
|
|
3
3
|
export * from './disable.command';
|
4
4
|
export * from './enable.command';
|
5
5
|
export * from './get-all.command';
|
6
|
+
export * from './get-nodes-usage-by-range.command';
|
6
7
|
export * from './get-one.command';
|
7
8
|
export * from './restart-all.command';
|
8
9
|
export * from './restart.command';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
@@ -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);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"restart-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/restart-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"restart-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/restart-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,0BAAM,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":"restart.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/restart.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"restart.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/restart.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,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;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -26,6 +26,19 @@ export declare namespace UpdateNodeCommand {
|
|
26
26
|
totalRam: z.ZodNullable<z.ZodString>;
|
27
27
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
28
28
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
29
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
30
|
+
uuid: z.ZodString;
|
31
|
+
tag: z.ZodString;
|
32
|
+
type: z.ZodString;
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
34
|
+
uuid: string;
|
35
|
+
type: string;
|
36
|
+
tag: string;
|
37
|
+
}, {
|
38
|
+
uuid: string;
|
39
|
+
type: string;
|
40
|
+
tag: string;
|
41
|
+
}>, "many">;
|
29
42
|
}, "uuid">, {
|
30
43
|
name: z.ZodOptional<z.ZodString>;
|
31
44
|
address: z.ZodOptional<z.ZodString>;
|
@@ -34,6 +47,7 @@ export declare namespace UpdateNodeCommand {
|
|
34
47
|
trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
|
35
48
|
notifyPercent: z.ZodOptional<z.ZodNumber>;
|
36
49
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
50
|
+
excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
37
51
|
}>, "strip", z.ZodTypeAny, {
|
38
52
|
uuid: string;
|
39
53
|
address?: string | undefined;
|
@@ -43,6 +57,7 @@ export declare namespace UpdateNodeCommand {
|
|
43
57
|
trafficResetDay?: number | undefined;
|
44
58
|
trafficLimitBytes?: number | undefined;
|
45
59
|
notifyPercent?: number | undefined;
|
60
|
+
excludedInbounds?: string[] | undefined;
|
46
61
|
}, {
|
47
62
|
uuid: string;
|
48
63
|
address?: string | undefined;
|
@@ -52,6 +67,7 @@ export declare namespace UpdateNodeCommand {
|
|
52
67
|
trafficResetDay?: number | undefined;
|
53
68
|
trafficLimitBytes?: number | undefined;
|
54
69
|
notifyPercent?: number | undefined;
|
70
|
+
excludedInbounds?: string[] | undefined;
|
55
71
|
}>;
|
56
72
|
type Request = z.infer<typeof RequestSchema>;
|
57
73
|
const ResponseSchema: z.ZodObject<{
|
@@ -79,6 +95,19 @@ export declare namespace UpdateNodeCommand {
|
|
79
95
|
totalRam: z.ZodNullable<z.ZodString>;
|
80
96
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
81
97
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
98
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
99
|
+
uuid: z.ZodString;
|
100
|
+
tag: z.ZodString;
|
101
|
+
type: z.ZodString;
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
103
|
+
uuid: string;
|
104
|
+
type: string;
|
105
|
+
tag: string;
|
106
|
+
}, {
|
107
|
+
uuid: string;
|
108
|
+
type: string;
|
109
|
+
tag: string;
|
110
|
+
}>, "many">;
|
82
111
|
}, "strip", z.ZodTypeAny, {
|
83
112
|
uuid: string;
|
84
113
|
createdAt: Date;
|
@@ -103,6 +132,11 @@ export declare namespace UpdateNodeCommand {
|
|
103
132
|
cpuCount: number | null;
|
104
133
|
cpuModel: string | null;
|
105
134
|
totalRam: string | null;
|
135
|
+
excludedInbounds: {
|
136
|
+
uuid: string;
|
137
|
+
type: string;
|
138
|
+
tag: string;
|
139
|
+
}[];
|
106
140
|
}, {
|
107
141
|
uuid: string;
|
108
142
|
createdAt: string;
|
@@ -127,6 +161,11 @@ export declare namespace UpdateNodeCommand {
|
|
127
161
|
cpuCount: number | null;
|
128
162
|
cpuModel: string | null;
|
129
163
|
totalRam: string | null;
|
164
|
+
excludedInbounds: {
|
165
|
+
uuid: string;
|
166
|
+
type: string;
|
167
|
+
tag: string;
|
168
|
+
}[];
|
130
169
|
}>;
|
131
170
|
}, "strip", z.ZodTypeAny, {
|
132
171
|
response: {
|
@@ -153,6 +192,11 @@ export declare namespace UpdateNodeCommand {
|
|
153
192
|
cpuCount: number | null;
|
154
193
|
cpuModel: string | null;
|
155
194
|
totalRam: string | null;
|
195
|
+
excludedInbounds: {
|
196
|
+
uuid: string;
|
197
|
+
type: string;
|
198
|
+
tag: string;
|
199
|
+
}[];
|
156
200
|
};
|
157
201
|
}, {
|
158
202
|
response: {
|
@@ -179,6 +223,11 @@ export declare namespace UpdateNodeCommand {
|
|
179
223
|
cpuCount: number | null;
|
180
224
|
cpuModel: string | null;
|
181
225
|
totalRam: string | null;
|
226
|
+
excludedInbounds: {
|
227
|
+
uuid: string;
|
228
|
+
type: string;
|
229
|
+
tag: string;
|
230
|
+
}[];
|
182
231
|
};
|
183
232
|
}>;
|
184
233
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBxB,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.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,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAA4B,CAAC;IACtC,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;CACvD"}
|
package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-subscription-info-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-info-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-subscription-info-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-subscription-info-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,qCAAqC,CAAC;IAC5C,MAAM,GAAG,+BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAczB,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-bandwidth-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-bandwidth-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-bandwidth-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-bandwidth-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA4B,CAAC;IACtC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-nodes-statistics.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-nodes-statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-nodes-statistics.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-nodes-statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,gCAAkC,CAAC;IAC5C,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,eAAe,CAAC;IACtB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBzB,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkGxB,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delete-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/delete-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"delete-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/delete-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,iBAAiB,CAAC;IACxB,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;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable-user.command.ts.d.ts","sourceRoot":"","sources":["../../../../commands/users/disable-user.command.ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"disable-user.command.ts.d.ts","sourceRoot":"","sources":["../../../../commands/users/disable-user.command.ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAA8B,CAAC;IACxC,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"enable-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/enable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,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"}
|
@@ -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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all-users-v2.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users-v2.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-all-users-v2.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users-v2.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,iBAA4B,CAAC;IACtC,MAAM,OAAO,iBAAM,CAAC;IAapB,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyB7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,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.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;
|
@@ -4,8 +4,8 @@ export declare namespace GetAllUsersCommand {
|
|
4
4
|
const TSQ_url: "/api/users/";
|
5
5
|
const SortableFields: readonly ["username", "status", "expireAt", "createdAt", "onlineAt", "usedTrafficBytes", "trafficLimitBytes"];
|
6
6
|
const SearchableFields: readonly ["username", "shortUuid", "subscriptionUuid", "uuid", "status"];
|
7
|
-
type SortableField = (typeof SortableFields)[number];
|
8
7
|
type SearchableField = (typeof SearchableFields)[number];
|
8
|
+
type SortableField = (typeof SortableFields)[number];
|
9
9
|
const RequestQuerySchema: z.ZodObject<{
|
10
10
|
limit: z.ZodEffects<z.ZodDefault<z.ZodString>, number, string | undefined>;
|
11
11
|
offset: z.ZodEffects<z.ZodDefault<z.ZodString>, number, string | undefined>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-all-users.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-all-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAyB,CAAC;IACnC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,cAAc,+GAQjB,CAAC;IAEJ,MAAM,gBAAgB,0EAMnB,CAAC;IAEX,KAAY,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;IAChE,KAAY,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;IAErD,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAa7B,CAAC;IAIH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-user-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAmC,CAAC;IAC7C,MAAM,OAAO,QAAoB,CAAC;IAElC,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-user-by-subscription-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-subscription-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-user-by-subscription-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-subscription-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,sCAA0C,CAAC;IACpD,MAAM,OAAO,QAA2B,CAAC;IAEzC,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-user-by-username.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-username.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAmB,CAAC;IAEjC,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.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;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-user-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"get-user-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,oBAAoB,CAAC;IAC3B,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"}
|
@@ -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;
|
@@ -6,8 +6,8 @@ export * from './get-all-users-v2.command';
|
|
6
6
|
export * from './get-all-users.command';
|
7
7
|
export * from './get-user-by-short-uuid.command';
|
8
8
|
export * from './get-user-by-subscription-uuid.command';
|
9
|
+
export * from './get-user-by-username.command';
|
9
10
|
export * from './get-user-by-uuid.command';
|
10
11
|
export * from './revoke-user-subscription.command';
|
11
12
|
export * from './update-user.command';
|
12
|
-
export * from './get-user-by-username.command';
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC"}
|