@n8n/api-types 1.30.3 → 1.31.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.
Files changed (95) hide show
  1. package/dist/agent-builder-interactive.d.ts +5 -182
  2. package/dist/agent-builder-interactive.js +6 -50
  3. package/dist/agent-builder-interactive.js.map +1 -1
  4. package/dist/agents/agent-interaction.schema.d.ts +262 -0
  5. package/dist/agents/agent-interaction.schema.js +56 -0
  6. package/dist/agents/agent-interaction.schema.js.map +1 -0
  7. package/dist/agents/agent-json-config.schema.d.ts +1878 -752
  8. package/dist/agents/agent-json-config.schema.js +82 -1
  9. package/dist/agents/agent-json-config.schema.js.map +1 -1
  10. package/dist/agents/dto.d.ts +232 -103
  11. package/dist/agents/dto.js +8 -3
  12. package/dist/agents/dto.js.map +1 -1
  13. package/dist/agents/index.d.ts +2 -1
  14. package/dist/agents/index.js +2 -11
  15. package/dist/agents/index.js.map +1 -1
  16. package/dist/agents/rich-card.schema.d.ts +108 -108
  17. package/dist/agents/types.d.ts +39 -8
  18. package/dist/agents/types.js.map +1 -1
  19. package/dist/build.tsbuildinfo +1 -1
  20. package/dist/chat-hub.d.ts +85 -85
  21. package/dist/dto/ai/ai-ask-request.dto.d.ts +13 -13
  22. package/dist/dto/ai/ai-build-request.dto.d.ts +3 -3
  23. package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +1 -1
  24. package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
  25. package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
  26. package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +1 -1
  27. package/dist/dto/dynamic-node-parameters/base-dynamic-parameters-request.dto.d.ts +1 -1
  28. package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +1 -1
  29. package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
  30. package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +1 -1
  31. package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
  32. package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
  33. package/dist/dto/index.d.ts +2 -0
  34. package/dist/dto/index.js +7 -3
  35. package/dist/dto/index.js.map +1 -1
  36. package/dist/dto/insights/list-workflow-query.dto.d.ts +1 -1
  37. package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +8 -8
  38. package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +1 -1
  39. package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
  40. package/dist/dto/oidc/config.dto.d.ts +1 -1
  41. package/dist/dto/packages/import-package-request.dto.d.ts +11 -5
  42. package/dist/dto/packages/import-package-request.dto.js +19 -19
  43. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  44. package/dist/dto/project/update-project.dto.d.ts +2 -2
  45. package/dist/dto/roles/role-member.schema.d.ts +2 -2
  46. package/dist/dto/roles/role-members-response.dto.d.ts +3 -3
  47. package/dist/dto/roles/role-project-members-response.dto.d.ts +3 -3
  48. package/dist/dto/roles/update-role.dto.d.ts +1 -1
  49. package/dist/dto/security-settings/security-policy.dto.d.ts +32 -0
  50. package/dist/dto/security-settings/security-policy.dto.js +17 -0
  51. package/dist/dto/security-settings/security-policy.dto.js.map +1 -0
  52. package/dist/dto/security-settings/security-settings.dto.d.ts +20 -0
  53. package/dist/dto/security-settings/security-settings.dto.js +4 -0
  54. package/dist/dto/security-settings/security-settings.dto.js.map +1 -1
  55. package/dist/dto/source-control/push-work-folder-request.dto.d.ts +9 -9
  56. package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
  57. package/dist/dto/workflow-history/update-workflow-history-version.dto.d.ts +1 -1
  58. package/dist/dto/workflows/activate-workflow.dto.d.ts +1 -1
  59. package/dist/dto/workflows/base-workflow.dto.d.ts +7 -7
  60. package/dist/dto/workflows/create-workflow.dto.d.ts +8 -8
  61. package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +1 -1
  62. package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +1 -1
  63. package/dist/dto/workflows/manual-run.dto.d.ts +112 -0
  64. package/dist/dto/workflows/manual-run.dto.js +51 -0
  65. package/dist/dto/workflows/manual-run.dto.js.map +1 -0
  66. package/dist/dto/workflows/update-workflow.dto.d.ts +8 -8
  67. package/dist/frontend-settings.d.ts +4 -0
  68. package/dist/index.d.ts +5 -3
  69. package/dist/index.js +8 -3
  70. package/dist/index.js.map +1 -1
  71. package/dist/instance-registry-types.d.ts +16 -16
  72. package/dist/schemas/agent-run-reducer.js +61 -1
  73. package/dist/schemas/agent-run-reducer.js.map +1 -1
  74. package/dist/schemas/breaking-changes.schema.d.ts +128 -128
  75. package/dist/schemas/credential-resolver.schema.d.ts +8 -8
  76. package/dist/schemas/credential-response.schema.d.ts +2 -2
  77. package/dist/schemas/data-table.schema.d.ts +6 -6
  78. package/dist/schemas/encryption-key.schema.d.ts +6 -6
  79. package/dist/schemas/eval-collections.schema.d.ts +3 -3
  80. package/dist/schemas/favorites.schema.d.ts +2 -2
  81. package/dist/schemas/favorites.schema.js +7 -1
  82. package/dist/schemas/favorites.schema.js.map +1 -1
  83. package/dist/schemas/insights.schema.d.ts +22 -22
  84. package/dist/schemas/instance-ai.schema.d.ts +599 -419
  85. package/dist/schemas/instance-ai.schema.js +55 -8
  86. package/dist/schemas/instance-ai.schema.js.map +1 -1
  87. package/dist/schemas/secrets-provider.schema.d.ts +16 -16
  88. package/dist/schemas/source-controlled-file.schema.d.ts +6 -6
  89. package/dist/schemas/user.schema.d.ts +18 -18
  90. package/dist/schemas/workflow-execution-status.schema.d.ts +4 -4
  91. package/dist/schemas/workflow-publication-status.schema.d.ts +2 -2
  92. package/dist/workflow-reviews-policy.d.ts +9 -0
  93. package/dist/workflow-reviews-policy.js +8 -0
  94. package/dist/workflow-reviews-policy.js.map +1 -0
  95. package/package.json +9 -8
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<{
3
3
  fileNames: {
4
+ type: "workflow" | "credential" | "file" | "project" | "tags" | "variables" | "folders" | "datatable";
4
5
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
5
- type: "credential" | "workflow" | "project" | "file" | "tags" | "variables" | "folders" | "datatable";
6
- name: string;
7
6
  id: string;
8
- updatedAt: string;
7
+ name: string;
9
8
  file: string;
9
+ updatedAt: string;
10
10
  location: "local" | "remote";
11
11
  conflict: boolean;
12
12
  pushed?: boolean | undefined;
@@ -55,12 +55,12 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
55
55
  }>>;
56
56
  publishingError: z.ZodOptional<z.ZodString>;
57
57
  }, "strip", z.ZodTypeAny, {
58
+ type: "workflow" | "credential" | "file" | "project" | "tags" | "variables" | "folders" | "datatable";
58
59
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
59
- type: "credential" | "workflow" | "project" | "file" | "tags" | "variables" | "folders" | "datatable";
60
- name: string;
61
60
  id: string;
62
- updatedAt: string;
61
+ name: string;
63
62
  file: string;
63
+ updatedAt: string;
64
64
  location: "local" | "remote";
65
65
  conflict: boolean;
66
66
  pushed?: boolean | undefined;
@@ -75,12 +75,12 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
75
75
  } | undefined;
76
76
  publishingError?: string | undefined;
77
77
  }, {
78
+ type: "workflow" | "credential" | "file" | "project" | "tags" | "variables" | "folders" | "datatable";
78
79
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
79
- type: "credential" | "workflow" | "project" | "file" | "tags" | "variables" | "folders" | "datatable";
80
- name: string;
81
80
  id: string;
82
- updatedAt: string;
81
+ name: string;
83
82
  file: string;
83
+ updatedAt: string;
84
84
  location: "local" | "remote";
85
85
  conflict: boolean;
86
86
  pushed?: boolean | undefined;
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  declare const UpdateVariableRequestDto_base: import("../../zod-class").ZodClass<{
3
3
  value?: string | undefined;
4
4
  type?: "string" | undefined;
5
- key?: string | undefined;
6
5
  projectId?: string | null | undefined;
6
+ key?: string | undefined;
7
7
  }, {
8
8
  key: z.ZodOptional<z.ZodString>;
9
9
  type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["string"]>>>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  declare const UpdateWorkflowHistoryVersionDto_base: import("../../zod-class").ZodClass<{
3
- description?: string | null | undefined;
4
3
  name?: string | null | undefined;
4
+ description?: string | null | undefined;
5
5
  }, {
6
6
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
7
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  declare const ActivateWorkflowDto_base: import("../../zod-class").ZodClass<{
3
3
  versionId: string;
4
- description?: string | undefined;
5
4
  name?: string | undefined;
5
+ description?: string | undefined;
6
6
  expectedChecksum?: string | undefined;
7
7
  }, {
8
8
  versionId: z.ZodString;
@@ -17,12 +17,12 @@ export declare const workflowNodeGroupsSchema: z.ZodArray<z.ZodObject<{
17
17
  name: z.ZodString;
18
18
  nodeIds: z.ZodArray<z.ZodString, "many">;
19
19
  }, "strip", z.ZodTypeAny, {
20
- name: string;
21
20
  id: string;
21
+ name: string;
22
22
  nodeIds: string[];
23
23
  }, {
24
- name: string;
25
24
  id: string;
25
+ name: string;
26
26
  nodeIds: string[];
27
27
  }>, "many">;
28
28
  export declare const baseWorkflowShape: {
@@ -39,12 +39,12 @@ export declare const baseWorkflowShape: {
39
39
  name: z.ZodString;
40
40
  nodeIds: z.ZodArray<z.ZodString, "many">;
41
41
  }, "strip", z.ZodTypeAny, {
42
- name: string;
43
42
  id: string;
43
+ name: string;
44
44
  nodeIds: string[];
45
45
  }, {
46
- name: string;
47
46
  id: string;
47
+ name: string;
48
48
  nodeIds: string[];
49
49
  }>, "many">>;
50
50
  readonly hash: z.ZodOptional<z.ZodString>;
@@ -53,14 +53,14 @@ export declare const baseWorkflowShape: {
53
53
  id: z.ZodString;
54
54
  name: z.ZodString;
55
55
  }, "strip", z.ZodTypeAny, {
56
- name: string;
57
56
  id: string;
58
- }, {
59
57
  name: string;
58
+ }, {
60
59
  id: string;
61
- }>, "many">]>, string[], string[] | {
62
60
  name: string;
61
+ }>, "many">]>, string[], string[] | {
63
62
  id: string;
63
+ name: string;
64
64
  }[]>>;
65
65
  readonly uiContext: z.ZodOptional<z.ZodString>;
66
66
  readonly aiBuilderAssisted: z.ZodOptional<z.ZodBoolean>;
@@ -4,16 +4,16 @@ declare const CreateWorkflowDto_base: import("../../zod-class").ZodClass<{
4
4
  name: string;
5
5
  nodes: import("n8n-workflow").INode[];
6
6
  connections: import("n8n-workflow").IConnections;
7
- description?: string | null | undefined;
8
- settings?: import("n8n-workflow").IWorkflowSettings | null | undefined;
9
7
  id?: string | undefined;
10
8
  projectId?: string | undefined;
9
+ description?: string | null | undefined;
10
+ settings?: import("n8n-workflow").IWorkflowSettings | null | undefined;
11
11
  staticData?: import("n8n-workflow").IDataObject | null | undefined;
12
12
  pinData?: import("n8n-workflow").IPinData | null | undefined;
13
13
  meta?: Record<string, unknown> | null | undefined;
14
14
  nodeGroups?: {
15
- name: string;
16
15
  id: string;
16
+ name: string;
17
17
  nodeIds: string[];
18
18
  }[] | undefined;
19
19
  uiContext?: string | undefined;
@@ -39,12 +39,12 @@ declare const CreateWorkflowDto_base: import("../../zod-class").ZodClass<{
39
39
  name: z.ZodString;
40
40
  nodeIds: z.ZodArray<z.ZodString, "many">;
41
41
  }, "strip", z.ZodTypeAny, {
42
- name: string;
43
42
  id: string;
43
+ name: string;
44
44
  nodeIds: string[];
45
45
  }, {
46
- name: string;
47
46
  id: string;
47
+ name: string;
48
48
  nodeIds: string[];
49
49
  }>, "many">>;
50
50
  hash: z.ZodOptional<z.ZodString>;
@@ -53,14 +53,14 @@ declare const CreateWorkflowDto_base: import("../../zod-class").ZodClass<{
53
53
  id: z.ZodString;
54
54
  name: z.ZodString;
55
55
  }, "strip", z.ZodTypeAny, {
56
- name: string;
57
56
  id: string;
58
- }, {
59
57
  name: string;
58
+ }, {
60
59
  id: string;
61
- }>, "many">]>, string[], string[] | {
62
60
  name: string;
61
+ }>, "many">]>, string[], string[] | {
63
62
  id: string;
63
+ name: string;
64
64
  }[]>>;
65
65
  uiContext: z.ZodOptional<z.ZodString>;
66
66
  aiBuilderAssisted: z.ZodOptional<z.ZodBoolean>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  declare const GetResourceDependenciesDto_base: import("../../zod-class").ZodClass<{
3
3
  resourceIds: string[];
4
- resourceType: "credential" | "workflow" | "dataTable";
4
+ resourceType: "workflow" | "credential" | "dataTable";
5
5
  }, {
6
6
  resourceIds: z.ZodArray<z.ZodString, "many">;
7
7
  resourceType: z.ZodEnum<["workflow", "credential", "dataTable"]>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  declare const GetResourceDependencyCountsDto_base: import("../../zod-class").ZodClass<{
3
3
  resourceIds: string[];
4
- resourceType: "credential" | "workflow" | "dataTable";
4
+ resourceType: "workflow" | "credential" | "dataTable";
5
5
  }, {
6
6
  resourceIds: z.ZodArray<z.ZodString, "many">;
7
7
  resourceType: z.ZodEnum<["workflow", "credential", "dataTable"]>;
@@ -0,0 +1,112 @@
1
+ import type { AiAgentRequest, IRunData, ITaskData } from 'n8n-workflow';
2
+ import { z } from 'zod';
3
+ declare const fullManualExecutionFromKnownTriggerSchema: z.ZodObject<{
4
+ agentRequest: z.ZodOptional<z.ZodType<AiAgentRequest, z.ZodTypeDef, AiAgentRequest>>;
5
+ chatSessionId: z.ZodOptional<z.ZodString>;
6
+ destinationNode: z.ZodOptional<z.ZodObject<{
7
+ nodeName: z.ZodString;
8
+ mode: z.ZodEnum<["inclusive", "exclusive"]>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ nodeName: string;
11
+ mode: "inclusive" | "exclusive";
12
+ }, {
13
+ nodeName: string;
14
+ mode: "inclusive" | "exclusive";
15
+ }>>;
16
+ triggerToStartFrom: z.ZodObject<{
17
+ name: z.ZodString;
18
+ data: z.ZodOptional<z.ZodType<ITaskData, z.ZodTypeDef, ITaskData>>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ name: string;
21
+ data?: ITaskData | undefined;
22
+ }, {
23
+ name: string;
24
+ data?: ITaskData | undefined;
25
+ }>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ triggerToStartFrom: {
28
+ name: string;
29
+ data?: ITaskData | undefined;
30
+ };
31
+ agentRequest?: AiAgentRequest | undefined;
32
+ chatSessionId?: string | undefined;
33
+ destinationNode?: {
34
+ nodeName: string;
35
+ mode: "inclusive" | "exclusive";
36
+ } | undefined;
37
+ }, {
38
+ triggerToStartFrom: {
39
+ name: string;
40
+ data?: ITaskData | undefined;
41
+ };
42
+ agentRequest?: AiAgentRequest | undefined;
43
+ chatSessionId?: string | undefined;
44
+ destinationNode?: {
45
+ nodeName: string;
46
+ mode: "inclusive" | "exclusive";
47
+ } | undefined;
48
+ }>;
49
+ declare const fullManualExecutionFromUnknownTriggerSchema: z.ZodObject<{
50
+ agentRequest: z.ZodOptional<z.ZodType<AiAgentRequest, z.ZodTypeDef, AiAgentRequest>>;
51
+ destinationNode: z.ZodObject<{
52
+ nodeName: z.ZodString;
53
+ mode: z.ZodEnum<["inclusive", "exclusive"]>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ nodeName: string;
56
+ mode: "inclusive" | "exclusive";
57
+ }, {
58
+ nodeName: string;
59
+ mode: "inclusive" | "exclusive";
60
+ }>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ destinationNode: {
63
+ nodeName: string;
64
+ mode: "inclusive" | "exclusive";
65
+ };
66
+ agentRequest?: AiAgentRequest | undefined;
67
+ }, {
68
+ destinationNode: {
69
+ nodeName: string;
70
+ mode: "inclusive" | "exclusive";
71
+ };
72
+ agentRequest?: AiAgentRequest | undefined;
73
+ }>;
74
+ declare const partialManualExecutionToDestinationSchema: z.ZodObject<{
75
+ agentRequest: z.ZodOptional<z.ZodType<AiAgentRequest, z.ZodTypeDef, AiAgentRequest>>;
76
+ runData: z.ZodType<IRunData, z.ZodTypeDef, IRunData>;
77
+ destinationNode: z.ZodObject<{
78
+ nodeName: z.ZodString;
79
+ mode: z.ZodEnum<["inclusive", "exclusive"]>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ nodeName: string;
82
+ mode: "inclusive" | "exclusive";
83
+ }, {
84
+ nodeName: string;
85
+ mode: "inclusive" | "exclusive";
86
+ }>;
87
+ dirtyNodeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ destinationNode: {
90
+ nodeName: string;
91
+ mode: "inclusive" | "exclusive";
92
+ };
93
+ runData: IRunData;
94
+ agentRequest?: AiAgentRequest | undefined;
95
+ dirtyNodeNames?: string[] | undefined;
96
+ }, {
97
+ destinationNode: {
98
+ nodeName: string;
99
+ mode: "inclusive" | "exclusive";
100
+ };
101
+ runData: IRunData;
102
+ agentRequest?: AiAgentRequest | undefined;
103
+ dirtyNodeNames?: string[] | undefined;
104
+ }>;
105
+ export type FullManualExecutionFromKnownTriggerPayload = z.infer<typeof fullManualExecutionFromKnownTriggerSchema>;
106
+ export type FullManualExecutionFromUnknownTriggerPayload = z.infer<typeof fullManualExecutionFromUnknownTriggerSchema>;
107
+ export type PartialManualExecutionToDestinationPayload = z.infer<typeof partialManualExecutionToDestinationSchema>;
108
+ export type ManualRunPayload = FullManualExecutionFromKnownTriggerPayload | FullManualExecutionFromUnknownTriggerPayload | PartialManualExecutionToDestinationPayload;
109
+ export declare const ManualRunDto: {
110
+ safeParse(data: unknown): z.SafeParseReturnType<unknown, ManualRunPayload>;
111
+ };
112
+ export {};
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ManualRunDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const isObject = (val) => typeof val === 'object' && val !== null && !Array.isArray(val);
6
+ const destinationNodeSchema = zod_1.z.object({
7
+ nodeName: zod_1.z.string(),
8
+ mode: zod_1.z.enum(['inclusive', 'exclusive']),
9
+ });
10
+ const triggerToStartFromSchema = zod_1.z.object({
11
+ name: zod_1.z.string(),
12
+ data: zod_1.z.custom(isObject).optional(),
13
+ });
14
+ const agentRequestSchema = zod_1.z.custom(isObject);
15
+ const fullManualExecutionFromKnownTriggerSchema = zod_1.z.object({
16
+ agentRequest: agentRequestSchema.optional(),
17
+ chatSessionId: zod_1.z.string().optional(),
18
+ destinationNode: destinationNodeSchema.optional(),
19
+ triggerToStartFrom: triggerToStartFromSchema,
20
+ });
21
+ const fullManualExecutionFromUnknownTriggerSchema = zod_1.z.object({
22
+ agentRequest: agentRequestSchema.optional(),
23
+ destinationNode: destinationNodeSchema,
24
+ });
25
+ const partialManualExecutionToDestinationSchema = zod_1.z.object({
26
+ agentRequest: agentRequestSchema.optional(),
27
+ runData: zod_1.z.custom(isObject),
28
+ destinationNode: destinationNodeSchema,
29
+ dirtyNodeNames: zod_1.z.array(zod_1.z.string()).optional(),
30
+ });
31
+ const missingStartConditionSchema = zod_1.z.custom(() => false, {
32
+ message: 'To run the workflow manually, specify either a trigger to start from or a destination node.',
33
+ });
34
+ function schemaFor(data) {
35
+ if (!isObject(data))
36
+ return fullManualExecutionFromKnownTriggerSchema;
37
+ const payload = data;
38
+ if (payload.triggerToStartFrom !== undefined)
39
+ return fullManualExecutionFromKnownTriggerSchema;
40
+ if (payload.destinationNode === undefined)
41
+ return missingStartConditionSchema;
42
+ return payload.runData !== undefined
43
+ ? partialManualExecutionToDestinationSchema
44
+ : fullManualExecutionFromUnknownTriggerSchema;
45
+ }
46
+ exports.ManualRunDto = {
47
+ safeParse(data) {
48
+ return schemaFor(data).safeParse(data);
49
+ },
50
+ };
51
+ //# sourceMappingURL=manual-run.d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E;IAC3C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAW,QAAQ,CAAC;IACrC,eAAe,EAAE,qBAAqB;IACtC,cAAc,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAkBH,MAAM,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAQ,GAAG,EAAE,CAAC,KAAK,EAAE;IAChE,OAAO,EACN,6FAA6F;CAC9F,CAAC,CAAC;AAEH,SAAS,SAAS,CAAC,IAAa;IAE/B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,yCAAyC,CAAC;IAEtE,MAAM,OAAO,GAAG,IAA+B,CAAC;IAChD,IAAI,OAAO,CAAC,kBAAkB,KAAK,SAAS;QAAE,OAAO,yCAAyC,CAAC;IAC/F,IAAI,OAAO,CAAC,eAAe,KAAK,SAAS;QAAE,OAAO,2BAA2B,CAAC;IAC9E,OAAO,OAAO,CAAC,OAAO,KAAK,SAAS;QACnC,CAAC,CAAC,yCAAyC;QAC3C,CAAC,CAAC,2CAA2C,CAAC;AAChD,CAAC;AAMY,QAAA,YAAY,GAAG;IAC3B,SAAS,CAAC,IAAa;QACtB,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;CACD,CAAC"}
@@ -1,16 +1,16 @@
1
1
  import { z } from 'zod';
2
2
  declare const UpdateWorkflowDto_base: import("../../zod-class").ZodClass<{
3
- description?: string | null | undefined;
4
- settings?: import("n8n-workflow").IWorkflowSettings | null | undefined;
5
3
  name?: string | undefined;
4
+ description?: string | null | undefined;
6
5
  nodes?: import("n8n-workflow").INode[] | undefined;
7
6
  connections?: import("n8n-workflow").IConnections | undefined;
7
+ settings?: import("n8n-workflow").IWorkflowSettings | null | undefined;
8
8
  staticData?: import("n8n-workflow").IDataObject | null | undefined;
9
9
  pinData?: import("n8n-workflow").IPinData | null | undefined;
10
10
  meta?: Record<string, unknown> | null | undefined;
11
11
  nodeGroups?: {
12
- name: string;
13
12
  id: string;
13
+ name: string;
14
14
  nodeIds: string[];
15
15
  }[] | undefined;
16
16
  uiContext?: string | undefined;
@@ -34,12 +34,12 @@ declare const UpdateWorkflowDto_base: import("../../zod-class").ZodClass<{
34
34
  name: z.ZodString;
35
35
  nodeIds: z.ZodArray<z.ZodString, "many">;
36
36
  }, "strip", z.ZodTypeAny, {
37
- name: string;
38
37
  id: string;
38
+ name: string;
39
39
  nodeIds: string[];
40
40
  }, {
41
- name: string;
42
41
  id: string;
42
+ name: string;
43
43
  nodeIds: string[];
44
44
  }>, "many">>>;
45
45
  readonly hash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -48,14 +48,14 @@ declare const UpdateWorkflowDto_base: import("../../zod-class").ZodClass<{
48
48
  id: z.ZodString;
49
49
  name: z.ZodString;
50
50
  }, "strip", z.ZodTypeAny, {
51
- name: string;
52
51
  id: string;
53
- }, {
54
52
  name: string;
53
+ }, {
55
54
  id: string;
56
- }>, "many">]>, string[], string[] | {
57
55
  name: string;
56
+ }>, "many">]>, string[], string[] | {
58
57
  id: string;
58
+ name: string;
59
59
  }[]>>>;
60
60
  readonly uiContext: z.ZodOptional<z.ZodOptional<z.ZodString>>;
61
61
  readonly aiBuilderAssisted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -2,6 +2,7 @@ import type { LogLevel, WorkflowSettings } from 'n8n-workflow';
2
2
  import type { ChatHubLLMProvider, ChatHubSemanticSearchSettings, ChatProviderSettingsDto } from './chat-hub';
3
3
  import type { QuickConnectOption } from './quick-connect';
4
4
  import type { InsightsDateRange } from './schemas/insights.schema';
5
+ import type { WorkflowReviewsPolicy } from './workflow-reviews-policy';
5
6
  export interface IVersionNotificationSettings {
6
7
  enabled: boolean;
7
8
  endpoint: string;
@@ -56,6 +57,7 @@ export interface IEnterpriseSettings {
56
57
  personalSpacePolicy: boolean;
57
58
  dataRedaction: boolean;
58
59
  otelCustomSpanAttributes: boolean;
60
+ workflowReviews: boolean;
59
61
  }
60
62
  export interface FrontendSettings {
61
63
  settingsMode?: 'public' | 'authenticated';
@@ -202,6 +204,7 @@ export interface FrontendSettings {
202
204
  enabled: boolean;
203
205
  enforced: boolean;
204
206
  };
207
+ workflowReviews?: WorkflowReviewsPolicy;
205
208
  folders: {
206
209
  enabled: boolean;
207
210
  };
@@ -256,6 +259,7 @@ export type FrontendModuleSettings = {
256
259
  mcp?: {
257
260
  mcpAccessEnabled: boolean;
258
261
  mcpManagedByEnv: boolean;
262
+ serverUrl?: string;
259
263
  };
260
264
  'chat-hub'?: {
261
265
  enabled: boolean;
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export * from './agents/index';
12
12
  export * from './instance-registry-types';
13
13
  export * from './redaction-enforcement';
14
14
  export * from './redaction-enforcement-floor';
15
+ export * from './workflow-reviews-policy';
15
16
  export { chatHubConversationModelSchema, type ChatModelDto, type ChatModelMetadataDto, type ChatHubOpenAIModel, type ChatHubAnthropicModel, type ChatHubGoogleModel, type ChatHubBaseLLMModel, type ChatHubN8nModel, type ChatHubCustomAgentModel, type ChatHubConversationModel, type ChatHubModuleSettings, chatHubProviderSchema, chatHubLLMProviderSchema, chatHubSessionTypeSchema, type ChatHubProvider, type ChatHubLLMProvider, type ChatHubSessionType, type ChatHubMessageType, type ChatHubMessageStatus, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, emptyChatModelsResponse, type ChatModelsRequest, type ChatModelsResponse, chatAttachmentSchema, type ChatAttachment, ChatHubSendMessageRequest, ChatHubManualSendMessageRequest, ChatHubRegenerateMessageRequest, ChatHubManualRegenerateMessageRequest, ChatHubEditMessageRequest, ChatHubManualEditMessageRequest, ChatHubUpdateConversationRequest, ChatHubConversationsRequest, type ChatMessageId, type ChatSessionId, type ChatHubMessageDto, type ChatHubSessionDto, type ChatHubConversationDto, type ChatHubConversationResponse, type ChatHubConversationsResponse, type ChatHubAgentDto, type ChatHubAgentKnowledgeItem, type ChatHubAgentKnowledgeItemStatus, ChatHubCreateAgentRequest, ChatHubUpdateAgentRequest, type AgentIconOrEmoji, agentIconOrEmojiSchema, type SuggestedPrompt, suggestedPromptsSchema, type MessageChunk, UpdateChatSettingsRequest, UpdateChatEnabledRequest, ChatHubSemanticSearchSettings, type ChatProviderSettingsDto, type ChatSendMessageResponse, type ChatReconnectResponse, ChatReconnectRequest, type ChatArtifact, type ChatArtifactCreateCommand, type ChatArtifactEditCommand, type ChatMessageContentChunk, type ChatHubMessageButton, chatHubMessageWithButtonsSchema, type ChatHubMessageWithButtons, type ChatHubToolDto, ChatHubCreateToolRequest, ChatHubUpdateToolRequest, ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES, CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES, chatHubVectorStoreProviderSchema, type ChatHubVectorStoreProvider, VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP, } from './chat-hub';
16
17
  export { isValidTimeZone, StrictTimeZoneSchema, TimeZoneSchema } from './schemas/timezone.schema';
17
18
  export type { ChatHubPushMessage, ChatHubStreamEvent, ChatHubStreamBegin, ChatHubStreamChunk, ChatHubStreamEnd, ChatHubStreamError, ChatHubStreamMetadata, ChatHubExecutionEvent, ChatHubExecutionBegin, ChatHubExecutionEnd, ChatHubHumanMessageCreated, ChatHubMessageEdited, ChatHubAttachmentInfo, } from './push/chat-hub';
@@ -33,7 +34,7 @@ export { isSourceControlledFileStatus, type SourceControlledFileStatus, type Sou
33
34
  export { insightsSummarySchema, type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
34
35
  export { ROLE, type Role, type User, type UsersList, usersListSchema, userBaseSchema, userDetailSchema, } from './schemas/user.schema';
35
36
  export { encryptionKeySchema, encryptionKeysListSchema, type EncryptionKey, type EncryptionKeysList, } from './schemas/encryption-key.schema';
36
- export { DATA_TABLE_COLUMN_REGEX, DATA_TABLE_COLUMN_MAX_LENGTH, DATA_TABLE_COLUMN_ERROR_MESSAGE, type DataTable, type DataTableColumn, type DataTableCreateColumnSchema, type DataTableListFilter, type DataTableListOptions, type DataTableListSortBy, dateTimeSchema, dataTableColumnNameSchema, dataTableIdSchema, } from './schemas/data-table.schema';
37
+ export { DATA_TABLE_COLUMN_REGEX, DATA_TABLE_COLUMN_MAX_LENGTH, DATA_TABLE_COLUMN_ERROR_MESSAGE, type DataTable, type DataTableColumn, type DataTableCreateColumnSchema, type DataTableListFilter, type DataTableListOptions, type DataTableListSortBy, dateTimeSchema, dataTableColumnNameSchema, dataTableColumnTypeSchema, dataTableIdSchema, } from './schemas/data-table.schema';
37
38
  export type { DataTableFilter, DataTableFilterConditionType, } from './schemas/data-table-filter.schema';
38
39
  export type { ExternalSecretsProvider, ExternalSecretsProviderSecret, ExternalSecretsProviderData, ExternalSecretsProviderProperty, ExternalSecretsProviderState, } from './schemas/external-secrets.schema';
39
40
  export { WorkflowExecutionStatusSchema, type WorkflowExecutionStatus, } from './schemas/workflow-execution-status.schema';
@@ -45,8 +46,9 @@ export type { SecretsProviderType, SecretsProviderState, SecretsProviderConnecti
45
46
  export { SECRETS_PROVIDER_KEY_PATTERN, SECRETS_PROVIDER_KEY_REGEX, testSecretProviderConnectionResponseSchema, reloadSecretProviderConnectionResponseSchema, } from './schemas/secrets-provider.schema';
46
47
  export { communityPackageResponseSchema, type CommunityPackageResponse, } from './schemas/community-package.schema';
47
48
  export { publicApiCredentialResponseSchema, type PublicApiCredentialResponse, } from './schemas/credential-response.schema';
48
- export { buildRunWorkflowSessionGrantKey, buildFetchUrlGrantKey, FETCH_URL_ALLOW_ALL_GRANT_KEY, WEB_SEARCH_GRANT_KEY, parseDomainAccessGrants, instanceAiEventTypeSchema, instanceAiRunStatusSchema, instanceAiConfirmationSeveritySchema, instanceAiAgentStatusSchema, instanceAiAgentKindSchema, instanceAiEventSchema, taskItemSchema, taskListSchema, plannedTaskArgSchema, runStartPayloadSchema, runFinishPayloadSchema, agentSpawnedPayloadSchema, agentCompletedPayloadSchema, textDeltaPayloadSchema, reasoningDeltaPayloadSchema, toolCallPayloadSchema, toolResultPayloadSchema, toolErrorPayloadSchema, confirmationRequestPayloadSchema, confirmationInputTypeSchema, credentialRequestSchema, workflowSetupNodeSchema, errorPayloadSchema, filesystemRequestPayloadSchema, mcpToolSchema, mcpToolCallRequestSchema, mcpToolCallResultSchema, getRenderHint, isDisplayableConfirmationRequest, isSafeObjectKey, DEFAULT_INSTANCE_AI_PERMISSIONS, UNLIMITED_CREDITS, EVAL_VENDOR_SDK_INTERCEPTION_FLAG, domainAccessActionSchema, domainAccessMetaSchema, webSearchMetaSchema, credentialFlowSchema, instanceAiCredentialHandoffContextSchema, instanceAiHandoffContextSchema, gatewayConfirmationRequiredWirePayloadSchema, gatewayConfirmationRequiredPayloadSchema, instanceGatewayResourceDecisionSchema, instanceAiSandboxProviderSchema, isInstanceAiSandboxProvider, GATEWAY_CONFIRMATION_REQUIRED_PREFIX, InstanceAiSendMessageRequest, InstanceAiEvalExecutionRequest, InstanceAiEvalCredentialAllowlistRequest, INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS, AI_GATEWAY_MANAGED_TAG, InstanceAiEvalRestoreThreadRequest, instanceAiGatewayKeySchema, InstanceAiGatewayEventsQuery, InstanceAiEventsQuery, InstanceAiCorrectTaskRequest, InstanceAiEnsureThreadRequest, instanceAiAttachmentSchema, instanceAiFileAttachmentSchema, instanceAiWorkflowAttachmentSchema, InstanceAiThreadMessagesQuery, InstanceAiAdminSettingsUpdateRequest, InstanceAiUserPreferencesUpdateRequest, InstanceAiGatewayCapabilitiesDto, InstanceAiGatewayCreateCredentialDto, InstanceAiFilesystemResponseDto, applyBranchReadOnlyOverrides, } from './schemas/instance-ai.schema';
49
- export type { RunId, AgentId, ThreadId, ToolCallId, InstanceAiEventType, InstanceAiRunStatus, InstanceAiConfirmation, InstanceAiConfirmationInputType, InstanceAiConfirmationRequestPayload, InstanceAiConfirmationSeverity, InstanceAiCredentialRequest, InstanceAiAgentStatus, InstanceAiAgentKind, TaskItem, TaskList, InstanceAiRunStartEvent, InstanceAiRunFinishEvent, InstanceAiAgentSpawnedEvent, InstanceAiAgentCompletedEvent, InstanceAiTextDeltaEvent, InstanceAiReasoningDeltaEvent, InstanceAiToolCallEvent, InstanceAiToolResultEvent, InstanceAiToolErrorEvent, InstanceAiConfirmationRequestEvent, InstanceAiErrorEvent, InstanceAiFilesystemRequestEvent, InstanceAiFilesystemResponse, InstanceAiGatewayCapabilities, McpTool, McpToolAnnotations, McpToolCallRequest, McpToolCallResult, InstanceAiEvent, InstanceAiAttachment, InstanceAiSendMessageResponse, InstanceAiToolCallState, InstanceAiAgentNode, InstanceAiTimelineEntry, InstanceAiMessage, InstanceAiThreadSummary, InstanceAiSSEConnectionState, InstanceAiThreadInfo, InstanceAiThreadListResponse, InstanceAiEnsureThreadResponse, InstanceAiStoredMessage, InstanceAiThreadMessagesResponse, InstanceAiRunDebugSummary, InstanceAiRunDebugStep, InstanceAiRunDebugWorkflowCodeSnapshot, InstanceAiRunDebugResponse, InstanceAiThreadDebugRunsResponse, InstanceAiRichMessagesResponse, InstanceAiMemoryTaskKind, InstanceAiMemoryTaskStatus, InstanceAiMemoryTaskSnapshot, InstanceAiThreadStatusResponse, InstanceAiConfirmResponse, InstanceAiAdminSettingsResponse, InstanceAiUserPreferencesResponse, InstanceAiModelCredential, InstanceAiSandboxProvider, InstanceAiMcpConnectionResponse, InstanceAiMcpConnectionToolFilterResponse, InstanceAiMcpConnectionToolResponse, InstanceAiPermissionMode, InstanceAiPermissions, InstanceAiTargetResource, InstanceAiFileAttachment, InstanceAiWorkflowAttachment, DomainAccessAction, DomainAccessGrants, DomainAccessMeta, WebSearchMeta, InstanceAiCredentialFlow, InstanceAiCredentialHandoffContext, InstanceAiHandoffContext, GatewayConfirmationRequiredWirePayload, GatewayConfirmationRequiredPayload, InstanceGatewayResourceDecision, InstanceAiBrowserCreateLinkResponse, InstanceAiBrowserStatusResponse, ToolCategory, InstanceAiWorkflowSetupNode, PlannedTaskArg, InstanceAiEvalNodeExecutionMode, InstanceAiEvalInterceptedRequest, InstanceAiEvalNodeResult, InstanceAiEvalMockHints, InstanceAiEvalMockedCredential, InstanceAiEvalRewrittenCredential, InstanceAiEvalExecutionResult, InstanceAiEvalSeedWorkflow, InstanceAiEvalSeedDataTable, } from './schemas/instance-ai.schema';
49
+ export { buildRunWorkflowSessionGrantKey, buildFetchUrlGrantKey, FETCH_URL_ALLOW_ALL_GRANT_KEY, WEB_SEARCH_GRANT_KEY, parseDomainAccessGrants, instanceAiEventTypeSchema, INSTANCE_AI_EPHEMERAL_EVENT_TYPES, instanceAiRunStatusSchema, instanceAiConfirmationSeveritySchema, instanceAiAgentStatusSchema, instanceAiAgentKindSchema, instanceAiEventSchema, taskItemSchema, taskListSchema, plannedTaskArgSchema, runStartPayloadSchema, runFinishPayloadSchema, agentSpawnedPayloadSchema, agentCompletedPayloadSchema, textDeltaPayloadSchema, reasoningDeltaPayloadSchema, toolCallPayloadSchema, toolResultPayloadSchema, toolErrorPayloadSchema, confirmationRequestPayloadSchema, confirmationInputTypeSchema, channelConfigSchema, credentialRequestSchema, workflowSetupNodeSchema, errorPayloadSchema, filesystemRequestPayloadSchema, mcpToolSchema, mcpToolCallRequestSchema, mcpToolCallResultSchema, getRenderHint, isDisplayableConfirmationRequest, isSafeObjectKey, DEFAULT_INSTANCE_AI_PERMISSIONS, UNLIMITED_CREDITS, EVAL_VENDOR_SDK_INTERCEPTION_FLAG, domainAccessActionSchema, domainAccessMetaSchema, webSearchMetaSchema, credentialFlowSchema, instanceAiCredentialHandoffContextSchema, instanceAiHandoffContextSchema, gatewayConfirmationRequiredWirePayloadSchema, gatewayConfirmationRequiredPayloadSchema, instanceGatewayResourceDecisionSchema, instanceAiSandboxProviderSchema, isInstanceAiSandboxProvider, GATEWAY_CONFIRMATION_REQUIRED_PREFIX, InstanceAiSendMessageRequest, InstanceAiEvalExecutionRequest, InstanceAiEvalCredentialAllowlistRequest, INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS, AI_GATEWAY_MANAGED_TAG, InstanceAiEvalRestoreThreadRequest, instanceAiGatewayKeySchema, InstanceAiGatewayEventsQuery, InstanceAiEventsQuery, InstanceAiCorrectTaskRequest, InstanceAiEnsureThreadRequest, instanceAiAttachmentSchema, instanceAiFileAttachmentSchema, instanceAiWorkflowAttachmentSchema, InstanceAiThreadMessagesQuery, InstanceAiAdminSettingsUpdateRequest, InstanceAiUserPreferencesUpdateRequest, InstanceAiGatewayCapabilitiesDto, InstanceAiGatewayCreateCredentialDto, InstanceAiFilesystemResponseDto, applyBranchReadOnlyOverrides, normalizeInstanceAiThreadSource, } from './schemas/instance-ai.schema';
50
+ export type { InstanceAiThreadSource, InstanceAiThreadSourcePersisted, InstanceAiThreadOrigin, } from './schemas/instance-ai.schema';
51
+ export type { RunId, AgentId, ThreadId, ToolCallId, InstanceAiEventType, InstanceAiRunStatus, InstanceAiConfirmation, InstanceAiConfirmationInputType, InstanceAiChannelConfig, InstanceAiConfirmationRequestPayload, InstanceAiConfirmationSeverity, InstanceAiCredentialRequest, InstanceAiAgentStatus, InstanceAiAgentKind, TaskItem, TaskList, InstanceAiRunStartEvent, InstanceAiRunFinishEvent, InstanceAiAgentSpawnedEvent, InstanceAiAgentCompletedEvent, InstanceAiTextDeltaEvent, InstanceAiReasoningDeltaEvent, InstanceAiToolCallEvent, InstanceAiToolResultEvent, InstanceAiToolErrorEvent, InstanceAiConfirmationRequestEvent, InstanceAiErrorEvent, InstanceAiFilesystemRequestEvent, InstanceAiFilesystemResponse, InstanceAiGatewayCapabilities, McpTool, McpToolAnnotations, McpToolCallRequest, McpToolCallResult, InstanceAiEvent, InstanceAiAttachment, InstanceAiSendMessageResponse, InstanceAiToolCallState, InstanceAiAgentNode, InstanceAiTimelineEntry, InstanceAiMessage, InstanceAiThreadSummary, InstanceAiSSEConnectionState, InstanceAiThreadInfo, InstanceAiThreadListResponse, InstanceAiEnsureThreadResponse, InstanceAiStoredMessage, InstanceAiThreadMessagesResponse, InstanceAiRunDebugSummary, InstanceAiRunDebugStep, InstanceAiRunDebugWorkflowCodeSnapshot, InstanceAiRunDebugResponse, InstanceAiThreadDebugRunsResponse, InstanceAiRichMessagesResponse, InstanceAiMemoryTaskKind, InstanceAiMemoryTaskStatus, InstanceAiMemoryTaskSnapshot, InstanceAiThreadStatusResponse, InstanceAiConfirmResponse, InstanceAiAdminSettingsResponse, InstanceAiUserPreferencesResponse, InstanceAiModelCredential, InstanceAiSandboxProvider, InstanceAiMcpConnectionResponse, InstanceAiMcpConnectionToolFilterResponse, InstanceAiMcpConnectionToolResponse, InstanceAiPermissionMode, InstanceAiPermissions, InstanceAiTargetResource, InstanceAiFileAttachment, InstanceAiWorkflowAttachment, DomainAccessAction, DomainAccessGrants, DomainAccessMeta, WebSearchMeta, InstanceAiCredentialFlow, InstanceAiCredentialHandoffContext, InstanceAiHandoffContext, GatewayConfirmationRequiredWirePayload, GatewayConfirmationRequiredPayload, InstanceGatewayResourceDecision, InstanceAiBrowserCreateLinkResponse, InstanceAiBrowserStatusResponse, ToolCategory, InstanceAiWorkflowSetupNode, PlannedTaskArg, InstanceAiEvalNodeExecutionMode, InstanceAiEvalInterceptedRequest, InstanceAiEvalNodeResult, InstanceAiEvalMockHints, InstanceAiEvalMockedCredential, InstanceAiEvalRewrittenCredential, InstanceAiEvalExecutionResult, InstanceAiEvalSeedWorkflow, InstanceAiEvalSeedDataTable, } from './schemas/instance-ai.schema';
50
52
  export type { McpRegistryServerStatus, McpRegistryServerIconResponse, McpRegistryServerToolResponse, McpRegistryServerResponse, } from './schemas/mcp-registry.schema';
51
53
  export { createInitialState, reduceEvent, findAgent, toAgentTree, stateFromAgentTree, normalizeLegacyReasoningTimeline, normalizeAgentTree, } from './schemas/agent-run-reducer';
52
54
  export type { AgentRunState } from './schemas/agent-run-reducer';
package/dist/index.js CHANGED
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.isSourceControlledFileStatus = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = exports.credentialResolverAffectedWorkflowsSchema = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolversSchema = exports.credentialResolverSchema = exports.SYSTEM_RESOLVER_ID = exports.createPasswordSchema = exports.passwordSchema = exports.ViewableMimeTypes = exports.FAVORITE_RESOURCE_TYPES = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.TimeZoneSchema = exports.StrictTimeZoneSchema = exports.isValidTimeZone = exports.VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubVectorStoreProviderSchema = exports.CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ChatHubUpdateToolRequest = exports.ChatHubCreateToolRequest = exports.chatHubMessageWithButtonsSchema = exports.ChatReconnectRequest = exports.ChatHubSemanticSearchSettings = exports.UpdateChatEnabledRequest = exports.UpdateChatSettingsRequest = exports.suggestedPromptsSchema = exports.agentIconOrEmojiSchema = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubManualEditMessageRequest = exports.ChatHubEditMessageRequest = exports.ChatHubManualRegenerateMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubManualSendMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubSessionTypeSchema = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = exports.Z = void 0;
18
- exports.confirmationInputTypeSchema = exports.confirmationRequestPayloadSchema = exports.toolErrorPayloadSchema = exports.toolResultPayloadSchema = exports.toolCallPayloadSchema = exports.reasoningDeltaPayloadSchema = exports.textDeltaPayloadSchema = exports.agentCompletedPayloadSchema = exports.agentSpawnedPayloadSchema = exports.runFinishPayloadSchema = exports.runStartPayloadSchema = exports.plannedTaskArgSchema = exports.taskListSchema = exports.taskItemSchema = exports.instanceAiEventSchema = exports.instanceAiAgentKindSchema = exports.instanceAiAgentStatusSchema = exports.instanceAiConfirmationSeveritySchema = exports.instanceAiRunStatusSchema = exports.instanceAiEventTypeSchema = exports.parseDomainAccessGrants = exports.WEB_SEARCH_GRANT_KEY = exports.FETCH_URL_ALLOW_ALL_GRANT_KEY = exports.buildFetchUrlGrantKey = exports.buildRunWorkflowSessionGrantKey = exports.publicApiCredentialResponseSchema = exports.communityPackageResponseSchema = exports.reloadSecretProviderConnectionResponseSchema = exports.testSecretProviderConnectionResponseSchema = exports.SECRETS_PROVIDER_KEY_REGEX = exports.SECRETS_PROVIDER_KEY_PATTERN = exports.MIGRATION_REPORT_TARGET_VERSION = exports.WorkflowPublicationStatusSchema = exports.WorkflowExecutionStatusSchema = exports.dataTableIdSchema = exports.dataTableColumnNameSchema = exports.dateTimeSchema = exports.DATA_TABLE_COLUMN_ERROR_MESSAGE = exports.DATA_TABLE_COLUMN_MAX_LENGTH = exports.DATA_TABLE_COLUMN_REGEX = exports.encryptionKeysListSchema = exports.encryptionKeySchema = exports.userDetailSchema = exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.insightsSummarySchema = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = void 0;
19
- exports.toAgentTree = exports.findAgent = exports.reduceEvent = exports.createInitialState = exports.applyBranchReadOnlyOverrides = exports.InstanceAiFilesystemResponseDto = exports.InstanceAiGatewayCreateCredentialDto = exports.InstanceAiGatewayCapabilitiesDto = exports.InstanceAiUserPreferencesUpdateRequest = exports.InstanceAiAdminSettingsUpdateRequest = exports.InstanceAiThreadMessagesQuery = exports.instanceAiWorkflowAttachmentSchema = exports.instanceAiFileAttachmentSchema = exports.instanceAiAttachmentSchema = exports.InstanceAiEnsureThreadRequest = exports.InstanceAiCorrectTaskRequest = exports.InstanceAiEventsQuery = exports.InstanceAiGatewayEventsQuery = exports.instanceAiGatewayKeySchema = exports.InstanceAiEvalRestoreThreadRequest = exports.AI_GATEWAY_MANAGED_TAG = exports.INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS = exports.InstanceAiEvalCredentialAllowlistRequest = exports.InstanceAiEvalExecutionRequest = exports.InstanceAiSendMessageRequest = exports.GATEWAY_CONFIRMATION_REQUIRED_PREFIX = exports.isInstanceAiSandboxProvider = exports.instanceAiSandboxProviderSchema = exports.instanceGatewayResourceDecisionSchema = exports.gatewayConfirmationRequiredPayloadSchema = exports.gatewayConfirmationRequiredWirePayloadSchema = exports.instanceAiHandoffContextSchema = exports.instanceAiCredentialHandoffContextSchema = exports.credentialFlowSchema = exports.webSearchMetaSchema = exports.domainAccessMetaSchema = exports.domainAccessActionSchema = exports.EVAL_VENDOR_SDK_INTERCEPTION_FLAG = exports.UNLIMITED_CREDITS = exports.DEFAULT_INSTANCE_AI_PERMISSIONS = exports.isSafeObjectKey = exports.isDisplayableConfirmationRequest = exports.getRenderHint = exports.mcpToolCallResultSchema = exports.mcpToolCallRequestSchema = exports.mcpToolSchema = exports.filesystemRequestPayloadSchema = exports.errorPayloadSchema = exports.workflowSetupNodeSchema = exports.credentialRequestSchema = void 0;
20
- exports.buildProxyHeaders = exports.N8N_PROXY_FEATURES = exports.X_N8N_VERSION_HEADER = exports.X_N8N_FEATURE_HEADER = exports.isAllowedDomain = exports.ALLOWED_DOMAINS = exports.GenerateInsightsDto = exports.generateInsightsSchema = exports.aiInsightsResponseSchema = exports.aiInsightsPayloadSchema = exports.aiInsightsStatusSchema = exports.AddRunToCollectionDto = exports.addRunToCollectionSchema = exports.UpdateEvaluationCollectionDto = exports.updateEvaluationCollectionSchema = exports.CreateEvaluationCollectionDto = exports.createEvaluationCollectionSchema = exports.evalCollectionVersionEntrySchema = exports.EVAL_COLLECTIONS_FLAG = exports.MCP_APPS_VARIANT_ENABLED = exports.MCP_APPS_VARIANT_CONTROL = exports.MCP_APPS_FLAG = exports.StartTestRunRequestDto = exports.startTestRunPayloadSchema = exports.parseStepSummary = exports.parseOutputExtras = exports.parseOutputDisplayBlocks = exports.parseInputExtras = exports.parseUsageSummary = exports.parseMessageBlocks = exports.parseSystemPromptForDisplay = exports.summarizeJsonValue = exports.formatDebugJson = exports.normalizeAgentTree = exports.normalizeLegacyReasoningTimeline = exports.stateFromAgentTree = void 0;
18
+ exports.toolErrorPayloadSchema = exports.toolResultPayloadSchema = exports.toolCallPayloadSchema = exports.reasoningDeltaPayloadSchema = exports.textDeltaPayloadSchema = exports.agentCompletedPayloadSchema = exports.agentSpawnedPayloadSchema = exports.runFinishPayloadSchema = exports.runStartPayloadSchema = exports.plannedTaskArgSchema = exports.taskListSchema = exports.taskItemSchema = exports.instanceAiEventSchema = exports.instanceAiAgentKindSchema = exports.instanceAiAgentStatusSchema = exports.instanceAiConfirmationSeveritySchema = exports.instanceAiRunStatusSchema = exports.INSTANCE_AI_EPHEMERAL_EVENT_TYPES = exports.instanceAiEventTypeSchema = exports.parseDomainAccessGrants = exports.WEB_SEARCH_GRANT_KEY = exports.FETCH_URL_ALLOW_ALL_GRANT_KEY = exports.buildFetchUrlGrantKey = exports.buildRunWorkflowSessionGrantKey = exports.publicApiCredentialResponseSchema = exports.communityPackageResponseSchema = exports.reloadSecretProviderConnectionResponseSchema = exports.testSecretProviderConnectionResponseSchema = exports.SECRETS_PROVIDER_KEY_REGEX = exports.SECRETS_PROVIDER_KEY_PATTERN = exports.MIGRATION_REPORT_TARGET_VERSION = exports.WorkflowPublicationStatusSchema = exports.WorkflowExecutionStatusSchema = exports.dataTableIdSchema = exports.dataTableColumnTypeSchema = exports.dataTableColumnNameSchema = exports.dateTimeSchema = exports.DATA_TABLE_COLUMN_ERROR_MESSAGE = exports.DATA_TABLE_COLUMN_MAX_LENGTH = exports.DATA_TABLE_COLUMN_REGEX = exports.encryptionKeysListSchema = exports.encryptionKeySchema = exports.userDetailSchema = exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.insightsSummarySchema = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = void 0;
19
+ exports.normalizeInstanceAiThreadSource = exports.applyBranchReadOnlyOverrides = exports.InstanceAiFilesystemResponseDto = exports.InstanceAiGatewayCreateCredentialDto = exports.InstanceAiGatewayCapabilitiesDto = exports.InstanceAiUserPreferencesUpdateRequest = exports.InstanceAiAdminSettingsUpdateRequest = exports.InstanceAiThreadMessagesQuery = exports.instanceAiWorkflowAttachmentSchema = exports.instanceAiFileAttachmentSchema = exports.instanceAiAttachmentSchema = exports.InstanceAiEnsureThreadRequest = exports.InstanceAiCorrectTaskRequest = exports.InstanceAiEventsQuery = exports.InstanceAiGatewayEventsQuery = exports.instanceAiGatewayKeySchema = exports.InstanceAiEvalRestoreThreadRequest = exports.AI_GATEWAY_MANAGED_TAG = exports.INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS = exports.InstanceAiEvalCredentialAllowlistRequest = exports.InstanceAiEvalExecutionRequest = exports.InstanceAiSendMessageRequest = exports.GATEWAY_CONFIRMATION_REQUIRED_PREFIX = exports.isInstanceAiSandboxProvider = exports.instanceAiSandboxProviderSchema = exports.instanceGatewayResourceDecisionSchema = exports.gatewayConfirmationRequiredPayloadSchema = exports.gatewayConfirmationRequiredWirePayloadSchema = exports.instanceAiHandoffContextSchema = exports.instanceAiCredentialHandoffContextSchema = exports.credentialFlowSchema = exports.webSearchMetaSchema = exports.domainAccessMetaSchema = exports.domainAccessActionSchema = exports.EVAL_VENDOR_SDK_INTERCEPTION_FLAG = exports.UNLIMITED_CREDITS = exports.DEFAULT_INSTANCE_AI_PERMISSIONS = exports.isSafeObjectKey = exports.isDisplayableConfirmationRequest = exports.getRenderHint = exports.mcpToolCallResultSchema = exports.mcpToolCallRequestSchema = exports.mcpToolSchema = exports.filesystemRequestPayloadSchema = exports.errorPayloadSchema = exports.workflowSetupNodeSchema = exports.credentialRequestSchema = exports.channelConfigSchema = exports.confirmationInputTypeSchema = exports.confirmationRequestPayloadSchema = void 0;
20
+ exports.buildProxyHeaders = exports.N8N_PROXY_FEATURES = exports.X_N8N_VERSION_HEADER = exports.X_N8N_FEATURE_HEADER = exports.isAllowedDomain = exports.ALLOWED_DOMAINS = exports.GenerateInsightsDto = exports.generateInsightsSchema = exports.aiInsightsResponseSchema = exports.aiInsightsPayloadSchema = exports.aiInsightsStatusSchema = exports.AddRunToCollectionDto = exports.addRunToCollectionSchema = exports.UpdateEvaluationCollectionDto = exports.updateEvaluationCollectionSchema = exports.CreateEvaluationCollectionDto = exports.createEvaluationCollectionSchema = exports.evalCollectionVersionEntrySchema = exports.EVAL_COLLECTIONS_FLAG = exports.MCP_APPS_VARIANT_ENABLED = exports.MCP_APPS_VARIANT_CONTROL = exports.MCP_APPS_FLAG = exports.StartTestRunRequestDto = exports.startTestRunPayloadSchema = exports.parseStepSummary = exports.parseOutputExtras = exports.parseOutputDisplayBlocks = exports.parseInputExtras = exports.parseUsageSummary = exports.parseMessageBlocks = exports.parseSystemPromptForDisplay = exports.summarizeJsonValue = exports.formatDebugJson = exports.normalizeAgentTree = exports.normalizeLegacyReasoningTimeline = exports.stateFromAgentTree = exports.toAgentTree = exports.findAgent = exports.reduceEvent = exports.createInitialState = void 0;
21
21
  var zod_class_1 = require("./zod-class");
22
22
  Object.defineProperty(exports, "Z", { enumerable: true, get: function () { return zod_class_1.Z; } });
23
23
  __exportStar(require("./dto"), exports);
@@ -25,6 +25,7 @@ __exportStar(require("./agents/index"), exports);
25
25
  __exportStar(require("./instance-registry-types"), exports);
26
26
  __exportStar(require("./redaction-enforcement"), exports);
27
27
  __exportStar(require("./redaction-enforcement-floor"), exports);
28
+ __exportStar(require("./workflow-reviews-policy"), exports);
28
29
  var chat_hub_1 = require("./chat-hub");
29
30
  Object.defineProperty(exports, "chatHubConversationModelSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubConversationModelSchema; } });
30
31
  Object.defineProperty(exports, "chatHubProviderSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubProviderSchema; } });
@@ -102,6 +103,7 @@ Object.defineProperty(exports, "DATA_TABLE_COLUMN_MAX_LENGTH", { enumerable: tru
102
103
  Object.defineProperty(exports, "DATA_TABLE_COLUMN_ERROR_MESSAGE", { enumerable: true, get: function () { return data_table_schema_1.DATA_TABLE_COLUMN_ERROR_MESSAGE; } });
103
104
  Object.defineProperty(exports, "dateTimeSchema", { enumerable: true, get: function () { return data_table_schema_1.dateTimeSchema; } });
104
105
  Object.defineProperty(exports, "dataTableColumnNameSchema", { enumerable: true, get: function () { return data_table_schema_1.dataTableColumnNameSchema; } });
106
+ Object.defineProperty(exports, "dataTableColumnTypeSchema", { enumerable: true, get: function () { return data_table_schema_1.dataTableColumnTypeSchema; } });
105
107
  Object.defineProperty(exports, "dataTableIdSchema", { enumerable: true, get: function () { return data_table_schema_1.dataTableIdSchema; } });
106
108
  var workflow_execution_status_schema_1 = require("./schemas/workflow-execution-status.schema");
107
109
  Object.defineProperty(exports, "WorkflowExecutionStatusSchema", { enumerable: true, get: function () { return workflow_execution_status_schema_1.WorkflowExecutionStatusSchema; } });
@@ -125,6 +127,7 @@ Object.defineProperty(exports, "FETCH_URL_ALLOW_ALL_GRANT_KEY", { enumerable: tr
125
127
  Object.defineProperty(exports, "WEB_SEARCH_GRANT_KEY", { enumerable: true, get: function () { return instance_ai_schema_1.WEB_SEARCH_GRANT_KEY; } });
126
128
  Object.defineProperty(exports, "parseDomainAccessGrants", { enumerable: true, get: function () { return instance_ai_schema_1.parseDomainAccessGrants; } });
127
129
  Object.defineProperty(exports, "instanceAiEventTypeSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiEventTypeSchema; } });
130
+ Object.defineProperty(exports, "INSTANCE_AI_EPHEMERAL_EVENT_TYPES", { enumerable: true, get: function () { return instance_ai_schema_1.INSTANCE_AI_EPHEMERAL_EVENT_TYPES; } });
128
131
  Object.defineProperty(exports, "instanceAiRunStatusSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiRunStatusSchema; } });
129
132
  Object.defineProperty(exports, "instanceAiConfirmationSeveritySchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiConfirmationSeveritySchema; } });
130
133
  Object.defineProperty(exports, "instanceAiAgentStatusSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiAgentStatusSchema; } });
@@ -144,6 +147,7 @@ Object.defineProperty(exports, "toolResultPayloadSchema", { enumerable: true, ge
144
147
  Object.defineProperty(exports, "toolErrorPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.toolErrorPayloadSchema; } });
145
148
  Object.defineProperty(exports, "confirmationRequestPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.confirmationRequestPayloadSchema; } });
146
149
  Object.defineProperty(exports, "confirmationInputTypeSchema", { enumerable: true, get: function () { return instance_ai_schema_1.confirmationInputTypeSchema; } });
150
+ Object.defineProperty(exports, "channelConfigSchema", { enumerable: true, get: function () { return instance_ai_schema_1.channelConfigSchema; } });
147
151
  Object.defineProperty(exports, "credentialRequestSchema", { enumerable: true, get: function () { return instance_ai_schema_1.credentialRequestSchema; } });
148
152
  Object.defineProperty(exports, "workflowSetupNodeSchema", { enumerable: true, get: function () { return instance_ai_schema_1.workflowSetupNodeSchema; } });
149
153
  Object.defineProperty(exports, "errorPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.errorPayloadSchema; } });
@@ -190,6 +194,7 @@ Object.defineProperty(exports, "InstanceAiGatewayCapabilitiesDto", { enumerable:
190
194
  Object.defineProperty(exports, "InstanceAiGatewayCreateCredentialDto", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiGatewayCreateCredentialDto; } });
191
195
  Object.defineProperty(exports, "InstanceAiFilesystemResponseDto", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiFilesystemResponseDto; } });
192
196
  Object.defineProperty(exports, "applyBranchReadOnlyOverrides", { enumerable: true, get: function () { return instance_ai_schema_1.applyBranchReadOnlyOverrides; } });
197
+ Object.defineProperty(exports, "normalizeInstanceAiThreadSource", { enumerable: true, get: function () { return instance_ai_schema_1.normalizeInstanceAiThreadSource; } });
193
198
  var agent_run_reducer_1 = require("./schemas/agent-run-reducer");
194
199
  Object.defineProperty(exports, "createInitialState", { enumerable: true, get: function () { return agent_run_reducer_1.createInitialState; } });
195
200
  Object.defineProperty(exports, "reduceEvent", { enumerable: true, get: function () { return agent_run_reducer_1.reduceEvent; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,yCAA+C;AAAtC,8FAAA,CAAC,OAAA;AAEV,wCAAsB;AAQtB,iDAA+B;AAC/B,4DAA0C;AAC1C,0DAAwC;AACxC,gEAA8C;AAC9C,uCA0EoB;AAzEnB,0HAAA,8BAA8B,OAAA;AAW9B,iHAAA,qBAAqB,OAAA;AACrB,oHAAA,wBAAwB,OAAA;AACxB,oHAAA,wBAAwB,OAAA;AAMxB,wHAAA,4BAA4B,OAAA;AAC5B,mHAAA,uBAAuB,OAAA;AACvB,mHAAA,uBAAuB,OAAA;AAGvB,gHAAA,oBAAoB,OAAA;AAEpB,qHAAA,yBAAyB,OAAA;AACzB,2HAAA,+BAA+B,OAAA;AAC/B,2HAAA,+BAA+B,OAAA;AAC/B,iIAAA,qCAAqC,OAAA;AACrC,qHAAA,yBAAyB,OAAA;AACzB,2HAAA,+BAA+B,OAAA;AAC/B,4HAAA,gCAAgC,OAAA;AAChC,uHAAA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