@abyss-project/console 1.0.1
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/.eslintrc.js +34 -0
- package/README.md +2 -0
- package/USAGE_EXAMPLES.md +257 -0
- package/dist/api/application-cron-task.admin.api.d.ts +10 -0
- package/dist/api/application-cron-task.admin.api.js +40 -0
- package/dist/api/application-cron-task.api.d.ts +10 -0
- package/dist/api/application-cron-task.api.js +40 -0
- package/dist/api/application-event.admin.api.d.ts +4 -0
- package/dist/api/application-event.admin.api.js +16 -0
- package/dist/api/application-event.api.d.ts +8 -0
- package/dist/api/application-event.api.js +32 -0
- package/dist/api/application-log.admin.api.d.ts +3 -0
- package/dist/api/application-log.admin.api.js +12 -0
- package/dist/api/application-log.api.d.ts +4 -0
- package/dist/api/application-log.api.js +16 -0
- package/dist/api/application-sentinel.admin.api.d.ts +9 -0
- package/dist/api/application-sentinel.admin.api.js +36 -0
- package/dist/api/application-sentinel.api.d.ts +10 -0
- package/dist/api/application-sentinel.api.js +40 -0
- package/dist/api/application-stats.admin.api.d.ts +3 -0
- package/dist/api/application-stats.admin.api.js +12 -0
- package/dist/api/application-stats.api.d.ts +4 -0
- package/dist/api/application-stats.api.js +16 -0
- package/dist/api/application-webhook-history.admin.api.d.ts +3 -0
- package/dist/api/application-webhook-history.admin.api.js +12 -0
- package/dist/api/application-webhook-history.api.d.ts +3 -0
- package/dist/api/application-webhook-history.api.js +12 -0
- package/dist/api/application-webhook.admin.api.d.ts +7 -0
- package/dist/api/application-webhook.admin.api.js +28 -0
- package/dist/api/application-webhook.api.d.ts +7 -0
- package/dist/api/application-webhook.api.js +28 -0
- package/dist/api/application.admin.api.d.ts +7 -0
- package/dist/api/application.admin.api.js +28 -0
- package/dist/api/application.api.d.ts +10 -0
- package/dist/api/application.api.js +40 -0
- package/dist/api/domain-verification.admin.api.d.ts +2 -0
- package/dist/api/domain-verification.admin.api.js +9 -0
- package/dist/api/domain-verification.api.d.ts +7 -0
- package/dist/api/domain-verification.api.js +28 -0
- package/dist/api/hourly-metrics.api.d.ts +2 -0
- package/dist/api/hourly-metrics.api.js +8 -0
- package/dist/api/index.d.ts +5 -0
- package/dist/api/index.js +21 -0
- package/dist/api/infrastructure.admin.api.d.ts +3 -0
- package/dist/api/infrastructure.admin.api.js +12 -0
- package/dist/api/metrics.api.d.ts +4 -0
- package/dist/api/metrics.api.js +16 -0
- package/dist/api/monitor.api.d.ts +2 -0
- package/dist/api/monitor.api.js +8 -0
- package/dist/api/report.admin.api.d.ts +2 -0
- package/dist/api/report.admin.api.js +9 -0
- package/dist/api/workflow.admin.api.d.ts +8 -0
- package/dist/api/workflow.admin.api.js +34 -0
- package/dist/api/workflow.api.d.ts +15 -0
- package/dist/api/workflow.api.js +62 -0
- package/dist/frameworks/express/decorators.d.ts +52 -0
- package/dist/frameworks/express/decorators.js +163 -0
- package/dist/frameworks/express/index.d.ts +17 -0
- package/dist/frameworks/express/index.js +173 -0
- package/dist/frameworks/express/metadata.d.ts +9 -0
- package/dist/frameworks/express/metadata.js +12 -0
- package/dist/frameworks/index.d.ts +1 -0
- package/dist/frameworks/index.js +17 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.js +163 -0
- package/dist/middlewares/context.middleware.d.ts +12 -0
- package/dist/middlewares/context.middleware.js +39 -0
- package/dist/middlewares/index.d.ts +3 -0
- package/dist/middlewares/index.js +19 -0
- package/dist/middlewares/logger-endpoint.middleware.d.ts +5 -0
- package/dist/middlewares/logger-endpoint.middleware.js +86 -0
- package/dist/middlewares/logger-setup.middleware.d.ts +5 -0
- package/dist/middlewares/logger-setup.middleware.js +16 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +17 -0
- package/dist/models/logger.model.d.ts +61 -0
- package/dist/models/logger.model.js +201 -0
- package/dist/models/stats-publisher.model.d.ts +20 -0
- package/dist/models/stats-publisher.model.js +113 -0
- package/dist/types/dto/domain-verification.dto.d.ts +19 -0
- package/dist/types/dto/domain-verification.dto.js +2 -0
- package/dist/types/dto/index.d.ts +1 -0
- package/dist/types/dto/index.js +17 -0
- package/dist/types/enum/api-error.enum.d.ts +20 -0
- package/dist/types/enum/api-error.enum.js +25 -0
- package/dist/types/enum/api-method.enum.d.ts +7 -0
- package/dist/types/enum/api-method.enum.js +11 -0
- package/dist/types/enum/application-alert-type.enum.d.ts +5 -0
- package/dist/types/enum/application-alert-type.enum.js +9 -0
- package/dist/types/enum/application-sentinel-type.enum.d.ts +5 -0
- package/dist/types/enum/application-sentinel-type.enum.js +9 -0
- package/dist/types/enum/application-stats-type.enum.d.ts +5 -0
- package/dist/types/enum/application-stats-type.enum.js +9 -0
- package/dist/types/enum/application-webhook-scope.enum.d.ts +4 -0
- package/dist/types/enum/application-webhook-scope.enum.js +8 -0
- package/dist/types/enum/index.d.ts +1 -0
- package/dist/types/enum/index.js +17 -0
- package/dist/types/enum/log-level.enum.d.ts +6 -0
- package/dist/types/enum/log-level.enum.js +10 -0
- package/dist/types/enum/log-scenario.enum.d.ts +5 -0
- package/dist/types/enum/log-scenario.enum.js +9 -0
- package/dist/types/enum/time-period.enum.d.ts +0 -0
- package/dist/types/enum/time-period.enum.js +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +19 -0
- package/dist/types/interface/api/index.d.ts +13 -0
- package/dist/types/interface/api/index.js +29 -0
- package/dist/types/interface/api/requests/application-cron-task.admin.request.d.ts +50 -0
- package/dist/types/interface/api/requests/application-cron-task.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-cron-task.request.d.ts +61 -0
- package/dist/types/interface/api/requests/application-cron-task.request.js +2 -0
- package/dist/types/interface/api/requests/application-event.admin.request.d.ts +16 -0
- package/dist/types/interface/api/requests/application-event.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-event.request.d.ts +50 -0
- package/dist/types/interface/api/requests/application-event.request.js +2 -0
- package/dist/types/interface/api/requests/application-log.admin.request.d.ts +19 -0
- package/dist/types/interface/api/requests/application-log.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-log.request.d.ts +59 -0
- package/dist/types/interface/api/requests/application-log.request.js +2 -0
- package/dist/types/interface/api/requests/application-sentinel.admin.request.d.ts +52 -0
- package/dist/types/interface/api/requests/application-sentinel.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-sentinel.request.d.ts +71 -0
- package/dist/types/interface/api/requests/application-sentinel.request.js +2 -0
- package/dist/types/interface/api/requests/application-stats.admin.request.d.ts +13 -0
- package/dist/types/interface/api/requests/application-stats.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-stats.request.d.ts +31 -0
- package/dist/types/interface/api/requests/application-stats.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +16 -0
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +21 -0
- package/dist/types/interface/api/requests/application-webhook-history.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +39 -0
- package/dist/types/interface/api/requests/application-webhook.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook.request.d.ts +45 -0
- package/dist/types/interface/api/requests/application-webhook.request.js +2 -0
- package/dist/types/interface/api/requests/application.admin.request.d.ts +23 -0
- package/dist/types/interface/api/requests/application.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application.request.d.ts +64 -0
- package/dist/types/interface/api/requests/application.request.js +2 -0
- package/dist/types/interface/api/requests/domain-verification.admin.request.d.ts +5 -0
- package/dist/types/interface/api/requests/domain-verification.admin.request.js +2 -0
- package/dist/types/interface/api/requests/domain-verification.request.d.ts +29 -0
- package/dist/types/interface/api/requests/domain-verification.request.js +2 -0
- package/dist/types/interface/api/requests/hourly-metrics.request.d.ts +10 -0
- package/dist/types/interface/api/requests/hourly-metrics.request.js +2 -0
- package/dist/types/interface/api/requests/infrastructure.admin.request.d.ts +4 -0
- package/dist/types/interface/api/requests/infrastructure.admin.request.js +2 -0
- package/dist/types/interface/api/requests/metrics.admin.request.d.ts +14 -0
- package/dist/types/interface/api/requests/metrics.admin.request.js +2 -0
- package/dist/types/interface/api/requests/metrics.request.d.ts +23 -0
- package/dist/types/interface/api/requests/metrics.request.js +2 -0
- package/dist/types/interface/api/requests/report.admin.request.d.ts +6 -0
- package/dist/types/interface/api/requests/report.admin.request.js +2 -0
- package/dist/types/interface/api/requests/workflow.admin.request.d.ts +35 -0
- package/dist/types/interface/api/requests/workflow.admin.request.js +2 -0
- package/dist/types/interface/api/requests/workflow.request.d.ts +114 -0
- package/dist/types/interface/api/requests/workflow.request.js +2 -0
- package/dist/types/interface/api/responses/application-cron-task.admin.response.d.ts +30 -0
- package/dist/types/interface/api/responses/application-cron-task.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-cron-task.response.d.ts +30 -0
- package/dist/types/interface/api/responses/application-cron-task.response.js +2 -0
- package/dist/types/interface/api/responses/application-event.admin.response.d.ts +9 -0
- package/dist/types/interface/api/responses/application-event.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-event.response.d.ts +33 -0
- package/dist/types/interface/api/responses/application-event.response.js +2 -0
- package/dist/types/interface/api/responses/application-log.admin.response.d.ts +10 -0
- package/dist/types/interface/api/responses/application-log.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-log.response.d.ts +10 -0
- package/dist/types/interface/api/responses/application-log.response.js +2 -0
- package/dist/types/interface/api/responses/application-sentinel.admin.response.d.ts +26 -0
- package/dist/types/interface/api/responses/application-sentinel.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-sentinel.response.d.ts +33 -0
- package/dist/types/interface/api/responses/application-sentinel.response.js +2 -0
- package/dist/types/interface/api/responses/application-stats.admin.response.d.ts +6 -0
- package/dist/types/interface/api/responses/application-stats.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-stats.response.d.ts +10 -0
- package/dist/types/interface/api/responses/application-stats.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook-history.response.d.ts +7 -0
- package/dist/types/interface/api/responses/application-webhook-history.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook.admin.response.d.ts +21 -0
- package/dist/types/interface/api/responses/application-webhook.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook.response.d.ts +21 -0
- package/dist/types/interface/api/responses/application-webhook.response.js +2 -0
- package/dist/types/interface/api/responses/application.admin.response.d.ts +34 -0
- package/dist/types/interface/api/responses/application.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application.response.d.ts +130 -0
- package/dist/types/interface/api/responses/application.response.js +2 -0
- package/dist/types/interface/api/responses/domain-verification.admin.response.d.ts +6 -0
- package/dist/types/interface/api/responses/domain-verification.admin.response.js +2 -0
- package/dist/types/interface/api/responses/domain-verification.response.d.ts +29 -0
- package/dist/types/interface/api/responses/domain-verification.response.js +2 -0
- package/dist/types/interface/api/responses/hourly-metrics.response.d.ts +70 -0
- package/dist/types/interface/api/responses/hourly-metrics.response.js +2 -0
- package/dist/types/interface/api/responses/infrastructure.admin.response.d.ts +18 -0
- package/dist/types/interface/api/responses/infrastructure.admin.response.js +2 -0
- package/dist/types/interface/api/responses/metrics.admin.response.d.ts +19 -0
- package/dist/types/interface/api/responses/metrics.admin.response.js +2 -0
- package/dist/types/interface/api/responses/metrics.response.d.ts +29 -0
- package/dist/types/interface/api/responses/metrics.response.js +2 -0
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -0
- package/dist/types/interface/api/responses/monitor.response.js +2 -0
- package/dist/types/interface/api/responses/report.admin.response.d.ts +87 -0
- package/dist/types/interface/api/responses/report.admin.response.js +2 -0
- package/dist/types/interface/api/responses/workflow.admin.response.d.ts +24 -0
- package/dist/types/interface/api/responses/workflow.admin.response.js +2 -0
- package/dist/types/interface/api/responses/workflow.response.d.ts +54 -0
- package/dist/types/interface/api/responses/workflow.response.js +2 -0
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -0
- package/dist/types/interface/api/type-message/api-error.js +2 -0
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -0
- package/dist/types/interface/api/type-message/base-order.js +2 -0
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -0
- package/dist/types/interface/api/type-message/base-paginate.js +2 -0
- package/dist/types/interface/api/type-message/response.d.ts +5 -0
- package/dist/types/interface/api/type-message/response.js +2 -0
- package/dist/types/interface/dto/application-sentinel-configuration.dto.d.ts +68 -0
- package/dist/types/interface/dto/application-sentinel-configuration.dto.js +4 -0
- package/dist/types/interface/dto/index.d.ts +2 -0
- package/dist/types/interface/dto/index.js +18 -0
- package/dist/types/interface/dto/webhook.dto.d.ts +27 -0
- package/dist/types/interface/dto/webhook.dto.js +2 -0
- package/dist/types/interface/index.d.ts +6 -0
- package/dist/types/interface/index.js +22 -0
- package/dist/types/interface/models/application-cron-task-history.model.d.ts +17 -0
- package/dist/types/interface/models/application-cron-task-history.model.js +2 -0
- package/dist/types/interface/models/application-cron-task.model.d.ts +14 -0
- package/dist/types/interface/models/application-cron-task.model.js +2 -0
- package/dist/types/interface/models/application-event.model.d.ts +19 -0
- package/dist/types/interface/models/application-event.model.js +2 -0
- package/dist/types/interface/models/application-hourly-metrics.model.d.ts +14 -0
- package/dist/types/interface/models/application-hourly-metrics.model.js +2 -0
- package/dist/types/interface/models/application-lifetime-metrics.model.d.ts +8 -0
- package/dist/types/interface/models/application-lifetime-metrics.model.js +2 -0
- package/dist/types/interface/models/application-log-endpoint.model.d.ts +20 -0
- package/dist/types/interface/models/application-log-endpoint.model.js +2 -0
- package/dist/types/interface/models/application-log.model.d.ts +23 -0
- package/dist/types/interface/models/application-log.model.js +2 -0
- package/dist/types/interface/models/application-sentinel-history.model.d.ts +16 -0
- package/dist/types/interface/models/application-sentinel-history.model.js +2 -0
- package/dist/types/interface/models/application-sentinel.model.d.ts +20 -0
- package/dist/types/interface/models/application-sentinel.model.js +2 -0
- package/dist/types/interface/models/application-stats.model.d.ts +14 -0
- package/dist/types/interface/models/application-stats.model.js +2 -0
- package/dist/types/interface/models/application-webhook-history.model.d.ts +22 -0
- package/dist/types/interface/models/application-webhook-history.model.js +2 -0
- package/dist/types/interface/models/application-webhook.model.d.ts +32 -0
- package/dist/types/interface/models/application-webhook.model.js +3 -0
- package/dist/types/interface/models/application.model.d.ts +19 -0
- package/dist/types/interface/models/application.model.js +2 -0
- package/dist/types/interface/models/domain-verification.model.d.ts +42 -0
- package/dist/types/interface/models/domain-verification.model.js +14 -0
- package/dist/types/interface/models/partition-optimization-history.model.d.ts +11 -0
- package/dist/types/interface/models/partition-optimization-history.model.js +2 -0
- package/dist/types/interface/models/project.model.d.ts +11 -0
- package/dist/types/interface/models/project.model.js +2 -0
- package/dist/types/interface/models/workflow-execution-step.model.d.ts +59 -0
- package/dist/types/interface/models/workflow-execution-step.model.js +12 -0
- package/dist/types/interface/models/workflow-execution.model.d.ts +76 -0
- package/dist/types/interface/models/workflow-execution.model.js +13 -0
- package/dist/types/interface/models/workflow-step.model.d.ts +106 -0
- package/dist/types/interface/models/workflow-step.model.js +44 -0
- package/dist/types/interface/models/workflow.model.d.ts +90 -0
- package/dist/types/interface/models/workflow.model.js +24 -0
- package/dist/typing-examples.d.ts +1 -0
- package/dist/typing-examples.js +48 -0
- package/dist/utils/alert.utils.d.ts +35 -0
- package/dist/utils/alert.utils.js +138 -0
- package/dist/utils/discord-webhook-log-formatter.utils.d.ts +48 -0
- package/dist/utils/discord-webhook-log-formatter.utils.js +332 -0
- package/dist/utils/error.utils.d.ts +15 -0
- package/dist/utils/error.utils.js +24 -0
- package/dist/utils/import.utils.d.ts +1 -0
- package/dist/utils/import.utils.js +7 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +17 -0
- package/dist/utils/json.utils.d.ts +1 -0
- package/dist/utils/json.utils.js +13 -0
- package/dist/utils/non-blocking-promise.utils.d.ts +2 -0
- package/dist/utils/non-blocking-promise.utils.js +11 -0
- package/package.json +49 -0
- package/tsconfig.json +105 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum ErrorType {
|
|
2
|
+
apiError = "api_error",
|
|
3
|
+
authError = "authentication_error",
|
|
4
|
+
resourceError = "resource_error"
|
|
5
|
+
}
|
|
6
|
+
export declare enum Code {
|
|
7
|
+
tokenFailure = "token_authentication_failure",
|
|
8
|
+
authenticationFailure = "authentication_credentials_failure",
|
|
9
|
+
accessNotAllowed = "access_not_allowed",
|
|
10
|
+
notFound = "not_found",
|
|
11
|
+
validationError = "resource_validation_error",
|
|
12
|
+
constraintError = "resource_constraint_error",
|
|
13
|
+
internalServerError = "internal_server_error",
|
|
14
|
+
serviceUnavailable = "service_unavailable",
|
|
15
|
+
invalidData = "invalid_data",
|
|
16
|
+
notImplemented = "not_implemented",
|
|
17
|
+
maxCronTaskNumber = "max_cron_task_number",
|
|
18
|
+
maxEventPublishPerDay = "max_event_publish_per_day",
|
|
19
|
+
maxSentinelNumber = "max_sentinel_number"
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Code = exports.ErrorType = void 0;
|
|
4
|
+
var ErrorType;
|
|
5
|
+
(function (ErrorType) {
|
|
6
|
+
ErrorType["apiError"] = "api_error";
|
|
7
|
+
ErrorType["authError"] = "authentication_error";
|
|
8
|
+
ErrorType["resourceError"] = "resource_error";
|
|
9
|
+
})(ErrorType || (exports.ErrorType = ErrorType = {}));
|
|
10
|
+
var Code;
|
|
11
|
+
(function (Code) {
|
|
12
|
+
Code["tokenFailure"] = "token_authentication_failure";
|
|
13
|
+
Code["authenticationFailure"] = "authentication_credentials_failure";
|
|
14
|
+
Code["accessNotAllowed"] = "access_not_allowed";
|
|
15
|
+
Code["notFound"] = "not_found";
|
|
16
|
+
Code["validationError"] = "resource_validation_error";
|
|
17
|
+
Code["constraintError"] = "resource_constraint_error";
|
|
18
|
+
Code["internalServerError"] = "internal_server_error";
|
|
19
|
+
Code["serviceUnavailable"] = "service_unavailable";
|
|
20
|
+
Code["invalidData"] = "invalid_data";
|
|
21
|
+
Code["notImplemented"] = "not_implemented";
|
|
22
|
+
Code["maxCronTaskNumber"] = "max_cron_task_number";
|
|
23
|
+
Code["maxEventPublishPerDay"] = "max_event_publish_per_day";
|
|
24
|
+
Code["maxSentinelNumber"] = "max_sentinel_number";
|
|
25
|
+
})(Code || (exports.Code = Code = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.APIMethod = void 0;
|
|
4
|
+
var APIMethod;
|
|
5
|
+
(function (APIMethod) {
|
|
6
|
+
APIMethod[APIMethod["GET"] = 1] = "GET";
|
|
7
|
+
APIMethod[APIMethod["POST"] = 2] = "POST";
|
|
8
|
+
APIMethod[APIMethod["DELETE"] = 3] = "DELETE";
|
|
9
|
+
APIMethod[APIMethod["PUT"] = 4] = "PUT";
|
|
10
|
+
APIMethod[APIMethod["PATCH"] = 5] = "PATCH";
|
|
11
|
+
})(APIMethod || (exports.APIMethod = APIMethod = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationAlertType = void 0;
|
|
4
|
+
var ApplicationAlertType;
|
|
5
|
+
(function (ApplicationAlertType) {
|
|
6
|
+
ApplicationAlertType["CRON_TASK"] = "CRON_TASK";
|
|
7
|
+
ApplicationAlertType["LOG"] = "LOG";
|
|
8
|
+
ApplicationAlertType["STATS"] = "STATS";
|
|
9
|
+
})(ApplicationAlertType || (exports.ApplicationAlertType = ApplicationAlertType = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationSentinelType = void 0;
|
|
4
|
+
var ApplicationSentinelType;
|
|
5
|
+
(function (ApplicationSentinelType) {
|
|
6
|
+
ApplicationSentinelType["PING"] = "PING";
|
|
7
|
+
ApplicationSentinelType["HTTP"] = "HTTP";
|
|
8
|
+
ApplicationSentinelType["TCP"] = "TCP";
|
|
9
|
+
})(ApplicationSentinelType || (exports.ApplicationSentinelType = ApplicationSentinelType = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationStatsType = void 0;
|
|
4
|
+
var ApplicationStatsType;
|
|
5
|
+
(function (ApplicationStatsType) {
|
|
6
|
+
ApplicationStatsType[ApplicationStatsType["CPU_USAGE"] = 10] = "CPU_USAGE";
|
|
7
|
+
ApplicationStatsType[ApplicationStatsType["RAM_USAGE"] = 20] = "RAM_USAGE";
|
|
8
|
+
ApplicationStatsType[ApplicationStatsType["DISK_USAGE"] = 30] = "DISK_USAGE";
|
|
9
|
+
})(ApplicationStatsType || (exports.ApplicationStatsType = ApplicationStatsType = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationWebhookScope = void 0;
|
|
4
|
+
var ApplicationWebhookScope;
|
|
5
|
+
(function (ApplicationWebhookScope) {
|
|
6
|
+
ApplicationWebhookScope["EVENT"] = "EVENT";
|
|
7
|
+
ApplicationWebhookScope["SENTINEL"] = "SENTINEL";
|
|
8
|
+
})(ApplicationWebhookScope || (exports.ApplicationWebhookScope = ApplicationWebhookScope = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './api-error.enum';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./api-error.enum"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogLevel = void 0;
|
|
4
|
+
var LogLevel;
|
|
5
|
+
(function (LogLevel) {
|
|
6
|
+
LogLevel[LogLevel["ERROR"] = 1] = "ERROR";
|
|
7
|
+
LogLevel[LogLevel["WARN"] = 2] = "WARN";
|
|
8
|
+
LogLevel[LogLevel["INFO"] = 3] = "INFO";
|
|
9
|
+
LogLevel[LogLevel["LOG"] = 4] = "LOG";
|
|
10
|
+
})(LogLevel || (exports.LogLevel = LogLevel = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogScenario = void 0;
|
|
4
|
+
var LogScenario;
|
|
5
|
+
(function (LogScenario) {
|
|
6
|
+
LogScenario["API"] = "API";
|
|
7
|
+
LogScenario["SYSTEM_STARTUP"] = "SYSTEM_STARTUP";
|
|
8
|
+
LogScenario["OTHER"] = "OTHER";
|
|
9
|
+
})(LogScenario || (exports.LogScenario = LogScenario = {}));
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./interface"), exports);
|
|
18
|
+
__exportStar(require("./enum"), exports);
|
|
19
|
+
__exportStar(require("./dto"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './type-message/api-error';
|
|
2
|
+
export * from './type-message/response';
|
|
3
|
+
export * from './type-message/base-order';
|
|
4
|
+
export * from './type-message/base-paginate';
|
|
5
|
+
export * from './requests/domain-verification.request';
|
|
6
|
+
export * from './requests/domain-verification.admin.request';
|
|
7
|
+
export * from './requests/workflow.request';
|
|
8
|
+
export * from './requests/workflow.admin.request';
|
|
9
|
+
export * from './responses/monitor.response';
|
|
10
|
+
export * from './responses/domain-verification.response';
|
|
11
|
+
export * from './responses/domain-verification.admin.response';
|
|
12
|
+
export * from './responses/workflow.response';
|
|
13
|
+
export * from './responses/workflow.admin.response';
|
|
@@ -0,0 +1,29 @@
|
|
|
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("./type-message/api-error"), exports);
|
|
18
|
+
__exportStar(require("./type-message/response"), exports);
|
|
19
|
+
__exportStar(require("./type-message/base-order"), exports);
|
|
20
|
+
__exportStar(require("./type-message/base-paginate"), exports);
|
|
21
|
+
__exportStar(require("./requests/domain-verification.request"), exports);
|
|
22
|
+
__exportStar(require("./requests/domain-verification.admin.request"), exports);
|
|
23
|
+
__exportStar(require("./requests/workflow.request"), exports);
|
|
24
|
+
__exportStar(require("./requests/workflow.admin.request"), exports);
|
|
25
|
+
__exportStar(require("./responses/monitor.response"), exports);
|
|
26
|
+
__exportStar(require("./responses/domain-verification.response"), exports);
|
|
27
|
+
__exportStar(require("./responses/domain-verification.admin.response"), exports);
|
|
28
|
+
__exportStar(require("./responses/workflow.response"), exports);
|
|
29
|
+
__exportStar(require("./responses/workflow.admin.response"), exports);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IGetApplicationCronTaskAdminParams {
|
|
3
|
+
applicationCronTaskId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IGetHistoryApplicationCronTaskAdminParams {
|
|
6
|
+
applicationCronTaskHistoryId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ICreateApplicationCronTaskAdminParams {
|
|
9
|
+
applicationId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICreateApplicationCronTaskAdminBody {
|
|
12
|
+
name: string;
|
|
13
|
+
webhookUrl: string;
|
|
14
|
+
scheduleConfiguration: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
isActivated?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export type IPaginateApplicationCronTaskAdminQuery = {
|
|
19
|
+
name?: string[];
|
|
20
|
+
description?: string[];
|
|
21
|
+
webhookUrl?: string[];
|
|
22
|
+
isActivated?: boolean;
|
|
23
|
+
applicationId?: string[];
|
|
24
|
+
} & QueryPaginate;
|
|
25
|
+
export interface IUpdateApplicationCronTaskAdminParams {
|
|
26
|
+
applicationCronTaskId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface IUpdateApplicationCronTaskAdminBody {
|
|
29
|
+
name?: string;
|
|
30
|
+
webhookUrl?: string;
|
|
31
|
+
scheduleConfiguration?: string;
|
|
32
|
+
description?: string | null;
|
|
33
|
+
isActivated?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export type IPaginateHistoryApplicationCronTaskAdminQuery = {
|
|
36
|
+
startDateMin?: Date;
|
|
37
|
+
startDateMax?: Date;
|
|
38
|
+
requestId?: string[];
|
|
39
|
+
applicationId?: string[];
|
|
40
|
+
applicationCronTaskId?: string[];
|
|
41
|
+
} & QueryPaginate;
|
|
42
|
+
export interface IDeleteApplicationCronTaskAdminParams {
|
|
43
|
+
applicationCronTaskId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IRegenerateSecretApplicationCronTaskAdminParams {
|
|
46
|
+
applicationCronTaskId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface ITriggerApplicationCronTaskAdminParams {
|
|
49
|
+
applicationCronTaskId: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IGetApplicationCronTaskParams {
|
|
3
|
+
applicationId: string;
|
|
4
|
+
applicationCronTaskId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IGetHistoryApplicationCronTaskParams {
|
|
7
|
+
applicationId: string;
|
|
8
|
+
applicationCronTaskId: string;
|
|
9
|
+
applicationCronTaskHistoryId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICreateApplicationCronTaskParams {
|
|
12
|
+
applicationId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ICreateApplicationCronTaskBody {
|
|
15
|
+
name: string;
|
|
16
|
+
webhookUrl: string;
|
|
17
|
+
scheduleConfiguration: string;
|
|
18
|
+
description?: string | null;
|
|
19
|
+
isActivated?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface IPaginateApplicationCronTaskParams {
|
|
22
|
+
applicationId: string;
|
|
23
|
+
}
|
|
24
|
+
export type IPaginateApplicationCronTaskQuery = {
|
|
25
|
+
name?: string[];
|
|
26
|
+
description?: string[];
|
|
27
|
+
webhookUrl?: string[];
|
|
28
|
+
isActivated?: boolean;
|
|
29
|
+
} & QueryPaginate;
|
|
30
|
+
export interface IUpdateApplicationCronTaskParams {
|
|
31
|
+
applicationId: string;
|
|
32
|
+
applicationCronTaskId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IUpdateApplicationCronTaskBody {
|
|
35
|
+
name?: string;
|
|
36
|
+
webhookUrl?: string;
|
|
37
|
+
scheduleConfiguration?: string;
|
|
38
|
+
description?: string | null;
|
|
39
|
+
isActivated?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface IPaginateHistoryApplicationCronTaskParams {
|
|
42
|
+
applicationId: string;
|
|
43
|
+
applicationCronTaskId: string;
|
|
44
|
+
}
|
|
45
|
+
export type IPaginateHistoryApplicationCronTaskQuery = {
|
|
46
|
+
startDateMin?: Date;
|
|
47
|
+
startDateMax?: Date;
|
|
48
|
+
requestId?: string[];
|
|
49
|
+
} & QueryPaginate;
|
|
50
|
+
export interface IDeleteApplicationCronTaskParams {
|
|
51
|
+
applicationId: string;
|
|
52
|
+
applicationCronTaskId: string;
|
|
53
|
+
}
|
|
54
|
+
export interface IRegenerateSecretApplicationCronTaskParams {
|
|
55
|
+
applicationId: string;
|
|
56
|
+
applicationCronTaskId: string;
|
|
57
|
+
}
|
|
58
|
+
export interface ITriggerApplicationCronTaskParams {
|
|
59
|
+
applicationId: string;
|
|
60
|
+
applicationCronTaskId: string;
|
|
61
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { LogLevel } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationEventAdminParams {
|
|
4
|
+
applicationEventId: string;
|
|
5
|
+
}
|
|
6
|
+
export type IPaginateApplicationEventAdminQuery = {
|
|
7
|
+
event?: string[];
|
|
8
|
+
eventContains?: string;
|
|
9
|
+
eventStartsWith?: string;
|
|
10
|
+
level?: LogLevel[];
|
|
11
|
+
messageContains?: string;
|
|
12
|
+
applicationId?: string[];
|
|
13
|
+
} & QueryPaginate;
|
|
14
|
+
export interface IDeleteApplicationEventAdminParams {
|
|
15
|
+
applicationEventId: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { LogLevel } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationEventParams {
|
|
4
|
+
applicationId: string;
|
|
5
|
+
applicationEventId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ICreateApplicationEventParams {
|
|
8
|
+
applicationId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ICreateApplicationEventBody {
|
|
11
|
+
event: string;
|
|
12
|
+
level: LogLevel;
|
|
13
|
+
data?: Record<string, unknown> | null;
|
|
14
|
+
message?: string | null;
|
|
15
|
+
}
|
|
16
|
+
export interface IPaginateApplicationEventParams {
|
|
17
|
+
applicationId: string;
|
|
18
|
+
}
|
|
19
|
+
export type IPaginateApplicationEventQuery = {
|
|
20
|
+
event?: string[];
|
|
21
|
+
eventContains?: string;
|
|
22
|
+
eventStartsWith?: string;
|
|
23
|
+
level?: LogLevel[];
|
|
24
|
+
messageContains?: string;
|
|
25
|
+
} & QueryPaginate;
|
|
26
|
+
export interface IDeleteApplicationEventParams {
|
|
27
|
+
applicationId: string;
|
|
28
|
+
applicationEventId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface IGetTotalCountApplicationEventParams {
|
|
31
|
+
applicationId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IGetTotalCountApplicationEventQuery {
|
|
34
|
+
dateValueBefore?: Date;
|
|
35
|
+
dateValueAfter?: Date;
|
|
36
|
+
}
|
|
37
|
+
export interface IGetCountPerDayApplicationEventParams {
|
|
38
|
+
applicationId: string;
|
|
39
|
+
}
|
|
40
|
+
export interface IGetCountPerDayApplicationEventQuery {
|
|
41
|
+
dateValueBefore?: Date;
|
|
42
|
+
dateValueAfter?: Date;
|
|
43
|
+
}
|
|
44
|
+
export interface IGetMetricsApplicationEventParams {
|
|
45
|
+
applicationId: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IGetMetricsApplicationEventQuery {
|
|
48
|
+
dateValueBefore?: Date;
|
|
49
|
+
dateValueAfter?: Date;
|
|
50
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { LogLevel } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationLogAdminParams {
|
|
4
|
+
applicationLogId: string;
|
|
5
|
+
}
|
|
6
|
+
export type IPaginateApplicationLogAdminQuery = QueryPaginate & {
|
|
7
|
+
title?: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
level?: LogLevel[];
|
|
10
|
+
context?: string;
|
|
11
|
+
scenario?: string;
|
|
12
|
+
requestId?: string;
|
|
13
|
+
processId?: string;
|
|
14
|
+
dateValueBefore?: Date;
|
|
15
|
+
dateValueAfter?: Date;
|
|
16
|
+
applicationId?: string[];
|
|
17
|
+
orderByDateAsc?: boolean;
|
|
18
|
+
shouldGetOnlyLogEndpoint?: boolean;
|
|
19
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { APIMethod, LogLevel } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationLogParams {
|
|
4
|
+
applicationId: string;
|
|
5
|
+
applicationLogId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IPaginateApplicationLogParams {
|
|
8
|
+
applicationId: string;
|
|
9
|
+
}
|
|
10
|
+
export type IPaginateApplicationLogQuery = QueryPaginate & {
|
|
11
|
+
title?: string;
|
|
12
|
+
message?: string;
|
|
13
|
+
level?: LogLevel[];
|
|
14
|
+
context?: string;
|
|
15
|
+
scenario?: string;
|
|
16
|
+
requestId?: string;
|
|
17
|
+
processId?: string;
|
|
18
|
+
dateValueBefore?: Date;
|
|
19
|
+
dateValueAfter?: Date;
|
|
20
|
+
orderByDateAsc?: boolean;
|
|
21
|
+
shouldGetOnlyLogEndpoint?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export interface ICreateApplicationLogParams {
|
|
24
|
+
applicationId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ICreateApplicationLogQuery {
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ICreateApplicationLogBody {
|
|
30
|
+
title?: string | null;
|
|
31
|
+
message: string;
|
|
32
|
+
level: LogLevel;
|
|
33
|
+
context?: string | null;
|
|
34
|
+
processId: string;
|
|
35
|
+
requestId?: string | null;
|
|
36
|
+
scenario?: string | null;
|
|
37
|
+
dateValue: Date;
|
|
38
|
+
data?: Record<string, unknown> | null;
|
|
39
|
+
stack?: string | null;
|
|
40
|
+
applicationLogEndpoint?: {
|
|
41
|
+
authentication?: string | null;
|
|
42
|
+
controller: string;
|
|
43
|
+
endpoint: string;
|
|
44
|
+
ip: string[];
|
|
45
|
+
method: APIMethod;
|
|
46
|
+
responseTime: number;
|
|
47
|
+
responseHttpCode: number;
|
|
48
|
+
requestParams?: Record<string, string> | null;
|
|
49
|
+
requestQuery?: Record<string, string | string[]> | null;
|
|
50
|
+
requestBody?: Record<string, unknown> | string | null;
|
|
51
|
+
responseBody?: Record<string, unknown> | string | null;
|
|
52
|
+
};
|
|
53
|
+
applicationEvent?: {
|
|
54
|
+
event: string;
|
|
55
|
+
level: LogLevel;
|
|
56
|
+
message?: string | null;
|
|
57
|
+
data?: Record<string, unknown> | null;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
import { ApplicationSentinelConfigurationDto } from '../../dto';
|
|
3
|
+
export interface IGetApplicationSentinelAdminParams {
|
|
4
|
+
applicationSentinelId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IGetHistoryApplicationSentinelAdminParams {
|
|
7
|
+
applicationSentinelHistoryId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ICreateApplicationSentinelAdminParams {
|
|
10
|
+
applicationId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ICreateApplicationSentinelAdminBody {
|
|
13
|
+
name: string;
|
|
14
|
+
scheduleConfiguration: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
isActivated: boolean;
|
|
17
|
+
alertOnFailure: boolean;
|
|
18
|
+
webhookMetadata: Record<string, string>;
|
|
19
|
+
configuration: ApplicationSentinelConfigurationDto;
|
|
20
|
+
}
|
|
21
|
+
export type IPaginateApplicationSentinelAdminQuery = {
|
|
22
|
+
name?: string[];
|
|
23
|
+
description?: string[];
|
|
24
|
+
webhookUrl?: string[];
|
|
25
|
+
isActivated?: boolean;
|
|
26
|
+
applicationId?: string[];
|
|
27
|
+
} & QueryPaginate;
|
|
28
|
+
export interface IUpdateApplicationSentinelAdminParams {
|
|
29
|
+
applicationSentinelId: string;
|
|
30
|
+
}
|
|
31
|
+
export interface IUpdateApplicationSentinelAdminBody {
|
|
32
|
+
name?: string;
|
|
33
|
+
scheduleConfiguration?: string;
|
|
34
|
+
description?: string | null;
|
|
35
|
+
isActivated?: boolean;
|
|
36
|
+
alertOnFailure?: boolean;
|
|
37
|
+
webhookMetadata?: Record<string, string>;
|
|
38
|
+
configuration?: ApplicationSentinelConfigurationDto;
|
|
39
|
+
}
|
|
40
|
+
export type IPaginateHistoryApplicationSentinelAdminQuery = {
|
|
41
|
+
startDateMin?: Date;
|
|
42
|
+
startDateMax?: Date;
|
|
43
|
+
requestId?: string[];
|
|
44
|
+
applicationId?: string[];
|
|
45
|
+
applicationSentinelId?: string[];
|
|
46
|
+
} & QueryPaginate;
|
|
47
|
+
export interface IDeleteApplicationSentinelAdminParams {
|
|
48
|
+
applicationSentinelId: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ITriggerApplicationSentinelAdminParams {
|
|
51
|
+
applicationSentinelId: string;
|
|
52
|
+
}
|