@remnawave/backend-contract 2.3.68 → 2.3.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/backend/api/controllers/bandwidth-stats.d.ts +2 -0
- package/build/backend/api/controllers/bandwidth-stats.d.ts.map +1 -1
- package/build/backend/api/controllers/bandwidth-stats.js +5 -3
- package/build/backend/api/routes.d.ts +2 -2
- package/build/backend/api/routes.js +6 -6
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-realtime-usage.command.d.ts +2 -2
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-realtime-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +2 -2
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +30 -30
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +20 -20
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +20 -20
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +20 -20
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +30 -30
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +20 -20
- package/build/backend/models/config-profile.schema.d.ts +10 -10
- package/build/frontend/api/controllers/bandwidth-stats.js +5 -3
- package/build/frontend/api/routes.js +6 -6
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const BANDWIDTH_STATS_CONTROLLER: "bandwidth-stats";
|
|
2
|
+
export declare const BANDWIDTH_STATS_NODES_ROUTE: "nodes";
|
|
3
|
+
export declare const BANDWIDTH_STATS_USERS_ROUTE: "users";
|
|
2
4
|
export declare const BANDWIDTH_STATS_NODES_CONTROLLER: "bandwidth-stats/nodes";
|
|
3
5
|
export declare const BANDWIDTH_STATS_USERS_CONTROLLER: "bandwidth-stats/users";
|
|
4
6
|
export declare const BANDWIDTH_STATS_ROUTES: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bandwidth-stats.d.ts","sourceRoot":"","sources":["../../../../api/controllers/bandwidth-stats.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAErE,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"bandwidth-stats.d.ts","sourceRoot":"","sources":["../../../../api/controllers/bandwidth-stats.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAErE,eAAO,MAAM,2BAA2B,EAAG,OAAgB,CAAC;AAC5D,eAAO,MAAM,2BAA2B,EAAG,OAAgB,CAAC;AAE5D,eAAO,MAAM,gCAAgC,yBAC8B,CAAC;AAC5E,eAAO,MAAM,gCAAgC,yBAC8B,CAAC;AAO5E,eAAO,MAAM,sBAAsB;;;;mCAOT,MAAM;;;qCAIJ,MAAM;;;;uCAKJ,MAAM;;;yCAIJ,MAAM;;;CAG5B,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BANDWIDTH_STATS_ROUTES = exports.BANDWIDTH_STATS_USERS_CONTROLLER = exports.BANDWIDTH_STATS_NODES_CONTROLLER = exports.BANDWIDTH_STATS_CONTROLLER = void 0;
|
|
3
|
+
exports.BANDWIDTH_STATS_ROUTES = exports.BANDWIDTH_STATS_USERS_CONTROLLER = exports.BANDWIDTH_STATS_NODES_CONTROLLER = exports.BANDWIDTH_STATS_USERS_ROUTE = exports.BANDWIDTH_STATS_NODES_ROUTE = exports.BANDWIDTH_STATS_CONTROLLER = void 0;
|
|
4
4
|
exports.BANDWIDTH_STATS_CONTROLLER = 'bandwidth-stats';
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
5
|
+
exports.BANDWIDTH_STATS_NODES_ROUTE = 'nodes';
|
|
6
|
+
exports.BANDWIDTH_STATS_USERS_ROUTE = 'users';
|
|
7
|
+
exports.BANDWIDTH_STATS_NODES_CONTROLLER = `${exports.BANDWIDTH_STATS_CONTROLLER}/${exports.BANDWIDTH_STATS_NODES_ROUTE}`;
|
|
8
|
+
exports.BANDWIDTH_STATS_USERS_CONTROLLER = `${exports.BANDWIDTH_STATS_CONTROLLER}/${exports.BANDWIDTH_STATS_USERS_ROUTE}`;
|
|
7
9
|
// Variants:
|
|
8
10
|
// 1. Nodes -> Metrics
|
|
9
11
|
// 2. Nodes -> Management -> Show usage (!need legacy)
|
|
@@ -253,8 +253,8 @@ export declare const REST_API: {
|
|
|
253
253
|
};
|
|
254
254
|
readonly BANDWIDTH_STATS: {
|
|
255
255
|
readonly NODES: {
|
|
256
|
-
readonly GET: "/api/bandwidth-stats/";
|
|
257
|
-
readonly GET_REALTIME: "/api/bandwidth-stats/realtime";
|
|
256
|
+
readonly GET: "/api/bandwidth-stats/nodes/";
|
|
257
|
+
readonly GET_REALTIME: "/api/bandwidth-stats/nodes/realtime";
|
|
258
258
|
readonly GET_USERS: (uuid: string) => string;
|
|
259
259
|
};
|
|
260
260
|
readonly USERS: {
|
|
@@ -290,19 +290,19 @@ exports.REST_API = {
|
|
|
290
290
|
},
|
|
291
291
|
BANDWIDTH_STATS: {
|
|
292
292
|
NODES: {
|
|
293
|
-
GET: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET}`,
|
|
294
|
-
GET_REALTIME: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_REALTIME}`,
|
|
295
|
-
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_USERS(uuid)}`,
|
|
293
|
+
GET: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET}`,
|
|
294
|
+
GET_REALTIME: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_REALTIME}`,
|
|
295
|
+
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_USERS(uuid)}`,
|
|
296
296
|
},
|
|
297
297
|
USERS: {
|
|
298
|
-
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.USERS.GET_BY_UUID(uuid)}`,
|
|
298
|
+
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_USERS_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.USERS.GET_BY_UUID(uuid)}`,
|
|
299
299
|
},
|
|
300
300
|
LEGACY: {
|
|
301
301
|
NODES: {
|
|
302
|
-
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.NODES.GET_USERS(uuid)}`,
|
|
302
|
+
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.NODES.GET_USERS(uuid)}`,
|
|
303
303
|
},
|
|
304
304
|
USERS: {
|
|
305
|
-
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.USERS.GET_BY_UUID(uuid)}`,
|
|
305
|
+
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_USERS_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.USERS.GET_BY_UUID(uuid)}`,
|
|
306
306
|
},
|
|
307
307
|
},
|
|
308
308
|
},
|
package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-realtime-usage.command.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace GetStatsNodesRealtimeUsageCommand {
|
|
3
|
-
const url: "/api/bandwidth-stats/realtime";
|
|
4
|
-
const TSQ_url: "/api/bandwidth-stats/realtime";
|
|
3
|
+
const url: "/api/bandwidth-stats/nodes/realtime";
|
|
4
|
+
const TSQ_url: "/api/bandwidth-stats/nodes/realtime";
|
|
5
5
|
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
6
|
const ResponseSchema: z.ZodObject<{
|
|
7
7
|
response: z.ZodArray<z.ZodObject<{
|
package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-realtime-usage.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stats-nodes-realtime-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/nodes/get-stats-nodes-realtime-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"get-stats-nodes-realtime-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/nodes/get-stats-nodes-realtime-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,uCAA8C,CAAC;IACxD,MAAM,OAAO,uCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAczB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace GetStatsNodesUsageCommand {
|
|
3
|
-
const url: "/api/bandwidth-stats/";
|
|
4
|
-
const TSQ_url: "/api/bandwidth-stats/";
|
|
3
|
+
const url: "/api/bandwidth-stats/nodes/";
|
|
4
|
+
const TSQ_url: "/api/bandwidth-stats/nodes/";
|
|
5
5
|
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
6
|
const RequestQuerySchema: z.ZodObject<{
|
|
7
7
|
start: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stats-nodes-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"get-stats-nodes-usage.command.d.ts","sourceRoot":"","sources":["../../../../../commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;MAG7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -123,6 +123,11 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
123
123
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
124
124
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
nodes: {
|
|
127
|
+
uuid: string;
|
|
128
|
+
countryCode: string;
|
|
129
|
+
name: string;
|
|
130
|
+
}[];
|
|
126
131
|
inbounds: {
|
|
127
132
|
type: string;
|
|
128
133
|
uuid: string;
|
|
@@ -133,11 +138,6 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
133
138
|
port: number | null;
|
|
134
139
|
rawInbound?: unknown;
|
|
135
140
|
}[];
|
|
136
|
-
nodes: {
|
|
137
|
-
uuid: string;
|
|
138
|
-
countryCode: string;
|
|
139
|
-
name: string;
|
|
140
|
-
}[];
|
|
141
141
|
uuid: string;
|
|
142
142
|
createdAt: Date;
|
|
143
143
|
updatedAt: Date;
|
|
@@ -145,6 +145,11 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
145
145
|
viewPosition: number;
|
|
146
146
|
config?: unknown;
|
|
147
147
|
}, {
|
|
148
|
+
nodes: {
|
|
149
|
+
uuid: string;
|
|
150
|
+
countryCode: string;
|
|
151
|
+
name: string;
|
|
152
|
+
}[];
|
|
148
153
|
inbounds: {
|
|
149
154
|
type: string;
|
|
150
155
|
uuid: string;
|
|
@@ -155,11 +160,6 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
155
160
|
port: number | null;
|
|
156
161
|
rawInbound?: unknown;
|
|
157
162
|
}[];
|
|
158
|
-
nodes: {
|
|
159
|
-
uuid: string;
|
|
160
|
-
countryCode: string;
|
|
161
|
-
name: string;
|
|
162
|
-
}[];
|
|
163
163
|
uuid: string;
|
|
164
164
|
createdAt: string;
|
|
165
165
|
updatedAt: string;
|
|
@@ -170,6 +170,11 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
171
|
total: number;
|
|
172
172
|
configProfiles: {
|
|
173
|
+
nodes: {
|
|
174
|
+
uuid: string;
|
|
175
|
+
countryCode: string;
|
|
176
|
+
name: string;
|
|
177
|
+
}[];
|
|
173
178
|
inbounds: {
|
|
174
179
|
type: string;
|
|
175
180
|
uuid: string;
|
|
@@ -180,11 +185,6 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
180
185
|
port: number | null;
|
|
181
186
|
rawInbound?: unknown;
|
|
182
187
|
}[];
|
|
183
|
-
nodes: {
|
|
184
|
-
uuid: string;
|
|
185
|
-
countryCode: string;
|
|
186
|
-
name: string;
|
|
187
|
-
}[];
|
|
188
188
|
uuid: string;
|
|
189
189
|
createdAt: Date;
|
|
190
190
|
updatedAt: Date;
|
|
@@ -195,6 +195,11 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
195
195
|
}, {
|
|
196
196
|
total: number;
|
|
197
197
|
configProfiles: {
|
|
198
|
+
nodes: {
|
|
199
|
+
uuid: string;
|
|
200
|
+
countryCode: string;
|
|
201
|
+
name: string;
|
|
202
|
+
}[];
|
|
198
203
|
inbounds: {
|
|
199
204
|
type: string;
|
|
200
205
|
uuid: string;
|
|
@@ -205,11 +210,6 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
205
210
|
port: number | null;
|
|
206
211
|
rawInbound?: unknown;
|
|
207
212
|
}[];
|
|
208
|
-
nodes: {
|
|
209
|
-
uuid: string;
|
|
210
|
-
countryCode: string;
|
|
211
|
-
name: string;
|
|
212
|
-
}[];
|
|
213
213
|
uuid: string;
|
|
214
214
|
createdAt: string;
|
|
215
215
|
updatedAt: string;
|
|
@@ -222,6 +222,11 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
222
222
|
response: {
|
|
223
223
|
total: number;
|
|
224
224
|
configProfiles: {
|
|
225
|
+
nodes: {
|
|
226
|
+
uuid: string;
|
|
227
|
+
countryCode: string;
|
|
228
|
+
name: string;
|
|
229
|
+
}[];
|
|
225
230
|
inbounds: {
|
|
226
231
|
type: string;
|
|
227
232
|
uuid: string;
|
|
@@ -232,11 +237,6 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
232
237
|
port: number | null;
|
|
233
238
|
rawInbound?: unknown;
|
|
234
239
|
}[];
|
|
235
|
-
nodes: {
|
|
236
|
-
uuid: string;
|
|
237
|
-
countryCode: string;
|
|
238
|
-
name: string;
|
|
239
|
-
}[];
|
|
240
240
|
uuid: string;
|
|
241
241
|
createdAt: Date;
|
|
242
242
|
updatedAt: Date;
|
|
@@ -249,6 +249,11 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
249
249
|
response: {
|
|
250
250
|
total: number;
|
|
251
251
|
configProfiles: {
|
|
252
|
+
nodes: {
|
|
253
|
+
uuid: string;
|
|
254
|
+
countryCode: string;
|
|
255
|
+
name: string;
|
|
256
|
+
}[];
|
|
252
257
|
inbounds: {
|
|
253
258
|
type: string;
|
|
254
259
|
uuid: string;
|
|
@@ -259,11 +264,6 @@ export declare namespace ReorderConfigProfileCommand {
|
|
|
259
264
|
port: number | null;
|
|
260
265
|
rawInbound?: unknown;
|
|
261
266
|
}[];
|
|
262
|
-
nodes: {
|
|
263
|
-
uuid: string;
|
|
264
|
-
countryCode: string;
|
|
265
|
-
name: string;
|
|
266
|
-
}[];
|
|
267
267
|
uuid: string;
|
|
268
268
|
createdAt: string;
|
|
269
269
|
updatedAt: string;
|
|
@@ -68,6 +68,11 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
68
68
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
69
69
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
nodes: {
|
|
72
|
+
uuid: string;
|
|
73
|
+
countryCode: string;
|
|
74
|
+
name: string;
|
|
75
|
+
}[];
|
|
71
76
|
inbounds: {
|
|
72
77
|
type: string;
|
|
73
78
|
uuid: string;
|
|
@@ -78,11 +83,6 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
78
83
|
port: number | null;
|
|
79
84
|
rawInbound?: unknown;
|
|
80
85
|
}[];
|
|
81
|
-
nodes: {
|
|
82
|
-
uuid: string;
|
|
83
|
-
countryCode: string;
|
|
84
|
-
name: string;
|
|
85
|
-
}[];
|
|
86
86
|
uuid: string;
|
|
87
87
|
createdAt: Date;
|
|
88
88
|
updatedAt: Date;
|
|
@@ -90,6 +90,11 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
90
90
|
viewPosition: number;
|
|
91
91
|
config?: unknown;
|
|
92
92
|
}, {
|
|
93
|
+
nodes: {
|
|
94
|
+
uuid: string;
|
|
95
|
+
countryCode: string;
|
|
96
|
+
name: string;
|
|
97
|
+
}[];
|
|
93
98
|
inbounds: {
|
|
94
99
|
type: string;
|
|
95
100
|
uuid: string;
|
|
@@ -100,11 +105,6 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
100
105
|
port: number | null;
|
|
101
106
|
rawInbound?: unknown;
|
|
102
107
|
}[];
|
|
103
|
-
nodes: {
|
|
104
|
-
uuid: string;
|
|
105
|
-
countryCode: string;
|
|
106
|
-
name: string;
|
|
107
|
-
}[];
|
|
108
108
|
uuid: string;
|
|
109
109
|
createdAt: string;
|
|
110
110
|
updatedAt: string;
|
|
@@ -114,6 +114,11 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
114
114
|
}>;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
response: {
|
|
117
|
+
nodes: {
|
|
118
|
+
uuid: string;
|
|
119
|
+
countryCode: string;
|
|
120
|
+
name: string;
|
|
121
|
+
}[];
|
|
117
122
|
inbounds: {
|
|
118
123
|
type: string;
|
|
119
124
|
uuid: string;
|
|
@@ -124,11 +129,6 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
124
129
|
port: number | null;
|
|
125
130
|
rawInbound?: unknown;
|
|
126
131
|
}[];
|
|
127
|
-
nodes: {
|
|
128
|
-
uuid: string;
|
|
129
|
-
countryCode: string;
|
|
130
|
-
name: string;
|
|
131
|
-
}[];
|
|
132
132
|
uuid: string;
|
|
133
133
|
createdAt: Date;
|
|
134
134
|
updatedAt: Date;
|
|
@@ -138,6 +138,11 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
138
138
|
};
|
|
139
139
|
}, {
|
|
140
140
|
response: {
|
|
141
|
+
nodes: {
|
|
142
|
+
uuid: string;
|
|
143
|
+
countryCode: string;
|
|
144
|
+
name: string;
|
|
145
|
+
}[];
|
|
141
146
|
inbounds: {
|
|
142
147
|
type: string;
|
|
143
148
|
uuid: string;
|
|
@@ -148,11 +153,6 @@ export declare namespace CreateConfigProfileCommand {
|
|
|
148
153
|
port: number | null;
|
|
149
154
|
rawInbound?: unknown;
|
|
150
155
|
}[];
|
|
151
|
-
nodes: {
|
|
152
|
-
uuid: string;
|
|
153
|
-
countryCode: string;
|
|
154
|
-
name: string;
|
|
155
|
-
}[];
|
|
156
156
|
uuid: string;
|
|
157
157
|
createdAt: string;
|
|
158
158
|
updatedAt: string;
|
package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts
CHANGED
|
@@ -61,6 +61,11 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
61
61
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
62
62
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
nodes: {
|
|
65
|
+
uuid: string;
|
|
66
|
+
countryCode: string;
|
|
67
|
+
name: string;
|
|
68
|
+
}[];
|
|
64
69
|
inbounds: {
|
|
65
70
|
type: string;
|
|
66
71
|
uuid: string;
|
|
@@ -71,11 +76,6 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
71
76
|
port: number | null;
|
|
72
77
|
rawInbound?: unknown;
|
|
73
78
|
}[];
|
|
74
|
-
nodes: {
|
|
75
|
-
uuid: string;
|
|
76
|
-
countryCode: string;
|
|
77
|
-
name: string;
|
|
78
|
-
}[];
|
|
79
79
|
uuid: string;
|
|
80
80
|
createdAt: Date;
|
|
81
81
|
updatedAt: Date;
|
|
@@ -83,6 +83,11 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
83
83
|
viewPosition: number;
|
|
84
84
|
config?: unknown;
|
|
85
85
|
}, {
|
|
86
|
+
nodes: {
|
|
87
|
+
uuid: string;
|
|
88
|
+
countryCode: string;
|
|
89
|
+
name: string;
|
|
90
|
+
}[];
|
|
86
91
|
inbounds: {
|
|
87
92
|
type: string;
|
|
88
93
|
uuid: string;
|
|
@@ -93,11 +98,6 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
93
98
|
port: number | null;
|
|
94
99
|
rawInbound?: unknown;
|
|
95
100
|
}[];
|
|
96
|
-
nodes: {
|
|
97
|
-
uuid: string;
|
|
98
|
-
countryCode: string;
|
|
99
|
-
name: string;
|
|
100
|
-
}[];
|
|
101
101
|
uuid: string;
|
|
102
102
|
createdAt: string;
|
|
103
103
|
updatedAt: string;
|
|
@@ -107,6 +107,11 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
107
107
|
}>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
response: {
|
|
110
|
+
nodes: {
|
|
111
|
+
uuid: string;
|
|
112
|
+
countryCode: string;
|
|
113
|
+
name: string;
|
|
114
|
+
}[];
|
|
110
115
|
inbounds: {
|
|
111
116
|
type: string;
|
|
112
117
|
uuid: string;
|
|
@@ -117,11 +122,6 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
117
122
|
port: number | null;
|
|
118
123
|
rawInbound?: unknown;
|
|
119
124
|
}[];
|
|
120
|
-
nodes: {
|
|
121
|
-
uuid: string;
|
|
122
|
-
countryCode: string;
|
|
123
|
-
name: string;
|
|
124
|
-
}[];
|
|
125
125
|
uuid: string;
|
|
126
126
|
createdAt: Date;
|
|
127
127
|
updatedAt: Date;
|
|
@@ -131,6 +131,11 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
131
131
|
};
|
|
132
132
|
}, {
|
|
133
133
|
response: {
|
|
134
|
+
nodes: {
|
|
135
|
+
uuid: string;
|
|
136
|
+
countryCode: string;
|
|
137
|
+
name: string;
|
|
138
|
+
}[];
|
|
134
139
|
inbounds: {
|
|
135
140
|
type: string;
|
|
136
141
|
uuid: string;
|
|
@@ -141,11 +146,6 @@ export declare namespace GetComputedConfigProfileByUuidCommand {
|
|
|
141
146
|
port: number | null;
|
|
142
147
|
rawInbound?: unknown;
|
|
143
148
|
}[];
|
|
144
|
-
nodes: {
|
|
145
|
-
uuid: string;
|
|
146
|
-
countryCode: string;
|
|
147
|
-
name: string;
|
|
148
|
-
}[];
|
|
149
149
|
uuid: string;
|
|
150
150
|
createdAt: string;
|
|
151
151
|
updatedAt: string;
|
|
@@ -61,6 +61,11 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
61
61
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
62
62
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
nodes: {
|
|
65
|
+
uuid: string;
|
|
66
|
+
countryCode: string;
|
|
67
|
+
name: string;
|
|
68
|
+
}[];
|
|
64
69
|
inbounds: {
|
|
65
70
|
type: string;
|
|
66
71
|
uuid: string;
|
|
@@ -71,11 +76,6 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
71
76
|
port: number | null;
|
|
72
77
|
rawInbound?: unknown;
|
|
73
78
|
}[];
|
|
74
|
-
nodes: {
|
|
75
|
-
uuid: string;
|
|
76
|
-
countryCode: string;
|
|
77
|
-
name: string;
|
|
78
|
-
}[];
|
|
79
79
|
uuid: string;
|
|
80
80
|
createdAt: Date;
|
|
81
81
|
updatedAt: Date;
|
|
@@ -83,6 +83,11 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
83
83
|
viewPosition: number;
|
|
84
84
|
config?: unknown;
|
|
85
85
|
}, {
|
|
86
|
+
nodes: {
|
|
87
|
+
uuid: string;
|
|
88
|
+
countryCode: string;
|
|
89
|
+
name: string;
|
|
90
|
+
}[];
|
|
86
91
|
inbounds: {
|
|
87
92
|
type: string;
|
|
88
93
|
uuid: string;
|
|
@@ -93,11 +98,6 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
93
98
|
port: number | null;
|
|
94
99
|
rawInbound?: unknown;
|
|
95
100
|
}[];
|
|
96
|
-
nodes: {
|
|
97
|
-
uuid: string;
|
|
98
|
-
countryCode: string;
|
|
99
|
-
name: string;
|
|
100
|
-
}[];
|
|
101
101
|
uuid: string;
|
|
102
102
|
createdAt: string;
|
|
103
103
|
updatedAt: string;
|
|
@@ -107,6 +107,11 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
107
107
|
}>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
response: {
|
|
110
|
+
nodes: {
|
|
111
|
+
uuid: string;
|
|
112
|
+
countryCode: string;
|
|
113
|
+
name: string;
|
|
114
|
+
}[];
|
|
110
115
|
inbounds: {
|
|
111
116
|
type: string;
|
|
112
117
|
uuid: string;
|
|
@@ -117,11 +122,6 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
117
122
|
port: number | null;
|
|
118
123
|
rawInbound?: unknown;
|
|
119
124
|
}[];
|
|
120
|
-
nodes: {
|
|
121
|
-
uuid: string;
|
|
122
|
-
countryCode: string;
|
|
123
|
-
name: string;
|
|
124
|
-
}[];
|
|
125
125
|
uuid: string;
|
|
126
126
|
createdAt: Date;
|
|
127
127
|
updatedAt: Date;
|
|
@@ -131,6 +131,11 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
131
131
|
};
|
|
132
132
|
}, {
|
|
133
133
|
response: {
|
|
134
|
+
nodes: {
|
|
135
|
+
uuid: string;
|
|
136
|
+
countryCode: string;
|
|
137
|
+
name: string;
|
|
138
|
+
}[];
|
|
134
139
|
inbounds: {
|
|
135
140
|
type: string;
|
|
136
141
|
uuid: string;
|
|
@@ -141,11 +146,6 @@ export declare namespace GetConfigProfileByUuidCommand {
|
|
|
141
146
|
port: number | null;
|
|
142
147
|
rawInbound?: unknown;
|
|
143
148
|
}[];
|
|
144
|
-
nodes: {
|
|
145
|
-
uuid: string;
|
|
146
|
-
countryCode: string;
|
|
147
|
-
name: string;
|
|
148
|
-
}[];
|
|
149
149
|
uuid: string;
|
|
150
150
|
createdAt: string;
|
|
151
151
|
updatedAt: string;
|
|
@@ -55,6 +55,11 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
55
55
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
56
56
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
nodes: {
|
|
59
|
+
uuid: string;
|
|
60
|
+
countryCode: string;
|
|
61
|
+
name: string;
|
|
62
|
+
}[];
|
|
58
63
|
inbounds: {
|
|
59
64
|
type: string;
|
|
60
65
|
uuid: string;
|
|
@@ -65,11 +70,6 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
65
70
|
port: number | null;
|
|
66
71
|
rawInbound?: unknown;
|
|
67
72
|
}[];
|
|
68
|
-
nodes: {
|
|
69
|
-
uuid: string;
|
|
70
|
-
countryCode: string;
|
|
71
|
-
name: string;
|
|
72
|
-
}[];
|
|
73
73
|
uuid: string;
|
|
74
74
|
createdAt: Date;
|
|
75
75
|
updatedAt: Date;
|
|
@@ -77,6 +77,11 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
77
77
|
viewPosition: number;
|
|
78
78
|
config?: unknown;
|
|
79
79
|
}, {
|
|
80
|
+
nodes: {
|
|
81
|
+
uuid: string;
|
|
82
|
+
countryCode: string;
|
|
83
|
+
name: string;
|
|
84
|
+
}[];
|
|
80
85
|
inbounds: {
|
|
81
86
|
type: string;
|
|
82
87
|
uuid: string;
|
|
@@ -87,11 +92,6 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
87
92
|
port: number | null;
|
|
88
93
|
rawInbound?: unknown;
|
|
89
94
|
}[];
|
|
90
|
-
nodes: {
|
|
91
|
-
uuid: string;
|
|
92
|
-
countryCode: string;
|
|
93
|
-
name: string;
|
|
94
|
-
}[];
|
|
95
95
|
uuid: string;
|
|
96
96
|
createdAt: string;
|
|
97
97
|
updatedAt: string;
|
|
@@ -102,6 +102,11 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
total: number;
|
|
104
104
|
configProfiles: {
|
|
105
|
+
nodes: {
|
|
106
|
+
uuid: string;
|
|
107
|
+
countryCode: string;
|
|
108
|
+
name: string;
|
|
109
|
+
}[];
|
|
105
110
|
inbounds: {
|
|
106
111
|
type: string;
|
|
107
112
|
uuid: string;
|
|
@@ -112,11 +117,6 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
112
117
|
port: number | null;
|
|
113
118
|
rawInbound?: unknown;
|
|
114
119
|
}[];
|
|
115
|
-
nodes: {
|
|
116
|
-
uuid: string;
|
|
117
|
-
countryCode: string;
|
|
118
|
-
name: string;
|
|
119
|
-
}[];
|
|
120
120
|
uuid: string;
|
|
121
121
|
createdAt: Date;
|
|
122
122
|
updatedAt: Date;
|
|
@@ -127,6 +127,11 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
127
127
|
}, {
|
|
128
128
|
total: number;
|
|
129
129
|
configProfiles: {
|
|
130
|
+
nodes: {
|
|
131
|
+
uuid: string;
|
|
132
|
+
countryCode: string;
|
|
133
|
+
name: string;
|
|
134
|
+
}[];
|
|
130
135
|
inbounds: {
|
|
131
136
|
type: string;
|
|
132
137
|
uuid: string;
|
|
@@ -137,11 +142,6 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
137
142
|
port: number | null;
|
|
138
143
|
rawInbound?: unknown;
|
|
139
144
|
}[];
|
|
140
|
-
nodes: {
|
|
141
|
-
uuid: string;
|
|
142
|
-
countryCode: string;
|
|
143
|
-
name: string;
|
|
144
|
-
}[];
|
|
145
145
|
uuid: string;
|
|
146
146
|
createdAt: string;
|
|
147
147
|
updatedAt: string;
|
|
@@ -154,6 +154,11 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
154
154
|
response: {
|
|
155
155
|
total: number;
|
|
156
156
|
configProfiles: {
|
|
157
|
+
nodes: {
|
|
158
|
+
uuid: string;
|
|
159
|
+
countryCode: string;
|
|
160
|
+
name: string;
|
|
161
|
+
}[];
|
|
157
162
|
inbounds: {
|
|
158
163
|
type: string;
|
|
159
164
|
uuid: string;
|
|
@@ -164,11 +169,6 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
164
169
|
port: number | null;
|
|
165
170
|
rawInbound?: unknown;
|
|
166
171
|
}[];
|
|
167
|
-
nodes: {
|
|
168
|
-
uuid: string;
|
|
169
|
-
countryCode: string;
|
|
170
|
-
name: string;
|
|
171
|
-
}[];
|
|
172
172
|
uuid: string;
|
|
173
173
|
createdAt: Date;
|
|
174
174
|
updatedAt: Date;
|
|
@@ -181,6 +181,11 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
181
181
|
response: {
|
|
182
182
|
total: number;
|
|
183
183
|
configProfiles: {
|
|
184
|
+
nodes: {
|
|
185
|
+
uuid: string;
|
|
186
|
+
countryCode: string;
|
|
187
|
+
name: string;
|
|
188
|
+
}[];
|
|
184
189
|
inbounds: {
|
|
185
190
|
type: string;
|
|
186
191
|
uuid: string;
|
|
@@ -191,11 +196,6 @@ export declare namespace GetConfigProfilesCommand {
|
|
|
191
196
|
port: number | null;
|
|
192
197
|
rawInbound?: unknown;
|
|
193
198
|
}[];
|
|
194
|
-
nodes: {
|
|
195
|
-
uuid: string;
|
|
196
|
-
countryCode: string;
|
|
197
|
-
name: string;
|
|
198
|
-
}[];
|
|
199
199
|
uuid: string;
|
|
200
200
|
createdAt: string;
|
|
201
201
|
updatedAt: string;
|
|
@@ -67,6 +67,11 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
67
67
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
68
68
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
nodes: {
|
|
71
|
+
uuid: string;
|
|
72
|
+
countryCode: string;
|
|
73
|
+
name: string;
|
|
74
|
+
}[];
|
|
70
75
|
inbounds: {
|
|
71
76
|
type: string;
|
|
72
77
|
uuid: string;
|
|
@@ -77,11 +82,6 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
77
82
|
port: number | null;
|
|
78
83
|
rawInbound?: unknown;
|
|
79
84
|
}[];
|
|
80
|
-
nodes: {
|
|
81
|
-
uuid: string;
|
|
82
|
-
countryCode: string;
|
|
83
|
-
name: string;
|
|
84
|
-
}[];
|
|
85
85
|
uuid: string;
|
|
86
86
|
createdAt: Date;
|
|
87
87
|
updatedAt: Date;
|
|
@@ -89,6 +89,11 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
89
89
|
viewPosition: number;
|
|
90
90
|
config?: unknown;
|
|
91
91
|
}, {
|
|
92
|
+
nodes: {
|
|
93
|
+
uuid: string;
|
|
94
|
+
countryCode: string;
|
|
95
|
+
name: string;
|
|
96
|
+
}[];
|
|
92
97
|
inbounds: {
|
|
93
98
|
type: string;
|
|
94
99
|
uuid: string;
|
|
@@ -99,11 +104,6 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
99
104
|
port: number | null;
|
|
100
105
|
rawInbound?: unknown;
|
|
101
106
|
}[];
|
|
102
|
-
nodes: {
|
|
103
|
-
uuid: string;
|
|
104
|
-
countryCode: string;
|
|
105
|
-
name: string;
|
|
106
|
-
}[];
|
|
107
107
|
uuid: string;
|
|
108
108
|
createdAt: string;
|
|
109
109
|
updatedAt: string;
|
|
@@ -113,6 +113,11 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
113
113
|
}>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
response: {
|
|
116
|
+
nodes: {
|
|
117
|
+
uuid: string;
|
|
118
|
+
countryCode: string;
|
|
119
|
+
name: string;
|
|
120
|
+
}[];
|
|
116
121
|
inbounds: {
|
|
117
122
|
type: string;
|
|
118
123
|
uuid: string;
|
|
@@ -123,11 +128,6 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
123
128
|
port: number | null;
|
|
124
129
|
rawInbound?: unknown;
|
|
125
130
|
}[];
|
|
126
|
-
nodes: {
|
|
127
|
-
uuid: string;
|
|
128
|
-
countryCode: string;
|
|
129
|
-
name: string;
|
|
130
|
-
}[];
|
|
131
131
|
uuid: string;
|
|
132
132
|
createdAt: Date;
|
|
133
133
|
updatedAt: Date;
|
|
@@ -137,6 +137,11 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
137
137
|
};
|
|
138
138
|
}, {
|
|
139
139
|
response: {
|
|
140
|
+
nodes: {
|
|
141
|
+
uuid: string;
|
|
142
|
+
countryCode: string;
|
|
143
|
+
name: string;
|
|
144
|
+
}[];
|
|
140
145
|
inbounds: {
|
|
141
146
|
type: string;
|
|
142
147
|
uuid: string;
|
|
@@ -147,11 +152,6 @@ export declare namespace UpdateConfigProfileCommand {
|
|
|
147
152
|
port: number | null;
|
|
148
153
|
rawInbound?: unknown;
|
|
149
154
|
}[];
|
|
150
|
-
nodes: {
|
|
151
|
-
uuid: string;
|
|
152
|
-
countryCode: string;
|
|
153
|
-
name: string;
|
|
154
|
-
}[];
|
|
155
155
|
uuid: string;
|
|
156
156
|
createdAt: string;
|
|
157
157
|
updatedAt: string;
|
|
@@ -48,6 +48,11 @@ export declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
48
48
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
49
49
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
nodes: {
|
|
52
|
+
uuid: string;
|
|
53
|
+
countryCode: string;
|
|
54
|
+
name: string;
|
|
55
|
+
}[];
|
|
51
56
|
inbounds: {
|
|
52
57
|
type: string;
|
|
53
58
|
uuid: string;
|
|
@@ -58,11 +63,6 @@ export declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
58
63
|
port: number | null;
|
|
59
64
|
rawInbound?: unknown;
|
|
60
65
|
}[];
|
|
61
|
-
nodes: {
|
|
62
|
-
uuid: string;
|
|
63
|
-
countryCode: string;
|
|
64
|
-
name: string;
|
|
65
|
-
}[];
|
|
66
66
|
uuid: string;
|
|
67
67
|
createdAt: Date;
|
|
68
68
|
updatedAt: Date;
|
|
@@ -70,6 +70,11 @@ export declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
70
70
|
viewPosition: number;
|
|
71
71
|
config?: unknown;
|
|
72
72
|
}, {
|
|
73
|
+
nodes: {
|
|
74
|
+
uuid: string;
|
|
75
|
+
countryCode: string;
|
|
76
|
+
name: string;
|
|
77
|
+
}[];
|
|
73
78
|
inbounds: {
|
|
74
79
|
type: string;
|
|
75
80
|
uuid: string;
|
|
@@ -80,11 +85,6 @@ export declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
80
85
|
port: number | null;
|
|
81
86
|
rawInbound?: unknown;
|
|
82
87
|
}[];
|
|
83
|
-
nodes: {
|
|
84
|
-
uuid: string;
|
|
85
|
-
countryCode: string;
|
|
86
|
-
name: string;
|
|
87
|
-
}[];
|
|
88
88
|
uuid: string;
|
|
89
89
|
createdAt: string;
|
|
90
90
|
updatedAt: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BANDWIDTH_STATS_ROUTES = exports.BANDWIDTH_STATS_USERS_CONTROLLER = exports.BANDWIDTH_STATS_NODES_CONTROLLER = exports.BANDWIDTH_STATS_CONTROLLER = void 0;
|
|
3
|
+
exports.BANDWIDTH_STATS_ROUTES = exports.BANDWIDTH_STATS_USERS_CONTROLLER = exports.BANDWIDTH_STATS_NODES_CONTROLLER = exports.BANDWIDTH_STATS_USERS_ROUTE = exports.BANDWIDTH_STATS_NODES_ROUTE = exports.BANDWIDTH_STATS_CONTROLLER = void 0;
|
|
4
4
|
exports.BANDWIDTH_STATS_CONTROLLER = 'bandwidth-stats';
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
5
|
+
exports.BANDWIDTH_STATS_NODES_ROUTE = 'nodes';
|
|
6
|
+
exports.BANDWIDTH_STATS_USERS_ROUTE = 'users';
|
|
7
|
+
exports.BANDWIDTH_STATS_NODES_CONTROLLER = `${exports.BANDWIDTH_STATS_CONTROLLER}/${exports.BANDWIDTH_STATS_NODES_ROUTE}`;
|
|
8
|
+
exports.BANDWIDTH_STATS_USERS_CONTROLLER = `${exports.BANDWIDTH_STATS_CONTROLLER}/${exports.BANDWIDTH_STATS_USERS_ROUTE}`;
|
|
7
9
|
// Variants:
|
|
8
10
|
// 1. Nodes -> Metrics
|
|
9
11
|
// 2. Nodes -> Management -> Show usage (!need legacy)
|
|
@@ -290,19 +290,19 @@ exports.REST_API = {
|
|
|
290
290
|
},
|
|
291
291
|
BANDWIDTH_STATS: {
|
|
292
292
|
NODES: {
|
|
293
|
-
GET: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET}`,
|
|
294
|
-
GET_REALTIME: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_REALTIME}`,
|
|
295
|
-
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_USERS(uuid)}`,
|
|
293
|
+
GET: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET}`,
|
|
294
|
+
GET_REALTIME: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_REALTIME}`,
|
|
295
|
+
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET_USERS(uuid)}`,
|
|
296
296
|
},
|
|
297
297
|
USERS: {
|
|
298
|
-
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.USERS.GET_BY_UUID(uuid)}`,
|
|
298
|
+
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_USERS_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.USERS.GET_BY_UUID(uuid)}`,
|
|
299
299
|
},
|
|
300
300
|
LEGACY: {
|
|
301
301
|
NODES: {
|
|
302
|
-
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.NODES.GET_USERS(uuid)}`,
|
|
302
|
+
GET_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.NODES.GET_USERS(uuid)}`,
|
|
303
303
|
},
|
|
304
304
|
USERS: {
|
|
305
|
-
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.USERS.GET_BY_UUID(uuid)}`,
|
|
305
|
+
GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_USERS_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.LEGACY.USERS.GET_BY_UUID(uuid)}`,
|
|
306
306
|
},
|
|
307
307
|
},
|
|
308
308
|
},
|