@n8n/api-types 1.30.2 → 1.31.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/agent-builder-interactive.d.ts +5 -182
- package/dist/agent-builder-interactive.js +6 -50
- package/dist/agent-builder-interactive.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +262 -0
- package/dist/agents/agent-interaction.schema.js +56 -0
- package/dist/agents/agent-interaction.schema.js.map +1 -0
- package/dist/agents/agent-json-config.schema.d.ts +1878 -752
- package/dist/agents/agent-json-config.schema.js +82 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +232 -103
- package/dist/agents/dto.js +8 -3
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +2 -1
- package/dist/agents/index.js +2 -11
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +108 -108
- package/dist/agents/types.d.ts +39 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +85 -85
- package/dist/dto/ai/ai-ask-request.dto.d.ts +13 -13
- package/dist/dto/ai/ai-build-request.dto.d.ts +3 -3
- package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +1 -1
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
- package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/base-dynamic-parameters-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +1 -1
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.js +7 -3
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/insights/list-workflow-query.dto.d.ts +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +8 -8
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +1 -1
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/oidc/config.dto.d.ts +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +11 -5
- package/dist/dto/packages/import-package-request.dto.js +19 -19
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- package/dist/dto/roles/role-member.schema.d.ts +2 -2
- package/dist/dto/roles/role-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/role-project-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/update-role.dto.d.ts +1 -1
- package/dist/dto/security-settings/security-policy.dto.d.ts +32 -0
- package/dist/dto/security-settings/security-policy.dto.js +17 -0
- package/dist/dto/security-settings/security-policy.dto.js.map +1 -0
- package/dist/dto/security-settings/security-settings.dto.d.ts +20 -0
- package/dist/dto/security-settings/security-settings.dto.js +4 -0
- package/dist/dto/security-settings/security-settings.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +9 -9
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
- package/dist/dto/workflow-history/update-workflow-history-version.dto.d.ts +1 -1
- package/dist/dto/workflows/activate-workflow.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow.dto.d.ts +7 -7
- package/dist/dto/workflows/create-workflow.dto.d.ts +8 -8
- package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +1 -1
- package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +1 -1
- package/dist/dto/workflows/manual-run.dto.d.ts +112 -0
- package/dist/dto/workflows/manual-run.dto.js +51 -0
- package/dist/dto/workflows/manual-run.dto.js.map +1 -0
- package/dist/dto/workflows/update-workflow.dto.d.ts +8 -8
- package/dist/frontend-settings.d.ts +4 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +16 -16
- package/dist/schemas/agent-run-reducer.js +61 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +128 -128
- package/dist/schemas/credential-resolver.schema.d.ts +8 -8
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +6 -6
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/eval-collections.schema.d.ts +3 -3
- package/dist/schemas/favorites.schema.d.ts +2 -2
- package/dist/schemas/favorites.schema.js +7 -1
- package/dist/schemas/favorites.schema.js.map +1 -1
- package/dist/schemas/insights.schema.d.ts +22 -22
- package/dist/schemas/instance-ai.schema.d.ts +599 -419
- package/dist/schemas/instance-ai.schema.js +55 -8
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +16 -16
- package/dist/schemas/source-controlled-file.schema.d.ts +6 -6
- package/dist/schemas/user.schema.d.ts +18 -18
- package/dist/schemas/workflow-execution-status.schema.d.ts +4 -4
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -2
- package/dist/workflow-reviews-policy.d.ts +9 -0
- package/dist/workflow-reviews-policy.js +8 -0
- package/dist/workflow-reviews-policy.js.map +1 -0
- package/package.json +7 -6
|
@@ -9,16 +9,16 @@ export declare const WorkflowExecutionStatusSchema: z.ZodObject<{
|
|
|
9
9
|
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
10
10
|
revokeUrl: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
credentialType: string;
|
|
12
13
|
credentialId: string;
|
|
13
14
|
credentialName: string;
|
|
14
|
-
credentialType: string;
|
|
15
15
|
credentialStatus: "missing" | "configured" | "resolver_missing";
|
|
16
16
|
authorizationUrl?: string | undefined;
|
|
17
17
|
revokeUrl?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
+
credentialType: string;
|
|
19
20
|
credentialId: string;
|
|
20
21
|
credentialName: string;
|
|
21
|
-
credentialType: string;
|
|
22
22
|
credentialStatus: "missing" | "configured" | "resolver_missing";
|
|
23
23
|
authorizationUrl?: string | undefined;
|
|
24
24
|
revokeUrl?: string | undefined;
|
|
@@ -28,9 +28,9 @@ export declare const WorkflowExecutionStatusSchema: z.ZodObject<{
|
|
|
28
28
|
workflowId: string;
|
|
29
29
|
readyToExecute: boolean;
|
|
30
30
|
credentials?: {
|
|
31
|
+
credentialType: string;
|
|
31
32
|
credentialId: string;
|
|
32
33
|
credentialName: string;
|
|
33
|
-
credentialType: string;
|
|
34
34
|
credentialStatus: "missing" | "configured" | "resolver_missing";
|
|
35
35
|
authorizationUrl?: string | undefined;
|
|
36
36
|
revokeUrl?: string | undefined;
|
|
@@ -39,9 +39,9 @@ export declare const WorkflowExecutionStatusSchema: z.ZodObject<{
|
|
|
39
39
|
workflowId: string;
|
|
40
40
|
readyToExecute: boolean;
|
|
41
41
|
credentials?: {
|
|
42
|
+
credentialType: string;
|
|
42
43
|
credentialId: string;
|
|
43
44
|
credentialName: string;
|
|
44
|
-
credentialType: string;
|
|
45
45
|
credentialStatus: "missing" | "configured" | "resolver_missing";
|
|
46
46
|
authorizationUrl?: string | undefined;
|
|
47
47
|
revokeUrl?: string | undefined;
|
|
@@ -17,7 +17,7 @@ export declare const WorkflowPublicationStatusSchema: z.ZodObject<{
|
|
|
17
17
|
errorMessage: string | null;
|
|
18
18
|
}>, "many">;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
status: "
|
|
20
|
+
status: "in_progress" | "failed" | "published" | "partial" | "not_published";
|
|
21
21
|
liveVersionId: string | null;
|
|
22
22
|
pendingVersionId: string | null;
|
|
23
23
|
triggers: {
|
|
@@ -26,7 +26,7 @@ export declare const WorkflowPublicationStatusSchema: z.ZodObject<{
|
|
|
26
26
|
errorMessage: string | null;
|
|
27
27
|
}[];
|
|
28
28
|
}, {
|
|
29
|
-
status: "
|
|
29
|
+
status: "in_progress" | "failed" | "published" | "partial" | "not_published";
|
|
30
30
|
liveVersionId: string | null;
|
|
31
31
|
pendingVersionId: string | null;
|
|
32
32
|
triggers: {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const workflowReviewsPolicySchema: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodBoolean;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
}, {
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
export type WorkflowReviewsPolicy = z.infer<typeof workflowReviewsPolicySchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.workflowReviewsPolicySchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.workflowReviewsPolicySchema = zod_1.z.object({
|
|
6
|
+
enabled: zod_1.z.boolean(),
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=workflow-reviews-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-reviews-policy.js","sourceRoot":"","sources":["../src/workflow-reviews-policy.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/api-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,20 +11,21 @@
|
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@vitest/coverage-v8": "4.1.9",
|
|
14
|
+
"typescript": "6.0.2",
|
|
14
15
|
"vite": "^8.0.2",
|
|
15
16
|
"vitest": "^4.1.9",
|
|
16
17
|
"vitest-mock-extended": "^3.1.0",
|
|
17
18
|
"minifaker": "1.34.1",
|
|
18
19
|
"zod": "3.25.67",
|
|
19
|
-
"@n8n/config": "
|
|
20
|
-
"@n8n/
|
|
21
|
-
"@n8n/
|
|
20
|
+
"@n8n/typescript-config": "1.9.0",
|
|
21
|
+
"@n8n/vitest-config": "1.18.0",
|
|
22
|
+
"@n8n/config": "2.29.0"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"@n8n_io/ai-assistant-sdk": "1.24.0",
|
|
25
26
|
"xss": "1.0.15",
|
|
26
|
-
"n8n-workflow": "2.
|
|
27
|
-
"@n8n/permissions": "0.
|
|
27
|
+
"n8n-workflow": "2.31.0",
|
|
28
|
+
"@n8n/permissions": "0.68.0"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"zod": "3.25.67"
|