@n8n/api-types 1.38.1 → 1.39.0
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/agents/agent-integration.schema.d.ts +124 -0
- package/dist/agents/agent-integration.schema.js +21 -13
- package/dist/agents/agent-integration.schema.js.map +1 -1
- package/dist/agents/agent-json-config.schema.d.ts +196 -0
- package/dist/agents/agent-json-config.schema.js +5 -3
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/agent-skill.schema.d.ts +6 -18
- package/dist/agents/agent-skill.schema.js +13 -22
- package/dist/agents/agent-skill.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +11 -40
- package/dist/agents/dto.js +3 -5
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +86 -16
- package/dist/agents/types.d.ts +2 -1
- package/dist/agents/types.js +6 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/constants/role-mapping.d.ts +1 -0
- package/dist/constants/role-mapping.js +2 -1
- package/dist/constants/role-mapping.js.map +1 -1
- package/dist/dto/credentials/credential-public.dto.d.ts +221 -0
- package/dist/dto/credentials/credential-public.dto.js +31 -0
- package/dist/dto/credentials/credential-public.dto.js.map +1 -0
- package/dist/dto/credentials/list-credentials-query.dto.d.ts +11 -0
- package/dist/dto/credentials/list-credentials-query.dto.js +13 -0
- package/dist/dto/credentials/list-credentials-query.dto.js.map +1 -0
- package/dist/dto/executions/execution-public.dto.d.ts +467 -0
- package/dist/dto/executions/execution-public.dto.js +86 -0
- package/dist/dto/executions/execution-public.dto.js.map +1 -0
- package/dist/dto/executions/execution-public.openapi.d.ts +56 -0
- package/dist/dto/executions/execution-public.openapi.js +113 -0
- package/dist/dto/executions/execution-public.openapi.js.map +1 -0
- package/dist/dto/executions/execution-tags-public.dto.d.ts +24 -0
- package/dist/dto/executions/execution-tags-public.dto.js +9 -0
- package/dist/dto/executions/execution-tags-public.dto.js.map +1 -0
- package/dist/dto/executions/get-execution-query.dto.d.ts +13 -0
- package/dist/dto/executions/get-execution-query.dto.js +28 -0
- package/dist/dto/executions/get-execution-query.dto.js.map +1 -0
- package/dist/dto/executions/list-executions-query.dto.d.ts +28 -0
- package/dist/dto/executions/list-executions-query.dto.js +50 -0
- package/dist/dto/executions/list-executions-query.dto.js.map +1 -0
- package/dist/dto/executions/retried-execution-public.dto.d.ts +152 -0
- package/dist/dto/executions/retried-execution-public.dto.js +33 -0
- package/dist/dto/executions/retried-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/retried-execution-public.openapi.d.ts +10 -0
- package/dist/dto/executions/retried-execution-public.openapi.js +42 -0
- package/dist/dto/executions/retried-execution-public.openapi.js.map +1 -0
- package/dist/dto/executions/retry-execution-public.dto.d.ts +17 -0
- package/dist/dto/executions/retry-execution-public.dto.js +14 -0
- package/dist/dto/executions/retry-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/stop-many-executions-public.dto.d.ts +23 -0
- package/dist/dto/executions/stop-many-executions-public.dto.js +41 -0
- package/dist/dto/executions/stop-many-executions-public.dto.js.map +1 -0
- package/dist/dto/executions/stopped-execution-public.dto.d.ts +51 -0
- package/dist/dto/executions/stopped-execution-public.dto.js +24 -0
- package/dist/dto/executions/stopped-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/stopped-execution-public.openapi.d.ts +25 -0
- package/dist/dto/executions/stopped-execution-public.openapi.js +22 -0
- package/dist/dto/executions/stopped-execution-public.openapi.js.map +1 -0
- package/dist/dto/git-connections/git-connections.dto.d.ts +37 -0
- package/dist/dto/git-connections/git-connections.dto.js +10 -2
- package/dist/dto/git-connections/git-connections.dto.js.map +1 -1
- package/dist/dto/index.d.ts +21 -2
- package/dist/dto/index.js +66 -4
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/openapi-nullable.d.ts +2 -0
- package/dist/dto/openapi-nullable.js +7 -0
- package/dist/dto/openapi-nullable.js.map +1 -0
- package/dist/dto/otel/test-otel-trace.dto.d.ts +3 -1
- package/dist/dto/otel/test-otel-trace.dto.js +1 -0
- package/dist/dto/otel/test-otel-trace.dto.js.map +1 -1
- package/dist/dto/otel/update-otel-settings.dto.d.ts +6 -0
- package/dist/dto/otel/update-otel-settings.dto.js +9 -2
- package/dist/dto/otel/update-otel-settings.dto.js.map +1 -1
- package/dist/dto/packages/export-package-request.dto.d.ts +2 -0
- package/dist/dto/packages/export-package-request.dto.js +1 -0
- package/dist/dto/packages/export-package-request.dto.js.map +1 -1
- package/dist/dto/promotions/promotable-resource.dto.d.ts +45 -0
- package/dist/dto/promotions/promotable-resource.dto.js +21 -0
- package/dist/dto/promotions/promotable-resource.dto.js.map +1 -0
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +27 -13
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.d.ts +249 -0
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.js +13 -0
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.d.ts +25 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.js +18 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.d.ts +247 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.js +12 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-status-public.dto.d.ts +247 -0
- package/dist/dto/source-control/source-control-status-public.dto.js +12 -0
- package/dist/dto/source-control/source-control-status-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.d.ts +9 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.js +11 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.js.map +1 -0
- package/dist/dto/tag/tag-public.dto.d.ts +1 -0
- package/dist/dto/tag/tag-public.dto.js +5 -4
- package/dist/dto/tag/tag-public.dto.js.map +1 -1
- package/dist/dto/worker-pools/update-project-pool-settings.dto.d.ts +9 -0
- package/dist/dto/worker-pools/update-project-pool-settings.dto.js +12 -0
- package/dist/dto/worker-pools/update-project-pool-settings.dto.js.map +1 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.d.ts +106 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.js +13 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-public.dto.js +3 -4
- package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/workflow-public.openapi.js +6 -8
- package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.d.ts +26 -0
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.js +14 -0
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-tags-public.dto.d.ts +1 -0
- package/dist/dto/workflows/workflow-tags-public.dto.js +2 -1
- package/dist/dto/workflows/workflow-tags-public.dto.js.map +1 -1
- package/dist/frontend-settings.d.ts +7 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +8 -0
- package/dist/instance-registry-types.js +1 -0
- package/dist/instance-registry-types.js.map +1 -1
- package/dist/push/instance-ai.d.ts +5 -0
- package/dist/scaling.d.ts +2 -0
- package/dist/schemas/agent-run-reducer.js +12 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/content-import-policy-result.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +1608 -453
- package/dist/schemas/instance-ai.schema.js +63 -3
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp-registry.schema.d.ts +6 -1
- package/dist/schemas/object-guard.schema.d.ts +3 -0
- package/dist/schemas/object-guard.schema.js +10 -0
- package/dist/schemas/object-guard.schema.js.map +1 -0
- package/dist/schemas/source-controlled-file.schema.d.ts +24 -11
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -0
- package/dist/schemas/workflow-publication-status.schema.js +14 -2
- package/dist/schemas/workflow-publication-status.schema.js.map +1 -1
- package/dist/worker-pools.d.ts +4 -0
- package/dist/worker-pools.js +3 -0
- package/dist/worker-pools.js.map +1 -0
- package/dist/workflow-publish-blocked-details.d.ts +36 -7
- package/dist/workflow-publish-blocked-details.js +15 -6
- package/dist/workflow-publish-blocked-details.js.map +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tracingContextOpenApi = exports.customDataOpenApi = exports.workflowDataOpenApi = exports.dataOpenApi = exports.deletedExecutionIdOpenApi = exports.executionFieldDocs = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const openapi_nullable_1 = require("../openapi-nullable");
|
|
6
|
+
exports.executionFieldDocs = {
|
|
7
|
+
id: { example: '1000' },
|
|
8
|
+
finished: {
|
|
9
|
+
example: true,
|
|
10
|
+
deprecated: true,
|
|
11
|
+
description: 'Whether the execution ran to completion. Use `status` instead.',
|
|
12
|
+
},
|
|
13
|
+
mode: {
|
|
14
|
+
enum: [...n8n_workflow_1.WorkflowExecuteModeList],
|
|
15
|
+
example: 'manual',
|
|
16
|
+
},
|
|
17
|
+
retryOf: (0, openapi_nullable_1.alsoNullable)({
|
|
18
|
+
description: 'ID of the execution this one is a retry of.',
|
|
19
|
+
}),
|
|
20
|
+
retrySuccessId: (0, openapi_nullable_1.alsoNullable)({
|
|
21
|
+
description: 'ID of the retry that succeeded, if this execution failed and a retry did not.',
|
|
22
|
+
example: '2',
|
|
23
|
+
}),
|
|
24
|
+
status: {
|
|
25
|
+
enum: [...n8n_workflow_1.ExecutionStatusList],
|
|
26
|
+
},
|
|
27
|
+
createdAt: { format: 'date-time' },
|
|
28
|
+
startedAt: (0, openapi_nullable_1.alsoNullable)({
|
|
29
|
+
format: 'date-time',
|
|
30
|
+
description: 'Null until the execution leaves the queue and starts running.',
|
|
31
|
+
}),
|
|
32
|
+
stoppedAt: (0, openapi_nullable_1.alsoNullable)({
|
|
33
|
+
format: 'date-time',
|
|
34
|
+
description: 'When the execution stopped. Null for the `new`, `running` and `unknown` statuses; a ' +
|
|
35
|
+
'`waiting` execution has stopped its current run, so it has a value.',
|
|
36
|
+
}),
|
|
37
|
+
deletedAt: (0, openapi_nullable_1.alsoNullable)({
|
|
38
|
+
format: 'date-time',
|
|
39
|
+
description: 'Always null. Soft-deleted executions are not returned.',
|
|
40
|
+
}),
|
|
41
|
+
workflowId: { example: '1000' },
|
|
42
|
+
waitTill: (0, openapi_nullable_1.alsoNullable)({
|
|
43
|
+
format: 'date-time',
|
|
44
|
+
description: 'The time at which a waiting execution resumes.',
|
|
45
|
+
}),
|
|
46
|
+
storedAt: {
|
|
47
|
+
enum: ['db', 'fs', 's3', 'az'],
|
|
48
|
+
description: 'Where the execution data is stored.',
|
|
49
|
+
},
|
|
50
|
+
deduplicationKey: (0, openapi_nullable_1.alsoNullable)({
|
|
51
|
+
description: 'Key used to stop a duplicate execution from being created.',
|
|
52
|
+
}),
|
|
53
|
+
jsonSizeBytes: {
|
|
54
|
+
description: 'Size of the stored execution data in bytes. 0 means unknown.',
|
|
55
|
+
example: 0,
|
|
56
|
+
},
|
|
57
|
+
binaryDataSizeBytes: {
|
|
58
|
+
description: 'Size of the stored binary data in bytes. 0 means unknown.',
|
|
59
|
+
example: 0,
|
|
60
|
+
},
|
|
61
|
+
workflowVersionId: (0, openapi_nullable_1.alsoNullable)({
|
|
62
|
+
description: 'ID of the workflow version this execution ran.',
|
|
63
|
+
}),
|
|
64
|
+
usedPrivateCredentials: {
|
|
65
|
+
description: 'Whether the execution used credentials that are not shared with the project.',
|
|
66
|
+
example: false,
|
|
67
|
+
},
|
|
68
|
+
dataTooLargeToDisplay: {
|
|
69
|
+
description: 'Present and true when the execution data was larger than ' +
|
|
70
|
+
'`EXECUTIONS_DATA_MAX_DISPLAY_SIZE`. `data` is then empty and `jsonSizeBytes` holds the ' +
|
|
71
|
+
'real size. Use `ignoreDataSizeLimit` to read it anyway.',
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
exports.deletedExecutionIdOpenApi = {
|
|
75
|
+
description: 'ID of the deleted execution. This endpoint returns it as a number, where every other ' +
|
|
76
|
+
'execution endpoint returns a string.',
|
|
77
|
+
example: 1000,
|
|
78
|
+
};
|
|
79
|
+
exports.dataOpenApi = {
|
|
80
|
+
type: 'object',
|
|
81
|
+
additionalProperties: true,
|
|
82
|
+
description: 'Detailed execution data. Only included when `includeData` is `true`.',
|
|
83
|
+
properties: {
|
|
84
|
+
redactionInfo: {
|
|
85
|
+
type: 'object',
|
|
86
|
+
nullable: true,
|
|
87
|
+
description: 'Present when execution data has been redacted.',
|
|
88
|
+
properties: {
|
|
89
|
+
isRedacted: { type: 'boolean', description: 'Whether the execution data was redacted.' },
|
|
90
|
+
reason: { type: 'string', description: 'The reason for redaction.' },
|
|
91
|
+
canReveal: {
|
|
92
|
+
type: 'boolean',
|
|
93
|
+
description: 'Whether the current user has permission to reveal the redacted data.',
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
exports.workflowDataOpenApi = {
|
|
100
|
+
type: 'object',
|
|
101
|
+
additionalProperties: true,
|
|
102
|
+
description: 'The workflow as it was saved when the execution ran. Only included when `includeData` is ' +
|
|
103
|
+
'`true`. Older executions carry more fields than newer ones.',
|
|
104
|
+
};
|
|
105
|
+
exports.customDataOpenApi = {
|
|
106
|
+
type: 'object',
|
|
107
|
+
additionalProperties: { type: 'string' },
|
|
108
|
+
description: 'Execution metadata set by the workflow. Only included when `includeData` is `true`.',
|
|
109
|
+
};
|
|
110
|
+
exports.tracingContextOpenApi = {
|
|
111
|
+
description: 'W3C trace context propagated with the execution.',
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=execution-public.openapi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution-public.openapi.js","sourceRoot":"","sources":["../../../src/dto/executions/execution-public.openapi.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const ExecutionTagsPublicDto_base: import("../../zod-class").ZodArrayClass<{
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
updatedAt: string;
|
|
6
|
+
}[], import("zod").ZodObject<{
|
|
7
|
+
id: import("zod").ZodString;
|
|
8
|
+
name: import("zod").ZodString;
|
|
9
|
+
createdAt: import("zod").ZodString;
|
|
10
|
+
updatedAt: import("zod").ZodString;
|
|
11
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
}, {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
createdAt: string;
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
}>>;
|
|
22
|
+
export declare class ExecutionTagsPublicDto extends ExecutionTagsPublicDto_base {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExecutionTagsPublicDto = void 0;
|
|
4
|
+
const zod_class_1 = require("../../zod-class");
|
|
5
|
+
const tag_public_dto_1 = require("../tag/tag-public.dto");
|
|
6
|
+
class ExecutionTagsPublicDto extends zod_class_1.Z.array(tag_public_dto_1.tagPublicSchema) {
|
|
7
|
+
}
|
|
8
|
+
exports.ExecutionTagsPublicDto = ExecutionTagsPublicDto;
|
|
9
|
+
//# sourceMappingURL=execution-tags-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution-tags-public.dto.js","sourceRoot":"","sources":["../../../src/dto/executions/execution-tags-public.dto.ts"],"names":[],"mappings":";;;AAAA,+CAAoC;AACpC,0DAAwD;AAKxD,4BAAoC,SAAQ,aAAC,CAAC,KAAK,CAAC,gCAAe,CAAC;CAAG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
declare const GetExecutionQueryDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
includeData: boolean;
|
|
4
|
+
ignoreDataSizeLimit: boolean;
|
|
5
|
+
redactExecutionData?: boolean | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
includeData: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "false" | "true">>>;
|
|
8
|
+
ignoreDataSizeLimit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "false" | "true">>>;
|
|
9
|
+
redactExecutionData: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "false" | "true">>;
|
|
10
|
+
}>;
|
|
11
|
+
export declare class GetExecutionQueryDto extends GetExecutionQueryDto_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetExecutionQueryDto = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
5
|
+
const boolean_from_string_1 = require("../../schemas/boolean-from-string");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
class GetExecutionQueryDto extends zod_class_1.Z.class({
|
|
8
|
+
includeData: boolean_from_string_1.booleanFromString
|
|
9
|
+
.optional()
|
|
10
|
+
.default('false')
|
|
11
|
+
.openapi({ description: "Whether or not to include the execution's detailed data." }),
|
|
12
|
+
ignoreDataSizeLimit: boolean_from_string_1.booleanFromString
|
|
13
|
+
.optional()
|
|
14
|
+
.default('false')
|
|
15
|
+
.openapi({
|
|
16
|
+
description: 'Whether to return the full execution data even if it exceeds the configured size limit ' +
|
|
17
|
+
'(EXECUTIONS_DATA_MAX_DISPLAY_SIZE). Oversized executions are otherwise returned without ' +
|
|
18
|
+
'their data.',
|
|
19
|
+
}),
|
|
20
|
+
redactExecutionData: boolean_from_string_1.booleanFromString.optional().openapi({
|
|
21
|
+
description: 'Controls execution data redaction. When `true`, execution output data is always redacted. ' +
|
|
22
|
+
'When `false`, requests unredacted (revealed) data — requires the `execution:reveal` scope. ' +
|
|
23
|
+
'When omitted, follows the workflow redaction policy.',
|
|
24
|
+
}),
|
|
25
|
+
}) {
|
|
26
|
+
}
|
|
27
|
+
exports.GetExecutionQueryDto = GetExecutionQueryDto;
|
|
28
|
+
//# sourceMappingURL=get-execution-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-execution-query.dto.js","sourceRoot":"","sources":["../../../src/dto/executions/get-execution-query.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAE9B,2EAAsE;AACtE,+CAAoC;AAEpC,0BAAkC,SAAQ,aAAC,CAAC,KAAK,CAAC;IACjD,WAAW,EAAE,uCAAiB;SAC5B,QAAQ,EAAE;SACV,OAAO,CAAC,OAAO,CAAC;SAChB,OAAO,CAAC,EAAE,WAAW,EAAE,0DAA0D,EAAE,CAAC;IACtF,mBAAmB,EAAE,uCAAiB;SACpC,QAAQ,EAAE;SACV,OAAO,CAAC,OAAO,CAAC;SAChB,OAAO,CAAC;QACR,WAAW,EACV,yFAAyF;YACzF,0FAA0F;YAC1F,aAAa;KACd,CAAC;IACH,mBAAmB,EAAE,uCAAiB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC;QACzD,WAAW,EACV,4FAA4F;YAC5F,6FAA6F;YAC7F,sDAAsD;KACvD,CAAC;CACF,CAAC;CAAG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
declare const ListExecutionsQueryDto_base: import("../../zod-class").ZodClass<{
|
|
4
|
+
includeData: boolean;
|
|
5
|
+
ignoreDataSizeLimit: boolean;
|
|
6
|
+
redactExecutionData?: boolean | undefined;
|
|
7
|
+
status?: "canceled" | "crashed" | "error" | "new" | "running" | "success" | "unknown" | "waiting" | undefined;
|
|
8
|
+
workflowId?: string | undefined;
|
|
9
|
+
projectId?: string | undefined;
|
|
10
|
+
startedAfter?: string | undefined;
|
|
11
|
+
startedBefore?: string | undefined;
|
|
12
|
+
limit: number;
|
|
13
|
+
cursor?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
includeData: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEnum<["true", "false"]>, boolean, "false" | "true">>>;
|
|
16
|
+
ignoreDataSizeLimit: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEnum<["true", "false"]>, boolean, "false" | "true">>>;
|
|
17
|
+
redactExecutionData: z.ZodOptional<z.ZodEffects<z.ZodEnum<["true", "false"]>, boolean, "false" | "true">>;
|
|
18
|
+
status: z.ZodOptional<z.ZodEnum<["canceled", "crashed", "error", "new", "running", "success", "unknown", "waiting"]>>;
|
|
19
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
startedAfter: z.ZodOptional<z.ZodString>;
|
|
22
|
+
startedBefore: z.ZodOptional<z.ZodString>;
|
|
23
|
+
limit: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
|
|
24
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}>;
|
|
26
|
+
export declare class ListExecutionsQueryDto extends ListExecutionsQueryDto_base {
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListExecutionsQueryDto = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
5
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
6
|
+
const zod_1 = require("zod");
|
|
7
|
+
const boolean_from_string_1 = require("../../schemas/boolean-from-string");
|
|
8
|
+
const zod_class_1 = require("../../zod-class");
|
|
9
|
+
const pagination_dto_1 = require("../pagination/pagination.dto");
|
|
10
|
+
class ListExecutionsQueryDto extends zod_class_1.Z.class({
|
|
11
|
+
includeData: boolean_from_string_1.booleanFromString
|
|
12
|
+
.optional()
|
|
13
|
+
.default('false')
|
|
14
|
+
.openapi({ description: "Whether or not to include the execution's detailed data." }),
|
|
15
|
+
ignoreDataSizeLimit: boolean_from_string_1.booleanFromString
|
|
16
|
+
.optional()
|
|
17
|
+
.default('false')
|
|
18
|
+
.openapi({
|
|
19
|
+
description: 'Whether to return the full execution data even if it exceeds the configured size limit ' +
|
|
20
|
+
'(EXECUTIONS_DATA_MAX_DISPLAY_SIZE). Oversized executions are otherwise returned without ' +
|
|
21
|
+
'their data.',
|
|
22
|
+
}),
|
|
23
|
+
redactExecutionData: boolean_from_string_1.booleanFromString.optional().openapi({
|
|
24
|
+
description: 'Controls execution data redaction. When `true`, execution output data is always redacted. ' +
|
|
25
|
+
'When `false`, requests unredacted (revealed) data — requires the `execution:reveal` scope. ' +
|
|
26
|
+
'When omitted, follows the workflow redaction policy.',
|
|
27
|
+
}),
|
|
28
|
+
status: zod_1.z
|
|
29
|
+
.enum(n8n_workflow_1.ExecutionStatusList)
|
|
30
|
+
.optional()
|
|
31
|
+
.openapi({ description: 'Status to filter the executions by.' }),
|
|
32
|
+
workflowId: zod_1.z
|
|
33
|
+
.string()
|
|
34
|
+
.optional()
|
|
35
|
+
.openapi({ description: 'Workflow to filter the executions by.', example: '1000' }),
|
|
36
|
+
projectId: zod_1.z.string().optional().openapi({ example: 'VmwOO9HeTEj20kxM' }),
|
|
37
|
+
startedAfter: zod_1.z.string().datetime({ offset: true }).optional().openapi({
|
|
38
|
+
description: 'Only return executions that started after this time.',
|
|
39
|
+
example: '2024-01-01T00:00:00.000Z',
|
|
40
|
+
}),
|
|
41
|
+
startedBefore: zod_1.z.string().datetime({ offset: true }).optional().openapi({
|
|
42
|
+
description: 'Only return executions that started before this time.',
|
|
43
|
+
example: '2024-12-31T23:59:59.999Z',
|
|
44
|
+
}),
|
|
45
|
+
limit: pagination_dto_1.publicApiPaginationSchema.limit,
|
|
46
|
+
cursor: zod_1.z.string().optional(),
|
|
47
|
+
}) {
|
|
48
|
+
}
|
|
49
|
+
exports.ListExecutionsQueryDto = ListExecutionsQueryDto;
|
|
50
|
+
//# sourceMappingURL=list-executions-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-executions-query.dto.js","sourceRoot":"","sources":["../../../src/dto/executions/list-executions-query.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAE9B,+CAAmD;AACnD,6BAAwB;AAExB,2EAAsE;AACtE,+CAAoC;AACpC,iEAAyE;AAEzE,4BAAoC,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,WAAW,EAAE,uCAAiB;SAC5B,QAAQ,EAAE;SACV,OAAO,CAAC,OAAO,CAAC;SAChB,OAAO,CAAC,EAAE,WAAW,EAAE,0DAA0D,EAAE,CAAC;IACtF,mBAAmB,EAAE,uCAAiB;SACpC,QAAQ,EAAE;SACV,OAAO,CAAC,OAAO,CAAC;SAChB,OAAO,CAAC;QACR,WAAW,EACV,yFAAyF;YACzF,0FAA0F;YAC1F,aAAa;KACd,CAAC;IACH,mBAAmB,EAAE,uCAAiB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC;QACzD,WAAW,EACV,4FAA4F;YAC5F,6FAA6F;YAC7F,sDAAsD;KACvD,CAAC;IACF,MAAM,EAAE,OAAC;SACP,IAAI,CAAC,kCAAmB,CAAC;SACzB,QAAQ,EAAE;SACV,OAAO,CAAC,EAAE,WAAW,EAAE,qCAAqC,EAAE,CAAC;IACjE,UAAU,EAAE,OAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,EAAE,WAAW,EAAE,uCAAuC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACpF,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAGzE,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC;QACtE,WAAW,EAAE,sDAAsD;QACnE,OAAO,EAAE,0BAA0B;KACnC,CAAC;IACF,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC;QACvE,WAAW,EAAE,uDAAuD;QACpE,OAAO,EAAE,0BAA0B;KACnC,CAAC;IAEF,KAAK,EAAE,0CAAyB,CAAC,KAAK;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC;CAAG"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const retriedExecutionPublicSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
mode: z.ZodString;
|
|
6
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
7
|
+
workflowId: z.ZodString;
|
|
8
|
+
finished: z.ZodBoolean;
|
|
9
|
+
retryOf: z.ZodNullable<z.ZodString>;
|
|
10
|
+
status: z.ZodString;
|
|
11
|
+
waitTill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
data: z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>;
|
|
13
|
+
workflowData: z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>;
|
|
14
|
+
customData: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
15
|
+
annotation: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
id: z.ZodNumber;
|
|
17
|
+
vote: z.ZodNullable<z.ZodString>;
|
|
18
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}, {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
}>, "many">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
id: number;
|
|
30
|
+
vote: string | null;
|
|
31
|
+
tags: {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}[];
|
|
35
|
+
}, {
|
|
36
|
+
id: number;
|
|
37
|
+
vote: string | null;
|
|
38
|
+
tags: {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
}[];
|
|
42
|
+
}>>;
|
|
43
|
+
storedAt: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
id: string;
|
|
46
|
+
mode: string;
|
|
47
|
+
startedAt: string | null;
|
|
48
|
+
workflowId: string;
|
|
49
|
+
finished: boolean;
|
|
50
|
+
retryOf: string | null;
|
|
51
|
+
status: string;
|
|
52
|
+
waitTill?: string | null | undefined;
|
|
53
|
+
data: Record<string, unknown>;
|
|
54
|
+
workflowData: Record<string, unknown>;
|
|
55
|
+
customData: Record<string, string>;
|
|
56
|
+
annotation?: {
|
|
57
|
+
id: number;
|
|
58
|
+
vote: string | null;
|
|
59
|
+
tags: {
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
}[];
|
|
63
|
+
} | undefined;
|
|
64
|
+
storedAt: string;
|
|
65
|
+
}, {
|
|
66
|
+
id: string;
|
|
67
|
+
mode: string;
|
|
68
|
+
startedAt: string | null;
|
|
69
|
+
workflowId: string;
|
|
70
|
+
finished: boolean;
|
|
71
|
+
retryOf: string | null;
|
|
72
|
+
status: string;
|
|
73
|
+
waitTill?: string | null | undefined;
|
|
74
|
+
data: Record<string, unknown>;
|
|
75
|
+
workflowData: Record<string, unknown>;
|
|
76
|
+
customData: Record<string, string>;
|
|
77
|
+
annotation?: {
|
|
78
|
+
id: number;
|
|
79
|
+
vote: string | null;
|
|
80
|
+
tags: {
|
|
81
|
+
id: string;
|
|
82
|
+
name: string;
|
|
83
|
+
}[];
|
|
84
|
+
} | undefined;
|
|
85
|
+
storedAt: string;
|
|
86
|
+
}>;
|
|
87
|
+
declare const RetriedExecutionPublicDto_base: import("../../zod-class").ZodClass<{
|
|
88
|
+
id: string;
|
|
89
|
+
mode: string;
|
|
90
|
+
startedAt: string | null;
|
|
91
|
+
workflowId: string;
|
|
92
|
+
finished: boolean;
|
|
93
|
+
retryOf: string | null;
|
|
94
|
+
status: string;
|
|
95
|
+
waitTill?: string | null | undefined;
|
|
96
|
+
data: Record<string, unknown>;
|
|
97
|
+
workflowData: Record<string, unknown>;
|
|
98
|
+
customData: Record<string, string>;
|
|
99
|
+
annotation?: {
|
|
100
|
+
id: number;
|
|
101
|
+
vote: string | null;
|
|
102
|
+
tags: {
|
|
103
|
+
id: string;
|
|
104
|
+
name: string;
|
|
105
|
+
}[];
|
|
106
|
+
} | undefined;
|
|
107
|
+
storedAt: string;
|
|
108
|
+
}, {
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
mode: z.ZodString;
|
|
111
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
112
|
+
workflowId: z.ZodString;
|
|
113
|
+
finished: z.ZodBoolean;
|
|
114
|
+
retryOf: z.ZodNullable<z.ZodString>;
|
|
115
|
+
status: z.ZodString;
|
|
116
|
+
waitTill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
data: z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>;
|
|
118
|
+
workflowData: z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>;
|
|
119
|
+
customData: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
120
|
+
annotation: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
id: z.ZodNumber;
|
|
122
|
+
vote: z.ZodNullable<z.ZodString>;
|
|
123
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
124
|
+
id: z.ZodString;
|
|
125
|
+
name: z.ZodString;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
}, {
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
}>, "many">;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
id: number;
|
|
135
|
+
vote: string | null;
|
|
136
|
+
tags: {
|
|
137
|
+
id: string;
|
|
138
|
+
name: string;
|
|
139
|
+
}[];
|
|
140
|
+
}, {
|
|
141
|
+
id: number;
|
|
142
|
+
vote: string | null;
|
|
143
|
+
tags: {
|
|
144
|
+
id: string;
|
|
145
|
+
name: string;
|
|
146
|
+
}[];
|
|
147
|
+
}>>;
|
|
148
|
+
storedAt: z.ZodString;
|
|
149
|
+
}>;
|
|
150
|
+
export declare class RetriedExecutionPublicDto extends RetriedExecutionPublicDto_base {
|
|
151
|
+
}
|
|
152
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetriedExecutionPublicDto = exports.retriedExecutionPublicSchema = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const execution_public_dto_1 = require("./execution-public.dto");
|
|
7
|
+
const retried_execution_public_openapi_1 = require("./retried-execution-public.openapi");
|
|
8
|
+
const object_guard_schema_1 = require("../../schemas/object-guard.schema");
|
|
9
|
+
const zod_class_1 = require("../../zod-class");
|
|
10
|
+
const executionAnnotationPublicSchema = zod_1.z.object({
|
|
11
|
+
id: zod_1.z.number(),
|
|
12
|
+
vote: zod_1.z.string().nullable().openapi(retried_execution_public_openapi_1.executionAnnotationVoteOpenApi),
|
|
13
|
+
tags: zod_1.z.array(zod_1.z.object({ id: zod_1.z.string(), name: zod_1.z.string() })),
|
|
14
|
+
});
|
|
15
|
+
exports.retriedExecutionPublicSchema = zod_1.z.object({
|
|
16
|
+
id: zod_1.z.string().openapi(retried_execution_public_openapi_1.retriedExecutionIdOpenApi),
|
|
17
|
+
mode: execution_public_dto_1.executionPublicSchema.shape.mode.openapi(retried_execution_public_openapi_1.retriedExecutionModeOpenApi),
|
|
18
|
+
startedAt: execution_public_dto_1.executionPublicSchema.shape.startedAt.openapi(retried_execution_public_openapi_1.retriedExecutionStartedAtOpenApi),
|
|
19
|
+
workflowId: execution_public_dto_1.executionPublicSchema.shape.workflowId,
|
|
20
|
+
finished: execution_public_dto_1.executionPublicSchema.shape.finished,
|
|
21
|
+
retryOf: execution_public_dto_1.executionPublicSchema.shape.retryOf,
|
|
22
|
+
status: execution_public_dto_1.executionPublicSchema.shape.status,
|
|
23
|
+
waitTill: execution_public_dto_1.executionPublicSchema.shape.waitTill.optional(),
|
|
24
|
+
data: (0, object_guard_schema_1.objectGuardSchema)().openapi(retried_execution_public_openapi_1.retriedExecutionDataOpenApi),
|
|
25
|
+
workflowData: (0, object_guard_schema_1.objectGuardSchema)().openapi(retried_execution_public_openapi_1.retriedExecutionWorkflowDataOpenApi),
|
|
26
|
+
customData: zod_1.z.record(zod_1.z.string()).openapi(retried_execution_public_openapi_1.retriedExecutionCustomDataOpenApi),
|
|
27
|
+
annotation: executionAnnotationPublicSchema.optional().openapi(retried_execution_public_openapi_1.retriedExecutionAnnotationOpenApi),
|
|
28
|
+
storedAt: execution_public_dto_1.executionPublicSchema.shape.storedAt,
|
|
29
|
+
});
|
|
30
|
+
class RetriedExecutionPublicDto extends zod_class_1.Z.class(exports.retriedExecutionPublicSchema.shape) {
|
|
31
|
+
}
|
|
32
|
+
exports.RetriedExecutionPublicDto = RetriedExecutionPublicDto;
|
|
33
|
+
//# sourceMappingURL=retried-execution-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retried-execution-public.dto.js","sourceRoot":"","sources":["../../../src/dto/executions/retried-execution-public.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAC9B,6BAAwB;AAExB,iEAA+D;AAC/D,yFAS4C;AAC5C,2EAAsE;AACtE,+CAAoC;AAEpC,MAAM,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,iEAA8B,CAAC;IACnE,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;CAC7D,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,4DAAyB,CAAC;IACjD,IAAI,EAAE,4CAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,8DAA2B,CAAC;IAC3E,SAAS,EAAE,4CAAqB,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,mEAAgC,CAAC;IAC1F,UAAU,EAAE,4CAAqB,CAAC,KAAK,CAAC,UAAU;IAClD,QAAQ,EAAE,4CAAqB,CAAC,KAAK,CAAC,QAAQ;IAC9C,OAAO,EAAE,4CAAqB,CAAC,KAAK,CAAC,OAAO;IAC5C,MAAM,EAAE,4CAAqB,CAAC,KAAK,CAAC,MAAM;IAC1C,QAAQ,EAAE,4CAAqB,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,EAAE;IACzD,IAAI,EAAE,IAAA,uCAAiB,GAA2B,CAAC,OAAO,CAAC,8DAA2B,CAAC;IACvF,YAAY,EAAE,IAAA,uCAAiB,GAA2B,CAAC,OAAO,CACjE,sEAAmC,CACnC;IACD,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,oEAAiC,CAAC;IAC3E,UAAU,EAAE,+BAA+B,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,oEAAiC,CAAC;IACjG,QAAQ,EAAE,4CAAqB,CAAC,KAAK,CAAC,QAAQ;CAC9C,CAAC,CAAC;AAEH,+BAAuC,SAAQ,aAAC,CAAC,KAAK,CAAC,QAAA,4BAA4B,CAAC,KAAK,CAAC;CAAG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ZodOpenAPIMetadata } from '@asteasolutions/zod-to-openapi';
|
|
2
|
+
export declare const retriedExecutionIdOpenApi: ZodOpenAPIMetadata;
|
|
3
|
+
export declare const retriedExecutionModeOpenApi: ZodOpenAPIMetadata;
|
|
4
|
+
export declare const retriedExecutionStartedAtOpenApi: ZodOpenAPIMetadata;
|
|
5
|
+
export declare const retriedExecutionDataOpenApi: ZodOpenAPIMetadata;
|
|
6
|
+
export declare const retriedExecutionWorkflowDataOpenApi: ZodOpenAPIMetadata;
|
|
7
|
+
export declare const retriedExecutionCustomDataOpenApi: ZodOpenAPIMetadata;
|
|
8
|
+
export declare const retriedExecutionAnnotationOpenApi: ZodOpenAPIMetadata;
|
|
9
|
+
export declare const executionAnnotationVoteOpenApi: ZodOpenAPIMetadata;
|
|
10
|
+
export declare const loadWorkflowOpenApi: ZodOpenAPIMetadata;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadWorkflowOpenApi = exports.executionAnnotationVoteOpenApi = exports.retriedExecutionAnnotationOpenApi = exports.retriedExecutionCustomDataOpenApi = exports.retriedExecutionWorkflowDataOpenApi = exports.retriedExecutionDataOpenApi = exports.retriedExecutionStartedAtOpenApi = exports.retriedExecutionModeOpenApi = exports.retriedExecutionIdOpenApi = void 0;
|
|
4
|
+
const execution_public_openapi_1 = require("./execution-public.openapi");
|
|
5
|
+
const openapi_nullable_1 = require("../openapi-nullable");
|
|
6
|
+
exports.retriedExecutionIdOpenApi = {
|
|
7
|
+
description: 'ID of the new execution that the retry started.',
|
|
8
|
+
example: '1001',
|
|
9
|
+
};
|
|
10
|
+
exports.retriedExecutionModeOpenApi = {
|
|
11
|
+
...execution_public_openapi_1.executionFieldDocs.mode,
|
|
12
|
+
example: 'retry',
|
|
13
|
+
};
|
|
14
|
+
exports.retriedExecutionStartedAtOpenApi = {
|
|
15
|
+
...execution_public_openapi_1.executionFieldDocs.startedAt,
|
|
16
|
+
description: 'The time at which the new execution started.',
|
|
17
|
+
};
|
|
18
|
+
exports.retriedExecutionDataOpenApi = {
|
|
19
|
+
...execution_public_openapi_1.dataOpenApi,
|
|
20
|
+
description: 'Run data of the new execution.',
|
|
21
|
+
};
|
|
22
|
+
exports.retriedExecutionWorkflowDataOpenApi = {
|
|
23
|
+
...execution_public_openapi_1.workflowDataOpenApi,
|
|
24
|
+
description: 'The workflow as it was saved when the original execution ran. `loadWorkflow` changes which ' +
|
|
25
|
+
'workflow the retry runs, not what this field reports.',
|
|
26
|
+
};
|
|
27
|
+
exports.retriedExecutionCustomDataOpenApi = {
|
|
28
|
+
...execution_public_openapi_1.customDataOpenApi,
|
|
29
|
+
description: 'Execution metadata carried over from the original execution.',
|
|
30
|
+
};
|
|
31
|
+
exports.retriedExecutionAnnotationOpenApi = {
|
|
32
|
+
description: 'Annotation on the original execution. Absent when it carries none.',
|
|
33
|
+
};
|
|
34
|
+
exports.executionAnnotationVoteOpenApi = (0, openapi_nullable_1.alsoNullable)({
|
|
35
|
+
enum: ['up', 'down'],
|
|
36
|
+
description: 'Vote left on the original execution.',
|
|
37
|
+
});
|
|
38
|
+
exports.loadWorkflowOpenApi = {
|
|
39
|
+
description: 'Whether to load the currently saved workflow to execute instead of the one saved at the ' +
|
|
40
|
+
'time of the execution. If set to true, it will retry with the latest version of the workflow.',
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=retried-execution-public.openapi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retried-execution-public.openapi.js","sourceRoot":"","sources":["../../../src/dto/executions/retried-execution-public.openapi.ts"],"names":[],"mappings":";;;AAEA,yEAKoC;AACpC,0DAAmD;AAEtC,QAAA,yBAAyB,GAAuB;IAC5D,WAAW,EAAE,iDAAiD;IAC9D,OAAO,EAAE,MAAM;CACf,CAAC;AAEW,QAAA,2BAA2B,GAAuB;IAC9D,GAAG,6CAAkB,CAAC,IAAI;IAC1B,OAAO,EAAE,OAAO;CAChB,CAAC;AAEW,QAAA,gCAAgC,GAAuB;IACnE,GAAG,6CAAkB,CAAC,SAAS;IAC/B,WAAW,EAAE,8CAA8C;CAC3D,CAAC;AAEW,QAAA,2BAA2B,GAAuB;IAC9D,GAAG,sCAAW;IACd,WAAW,EAAE,gCAAgC;CAC7C,CAAC;AAEW,QAAA,mCAAmC,GAAuB;IACtE,GAAG,8CAAmB;IACtB,WAAW,EACV,6FAA6F;QAC7F,uDAAuD;CACxD,CAAC;AAEW,QAAA,iCAAiC,GAAuB;IACpE,GAAG,4CAAiB;IACpB,WAAW,EAAE,8DAA8D;CAC3E,CAAC;AAEW,QAAA,iCAAiC,GAAuB;IACpE,WAAW,EAAE,oEAAoE;CACjF,CAAC;AAEW,QAAA,8BAA8B,GAAuB,IAAA,+BAAY,EAAC;IAC9E,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,sCAAsC;CACnD,CAAC,CAAC;AAEU,QAAA,mBAAmB,GAAuB;IACtD,WAAW,EACV,0FAA0F;QAC1F,+FAA+F;CAChG,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const retryExecutionPublicSchema: z.ZodObject<{
|
|
4
|
+
loadWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
loadWorkflow?: boolean | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
loadWorkflow?: boolean | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
declare const RetryExecutionPublicDto_base: import("../../zod-class").ZodClass<{
|
|
11
|
+
loadWorkflow?: boolean | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
loadWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
}>;
|
|
15
|
+
export declare class RetryExecutionPublicDto extends RetryExecutionPublicDto_base {
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetryExecutionPublicDto = exports.retryExecutionPublicSchema = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const retried_execution_public_openapi_1 = require("./retried-execution-public.openapi");
|
|
7
|
+
const zod_class_1 = require("../../zod-class");
|
|
8
|
+
exports.retryExecutionPublicSchema = zod_1.z.object({
|
|
9
|
+
loadWorkflow: zod_1.z.boolean().optional().openapi(retried_execution_public_openapi_1.loadWorkflowOpenApi),
|
|
10
|
+
});
|
|
11
|
+
class RetryExecutionPublicDto extends zod_class_1.Z.class(exports.retryExecutionPublicSchema.shape) {
|
|
12
|
+
}
|
|
13
|
+
exports.RetryExecutionPublicDto = RetryExecutionPublicDto;
|
|
14
|
+
//# sourceMappingURL=retry-execution-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retry-execution-public.dto.js","sourceRoot":"","sources":["../../../src/dto/executions/retry-execution-public.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAC9B,6BAAwB;AAExB,yFAAyE;AACzE,+CAAoC;AAEvB,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,sDAAmB,CAAC;CACjE,CAAC,CAAC;AAEH,6BAAqC,SAAQ,aAAC,CAAC,KAAK,CAAC,QAAA,0BAA0B,CAAC,KAAK,CAAC;CAAG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const STOPPABLE_PUBLIC_EXECUTION_STATUSES: readonly ['queued', 'running', 'waiting'];
|
|
4
|
+
export type StoppablePublicExecutionStatus = (typeof STOPPABLE_PUBLIC_EXECUTION_STATUSES)[number];
|
|
5
|
+
export declare const STOPPABLE_PUBLIC_TO_INTERNAL_STATUS: {
|
|
6
|
+
readonly queued: 'new';
|
|
7
|
+
readonly running: 'running';
|
|
8
|
+
readonly waiting: 'waiting';
|
|
9
|
+
};
|
|
10
|
+
declare const StopManyExecutionsPublicDto_base: import("../../zod-class").ZodClass<{
|
|
11
|
+
status: ("queued" | "running" | "waiting")[];
|
|
12
|
+
workflowId?: string | undefined;
|
|
13
|
+
startedAfter?: string | undefined;
|
|
14
|
+
startedBefore?: string | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
status: z.ZodArray<z.ZodEnum<["queued", "running", "waiting"]>, "many">;
|
|
17
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
startedAfter: z.ZodOptional<z.ZodString>;
|
|
19
|
+
startedBefore: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}>;
|
|
21
|
+
export declare class StopManyExecutionsPublicDto extends StopManyExecutionsPublicDto_base {
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopManyExecutionsPublicDto = exports.STOPPABLE_PUBLIC_TO_INTERNAL_STATUS = exports.STOPPABLE_PUBLIC_EXECUTION_STATUSES = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
exports.STOPPABLE_PUBLIC_EXECUTION_STATUSES = ['queued', 'running', 'waiting'];
|
|
8
|
+
exports.STOPPABLE_PUBLIC_TO_INTERNAL_STATUS = {
|
|
9
|
+
queued: 'new',
|
|
10
|
+
running: 'running',
|
|
11
|
+
waiting: 'waiting',
|
|
12
|
+
};
|
|
13
|
+
class StopManyExecutionsPublicDto extends zod_class_1.Z.class({
|
|
14
|
+
status: zod_1.z
|
|
15
|
+
.array(zod_1.z.enum(exports.STOPPABLE_PUBLIC_EXECUTION_STATUSES))
|
|
16
|
+
.min(1, 'must include at least one status')
|
|
17
|
+
.openapi({
|
|
18
|
+
description: 'Array of execution statuses to stop. Must include at least one status.',
|
|
19
|
+
example: ['queued', 'running', 'waiting'],
|
|
20
|
+
}),
|
|
21
|
+
workflowId: zod_1.z
|
|
22
|
+
.string()
|
|
23
|
+
.optional()
|
|
24
|
+
.openapi({
|
|
25
|
+
description: 'Optional workflow ID to filter executions. If not provided, will stop executions ' +
|
|
26
|
+
'across all accessible workflows. The literal value `all` has the same effect as ' +
|
|
27
|
+
'omitting it.',
|
|
28
|
+
example: '2tUt1wbLX592XDdX',
|
|
29
|
+
}),
|
|
30
|
+
startedAfter: zod_1.z.string().datetime({ offset: true }).optional().openapi({
|
|
31
|
+
description: 'Only stop executions that started after this time.',
|
|
32
|
+
example: '2024-01-01T00:00:00.000Z',
|
|
33
|
+
}),
|
|
34
|
+
startedBefore: zod_1.z.string().datetime({ offset: true }).optional().openapi({
|
|
35
|
+
description: 'Only stop executions that started before this time.',
|
|
36
|
+
example: '2024-12-31T23:59:59.999Z',
|
|
37
|
+
}),
|
|
38
|
+
}) {
|
|
39
|
+
}
|
|
40
|
+
exports.StopManyExecutionsPublicDto = StopManyExecutionsPublicDto;
|
|
41
|
+
//# sourceMappingURL=stop-many-executions-public.dto.js.map
|