@abyss-project/console 1.0.5 → 1.0.7
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/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +3 -0
- package/dist/api/secret-access.api.d.ts +9 -0
- package/dist/api/secret-access.api.js +44 -0
- package/dist/api/secret-public.api.d.ts +2 -0
- package/dist/api/secret-public.api.js +9 -0
- package/dist/api/secret.api.d.ts +11 -0
- package/dist/api/secret.api.js +54 -0
- package/dist/api/workflow.admin.api.d.ts +2 -2
- package/dist/api/workflow.admin.api.js +5 -5
- package/dist/index.d.ts +35 -2
- package/dist/index.js +36 -4
- package/dist/types/dto/workflow.dto.d.ts +0 -1
- package/dist/types/interface/api/index.d.ts +6 -0
- package/dist/types/interface/api/index.js +6 -0
- package/dist/types/interface/api/requests/secret-access.request.d.ts +48 -0
- package/dist/types/interface/api/requests/secret-public.request.d.ts +3 -0
- package/dist/types/interface/api/requests/secret.request.d.ts +57 -0
- package/dist/types/interface/api/responses/secret-access.response.d.ts +25 -0
- package/dist/types/interface/api/responses/secret-public.response.d.ts +5 -0
- package/dist/types/interface/api/responses/secret.response.d.ts +39 -0
- package/dist/types/interface/api/responses/workflow-webhook.public.response.d.ts +4 -2
- package/dist/types/interface/index.d.ts +6 -0
- package/dist/types/interface/index.js +6 -0
- package/dist/types/interface/models/secret-access-ip-address.model.d.ts +12 -0
- package/dist/types/interface/models/secret-access-log.model.d.ts +14 -0
- package/dist/types/interface/models/secret-access-secret.model.d.ts +11 -0
- package/dist/types/interface/models/secret-access.model.d.ts +19 -0
- package/dist/types/interface/models/secret-version.model.d.ts +11 -0
- package/dist/types/interface/models/secret.model.d.ts +15 -0
- package/dist/utils/cidr.util.d.ts +3 -0
- package/dist/utils/cidr.util.js +22 -0
- package/dist/utils/webhook-trigger.utils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/api/application-cron-task.admin.api.d.ts +0 -10
- package/dist/api/application-cron-task.admin.api.js +0 -40
- package/dist/api/application-cron-task.api.d.ts +0 -10
- package/dist/api/application-cron-task.api.js +0 -40
- package/dist/api/application-event.admin.api.d.ts +0 -4
- package/dist/api/application-event.admin.api.js +0 -16
- package/dist/api/application-event.api.d.ts +0 -8
- package/dist/api/application-event.api.js +0 -32
- package/dist/api/application-log.admin.api.d.ts +0 -3
- package/dist/api/application-log.admin.api.js +0 -12
- package/dist/api/application-log.api.d.ts +0 -4
- package/dist/api/application-log.api.js +0 -16
- package/dist/api/application-sentinel.admin.api.d.ts +0 -9
- package/dist/api/application-sentinel.admin.api.js +0 -36
- package/dist/api/application-sentinel.api.d.ts +0 -10
- package/dist/api/application-sentinel.api.js +0 -40
- package/dist/api/application-stats.admin.api.d.ts +0 -3
- package/dist/api/application-stats.admin.api.js +0 -12
- package/dist/api/application-stats.api.d.ts +0 -4
- package/dist/api/application-stats.api.js +0 -16
- package/dist/api/application-webhook-history.admin.api.d.ts +0 -3
- package/dist/api/application-webhook-history.admin.api.js +0 -12
- package/dist/api/application-webhook-history.api.d.ts +0 -3
- package/dist/api/application-webhook-history.api.js +0 -12
- package/dist/api/application-webhook.admin.api.d.ts +0 -7
- package/dist/api/application-webhook.admin.api.js +0 -28
- package/dist/api/application-webhook.api.d.ts +0 -7
- package/dist/api/application-webhook.api.js +0 -28
- package/dist/api/application.admin.api.d.ts +0 -7
- package/dist/api/application.admin.api.js +0 -28
- package/dist/api/application.api.d.ts +0 -10
- package/dist/api/application.api.js +0 -40
- package/dist/api/hourly-metrics.api.d.ts +0 -2
- package/dist/api/hourly-metrics.api.js +0 -8
- package/dist/api/infrastructure.admin.api.d.ts +0 -3
- package/dist/api/infrastructure.admin.api.js +0 -12
- package/dist/api/metrics.api.d.ts +0 -4
- package/dist/api/metrics.api.js +0 -16
- package/dist/api/report.admin.api.d.ts +0 -2
- package/dist/api/report.admin.api.js +0 -9
- package/dist/frameworks/express/decorators.d.ts +0 -52
- package/dist/frameworks/express/decorators.js +0 -163
- package/dist/frameworks/express/index.d.ts +0 -17
- package/dist/frameworks/express/index.js +0 -173
- package/dist/frameworks/express/metadata.d.ts +0 -9
- package/dist/frameworks/express/metadata.js +0 -12
- package/dist/frameworks/index.d.ts +0 -1
- package/dist/frameworks/index.js +0 -17
- package/dist/middlewares/context.middleware.d.ts +0 -12
- package/dist/middlewares/context.middleware.js +0 -39
- package/dist/middlewares/index.d.ts +0 -3
- package/dist/middlewares/index.js +0 -19
- package/dist/middlewares/logger-endpoint.middleware.d.ts +0 -5
- package/dist/middlewares/logger-endpoint.middleware.js +0 -86
- package/dist/middlewares/logger-setup.middleware.d.ts +0 -5
- package/dist/middlewares/logger-setup.middleware.js +0 -16
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -17
- package/dist/models/logger.model.d.ts +0 -61
- package/dist/models/logger.model.js +0 -201
- package/dist/models/stats-publisher.model.d.ts +0 -20
- package/dist/models/stats-publisher.model.js +0 -113
- package/dist/types/constants/webhook-trigger.constants.d.ts +0 -0
- package/dist/types/constants/webhook-trigger.constants.js +0 -1
- package/dist/types/enum/api-method.enum.d.ts +0 -7
- package/dist/types/enum/api-method.enum.js +0 -11
- package/dist/types/enum/application-alert-type.enum.d.ts +0 -5
- package/dist/types/enum/application-alert-type.enum.js +0 -9
- package/dist/types/enum/application-sentinel-type.enum.d.ts +0 -5
- package/dist/types/enum/application-sentinel-type.enum.js +0 -9
- package/dist/types/enum/application-stats-type.enum.d.ts +0 -5
- package/dist/types/enum/application-stats-type.enum.js +0 -9
- package/dist/types/enum/application-webhook-scope.enum.d.ts +0 -4
- package/dist/types/enum/application-webhook-scope.enum.js +0 -8
- package/dist/types/enum/log-level.enum.d.ts +0 -6
- package/dist/types/enum/log-level.enum.js +0 -10
- package/dist/types/enum/log-scenario.enum.d.ts +0 -5
- package/dist/types/enum/log-scenario.enum.js +0 -9
- package/dist/types/enum/time-period.enum.d.ts +0 -0
- package/dist/types/enum/time-period.enum.js +0 -1
- package/dist/types/interface/api/requests/application-cron-task.admin.request.d.ts +0 -50
- package/dist/types/interface/api/requests/application-cron-task.request.d.ts +0 -61
- package/dist/types/interface/api/requests/application-event.admin.request.d.ts +0 -16
- package/dist/types/interface/api/requests/application-event.request.d.ts +0 -50
- package/dist/types/interface/api/requests/application-log.admin.request.d.ts +0 -19
- package/dist/types/interface/api/requests/application-log.request.d.ts +0 -59
- package/dist/types/interface/api/requests/application-sentinel.admin.request.d.ts +0 -52
- package/dist/types/interface/api/requests/application-sentinel.request.d.ts +0 -71
- package/dist/types/interface/api/requests/application-stats.admin.request.d.ts +0 -13
- package/dist/types/interface/api/requests/application-stats.request.d.ts +0 -31
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +0 -16
- package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +0 -21
- package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +0 -39
- package/dist/types/interface/api/requests/application-webhook.admin.request.js +0 -2
- package/dist/types/interface/api/requests/application-webhook.request.d.ts +0 -45
- package/dist/types/interface/api/requests/application-webhook.request.js +0 -2
- package/dist/types/interface/api/requests/application.admin.request.d.ts +0 -23
- package/dist/types/interface/api/requests/application.admin.request.js +0 -2
- package/dist/types/interface/api/requests/application.request.d.ts +0 -64
- package/dist/types/interface/api/requests/application.request.js +0 -2
- package/dist/types/interface/api/requests/hourly-metrics.request.d.ts +0 -10
- package/dist/types/interface/api/requests/hourly-metrics.request.js +0 -2
- package/dist/types/interface/api/requests/infrastructure.admin.request.d.ts +0 -4
- package/dist/types/interface/api/requests/infrastructure.admin.request.js +0 -2
- package/dist/types/interface/api/requests/metrics.admin.request.d.ts +0 -14
- package/dist/types/interface/api/requests/metrics.admin.request.js +0 -2
- package/dist/types/interface/api/requests/metrics.request.d.ts +0 -23
- package/dist/types/interface/api/requests/metrics.request.js +0 -2
- package/dist/types/interface/api/requests/report.admin.request.d.ts +0 -6
- package/dist/types/interface/api/requests/report.admin.request.js +0 -2
- package/dist/types/interface/api/requests/webhook-public.request.d.ts +0 -0
- package/dist/types/interface/api/requests/webhook-public.request.js +0 -1
- package/dist/types/interface/api/requests/workflow-webhook-trigger.request.d.ts +0 -66
- package/dist/types/interface/api/requests/workflow-webhook-trigger.request.js +0 -2
- package/dist/types/interface/api/requests/workflow-webhook.request.d.ts +0 -123
- package/dist/types/interface/api/requests/workflow-webhook.request.js +0 -2
- package/dist/types/interface/api/responses/application-cron-task.admin.response.d.ts +0 -30
- package/dist/types/interface/api/responses/application-cron-task.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application-cron-task.response.d.ts +0 -30
- package/dist/types/interface/api/responses/application-cron-task.response.js +0 -2
- package/dist/types/interface/api/responses/application-event.admin.response.d.ts +0 -9
- package/dist/types/interface/api/responses/application-event.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application-event.response.d.ts +0 -33
- package/dist/types/interface/api/responses/application-event.response.js +0 -2
- package/dist/types/interface/api/responses/application-log.admin.response.d.ts +0 -10
- package/dist/types/interface/api/responses/application-log.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application-log.response.d.ts +0 -10
- package/dist/types/interface/api/responses/application-log.response.js +0 -2
- package/dist/types/interface/api/responses/application-sentinel.admin.response.d.ts +0 -26
- package/dist/types/interface/api/responses/application-sentinel.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application-sentinel.response.d.ts +0 -33
- package/dist/types/interface/api/responses/application-sentinel.response.js +0 -2
- package/dist/types/interface/api/responses/application-stats.admin.response.d.ts +0 -6
- package/dist/types/interface/api/responses/application-stats.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application-stats.response.d.ts +0 -10
- package/dist/types/interface/api/responses/application-stats.response.js +0 -2
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.d.ts +0 -7
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application-webhook-history.response.d.ts +0 -7
- package/dist/types/interface/api/responses/application-webhook-history.response.js +0 -2
- package/dist/types/interface/api/responses/application-webhook.admin.response.d.ts +0 -21
- package/dist/types/interface/api/responses/application-webhook.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application-webhook.response.d.ts +0 -21
- package/dist/types/interface/api/responses/application-webhook.response.js +0 -2
- package/dist/types/interface/api/responses/application.admin.response.d.ts +0 -34
- package/dist/types/interface/api/responses/application.admin.response.js +0 -2
- package/dist/types/interface/api/responses/application.response.d.ts +0 -130
- package/dist/types/interface/api/responses/application.response.js +0 -2
- package/dist/types/interface/api/responses/hourly-metrics.response.d.ts +0 -70
- package/dist/types/interface/api/responses/hourly-metrics.response.js +0 -2
- package/dist/types/interface/api/responses/infrastructure.admin.response.d.ts +0 -18
- package/dist/types/interface/api/responses/infrastructure.admin.response.js +0 -2
- package/dist/types/interface/api/responses/metrics.admin.response.d.ts +0 -19
- package/dist/types/interface/api/responses/metrics.admin.response.js +0 -2
- package/dist/types/interface/api/responses/metrics.response.d.ts +0 -29
- package/dist/types/interface/api/responses/metrics.response.js +0 -2
- package/dist/types/interface/api/responses/report.admin.response.d.ts +0 -87
- package/dist/types/interface/api/responses/report.admin.response.js +0 -2
- package/dist/types/interface/api/responses/webhook-public.response.d.ts +0 -0
- package/dist/types/interface/api/responses/webhook-public.response.js +0 -1
- package/dist/types/interface/api/responses/workflow-webhook-action.response.d.ts +0 -24
- package/dist/types/interface/api/responses/workflow-webhook-action.response.js +0 -2
- package/dist/types/interface/api/responses/workflow-webhook-public.response.d.ts +0 -7
- package/dist/types/interface/api/responses/workflow-webhook-public.response.js +0 -2
- package/dist/types/interface/api/responses/workflow-webhook-trigger.response.d.ts +0 -41
- package/dist/types/interface/api/responses/workflow-webhook-trigger.response.js +0 -2
- package/dist/types/interface/api/responses/workflow-webhook.response.d.ts +0 -56
- package/dist/types/interface/api/responses/workflow-webhook.response.js +0 -2
- package/dist/types/interface/dto/application-sentinel-configuration.dto.d.ts +0 -68
- package/dist/types/interface/dto/application-sentinel-configuration.dto.js +0 -4
- package/dist/types/interface/dto/index.d.ts +0 -2
- package/dist/types/interface/dto/index.js +0 -18
- package/dist/types/interface/dto/webhook.dto.d.ts +0 -27
- package/dist/types/interface/dto/webhook.dto.js +0 -2
- package/dist/types/interface/models/application-cron-task-history.model.d.ts +0 -17
- package/dist/types/interface/models/application-cron-task-history.model.js +0 -2
- package/dist/types/interface/models/application-cron-task.model.d.ts +0 -14
- package/dist/types/interface/models/application-cron-task.model.js +0 -2
- package/dist/types/interface/models/application-event.model.d.ts +0 -19
- package/dist/types/interface/models/application-event.model.js +0 -2
- package/dist/types/interface/models/application-hourly-metrics.model.d.ts +0 -14
- package/dist/types/interface/models/application-hourly-metrics.model.js +0 -2
- package/dist/types/interface/models/application-lifetime-metrics.model.d.ts +0 -8
- package/dist/types/interface/models/application-lifetime-metrics.model.js +0 -2
- package/dist/types/interface/models/application-log-endpoint.model.d.ts +0 -20
- package/dist/types/interface/models/application-log-endpoint.model.js +0 -2
- package/dist/types/interface/models/application-log.model.d.ts +0 -23
- package/dist/types/interface/models/application-log.model.js +0 -2
- package/dist/types/interface/models/application-sentinel-history.model.d.ts +0 -16
- package/dist/types/interface/models/application-sentinel-history.model.js +0 -2
- package/dist/types/interface/models/application-sentinel.model.d.ts +0 -20
- package/dist/types/interface/models/application-sentinel.model.js +0 -2
- package/dist/types/interface/models/application-stats.model.d.ts +0 -14
- package/dist/types/interface/models/application-stats.model.js +0 -2
- package/dist/types/interface/models/application-webhook-history.model.d.ts +0 -22
- package/dist/types/interface/models/application-webhook-history.model.js +0 -2
- package/dist/types/interface/models/application-webhook.model.d.ts +0 -32
- package/dist/types/interface/models/application-webhook.model.js +0 -3
- package/dist/types/interface/models/application.model.d.ts +0 -19
- package/dist/types/interface/models/application.model.js +0 -2
- package/dist/types/interface/models/ip-whitelist.model.d.ts +0 -19
- package/dist/types/interface/models/ip-whitelist.model.js +0 -9
- package/dist/types/interface/models/partition-optimization-history.model.d.ts +0 -11
- package/dist/types/interface/models/partition-optimization-history.model.js +0 -2
- package/dist/types/interface/models/trigger-filter.model.d.ts +0 -0
- package/dist/types/interface/models/trigger-filter.model.js +0 -1
- package/dist/types/interface/models/webhook-action-log.model.d.ts +0 -22
- package/dist/types/interface/models/webhook-action-log.model.js +0 -9
- package/dist/types/interface/models/webhook-trigger-log.model.d.ts +0 -23
- package/dist/types/interface/models/webhook-trigger-log.model.js +0 -9
- package/dist/types/interface/models/workflow-execution-step.model.d.ts +0 -59
- package/dist/types/interface/models/workflow-execution-step.model.js +0 -12
- package/dist/types/interface/models/workflow-step-config.model.d.ts +0 -0
- package/dist/types/interface/models/workflow-step-config.model.js +0 -1
- package/dist/types/interface/models/workflow-step-data.model.d.ts +0 -0
- package/dist/types/interface/models/workflow-step-data.model.js +0 -1
- package/dist/types/interface/models/workflow-trigger-config.model.d.ts +0 -0
- package/dist/types/interface/models/workflow-trigger-config.model.js +0 -1
- package/dist/types/interface/models/workflow-webhook-action.model.d.ts +0 -27
- package/dist/types/interface/models/workflow-webhook-action.model.js +0 -2
- package/dist/types/interface/models/workflow-webhook-incoming-log.model.d.ts +0 -19
- package/dist/types/interface/models/workflow-webhook-incoming-log.model.js +0 -2
- package/dist/types/interface/models/workflow-webhook-outgoing-log.model.d.ts +0 -21
- package/dist/types/interface/models/workflow-webhook-outgoing-log.model.js +0 -2
- package/dist/types/interface/models/workflow-webhook-trigger-allowed-ip.model.d.ts +0 -10
- package/dist/types/interface/models/workflow-webhook-trigger-allowed-ip.model.js +0 -2
- package/dist/types/interface/models/workflow-webhook-trigger.model.d.ts +0 -20
- package/dist/types/interface/models/workflow-webhook-trigger.model.js +0 -2
- package/dist/typing-examples.d.ts +0 -1
- package/dist/typing-examples.js +0 -48
- package/dist/utils/__tests__/ip-address-reference.utils.test.d.ts +0 -0
- package/dist/utils/__tests__/ip-address-reference.utils.test.js +0 -1
- package/dist/utils/__tests__/reference-resolver.examples.d.ts +0 -0
- package/dist/utils/__tests__/reference-resolver.examples.js +0 -1
- package/dist/utils/alert.utils.d.ts +0 -35
- package/dist/utils/alert.utils.js +0 -138
- package/dist/utils/discord-webhook-log-formatter.utils.d.ts +0 -48
- package/dist/utils/discord-webhook-log-formatter.utils.js +0 -332
- package/dist/utils/import.utils.d.ts +0 -1
- package/dist/utils/import.utils.js +0 -7
- package/dist/utils/ip-address-reference.utils.d.ts +0 -0
- package/dist/utils/ip-address-reference.utils.js +0 -1
- package/dist/utils/json.utils.d.ts +0 -1
- package/dist/utils/json.utils.js +0 -13
- package/dist/utils/non-blocking-promise.utils.d.ts +0 -2
- package/dist/utils/non-blocking-promise.utils.js +0 -11
- /package/dist/types/interface/api/requests/{application-cron-task.admin.request.js → secret-access.request.js} +0 -0
- /package/dist/types/interface/api/requests/{application-cron-task.request.js → secret-public.request.js} +0 -0
- /package/dist/types/interface/api/requests/{application-event.admin.request.js → secret.request.js} +0 -0
- /package/dist/types/interface/api/{requests/application-event.request.js → responses/secret-access.response.js} +0 -0
- /package/dist/types/interface/api/{requests/application-log.admin.request.js → responses/secret-public.response.js} +0 -0
- /package/dist/types/interface/api/{requests/application-log.request.js → responses/secret.response.js} +0 -0
- /package/dist/types/interface/{api/requests/application-sentinel.admin.request.js → models/secret-access-ip-address.model.js} +0 -0
- /package/dist/types/interface/{api/requests/application-sentinel.request.js → models/secret-access-log.model.js} +0 -0
- /package/dist/types/interface/{api/requests/application-stats.admin.request.js → models/secret-access-secret.model.js} +0 -0
- /package/dist/types/interface/{api/requests/application-stats.request.js → models/secret-access.model.js} +0 -0
- /package/dist/types/interface/{api/requests/application-webhook-history.admin.request.js → models/secret-version.model.js} +0 -0
- /package/dist/types/interface/{api/requests/application-webhook-history.request.js → models/secret.model.js} +0 -0
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ApplicationSentinelType } from '../../enum/application-sentinel-type.enum';
|
|
2
|
-
import { APIMethod } from '../../enum';
|
|
3
|
-
export declare const MAX_APPLICATION_SENTINEL_RETRY_COUNT = 5;
|
|
4
|
-
export type ApplicationSentinelConfigurationDto = ApplicationSentinelConfigurationPing | ApplicationSentinelConfigurationHttp | ApplicationSentinelConfigurationTcp;
|
|
5
|
-
export type ApplicationSentinelConfigurationPing = {
|
|
6
|
-
type: ApplicationSentinelType.PING;
|
|
7
|
-
host: string;
|
|
8
|
-
successPolicy: {
|
|
9
|
-
latency: {
|
|
10
|
-
min: number;
|
|
11
|
-
max: number;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type ApplicationSentinelConfigurationHttp = {
|
|
16
|
-
type: ApplicationSentinelType.HTTP;
|
|
17
|
-
url: string;
|
|
18
|
-
method: APIMethod;
|
|
19
|
-
sslVerification: {
|
|
20
|
-
enabled: boolean;
|
|
21
|
-
allowSelfSigned: boolean;
|
|
22
|
-
};
|
|
23
|
-
headers: Record<string, string>;
|
|
24
|
-
successPolicy: {
|
|
25
|
-
latency: {
|
|
26
|
-
min: number;
|
|
27
|
-
max: number;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export type ApplicationSentinelConfigurationTcp = {
|
|
32
|
-
type: ApplicationSentinelType.TCP;
|
|
33
|
-
host: string;
|
|
34
|
-
port: number;
|
|
35
|
-
successPolicy: {
|
|
36
|
-
latency: {
|
|
37
|
-
min: number;
|
|
38
|
-
max: number;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export type ApplicationSentinelResult = {
|
|
43
|
-
isSuccess: boolean;
|
|
44
|
-
latency: number;
|
|
45
|
-
retryCount: number;
|
|
46
|
-
metadata: Record<string, string> | null;
|
|
47
|
-
} & (ApplicationSentinelResultPing | ApplicationSentinelResultHttp | ApplicationSentinelResultTcp);
|
|
48
|
-
export type ApplicationSentinelResultPing = {
|
|
49
|
-
type: ApplicationSentinelType.PING;
|
|
50
|
-
host: string;
|
|
51
|
-
};
|
|
52
|
-
export type ApplicationSentinelResultHttp = {
|
|
53
|
-
type: ApplicationSentinelType.HTTP;
|
|
54
|
-
statusCode: number | null;
|
|
55
|
-
url: string;
|
|
56
|
-
method: APIMethod;
|
|
57
|
-
sslResult: ApplicationSentinelSslResult | null;
|
|
58
|
-
};
|
|
59
|
-
export type ApplicationSentinelResultTcp = {
|
|
60
|
-
type: ApplicationSentinelType.TCP;
|
|
61
|
-
host: string;
|
|
62
|
-
port: number;
|
|
63
|
-
};
|
|
64
|
-
export type ApplicationSentinelSslResult = {
|
|
65
|
-
isSelfSigned: boolean;
|
|
66
|
-
isExpired: boolean;
|
|
67
|
-
expiredAt: Date | null;
|
|
68
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./webhook.dto"), exports);
|
|
18
|
-
__exportStar(require("./application-sentinel-configuration.dto"), exports);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ApplicationWebhookScope, LogLevel } from '../../enum';
|
|
2
|
-
import { ApplicationSentinelResult } from './application-sentinel-configuration.dto';
|
|
3
|
-
export type WebhookDTO = {
|
|
4
|
-
id: string;
|
|
5
|
-
groupId: string;
|
|
6
|
-
webhookSecret: string;
|
|
7
|
-
applicationId: string;
|
|
8
|
-
} & (WebhookEventPayloadDTO | WebhookSentinelCheckPayloadDTO);
|
|
9
|
-
export type WebhookEventPayloadDTO = {
|
|
10
|
-
scope: ApplicationWebhookScope.EVENT;
|
|
11
|
-
payload: {
|
|
12
|
-
event: string;
|
|
13
|
-
applicationEventId: string;
|
|
14
|
-
level: LogLevel;
|
|
15
|
-
message: string | null;
|
|
16
|
-
data: Record<string, unknown> | null;
|
|
17
|
-
date: Date;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export type WebhookSentinelCheckPayloadDTO = {
|
|
21
|
-
scope: ApplicationWebhookScope.SENTINEL;
|
|
22
|
-
payload: {
|
|
23
|
-
applicationSentinelId: string;
|
|
24
|
-
applicationSentinelHistoryId: string;
|
|
25
|
-
result: ApplicationSentinelResult;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IApplicationCronTask } from './application-cron-task.model';
|
|
2
|
-
export interface IApplicationCronTaskHistory {
|
|
3
|
-
id?: string;
|
|
4
|
-
applicationCronTaskId: string;
|
|
5
|
-
startDate: Date;
|
|
6
|
-
requestId: string | null;
|
|
7
|
-
hasFailed: boolean | null;
|
|
8
|
-
responseStatusCode: number | null;
|
|
9
|
-
responseData: string | null;
|
|
10
|
-
responseHeaders: string | null;
|
|
11
|
-
responseTimeMs: number | null;
|
|
12
|
-
errorMessage: string | null;
|
|
13
|
-
retryCount: number | null;
|
|
14
|
-
updatedAt?: Date;
|
|
15
|
-
createdAt?: Date;
|
|
16
|
-
applicationCronTask?: IApplicationCronTask;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IApplication } from './application.model';
|
|
2
|
-
export interface IApplicationCronTask {
|
|
3
|
-
id?: string;
|
|
4
|
-
applicationId: string;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string | null;
|
|
7
|
-
scheduleConfiguration: string;
|
|
8
|
-
webhookUrl: string;
|
|
9
|
-
webhookSecret: string;
|
|
10
|
-
isActivated: boolean;
|
|
11
|
-
updatedAt?: Date;
|
|
12
|
-
createdAt?: Date;
|
|
13
|
-
application?: IApplication;
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { LogLevel } from '../../enum';
|
|
2
|
-
import { IApplicationLog } from './application-log.model';
|
|
3
|
-
import { IApplicationWebhookHistory } from './application-webhook-history.model';
|
|
4
|
-
import { IApplication } from './application.model';
|
|
5
|
-
export interface IApplicationEvent {
|
|
6
|
-
id?: string;
|
|
7
|
-
applicationId: string;
|
|
8
|
-
event: string;
|
|
9
|
-
message: string | null;
|
|
10
|
-
level: LogLevel;
|
|
11
|
-
data: Record<string, unknown> | null;
|
|
12
|
-
applicationLogId?: string | null;
|
|
13
|
-
updatedAt?: Date;
|
|
14
|
-
createdAt?: Date;
|
|
15
|
-
deletedAt?: Date | null;
|
|
16
|
-
application?: IApplication;
|
|
17
|
-
applicationLog?: IApplicationLog | null;
|
|
18
|
-
applicationWebhookHistory?: IApplicationWebhookHistory[];
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CoreLifetimeMetrics, ApplicationStatsMetrics, MetricsBreakdowns } from '../api/responses/report.admin.response';
|
|
2
|
-
export interface HourlyComputedMetrics {
|
|
3
|
-
avgResponseTime: number;
|
|
4
|
-
mostUsedEndpoint: string;
|
|
5
|
-
errorRate: number;
|
|
6
|
-
availabilityRate: number;
|
|
7
|
-
}
|
|
8
|
-
export interface IApplicationHourlyMetrics extends CoreLifetimeMetrics, HourlyComputedMetrics, MetricsBreakdowns, ApplicationStatsMetrics {
|
|
9
|
-
id?: string;
|
|
10
|
-
applicationId: string;
|
|
11
|
-
hour: Date;
|
|
12
|
-
createdAt?: Date;
|
|
13
|
-
updatedAt?: Date;
|
|
14
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { APIMethod } from '../../enum';
|
|
2
|
-
import { IApplicationLog } from './application-log.model';
|
|
3
|
-
export interface IApplicationLogEndpoint {
|
|
4
|
-
id?: string;
|
|
5
|
-
applicationLogId: string;
|
|
6
|
-
authentication: string | null;
|
|
7
|
-
controller: string;
|
|
8
|
-
endpoint: string;
|
|
9
|
-
requestParams: Record<string, string> | null;
|
|
10
|
-
requestQuery: Record<string, string | string[]> | null;
|
|
11
|
-
requestBody: Record<string, unknown> | string | null;
|
|
12
|
-
responseBody: Record<string, unknown> | string | null;
|
|
13
|
-
responseHttpCode: number;
|
|
14
|
-
ip: string[];
|
|
15
|
-
method: APIMethod;
|
|
16
|
-
responseTime: number;
|
|
17
|
-
updatedAt?: Date;
|
|
18
|
-
createdAt?: Date;
|
|
19
|
-
applicationLog?: IApplicationLog;
|
|
20
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LogLevel } from '../../enum';
|
|
2
|
-
import { IApplicationEvent } from './application-event.model';
|
|
3
|
-
import { IApplicationLogEndpoint } from './application-log-endpoint.model';
|
|
4
|
-
import { IApplication } from './application.model';
|
|
5
|
-
export interface IApplicationLog {
|
|
6
|
-
id?: string;
|
|
7
|
-
applicationId: string;
|
|
8
|
-
title: string | null;
|
|
9
|
-
message: string;
|
|
10
|
-
level: LogLevel;
|
|
11
|
-
scenario: string | null;
|
|
12
|
-
context: string | null;
|
|
13
|
-
data: Record<string, unknown> | null;
|
|
14
|
-
stack: string | null;
|
|
15
|
-
processId: string;
|
|
16
|
-
requestId: string | null;
|
|
17
|
-
dateValue: Date;
|
|
18
|
-
updatedAt?: Date;
|
|
19
|
-
createdAt?: Date;
|
|
20
|
-
application?: IApplication;
|
|
21
|
-
applicationLogEndpoint?: IApplicationLogEndpoint;
|
|
22
|
-
applicationEvent?: IApplicationEvent;
|
|
23
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ApplicationSentinelResult } from '../dto';
|
|
2
|
-
import { IApplicationSentinel } from './application-sentinel.model';
|
|
3
|
-
import { IApplicationWebhookHistory } from './application-webhook-history.model';
|
|
4
|
-
export interface IApplicationSentinelHistory {
|
|
5
|
-
id?: string;
|
|
6
|
-
applicationSentinelId: string;
|
|
7
|
-
startDate: Date;
|
|
8
|
-
hasFailed: boolean;
|
|
9
|
-
latency: number | null;
|
|
10
|
-
webhookMetadata: Record<string, string>;
|
|
11
|
-
result: ApplicationSentinelResult;
|
|
12
|
-
updatedAt?: Date;
|
|
13
|
-
createdAt?: Date;
|
|
14
|
-
applicationSentinel?: IApplicationSentinel;
|
|
15
|
-
applicationWebhookHistory?: IApplicationWebhookHistory[];
|
|
16
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ApplicationSentinelConfigurationDto } from '../dto/application-sentinel-configuration.dto';
|
|
2
|
-
import { IApplicationSentinelHistory } from './application-sentinel-history.model';
|
|
3
|
-
import { IApplication } from './application.model';
|
|
4
|
-
export interface IApplicationSentinel {
|
|
5
|
-
id?: string;
|
|
6
|
-
name: string;
|
|
7
|
-
description: string | null;
|
|
8
|
-
isActivated: boolean;
|
|
9
|
-
applicationId: string;
|
|
10
|
-
alertOnFailure: boolean;
|
|
11
|
-
webhookMetadata: Record<string, string>;
|
|
12
|
-
scheduleConfiguration: string;
|
|
13
|
-
configuration: ApplicationSentinelConfigurationDto;
|
|
14
|
-
lastDownNotificationDate?: Date | null;
|
|
15
|
-
lastUpNotificationDate?: Date | null;
|
|
16
|
-
updatedAt?: Date;
|
|
17
|
-
createdAt?: Date;
|
|
18
|
-
application?: IApplication;
|
|
19
|
-
applicationSentinelHistory?: IApplicationSentinelHistory[];
|
|
20
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ApplicationStatsType } from '../../enum';
|
|
2
|
-
import { IApplication } from './application.model';
|
|
3
|
-
export interface IApplicationStats {
|
|
4
|
-
id?: string;
|
|
5
|
-
applicationId: string;
|
|
6
|
-
type: ApplicationStatsType;
|
|
7
|
-
dateValue: Date;
|
|
8
|
-
processId: string;
|
|
9
|
-
value: number | null;
|
|
10
|
-
percentValue: number | null;
|
|
11
|
-
updatedAt?: Date;
|
|
12
|
-
createdAt?: Date;
|
|
13
|
-
application?: IApplication;
|
|
14
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ApplicationWebhookScope } from '../../enum';
|
|
2
|
-
import { IApplicationEvent } from './application-event.model';
|
|
3
|
-
import { IApplicationSentinelHistory } from './application-sentinel-history.model';
|
|
4
|
-
import { IApplicationWebhook } from './application-webhook.model';
|
|
5
|
-
export interface IApplicationWebhookHistory {
|
|
6
|
-
id?: string;
|
|
7
|
-
body: Record<string, unknown>;
|
|
8
|
-
response: string | null;
|
|
9
|
-
responseCode: number | null;
|
|
10
|
-
webhookId: string;
|
|
11
|
-
groupId: string;
|
|
12
|
-
scope: ApplicationWebhookScope;
|
|
13
|
-
sendAt: Date;
|
|
14
|
-
applicationWebhookId: string;
|
|
15
|
-
applicationSentinelHistoryId: string | null;
|
|
16
|
-
applicationEventId: string | null;
|
|
17
|
-
updatedAt?: Date;
|
|
18
|
-
createdAt?: Date;
|
|
19
|
-
applicationWebhook?: IApplicationWebhook;
|
|
20
|
-
applicationSentinelHistory?: IApplicationSentinelHistory | null;
|
|
21
|
-
applicationEvent?: IApplicationEvent | null;
|
|
22
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ApplicationSentinelType } from '../../enum/application-sentinel-type.enum';
|
|
2
|
-
import { ApplicationWebhookScope } from '../../enum/application-webhook-scope.enum';
|
|
3
|
-
import { IApplicationWebhookHistory } from './application-webhook-history.model';
|
|
4
|
-
import { IApplication } from './application.model';
|
|
5
|
-
export interface IApplicationWebhook {
|
|
6
|
-
id?: string;
|
|
7
|
-
scopes: ApplicationWebhookScope[];
|
|
8
|
-
webhookSecret: string;
|
|
9
|
-
webhookUrl: string;
|
|
10
|
-
isEnabled: boolean;
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
applicationId: string;
|
|
14
|
-
filters: ApplicationWebhookFilters | null;
|
|
15
|
-
updatedAt?: Date;
|
|
16
|
-
createdAt?: Date;
|
|
17
|
-
application: IApplication;
|
|
18
|
-
applicationWebhookHistory: IApplicationWebhookHistory[];
|
|
19
|
-
}
|
|
20
|
-
export type ApplicationWebhookFilters = {
|
|
21
|
-
[ApplicationWebhookScope.EVENT]?: {
|
|
22
|
-
include?: string[] | null;
|
|
23
|
-
equals?: string[] | null;
|
|
24
|
-
startsWith?: string[] | null;
|
|
25
|
-
endsWith?: string[] | null;
|
|
26
|
-
} | null;
|
|
27
|
-
[ApplicationWebhookScope.SENTINEL]?: {
|
|
28
|
-
type?: ApplicationSentinelType[];
|
|
29
|
-
notifyOnSuccess?: boolean;
|
|
30
|
-
notifyOnFailure?: boolean;
|
|
31
|
-
} | null;
|
|
32
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IApplicationCronTask } from './application-cron-task.model';
|
|
2
|
-
import { IApplicationEvent } from './application-event.model';
|
|
3
|
-
import { IApplicationLog } from './application-log.model';
|
|
4
|
-
import { IApplicationSentinel } from './application-sentinel.model';
|
|
5
|
-
import { IApplicationStats } from './application-stats.model';
|
|
6
|
-
import { IApplicationWebhook } from './application-webhook.model';
|
|
7
|
-
export interface IApplication {
|
|
8
|
-
id?: string;
|
|
9
|
-
projectId: string;
|
|
10
|
-
secretPublishToken: string;
|
|
11
|
-
updatedAt?: Date;
|
|
12
|
-
createdAt?: Date;
|
|
13
|
-
applicationStats?: IApplicationStats[];
|
|
14
|
-
applicationLog?: IApplicationLog[];
|
|
15
|
-
applicationCronTask?: IApplicationCronTask[];
|
|
16
|
-
applicationEvent?: IApplicationEvent[];
|
|
17
|
-
applicationWebhook?: IApplicationWebhook[];
|
|
18
|
-
applicationSentinel?: IApplicationSentinel[];
|
|
19
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IProject } from './project.model';
|
|
2
|
-
import { IWorkflowWebhookTrigger } from './workflow-webhook.model';
|
|
3
|
-
export declare enum IpWhitelistResourceType {
|
|
4
|
-
PROJECT = "PROJECT",
|
|
5
|
-
WORKFLOW_WEBHOOK_TRIGGER = "WORKFLOW_WEBHOOK_TRIGGER",
|
|
6
|
-
API_KEY = "API_KEY"
|
|
7
|
-
}
|
|
8
|
-
export interface IIpWhitelist {
|
|
9
|
-
id: string;
|
|
10
|
-
resourceType: IpWhitelistResourceType;
|
|
11
|
-
resourceId: string;
|
|
12
|
-
ipAddress: string;
|
|
13
|
-
description: string | null;
|
|
14
|
-
isEnabled: boolean;
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
updatedAt: Date;
|
|
17
|
-
project?: IProject;
|
|
18
|
-
workflowWebhookTrigger?: IWorkflowWebhookTrigger;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IpWhitelistResourceType = void 0;
|
|
4
|
-
var IpWhitelistResourceType;
|
|
5
|
-
(function (IpWhitelistResourceType) {
|
|
6
|
-
IpWhitelistResourceType["PROJECT"] = "PROJECT";
|
|
7
|
-
IpWhitelistResourceType["WORKFLOW_WEBHOOK_TRIGGER"] = "WORKFLOW_WEBHOOK_TRIGGER";
|
|
8
|
-
IpWhitelistResourceType["API_KEY"] = "API_KEY";
|
|
9
|
-
})(IpWhitelistResourceType || (exports.IpWhitelistResourceType = IpWhitelistResourceType = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface IPartitionOptimizationHistory {
|
|
2
|
-
id?: string;
|
|
3
|
-
partitionName: string;
|
|
4
|
-
lastOptimizedAt: Date;
|
|
5
|
-
operations: string[];
|
|
6
|
-
durationMs: number;
|
|
7
|
-
status: 'success' | 'error';
|
|
8
|
-
errorMessage?: string | null;
|
|
9
|
-
createdAt?: Date;
|
|
10
|
-
updatedAt?: Date;
|
|
11
|
-
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IWorkflowExecutionStep } from './workflow-execution-step.model';
|
|
2
|
-
export declare enum WebhookActionLogStatus {
|
|
3
|
-
SUCCESS = "SUCCESS",
|
|
4
|
-
FAILED = "FAILED",
|
|
5
|
-
RETRYING = "RETRYING"
|
|
6
|
-
}
|
|
7
|
-
export interface IWebhookActionLog {
|
|
8
|
-
id: string;
|
|
9
|
-
workflowExecutionStepId: string;
|
|
10
|
-
url: string;
|
|
11
|
-
method: string;
|
|
12
|
-
headers: Record<string, string>;
|
|
13
|
-
body: any;
|
|
14
|
-
status: WebhookActionLogStatus;
|
|
15
|
-
responseStatusCode: number | null;
|
|
16
|
-
responseBody: any;
|
|
17
|
-
errorMessage: string | null;
|
|
18
|
-
retryCount: number;
|
|
19
|
-
processingTimeMs: number | null;
|
|
20
|
-
createdAt: Date;
|
|
21
|
-
workflowExecutionStep?: IWorkflowExecutionStep;
|
|
22
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookActionLogStatus = void 0;
|
|
4
|
-
var WebhookActionLogStatus;
|
|
5
|
-
(function (WebhookActionLogStatus) {
|
|
6
|
-
WebhookActionLogStatus["SUCCESS"] = "SUCCESS";
|
|
7
|
-
WebhookActionLogStatus["FAILED"] = "FAILED";
|
|
8
|
-
WebhookActionLogStatus["RETRYING"] = "RETRYING";
|
|
9
|
-
})(WebhookActionLogStatus || (exports.WebhookActionLogStatus = WebhookActionLogStatus = {}));
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IWorkflowWebhookTrigger } from './workflow-webhook-trigger.model';
|
|
2
|
-
import { IWorkflowExecution } from './workflow-execution.model';
|
|
3
|
-
export declare enum WebhookTriggerLogStatus {
|
|
4
|
-
SUCCESS = "SUCCESS",
|
|
5
|
-
FAILED = "FAILED",
|
|
6
|
-
REJECTED = "REJECTED"
|
|
7
|
-
}
|
|
8
|
-
export interface IWebhookTriggerLog {
|
|
9
|
-
id: string;
|
|
10
|
-
workflowWebhookTriggerId: string;
|
|
11
|
-
workflowExecutionId: string | null;
|
|
12
|
-
status: WebhookTriggerLogStatus;
|
|
13
|
-
sourceIp: string;
|
|
14
|
-
headers: Record<string, string>;
|
|
15
|
-
body: any;
|
|
16
|
-
signatureValid: boolean;
|
|
17
|
-
errorMessage: string | null;
|
|
18
|
-
responseStatusCode: number;
|
|
19
|
-
processingTimeMs: number;
|
|
20
|
-
createdAt: Date;
|
|
21
|
-
workflowWebhookTrigger?: IWorkflowWebhookTrigger;
|
|
22
|
-
workflowExecution?: IWorkflowExecution;
|
|
23
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookTriggerLogStatus = void 0;
|
|
4
|
-
var WebhookTriggerLogStatus;
|
|
5
|
-
(function (WebhookTriggerLogStatus) {
|
|
6
|
-
WebhookTriggerLogStatus["SUCCESS"] = "SUCCESS";
|
|
7
|
-
WebhookTriggerLogStatus["FAILED"] = "FAILED";
|
|
8
|
-
WebhookTriggerLogStatus["REJECTED"] = "REJECTED";
|
|
9
|
-
})(WebhookTriggerLogStatus || (exports.WebhookTriggerLogStatus = WebhookTriggerLogStatus = {}));
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { IWorkflowExecution } from './workflow-execution.model';
|
|
2
|
-
import { IWorkflowStep, WorkflowStepType } from './workflow-step.model';
|
|
3
|
-
export declare enum WorkflowExecutionStepStatus {
|
|
4
|
-
PENDING = "PENDING",
|
|
5
|
-
RUNNING = "RUNNING",
|
|
6
|
-
COMPLETED = "COMPLETED",
|
|
7
|
-
FAILED = "FAILED",
|
|
8
|
-
SKIPPED = "SKIPPED",
|
|
9
|
-
WAITING = "WAITING"
|
|
10
|
-
}
|
|
11
|
-
export interface IWorkflowStepExecutionInput {
|
|
12
|
-
triggerData: Record<string, unknown>;
|
|
13
|
-
previousStepResults: Record<string, unknown>;
|
|
14
|
-
variables: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export interface IWorkflowStepExecutionOutput {
|
|
17
|
-
result: unknown;
|
|
18
|
-
data?: Record<string, unknown>;
|
|
19
|
-
variables?: Record<string, unknown>;
|
|
20
|
-
conditionResult?: boolean;
|
|
21
|
-
filtered?: boolean;
|
|
22
|
-
nextStepId?: string | null;
|
|
23
|
-
}
|
|
24
|
-
export interface IWorkflowStepExecutionError {
|
|
25
|
-
code: string;
|
|
26
|
-
message: string;
|
|
27
|
-
details?: Record<string, unknown>;
|
|
28
|
-
retryable: boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface IWorkflowExecutionStep {
|
|
31
|
-
id: string;
|
|
32
|
-
workflowExecutionId: string;
|
|
33
|
-
workflowStepId: string;
|
|
34
|
-
stepType: WorkflowStepType;
|
|
35
|
-
stepName: string;
|
|
36
|
-
executionOrder: number;
|
|
37
|
-
status: WorkflowExecutionStepStatus;
|
|
38
|
-
input: IWorkflowStepExecutionInput;
|
|
39
|
-
output: IWorkflowStepExecutionOutput | null;
|
|
40
|
-
error: IWorkflowStepExecutionError | null;
|
|
41
|
-
retryCount: number;
|
|
42
|
-
startedAt: Date | null;
|
|
43
|
-
completedAt: Date | null;
|
|
44
|
-
durationMs: number | null;
|
|
45
|
-
createdAt?: Date;
|
|
46
|
-
updatedAt?: Date;
|
|
47
|
-
execution?: IWorkflowExecution;
|
|
48
|
-
step?: IWorkflowStep;
|
|
49
|
-
}
|
|
50
|
-
export interface IWorkflowStepExecutionLog {
|
|
51
|
-
timestamp: Date;
|
|
52
|
-
level: 'debug' | 'info' | 'warn' | 'error';
|
|
53
|
-
message: string;
|
|
54
|
-
data?: Record<string, unknown>;
|
|
55
|
-
}
|
|
56
|
-
export interface IWorkflowExecutionStepDetails extends IWorkflowExecutionStep {
|
|
57
|
-
logs?: IWorkflowStepExecutionLog[];
|
|
58
|
-
stepConfig?: Record<string, unknown>;
|
|
59
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkflowExecutionStepStatus = void 0;
|
|
4
|
-
var WorkflowExecutionStepStatus;
|
|
5
|
-
(function (WorkflowExecutionStepStatus) {
|
|
6
|
-
WorkflowExecutionStepStatus["PENDING"] = "PENDING";
|
|
7
|
-
WorkflowExecutionStepStatus["RUNNING"] = "RUNNING";
|
|
8
|
-
WorkflowExecutionStepStatus["COMPLETED"] = "COMPLETED";
|
|
9
|
-
WorkflowExecutionStepStatus["FAILED"] = "FAILED";
|
|
10
|
-
WorkflowExecutionStepStatus["SKIPPED"] = "SKIPPED";
|
|
11
|
-
WorkflowExecutionStepStatus["WAITING"] = "WAITING";
|
|
12
|
-
})(WorkflowExecutionStepStatus || (exports.WorkflowExecutionStepStatus = WorkflowExecutionStepStatus = {}));
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
File without changes
|