@remnawave/backend-contract 3.3.0 → 3.3.2
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/subscription-settings/get-subscription-settings.command.d.ts +1 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +2 -0
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +2 -0
- package/build/backend/commands/system/testers/test-srr-matcher.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/response-rules/response-rule-modifications.schema.d.ts +1 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.js +4 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts +2 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +1 -0
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +1 -0
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- 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/response-rules/response-rule-modifications.schema.js +4 -0
- package/package.json +1 -1
|
@@ -82,6 +82,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
82
82
|
key: z.ZodString;
|
|
83
83
|
}, z.core.$strip>>;
|
|
84
84
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
85
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
85
86
|
}, z.core.$strip>>;
|
|
86
87
|
}, z.core.$strip>>;
|
|
87
88
|
}, z.core.$strip>>;
|
package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
81
81
|
key: z.ZodString;
|
|
82
82
|
}, z.core.$strip>>;
|
|
83
83
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
85
|
}, z.core.$strip>>;
|
|
85
86
|
}, z.core.$strip>>;
|
|
86
87
|
}, z.core.$strip>>;
|
|
@@ -169,6 +170,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
169
170
|
key: z.ZodString;
|
|
170
171
|
}, z.core.$strip>>;
|
|
171
172
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
173
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
172
174
|
}, z.core.$strip>>;
|
|
173
175
|
}, z.core.$strip>>;
|
|
174
176
|
}, z.core.$strip>>;
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmB5B,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"}
|
|
@@ -68,6 +68,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
68
68
|
key: z.ZodString;
|
|
69
69
|
}, z.core.$strip>>;
|
|
70
70
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
72
|
}, z.core.$strip>>;
|
|
72
73
|
}, z.core.$strip>>;
|
|
73
74
|
}, z.core.$strip>;
|
|
@@ -145,6 +146,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
145
146
|
key: z.ZodString;
|
|
146
147
|
}, z.core.$strip>>;
|
|
147
148
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
149
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
150
|
}, z.core.$strip>>;
|
|
149
151
|
}, z.core.$strip>>;
|
|
150
152
|
inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IACK,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IACK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAE5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQzB,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"}
|
|
@@ -1219,5 +1219,40 @@ export declare const ERRORS: {
|
|
|
1219
1219
|
readonly message: "Sync snippet error";
|
|
1220
1220
|
readonly httpCode: 500;
|
|
1221
1221
|
};
|
|
1222
|
+
readonly NODE_INTEGRATION_NOT_FOUND: {
|
|
1223
|
+
readonly code: "A238";
|
|
1224
|
+
readonly message: "Node integration not found";
|
|
1225
|
+
readonly httpCode: 404;
|
|
1226
|
+
};
|
|
1227
|
+
readonly GET_ALL_NODE_INTEGRATIONS_ERROR: {
|
|
1228
|
+
readonly code: "A239";
|
|
1229
|
+
readonly message: "Get all node integrations error";
|
|
1230
|
+
readonly httpCode: 500;
|
|
1231
|
+
};
|
|
1232
|
+
readonly GET_NODE_INTEGRATION_BY_UUID_ERROR: {
|
|
1233
|
+
readonly code: "A240";
|
|
1234
|
+
readonly message: "Get node integration by UUID error";
|
|
1235
|
+
readonly httpCode: 500;
|
|
1236
|
+
};
|
|
1237
|
+
readonly CREATE_NODE_INTEGRATION_ERROR: {
|
|
1238
|
+
readonly code: "A241";
|
|
1239
|
+
readonly message: "Create node integration error";
|
|
1240
|
+
readonly httpCode: 500;
|
|
1241
|
+
};
|
|
1242
|
+
readonly UPDATE_NODE_INTEGRATION_ERROR: {
|
|
1243
|
+
readonly code: "A242";
|
|
1244
|
+
readonly message: "Update node integration error";
|
|
1245
|
+
readonly httpCode: 500;
|
|
1246
|
+
};
|
|
1247
|
+
readonly DELETE_NODE_INTEGRATION_ERROR: {
|
|
1248
|
+
readonly code: "A243";
|
|
1249
|
+
readonly message: "Delete node integration error";
|
|
1250
|
+
readonly httpCode: 500;
|
|
1251
|
+
};
|
|
1252
|
+
readonly NODE_INTEGRATION_NAME_ALREADY_EXISTS: {
|
|
1253
|
+
readonly code: "A244";
|
|
1254
|
+
readonly message: "Node integration name already exists";
|
|
1255
|
+
readonly httpCode: 400;
|
|
1256
|
+
};
|
|
1222
1257
|
};
|
|
1223
1258
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAsqBN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA6HN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAkDN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE3B,CAAC"}
|
|
@@ -1190,4 +1190,39 @@ exports.ERRORS = {
|
|
|
1190
1190
|
message: 'Sync snippet error',
|
|
1191
1191
|
httpCode: 500,
|
|
1192
1192
|
},
|
|
1193
|
+
NODE_INTEGRATION_NOT_FOUND: {
|
|
1194
|
+
code: 'A238',
|
|
1195
|
+
message: 'Node integration not found',
|
|
1196
|
+
httpCode: 404,
|
|
1197
|
+
},
|
|
1198
|
+
GET_ALL_NODE_INTEGRATIONS_ERROR: {
|
|
1199
|
+
code: 'A239',
|
|
1200
|
+
message: 'Get all node integrations error',
|
|
1201
|
+
httpCode: 500,
|
|
1202
|
+
},
|
|
1203
|
+
GET_NODE_INTEGRATION_BY_UUID_ERROR: {
|
|
1204
|
+
code: 'A240',
|
|
1205
|
+
message: 'Get node integration by UUID error',
|
|
1206
|
+
httpCode: 500,
|
|
1207
|
+
},
|
|
1208
|
+
CREATE_NODE_INTEGRATION_ERROR: {
|
|
1209
|
+
code: 'A241',
|
|
1210
|
+
message: 'Create node integration error',
|
|
1211
|
+
httpCode: 500,
|
|
1212
|
+
},
|
|
1213
|
+
UPDATE_NODE_INTEGRATION_ERROR: {
|
|
1214
|
+
code: 'A242',
|
|
1215
|
+
message: 'Update node integration error',
|
|
1216
|
+
httpCode: 500,
|
|
1217
|
+
},
|
|
1218
|
+
DELETE_NODE_INTEGRATION_ERROR: {
|
|
1219
|
+
code: 'A243',
|
|
1220
|
+
message: 'Delete node integration error',
|
|
1221
|
+
httpCode: 500,
|
|
1222
|
+
},
|
|
1223
|
+
NODE_INTEGRATION_NAME_ALREADY_EXISTS: {
|
|
1224
|
+
code: 'A244',
|
|
1225
|
+
message: 'Node integration name already exists',
|
|
1226
|
+
httpCode: 400,
|
|
1227
|
+
},
|
|
1193
1228
|
};
|
|
@@ -16,6 +16,7 @@ export * from './infra-billing-node.schema';
|
|
|
16
16
|
export * from './infra-provider.schema';
|
|
17
17
|
export * from './internal-squad.schema';
|
|
18
18
|
export * from './last-connected-node.schema';
|
|
19
|
+
export * from './node-integration.schema';
|
|
19
20
|
export * from './node-plugin.schema';
|
|
20
21
|
export * from './node-ips.schema';
|
|
21
22
|
export * from './node-system.schema';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;A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AAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
|
|
@@ -32,6 +32,7 @@ __exportStar(require("./infra-billing-node.schema"), exports);
|
|
|
32
32
|
__exportStar(require("./infra-provider.schema"), exports);
|
|
33
33
|
__exportStar(require("./internal-squad.schema"), exports);
|
|
34
34
|
__exportStar(require("./last-connected-node.schema"), exports);
|
|
35
|
+
__exportStar(require("./node-integration.schema"), exports);
|
|
35
36
|
__exportStar(require("./node-plugin.schema"), exports);
|
|
36
37
|
__exportStar(require("./node-ips.schema"), exports);
|
|
37
38
|
__exportStar(require("./node-system.schema"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const NodeIntegrationSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
//# sourceMappingURL=node-integration.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-integration.schema.d.ts","sourceRoot":"","sources":["../../../models/node-integration.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,qBAAqB;;;;;iBAKhC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NodeIntegrationSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.NodeIntegrationSchema = zod_1.default.object({
|
|
9
|
+
uuid: zod_1.default.uuid(),
|
|
10
|
+
name: zod_1.default.string(),
|
|
11
|
+
description: zod_1.default.nullable(zod_1.default.string()),
|
|
12
|
+
config: zod_1.default.record(zod_1.default.string(), zod_1.default.unknown()),
|
|
13
|
+
});
|
|
@@ -21,6 +21,7 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
21
21
|
consumptionMultiplier: z.ZodNumber;
|
|
22
22
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
23
23
|
tags: z.ZodArray<z.ZodString>;
|
|
24
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
24
25
|
ips: z.ZodArray<z.ZodObject<{
|
|
25
26
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
26
27
|
status: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8CtB,CAAC"}
|
|
@@ -28,6 +28,7 @@ exports.NodesSchema = zod_1.z.object({
|
|
|
28
28
|
consumptionMultiplier: zod_1.z.number(),
|
|
29
29
|
nodeConsumptionMultiplier: zod_1.z.number(),
|
|
30
30
|
tags: zod_1.z.array(zod_1.z.string()),
|
|
31
|
+
integrationUuids: zod_1.z.array(zod_1.z.uuid()),
|
|
31
32
|
ips: node_ips_schema_1.NodeIpsSchema,
|
|
32
33
|
createdAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
|
|
33
34
|
updatedAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
|
|
@@ -25,5 +25,6 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
25
25
|
key: z.ZodString;
|
|
26
26
|
}, z.core.$strip>>;
|
|
27
27
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
29
|
}, z.core.$strip>>;
|
|
29
30
|
//# sourceMappingURL=response-rule-modifications.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;kBAoItC,CAAC"}
|
|
@@ -100,6 +100,10 @@ exports.ResponseRuleModificationsSchema = zod_1.default
|
|
|
100
100
|
title: 'Exclude Hosts by Tags',
|
|
101
101
|
markdownDescription: 'Excludes hosts from the subscription output if at least one tag in the host matches the given tags.',
|
|
102
102
|
}),
|
|
103
|
+
respondWithRemarks: zod_1.default.array(zod_1.default.string()).optional().meta({
|
|
104
|
+
title: 'Respond With Remarks',
|
|
105
|
+
markdownDescription: 'Replaces the response body with the provided remarks. If this array contains more than one element, actual hosts will not be sent.',
|
|
106
|
+
}),
|
|
103
107
|
})
|
|
104
108
|
.optional()
|
|
105
109
|
.meta({
|
|
@@ -56,6 +56,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
56
56
|
key: z.ZodString;
|
|
57
57
|
}, z.core.$strip>>;
|
|
58
58
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
60
|
}, z.core.$strip>>;
|
|
60
61
|
}, z.core.$strip>;
|
|
61
62
|
export declare const ResponseRuleSchema: z.ZodObject<{
|
|
@@ -115,6 +116,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
115
116
|
key: z.ZodString;
|
|
116
117
|
}, z.core.$strip>>;
|
|
117
118
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
120
|
}, z.core.$strip>>;
|
|
119
121
|
}, z.core.$strip>;
|
|
120
122
|
//# sourceMappingURL=response-rule.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB7B,CAAC"}
|
|
@@ -63,6 +63,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
63
63
|
key: z.ZodString;
|
|
64
64
|
}, z.core.$strip>>;
|
|
65
65
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
67
|
}, z.core.$strip>>;
|
|
67
68
|
}, z.core.$strip>>;
|
|
68
69
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYpC,CAAC"}
|
|
@@ -77,6 +77,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
77
77
|
key: z.ZodString;
|
|
78
78
|
}, z.core.$strip>>;
|
|
79
79
|
excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
|
+
respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
81
|
}, z.core.$strip>>;
|
|
81
82
|
}, z.core.$strip>>;
|
|
82
83
|
}, z.core.$strip>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBrC,CAAC"}
|
|
@@ -170,6 +170,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
170
170
|
consumptionMultiplier: z.ZodNumber;
|
|
171
171
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
172
172
|
tags: z.ZodArray<z.ZodString>;
|
|
173
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
173
174
|
ips: z.ZodArray<z.ZodObject<{
|
|
174
175
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
175
176
|
status: z.ZodEnum<{
|
|
@@ -340,6 +341,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
|
|
|
340
341
|
consumptionMultiplier: z.ZodNumber;
|
|
341
342
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
342
343
|
tags: z.ZodArray<z.ZodString>;
|
|
344
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
343
345
|
ips: z.ZodArray<z.ZodObject<{
|
|
344
346
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
345
347
|
status: z.ZodEnum<{
|
|
@@ -657,6 +659,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
657
659
|
consumptionMultiplier: z.ZodNumber;
|
|
658
660
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
659
661
|
tags: z.ZodArray<z.ZodString>;
|
|
662
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
660
663
|
ips: z.ZodArray<z.ZodObject<{
|
|
661
664
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
662
665
|
status: z.ZodEnum<{
|
|
@@ -823,6 +826,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
823
826
|
consumptionMultiplier: z.ZodNumber;
|
|
824
827
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
825
828
|
tags: z.ZodArray<z.ZodString>;
|
|
829
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
826
830
|
ips: z.ZodArray<z.ZodObject<{
|
|
827
831
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
828
832
|
status: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.schema.d.ts","sourceRoot":"","sources":["../../../../models/webhook/webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC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AAC;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,oCAAoC,CAC9C,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,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
|
+
};
|
|
@@ -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: '',
|
|
@@ -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}`,
|
|
@@ -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,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,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,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
|
+
"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,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,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 = {}));
|
|
@@ -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
|
});
|
|
@@ -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
|
});
|
|
@@ -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
|
});
|
|
@@ -1190,4 +1190,39 @@ exports.ERRORS = {
|
|
|
1190
1190
|
message: 'Sync snippet error',
|
|
1191
1191
|
httpCode: 500,
|
|
1192
1192
|
},
|
|
1193
|
+
NODE_INTEGRATION_NOT_FOUND: {
|
|
1194
|
+
code: 'A238',
|
|
1195
|
+
message: 'Node integration not found',
|
|
1196
|
+
httpCode: 404,
|
|
1197
|
+
},
|
|
1198
|
+
GET_ALL_NODE_INTEGRATIONS_ERROR: {
|
|
1199
|
+
code: 'A239',
|
|
1200
|
+
message: 'Get all node integrations error',
|
|
1201
|
+
httpCode: 500,
|
|
1202
|
+
},
|
|
1203
|
+
GET_NODE_INTEGRATION_BY_UUID_ERROR: {
|
|
1204
|
+
code: 'A240',
|
|
1205
|
+
message: 'Get node integration by UUID error',
|
|
1206
|
+
httpCode: 500,
|
|
1207
|
+
},
|
|
1208
|
+
CREATE_NODE_INTEGRATION_ERROR: {
|
|
1209
|
+
code: 'A241',
|
|
1210
|
+
message: 'Create node integration error',
|
|
1211
|
+
httpCode: 500,
|
|
1212
|
+
},
|
|
1213
|
+
UPDATE_NODE_INTEGRATION_ERROR: {
|
|
1214
|
+
code: 'A242',
|
|
1215
|
+
message: 'Update node integration error',
|
|
1216
|
+
httpCode: 500,
|
|
1217
|
+
},
|
|
1218
|
+
DELETE_NODE_INTEGRATION_ERROR: {
|
|
1219
|
+
code: 'A243',
|
|
1220
|
+
message: 'Delete node integration error',
|
|
1221
|
+
httpCode: 500,
|
|
1222
|
+
},
|
|
1223
|
+
NODE_INTEGRATION_NAME_ALREADY_EXISTS: {
|
|
1224
|
+
code: 'A244',
|
|
1225
|
+
message: 'Node integration name already exists',
|
|
1226
|
+
httpCode: 400,
|
|
1227
|
+
},
|
|
1193
1228
|
};
|