@remnawave/backend-contract 2.6.19 → 2.6.21
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/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts +3 -0
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts.map +1 -1
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.js +1 -0
- 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/build/frontend/models/xray-json-advanced/remnawave-injector.schema.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetNodePluginCommand {
|
|
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
|
+
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=get-node-plugin.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-node-plugin.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/get-node-plugin.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,0BAA4B,CAAC;IACtC,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,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNodePluginCommand = 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 GetNodePluginCommand;
|
|
9
|
+
(function (GetNodePluginCommand) {
|
|
10
|
+
GetNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.GET;
|
|
11
|
+
GetNodePluginCommand.TSQ_url = GetNodePluginCommand.url(':uuid');
|
|
12
|
+
GetNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.GET(':uuid'), 'get', 'Get Node Plugin by uuid');
|
|
13
|
+
GetNodePluginCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
|
15
|
+
});
|
|
16
|
+
GetNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
response: models_1.NodePluginSchema.extend({
|
|
18
|
+
pluginConfig: zod_1.z.unknown(),
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
21
|
+
})(GetNodePluginCommand || (exports.GetNodePluginCommand = GetNodePluginCommand = {}));
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetNodePluginsCommand {
|
|
3
|
+
const url: "/api/node-plugins/";
|
|
4
|
+
const TSQ_url: "/api/node-plugins/";
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const ResponseSchema: z.ZodObject<{
|
|
7
|
+
response: z.ZodObject<{
|
|
8
|
+
total: z.ZodNumber;
|
|
9
|
+
nodePlugins: z.ZodArray<z.ZodObject<{
|
|
10
|
+
uuid: z.ZodString;
|
|
11
|
+
viewPosition: z.ZodNumber;
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
pluginConfig: z.ZodNullable<z.ZodUnknown>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
uuid: string;
|
|
16
|
+
name: string;
|
|
17
|
+
viewPosition: number;
|
|
18
|
+
pluginConfig?: unknown;
|
|
19
|
+
}, {
|
|
20
|
+
uuid: string;
|
|
21
|
+
name: string;
|
|
22
|
+
viewPosition: number;
|
|
23
|
+
pluginConfig?: unknown;
|
|
24
|
+
}>, "many">;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
total: number;
|
|
27
|
+
nodePlugins: {
|
|
28
|
+
uuid: string;
|
|
29
|
+
name: string;
|
|
30
|
+
viewPosition: number;
|
|
31
|
+
pluginConfig?: unknown;
|
|
32
|
+
}[];
|
|
33
|
+
}, {
|
|
34
|
+
total: number;
|
|
35
|
+
nodePlugins: {
|
|
36
|
+
uuid: string;
|
|
37
|
+
name: string;
|
|
38
|
+
viewPosition: number;
|
|
39
|
+
pluginConfig?: unknown;
|
|
40
|
+
}[];
|
|
41
|
+
}>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
response: {
|
|
44
|
+
total: number;
|
|
45
|
+
nodePlugins: {
|
|
46
|
+
uuid: string;
|
|
47
|
+
name: string;
|
|
48
|
+
viewPosition: number;
|
|
49
|
+
pluginConfig?: unknown;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
response: {
|
|
54
|
+
total: number;
|
|
55
|
+
nodePlugins: {
|
|
56
|
+
uuid: string;
|
|
57
|
+
name: string;
|
|
58
|
+
viewPosition: number;
|
|
59
|
+
pluginConfig?: unknown;
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=get-node-plugins.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-node-plugins.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/get-node-plugins.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,sBAAgC,CAAC;IAC1C,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNodePluginsCommand = 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 GetNodePluginsCommand;
|
|
9
|
+
(function (GetNodePluginsCommand) {
|
|
10
|
+
GetNodePluginsCommand.url = api_1.REST_API.NODE_PLUGINS.GET_ALL;
|
|
11
|
+
GetNodePluginsCommand.TSQ_url = GetNodePluginsCommand.url;
|
|
12
|
+
GetNodePluginsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.GET_ALL, 'get', 'Get all Node Plugins');
|
|
13
|
+
GetNodePluginsCommand.ResponseSchema = zod_1.z.object({
|
|
14
|
+
response: zod_1.z.object({
|
|
15
|
+
total: zod_1.z.number(),
|
|
16
|
+
nodePlugins: zod_1.z.array(models_1.NodePluginSchema),
|
|
17
|
+
}),
|
|
18
|
+
});
|
|
19
|
+
})(GetNodePluginsCommand || (exports.GetNodePluginsCommand = GetNodePluginsCommand = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './actions';
|
|
2
|
+
export * from './create-node-plugin.command';
|
|
3
|
+
export * from './delete-node-plugin.command';
|
|
4
|
+
export * from './get-node-plugin.command';
|
|
5
|
+
export * from './get-node-plugins.command';
|
|
6
|
+
export * from './update-node-plugin.command';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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("./actions"), exports);
|
|
18
|
+
__exportStar(require("./create-node-plugin.command"), exports);
|
|
19
|
+
__exportStar(require("./delete-node-plugin.command"), exports);
|
|
20
|
+
__exportStar(require("./get-node-plugin.command"), exports);
|
|
21
|
+
__exportStar(require("./get-node-plugins.command"), exports);
|
|
22
|
+
__exportStar(require("./update-node-plugin.command"), exports);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdateNodePluginCommand {
|
|
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
|
+
uuid: z.ZodString;
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
pluginConfig: z.ZodOptional<z.ZodUnknown>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
uuid: string;
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
pluginConfig?: unknown;
|
|
14
|
+
}, {
|
|
15
|
+
uuid: string;
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
pluginConfig?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
20
|
+
const ResponseSchema: z.ZodObject<{
|
|
21
|
+
response: z.ZodObject<{
|
|
22
|
+
uuid: z.ZodString;
|
|
23
|
+
viewPosition: z.ZodNumber;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
} & {
|
|
26
|
+
pluginConfig: z.ZodUnknown;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
uuid: string;
|
|
29
|
+
name: string;
|
|
30
|
+
viewPosition: number;
|
|
31
|
+
pluginConfig?: unknown;
|
|
32
|
+
}, {
|
|
33
|
+
uuid: string;
|
|
34
|
+
name: string;
|
|
35
|
+
viewPosition: number;
|
|
36
|
+
pluginConfig?: unknown;
|
|
37
|
+
}>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
response: {
|
|
40
|
+
uuid: string;
|
|
41
|
+
name: string;
|
|
42
|
+
viewPosition: number;
|
|
43
|
+
pluginConfig?: unknown;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
response: {
|
|
47
|
+
uuid: string;
|
|
48
|
+
name: string;
|
|
49
|
+
viewPosition: number;
|
|
50
|
+
pluginConfig?: unknown;
|
|
51
|
+
};
|
|
52
|
+
}>;
|
|
53
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=update-node-plugin.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-node-plugin.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-plugins/update-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;;;;;;;;;;;;MAYxB,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,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateNodePluginCommand = 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 UpdateNodePluginCommand;
|
|
9
|
+
(function (UpdateNodePluginCommand) {
|
|
10
|
+
UpdateNodePluginCommand.url = api_1.REST_API.NODE_PLUGINS.UPDATE;
|
|
11
|
+
UpdateNodePluginCommand.TSQ_url = UpdateNodePluginCommand.url;
|
|
12
|
+
UpdateNodePluginCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_PLUGINS_ROUTES.UPDATE, 'patch', 'Update Node Plugin');
|
|
13
|
+
UpdateNodePluginCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
|
15
|
+
name: zod_1.z
|
|
16
|
+
.string()
|
|
17
|
+
.min(2, 'Name must be at least 2 characters')
|
|
18
|
+
.max(30, 'Name must be less than 30 characters')
|
|
19
|
+
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces')
|
|
20
|
+
.optional(),
|
|
21
|
+
pluginConfig: zod_1.z.optional(zod_1.z.unknown()),
|
|
22
|
+
});
|
|
23
|
+
UpdateNodePluginCommand.ResponseSchema = zod_1.z.object({
|
|
24
|
+
response: models_1.NodePluginSchema.extend({
|
|
25
|
+
pluginConfig: zod_1.z.unknown(),
|
|
26
|
+
}),
|
|
27
|
+
});
|
|
28
|
+
})(UpdateNodePluginCommand || (exports.UpdateNodePluginCommand = UpdateNodePluginCommand = {}));
|
|
@@ -118,6 +118,7 @@ export declare namespace DisableNodeCommand {
|
|
|
118
118
|
faviconLink: string | null;
|
|
119
119
|
loginUrl: string | null;
|
|
120
120
|
}>>;
|
|
121
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
121
122
|
}, "strip", z.ZodTypeAny, {
|
|
122
123
|
tags: string[];
|
|
123
124
|
uuid: string;
|
|
@@ -168,6 +169,7 @@ export declare namespace DisableNodeCommand {
|
|
|
168
169
|
}[];
|
|
169
170
|
};
|
|
170
171
|
providerUuid: string | null;
|
|
172
|
+
activePluginUuid: string | null;
|
|
171
173
|
}, {
|
|
172
174
|
tags: string[];
|
|
173
175
|
uuid: string;
|
|
@@ -218,6 +220,7 @@ export declare namespace DisableNodeCommand {
|
|
|
218
220
|
}[];
|
|
219
221
|
};
|
|
220
222
|
providerUuid: string | null;
|
|
223
|
+
activePluginUuid: string | null;
|
|
221
224
|
}>;
|
|
222
225
|
}, "strip", z.ZodTypeAny, {
|
|
223
226
|
response: {
|
|
@@ -270,6 +273,7 @@ export declare namespace DisableNodeCommand {
|
|
|
270
273
|
}[];
|
|
271
274
|
};
|
|
272
275
|
providerUuid: string | null;
|
|
276
|
+
activePluginUuid: string | null;
|
|
273
277
|
};
|
|
274
278
|
}, {
|
|
275
279
|
response: {
|
|
@@ -322,6 +326,7 @@ export declare namespace DisableNodeCommand {
|
|
|
322
326
|
}[];
|
|
323
327
|
};
|
|
324
328
|
providerUuid: string | null;
|
|
329
|
+
activePluginUuid: string | null;
|
|
325
330
|
};
|
|
326
331
|
}>;
|
|
327
332
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,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":"disable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -118,6 +118,7 @@ export declare namespace EnableNodeCommand {
|
|
|
118
118
|
faviconLink: string | null;
|
|
119
119
|
loginUrl: string | null;
|
|
120
120
|
}>>;
|
|
121
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
121
122
|
}, "strip", z.ZodTypeAny, {
|
|
122
123
|
tags: string[];
|
|
123
124
|
uuid: string;
|
|
@@ -168,6 +169,7 @@ export declare namespace EnableNodeCommand {
|
|
|
168
169
|
}[];
|
|
169
170
|
};
|
|
170
171
|
providerUuid: string | null;
|
|
172
|
+
activePluginUuid: string | null;
|
|
171
173
|
}, {
|
|
172
174
|
tags: string[];
|
|
173
175
|
uuid: string;
|
|
@@ -218,6 +220,7 @@ export declare namespace EnableNodeCommand {
|
|
|
218
220
|
}[];
|
|
219
221
|
};
|
|
220
222
|
providerUuid: string | null;
|
|
223
|
+
activePluginUuid: string | null;
|
|
221
224
|
}>;
|
|
222
225
|
}, "strip", z.ZodTypeAny, {
|
|
223
226
|
response: {
|
|
@@ -270,6 +273,7 @@ export declare namespace EnableNodeCommand {
|
|
|
270
273
|
}[];
|
|
271
274
|
};
|
|
272
275
|
providerUuid: string | null;
|
|
276
|
+
activePluginUuid: string | null;
|
|
273
277
|
};
|
|
274
278
|
}, {
|
|
275
279
|
response: {
|
|
@@ -322,6 +326,7 @@ export declare namespace EnableNodeCommand {
|
|
|
322
326
|
}[];
|
|
323
327
|
};
|
|
324
328
|
providerUuid: string | null;
|
|
329
|
+
activePluginUuid: string | null;
|
|
325
330
|
};
|
|
326
331
|
}>;
|
|
327
332
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,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":"enable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -110,6 +110,7 @@ export declare namespace ReorderNodeCommand {
|
|
|
110
110
|
faviconLink: string | null;
|
|
111
111
|
loginUrl: string | null;
|
|
112
112
|
}>>;
|
|
113
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
113
114
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
114
115
|
uuid: string;
|
|
115
116
|
viewPosition: number;
|
|
@@ -236,6 +237,7 @@ export declare namespace ReorderNodeCommand {
|
|
|
236
237
|
faviconLink: string | null;
|
|
237
238
|
loginUrl: string | null;
|
|
238
239
|
}>>;
|
|
240
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
239
241
|
}, "strip", z.ZodTypeAny, {
|
|
240
242
|
tags: string[];
|
|
241
243
|
uuid: string;
|
|
@@ -286,6 +288,7 @@ export declare namespace ReorderNodeCommand {
|
|
|
286
288
|
}[];
|
|
287
289
|
};
|
|
288
290
|
providerUuid: string | null;
|
|
291
|
+
activePluginUuid: string | null;
|
|
289
292
|
}, {
|
|
290
293
|
tags: string[];
|
|
291
294
|
uuid: string;
|
|
@@ -336,6 +339,7 @@ export declare namespace ReorderNodeCommand {
|
|
|
336
339
|
}[];
|
|
337
340
|
};
|
|
338
341
|
providerUuid: string | null;
|
|
342
|
+
activePluginUuid: string | null;
|
|
339
343
|
}>, "many">;
|
|
340
344
|
}, "strip", z.ZodTypeAny, {
|
|
341
345
|
response: {
|
|
@@ -388,6 +392,7 @@ export declare namespace ReorderNodeCommand {
|
|
|
388
392
|
}[];
|
|
389
393
|
};
|
|
390
394
|
providerUuid: string | null;
|
|
395
|
+
activePluginUuid: string | null;
|
|
391
396
|
}[];
|
|
392
397
|
}, {
|
|
393
398
|
response: {
|
|
@@ -440,6 +445,7 @@ export declare namespace ReorderNodeCommand {
|
|
|
440
445
|
}[];
|
|
441
446
|
};
|
|
442
447
|
providerUuid: string | null;
|
|
448
|
+
activePluginUuid: string | null;
|
|
443
449
|
}[];
|
|
444
450
|
}>;
|
|
445
451
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -25,6 +25,7 @@ export declare namespace CreateNodeCommand {
|
|
|
25
25
|
}>;
|
|
26
26
|
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
|
+
activePluginUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
29
|
}, "strip", z.ZodTypeAny, {
|
|
29
30
|
countryCode: string;
|
|
30
31
|
name: string;
|
|
@@ -41,6 +42,7 @@ export declare namespace CreateNodeCommand {
|
|
|
41
42
|
notifyPercent?: number | undefined;
|
|
42
43
|
consumptionMultiplier?: number | undefined;
|
|
43
44
|
providerUuid?: string | null | undefined;
|
|
45
|
+
activePluginUuid?: string | null | undefined;
|
|
44
46
|
}, {
|
|
45
47
|
name: string;
|
|
46
48
|
address: string;
|
|
@@ -57,6 +59,7 @@ export declare namespace CreateNodeCommand {
|
|
|
57
59
|
notifyPercent?: number | undefined;
|
|
58
60
|
consumptionMultiplier?: number | undefined;
|
|
59
61
|
providerUuid?: string | null | undefined;
|
|
62
|
+
activePluginUuid?: string | null | undefined;
|
|
60
63
|
}>;
|
|
61
64
|
type Request = z.infer<typeof RequestSchema>;
|
|
62
65
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -166,6 +169,7 @@ export declare namespace CreateNodeCommand {
|
|
|
166
169
|
faviconLink: string | null;
|
|
167
170
|
loginUrl: string | null;
|
|
168
171
|
}>>;
|
|
172
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
169
173
|
}, "strip", z.ZodTypeAny, {
|
|
170
174
|
tags: string[];
|
|
171
175
|
uuid: string;
|
|
@@ -216,6 +220,7 @@ export declare namespace CreateNodeCommand {
|
|
|
216
220
|
}[];
|
|
217
221
|
};
|
|
218
222
|
providerUuid: string | null;
|
|
223
|
+
activePluginUuid: string | null;
|
|
219
224
|
}, {
|
|
220
225
|
tags: string[];
|
|
221
226
|
uuid: string;
|
|
@@ -266,6 +271,7 @@ export declare namespace CreateNodeCommand {
|
|
|
266
271
|
}[];
|
|
267
272
|
};
|
|
268
273
|
providerUuid: string | null;
|
|
274
|
+
activePluginUuid: string | null;
|
|
269
275
|
}>;
|
|
270
276
|
}, "strip", z.ZodTypeAny, {
|
|
271
277
|
response: {
|
|
@@ -318,6 +324,7 @@ export declare namespace CreateNodeCommand {
|
|
|
318
324
|
}[];
|
|
319
325
|
};
|
|
320
326
|
providerUuid: string | null;
|
|
327
|
+
activePluginUuid: string | null;
|
|
321
328
|
};
|
|
322
329
|
}, {
|
|
323
330
|
response: {
|
|
@@ -370,6 +377,7 @@ export declare namespace CreateNodeCommand {
|
|
|
370
377
|
}[];
|
|
371
378
|
};
|
|
372
379
|
providerUuid: string | null;
|
|
380
|
+
activePluginUuid: string | null;
|
|
373
381
|
};
|
|
374
382
|
}>;
|
|
375
383
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8DxB,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"}
|
|
@@ -54,6 +54,7 @@ var CreateNodeCommand;
|
|
|
54
54
|
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
55
55
|
.max(36, 'Each tag must be less than 36 characters'))
|
|
56
56
|
.max(10, 'Maximum 10 tags')),
|
|
57
|
+
activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
|
57
58
|
});
|
|
58
59
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
|
59
60
|
response: models_1.NodesSchema,
|
|
@@ -110,6 +110,7 @@ export declare namespace GetAllNodesCommand {
|
|
|
110
110
|
faviconLink: string | null;
|
|
111
111
|
loginUrl: string | null;
|
|
112
112
|
}>>;
|
|
113
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
113
114
|
}, "strip", z.ZodTypeAny, {
|
|
114
115
|
tags: string[];
|
|
115
116
|
uuid: string;
|
|
@@ -160,6 +161,7 @@ export declare namespace GetAllNodesCommand {
|
|
|
160
161
|
}[];
|
|
161
162
|
};
|
|
162
163
|
providerUuid: string | null;
|
|
164
|
+
activePluginUuid: string | null;
|
|
163
165
|
}, {
|
|
164
166
|
tags: string[];
|
|
165
167
|
uuid: string;
|
|
@@ -210,6 +212,7 @@ export declare namespace GetAllNodesCommand {
|
|
|
210
212
|
}[];
|
|
211
213
|
};
|
|
212
214
|
providerUuid: string | null;
|
|
215
|
+
activePluginUuid: string | null;
|
|
213
216
|
}>, "many">;
|
|
214
217
|
}, "strip", z.ZodTypeAny, {
|
|
215
218
|
response: {
|
|
@@ -262,6 +265,7 @@ export declare namespace GetAllNodesCommand {
|
|
|
262
265
|
}[];
|
|
263
266
|
};
|
|
264
267
|
providerUuid: string | null;
|
|
268
|
+
activePluginUuid: string | null;
|
|
265
269
|
}[];
|
|
266
270
|
}, {
|
|
267
271
|
response: {
|
|
@@ -314,6 +318,7 @@ export declare namespace GetAllNodesCommand {
|
|
|
314
318
|
}[];
|
|
315
319
|
};
|
|
316
320
|
providerUuid: string | null;
|
|
321
|
+
activePluginUuid: string | null;
|
|
317
322
|
}[];
|
|
318
323
|
}>;
|
|
319
324
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -118,6 +118,7 @@ export declare namespace GetOneNodeCommand {
|
|
|
118
118
|
faviconLink: string | null;
|
|
119
119
|
loginUrl: string | null;
|
|
120
120
|
}>>;
|
|
121
|
+
activePluginUuid: z.ZodNullable<z.ZodString>;
|
|
121
122
|
}, "strip", z.ZodTypeAny, {
|
|
122
123
|
tags: string[];
|
|
123
124
|
uuid: string;
|
|
@@ -168,6 +169,7 @@ export declare namespace GetOneNodeCommand {
|
|
|
168
169
|
}[];
|
|
169
170
|
};
|
|
170
171
|
providerUuid: string | null;
|
|
172
|
+
activePluginUuid: string | null;
|
|
171
173
|
}, {
|
|
172
174
|
tags: string[];
|
|
173
175
|
uuid: string;
|
|
@@ -218,6 +220,7 @@ export declare namespace GetOneNodeCommand {
|
|
|
218
220
|
}[];
|
|
219
221
|
};
|
|
220
222
|
providerUuid: string | null;
|
|
223
|
+
activePluginUuid: string | null;
|
|
221
224
|
}>;
|
|
222
225
|
}, "strip", z.ZodTypeAny, {
|
|
223
226
|
response: {
|
|
@@ -270,6 +273,7 @@ export declare namespace GetOneNodeCommand {
|
|
|
270
273
|
}[];
|
|
271
274
|
};
|
|
272
275
|
providerUuid: string | null;
|
|
276
|
+
activePluginUuid: string | null;
|
|
273
277
|
};
|
|
274
278
|
}, {
|
|
275
279
|
response: {
|
|
@@ -322,6 +326,7 @@ export declare namespace GetOneNodeCommand {
|
|
|
322
326
|
}[];
|
|
323
327
|
};
|
|
324
328
|
providerUuid: string | null;
|
|
329
|
+
activePluginUuid: string | null;
|
|
325
330
|
};
|
|
326
331
|
}>;
|
|
327
332
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,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":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|