@n8n/api-types 0.26.0 → 0.27.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.
@@ -2,6 +2,7 @@ import { Z } from 'zod-class';
2
2
  declare const CredentialsGetManyRequestQuery_base: Z.Class<{
3
3
  includeScopes: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "true" | "false">>;
4
4
  includeData: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "true" | "false">>;
5
+ onlySharedWithMe: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "true" | "false">>;
5
6
  }>;
6
7
  export declare class CredentialsGetManyRequestQuery extends CredentialsGetManyRequestQuery_base {
7
8
  }
@@ -6,6 +6,7 @@ const booleanFromString_1 = require("../../schemas/booleanFromString");
6
6
  class CredentialsGetManyRequestQuery extends zod_class_1.Z.class({
7
7
  includeScopes: booleanFromString_1.booleanFromString.optional(),
8
8
  includeData: booleanFromString_1.booleanFromString.optional(),
9
+ onlySharedWithMe: booleanFromString_1.booleanFromString.optional(),
9
10
  }) {
10
11
  }
11
12
  exports.CredentialsGetManyRequestQuery = CredentialsGetManyRequestQuery;
@@ -1 +1 @@
1
- {"version":3,"file":"credentials-get-many-request.dto.js","sourceRoot":"","sources":["../../../src/dto/credentials/credentials-get-many-request.dto.ts"],"names":[],"mappings":";;;AAAA,yCAA8B;AAE9B,uEAAoE;AAEpE,MAAa,8BAA+B,SAAQ,aAAC,CAAC,KAAK,CAAC;IAM3D,aAAa,EAAE,qCAAiB,CAAC,QAAQ,EAAE;IAU3C,WAAW,EAAE,qCAAiB,CAAC,QAAQ,EAAE;CACzC,CAAC;CAAG;AAjBL,wEAiBK"}
1
+ {"version":3,"file":"credentials-get-many-request.dto.js","sourceRoot":"","sources":["../../../src/dto/credentials/credentials-get-many-request.dto.ts"],"names":[],"mappings":";;;AAAA,yCAA8B;AAE9B,uEAAoE;AAEpE,MAAa,8BAA+B,SAAQ,aAAC,CAAC,KAAK,CAAC;IAM3D,aAAa,EAAE,qCAAiB,CAAC,QAAQ,EAAE;IAU3C,WAAW,EAAE,qCAAiB,CAAC,QAAQ,EAAE;IAEzC,gBAAgB,EAAE,qCAAiB,CAAC,QAAQ,EAAE;CAC9C,CAAC;CAAG;AAnBL,wEAmBK"}
@@ -4,7 +4,7 @@ export type Collaborator = {
4
4
  user: MinimalUser;
5
5
  lastSeen: Iso8601DateTimeString;
6
6
  };
7
- type CollaboratorsChanged = {
7
+ export type CollaboratorsChanged = {
8
8
  type: 'collaboratorsChanged';
9
9
  data: {
10
10
  workflowId: string;
@@ -12,4 +12,3 @@ type CollaboratorsChanged = {
12
12
  };
13
13
  };
14
14
  export type CollaborationPushMessage = CollaboratorsChanged;
15
- export {};
@@ -1,4 +1,4 @@
1
- type SendConsoleMessage = {
1
+ export type SendConsoleMessage = {
2
2
  type: 'sendConsoleMessage';
3
3
  data: {
4
4
  source: string;
@@ -6,4 +6,3 @@ type SendConsoleMessage = {
6
6
  };
7
7
  };
8
8
  export type DebugPushMessage = SendConsoleMessage;
9
- export {};
@@ -1,5 +1,5 @@
1
1
  import type { ExecutionStatus, ITaskData, ITaskStartedData, WorkflowExecuteMode } from 'n8n-workflow';
2
- type ExecutionStarted = {
2
+ export type ExecutionStarted = {
3
3
  type: 'executionStarted';
4
4
  data: {
5
5
  executionId: string;
@@ -11,13 +11,13 @@ type ExecutionStarted = {
11
11
  flattedRunData: string;
12
12
  };
13
13
  };
14
- type ExecutionWaiting = {
14
+ export type ExecutionWaiting = {
15
15
  type: 'executionWaiting';
16
16
  data: {
17
17
  executionId: string;
18
18
  };
19
19
  };
20
- type ExecutionFinished = {
20
+ export type ExecutionFinished = {
21
21
  type: 'executionFinished';
22
22
  data: {
23
23
  executionId: string;
@@ -26,13 +26,13 @@ type ExecutionFinished = {
26
26
  rawData?: string;
27
27
  };
28
28
  };
29
- type ExecutionRecovered = {
29
+ export type ExecutionRecovered = {
30
30
  type: 'executionRecovered';
31
31
  data: {
32
32
  executionId: string;
33
33
  };
34
34
  };
35
- type NodeExecuteBefore = {
35
+ export type NodeExecuteBefore = {
36
36
  type: 'nodeExecuteBefore';
37
37
  data: {
38
38
  executionId: string;
@@ -40,7 +40,7 @@ type NodeExecuteBefore = {
40
40
  data: ITaskStartedData;
41
41
  };
42
42
  };
43
- type NodeExecuteAfter = {
43
+ export type NodeExecuteAfter = {
44
44
  type: 'nodeExecuteAfter';
45
45
  data: {
46
46
  executionId: string;
@@ -50,4 +50,3 @@ type NodeExecuteAfter = {
50
50
  };
51
51
  };
52
52
  export type ExecutionPushMessage = ExecutionStarted | ExecutionWaiting | ExecutionFinished | ExecutionRecovered | NodeExecuteBefore | NodeExecuteAfter;
53
- export {};
@@ -1,18 +1,17 @@
1
- type NodeTypeData = {
1
+ export type NodeTypeData = {
2
2
  name: string;
3
3
  version: number;
4
4
  };
5
- type ReloadNodeType = {
5
+ export type ReloadNodeType = {
6
6
  type: 'reloadNodeType';
7
7
  data: NodeTypeData;
8
8
  };
9
- type RemoveNodeType = {
9
+ export type RemoveNodeType = {
10
10
  type: 'removeNodeType';
11
11
  data: NodeTypeData;
12
12
  };
13
- type NodeDescriptionUpdated = {
13
+ export type NodeDescriptionUpdated = {
14
14
  type: 'nodeDescriptionUpdated';
15
15
  data: {};
16
16
  };
17
17
  export type HotReloadPushMessage = ReloadNodeType | RemoveNodeType | NodeDescriptionUpdated;
18
- export {};
@@ -1,11 +1,11 @@
1
- type TestWebhookDeleted = {
1
+ export type TestWebhookDeleted = {
2
2
  type: 'testWebhookDeleted';
3
3
  data: {
4
4
  executionId?: string;
5
5
  workflowId: string;
6
6
  };
7
7
  };
8
- type TestWebhookReceived = {
8
+ export type TestWebhookReceived = {
9
9
  type: 'testWebhookReceived';
10
10
  data: {
11
11
  executionId: string;
@@ -13,4 +13,3 @@ type TestWebhookReceived = {
13
13
  };
14
14
  };
15
15
  export type WebhookPushMessage = TestWebhookDeleted | TestWebhookReceived;
16
- export {};
@@ -1,21 +1,20 @@
1
- type WorkflowActivated = {
1
+ export type WorkflowActivated = {
2
2
  type: 'workflowActivated';
3
3
  data: {
4
4
  workflowId: string;
5
5
  };
6
6
  };
7
- type WorkflowFailedToActivate = {
7
+ export type WorkflowFailedToActivate = {
8
8
  type: 'workflowFailedToActivate';
9
9
  data: {
10
10
  workflowId: string;
11
11
  errorMessage: string;
12
12
  };
13
13
  };
14
- type WorkflowDeactivated = {
14
+ export type WorkflowDeactivated = {
15
15
  type: 'workflowDeactivated';
16
16
  data: {
17
17
  workflowId: string;
18
18
  };
19
19
  };
20
20
  export type WorkflowPushMessage = WorkflowActivated | WorkflowFailedToActivate | WorkflowDeactivated;
21
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/api-types",
3
- "version": "0.26.0",
3
+ "version": "0.27.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": "1.38.0",
14
- "@n8n/typescript-config": "1.2.0"
13
+ "@n8n/typescript-config": "1.2.0",
14
+ "@n8n/config": "1.38.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.89.0",
21
- "@n8n/permissions": "0.22.0"
20
+ "n8n-workflow": "1.90.0",
21
+ "@n8n/permissions": "0.23.0"
22
22
  },
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "homepage": "https://n8n.io",