@remnawave/backend-contract 2.6.20 → 2.6.22
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/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- package/build/backend/api/controllers/node-plugins.d.ts +13 -0
- package/build/backend/api/controllers/node-plugins.d.ts.map +1 -0
- package/build/backend/api/controllers/node-plugins.js +16 -0
- package/build/backend/api/controllers-info.d.ts +4 -0
- package/build/backend/api/controllers-info.d.ts.map +1 -1
- package/build/backend/api/controllers-info.js +4 -0
- package/build/backend/api/routes.d.ts +11 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +11 -0
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +2 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +2 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +2 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +2 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts +49 -0
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.js +21 -0
- package/build/backend/commands/node-plugins/actions/index.d.ts +3 -0
- package/build/backend/commands/node-plugins/actions/index.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/actions/index.js +18 -0
- package/build/backend/commands/node-plugins/actions/reorder.command.d.ts +90 -0
- package/build/backend/commands/node-plugins/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/actions/reorder.command.js +25 -0
- package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts +48 -0
- package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/create-node-plugin.command.js +23 -0
- package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts +33 -0
- package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/delete-node-plugin.command.js +20 -0
- package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts +49 -0
- package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/get-node-plugin.command.js +21 -0
- package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts +65 -0
- package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/get-node-plugins.command.js +19 -0
- package/build/backend/commands/node-plugins/index.d.ts +7 -0
- package/build/backend/commands/node-plugins/index.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/index.js +22 -0
- package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts +55 -0
- package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/update-node-plugin.command.js +28 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts +5 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +5 -0
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +6 -0
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +8 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +1 -0
- package/build/backend/commands/nodes/get-all.command.d.ts +5 -0
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +5 -0
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +9 -0
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +1 -0
- package/build/backend/constants/errors/errors.d.ts +35 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +35 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts +1 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-node.schema.d.ts +1 -0
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
- package/build/backend/models/node-plugin.schema.d.ts +18 -0
- package/build/backend/models/node-plugin.schema.d.ts.map +1 -0
- package/build/backend/models/node-plugin.schema.js +13 -0
- package/build/backend/models/nodes.schema.d.ts +3 -0
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +1 -0
- package/build/backend/models/webhook/webhook.schema.d.ts +10 -0
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/node-plugins.js +16 -0
- package/build/frontend/api/controllers-info.js +4 -0
- package/build/frontend/api/routes.js +11 -0
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/node-plugins/actions/clone-node-plugin.command.js +21 -0
- package/build/frontend/commands/node-plugins/actions/index.js +18 -0
- package/build/frontend/commands/node-plugins/actions/reorder.command.js +25 -0
- package/build/frontend/commands/node-plugins/create-node-plugin.command.js +23 -0
- package/build/frontend/commands/node-plugins/delete-node-plugin.command.js +20 -0
- package/build/frontend/commands/node-plugins/get-node-plugin.command.js +21 -0
- package/build/frontend/commands/node-plugins/get-node-plugins.command.js +19 -0
- package/build/frontend/commands/node-plugins/index.js +22 -0
- package/build/frontend/commands/node-plugins/update-node-plugin.command.js +28 -0
- package/build/frontend/commands/nodes/create.command.js +1 -0
- package/build/frontend/commands/nodes/update.command.js +1 -0
- package/build/frontend/constants/errors/errors.js +35 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/node-plugin.schema.js +13 -0
- package/build/frontend/models/nodes.schema.js +1 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export * from './infra-billing';
|
|
|
9
9
|
export * from './internal-squads';
|
|
10
10
|
export * from './ip-control';
|
|
11
11
|
export * from './keygen';
|
|
12
|
+
export * from './node-plugins';
|
|
12
13
|
export * from './nodes';
|
|
13
14
|
export * from './passkeys';
|
|
14
15
|
export * from './remnawave-settings';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./infra-billing"), exports);
|
|
|
25
25
|
__exportStar(require("./internal-squads"), exports);
|
|
26
26
|
__exportStar(require("./ip-control"), exports);
|
|
27
27
|
__exportStar(require("./keygen"), exports);
|
|
28
|
+
__exportStar(require("./node-plugins"), exports);
|
|
28
29
|
__exportStar(require("./nodes"), exports);
|
|
29
30
|
__exportStar(require("./passkeys"), exports);
|
|
30
31
|
__exportStar(require("./remnawave-settings"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const NODE_PLUGINS_CONTROLLER: "node-plugins";
|
|
2
|
+
export declare const NODE_PLUGINS_ROUTES: {
|
|
3
|
+
readonly GET_ALL: "";
|
|
4
|
+
readonly GET: (uuid: string) => string;
|
|
5
|
+
readonly UPDATE: "";
|
|
6
|
+
readonly DELETE: (uuid: string) => string;
|
|
7
|
+
readonly CREATE: "";
|
|
8
|
+
readonly ACTIONS: {
|
|
9
|
+
readonly REORDER: "actions/reorder";
|
|
10
|
+
readonly CLONE: "actions/clone";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=node-plugins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-plugins.d.ts","sourceRoot":"","sources":["../../../../api/controllers/node-plugins.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,cAAuB,CAAC;AAI/D,eAAO,MAAM,mBAAmB;;yBAEhB,MAAM;;4BAEH,MAAM;;;;;;CAOf,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NODE_PLUGINS_ROUTES = exports.NODE_PLUGINS_CONTROLLER = void 0;
|
|
4
|
+
exports.NODE_PLUGINS_CONTROLLER = 'node-plugins';
|
|
5
|
+
const ACTIONS_ROUTE = 'actions';
|
|
6
|
+
exports.NODE_PLUGINS_ROUTES = {
|
|
7
|
+
GET_ALL: '', // get
|
|
8
|
+
GET: (uuid) => `${uuid}`, // get
|
|
9
|
+
UPDATE: '', // patch
|
|
10
|
+
DELETE: (uuid) => `${uuid}`, // delete
|
|
11
|
+
CREATE: '', // post,
|
|
12
|
+
ACTIONS: {
|
|
13
|
+
REORDER: `${ACTIONS_ROUTE}/reorder`,
|
|
14
|
+
CLONE: `${ACTIONS_ROUTE}/clone`,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -35,6 +35,10 @@ export declare const CONTROLLERS_INFO: {
|
|
|
35
35
|
readonly tag: "Nodes Controller";
|
|
36
36
|
readonly description: "";
|
|
37
37
|
};
|
|
38
|
+
readonly NODE_PLUGINS: {
|
|
39
|
+
readonly tag: "Node Plugins Controller";
|
|
40
|
+
readonly description: "";
|
|
41
|
+
};
|
|
38
42
|
readonly BANDWIDTH_STATS: {
|
|
39
43
|
readonly tag: "Bandwidth Stats Controller";
|
|
40
44
|
readonly description: "";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controllers-info.d.ts","sourceRoot":"","sources":["../../../api/controllers-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"controllers-info.d.ts","sourceRoot":"","sources":["../../../api/controllers-info.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4GnB,CAAC"}
|
|
@@ -254,6 +254,17 @@ export declare const REST_API: {
|
|
|
254
254
|
readonly CLONE: "/api/subscription-page-configs/actions/clone";
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
|
+
readonly NODE_PLUGINS: {
|
|
258
|
+
readonly GET: (uuid: string) => string;
|
|
259
|
+
readonly GET_ALL: "/api/node-plugins/";
|
|
260
|
+
readonly UPDATE: "/api/node-plugins/";
|
|
261
|
+
readonly DELETE: (uuid: string) => string;
|
|
262
|
+
readonly CREATE: "/api/node-plugins/";
|
|
263
|
+
readonly ACTIONS: {
|
|
264
|
+
readonly REORDER: "/api/node-plugins/actions/reorder";
|
|
265
|
+
readonly CLONE: "/api/node-plugins/actions/clone";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
257
268
|
readonly BANDWIDTH_STATS: {
|
|
258
269
|
readonly NODES: {
|
|
259
270
|
readonly GET: "/api/bandwidth-stats/nodes/";
|
|
@@ -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;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;gCAgBjB,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;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAoCT,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;;;;;;;;;;;uCAYC,MAAM;;;yCAIJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;mCAMhB,MAAM;+CAEM,MAAM;;;CAIlC,CAAC"}
|
|
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;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;gCAgBjB,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;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAoCT,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;;;;;;;;;;;uCAYC,MAAM;;;yCAIJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;mCAMhB,MAAM;+CAEM,MAAM;;;CAIlC,CAAC"}
|
|
@@ -291,6 +291,17 @@ exports.REST_API = {
|
|
|
291
291
|
CLONE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.ACTIONS.CLONE}`,
|
|
292
292
|
},
|
|
293
293
|
},
|
|
294
|
+
NODE_PLUGINS: {
|
|
295
|
+
GET: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.GET(uuid)}`,
|
|
296
|
+
GET_ALL: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.GET_ALL}`,
|
|
297
|
+
UPDATE: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.UPDATE}`,
|
|
298
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.DELETE(uuid)}`,
|
|
299
|
+
CREATE: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.CREATE}`,
|
|
300
|
+
ACTIONS: {
|
|
301
|
+
REORDER: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.ACTIONS.REORDER}`,
|
|
302
|
+
CLONE: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.ACTIONS.CLONE}`,
|
|
303
|
+
},
|
|
304
|
+
},
|
|
294
305
|
BANDWIDTH_STATS: {
|
|
295
306
|
NODES: {
|
|
296
307
|
GET: `${exports.ROOT}/${CONTROLLERS.BANDWIDTH_STATS_CONTROLLER}/${CONTROLLERS.BANDWIDTH_STATS_NODES_ROUTE}/${CONTROLLERS.BANDWIDTH_STATS_ROUTES.NODES.GET}`,
|
|
@@ -9,6 +9,7 @@ export * from './infra-billing';
|
|
|
9
9
|
export * from './internal-squads';
|
|
10
10
|
export * from './ip-control';
|
|
11
11
|
export * from './keygen';
|
|
12
|
+
export * from './node-plugins';
|
|
12
13
|
export * from './nodes';
|
|
13
14
|
export * from './passkeys';
|
|
14
15
|
export * from './remnawave-settings';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./infra-billing"), exports);
|
|
|
25
25
|
__exportStar(require("./internal-squads"), exports);
|
|
26
26
|
__exportStar(require("./ip-control"), exports);
|
|
27
27
|
__exportStar(require("./keygen"), exports);
|
|
28
|
+
__exportStar(require("./node-plugins"), exports);
|
|
28
29
|
__exportStar(require("./nodes"), exports);
|
|
29
30
|
__exportStar(require("./passkeys"), exports);
|
|
30
31
|
__exportStar(require("./remnawave-settings"), exports);
|
|
@@ -148,6 +148,7 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
148
148
|
faviconLink: string | null;
|
|
149
149
|
loginUrl: string | null;
|
|
150
150
|
}>>;
|
|
151
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
151
152
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
152
153
|
uuid: string;
|
|
153
154
|
countryCode: string;
|
|
@@ -303,6 +304,7 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
303
304
|
faviconLink: string | null;
|
|
304
305
|
loginUrl: string | null;
|
|
305
306
|
}>>;
|
|
307
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
306
308
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
307
309
|
uuid: string;
|
|
308
310
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -142,6 +142,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
142
142
|
faviconLink: string | null;
|
|
143
143
|
loginUrl: string | null;
|
|
144
144
|
}>>;
|
|
145
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
145
146
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
146
147
|
uuid: string;
|
|
147
148
|
countryCode: string;
|
|
@@ -297,6 +298,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
297
298
|
faviconLink: string | null;
|
|
298
299
|
loginUrl: string | null;
|
|
299
300
|
}>>;
|
|
301
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
300
302
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
301
303
|
uuid: string;
|
|
302
304
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -134,6 +134,7 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
134
134
|
faviconLink: string | null;
|
|
135
135
|
loginUrl: string | null;
|
|
136
136
|
}>>;
|
|
137
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
137
138
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
138
139
|
uuid: string;
|
|
139
140
|
countryCode: string;
|
|
@@ -289,6 +290,7 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
289
290
|
faviconLink: string | null;
|
|
290
291
|
loginUrl: string | null;
|
|
291
292
|
}>>;
|
|
293
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
292
294
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
293
295
|
uuid: string;
|
|
294
296
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -145,6 +145,7 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
145
145
|
faviconLink: string | null;
|
|
146
146
|
loginUrl: string | null;
|
|
147
147
|
}>>;
|
|
148
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
148
149
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
149
150
|
uuid: string;
|
|
150
151
|
countryCode: string;
|
|
@@ -300,6 +301,7 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
300
301
|
faviconLink: string | null;
|
|
301
302
|
loginUrl: string | null;
|
|
302
303
|
}>>;
|
|
304
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
303
305
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
304
306
|
uuid: string;
|
|
305
307
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/update-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAQxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"update-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/update-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAQxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace CloneNodePluginCommand {
|
|
3
|
+
const url: "/api/node-plugins/actions/clone";
|
|
4
|
+
const TSQ_url: "/api/node-plugins/actions/clone";
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
cloneFromUuid: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
cloneFromUuid: string;
|
|
10
|
+
}, {
|
|
11
|
+
cloneFromUuid: string;
|
|
12
|
+
}>;
|
|
13
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
|
15
|
+
response: z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
viewPosition: z.ZodNumber;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
} & {
|
|
20
|
+
pluginConfig: z.ZodUnknown;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
uuid: string;
|
|
23
|
+
name: string;
|
|
24
|
+
viewPosition: number;
|
|
25
|
+
pluginConfig?: unknown;
|
|
26
|
+
}, {
|
|
27
|
+
uuid: string;
|
|
28
|
+
name: string;
|
|
29
|
+
viewPosition: number;
|
|
30
|
+
pluginConfig?: unknown;
|
|
31
|
+
}>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
response: {
|
|
34
|
+
uuid: string;
|
|
35
|
+
name: string;
|
|
36
|
+
viewPosition: number;
|
|
37
|
+
pluginConfig?: unknown;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
response: {
|
|
41
|
+
uuid: string;
|
|
42
|
+
name: string;
|
|
43
|
+
viewPosition: number;
|
|
44
|
+
pluginConfig?: unknown;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=clone-node-plugin.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clone-node-plugin.command.d.ts","sourceRoot":"","sources":["../../../../../commands/node-plugins/actions/clone-node-plugin.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,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,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloneNodePluginCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
|
+
var CloneNodePluginCommand;
|
|
9
|
+
(function (CloneNodePluginCommand) {
|
|
10
|
+
CloneNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.ACTIONS.CLONE;
|
|
11
|
+
CloneNodePluginCommand.TSQ_url = CloneNodePluginCommand.url;
|
|
12
|
+
CloneNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.ACTIONS.CLONE, 'post', 'Clone Node Plugin');
|
|
13
|
+
CloneNodePluginCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
cloneFromUuid: zod_1.z.string().uuid(),
|
|
15
|
+
});
|
|
16
|
+
CloneNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
response: models_1.NodePluginSchema.extend({
|
|
18
|
+
pluginConfig: zod_1.z.unknown(),
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
21
|
+
})(CloneNodePluginCommand || (exports.CloneNodePluginCommand = CloneNodePluginCommand = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/node-plugins/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./clone-node-plugin.command"), exports);
|
|
18
|
+
__exportStar(require("./reorder.command"), exports);
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace ReorderNodePluginCommand {
|
|
3
|
+
const url: "/api/node-plugins/actions/reorder";
|
|
4
|
+
const TSQ_url: "/api/node-plugins/actions/reorder";
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
items: z.ZodArray<z.ZodObject<Pick<{
|
|
8
|
+
uuid: z.ZodString;
|
|
9
|
+
viewPosition: z.ZodNumber;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
pluginConfig: z.ZodNullable<z.ZodUnknown>;
|
|
12
|
+
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
13
|
+
uuid: string;
|
|
14
|
+
viewPosition: number;
|
|
15
|
+
}, {
|
|
16
|
+
uuid: string;
|
|
17
|
+
viewPosition: number;
|
|
18
|
+
}>, "many">;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
items: {
|
|
21
|
+
uuid: string;
|
|
22
|
+
viewPosition: number;
|
|
23
|
+
}[];
|
|
24
|
+
}, {
|
|
25
|
+
items: {
|
|
26
|
+
uuid: string;
|
|
27
|
+
viewPosition: number;
|
|
28
|
+
}[];
|
|
29
|
+
}>;
|
|
30
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
31
|
+
const ResponseSchema: z.ZodObject<{
|
|
32
|
+
response: z.ZodObject<{
|
|
33
|
+
total: z.ZodNumber;
|
|
34
|
+
nodePlugins: z.ZodArray<z.ZodObject<{
|
|
35
|
+
uuid: z.ZodString;
|
|
36
|
+
viewPosition: z.ZodNumber;
|
|
37
|
+
name: z.ZodString;
|
|
38
|
+
pluginConfig: z.ZodNullable<z.ZodUnknown>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
uuid: string;
|
|
41
|
+
name: string;
|
|
42
|
+
viewPosition: number;
|
|
43
|
+
pluginConfig?: unknown;
|
|
44
|
+
}, {
|
|
45
|
+
uuid: string;
|
|
46
|
+
name: string;
|
|
47
|
+
viewPosition: number;
|
|
48
|
+
pluginConfig?: unknown;
|
|
49
|
+
}>, "many">;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
total: number;
|
|
52
|
+
nodePlugins: {
|
|
53
|
+
uuid: string;
|
|
54
|
+
name: string;
|
|
55
|
+
viewPosition: number;
|
|
56
|
+
pluginConfig?: unknown;
|
|
57
|
+
}[];
|
|
58
|
+
}, {
|
|
59
|
+
total: number;
|
|
60
|
+
nodePlugins: {
|
|
61
|
+
uuid: string;
|
|
62
|
+
name: string;
|
|
63
|
+
viewPosition: number;
|
|
64
|
+
pluginConfig?: unknown;
|
|
65
|
+
}[];
|
|
66
|
+
}>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
response: {
|
|
69
|
+
total: number;
|
|
70
|
+
nodePlugins: {
|
|
71
|
+
uuid: string;
|
|
72
|
+
name: string;
|
|
73
|
+
viewPosition: number;
|
|
74
|
+
pluginConfig?: unknown;
|
|
75
|
+
}[];
|
|
76
|
+
};
|
|
77
|
+
}, {
|
|
78
|
+
response: {
|
|
79
|
+
total: number;
|
|
80
|
+
nodePlugins: {
|
|
81
|
+
uuid: string;
|
|
82
|
+
name: string;
|
|
83
|
+
viewPosition: number;
|
|
84
|
+
pluginConfig?: unknown;
|
|
85
|
+
}[];
|
|
86
|
+
};
|
|
87
|
+
}>;
|
|
88
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=reorder.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/node-plugins/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,qCAAwC,CAAC;IAClD,MAAM,OAAO,qCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReorderNodePluginCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
|
+
var ReorderNodePluginCommand;
|
|
9
|
+
(function (ReorderNodePluginCommand) {
|
|
10
|
+
ReorderNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.ACTIONS.REORDER;
|
|
11
|
+
ReorderNodePluginCommand.TSQ_url = ReorderNodePluginCommand.url;
|
|
12
|
+
ReorderNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.ACTIONS.REORDER, 'post', 'Reorder Node Plugins');
|
|
13
|
+
ReorderNodePluginCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
items: zod_1.z.array(models_1.NodePluginSchema.pick({
|
|
15
|
+
viewPosition: true,
|
|
16
|
+
uuid: true,
|
|
17
|
+
})),
|
|
18
|
+
});
|
|
19
|
+
ReorderNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
+
response: zod_1.z.object({
|
|
21
|
+
total: zod_1.z.number(),
|
|
22
|
+
nodePlugins: zod_1.z.array(models_1.NodePluginSchema),
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
25
|
+
})(ReorderNodePluginCommand || (exports.ReorderNodePluginCommand = ReorderNodePluginCommand = {}));
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace CreateNodePluginCommand {
|
|
3
|
+
const url: "/api/node-plugins/";
|
|
4
|
+
const TSQ_url: "/api/node-plugins/";
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
name: string;
|
|
10
|
+
}, {
|
|
11
|
+
name: string;
|
|
12
|
+
}>;
|
|
13
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
|
15
|
+
response: z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
viewPosition: z.ZodNumber;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
pluginConfig: z.ZodNullable<z.ZodUnknown>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
uuid: string;
|
|
22
|
+
name: string;
|
|
23
|
+
viewPosition: number;
|
|
24
|
+
pluginConfig?: unknown;
|
|
25
|
+
}, {
|
|
26
|
+
uuid: string;
|
|
27
|
+
name: string;
|
|
28
|
+
viewPosition: number;
|
|
29
|
+
pluginConfig?: unknown;
|
|
30
|
+
}>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
response: {
|
|
33
|
+
uuid: string;
|
|
34
|
+
name: string;
|
|
35
|
+
viewPosition: number;
|
|
36
|
+
pluginConfig?: unknown;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
response: {
|
|
40
|
+
uuid: string;
|
|
41
|
+
name: string;
|
|
42
|
+
viewPosition: number;
|
|
43
|
+
pluginConfig?: unknown;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=create-node-plugin.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-node-plugin.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/create-node-plugin.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,sBAA+B,CAAC;IACzC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MASxB,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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateNodePluginCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
|
+
var CreateNodePluginCommand;
|
|
9
|
+
(function (CreateNodePluginCommand) {
|
|
10
|
+
CreateNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.CREATE;
|
|
11
|
+
CreateNodePluginCommand.TSQ_url = CreateNodePluginCommand.url;
|
|
12
|
+
CreateNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.CREATE, 'post', 'Create Node Plugin');
|
|
13
|
+
CreateNodePluginCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
name: zod_1.z
|
|
15
|
+
.string()
|
|
16
|
+
.min(2, 'Name must be at least 2 characters')
|
|
17
|
+
.max(30, 'Name must be less than 30 characters')
|
|
18
|
+
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
|
|
19
|
+
});
|
|
20
|
+
CreateNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
21
|
+
response: models_1.NodePluginSchema,
|
|
22
|
+
});
|
|
23
|
+
})(CreateNodePluginCommand || (exports.CreateNodePluginCommand = CreateNodePluginCommand = {}));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeleteNodePluginCommand {
|
|
3
|
+
const url: (uuid: string) => string;
|
|
4
|
+
const TSQ_url: string;
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
uuid: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
uuid: string;
|
|
10
|
+
}, {
|
|
11
|
+
uuid: string;
|
|
12
|
+
}>;
|
|
13
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
|
15
|
+
response: z.ZodObject<{
|
|
16
|
+
isDeleted: z.ZodBoolean;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
isDeleted: boolean;
|
|
19
|
+
}, {
|
|
20
|
+
isDeleted: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
response: {
|
|
24
|
+
isDeleted: boolean;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
response: {
|
|
28
|
+
isDeleted: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=delete-node-plugin.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-node-plugin.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/delete-node-plugin.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,0BAA+B,CAAC;IACzC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,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.DeleteNodePluginCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var DeleteNodePluginCommand;
|
|
8
|
+
(function (DeleteNodePluginCommand) {
|
|
9
|
+
DeleteNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.DELETE;
|
|
10
|
+
DeleteNodePluginCommand.TSQ_url = DeleteNodePluginCommand.url(':uuid');
|
|
11
|
+
DeleteNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.DELETE(':uuid'), 'delete', 'Delete Node Plugin');
|
|
12
|
+
DeleteNodePluginCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
|
14
|
+
});
|
|
15
|
+
DeleteNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
+
response: zod_1.z.object({
|
|
17
|
+
isDeleted: zod_1.z.boolean(),
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
20
|
+
})(DeleteNodePluginCommand || (exports.DeleteNodePluginCommand = DeleteNodePluginCommand = {}));
|