@n8n/api-types 1.27.2 → 1.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/agent-files.constants.d.ts +2 -0
- package/dist/agents/agent-files.constants.js +3 -1
- package/dist/agents/agent-files.constants.js.map +1 -1
- package/dist/agents/agent-json-config.schema.js +1 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/index.d.ts +1 -0
- package/dist/agents/index.js +1 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +1168 -0
- package/dist/agents/rich-card.schema.js +116 -0
- package/dist/agents/rich-card.schema.js.map +1 -0
- package/dist/agents/types.d.ts +4 -0
- package/dist/agents/types.js +4 -1
- package/dist/agents/types.js.map +1 -1
- package/dist/api-keys.d.ts +4 -0
- package/dist/build.tsbuildinfo +1 -1
- package/dist/dto/ai/ai-build-request.dto.d.ts +21 -0
- package/dist/dto/ai/ai-gateway-config-response.dto.d.ts +8 -0
- package/dist/dto/ai/ai-gateway-config-response.dto.js +2 -0
- package/dist/dto/ai/ai-gateway-config-response.dto.js.map +1 -1
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +2 -0
- package/dist/dto/api-keys/list-api-keys-query.dto.js +11 -0
- package/dist/dto/api-keys/list-api-keys-query.dto.js.map +1 -1
- package/dist/dto/evaluations/dataset-row.dto.d.ts +58 -0
- package/dist/dto/evaluations/dataset-row.dto.js +16 -0
- package/dist/dto/evaluations/dataset-row.dto.js.map +1 -0
- package/dist/dto/evaluations/index.d.ts +1 -0
- package/dist/dto/evaluations/index.js +1 -0
- package/dist/dto/evaluations/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +3 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js +1 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.d.ts +2 -0
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js +1 -0
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js.map +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +2 -2
- package/dist/dto/packages/import-package-request.dto.js +1 -1
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/roles/create-role.dto.d.ts +2 -2
- package/dist/dto/roles/create-role.dto.js +1 -1
- package/dist/dto/roles/create-role.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +6 -6
- package/dist/dto/workflows/base-workflow.dto.d.ts +0 -10
- package/dist/dto/workflows/base-workflow.dto.js +0 -1
- package/dist/dto/workflows/base-workflow.dto.js.map +1 -1
- package/dist/dto/workflows/create-workflow.dto.d.ts +0 -14
- package/dist/dto/workflows/update-workflow.dto.d.ts +0 -14
- package/dist/frontend-settings.d.ts +7 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +20 -3
- package/dist/index.js.map +1 -1
- package/dist/push/instance-ai.d.ts +4 -0
- package/dist/schemas/agent-run-reducer.d.ts +4 -25
- package/dist/schemas/agent-run-reducer.js +89 -139
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/encryption-key.schema.d.ts +2 -2
- package/dist/schemas/instance-ai.schema.d.ts +154 -5
- package/dist/schemas/instance-ai.schema.js +30 -4
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/llm-step-display.d.ts +65 -0
- package/dist/schemas/llm-step-display.js +625 -0
- package/dist/schemas/llm-step-display.js.map +1 -0
- package/dist/schemas/source-controlled-file.schema.d.ts +4 -4
- package/dist/schemas/user.schema.d.ts +2 -2
- package/package.json +6 -8
|
@@ -34,13 +34,13 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
34
34
|
}>>;
|
|
35
35
|
publishingError: z.ZodOptional<z.ZodString>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
type: "credential" | "workflow" | "
|
|
37
|
+
type: "credential" | "workflow" | "file" | "tags" | "variables" | "folders" | "project" | "datatable";
|
|
38
38
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
39
39
|
name: string;
|
|
40
40
|
id: string;
|
|
41
41
|
updatedAt: string;
|
|
42
|
-
location: "local" | "remote";
|
|
43
42
|
file: string;
|
|
43
|
+
location: "local" | "remote";
|
|
44
44
|
conflict: boolean;
|
|
45
45
|
pushed?: boolean | undefined;
|
|
46
46
|
isLocalPublished?: boolean | undefined;
|
|
@@ -54,13 +54,13 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
54
54
|
} | undefined;
|
|
55
55
|
publishingError?: string | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
type: "credential" | "workflow" | "
|
|
57
|
+
type: "credential" | "workflow" | "file" | "tags" | "variables" | "folders" | "project" | "datatable";
|
|
58
58
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
59
59
|
name: string;
|
|
60
60
|
id: string;
|
|
61
61
|
updatedAt: string;
|
|
62
|
-
location: "local" | "remote";
|
|
63
62
|
file: string;
|
|
63
|
+
location: "local" | "remote";
|
|
64
64
|
conflict: boolean;
|
|
65
65
|
pushed?: boolean | undefined;
|
|
66
66
|
isLocalPublished?: boolean | undefined;
|
|
@@ -381,7 +381,6 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
381
381
|
isManagedByEnv?: boolean | undefined;
|
|
382
382
|
}>, "many">;
|
|
383
383
|
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
count: number;
|
|
385
384
|
items: {
|
|
386
385
|
id: string;
|
|
387
386
|
settings?: {
|
|
@@ -420,8 +419,8 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
420
419
|
inviteAcceptUrl?: string | undefined;
|
|
421
420
|
isManagedByEnv?: boolean | undefined;
|
|
422
421
|
}[];
|
|
423
|
-
}, {
|
|
424
422
|
count: number;
|
|
423
|
+
}, {
|
|
425
424
|
items: {
|
|
426
425
|
id: string;
|
|
427
426
|
settings?: {
|
|
@@ -460,6 +459,7 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
460
459
|
inviteAcceptUrl?: string | undefined;
|
|
461
460
|
isManagedByEnv?: boolean | undefined;
|
|
462
461
|
}[];
|
|
462
|
+
count: number;
|
|
463
463
|
}>;
|
|
464
464
|
export type User = z.infer<typeof userDetailSchema>;
|
|
465
465
|
export type UsersList = z.infer<typeof usersListSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/api-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,18 +13,16 @@
|
|
|
13
13
|
"@vitest/coverage-v8": "4.1.1",
|
|
14
14
|
"vitest": "^4.1.1",
|
|
15
15
|
"vitest-mock-extended": "^3.1.0",
|
|
16
|
-
"
|
|
16
|
+
"minifaker": "1.34.1",
|
|
17
17
|
"@n8n/typescript-config": "1.6.1",
|
|
18
|
-
"@n8n/config": "2.
|
|
18
|
+
"@n8n/config": "2.26.0",
|
|
19
19
|
"@n8n/vitest-config": "1.15.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"xss": "1.0.15",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"peerDependencies": {
|
|
27
|
-
"zod": "3.25.67"
|
|
23
|
+
"zod": "3.25.67",
|
|
24
|
+
"n8n-workflow": "2.28.1",
|
|
25
|
+
"@n8n/permissions": "0.65.0"
|
|
28
26
|
},
|
|
29
27
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
28
|
"homepage": "https://n8n.io",
|