@n8n/api-types 0.19.0 → 0.20.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/dto/credentials/create-credential.dto.js +1 -1
- package/dist/dto/credentials/create-credential.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +3 -3
- package/dist/schemas/source-controlled-file.schema.d.ts +4 -4
- package/dist/schemas/source-controlled-file.schema.js +1 -1
- package/dist/schemas/source-controlled-file.schema.js.map +1 -1
- package/package.json +5 -5
|
@@ -5,7 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const zod_class_1 = require("zod-class");
|
|
6
6
|
class CreateCredentialDto extends zod_class_1.Z.class({
|
|
7
7
|
name: zod_1.z.string().min(1).max(128),
|
|
8
|
-
type: zod_1.z.string().min(1).max(
|
|
8
|
+
type: zod_1.z.string().min(1).max(128),
|
|
9
9
|
data: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
10
10
|
projectId: zod_1.z.string().optional(),
|
|
11
11
|
}) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-credential.dto.js","sourceRoot":"","sources":["../../../src/dto/credentials/create-credential.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,mBAAoB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAChD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"create-credential.dto.js","sourceRoot":"","sources":["../../../src/dto/credentials/create-credential.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,mBAAoB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAChD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC;IACvC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC;CAAG;AALL,kDAKK"}
|
|
@@ -7,7 +7,7 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
7
7
|
file: z.ZodString;
|
|
8
8
|
id: z.ZodString;
|
|
9
9
|
name: z.ZodString;
|
|
10
|
-
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file"]>;
|
|
10
|
+
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders"]>;
|
|
11
11
|
status: z.ZodEnum<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
12
12
|
location: z.ZodEnum<["local", "remote"]>;
|
|
13
13
|
conflict: z.ZodBoolean;
|
|
@@ -15,7 +15,7 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
15
15
|
pushed: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
18
|
-
type: "credential" | "workflow" | "tags" | "variables" | "file";
|
|
18
|
+
type: "credential" | "workflow" | "tags" | "variables" | "file" | "folders";
|
|
19
19
|
name: string;
|
|
20
20
|
location: "local" | "remote";
|
|
21
21
|
file: string;
|
|
@@ -25,7 +25,7 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
25
25
|
pushed?: boolean | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
28
|
-
type: "credential" | "workflow" | "tags" | "variables" | "file";
|
|
28
|
+
type: "credential" | "workflow" | "tags" | "variables" | "file" | "folders";
|
|
29
29
|
name: string;
|
|
30
30
|
location: "local" | "remote";
|
|
31
31
|
file: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const SOURCE_CONTROL_FILE_TYPE: z.Values<["credential", "workflow", "tags", "variables", "file"]>;
|
|
2
|
+
export declare const SOURCE_CONTROL_FILE_TYPE: z.Values<["credential", "workflow", "tags", "variables", "file", "folders"]>;
|
|
3
3
|
export declare const SOURCE_CONTROL_FILE_STATUS: z.Values<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
4
4
|
export declare const SOURCE_CONTROL_FILE_LOCATION: z.Values<["local", "remote"]>;
|
|
5
5
|
export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
6
6
|
file: z.ZodString;
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
name: z.ZodString;
|
|
9
|
-
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file"]>;
|
|
9
|
+
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders"]>;
|
|
10
10
|
status: z.ZodEnum<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
11
11
|
location: z.ZodEnum<["local", "remote"]>;
|
|
12
12
|
conflict: z.ZodBoolean;
|
|
@@ -14,7 +14,7 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
14
14
|
pushed: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
17
|
-
type: "credential" | "workflow" | "tags" | "variables" | "file";
|
|
17
|
+
type: "credential" | "workflow" | "tags" | "variables" | "file" | "folders";
|
|
18
18
|
name: string;
|
|
19
19
|
location: "local" | "remote";
|
|
20
20
|
file: string;
|
|
@@ -24,7 +24,7 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
24
24
|
pushed?: boolean | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
27
|
-
type: "credential" | "workflow" | "tags" | "variables" | "file";
|
|
27
|
+
type: "credential" | "workflow" | "tags" | "variables" | "file" | "folders";
|
|
28
28
|
name: string;
|
|
29
29
|
location: "local" | "remote";
|
|
30
30
|
file: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SourceControlledFileSchema = exports.SOURCE_CONTROL_FILE_LOCATION = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_TYPE = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const FileTypeSchema = zod_1.z.enum(['credential', 'workflow', 'tags', 'variables', 'file']);
|
|
5
|
+
const FileTypeSchema = zod_1.z.enum(['credential', 'workflow', 'tags', 'variables', 'file', 'folders']);
|
|
6
6
|
exports.SOURCE_CONTROL_FILE_TYPE = FileTypeSchema.Values;
|
|
7
7
|
const FileStatusSchema = zod_1.z.enum([
|
|
8
8
|
'new',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-controlled-file.schema.js","sourceRoot":"","sources":["../../src/schemas/source-controlled-file.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"source-controlled-file.schema.js","sourceRoot":"","sources":["../../src/schemas/source-controlled-file.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AACrF,QAAA,wBAAwB,GAAG,cAAc,CAAC,MAAM,CAAC;AAE9D,MAAM,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC/B,KAAK;IACL,UAAU;IACV,SAAS;IACT,SAAS;IACT,SAAS;IACT,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,SAAS;CACT,CAAC,CAAC;AACU,QAAA,0BAA0B,GAAG,gBAAgB,CAAC,MAAM,CAAC;AAElE,MAAM,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC1C,QAAA,4BAA4B,GAAG,kBAAkB,CAAC,MAAM,CAAC;AAEzD,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,cAAc;IACpB,MAAM,EAAE,gBAAgB;IACxB,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/**/*",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"LICENSE.md",
|
|
10
|
+
"LICENSE_EE.md"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@n8n/typescript-config": "1.2.0",
|
|
14
|
-
"@n8n/config": "1.
|
|
14
|
+
"@n8n/config": "1.33.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"xss": "1.0.15",
|
|
18
18
|
"zod": "3.24.1",
|
|
19
19
|
"zod-class": "0.0.16",
|
|
20
|
-
"n8n-workflow": "1.
|
|
20
|
+
"n8n-workflow": "1.83.0"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"homepage": "https://n8n.io",
|