@remnawave/backend-contract 2.8.31 → 2.8.33
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/system.d.ts +0 -1
- package/build/backend/api/controllers/system.d.ts.map +1 -1
- package/build/backend/api/controllers/system.js +0 -1
- package/build/backend/api/routes.d.ts +0 -1
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +0 -1
- package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts +34 -26
- package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-hwid-devices-stats.command.js +4 -4
- package/build/backend/commands/system/tools/index.d.ts +0 -1
- package/build/backend/commands/system/tools/index.d.ts.map +1 -1
- package/build/backend/commands/system/tools/index.js +0 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +4 -0
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.js +4 -0
- package/build/frontend/api/controllers/system.js +0 -1
- package/build/frontend/api/routes.js +0 -1
- package/build/frontend/commands/hwid/get-hwid-devices-stats.command.js +4 -4
- package/build/frontend/commands/system/tools/index.js +0 -1
- package/build/frontend/constants/cache-keys/cache-keys.constants.js +4 -0
- package/package.json +1 -1
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.d.ts +0 -33
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.d.ts.map +0 -1
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.js +0 -20
- package/build/frontend/commands/system/tools/encrypt-happ-cryptolink.command.js +0 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../api/controllers/system.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,EAAG,QAAiB,CAAC;AAEnD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../api/controllers/system.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,EAAG,QAAiB,CAAC;AAEnD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAgBhB,CAAC"}
|
|
@@ -134,7 +134,6 @@ export declare const REST_API: {
|
|
|
134
134
|
};
|
|
135
135
|
readonly TOOLS: {
|
|
136
136
|
readonly GENERATE_X25519: "/api/system/tools/x25519/generate";
|
|
137
|
-
readonly ENCRYPT_HAPP_CRYPTO_LINK: "/api/system/tools/happ/encrypt";
|
|
138
137
|
};
|
|
139
138
|
readonly TESTERS: {
|
|
140
139
|
readonly SRR_MATCHER: "/api/system/testers/srr-matcher";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;;qCAaD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;;gCAkBjB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;;;;;;;;kCAyBJ,MAAM;uCAED,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;;qCAaD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;;gCAkBjB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;;;;;;;;kCAyBJ,MAAM;uCAED,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAmCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;6CAMV,MAAM;;qDAKE,MAAM;;;;;;qCAStB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAWP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;;;;;;uCAkBC,MAAM;;;;yCAKJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;mCAMhB,MAAM;+CAEM,MAAM;;6CAGR,MAAM;qDAEE,MAAM;;;;iCAK1B,MAAM;oCAEH,MAAM;;;iCAIT,MAAM;oCAEH,MAAM;;;CAIvB,CAAC"}
|
|
@@ -171,7 +171,6 @@ exports.REST_API = {
|
|
|
171
171
|
},
|
|
172
172
|
TOOLS: {
|
|
173
173
|
GENERATE_X25519: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.GENERATE_X25519}`,
|
|
174
|
-
ENCRYPT_HAPP_CRYPTO_LINK: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK}`,
|
|
175
174
|
},
|
|
176
175
|
TESTERS: {
|
|
177
176
|
SRR_MATCHER: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TESTERS.SRR_MATCHER}`,
|
|
@@ -8,22 +8,30 @@ export declare namespace GetHwidDevicesStatsCommand {
|
|
|
8
8
|
byPlatform: z.ZodArray<z.ZodObject<{
|
|
9
9
|
platform: z.ZodString;
|
|
10
10
|
count: z.ZodNumber;
|
|
11
|
+
byApp: z.ZodArray<z.ZodObject<{
|
|
12
|
+
app: z.ZodString;
|
|
13
|
+
count: z.ZodNumber;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
count: number;
|
|
16
|
+
app: string;
|
|
17
|
+
}, {
|
|
18
|
+
count: number;
|
|
19
|
+
app: string;
|
|
20
|
+
}>, "many">;
|
|
11
21
|
}, "strip", z.ZodTypeAny, {
|
|
12
22
|
platform: string;
|
|
13
23
|
count: number;
|
|
24
|
+
byApp: {
|
|
25
|
+
count: number;
|
|
26
|
+
app: string;
|
|
27
|
+
}[];
|
|
14
28
|
}, {
|
|
15
29
|
platform: string;
|
|
16
30
|
count: number;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
count: number;
|
|
23
|
-
app: string;
|
|
24
|
-
}, {
|
|
25
|
-
count: number;
|
|
26
|
-
app: string;
|
|
31
|
+
byApp: {
|
|
32
|
+
count: number;
|
|
33
|
+
app: string;
|
|
34
|
+
}[];
|
|
27
35
|
}>, "many">;
|
|
28
36
|
stats: z.ZodObject<{
|
|
29
37
|
totalUniqueDevices: z.ZodNumber;
|
|
@@ -47,10 +55,10 @@ export declare namespace GetHwidDevicesStatsCommand {
|
|
|
47
55
|
byPlatform: {
|
|
48
56
|
platform: string;
|
|
49
57
|
count: number;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
byApp: {
|
|
59
|
+
count: number;
|
|
60
|
+
app: string;
|
|
61
|
+
}[];
|
|
54
62
|
}[];
|
|
55
63
|
}, {
|
|
56
64
|
stats: {
|
|
@@ -61,10 +69,10 @@ export declare namespace GetHwidDevicesStatsCommand {
|
|
|
61
69
|
byPlatform: {
|
|
62
70
|
platform: string;
|
|
63
71
|
count: number;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
72
|
+
byApp: {
|
|
73
|
+
count: number;
|
|
74
|
+
app: string;
|
|
75
|
+
}[];
|
|
68
76
|
}[];
|
|
69
77
|
}>;
|
|
70
78
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -77,10 +85,10 @@ export declare namespace GetHwidDevicesStatsCommand {
|
|
|
77
85
|
byPlatform: {
|
|
78
86
|
platform: string;
|
|
79
87
|
count: number;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
byApp: {
|
|
89
|
+
count: number;
|
|
90
|
+
app: string;
|
|
91
|
+
}[];
|
|
84
92
|
}[];
|
|
85
93
|
};
|
|
86
94
|
}, {
|
|
@@ -93,10 +101,10 @@ export declare namespace GetHwidDevicesStatsCommand {
|
|
|
93
101
|
byPlatform: {
|
|
94
102
|
platform: string;
|
|
95
103
|
count: number;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
104
|
+
byApp: {
|
|
105
|
+
count: number;
|
|
106
|
+
app: string;
|
|
107
|
+
}[];
|
|
100
108
|
}[];
|
|
101
109
|
};
|
|
102
110
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-hwid-devices-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-hwid-devices-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,2BAAsB,CAAC;IAChC,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-hwid-devices-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-hwid-devices-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,2BAAsB,CAAC;IAChC,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -14,10 +14,10 @@ var GetHwidDevicesStatsCommand;
|
|
|
14
14
|
byPlatform: zod_1.z.array(zod_1.z.object({
|
|
15
15
|
platform: zod_1.z.string(),
|
|
16
16
|
count: zod_1.z.number(),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
byApp: zod_1.z.array(zod_1.z.object({
|
|
18
|
+
app: zod_1.z.string(),
|
|
19
|
+
count: zod_1.z.number(),
|
|
20
|
+
})),
|
|
21
21
|
})),
|
|
22
22
|
stats: zod_1.z.object({
|
|
23
23
|
totalUniqueDevices: zod_1.z.number(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/system/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/system/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -14,5 +14,4 @@ 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("./encrypt-happ-cryptolink.command"), exports);
|
|
18
17
|
__exportStar(require("./generate-x25519.command"), exports);
|
|
@@ -11,6 +11,8 @@ export declare const CACHE_KEYS: {
|
|
|
11
11
|
readonly NODE_USERS_ONLINE: (uuid: string) => string;
|
|
12
12
|
readonly NODE_VERSIONS: (uuid: string) => string;
|
|
13
13
|
readonly NODE_XRAY_UPTIME: (uuid: string) => string;
|
|
14
|
+
readonly RAW_INBOUND: (uuid: string) => string;
|
|
15
|
+
readonly XRAY_JSON_TEMPLATE: (uuid: string) => string;
|
|
14
16
|
};
|
|
15
17
|
export declare const CACHE_KEYS_TTL: {
|
|
16
18
|
readonly REMNAWAVE_SETTINGS: 86400;
|
|
@@ -19,6 +21,8 @@ export declare const CACHE_KEYS_TTL: {
|
|
|
19
21
|
readonly NODE_SYSTEM_STATS: 30;
|
|
20
22
|
readonly NODE_USERS_ONLINE: 16;
|
|
21
23
|
readonly NODE_XRAY_UPTIME: 16;
|
|
24
|
+
readonly RAW_INBOUND: 3600;
|
|
25
|
+
readonly XRAY_JSON_TEMPLATE: 3600;
|
|
22
26
|
};
|
|
23
27
|
export declare const INTERNAL_CACHE_KEYS: {
|
|
24
28
|
readonly NODE_USER_USAGE_PREFIX: "node_user_usage:";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;6CAEa,MAAM;2CACR,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM;;sCAEpB,MAAM;uCACL,MAAM;uCACN,MAAM;mCACV,MAAM;sCACH,MAAM;
|
|
1
|
+
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;6CAEa,MAAM;2CACR,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM;;sCAEpB,MAAM;uCACL,MAAM;uCACN,MAAM;mCACV,MAAM;sCACH,MAAM;iCACX,MAAM;wCACC,MAAM;CAC3B,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;CASjB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;uCAEF,MAAM;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,uBAAuB;;CAE1B,CAAC"}
|
|
@@ -13,6 +13,8 @@ exports.CACHE_KEYS = {
|
|
|
13
13
|
NODE_USERS_ONLINE: (uuid) => `node_users_online:${uuid}`,
|
|
14
14
|
NODE_VERSIONS: (uuid) => `node_versions:${uuid}`,
|
|
15
15
|
NODE_XRAY_UPTIME: (uuid) => `node_xray_uptime:${uuid}`,
|
|
16
|
+
RAW_INBOUND: (uuid) => `raw_inbound:${uuid}`,
|
|
17
|
+
XRAY_JSON_TEMPLATE: (uuid) => `xray_json_template:${uuid}`,
|
|
16
18
|
};
|
|
17
19
|
exports.CACHE_KEYS_TTL = {
|
|
18
20
|
REMNAWAVE_SETTINGS: 86400, // 1 day
|
|
@@ -21,6 +23,8 @@ exports.CACHE_KEYS_TTL = {
|
|
|
21
23
|
NODE_SYSTEM_STATS: 30, // 30 seconds
|
|
22
24
|
NODE_USERS_ONLINE: 16, // 16 seconds
|
|
23
25
|
NODE_XRAY_UPTIME: 16, // 16 seconds
|
|
26
|
+
RAW_INBOUND: 3600, // 1 hour
|
|
27
|
+
XRAY_JSON_TEMPLATE: 3600, // 1 hour
|
|
24
28
|
};
|
|
25
29
|
exports.INTERNAL_CACHE_KEYS = {
|
|
26
30
|
NODE_USER_USAGE_PREFIX: 'node_user_usage:',
|
|
@@ -171,7 +171,6 @@ exports.REST_API = {
|
|
|
171
171
|
},
|
|
172
172
|
TOOLS: {
|
|
173
173
|
GENERATE_X25519: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.GENERATE_X25519}`,
|
|
174
|
-
ENCRYPT_HAPP_CRYPTO_LINK: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK}`,
|
|
175
174
|
},
|
|
176
175
|
TESTERS: {
|
|
177
176
|
SRR_MATCHER: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TESTERS.SRR_MATCHER}`,
|
|
@@ -14,10 +14,10 @@ var GetHwidDevicesStatsCommand;
|
|
|
14
14
|
byPlatform: zod_1.z.array(zod_1.z.object({
|
|
15
15
|
platform: zod_1.z.string(),
|
|
16
16
|
count: zod_1.z.number(),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
byApp: zod_1.z.array(zod_1.z.object({
|
|
18
|
+
app: zod_1.z.string(),
|
|
19
|
+
count: zod_1.z.number(),
|
|
20
|
+
})),
|
|
21
21
|
})),
|
|
22
22
|
stats: zod_1.z.object({
|
|
23
23
|
totalUniqueDevices: zod_1.z.number(),
|
|
@@ -14,5 +14,4 @@ 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("./encrypt-happ-cryptolink.command"), exports);
|
|
18
17
|
__exportStar(require("./generate-x25519.command"), exports);
|
|
@@ -13,6 +13,8 @@ exports.CACHE_KEYS = {
|
|
|
13
13
|
NODE_USERS_ONLINE: (uuid) => `node_users_online:${uuid}`,
|
|
14
14
|
NODE_VERSIONS: (uuid) => `node_versions:${uuid}`,
|
|
15
15
|
NODE_XRAY_UPTIME: (uuid) => `node_xray_uptime:${uuid}`,
|
|
16
|
+
RAW_INBOUND: (uuid) => `raw_inbound:${uuid}`,
|
|
17
|
+
XRAY_JSON_TEMPLATE: (uuid) => `xray_json_template:${uuid}`,
|
|
16
18
|
};
|
|
17
19
|
exports.CACHE_KEYS_TTL = {
|
|
18
20
|
REMNAWAVE_SETTINGS: 86400, // 1 day
|
|
@@ -21,6 +23,8 @@ exports.CACHE_KEYS_TTL = {
|
|
|
21
23
|
NODE_SYSTEM_STATS: 30, // 30 seconds
|
|
22
24
|
NODE_USERS_ONLINE: 16, // 16 seconds
|
|
23
25
|
NODE_XRAY_UPTIME: 16, // 16 seconds
|
|
26
|
+
RAW_INBOUND: 3600, // 1 hour
|
|
27
|
+
XRAY_JSON_TEMPLATE: 3600, // 1 hour
|
|
24
28
|
};
|
|
25
29
|
exports.INTERNAL_CACHE_KEYS = {
|
|
26
30
|
NODE_USER_USAGE_PREFIX: 'node_user_usage:',
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace EncryptHappCryptoLinkCommand {
|
|
3
|
-
const url: "/api/system/tools/happ/encrypt";
|
|
4
|
-
const TSQ_url: "/api/system/tools/happ/encrypt";
|
|
5
|
-
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
-
const RequestSchema: z.ZodObject<{
|
|
7
|
-
linkToEncrypt: z.ZodString;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
linkToEncrypt: string;
|
|
10
|
-
}, {
|
|
11
|
-
linkToEncrypt: string;
|
|
12
|
-
}>;
|
|
13
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
14
|
-
const ResponseSchema: z.ZodObject<{
|
|
15
|
-
response: z.ZodObject<{
|
|
16
|
-
encryptedLink: z.ZodString;
|
|
17
|
-
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
encryptedLink: string;
|
|
19
|
-
}, {
|
|
20
|
-
encryptedLink: string;
|
|
21
|
-
}>;
|
|
22
|
-
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
response: {
|
|
24
|
-
encryptedLink: string;
|
|
25
|
-
};
|
|
26
|
-
}, {
|
|
27
|
-
response: {
|
|
28
|
-
encryptedLink: string;
|
|
29
|
-
};
|
|
30
|
-
}>;
|
|
31
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=encrypt-happ-cryptolink.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encrypt-happ-cryptolink.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/tools/encrypt-happ-cryptolink.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,kCAAiD,CAAC;IAC3D,MAAM,OAAO,kCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IACK,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,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EncryptHappCryptoLinkCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
var EncryptHappCryptoLinkCommand;
|
|
8
|
-
(function (EncryptHappCryptoLinkCommand) {
|
|
9
|
-
EncryptHappCryptoLinkCommand.url = api_1.REST_API.SYSTEM.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK;
|
|
10
|
-
EncryptHappCryptoLinkCommand.TSQ_url = EncryptHappCryptoLinkCommand.url;
|
|
11
|
-
EncryptHappCryptoLinkCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SYSTEM_ROUTES.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK, 'post', 'Encrypt Happ Crypto Link', { scope: 'encrypt-happ-crypto-link', kind: 'read' });
|
|
12
|
-
EncryptHappCryptoLinkCommand.RequestSchema = zod_1.z.object({
|
|
13
|
-
linkToEncrypt: zod_1.z.string().url(),
|
|
14
|
-
});
|
|
15
|
-
EncryptHappCryptoLinkCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
encryptedLink: zod_1.z.string(),
|
|
18
|
-
}),
|
|
19
|
-
});
|
|
20
|
-
})(EncryptHappCryptoLinkCommand || (exports.EncryptHappCryptoLinkCommand = EncryptHappCryptoLinkCommand = {}));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EncryptHappCryptoLinkCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../../api");
|
|
6
|
-
const constants_1 = require("../../../constants");
|
|
7
|
-
var EncryptHappCryptoLinkCommand;
|
|
8
|
-
(function (EncryptHappCryptoLinkCommand) {
|
|
9
|
-
EncryptHappCryptoLinkCommand.url = api_1.REST_API.SYSTEM.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK;
|
|
10
|
-
EncryptHappCryptoLinkCommand.TSQ_url = EncryptHappCryptoLinkCommand.url;
|
|
11
|
-
EncryptHappCryptoLinkCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SYSTEM_ROUTES.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK, 'post', 'Encrypt Happ Crypto Link', { scope: 'encrypt-happ-crypto-link', kind: 'read' });
|
|
12
|
-
EncryptHappCryptoLinkCommand.RequestSchema = zod_1.z.object({
|
|
13
|
-
linkToEncrypt: zod_1.z.string().url(),
|
|
14
|
-
});
|
|
15
|
-
EncryptHappCryptoLinkCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
response: zod_1.z.object({
|
|
17
|
-
encryptedLink: zod_1.z.string(),
|
|
18
|
-
}),
|
|
19
|
-
});
|
|
20
|
-
})(EncryptHappCryptoLinkCommand || (exports.EncryptHappCryptoLinkCommand = EncryptHappCryptoLinkCommand = {}));
|