@remnawave/backend-contract 3.3.1 → 3.3.3
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-integrations.d.ts +9 -0
- package/build/backend/api/controllers/node-integrations.d.ts.map +1 -0
- package/build/backend/api/controllers/node-integrations.js +11 -0
- package/build/backend/api/controllers-info.d.ts +5 -0
- package/build/backend/api/controllers-info.d.ts.map +1 -1
- package/build/backend/api/controllers-info.js +5 -0
- package/build/backend/api/routes.d.ts +7 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +7 -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/node-integrations/create-node-integration.command.d.ts +22 -0
- package/build/backend/commands/node-integrations/create-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/create-node-integration.command.js +24 -0
- package/build/backend/commands/node-integrations/delete-node-integration.command.d.ts +11 -0
- package/build/backend/commands/node-integrations/delete-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/delete-node-integration.command.js +15 -0
- package/build/backend/commands/node-integrations/get-node-integration.command.d.ts +20 -0
- package/build/backend/commands/node-integrations/get-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/get-node-integration.command.js +19 -0
- package/build/backend/commands/node-integrations/get-node-integrations.command.d.ts +19 -0
- package/build/backend/commands/node-integrations/get-node-integrations.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/get-node-integrations.command.js +19 -0
- package/build/backend/commands/node-integrations/index.d.ts +6 -0
- package/build/backend/commands/node-integrations/index.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/index.js +21 -0
- package/build/backend/commands/node-integrations/update-node-integration.command.d.ts +24 -0
- package/build/backend/commands/node-integrations/update-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/update-node-integration.command.js +27 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts +1 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +1 -0
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +1 -0
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts +1 -0
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +1 -0
- package/build/backend/commands/nodes/create.command.d.ts +2 -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-node.command.d.ts +1 -0
- package/build/backend/commands/nodes/get-node.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-nodes.command.d.ts +1 -0
- package/build/backend/commands/nodes/get-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/node.response.d.ts +1 -0
- package/build/backend/commands/nodes/node.response.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +2 -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/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +126 -108
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- 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/node-integration.schema.d.ts +8 -0
- package/build/backend/models/node-integration.schema.d.ts.map +1 -0
- package/build/backend/models/node-integration.schema.js +13 -0
- package/build/backend/models/nodes.schema.d.ts +1 -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/resolved-proxy-config.schema.d.ts +207 -107
- package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
- package/build/backend/models/resolved-proxy-config.schema.js +19 -35
- package/build/backend/models/webhook/webhook.schema.d.ts +4 -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-integrations.js +11 -0
- package/build/frontend/api/controllers-info.js +5 -0
- package/build/frontend/api/routes.js +7 -0
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/node-integrations/create-node-integration.command.js +24 -0
- package/build/frontend/commands/node-integrations/delete-node-integration.command.js +15 -0
- package/build/frontend/commands/node-integrations/get-node-integration.command.js +19 -0
- package/build/frontend/commands/node-integrations/get-node-integrations.command.js +19 -0
- package/build/frontend/commands/node-integrations/index.js +21 -0
- package/build/frontend/commands/node-integrations/update-node-integration.command.js +27 -0
- package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +1 -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-integration.schema.js +13 -0
- package/build/frontend/models/nodes.schema.js +1 -0
- package/build/frontend/models/resolved-proxy-config.schema.js +19 -35
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export * from './internal-squads';
|
|
|
10
10
|
export * from './connections';
|
|
11
11
|
export * from './keygen';
|
|
12
12
|
export * from './metadata';
|
|
13
|
+
export * from './node-integrations';
|
|
13
14
|
export * from './node-plugins';
|
|
14
15
|
export * from './nodes';
|
|
15
16
|
export * from './passkeys';
|
|
@@ -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,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,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"}
|
|
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,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,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"}
|
|
@@ -26,6 +26,7 @@ __exportStar(require("./internal-squads"), exports);
|
|
|
26
26
|
__exportStar(require("./connections"), exports);
|
|
27
27
|
__exportStar(require("./keygen"), exports);
|
|
28
28
|
__exportStar(require("./metadata"), exports);
|
|
29
|
+
__exportStar(require("./node-integrations"), exports);
|
|
29
30
|
__exportStar(require("./node-plugins"), exports);
|
|
30
31
|
__exportStar(require("./nodes"), exports);
|
|
31
32
|
__exportStar(require("./passkeys"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const NODE_INTEGRATIONS_CONTROLLER: "node-integrations";
|
|
2
|
+
export declare const NODE_INTEGRATIONS_ROUTES: {
|
|
3
|
+
readonly GET_ALL: "";
|
|
4
|
+
readonly GET: (uuid: string) => string;
|
|
5
|
+
readonly UPDATE: "";
|
|
6
|
+
readonly DELETE: (uuid: string) => string;
|
|
7
|
+
readonly CREATE: "";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=node-integrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-integrations.d.ts","sourceRoot":"","sources":["../../../../api/controllers/node-integrations.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,EAAG,mBAA4B,CAAC;AAEzE,eAAO,MAAM,wBAAwB;;yBAErB,MAAM;;4BAEH,MAAM;;CAEf,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NODE_INTEGRATIONS_ROUTES = exports.NODE_INTEGRATIONS_CONTROLLER = void 0;
|
|
4
|
+
exports.NODE_INTEGRATIONS_CONTROLLER = 'node-integrations';
|
|
5
|
+
exports.NODE_INTEGRATIONS_ROUTES = {
|
|
6
|
+
GET_ALL: '', // get
|
|
7
|
+
GET: (uuid) => `${uuid}`, // get
|
|
8
|
+
UPDATE: '', // patch
|
|
9
|
+
DELETE: (uuid) => `${uuid}`, // delete
|
|
10
|
+
CREATE: '', // post
|
|
11
|
+
};
|
|
@@ -34,6 +34,11 @@ export declare const CONTROLLERS_INFO: {
|
|
|
34
34
|
readonly description: "";
|
|
35
35
|
readonly resource: "node-plugins";
|
|
36
36
|
};
|
|
37
|
+
readonly NODE_INTEGRATIONS: {
|
|
38
|
+
readonly tag: "Node Integrations Controller";
|
|
39
|
+
readonly description: "Management of Node Integrations.";
|
|
40
|
+
readonly resource: "node-integrations";
|
|
41
|
+
};
|
|
37
42
|
readonly BANDWIDTH_STATS: {
|
|
38
43
|
readonly tag: "Bandwidth Stats Controller";
|
|
39
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgJnB,CAAC"}
|
|
@@ -37,6 +37,11 @@ exports.CONTROLLERS_INFO = {
|
|
|
37
37
|
description: '',
|
|
38
38
|
resource: 'node-plugins',
|
|
39
39
|
},
|
|
40
|
+
NODE_INTEGRATIONS: {
|
|
41
|
+
tag: 'Node Integrations Controller',
|
|
42
|
+
description: 'Management of Node Integrations.',
|
|
43
|
+
resource: 'node-integrations',
|
|
44
|
+
},
|
|
40
45
|
BANDWIDTH_STATS: {
|
|
41
46
|
tag: 'Bandwidth Stats Controller',
|
|
42
47
|
description: '',
|
|
@@ -264,6 +264,13 @@ export declare const REST_API: {
|
|
|
264
264
|
readonly CLONE: "/api/subscription-page-configs/actions/clone";
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
|
+
readonly NODE_INTEGRATIONS: {
|
|
268
|
+
readonly GET: (uuid: string) => string;
|
|
269
|
+
readonly GET_ALL: "/api/node-integrations/";
|
|
270
|
+
readonly UPDATE: "/api/node-integrations/";
|
|
271
|
+
readonly DELETE: (uuid: string) => string;
|
|
272
|
+
readonly CREATE: "/api/node-integrations/";
|
|
273
|
+
};
|
|
267
274
|
readonly NODE_PLUGINS: {
|
|
268
275
|
readonly GET: (uuid: string) => string;
|
|
269
276
|
readonly GET_ALL: "/api/node-plugins/";
|
|
@@ -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;AAE9C,eAAO,MAAM,kBAAkB,EAAG,gBAAyB,CAAC;AAC5D,eAAO,MAAM,cAAc,EAAG,uBAAgC,CAAC;AAC/D,eAAO,MAAM,YAAY,EAAG,wBAAiC,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAG,uBAAgC,CAAC;AAE5D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;;;qCAcD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;;kCAkBf,MAAM;qCAGH,MAAM;4CAEC,MAAM;wDAEM,MAAM;;uCAMvB,MAAM;sCAIP,MAAM;6CAIC,MAAM;mDAIA,MAAM;sDAIH,MAAM;;;6CAMf,MAAM;0CAIT,MAAM;;;;;;;;;;;;;;;;;;;;;;kCAyBd,MAAM;uCAED,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAsCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;iDAiBW,MAAM;;;;;;;;;0CAYb,MAAM;6CAIH,MAAM;iDAIF,MAAM;kCAIrB,MAAM;;;6CAMK,MAAM;;0DAKO,MAAM;;;;;;qCAS3B,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;4CAEJ,MAAM;+CAEH,MAAM;;;;;;;;;;yCAWZ,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;;;;qCAqBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;;;;;;uCAkBC,MAAM;;;;;yCAMJ,MAAM;;;uCAIR,MAAM;6CAEA,MAAM,UAAU,MAAM;;;;+CAKpB,MAAM;qDAEA,MAAM;6CAEd,MAAM;qDAEE,MAAM;;;;;iCAM1B,MAAM;oCAEH,MAAM;;;mCAIP,MAAM;sCAEH,MAAM;;;CAIzB,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;AAE9C,eAAO,MAAM,kBAAkB,EAAG,gBAAyB,CAAC;AAC5D,eAAO,MAAM,cAAc,EAAG,uBAAgC,CAAC;AAC/D,eAAO,MAAM,YAAY,EAAG,wBAAiC,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAG,uBAAgC,CAAC;AAE5D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;;;qCAcD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;;;kCAkBf,MAAM;qCAGH,MAAM;4CAEC,MAAM;wDAEM,MAAM;;uCAMvB,MAAM;sCAIP,MAAM;6CAIC,MAAM;mDAIA,MAAM;sDAIH,MAAM;;;6CAMf,MAAM;0CAIT,MAAM;;;;;;;;;;;;;;;;;;;;;;kCAyBd,MAAM;uCAED,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAsCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;iDAiBW,MAAM;;;;;;;;;0CAYb,MAAM;6CAIH,MAAM;iDAIF,MAAM;kCAIrB,MAAM;;;6CAMK,MAAM;;0DAKO,MAAM;;;;;;qCAS3B,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;4CAEJ,MAAM;+CAEH,MAAM;;;;;;;;;;yCAWZ,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;;;;qCAqBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;6BAKT,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;;;;;;uCAkBC,MAAM;;;;;yCAMJ,MAAM;;;uCAIR,MAAM;6CAEA,MAAM,UAAU,MAAM;;;;+CAKpB,MAAM;qDAEA,MAAM;6CAEd,MAAM;qDAEE,MAAM;;;;;iCAM1B,MAAM;oCAEH,MAAM;;;mCAIP,MAAM;sCAEH,MAAM;;;CAIzB,CAAC"}
|
|
@@ -301,6 +301,13 @@ exports.REST_API = {
|
|
|
301
301
|
CLONE: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_PAGE_CONFIGS_ROUTES.ACTIONS.CLONE}`,
|
|
302
302
|
},
|
|
303
303
|
},
|
|
304
|
+
NODE_INTEGRATIONS: {
|
|
305
|
+
GET: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODE_INTEGRATIONS_CONTROLLER}/${CONTROLLERS.NODE_INTEGRATIONS_ROUTES.GET(uuid)}`,
|
|
306
|
+
GET_ALL: `${exports.ROOT}/${CONTROLLERS.NODE_INTEGRATIONS_CONTROLLER}/${CONTROLLERS.NODE_INTEGRATIONS_ROUTES.GET_ALL}`,
|
|
307
|
+
UPDATE: `${exports.ROOT}/${CONTROLLERS.NODE_INTEGRATIONS_CONTROLLER}/${CONTROLLERS.NODE_INTEGRATIONS_ROUTES.UPDATE}`,
|
|
308
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODE_INTEGRATIONS_CONTROLLER}/${CONTROLLERS.NODE_INTEGRATIONS_ROUTES.DELETE(uuid)}`,
|
|
309
|
+
CREATE: `${exports.ROOT}/${CONTROLLERS.NODE_INTEGRATIONS_CONTROLLER}/${CONTROLLERS.NODE_INTEGRATIONS_ROUTES.CREATE}`,
|
|
310
|
+
},
|
|
304
311
|
NODE_PLUGINS: {
|
|
305
312
|
GET: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.GET(uuid)}`,
|
|
306
313
|
GET_ALL: `${exports.ROOT}/${CONTROLLERS.NODE_PLUGINS_CONTROLLER}/${CONTROLLERS.NODE_PLUGINS_ROUTES.GET_ALL}`,
|
|
@@ -10,6 +10,7 @@ export * from './internal-squads';
|
|
|
10
10
|
export * from './connections';
|
|
11
11
|
export * from './keygen';
|
|
12
12
|
export * from './metadata';
|
|
13
|
+
export * from './node-integrations';
|
|
13
14
|
export * from './node-plugins';
|
|
14
15
|
export * from './nodes';
|
|
15
16
|
export * from './passkeys';
|
|
@@ -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,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,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"}
|
|
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,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,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"}
|
|
@@ -26,6 +26,7 @@ __exportStar(require("./internal-squads"), exports);
|
|
|
26
26
|
__exportStar(require("./connections"), exports);
|
|
27
27
|
__exportStar(require("./keygen"), exports);
|
|
28
28
|
__exportStar(require("./metadata"), exports);
|
|
29
|
+
__exportStar(require("./node-integrations"), exports);
|
|
29
30
|
__exportStar(require("./node-plugins"), exports);
|
|
30
31
|
__exportStar(require("./nodes"), exports);
|
|
31
32
|
__exportStar(require("./passkeys"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace CreateNodeIntegrationCommand {
|
|
3
|
+
const url: "/api/node-integrations/";
|
|
4
|
+
const TSQ_url: "/api/node-integrations/";
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const RequestBodySchema: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
response: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodUUID;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
20
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=create-node-integration.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-node-integration.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-integrations/create-node-integration.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;qBAO5B,CAAC;IAEI,MAAM,cAAc;;;;;;;qBAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateNodeIntegrationCommand = 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 CreateNodeIntegrationCommand;
|
|
9
|
+
(function (CreateNodeIntegrationCommand) {
|
|
10
|
+
CreateNodeIntegrationCommand.url = api_1.REST_API.NODE_INTEGRATIONS.CREATE;
|
|
11
|
+
CreateNodeIntegrationCommand.TSQ_url = CreateNodeIntegrationCommand.url;
|
|
12
|
+
CreateNodeIntegrationCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_INTEGRATIONS_ROUTES.CREATE, 'post', 'Create Node Integration', { scope: 'create', kind: 'write' });
|
|
13
|
+
CreateNodeIntegrationCommand.RequestBodySchema = 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
|
+
description: zod_1.z.nullish(zod_1.z.string().max(255, 'Description must be less than 255 characters')),
|
|
19
|
+
config: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
20
|
+
});
|
|
21
|
+
CreateNodeIntegrationCommand.ResponseSchema = zod_1.z.object({
|
|
22
|
+
response: models_1.NodeIntegrationSchema,
|
|
23
|
+
});
|
|
24
|
+
})(CreateNodeIntegrationCommand || (exports.CreateNodeIntegrationCommand = CreateNodeIntegrationCommand = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeleteNodeIntegrationCommand {
|
|
3
|
+
const url: (uuid: string) => string;
|
|
4
|
+
const TSQ_url: string;
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const RequestParamSchema: z.ZodObject<{
|
|
7
|
+
uuid: z.ZodUUID;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=delete-node-integration.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-node-integration.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-integrations/delete-node-integration.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,0BAAoC,CAAC;IAC9C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;CACjE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteNodeIntegrationCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var DeleteNodeIntegrationCommand;
|
|
8
|
+
(function (DeleteNodeIntegrationCommand) {
|
|
9
|
+
DeleteNodeIntegrationCommand.url = api_1.REST_API.NODE_INTEGRATIONS.DELETE;
|
|
10
|
+
DeleteNodeIntegrationCommand.TSQ_url = DeleteNodeIntegrationCommand.url(':uuid');
|
|
11
|
+
DeleteNodeIntegrationCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_INTEGRATIONS_ROUTES.DELETE(':uuid'), 'delete', 'Delete Node Integration', { scope: 'delete', kind: 'write' });
|
|
12
|
+
DeleteNodeIntegrationCommand.RequestParamSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.uuid(),
|
|
14
|
+
});
|
|
15
|
+
})(DeleteNodeIntegrationCommand || (exports.DeleteNodeIntegrationCommand = DeleteNodeIntegrationCommand = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetNodeIntegrationCommand {
|
|
3
|
+
const url: (uuid: string) => string;
|
|
4
|
+
const TSQ_url: string;
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const RequestParamSchema: z.ZodObject<{
|
|
7
|
+
uuid: z.ZodUUID;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
const ResponseSchema: z.ZodObject<{
|
|
10
|
+
response: z.ZodObject<{
|
|
11
|
+
uuid: z.ZodUUID;
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
18
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=get-node-integration.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-node-integration.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-integrations/get-node-integration.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;qBAEzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,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.GetNodeIntegrationCommand = 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 GetNodeIntegrationCommand;
|
|
9
|
+
(function (GetNodeIntegrationCommand) {
|
|
10
|
+
GetNodeIntegrationCommand.url = api_1.REST_API.NODE_INTEGRATIONS.GET;
|
|
11
|
+
GetNodeIntegrationCommand.TSQ_url = GetNodeIntegrationCommand.url(':uuid');
|
|
12
|
+
GetNodeIntegrationCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_INTEGRATIONS_ROUTES.GET(':uuid'), 'get', 'Get Node Integration by uuid', { scope: 'get', kind: 'read' });
|
|
13
|
+
GetNodeIntegrationCommand.RequestParamSchema = zod_1.z.object({
|
|
14
|
+
uuid: zod_1.z.uuid(),
|
|
15
|
+
});
|
|
16
|
+
GetNodeIntegrationCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
response: models_1.NodeIntegrationSchema,
|
|
18
|
+
});
|
|
19
|
+
})(GetNodeIntegrationCommand || (exports.GetNodeIntegrationCommand = GetNodeIntegrationCommand = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetNodeIntegrationsCommand {
|
|
3
|
+
const url: "/api/node-integrations/";
|
|
4
|
+
const TSQ_url: "/api/node-integrations/";
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const ResponseSchema: z.ZodObject<{
|
|
7
|
+
response: z.ZodObject<{
|
|
8
|
+
total: z.ZodNumber;
|
|
9
|
+
nodeIntegrations: z.ZodArray<z.ZodObject<{
|
|
10
|
+
uuid: z.ZodUUID;
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=get-node-integrations.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-node-integrations.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-integrations/get-node-integrations.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,2BAAqC,CAAC;IAC/C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;qBAKzB,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.GetNodeIntegrationsCommand = 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 GetNodeIntegrationsCommand;
|
|
9
|
+
(function (GetNodeIntegrationsCommand) {
|
|
10
|
+
GetNodeIntegrationsCommand.url = api_1.REST_API.NODE_INTEGRATIONS.GET_ALL;
|
|
11
|
+
GetNodeIntegrationsCommand.TSQ_url = GetNodeIntegrationsCommand.url;
|
|
12
|
+
GetNodeIntegrationsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_INTEGRATIONS_ROUTES.GET_ALL, 'get', 'Get all Node Integrations', { scope: 'list', kind: 'read' });
|
|
13
|
+
GetNodeIntegrationsCommand.ResponseSchema = zod_1.z.object({
|
|
14
|
+
response: zod_1.z.object({
|
|
15
|
+
total: zod_1.z.number(),
|
|
16
|
+
nodeIntegrations: zod_1.z.array(models_1.NodeIntegrationSchema),
|
|
17
|
+
}),
|
|
18
|
+
});
|
|
19
|
+
})(GetNodeIntegrationsCommand || (exports.GetNodeIntegrationsCommand = GetNodeIntegrationsCommand = {}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './create-node-integration.command';
|
|
2
|
+
export * from './delete-node-integration.command';
|
|
3
|
+
export * from './get-node-integration.command';
|
|
4
|
+
export * from './get-node-integrations.command';
|
|
5
|
+
export * from './update-node-integration.command';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/node-integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./create-node-integration.command"), exports);
|
|
18
|
+
__exportStar(require("./delete-node-integration.command"), exports);
|
|
19
|
+
__exportStar(require("./get-node-integration.command"), exports);
|
|
20
|
+
__exportStar(require("./get-node-integrations.command"), exports);
|
|
21
|
+
__exportStar(require("./update-node-integration.command"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdateNodeIntegrationCommand {
|
|
3
|
+
const url: "/api/node-integrations/";
|
|
4
|
+
const TSQ_url: "/api/node-integrations/";
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const RequestBodySchema: z.ZodObject<{
|
|
7
|
+
uuid: z.ZodUUID;
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
restartNodes: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
const ResponseSchema: z.ZodObject<{
|
|
14
|
+
response: z.ZodObject<{
|
|
15
|
+
uuid: z.ZodUUID;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
22
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=update-node-integration.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-node-integration.command.d.ts","sourceRoot":"","sources":["../../../../commands/node-integrations/update-node-integration.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;qBAU5B,CAAC;IAEI,MAAM,cAAc;;;;;;;qBAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateNodeIntegrationCommand = 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 UpdateNodeIntegrationCommand;
|
|
9
|
+
(function (UpdateNodeIntegrationCommand) {
|
|
10
|
+
UpdateNodeIntegrationCommand.url = api_1.REST_API.NODE_INTEGRATIONS.UPDATE;
|
|
11
|
+
UpdateNodeIntegrationCommand.TSQ_url = UpdateNodeIntegrationCommand.url;
|
|
12
|
+
UpdateNodeIntegrationCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODE_INTEGRATIONS_ROUTES.UPDATE, 'patch', 'Update Node Integration', { scope: 'update', kind: 'write' });
|
|
13
|
+
UpdateNodeIntegrationCommand.RequestBodySchema = zod_1.z.object({
|
|
14
|
+
uuid: zod_1.z.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
|
+
.optional(),
|
|
20
|
+
description: zod_1.z.nullish(zod_1.z.string().max(255, 'Description must be less than 255 characters')),
|
|
21
|
+
config: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
|
22
|
+
restartNodes: zod_1.z.optional(zod_1.z.boolean()),
|
|
23
|
+
});
|
|
24
|
+
UpdateNodeIntegrationCommand.ResponseSchema = zod_1.z.object({
|
|
25
|
+
response: models_1.NodeIntegrationSchema,
|
|
26
|
+
});
|
|
27
|
+
})(UpdateNodeIntegrationCommand || (exports.UpdateNodeIntegrationCommand = UpdateNodeIntegrationCommand = {}));
|
|
@@ -29,6 +29,7 @@ export declare namespace DisableNodeCommand {
|
|
|
29
29
|
consumptionMultiplier: z.ZodNumber;
|
|
30
30
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
31
31
|
tags: z.ZodArray<z.ZodString>;
|
|
32
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
32
33
|
ips: z.ZodArray<z.ZodObject<{
|
|
33
34
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
34
35
|
status: z.ZodEnum<{
|
|
@@ -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,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,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,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAqB,CAAC;IAEjD,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -29,6 +29,7 @@ export declare namespace EnableNodeCommand {
|
|
|
29
29
|
consumptionMultiplier: z.ZodNumber;
|
|
30
30
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
31
31
|
tags: z.ZodArray<z.ZodString>;
|
|
32
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
32
33
|
ips: z.ZodArray<z.ZodObject<{
|
|
33
34
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
34
35
|
status: z.ZodEnum<{
|
|
@@ -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,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,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,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAqB,CAAC;IAEjD,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -32,6 +32,7 @@ export declare namespace ReorderNodesCommand {
|
|
|
32
32
|
consumptionMultiplier: z.ZodNumber;
|
|
33
33
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
34
34
|
tags: z.ZodArray<z.ZodString>;
|
|
35
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
35
36
|
ips: z.ZodArray<z.ZodObject<{
|
|
36
37
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
37
38
|
status: z.ZodEnum<{
|
|
@@ -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,mBAAmB,CAAC;IAC1B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;qBAO5B,CAAC;IAEI,MAAM,cAAc
|
|
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,mBAAmB,CAAC;IAC1B,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;qBAO5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -12,6 +12,7 @@ export declare namespace BulkNodesUpdateCommand {
|
|
|
12
12
|
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
13
13
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
14
|
activePluginUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
15
|
+
integrationUuids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
15
16
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
17
|
}, z.core.$strip>;
|
|
17
18
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-update.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/bulk-actions/bulk-update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,kCAAqC,CAAC;IAC/C,MAAM,OAAO,kCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"bulk-update.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/bulk-actions/bulk-update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,kCAAqC,CAAC;IAC/C,MAAM,OAAO,kCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;;;;;;;qBAoC5B,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;CAC/D"}
|
|
@@ -31,6 +31,7 @@ var BulkNodesUpdateCommand;
|
|
|
31
31
|
.max(36, 'Each tag must be less than 36 characters'))
|
|
32
32
|
.max(10, 'Maximum 10 tags')),
|
|
33
33
|
activePluginUuid: zod_1.z.uuid().nullish(),
|
|
34
|
+
integrationUuids: zod_1.z.optional(zod_1.z.array(zod_1.z.uuid()).max(20, 'Maximum 20 integrations')),
|
|
34
35
|
note: zod_1.z.optional(zod_1.z.string().max(255).nullable()),
|
|
35
36
|
}),
|
|
36
37
|
});
|
|
@@ -22,6 +22,7 @@ export declare namespace CreateNodeCommand {
|
|
|
22
22
|
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
23
23
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
24
|
activePluginUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
25
|
+
integrationUuids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
25
26
|
note: z.ZodOptional<z.ZodString>;
|
|
26
27
|
ips: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
28
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
@@ -62,6 +63,7 @@ export declare namespace CreateNodeCommand {
|
|
|
62
63
|
consumptionMultiplier: z.ZodNumber;
|
|
63
64
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
64
65
|
tags: z.ZodArray<z.ZodString>;
|
|
66
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
65
67
|
ips: z.ZodArray<z.ZodObject<{
|
|
66
68
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
67
69
|
status: z.ZodEnum<{
|
|
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB
|
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsD5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAqB,CAAC;IAEjD,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -46,6 +46,7 @@ var CreateNodeCommand;
|
|
|
46
46
|
.max(36, 'Each tag must be less than 36 characters'))
|
|
47
47
|
.max(10, 'Maximum 10 tags')),
|
|
48
48
|
activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.uuid())),
|
|
49
|
+
integrationUuids: zod_1.z.optional(zod_1.z.array(zod_1.z.uuid()).max(20, 'Maximum 20 integrations')),
|
|
49
50
|
note: zod_1.z.optional(zod_1.z.string().max(255, 'Note must be less than 255 characters')),
|
|
50
51
|
ips: zod_1.z.optional(models_1.NodeIpsSchema),
|
|
51
52
|
});
|
|
@@ -29,6 +29,7 @@ export declare namespace GetNodeCommand {
|
|
|
29
29
|
consumptionMultiplier: z.ZodNumber;
|
|
30
30
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
31
31
|
tags: z.ZodArray<z.ZodString>;
|
|
32
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
32
33
|
ips: z.ZodArray<z.ZodObject<{
|
|
33
34
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
34
35
|
status: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,cAAc,CAAC;IACrB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,cAAc,CAAC;IACrB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAqB,CAAC;IAEjD,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -26,6 +26,7 @@ export declare namespace GetNodesCommand {
|
|
|
26
26
|
consumptionMultiplier: z.ZodNumber;
|
|
27
27
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
28
28
|
tags: z.ZodArray<z.ZodString>;
|
|
29
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
29
30
|
ips: z.ZodArray<z.ZodObject<{
|
|
30
31
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
31
32
|
status: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,eAAe,CAAC;IACtB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAG1B,CAAC;IAEI,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,eAAe,CAAC;IACtB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAG1B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -22,6 +22,7 @@ export declare const NodeResponseSchema: z.ZodObject<{
|
|
|
22
22
|
consumptionMultiplier: z.ZodNumber;
|
|
23
23
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
24
24
|
tags: z.ZodArray<z.ZodString>;
|
|
25
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
25
26
|
ips: z.ZodArray<z.ZodObject<{
|
|
26
27
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
27
28
|
status: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.response.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/node.response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"node.response.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/node.response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7B,CAAC"}
|
|
@@ -23,6 +23,7 @@ export declare namespace UpdateNodeCommand {
|
|
|
23
23
|
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
24
24
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
25
|
activePluginUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
26
|
+
integrationUuids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
26
27
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
28
|
ips: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28
29
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
@@ -63,6 +64,7 @@ export declare namespace UpdateNodeCommand {
|
|
|
63
64
|
consumptionMultiplier: z.ZodNumber;
|
|
64
65
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
65
66
|
tags: z.ZodArray<z.ZodString>;
|
|
67
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
66
68
|
ips: z.ZodArray<z.ZodObject<{
|
|
67
69
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
68
70
|
status: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAG1B,CAAC;IAEI,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAG1B,CAAC;IAEI,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAyD5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAqB,CAAC;IAEjD,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -53,6 +53,7 @@ var UpdateNodeCommand;
|
|
|
53
53
|
.max(36, 'Each tag must be less than 36 characters'))
|
|
54
54
|
.max(10, 'Maximum 10 tags')),
|
|
55
55
|
activePluginUuid: zod_1.z.uuid().nullish(),
|
|
56
|
+
integrationUuids: zod_1.z.optional(zod_1.z.array(zod_1.z.uuid()).max(20, 'Maximum 20 integrations')),
|
|
56
57
|
note: zod_1.z.optional(zod_1.z.string().max(255).nullable()),
|
|
57
58
|
ips: zod_1.z.optional(models_1.NodeIpsSchema),
|
|
58
59
|
});
|