@remnawave/backend-contract 2.1.51 → 2.1.53
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 +1 -0
- package/build/backend/api/controllers/system.d.ts.map +1 -1
- package/build/backend/api/controllers/system.js +1 -0
- package/build/backend/api/routes.d.ts +1 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +1 -0
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.d.ts +33 -0
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.d.ts.map +1 -0
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.js +20 -0
- package/build/backend/commands/system/tools/{generate-x25519-command.d.ts → generate-x25519.command.d.ts} +1 -1
- package/build/backend/commands/system/tools/{generate-x25519-command.d.ts.map → generate-x25519.command.d.ts.map} +1 -1
- package/build/backend/commands/system/tools/index.d.ts +2 -1
- package/build/backend/commands/system/tools/index.d.ts.map +1 -1
- package/build/backend/commands/system/tools/index.js +2 -1
- package/build/frontend/api/controllers/system.js +1 -0
- package/build/frontend/api/routes.js +1 -0
- package/build/frontend/commands/system/tools/encrypt-happ-cryptolink.command.js +20 -0
- package/build/frontend/commands/system/tools/index.js +2 -1
- package/package.json +1 -1
- /package/build/backend/commands/system/tools/{generate-x25519-command.js → generate-x25519.command.js} +0 -0
- /package/build/frontend/commands/system/tools/{generate-x25519-command.js → generate-x25519.command.js} +0 -0
@@ -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;;;;;;;;;;;;CAYhB,CAAC"}
|
@@ -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;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,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;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAgCD,MAAM;;;;;;;;;;mDAaQ,MAAM;;;;;;;;0CAWf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;;;;;qCAUlB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;CAOnC,CAAC"}
|
@@ -153,6 +153,7 @@ exports.REST_API = {
|
|
153
153
|
},
|
154
154
|
TOOLS: {
|
155
155
|
GENERATE_X25519: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.GENERATE_X25519}`,
|
156
|
+
ENCRYPT_HAPP_CRYPTO_LINK: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK}`,
|
156
157
|
},
|
157
158
|
},
|
158
159
|
SUBSCRIPTION_TEMPLATE: {
|
@@ -0,0 +1,33 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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,8CAI3B,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"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EncryptHappCryptoLinkCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const constants_1 = require("../../../constants");
|
6
|
+
const api_1 = require("../../../api");
|
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');
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"generate-x25519
|
1
|
+
{"version":3,"file":"generate-x25519.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/tools/generate-x25519.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,qCAAwC,CAAC;IAClD,MAAM,OAAO,qCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/system/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/system/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC"}
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./encrypt-happ-cryptolink.command"), exports);
|
18
|
+
__exportStar(require("./generate-x25519.command"), exports);
|
@@ -153,6 +153,7 @@ exports.REST_API = {
|
|
153
153
|
},
|
154
154
|
TOOLS: {
|
155
155
|
GENERATE_X25519: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.GENERATE_X25519}`,
|
156
|
+
ENCRYPT_HAPP_CRYPTO_LINK: `${exports.ROOT}/${CONTROLLERS.SYSTEM_CONTROLLER}/${CONTROLLERS.SYSTEM_ROUTES.TOOLS.ENCRYPT_HAPP_CRYPTO_LINK}`,
|
156
157
|
},
|
157
158
|
},
|
158
159
|
SUBSCRIPTION_TEMPLATE: {
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EncryptHappCryptoLinkCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const constants_1 = require("../../../constants");
|
6
|
+
const api_1 = require("../../../api");
|
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');
|
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 = {}));
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./encrypt-happ-cryptolink.command"), exports);
|
18
|
+
__exportStar(require("./generate-x25519.command"), exports);
|
package/package.json
CHANGED
File without changes
|
File without changes
|