@n8n/api-types 0.51.1 → 0.52.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 +190 -46
- package/dist/chat-hub.js +27 -5
- package/dist/chat-hub.js.map +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +1 -1
- package/dist/dto/folders/list-folder-query.dto.d.ts +1 -1
- package/dist/dto/index.d.ts +1 -1
- package/dist/dto/index.js +2 -1
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/provisioning/config.dto.d.ts +10 -0
- package/dist/dto/provisioning/config.dto.js +14 -1
- package/dist/dto/provisioning/config.dto.js.map +1 -1
- package/dist/dto/saml/saml-preferences.dto.d.ts +3 -0
- package/dist/dto/saml/saml-preferences.dto.js +1 -0
- package/dist/dto/saml/saml-preferences.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +2 -2
- package/dist/frontend-settings.d.ts +30 -28
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/data-table.schema.d.ts +2 -2
- package/dist/schemas/source-controlled-file.schema.d.ts +2 -2
- package/dist/schemas/user.schema.d.ts +12 -12
- package/package.json +4 -4
|
@@ -62,8 +62,8 @@ export declare const dataTableSchema: z.ZodObject<{
|
|
|
62
62
|
createdAt: z.ZodString;
|
|
63
63
|
updatedAt: z.ZodString;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
id: string;
|
|
66
65
|
name: string;
|
|
66
|
+
id: string;
|
|
67
67
|
createdAt: string;
|
|
68
68
|
updatedAt: string;
|
|
69
69
|
columns: {
|
|
@@ -73,8 +73,8 @@ export declare const dataTableSchema: z.ZodObject<{
|
|
|
73
73
|
index?: number | undefined;
|
|
74
74
|
}[];
|
|
75
75
|
}, {
|
|
76
|
-
id: string;
|
|
77
76
|
name: string;
|
|
77
|
+
id: string;
|
|
78
78
|
createdAt: string;
|
|
79
79
|
updatedAt: string;
|
|
80
80
|
columns: {
|
|
@@ -28,8 +28,8 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
30
30
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
31
|
-
id: string;
|
|
32
31
|
name: string;
|
|
32
|
+
id: string;
|
|
33
33
|
updatedAt: string;
|
|
34
34
|
file: string;
|
|
35
35
|
location: "local" | "remote";
|
|
@@ -43,8 +43,8 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
43
43
|
}, {
|
|
44
44
|
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
45
45
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
46
|
-
id: string;
|
|
47
46
|
name: string;
|
|
47
|
+
id: string;
|
|
48
48
|
updatedAt: string;
|
|
49
49
|
file: string;
|
|
50
50
|
location: "local" | "remote";
|
|
@@ -12,12 +12,12 @@ export declare const userProjectSchema: z.ZodObject<{
|
|
|
12
12
|
role: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["project:personalOwner"]>, z.ZodEnum<["project:admin", "project:editor", "project:viewer"]>]>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
13
13
|
name: z.ZodString;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
id: string;
|
|
16
15
|
name: string;
|
|
16
|
+
id: string;
|
|
17
17
|
role: string;
|
|
18
18
|
}, {
|
|
19
|
-
id: string;
|
|
20
19
|
name: string;
|
|
20
|
+
id: string;
|
|
21
21
|
role: string;
|
|
22
22
|
}>;
|
|
23
23
|
export declare const userBaseSchema: z.ZodObject<{
|
|
@@ -121,12 +121,12 @@ export declare const userDetailSchema: z.ZodObject<{
|
|
|
121
121
|
role: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["project:personalOwner"]>, z.ZodEnum<["project:admin", "project:editor", "project:viewer"]>]>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
122
122
|
name: z.ZodString;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
id: string;
|
|
125
124
|
name: string;
|
|
125
|
+
id: string;
|
|
126
126
|
role: string;
|
|
127
127
|
}, {
|
|
128
|
-
id: string;
|
|
129
128
|
name: string;
|
|
129
|
+
id: string;
|
|
130
130
|
role: string;
|
|
131
131
|
}>, "many">>>;
|
|
132
132
|
mfaEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -159,8 +159,8 @@ export declare const userDetailSchema: z.ZodObject<{
|
|
|
159
159
|
mfaEnabled?: boolean | undefined;
|
|
160
160
|
isOwner?: boolean | undefined;
|
|
161
161
|
projectRelations?: {
|
|
162
|
-
id: string;
|
|
163
162
|
name: string;
|
|
163
|
+
id: string;
|
|
164
164
|
role: string;
|
|
165
165
|
}[] | null | undefined;
|
|
166
166
|
isPending?: boolean | undefined;
|
|
@@ -195,8 +195,8 @@ export declare const userDetailSchema: z.ZodObject<{
|
|
|
195
195
|
mfaEnabled?: boolean | undefined;
|
|
196
196
|
isOwner?: boolean | undefined;
|
|
197
197
|
projectRelations?: {
|
|
198
|
-
id: string;
|
|
199
198
|
name: string;
|
|
199
|
+
id: string;
|
|
200
200
|
role: string;
|
|
201
201
|
}[] | null | undefined;
|
|
202
202
|
isPending?: boolean | undefined;
|
|
@@ -289,12 +289,12 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
289
289
|
role: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["project:personalOwner"]>, z.ZodEnum<["project:admin", "project:editor", "project:viewer"]>]>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
290
290
|
name: z.ZodString;
|
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
id: string;
|
|
293
292
|
name: string;
|
|
293
|
+
id: string;
|
|
294
294
|
role: string;
|
|
295
295
|
}, {
|
|
296
|
-
id: string;
|
|
297
296
|
name: string;
|
|
297
|
+
id: string;
|
|
298
298
|
role: string;
|
|
299
299
|
}>, "many">>>;
|
|
300
300
|
mfaEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -327,8 +327,8 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
327
327
|
mfaEnabled?: boolean | undefined;
|
|
328
328
|
isOwner?: boolean | undefined;
|
|
329
329
|
projectRelations?: {
|
|
330
|
-
id: string;
|
|
331
330
|
name: string;
|
|
331
|
+
id: string;
|
|
332
332
|
role: string;
|
|
333
333
|
}[] | null | undefined;
|
|
334
334
|
isPending?: boolean | undefined;
|
|
@@ -363,8 +363,8 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
363
363
|
mfaEnabled?: boolean | undefined;
|
|
364
364
|
isOwner?: boolean | undefined;
|
|
365
365
|
projectRelations?: {
|
|
366
|
-
id: string;
|
|
367
366
|
name: string;
|
|
367
|
+
id: string;
|
|
368
368
|
role: string;
|
|
369
369
|
}[] | null | undefined;
|
|
370
370
|
isPending?: boolean | undefined;
|
|
@@ -402,8 +402,8 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
402
402
|
mfaEnabled?: boolean | undefined;
|
|
403
403
|
isOwner?: boolean | undefined;
|
|
404
404
|
projectRelations?: {
|
|
405
|
-
id: string;
|
|
406
405
|
name: string;
|
|
406
|
+
id: string;
|
|
407
407
|
role: string;
|
|
408
408
|
}[] | null | undefined;
|
|
409
409
|
isPending?: boolean | undefined;
|
|
@@ -441,8 +441,8 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
441
441
|
mfaEnabled?: boolean | undefined;
|
|
442
442
|
isOwner?: boolean | undefined;
|
|
443
443
|
projectRelations?: {
|
|
444
|
-
id: string;
|
|
445
444
|
name: string;
|
|
445
|
+
id: string;
|
|
446
446
|
role: string;
|
|
447
447
|
}[] | null | undefined;
|
|
448
448
|
isPending?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@n8n/typescript-config": "1.3.0",
|
|
14
|
-
"@n8n/config": "1.
|
|
14
|
+
"@n8n/config": "1.60.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
|
-
"
|
|
21
|
-
"n8n
|
|
20
|
+
"n8n-workflow": "1.115.0",
|
|
21
|
+
"@n8n/permissions": "0.40.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"homepage": "https://n8n.io",
|