@n8n/api-types 1.1.0 → 1.2.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/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +7 -1
- package/dist/chat-hub.js +1 -1
- package/dist/chat-hub.js.map +1 -1
- package/dist/dto/ai/ai-build-request.dto.d.ts +5 -2
- package/dist/dto/ai/ai-build-request.dto.js +1 -0
- package/dist/dto/ai/ai-build-request.dto.js.map +1 -1
- package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +9 -0
- package/dist/dto/ai/ai-truncate-messages-request.dto.js +12 -0
- package/dist/dto/ai/ai-truncate-messages-request.dto.js.map +1 -0
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.js +6 -2
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/invitation/invite-users-request.dto.d.ts +2 -2
- package/dist/dto/project/add-users-to-project.dto.d.ts +2 -2
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- package/dist/dto/workflow-history/workflow-history-versions-by-ids.dto.d.ts +8 -0
- package/dist/dto/workflow-history/workflow-history-versions-by-ids.dto.js +11 -0
- package/dist/dto/workflow-history/workflow-history-versions-by-ids.dto.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/project.schema.d.ts +2 -2
- package/dist/schemas/usage.schema.d.ts +14 -14
- package/dist/schemas/user.schema.d.ts +20 -20
- package/dist/schemas/workflow-execution-status.schema.d.ts +5 -0
- package/dist/schemas/workflow-execution-status.schema.js +1 -0
- package/dist/schemas/workflow-execution-status.schema.js.map +1 -1
- package/package.json +5 -5
|
@@ -3,16 +3,19 @@ export declare const WorkflowExecutionStatusSchema: z.ZodObject<{
|
|
|
3
3
|
workflowId: z.ZodString;
|
|
4
4
|
credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
5
|
credentialId: z.ZodString;
|
|
6
|
+
credentialName: z.ZodString;
|
|
6
7
|
credentialType: z.ZodString;
|
|
7
8
|
credentialStatus: z.ZodEnum<["missing", "configured"]>;
|
|
8
9
|
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
10
11
|
credentialId: string;
|
|
12
|
+
credentialName: string;
|
|
11
13
|
credentialType: string;
|
|
12
14
|
credentialStatus: "missing" | "configured";
|
|
13
15
|
authorizationUrl?: string | undefined;
|
|
14
16
|
}, {
|
|
15
17
|
credentialId: string;
|
|
18
|
+
credentialName: string;
|
|
16
19
|
credentialType: string;
|
|
17
20
|
credentialStatus: "missing" | "configured";
|
|
18
21
|
authorizationUrl?: string | undefined;
|
|
@@ -23,6 +26,7 @@ export declare const WorkflowExecutionStatusSchema: z.ZodObject<{
|
|
|
23
26
|
readyToExecute: boolean;
|
|
24
27
|
credentials?: {
|
|
25
28
|
credentialId: string;
|
|
29
|
+
credentialName: string;
|
|
26
30
|
credentialType: string;
|
|
27
31
|
credentialStatus: "missing" | "configured";
|
|
28
32
|
authorizationUrl?: string | undefined;
|
|
@@ -32,6 +36,7 @@ export declare const WorkflowExecutionStatusSchema: z.ZodObject<{
|
|
|
32
36
|
readyToExecute: boolean;
|
|
33
37
|
credentials?: {
|
|
34
38
|
credentialId: string;
|
|
39
|
+
credentialName: string;
|
|
35
40
|
credentialType: string;
|
|
36
41
|
credentialStatus: "missing" | "configured";
|
|
37
42
|
authorizationUrl?: string | undefined;
|
|
@@ -7,6 +7,7 @@ exports.WorkflowExecutionStatusSchema = zod_1.z.object({
|
|
|
7
7
|
credentials: zod_1.z
|
|
8
8
|
.array(zod_1.z.object({
|
|
9
9
|
credentialId: zod_1.z.string(),
|
|
10
|
+
credentialName: zod_1.z.string(),
|
|
10
11
|
credentialType: zod_1.z.string(),
|
|
11
12
|
credentialStatus: zod_1.z.enum(['missing', 'configured']),
|
|
12
13
|
authorizationUrl: zod_1.z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-execution-status.schema.js","sourceRoot":"","sources":["../../src/schemas/workflow-execution-status.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,WAAW,EAAE,OAAC;SACZ,KAAK,CACL,OAAC,CAAC,MAAM,CAAC;QACR,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;QACxB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;QAC1B,gBAAgB,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QACnD,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACvC,CAAC,CACF;SACA,QAAQ,EAAE;IACZ,cAAc,EAAE,OAAC,CAAC,OAAO,EAAE;CAC3B,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"workflow-execution-status.schema.js","sourceRoot":"","sources":["../../src/schemas/workflow-execution-status.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,WAAW,EAAE,OAAC;SACZ,KAAK,CACL,OAAC,CAAC,MAAM,CAAC;QACR,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;QACxB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;QAC1B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;QAC1B,gBAAgB,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QACnD,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACvC,CAAC,CACF;SACA,QAAQ,EAAE;IACZ,cAAc,EAAE,OAAC,CAAC,OAAO,EAAE;CAC3B,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/api-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"LICENSE_EE.md"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@n8n/config": "
|
|
14
|
-
"@n8n/
|
|
13
|
+
"@n8n/typescript-config": "1.3.0",
|
|
14
|
+
"@n8n/config": "2.1.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"xss": "1.0.15",
|
|
18
18
|
"zod": "3.25.67",
|
|
19
19
|
"zod-class": "0.0.16",
|
|
20
|
-
"n8n-workflow": "2.
|
|
21
|
-
"@n8n/permissions": "0.
|
|
20
|
+
"n8n-workflow": "2.2.0",
|
|
21
|
+
"@n8n/permissions": "0.45.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"homepage": "https://n8n.io",
|