@n8n/api-types 1.41.2 → 1.42.1

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 (205) hide show
  1. package/dist/agent-sse.d.ts +10 -0
  2. package/dist/agents/agent-config-lifecycle.d.ts +1 -0
  3. package/dist/agents/agent-config-lifecycle.js +1 -1
  4. package/dist/agents/agent-config-lifecycle.js.map +1 -1
  5. package/dist/agents/agent-integration.schema.d.ts +533 -1
  6. package/dist/agents/agent-integration.schema.js +71 -2
  7. package/dist/agents/agent-integration.schema.js.map +1 -1
  8. package/dist/agents/agent-json-config.schema.d.ts +1559 -112
  9. package/dist/agents/agent-json-config.schema.js +7 -13
  10. package/dist/agents/agent-json-config.schema.js.map +1 -1
  11. package/dist/agents/dto.d.ts +691 -6
  12. package/dist/agents/dto.js +19 -1
  13. package/dist/agents/dto.js.map +1 -1
  14. package/dist/agents/index.d.ts +1 -0
  15. package/dist/agents/index.js.map +1 -1
  16. package/dist/agents/inline-agent-config.schema.d.ts +805 -81
  17. package/dist/agents/teams/index.d.ts +1 -0
  18. package/dist/{dto/evaluations/public-api-test-run.dto.js → agents/teams/index.js} +1 -1
  19. package/dist/agents/teams/index.js.map +1 -0
  20. package/dist/agents/teams/types.d.ts +59 -0
  21. package/dist/agents/teams/types.js +3 -0
  22. package/dist/agents/teams/types.js.map +1 -0
  23. package/dist/agents/types.d.ts +31 -2
  24. package/dist/agents/types.js.map +1 -1
  25. package/dist/build.tsbuildinfo +1 -1
  26. package/dist/constants/auth.d.ts +1 -0
  27. package/dist/constants/auth.js +5 -0
  28. package/dist/constants/auth.js.map +1 -0
  29. package/dist/constants/canvas-feature-flags.d.ts +2 -0
  30. package/dist/constants/canvas-feature-flags.js +6 -0
  31. package/dist/constants/canvas-feature-flags.js.map +1 -0
  32. package/dist/constants/credential-descriptions.d.ts +1 -0
  33. package/dist/constants/credential-descriptions.js +5 -0
  34. package/dist/constants/credential-descriptions.js.map +1 -0
  35. package/dist/constants/empty-canvas-groups.d.ts +1 -0
  36. package/dist/constants/empty-canvas-groups.js +5 -0
  37. package/dist/constants/empty-canvas-groups.js.map +1 -0
  38. package/dist/credential-type-availability.d.ts +9 -0
  39. package/dist/credential-type-availability.js +3 -0
  40. package/dist/credential-type-availability.js.map +1 -0
  41. package/dist/dto/ai-preference/ai-preference-list-query.dto.d.ts +6 -2
  42. package/dist/dto/ai-preference/ai-preference-list-query.dto.js +19 -1
  43. package/dist/dto/ai-preference/ai-preference-list-query.dto.js.map +1 -1
  44. package/dist/dto/audit/audit-public.dto.d.ts +3730 -0
  45. package/dist/dto/audit/audit-public.dto.js +107 -0
  46. package/dist/dto/audit/audit-public.dto.js.map +1 -0
  47. package/dist/dto/audit/audit-public.openapi.d.ts +7 -0
  48. package/dist/dto/audit/audit-public.openapi.js +109 -0
  49. package/dist/dto/audit/audit-public.openapi.js.map +1 -0
  50. package/dist/dto/community-packages/community-package-public.dto.d.ts +184 -0
  51. package/dist/dto/community-packages/community-package-public.dto.js +56 -0
  52. package/dist/dto/community-packages/community-package-public.dto.js.map +1 -0
  53. package/dist/dto/community-packages/community-package-public.openapi.d.ts +19 -0
  54. package/dist/dto/community-packages/community-package-public.openapi.js +23 -0
  55. package/dist/dto/community-packages/community-package-public.openapi.js.map +1 -0
  56. package/dist/dto/credentials/create-credential.dto.d.ts +2 -0
  57. package/dist/dto/credentials/create-credential.dto.js +1 -0
  58. package/dist/dto/credentials/create-credential.dto.js.map +1 -1
  59. package/dist/dto/credentials/credential-public.dto.d.ts +16 -0
  60. package/dist/dto/credentials/credential-public.dto.js +14 -1
  61. package/dist/dto/credentials/credential-public.dto.js.map +1 -1
  62. package/dist/dto/data-table/data-table-public.dto.d.ts +268 -0
  63. package/dist/dto/data-table/data-table-public.dto.js +60 -0
  64. package/dist/dto/data-table/data-table-public.dto.js.map +1 -0
  65. package/dist/dto/data-table/data-table-public.openapi.d.ts +102 -0
  66. package/dist/dto/data-table/data-table-public.openapi.js +77 -0
  67. package/dist/dto/data-table/data-table-public.openapi.js.map +1 -0
  68. package/dist/dto/data-table/list-data-table-query.dto.d.ts +3 -2
  69. package/dist/dto/data-table/list-data-table-query.dto.js +6 -3
  70. package/dist/dto/data-table/list-data-table-query.dto.js.map +1 -1
  71. package/dist/dto/discover/discover-public.dto.d.ts +199 -0
  72. package/dist/dto/discover/discover-public.dto.js +51 -0
  73. package/dist/dto/discover/discover-public.dto.js.map +1 -0
  74. package/dist/dto/discover/discover-public.openapi.d.ts +26 -0
  75. package/dist/dto/discover/discover-public.openapi.js +26 -0
  76. package/dist/dto/discover/discover-public.openapi.js.map +1 -0
  77. package/dist/dto/evaluations/index.d.ts +1 -1
  78. package/dist/dto/evaluations/index.js +1 -0
  79. package/dist/dto/evaluations/index.js.map +1 -1
  80. package/dist/dto/evaluations/llm-judge-providers.js +1 -1
  81. package/dist/dto/evaluations/llm-judge-providers.js.map +1 -1
  82. package/dist/dto/evaluations/test-run-public.dto.d.ts +283 -0
  83. package/dist/dto/evaluations/test-run-public.dto.js +90 -0
  84. package/dist/dto/evaluations/test-run-public.dto.js.map +1 -0
  85. package/dist/dto/evaluations/test-run-public.openapi.d.ts +43 -0
  86. package/dist/dto/evaluations/test-run-public.openapi.js +55 -0
  87. package/dist/dto/evaluations/test-run-public.openapi.js.map +1 -0
  88. package/dist/dto/folders/folder-public.dto.d.ts +96 -0
  89. package/dist/dto/folders/folder-public.dto.js +56 -2
  90. package/dist/dto/folders/folder-public.dto.js.map +1 -1
  91. package/dist/dto/folders/folder-public.openapi.d.ts +21 -0
  92. package/dist/dto/folders/folder-public.openapi.js +20 -1
  93. package/dist/dto/folders/folder-public.openapi.js.map +1 -1
  94. package/dist/dto/index.d.ts +19 -7
  95. package/dist/dto/index.js +67 -12
  96. package/dist/dto/index.js.map +1 -1
  97. package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.d.ts +28 -0
  98. package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.js +23 -0
  99. package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.js.map +1 -0
  100. package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.d.ts +71 -0
  101. package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.js +9 -0
  102. package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.js.map +1 -0
  103. package/dist/dto/invitation/invite-users-request.dto.d.ts +1 -2
  104. package/dist/dto/invitation/invite-users-request.dto.js +3 -3
  105. package/dist/dto/invitation/invite-users-request.dto.js.map +1 -1
  106. package/dist/dto/oidc/config.dto.d.ts +0 -37
  107. package/dist/dto/oidc/config.dto.js +1 -11
  108. package/dist/dto/oidc/config.dto.js.map +1 -1
  109. package/dist/dto/oidc/oidc-configuration-public.dto.d.ts +142 -0
  110. package/dist/dto/oidc/oidc-configuration-public.dto.js +56 -0
  111. package/dist/dto/oidc/oidc-configuration-public.dto.js.map +1 -0
  112. package/dist/dto/oidc/oidc-configuration-public.openapi.d.ts +57 -0
  113. package/dist/dto/oidc/oidc-configuration-public.openapi.js +61 -0
  114. package/dist/dto/oidc/oidc-configuration-public.openapi.js.map +1 -0
  115. package/dist/dto/packages/import-package-request.dto.d.ts +16 -0
  116. package/dist/dto/packages/import-package-request.dto.js +54 -1
  117. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  118. package/dist/dto/project/project-public.dto.d.ts +42 -2
  119. package/dist/dto/project/project-public.dto.js +11 -1
  120. package/dist/dto/project/project-public.dto.js.map +1 -1
  121. package/dist/dto/project/update-project.dto.js +1 -11
  122. package/dist/dto/project/update-project.dto.js.map +1 -1
  123. package/dist/dto/promotions/promotable-resource.dto.d.ts +12 -3
  124. package/dist/dto/promotions/promotable-resource.dto.js +13 -2
  125. package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
  126. package/dist/dto/promotions/promotion-binding-preflight.dto.d.ts +189 -0
  127. package/dist/dto/promotions/promotion-binding-preflight.dto.js +12 -1
  128. package/dist/dto/promotions/promotion-binding-preflight.dto.js.map +1 -1
  129. package/dist/dto/promotions/promotion-operations.dto.d.ts +217 -0
  130. package/dist/dto/security-settings/security-policy-public.openapi.d.ts +42 -0
  131. package/dist/dto/security-settings/security-policy-public.openapi.js +46 -0
  132. package/dist/dto/security-settings/security-policy-public.openapi.js.map +1 -0
  133. package/dist/dto/security-settings/security-policy.dto.d.ts +125 -8
  134. package/dist/dto/security-settings/security-policy.dto.js +55 -7
  135. package/dist/dto/security-settings/security-policy.dto.js.map +1 -1
  136. package/dist/dto/user/create-users-public.dto.d.ts +69 -0
  137. package/dist/dto/user/create-users-public.dto.js +33 -0
  138. package/dist/dto/user/create-users-public.dto.js.map +1 -0
  139. package/dist/dto/user/delete-user-query-public.dto.d.ts +10 -0
  140. package/dist/dto/user/delete-user-query-public.dto.js +14 -0
  141. package/dist/dto/user/delete-user-query-public.dto.js.map +1 -0
  142. package/dist/dto/user/get-user-query.dto.d.ts +8 -0
  143. package/dist/dto/user/get-user-query.dto.js +11 -0
  144. package/dist/dto/user/get-user-query.dto.js.map +1 -0
  145. package/dist/dto/user/list-users-query.dto.d.ts +15 -0
  146. package/dist/dto/user/list-users-query.dto.js +16 -0
  147. package/dist/dto/user/list-users-query.dto.js.map +1 -0
  148. package/dist/dto/user/user-public.dto.d.ts +106 -0
  149. package/dist/dto/user/user-public.dto.js +37 -0
  150. package/dist/dto/user/user-public.dto.js.map +1 -0
  151. package/dist/dto/workflows/base-workflow-public.dto.d.ts +59 -1
  152. package/dist/dto/workflows/base-workflow-public.dto.js +3 -1
  153. package/dist/dto/workflows/base-workflow-public.dto.js.map +1 -1
  154. package/dist/dto/workflows/create-workflow-public.dto.d.ts +168 -107
  155. package/dist/dto/workflows/create-workflow-public.dto.js +6 -3
  156. package/dist/dto/workflows/create-workflow-public.dto.js.map +1 -1
  157. package/dist/dto/workflows/update-workflow-public.dto.d.ts +59 -1
  158. package/dist/dto/workflows/workflow-public.openapi.d.ts +4 -0
  159. package/dist/dto/workflows/workflow-public.openapi.js +4 -0
  160. package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
  161. package/dist/frontend-settings.d.ts +4 -0
  162. package/dist/index.d.ts +14 -9
  163. package/dist/index.js +45 -11
  164. package/dist/index.js.map +1 -1
  165. package/dist/instance-registry-types.d.ts +15 -15
  166. package/dist/instance-registry-types.js +2 -2
  167. package/dist/instance-registry-types.js.map +1 -1
  168. package/dist/push/agents.d.ts +9 -1
  169. package/dist/push/collaboration.d.ts +10 -7
  170. package/dist/schemas/agent-run-reducer.js +38 -0
  171. package/dist/schemas/agent-run-reducer.js.map +1 -1
  172. package/dist/schemas/ai-preference.schema.js.map +1 -1
  173. package/dist/schemas/breaking-changes.schema.d.ts +2 -0
  174. package/dist/schemas/breaking-changes.schema.js +8 -1
  175. package/dist/schemas/breaking-changes.schema.js.map +1 -1
  176. package/dist/schemas/folder.schema.d.ts +1 -0
  177. package/dist/schemas/folder.schema.js +4 -4
  178. package/dist/schemas/folder.schema.js.map +1 -1
  179. package/dist/schemas/instance-ai-setup-credential-selection.d.ts +25 -0
  180. package/dist/schemas/instance-ai-setup-credential-selection.js +40 -0
  181. package/dist/schemas/instance-ai-setup-credential-selection.js.map +1 -0
  182. package/dist/schemas/instance-ai.schema.d.ts +2360 -116
  183. package/dist/schemas/instance-ai.schema.js +117 -8
  184. package/dist/schemas/instance-ai.schema.js.map +1 -1
  185. package/dist/schemas/llm-step-display.d.ts +41 -0
  186. package/dist/schemas/llm-step-display.js +242 -3
  187. package/dist/schemas/llm-step-display.js.map +1 -1
  188. package/dist/schemas/mcp.schema.d.ts +2 -2
  189. package/dist/schemas/mcp.schema.js +2 -0
  190. package/dist/schemas/mcp.schema.js.map +1 -1
  191. package/dist/schemas/project.schema.d.ts +16 -0
  192. package/dist/schemas/project.schema.js +9 -1
  193. package/dist/schemas/project.schema.js.map +1 -1
  194. package/dist/schemas/public-api-path-params.schema.d.ts +7 -0
  195. package/dist/schemas/public-api-path-params.schema.js +25 -1
  196. package/dist/schemas/public-api-path-params.schema.js.map +1 -1
  197. package/package.json +8 -6
  198. package/dist/dto/data-table/public-api-create-data-table.dto.d.ts +0 -33
  199. package/dist/dto/data-table/public-api-create-data-table.dto.js +0 -17
  200. package/dist/dto/data-table/public-api-create-data-table.dto.js.map +0 -1
  201. package/dist/dto/evaluations/public-api-test-run.dto.d.ts +0 -37
  202. package/dist/dto/evaluations/public-api-test-run.dto.js.map +0 -1
  203. package/dist/schemas/community-package.schema.d.ts +0 -13
  204. package/dist/schemas/community-package.schema.js +0 -17
  205. package/dist/schemas/community-package.schema.js.map +0 -1
@@ -0,0 +1,3730 @@
1
+ import '../../openapi-extend';
2
+ import { z } from 'zod';
3
+ export declare const SECURITY_AUDIT_CATEGORIES: readonly ['credentials', 'database', 'nodes', 'filesystem', 'instance'];
4
+ declare const GenerateAuditPublicDto_base: import("../../zod-class").ZodClass<{
5
+ additionalOptions?: {
6
+ daysAbandonedWorkflow?: number | undefined;
7
+ categories?: ("credentials" | "database" | "filesystem" | "instance" | "nodes")[] | undefined;
8
+ } | undefined;
9
+ }, {
10
+ additionalOptions: z.ZodOptional<z.ZodObject<{
11
+ daysAbandonedWorkflow: z.ZodOptional<z.ZodNumber>;
12
+ categories: z.ZodOptional<z.ZodArray<z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>, "many">>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ daysAbandonedWorkflow?: number | undefined;
15
+ categories?: ("credentials" | "database" | "filesystem" | "instance" | "nodes")[] | undefined;
16
+ }, {
17
+ daysAbandonedWorkflow?: number | undefined;
18
+ categories?: ("credentials" | "database" | "filesystem" | "instance" | "nodes")[] | undefined;
19
+ }>>;
20
+ }>;
21
+ export declare class GenerateAuditPublicDto extends GenerateAuditPublicDto_base {
22
+ static safeParse(data: unknown): z.SafeParseReturnType<unknown, {
23
+ additionalOptions?: {
24
+ daysAbandonedWorkflow?: number | undefined;
25
+ categories?: ("credentials" | "database" | "filesystem" | "instance" | "nodes")[] | undefined;
26
+ } | undefined;
27
+ }>;
28
+ static parse(data: unknown): {
29
+ additionalOptions?: {
30
+ daysAbandonedWorkflow?: number | undefined;
31
+ categories?: ("credentials" | "database" | "filesystem" | "instance" | "nodes")[] | undefined;
32
+ } | undefined;
33
+ };
34
+ }
35
+ export declare const auditPublicSchema: z.ZodUnion<[z.ZodObject<{
36
+ 'Credentials Risk Report': z.ZodOptional<z.ZodObject<{
37
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
38
+ sections: z.ZodArray<z.ZodObject<{
39
+ title: z.ZodString;
40
+ description: z.ZodString;
41
+ recommendation: z.ZodString;
42
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
43
+ kind: z.ZodLiteral<"node">;
44
+ workflowId: z.ZodString;
45
+ workflowName: z.ZodString;
46
+ nodeId: z.ZodString;
47
+ nodeName: z.ZodString;
48
+ nodeType: z.ZodString;
49
+ }, "strip", z.ZodTypeAny, {
50
+ kind: "node";
51
+ workflowId: string;
52
+ workflowName: string;
53
+ nodeId: string;
54
+ nodeName: string;
55
+ nodeType: string;
56
+ }, {
57
+ kind: "node";
58
+ workflowId: string;
59
+ workflowName: string;
60
+ nodeId: string;
61
+ nodeName: string;
62
+ nodeType: string;
63
+ }>, z.ZodObject<{
64
+ kind: z.ZodLiteral<"credential">;
65
+ id: z.ZodString;
66
+ name: z.ZodString;
67
+ }, "strip", z.ZodTypeAny, {
68
+ kind: "credential";
69
+ id: string;
70
+ name: string;
71
+ }, {
72
+ kind: "credential";
73
+ id: string;
74
+ name: string;
75
+ }>, z.ZodObject<{
76
+ kind: z.ZodLiteral<"community">;
77
+ nodeType: z.ZodString;
78
+ packageUrl: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ kind: "community";
81
+ nodeType: string;
82
+ packageUrl: string;
83
+ }, {
84
+ kind: "community";
85
+ nodeType: string;
86
+ packageUrl: string;
87
+ }>, z.ZodObject<{
88
+ kind: z.ZodLiteral<"custom">;
89
+ nodeType: z.ZodString;
90
+ filePath: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ kind: "custom";
93
+ nodeType: string;
94
+ filePath: string;
95
+ }, {
96
+ kind: "custom";
97
+ nodeType: string;
98
+ filePath: string;
99
+ }>]>, "many">>;
100
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
101
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
102
+ name: z.ZodString;
103
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
104
+ createdAt: z.ZodString;
105
+ description: z.ZodString;
106
+ documentationUrl: z.ZodString;
107
+ hasBreakingChange: z.ZodBoolean;
108
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
109
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
110
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ name: string;
113
+ nodes: unknown[];
114
+ createdAt: string;
115
+ description: string;
116
+ documentationUrl: string;
117
+ hasBreakingChange: boolean;
118
+ hasSecurityFix: boolean | null;
119
+ hasSecurityIssue: boolean | null;
120
+ securityIssueFixVersion: string | null;
121
+ }, {
122
+ name: string;
123
+ nodes: unknown[];
124
+ createdAt: string;
125
+ description: string;
126
+ documentationUrl: string;
127
+ hasBreakingChange: boolean;
128
+ hasSecurityFix: boolean | null;
129
+ hasSecurityIssue: boolean | null;
130
+ securityIssueFixVersion: string | null;
131
+ }>, "many">>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ title: string;
134
+ description: string;
135
+ recommendation: string;
136
+ location?: ({
137
+ kind: "node";
138
+ workflowId: string;
139
+ workflowName: string;
140
+ nodeId: string;
141
+ nodeName: string;
142
+ nodeType: string;
143
+ } | {
144
+ kind: "credential";
145
+ id: string;
146
+ name: string;
147
+ } | {
148
+ kind: "community";
149
+ nodeType: string;
150
+ packageUrl: string;
151
+ } | {
152
+ kind: "custom";
153
+ nodeType: string;
154
+ filePath: string;
155
+ })[] | undefined;
156
+ settings?: Record<string, unknown> | undefined;
157
+ nextVersions?: {
158
+ name: string;
159
+ nodes: unknown[];
160
+ createdAt: string;
161
+ description: string;
162
+ documentationUrl: string;
163
+ hasBreakingChange: boolean;
164
+ hasSecurityFix: boolean | null;
165
+ hasSecurityIssue: boolean | null;
166
+ securityIssueFixVersion: string | null;
167
+ }[] | undefined;
168
+ }, {
169
+ title: string;
170
+ description: string;
171
+ recommendation: string;
172
+ location?: ({
173
+ kind: "node";
174
+ workflowId: string;
175
+ workflowName: string;
176
+ nodeId: string;
177
+ nodeName: string;
178
+ nodeType: string;
179
+ } | {
180
+ kind: "credential";
181
+ id: string;
182
+ name: string;
183
+ } | {
184
+ kind: "community";
185
+ nodeType: string;
186
+ packageUrl: string;
187
+ } | {
188
+ kind: "custom";
189
+ nodeType: string;
190
+ filePath: string;
191
+ })[] | undefined;
192
+ settings?: Record<string, unknown> | undefined;
193
+ nextVersions?: {
194
+ name: string;
195
+ nodes: unknown[];
196
+ createdAt: string;
197
+ description: string;
198
+ documentationUrl: string;
199
+ hasBreakingChange: boolean;
200
+ hasSecurityFix: boolean | null;
201
+ hasSecurityIssue: boolean | null;
202
+ securityIssueFixVersion: string | null;
203
+ }[] | undefined;
204
+ }>, "many">;
205
+ }, "strip", z.ZodTypeAny, {
206
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
207
+ sections: {
208
+ title: string;
209
+ description: string;
210
+ recommendation: string;
211
+ location?: ({
212
+ kind: "node";
213
+ workflowId: string;
214
+ workflowName: string;
215
+ nodeId: string;
216
+ nodeName: string;
217
+ nodeType: string;
218
+ } | {
219
+ kind: "credential";
220
+ id: string;
221
+ name: string;
222
+ } | {
223
+ kind: "community";
224
+ nodeType: string;
225
+ packageUrl: string;
226
+ } | {
227
+ kind: "custom";
228
+ nodeType: string;
229
+ filePath: string;
230
+ })[] | undefined;
231
+ settings?: Record<string, unknown> | undefined;
232
+ nextVersions?: {
233
+ name: string;
234
+ nodes: unknown[];
235
+ createdAt: string;
236
+ description: string;
237
+ documentationUrl: string;
238
+ hasBreakingChange: boolean;
239
+ hasSecurityFix: boolean | null;
240
+ hasSecurityIssue: boolean | null;
241
+ securityIssueFixVersion: string | null;
242
+ }[] | undefined;
243
+ }[];
244
+ }, {
245
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
246
+ sections: {
247
+ title: string;
248
+ description: string;
249
+ recommendation: string;
250
+ location?: ({
251
+ kind: "node";
252
+ workflowId: string;
253
+ workflowName: string;
254
+ nodeId: string;
255
+ nodeName: string;
256
+ nodeType: string;
257
+ } | {
258
+ kind: "credential";
259
+ id: string;
260
+ name: string;
261
+ } | {
262
+ kind: "community";
263
+ nodeType: string;
264
+ packageUrl: string;
265
+ } | {
266
+ kind: "custom";
267
+ nodeType: string;
268
+ filePath: string;
269
+ })[] | undefined;
270
+ settings?: Record<string, unknown> | undefined;
271
+ nextVersions?: {
272
+ name: string;
273
+ nodes: unknown[];
274
+ createdAt: string;
275
+ description: string;
276
+ documentationUrl: string;
277
+ hasBreakingChange: boolean;
278
+ hasSecurityFix: boolean | null;
279
+ hasSecurityIssue: boolean | null;
280
+ securityIssueFixVersion: string | null;
281
+ }[] | undefined;
282
+ }[];
283
+ }>>;
284
+ 'Database Risk Report': z.ZodOptional<z.ZodObject<{
285
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
286
+ sections: z.ZodArray<z.ZodObject<{
287
+ title: z.ZodString;
288
+ description: z.ZodString;
289
+ recommendation: z.ZodString;
290
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
291
+ kind: z.ZodLiteral<"node">;
292
+ workflowId: z.ZodString;
293
+ workflowName: z.ZodString;
294
+ nodeId: z.ZodString;
295
+ nodeName: z.ZodString;
296
+ nodeType: z.ZodString;
297
+ }, "strip", z.ZodTypeAny, {
298
+ kind: "node";
299
+ workflowId: string;
300
+ workflowName: string;
301
+ nodeId: string;
302
+ nodeName: string;
303
+ nodeType: string;
304
+ }, {
305
+ kind: "node";
306
+ workflowId: string;
307
+ workflowName: string;
308
+ nodeId: string;
309
+ nodeName: string;
310
+ nodeType: string;
311
+ }>, z.ZodObject<{
312
+ kind: z.ZodLiteral<"credential">;
313
+ id: z.ZodString;
314
+ name: z.ZodString;
315
+ }, "strip", z.ZodTypeAny, {
316
+ kind: "credential";
317
+ id: string;
318
+ name: string;
319
+ }, {
320
+ kind: "credential";
321
+ id: string;
322
+ name: string;
323
+ }>, z.ZodObject<{
324
+ kind: z.ZodLiteral<"community">;
325
+ nodeType: z.ZodString;
326
+ packageUrl: z.ZodString;
327
+ }, "strip", z.ZodTypeAny, {
328
+ kind: "community";
329
+ nodeType: string;
330
+ packageUrl: string;
331
+ }, {
332
+ kind: "community";
333
+ nodeType: string;
334
+ packageUrl: string;
335
+ }>, z.ZodObject<{
336
+ kind: z.ZodLiteral<"custom">;
337
+ nodeType: z.ZodString;
338
+ filePath: z.ZodString;
339
+ }, "strip", z.ZodTypeAny, {
340
+ kind: "custom";
341
+ nodeType: string;
342
+ filePath: string;
343
+ }, {
344
+ kind: "custom";
345
+ nodeType: string;
346
+ filePath: string;
347
+ }>]>, "many">>;
348
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
349
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
350
+ name: z.ZodString;
351
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
352
+ createdAt: z.ZodString;
353
+ description: z.ZodString;
354
+ documentationUrl: z.ZodString;
355
+ hasBreakingChange: z.ZodBoolean;
356
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
357
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
358
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ name: string;
361
+ nodes: unknown[];
362
+ createdAt: string;
363
+ description: string;
364
+ documentationUrl: string;
365
+ hasBreakingChange: boolean;
366
+ hasSecurityFix: boolean | null;
367
+ hasSecurityIssue: boolean | null;
368
+ securityIssueFixVersion: string | null;
369
+ }, {
370
+ name: string;
371
+ nodes: unknown[];
372
+ createdAt: string;
373
+ description: string;
374
+ documentationUrl: string;
375
+ hasBreakingChange: boolean;
376
+ hasSecurityFix: boolean | null;
377
+ hasSecurityIssue: boolean | null;
378
+ securityIssueFixVersion: string | null;
379
+ }>, "many">>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ title: string;
382
+ description: string;
383
+ recommendation: string;
384
+ location?: ({
385
+ kind: "node";
386
+ workflowId: string;
387
+ workflowName: string;
388
+ nodeId: string;
389
+ nodeName: string;
390
+ nodeType: string;
391
+ } | {
392
+ kind: "credential";
393
+ id: string;
394
+ name: string;
395
+ } | {
396
+ kind: "community";
397
+ nodeType: string;
398
+ packageUrl: string;
399
+ } | {
400
+ kind: "custom";
401
+ nodeType: string;
402
+ filePath: string;
403
+ })[] | undefined;
404
+ settings?: Record<string, unknown> | undefined;
405
+ nextVersions?: {
406
+ name: string;
407
+ nodes: unknown[];
408
+ createdAt: string;
409
+ description: string;
410
+ documentationUrl: string;
411
+ hasBreakingChange: boolean;
412
+ hasSecurityFix: boolean | null;
413
+ hasSecurityIssue: boolean | null;
414
+ securityIssueFixVersion: string | null;
415
+ }[] | undefined;
416
+ }, {
417
+ title: string;
418
+ description: string;
419
+ recommendation: string;
420
+ location?: ({
421
+ kind: "node";
422
+ workflowId: string;
423
+ workflowName: string;
424
+ nodeId: string;
425
+ nodeName: string;
426
+ nodeType: string;
427
+ } | {
428
+ kind: "credential";
429
+ id: string;
430
+ name: string;
431
+ } | {
432
+ kind: "community";
433
+ nodeType: string;
434
+ packageUrl: string;
435
+ } | {
436
+ kind: "custom";
437
+ nodeType: string;
438
+ filePath: string;
439
+ })[] | undefined;
440
+ settings?: Record<string, unknown> | undefined;
441
+ nextVersions?: {
442
+ name: string;
443
+ nodes: unknown[];
444
+ createdAt: string;
445
+ description: string;
446
+ documentationUrl: string;
447
+ hasBreakingChange: boolean;
448
+ hasSecurityFix: boolean | null;
449
+ hasSecurityIssue: boolean | null;
450
+ securityIssueFixVersion: string | null;
451
+ }[] | undefined;
452
+ }>, "many">;
453
+ }, "strip", z.ZodTypeAny, {
454
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
455
+ sections: {
456
+ title: string;
457
+ description: string;
458
+ recommendation: string;
459
+ location?: ({
460
+ kind: "node";
461
+ workflowId: string;
462
+ workflowName: string;
463
+ nodeId: string;
464
+ nodeName: string;
465
+ nodeType: string;
466
+ } | {
467
+ kind: "credential";
468
+ id: string;
469
+ name: string;
470
+ } | {
471
+ kind: "community";
472
+ nodeType: string;
473
+ packageUrl: string;
474
+ } | {
475
+ kind: "custom";
476
+ nodeType: string;
477
+ filePath: string;
478
+ })[] | undefined;
479
+ settings?: Record<string, unknown> | undefined;
480
+ nextVersions?: {
481
+ name: string;
482
+ nodes: unknown[];
483
+ createdAt: string;
484
+ description: string;
485
+ documentationUrl: string;
486
+ hasBreakingChange: boolean;
487
+ hasSecurityFix: boolean | null;
488
+ hasSecurityIssue: boolean | null;
489
+ securityIssueFixVersion: string | null;
490
+ }[] | undefined;
491
+ }[];
492
+ }, {
493
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
494
+ sections: {
495
+ title: string;
496
+ description: string;
497
+ recommendation: string;
498
+ location?: ({
499
+ kind: "node";
500
+ workflowId: string;
501
+ workflowName: string;
502
+ nodeId: string;
503
+ nodeName: string;
504
+ nodeType: string;
505
+ } | {
506
+ kind: "credential";
507
+ id: string;
508
+ name: string;
509
+ } | {
510
+ kind: "community";
511
+ nodeType: string;
512
+ packageUrl: string;
513
+ } | {
514
+ kind: "custom";
515
+ nodeType: string;
516
+ filePath: string;
517
+ })[] | undefined;
518
+ settings?: Record<string, unknown> | undefined;
519
+ nextVersions?: {
520
+ name: string;
521
+ nodes: unknown[];
522
+ createdAt: string;
523
+ description: string;
524
+ documentationUrl: string;
525
+ hasBreakingChange: boolean;
526
+ hasSecurityFix: boolean | null;
527
+ hasSecurityIssue: boolean | null;
528
+ securityIssueFixVersion: string | null;
529
+ }[] | undefined;
530
+ }[];
531
+ }>>;
532
+ 'Filesystem Risk Report': z.ZodOptional<z.ZodObject<{
533
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
534
+ sections: z.ZodArray<z.ZodObject<{
535
+ title: z.ZodString;
536
+ description: z.ZodString;
537
+ recommendation: z.ZodString;
538
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
539
+ kind: z.ZodLiteral<"node">;
540
+ workflowId: z.ZodString;
541
+ workflowName: z.ZodString;
542
+ nodeId: z.ZodString;
543
+ nodeName: z.ZodString;
544
+ nodeType: z.ZodString;
545
+ }, "strip", z.ZodTypeAny, {
546
+ kind: "node";
547
+ workflowId: string;
548
+ workflowName: string;
549
+ nodeId: string;
550
+ nodeName: string;
551
+ nodeType: string;
552
+ }, {
553
+ kind: "node";
554
+ workflowId: string;
555
+ workflowName: string;
556
+ nodeId: string;
557
+ nodeName: string;
558
+ nodeType: string;
559
+ }>, z.ZodObject<{
560
+ kind: z.ZodLiteral<"credential">;
561
+ id: z.ZodString;
562
+ name: z.ZodString;
563
+ }, "strip", z.ZodTypeAny, {
564
+ kind: "credential";
565
+ id: string;
566
+ name: string;
567
+ }, {
568
+ kind: "credential";
569
+ id: string;
570
+ name: string;
571
+ }>, z.ZodObject<{
572
+ kind: z.ZodLiteral<"community">;
573
+ nodeType: z.ZodString;
574
+ packageUrl: z.ZodString;
575
+ }, "strip", z.ZodTypeAny, {
576
+ kind: "community";
577
+ nodeType: string;
578
+ packageUrl: string;
579
+ }, {
580
+ kind: "community";
581
+ nodeType: string;
582
+ packageUrl: string;
583
+ }>, z.ZodObject<{
584
+ kind: z.ZodLiteral<"custom">;
585
+ nodeType: z.ZodString;
586
+ filePath: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ kind: "custom";
589
+ nodeType: string;
590
+ filePath: string;
591
+ }, {
592
+ kind: "custom";
593
+ nodeType: string;
594
+ filePath: string;
595
+ }>]>, "many">>;
596
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
597
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
598
+ name: z.ZodString;
599
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
600
+ createdAt: z.ZodString;
601
+ description: z.ZodString;
602
+ documentationUrl: z.ZodString;
603
+ hasBreakingChange: z.ZodBoolean;
604
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
605
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
606
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ name: string;
609
+ nodes: unknown[];
610
+ createdAt: string;
611
+ description: string;
612
+ documentationUrl: string;
613
+ hasBreakingChange: boolean;
614
+ hasSecurityFix: boolean | null;
615
+ hasSecurityIssue: boolean | null;
616
+ securityIssueFixVersion: string | null;
617
+ }, {
618
+ name: string;
619
+ nodes: unknown[];
620
+ createdAt: string;
621
+ description: string;
622
+ documentationUrl: string;
623
+ hasBreakingChange: boolean;
624
+ hasSecurityFix: boolean | null;
625
+ hasSecurityIssue: boolean | null;
626
+ securityIssueFixVersion: string | null;
627
+ }>, "many">>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ title: string;
630
+ description: string;
631
+ recommendation: string;
632
+ location?: ({
633
+ kind: "node";
634
+ workflowId: string;
635
+ workflowName: string;
636
+ nodeId: string;
637
+ nodeName: string;
638
+ nodeType: string;
639
+ } | {
640
+ kind: "credential";
641
+ id: string;
642
+ name: string;
643
+ } | {
644
+ kind: "community";
645
+ nodeType: string;
646
+ packageUrl: string;
647
+ } | {
648
+ kind: "custom";
649
+ nodeType: string;
650
+ filePath: string;
651
+ })[] | undefined;
652
+ settings?: Record<string, unknown> | undefined;
653
+ nextVersions?: {
654
+ name: string;
655
+ nodes: unknown[];
656
+ createdAt: string;
657
+ description: string;
658
+ documentationUrl: string;
659
+ hasBreakingChange: boolean;
660
+ hasSecurityFix: boolean | null;
661
+ hasSecurityIssue: boolean | null;
662
+ securityIssueFixVersion: string | null;
663
+ }[] | undefined;
664
+ }, {
665
+ title: string;
666
+ description: string;
667
+ recommendation: string;
668
+ location?: ({
669
+ kind: "node";
670
+ workflowId: string;
671
+ workflowName: string;
672
+ nodeId: string;
673
+ nodeName: string;
674
+ nodeType: string;
675
+ } | {
676
+ kind: "credential";
677
+ id: string;
678
+ name: string;
679
+ } | {
680
+ kind: "community";
681
+ nodeType: string;
682
+ packageUrl: string;
683
+ } | {
684
+ kind: "custom";
685
+ nodeType: string;
686
+ filePath: string;
687
+ })[] | undefined;
688
+ settings?: Record<string, unknown> | undefined;
689
+ nextVersions?: {
690
+ name: string;
691
+ nodes: unknown[];
692
+ createdAt: string;
693
+ description: string;
694
+ documentationUrl: string;
695
+ hasBreakingChange: boolean;
696
+ hasSecurityFix: boolean | null;
697
+ hasSecurityIssue: boolean | null;
698
+ securityIssueFixVersion: string | null;
699
+ }[] | undefined;
700
+ }>, "many">;
701
+ }, "strip", z.ZodTypeAny, {
702
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
703
+ sections: {
704
+ title: string;
705
+ description: string;
706
+ recommendation: string;
707
+ location?: ({
708
+ kind: "node";
709
+ workflowId: string;
710
+ workflowName: string;
711
+ nodeId: string;
712
+ nodeName: string;
713
+ nodeType: string;
714
+ } | {
715
+ kind: "credential";
716
+ id: string;
717
+ name: string;
718
+ } | {
719
+ kind: "community";
720
+ nodeType: string;
721
+ packageUrl: string;
722
+ } | {
723
+ kind: "custom";
724
+ nodeType: string;
725
+ filePath: string;
726
+ })[] | undefined;
727
+ settings?: Record<string, unknown> | undefined;
728
+ nextVersions?: {
729
+ name: string;
730
+ nodes: unknown[];
731
+ createdAt: string;
732
+ description: string;
733
+ documentationUrl: string;
734
+ hasBreakingChange: boolean;
735
+ hasSecurityFix: boolean | null;
736
+ hasSecurityIssue: boolean | null;
737
+ securityIssueFixVersion: string | null;
738
+ }[] | undefined;
739
+ }[];
740
+ }, {
741
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
742
+ sections: {
743
+ title: string;
744
+ description: string;
745
+ recommendation: string;
746
+ location?: ({
747
+ kind: "node";
748
+ workflowId: string;
749
+ workflowName: string;
750
+ nodeId: string;
751
+ nodeName: string;
752
+ nodeType: string;
753
+ } | {
754
+ kind: "credential";
755
+ id: string;
756
+ name: string;
757
+ } | {
758
+ kind: "community";
759
+ nodeType: string;
760
+ packageUrl: string;
761
+ } | {
762
+ kind: "custom";
763
+ nodeType: string;
764
+ filePath: string;
765
+ })[] | undefined;
766
+ settings?: Record<string, unknown> | undefined;
767
+ nextVersions?: {
768
+ name: string;
769
+ nodes: unknown[];
770
+ createdAt: string;
771
+ description: string;
772
+ documentationUrl: string;
773
+ hasBreakingChange: boolean;
774
+ hasSecurityFix: boolean | null;
775
+ hasSecurityIssue: boolean | null;
776
+ securityIssueFixVersion: string | null;
777
+ }[] | undefined;
778
+ }[];
779
+ }>>;
780
+ 'Nodes Risk Report': z.ZodOptional<z.ZodObject<{
781
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
782
+ sections: z.ZodArray<z.ZodObject<{
783
+ title: z.ZodString;
784
+ description: z.ZodString;
785
+ recommendation: z.ZodString;
786
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
787
+ kind: z.ZodLiteral<"node">;
788
+ workflowId: z.ZodString;
789
+ workflowName: z.ZodString;
790
+ nodeId: z.ZodString;
791
+ nodeName: z.ZodString;
792
+ nodeType: z.ZodString;
793
+ }, "strip", z.ZodTypeAny, {
794
+ kind: "node";
795
+ workflowId: string;
796
+ workflowName: string;
797
+ nodeId: string;
798
+ nodeName: string;
799
+ nodeType: string;
800
+ }, {
801
+ kind: "node";
802
+ workflowId: string;
803
+ workflowName: string;
804
+ nodeId: string;
805
+ nodeName: string;
806
+ nodeType: string;
807
+ }>, z.ZodObject<{
808
+ kind: z.ZodLiteral<"credential">;
809
+ id: z.ZodString;
810
+ name: z.ZodString;
811
+ }, "strip", z.ZodTypeAny, {
812
+ kind: "credential";
813
+ id: string;
814
+ name: string;
815
+ }, {
816
+ kind: "credential";
817
+ id: string;
818
+ name: string;
819
+ }>, z.ZodObject<{
820
+ kind: z.ZodLiteral<"community">;
821
+ nodeType: z.ZodString;
822
+ packageUrl: z.ZodString;
823
+ }, "strip", z.ZodTypeAny, {
824
+ kind: "community";
825
+ nodeType: string;
826
+ packageUrl: string;
827
+ }, {
828
+ kind: "community";
829
+ nodeType: string;
830
+ packageUrl: string;
831
+ }>, z.ZodObject<{
832
+ kind: z.ZodLiteral<"custom">;
833
+ nodeType: z.ZodString;
834
+ filePath: z.ZodString;
835
+ }, "strip", z.ZodTypeAny, {
836
+ kind: "custom";
837
+ nodeType: string;
838
+ filePath: string;
839
+ }, {
840
+ kind: "custom";
841
+ nodeType: string;
842
+ filePath: string;
843
+ }>]>, "many">>;
844
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
845
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
846
+ name: z.ZodString;
847
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
848
+ createdAt: z.ZodString;
849
+ description: z.ZodString;
850
+ documentationUrl: z.ZodString;
851
+ hasBreakingChange: z.ZodBoolean;
852
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
853
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
854
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
855
+ }, "strip", z.ZodTypeAny, {
856
+ name: string;
857
+ nodes: unknown[];
858
+ createdAt: string;
859
+ description: string;
860
+ documentationUrl: string;
861
+ hasBreakingChange: boolean;
862
+ hasSecurityFix: boolean | null;
863
+ hasSecurityIssue: boolean | null;
864
+ securityIssueFixVersion: string | null;
865
+ }, {
866
+ name: string;
867
+ nodes: unknown[];
868
+ createdAt: string;
869
+ description: string;
870
+ documentationUrl: string;
871
+ hasBreakingChange: boolean;
872
+ hasSecurityFix: boolean | null;
873
+ hasSecurityIssue: boolean | null;
874
+ securityIssueFixVersion: string | null;
875
+ }>, "many">>;
876
+ }, "strip", z.ZodTypeAny, {
877
+ title: string;
878
+ description: string;
879
+ recommendation: string;
880
+ location?: ({
881
+ kind: "node";
882
+ workflowId: string;
883
+ workflowName: string;
884
+ nodeId: string;
885
+ nodeName: string;
886
+ nodeType: string;
887
+ } | {
888
+ kind: "credential";
889
+ id: string;
890
+ name: string;
891
+ } | {
892
+ kind: "community";
893
+ nodeType: string;
894
+ packageUrl: string;
895
+ } | {
896
+ kind: "custom";
897
+ nodeType: string;
898
+ filePath: string;
899
+ })[] | undefined;
900
+ settings?: Record<string, unknown> | undefined;
901
+ nextVersions?: {
902
+ name: string;
903
+ nodes: unknown[];
904
+ createdAt: string;
905
+ description: string;
906
+ documentationUrl: string;
907
+ hasBreakingChange: boolean;
908
+ hasSecurityFix: boolean | null;
909
+ hasSecurityIssue: boolean | null;
910
+ securityIssueFixVersion: string | null;
911
+ }[] | undefined;
912
+ }, {
913
+ title: string;
914
+ description: string;
915
+ recommendation: string;
916
+ location?: ({
917
+ kind: "node";
918
+ workflowId: string;
919
+ workflowName: string;
920
+ nodeId: string;
921
+ nodeName: string;
922
+ nodeType: string;
923
+ } | {
924
+ kind: "credential";
925
+ id: string;
926
+ name: string;
927
+ } | {
928
+ kind: "community";
929
+ nodeType: string;
930
+ packageUrl: string;
931
+ } | {
932
+ kind: "custom";
933
+ nodeType: string;
934
+ filePath: string;
935
+ })[] | undefined;
936
+ settings?: Record<string, unknown> | undefined;
937
+ nextVersions?: {
938
+ name: string;
939
+ nodes: unknown[];
940
+ createdAt: string;
941
+ description: string;
942
+ documentationUrl: string;
943
+ hasBreakingChange: boolean;
944
+ hasSecurityFix: boolean | null;
945
+ hasSecurityIssue: boolean | null;
946
+ securityIssueFixVersion: string | null;
947
+ }[] | undefined;
948
+ }>, "many">;
949
+ }, "strip", z.ZodTypeAny, {
950
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
951
+ sections: {
952
+ title: string;
953
+ description: string;
954
+ recommendation: string;
955
+ location?: ({
956
+ kind: "node";
957
+ workflowId: string;
958
+ workflowName: string;
959
+ nodeId: string;
960
+ nodeName: string;
961
+ nodeType: string;
962
+ } | {
963
+ kind: "credential";
964
+ id: string;
965
+ name: string;
966
+ } | {
967
+ kind: "community";
968
+ nodeType: string;
969
+ packageUrl: string;
970
+ } | {
971
+ kind: "custom";
972
+ nodeType: string;
973
+ filePath: string;
974
+ })[] | undefined;
975
+ settings?: Record<string, unknown> | undefined;
976
+ nextVersions?: {
977
+ name: string;
978
+ nodes: unknown[];
979
+ createdAt: string;
980
+ description: string;
981
+ documentationUrl: string;
982
+ hasBreakingChange: boolean;
983
+ hasSecurityFix: boolean | null;
984
+ hasSecurityIssue: boolean | null;
985
+ securityIssueFixVersion: string | null;
986
+ }[] | undefined;
987
+ }[];
988
+ }, {
989
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
990
+ sections: {
991
+ title: string;
992
+ description: string;
993
+ recommendation: string;
994
+ location?: ({
995
+ kind: "node";
996
+ workflowId: string;
997
+ workflowName: string;
998
+ nodeId: string;
999
+ nodeName: string;
1000
+ nodeType: string;
1001
+ } | {
1002
+ kind: "credential";
1003
+ id: string;
1004
+ name: string;
1005
+ } | {
1006
+ kind: "community";
1007
+ nodeType: string;
1008
+ packageUrl: string;
1009
+ } | {
1010
+ kind: "custom";
1011
+ nodeType: string;
1012
+ filePath: string;
1013
+ })[] | undefined;
1014
+ settings?: Record<string, unknown> | undefined;
1015
+ nextVersions?: {
1016
+ name: string;
1017
+ nodes: unknown[];
1018
+ createdAt: string;
1019
+ description: string;
1020
+ documentationUrl: string;
1021
+ hasBreakingChange: boolean;
1022
+ hasSecurityFix: boolean | null;
1023
+ hasSecurityIssue: boolean | null;
1024
+ securityIssueFixVersion: string | null;
1025
+ }[] | undefined;
1026
+ }[];
1027
+ }>>;
1028
+ 'Instance Risk Report': z.ZodOptional<z.ZodObject<{
1029
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
1030
+ sections: z.ZodArray<z.ZodObject<{
1031
+ title: z.ZodString;
1032
+ description: z.ZodString;
1033
+ recommendation: z.ZodString;
1034
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1035
+ kind: z.ZodLiteral<"node">;
1036
+ workflowId: z.ZodString;
1037
+ workflowName: z.ZodString;
1038
+ nodeId: z.ZodString;
1039
+ nodeName: z.ZodString;
1040
+ nodeType: z.ZodString;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ kind: "node";
1043
+ workflowId: string;
1044
+ workflowName: string;
1045
+ nodeId: string;
1046
+ nodeName: string;
1047
+ nodeType: string;
1048
+ }, {
1049
+ kind: "node";
1050
+ workflowId: string;
1051
+ workflowName: string;
1052
+ nodeId: string;
1053
+ nodeName: string;
1054
+ nodeType: string;
1055
+ }>, z.ZodObject<{
1056
+ kind: z.ZodLiteral<"credential">;
1057
+ id: z.ZodString;
1058
+ name: z.ZodString;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ kind: "credential";
1061
+ id: string;
1062
+ name: string;
1063
+ }, {
1064
+ kind: "credential";
1065
+ id: string;
1066
+ name: string;
1067
+ }>, z.ZodObject<{
1068
+ kind: z.ZodLiteral<"community">;
1069
+ nodeType: z.ZodString;
1070
+ packageUrl: z.ZodString;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ kind: "community";
1073
+ nodeType: string;
1074
+ packageUrl: string;
1075
+ }, {
1076
+ kind: "community";
1077
+ nodeType: string;
1078
+ packageUrl: string;
1079
+ }>, z.ZodObject<{
1080
+ kind: z.ZodLiteral<"custom">;
1081
+ nodeType: z.ZodString;
1082
+ filePath: z.ZodString;
1083
+ }, "strip", z.ZodTypeAny, {
1084
+ kind: "custom";
1085
+ nodeType: string;
1086
+ filePath: string;
1087
+ }, {
1088
+ kind: "custom";
1089
+ nodeType: string;
1090
+ filePath: string;
1091
+ }>]>, "many">>;
1092
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1093
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1094
+ name: z.ZodString;
1095
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
1096
+ createdAt: z.ZodString;
1097
+ description: z.ZodString;
1098
+ documentationUrl: z.ZodString;
1099
+ hasBreakingChange: z.ZodBoolean;
1100
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
1101
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
1102
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
1103
+ }, "strip", z.ZodTypeAny, {
1104
+ name: string;
1105
+ nodes: unknown[];
1106
+ createdAt: string;
1107
+ description: string;
1108
+ documentationUrl: string;
1109
+ hasBreakingChange: boolean;
1110
+ hasSecurityFix: boolean | null;
1111
+ hasSecurityIssue: boolean | null;
1112
+ securityIssueFixVersion: string | null;
1113
+ }, {
1114
+ name: string;
1115
+ nodes: unknown[];
1116
+ createdAt: string;
1117
+ description: string;
1118
+ documentationUrl: string;
1119
+ hasBreakingChange: boolean;
1120
+ hasSecurityFix: boolean | null;
1121
+ hasSecurityIssue: boolean | null;
1122
+ securityIssueFixVersion: string | null;
1123
+ }>, "many">>;
1124
+ }, "strip", z.ZodTypeAny, {
1125
+ title: string;
1126
+ description: string;
1127
+ recommendation: string;
1128
+ location?: ({
1129
+ kind: "node";
1130
+ workflowId: string;
1131
+ workflowName: string;
1132
+ nodeId: string;
1133
+ nodeName: string;
1134
+ nodeType: string;
1135
+ } | {
1136
+ kind: "credential";
1137
+ id: string;
1138
+ name: string;
1139
+ } | {
1140
+ kind: "community";
1141
+ nodeType: string;
1142
+ packageUrl: string;
1143
+ } | {
1144
+ kind: "custom";
1145
+ nodeType: string;
1146
+ filePath: string;
1147
+ })[] | undefined;
1148
+ settings?: Record<string, unknown> | undefined;
1149
+ nextVersions?: {
1150
+ name: string;
1151
+ nodes: unknown[];
1152
+ createdAt: string;
1153
+ description: string;
1154
+ documentationUrl: string;
1155
+ hasBreakingChange: boolean;
1156
+ hasSecurityFix: boolean | null;
1157
+ hasSecurityIssue: boolean | null;
1158
+ securityIssueFixVersion: string | null;
1159
+ }[] | undefined;
1160
+ }, {
1161
+ title: string;
1162
+ description: string;
1163
+ recommendation: string;
1164
+ location?: ({
1165
+ kind: "node";
1166
+ workflowId: string;
1167
+ workflowName: string;
1168
+ nodeId: string;
1169
+ nodeName: string;
1170
+ nodeType: string;
1171
+ } | {
1172
+ kind: "credential";
1173
+ id: string;
1174
+ name: string;
1175
+ } | {
1176
+ kind: "community";
1177
+ nodeType: string;
1178
+ packageUrl: string;
1179
+ } | {
1180
+ kind: "custom";
1181
+ nodeType: string;
1182
+ filePath: string;
1183
+ })[] | undefined;
1184
+ settings?: Record<string, unknown> | undefined;
1185
+ nextVersions?: {
1186
+ name: string;
1187
+ nodes: unknown[];
1188
+ createdAt: string;
1189
+ description: string;
1190
+ documentationUrl: string;
1191
+ hasBreakingChange: boolean;
1192
+ hasSecurityFix: boolean | null;
1193
+ hasSecurityIssue: boolean | null;
1194
+ securityIssueFixVersion: string | null;
1195
+ }[] | undefined;
1196
+ }>, "many">;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1199
+ sections: {
1200
+ title: string;
1201
+ description: string;
1202
+ recommendation: string;
1203
+ location?: ({
1204
+ kind: "node";
1205
+ workflowId: string;
1206
+ workflowName: string;
1207
+ nodeId: string;
1208
+ nodeName: string;
1209
+ nodeType: string;
1210
+ } | {
1211
+ kind: "credential";
1212
+ id: string;
1213
+ name: string;
1214
+ } | {
1215
+ kind: "community";
1216
+ nodeType: string;
1217
+ packageUrl: string;
1218
+ } | {
1219
+ kind: "custom";
1220
+ nodeType: string;
1221
+ filePath: string;
1222
+ })[] | undefined;
1223
+ settings?: Record<string, unknown> | undefined;
1224
+ nextVersions?: {
1225
+ name: string;
1226
+ nodes: unknown[];
1227
+ createdAt: string;
1228
+ description: string;
1229
+ documentationUrl: string;
1230
+ hasBreakingChange: boolean;
1231
+ hasSecurityFix: boolean | null;
1232
+ hasSecurityIssue: boolean | null;
1233
+ securityIssueFixVersion: string | null;
1234
+ }[] | undefined;
1235
+ }[];
1236
+ }, {
1237
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1238
+ sections: {
1239
+ title: string;
1240
+ description: string;
1241
+ recommendation: string;
1242
+ location?: ({
1243
+ kind: "node";
1244
+ workflowId: string;
1245
+ workflowName: string;
1246
+ nodeId: string;
1247
+ nodeName: string;
1248
+ nodeType: string;
1249
+ } | {
1250
+ kind: "credential";
1251
+ id: string;
1252
+ name: string;
1253
+ } | {
1254
+ kind: "community";
1255
+ nodeType: string;
1256
+ packageUrl: string;
1257
+ } | {
1258
+ kind: "custom";
1259
+ nodeType: string;
1260
+ filePath: string;
1261
+ })[] | undefined;
1262
+ settings?: Record<string, unknown> | undefined;
1263
+ nextVersions?: {
1264
+ name: string;
1265
+ nodes: unknown[];
1266
+ createdAt: string;
1267
+ description: string;
1268
+ documentationUrl: string;
1269
+ hasBreakingChange: boolean;
1270
+ hasSecurityFix: boolean | null;
1271
+ hasSecurityIssue: boolean | null;
1272
+ securityIssueFixVersion: string | null;
1273
+ }[] | undefined;
1274
+ }[];
1275
+ }>>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ 'Credentials Risk Report'?: {
1278
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1279
+ sections: {
1280
+ title: string;
1281
+ description: string;
1282
+ recommendation: string;
1283
+ location?: ({
1284
+ kind: "node";
1285
+ workflowId: string;
1286
+ workflowName: string;
1287
+ nodeId: string;
1288
+ nodeName: string;
1289
+ nodeType: string;
1290
+ } | {
1291
+ kind: "credential";
1292
+ id: string;
1293
+ name: string;
1294
+ } | {
1295
+ kind: "community";
1296
+ nodeType: string;
1297
+ packageUrl: string;
1298
+ } | {
1299
+ kind: "custom";
1300
+ nodeType: string;
1301
+ filePath: string;
1302
+ })[] | undefined;
1303
+ settings?: Record<string, unknown> | undefined;
1304
+ nextVersions?: {
1305
+ name: string;
1306
+ nodes: unknown[];
1307
+ createdAt: string;
1308
+ description: string;
1309
+ documentationUrl: string;
1310
+ hasBreakingChange: boolean;
1311
+ hasSecurityFix: boolean | null;
1312
+ hasSecurityIssue: boolean | null;
1313
+ securityIssueFixVersion: string | null;
1314
+ }[] | undefined;
1315
+ }[];
1316
+ } | undefined;
1317
+ 'Database Risk Report'?: {
1318
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1319
+ sections: {
1320
+ title: string;
1321
+ description: string;
1322
+ recommendation: string;
1323
+ location?: ({
1324
+ kind: "node";
1325
+ workflowId: string;
1326
+ workflowName: string;
1327
+ nodeId: string;
1328
+ nodeName: string;
1329
+ nodeType: string;
1330
+ } | {
1331
+ kind: "credential";
1332
+ id: string;
1333
+ name: string;
1334
+ } | {
1335
+ kind: "community";
1336
+ nodeType: string;
1337
+ packageUrl: string;
1338
+ } | {
1339
+ kind: "custom";
1340
+ nodeType: string;
1341
+ filePath: string;
1342
+ })[] | undefined;
1343
+ settings?: Record<string, unknown> | undefined;
1344
+ nextVersions?: {
1345
+ name: string;
1346
+ nodes: unknown[];
1347
+ createdAt: string;
1348
+ description: string;
1349
+ documentationUrl: string;
1350
+ hasBreakingChange: boolean;
1351
+ hasSecurityFix: boolean | null;
1352
+ hasSecurityIssue: boolean | null;
1353
+ securityIssueFixVersion: string | null;
1354
+ }[] | undefined;
1355
+ }[];
1356
+ } | undefined;
1357
+ 'Filesystem Risk Report'?: {
1358
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1359
+ sections: {
1360
+ title: string;
1361
+ description: string;
1362
+ recommendation: string;
1363
+ location?: ({
1364
+ kind: "node";
1365
+ workflowId: string;
1366
+ workflowName: string;
1367
+ nodeId: string;
1368
+ nodeName: string;
1369
+ nodeType: string;
1370
+ } | {
1371
+ kind: "credential";
1372
+ id: string;
1373
+ name: string;
1374
+ } | {
1375
+ kind: "community";
1376
+ nodeType: string;
1377
+ packageUrl: string;
1378
+ } | {
1379
+ kind: "custom";
1380
+ nodeType: string;
1381
+ filePath: string;
1382
+ })[] | undefined;
1383
+ settings?: Record<string, unknown> | undefined;
1384
+ nextVersions?: {
1385
+ name: string;
1386
+ nodes: unknown[];
1387
+ createdAt: string;
1388
+ description: string;
1389
+ documentationUrl: string;
1390
+ hasBreakingChange: boolean;
1391
+ hasSecurityFix: boolean | null;
1392
+ hasSecurityIssue: boolean | null;
1393
+ securityIssueFixVersion: string | null;
1394
+ }[] | undefined;
1395
+ }[];
1396
+ } | undefined;
1397
+ 'Nodes Risk Report'?: {
1398
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1399
+ sections: {
1400
+ title: string;
1401
+ description: string;
1402
+ recommendation: string;
1403
+ location?: ({
1404
+ kind: "node";
1405
+ workflowId: string;
1406
+ workflowName: string;
1407
+ nodeId: string;
1408
+ nodeName: string;
1409
+ nodeType: string;
1410
+ } | {
1411
+ kind: "credential";
1412
+ id: string;
1413
+ name: string;
1414
+ } | {
1415
+ kind: "community";
1416
+ nodeType: string;
1417
+ packageUrl: string;
1418
+ } | {
1419
+ kind: "custom";
1420
+ nodeType: string;
1421
+ filePath: string;
1422
+ })[] | undefined;
1423
+ settings?: Record<string, unknown> | undefined;
1424
+ nextVersions?: {
1425
+ name: string;
1426
+ nodes: unknown[];
1427
+ createdAt: string;
1428
+ description: string;
1429
+ documentationUrl: string;
1430
+ hasBreakingChange: boolean;
1431
+ hasSecurityFix: boolean | null;
1432
+ hasSecurityIssue: boolean | null;
1433
+ securityIssueFixVersion: string | null;
1434
+ }[] | undefined;
1435
+ }[];
1436
+ } | undefined;
1437
+ 'Instance Risk Report'?: {
1438
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1439
+ sections: {
1440
+ title: string;
1441
+ description: string;
1442
+ recommendation: string;
1443
+ location?: ({
1444
+ kind: "node";
1445
+ workflowId: string;
1446
+ workflowName: string;
1447
+ nodeId: string;
1448
+ nodeName: string;
1449
+ nodeType: string;
1450
+ } | {
1451
+ kind: "credential";
1452
+ id: string;
1453
+ name: string;
1454
+ } | {
1455
+ kind: "community";
1456
+ nodeType: string;
1457
+ packageUrl: string;
1458
+ } | {
1459
+ kind: "custom";
1460
+ nodeType: string;
1461
+ filePath: string;
1462
+ })[] | undefined;
1463
+ settings?: Record<string, unknown> | undefined;
1464
+ nextVersions?: {
1465
+ name: string;
1466
+ nodes: unknown[];
1467
+ createdAt: string;
1468
+ description: string;
1469
+ documentationUrl: string;
1470
+ hasBreakingChange: boolean;
1471
+ hasSecurityFix: boolean | null;
1472
+ hasSecurityIssue: boolean | null;
1473
+ securityIssueFixVersion: string | null;
1474
+ }[] | undefined;
1475
+ }[];
1476
+ } | undefined;
1477
+ }, {
1478
+ 'Credentials Risk Report'?: {
1479
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1480
+ sections: {
1481
+ title: string;
1482
+ description: string;
1483
+ recommendation: string;
1484
+ location?: ({
1485
+ kind: "node";
1486
+ workflowId: string;
1487
+ workflowName: string;
1488
+ nodeId: string;
1489
+ nodeName: string;
1490
+ nodeType: string;
1491
+ } | {
1492
+ kind: "credential";
1493
+ id: string;
1494
+ name: string;
1495
+ } | {
1496
+ kind: "community";
1497
+ nodeType: string;
1498
+ packageUrl: string;
1499
+ } | {
1500
+ kind: "custom";
1501
+ nodeType: string;
1502
+ filePath: string;
1503
+ })[] | undefined;
1504
+ settings?: Record<string, unknown> | undefined;
1505
+ nextVersions?: {
1506
+ name: string;
1507
+ nodes: unknown[];
1508
+ createdAt: string;
1509
+ description: string;
1510
+ documentationUrl: string;
1511
+ hasBreakingChange: boolean;
1512
+ hasSecurityFix: boolean | null;
1513
+ hasSecurityIssue: boolean | null;
1514
+ securityIssueFixVersion: string | null;
1515
+ }[] | undefined;
1516
+ }[];
1517
+ } | undefined;
1518
+ 'Database Risk Report'?: {
1519
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1520
+ sections: {
1521
+ title: string;
1522
+ description: string;
1523
+ recommendation: string;
1524
+ location?: ({
1525
+ kind: "node";
1526
+ workflowId: string;
1527
+ workflowName: string;
1528
+ nodeId: string;
1529
+ nodeName: string;
1530
+ nodeType: string;
1531
+ } | {
1532
+ kind: "credential";
1533
+ id: string;
1534
+ name: string;
1535
+ } | {
1536
+ kind: "community";
1537
+ nodeType: string;
1538
+ packageUrl: string;
1539
+ } | {
1540
+ kind: "custom";
1541
+ nodeType: string;
1542
+ filePath: string;
1543
+ })[] | undefined;
1544
+ settings?: Record<string, unknown> | undefined;
1545
+ nextVersions?: {
1546
+ name: string;
1547
+ nodes: unknown[];
1548
+ createdAt: string;
1549
+ description: string;
1550
+ documentationUrl: string;
1551
+ hasBreakingChange: boolean;
1552
+ hasSecurityFix: boolean | null;
1553
+ hasSecurityIssue: boolean | null;
1554
+ securityIssueFixVersion: string | null;
1555
+ }[] | undefined;
1556
+ }[];
1557
+ } | undefined;
1558
+ 'Filesystem Risk Report'?: {
1559
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1560
+ sections: {
1561
+ title: string;
1562
+ description: string;
1563
+ recommendation: string;
1564
+ location?: ({
1565
+ kind: "node";
1566
+ workflowId: string;
1567
+ workflowName: string;
1568
+ nodeId: string;
1569
+ nodeName: string;
1570
+ nodeType: string;
1571
+ } | {
1572
+ kind: "credential";
1573
+ id: string;
1574
+ name: string;
1575
+ } | {
1576
+ kind: "community";
1577
+ nodeType: string;
1578
+ packageUrl: string;
1579
+ } | {
1580
+ kind: "custom";
1581
+ nodeType: string;
1582
+ filePath: string;
1583
+ })[] | undefined;
1584
+ settings?: Record<string, unknown> | undefined;
1585
+ nextVersions?: {
1586
+ name: string;
1587
+ nodes: unknown[];
1588
+ createdAt: string;
1589
+ description: string;
1590
+ documentationUrl: string;
1591
+ hasBreakingChange: boolean;
1592
+ hasSecurityFix: boolean | null;
1593
+ hasSecurityIssue: boolean | null;
1594
+ securityIssueFixVersion: string | null;
1595
+ }[] | undefined;
1596
+ }[];
1597
+ } | undefined;
1598
+ 'Nodes Risk Report'?: {
1599
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1600
+ sections: {
1601
+ title: string;
1602
+ description: string;
1603
+ recommendation: string;
1604
+ location?: ({
1605
+ kind: "node";
1606
+ workflowId: string;
1607
+ workflowName: string;
1608
+ nodeId: string;
1609
+ nodeName: string;
1610
+ nodeType: string;
1611
+ } | {
1612
+ kind: "credential";
1613
+ id: string;
1614
+ name: string;
1615
+ } | {
1616
+ kind: "community";
1617
+ nodeType: string;
1618
+ packageUrl: string;
1619
+ } | {
1620
+ kind: "custom";
1621
+ nodeType: string;
1622
+ filePath: string;
1623
+ })[] | undefined;
1624
+ settings?: Record<string, unknown> | undefined;
1625
+ nextVersions?: {
1626
+ name: string;
1627
+ nodes: unknown[];
1628
+ createdAt: string;
1629
+ description: string;
1630
+ documentationUrl: string;
1631
+ hasBreakingChange: boolean;
1632
+ hasSecurityFix: boolean | null;
1633
+ hasSecurityIssue: boolean | null;
1634
+ securityIssueFixVersion: string | null;
1635
+ }[] | undefined;
1636
+ }[];
1637
+ } | undefined;
1638
+ 'Instance Risk Report'?: {
1639
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1640
+ sections: {
1641
+ title: string;
1642
+ description: string;
1643
+ recommendation: string;
1644
+ location?: ({
1645
+ kind: "node";
1646
+ workflowId: string;
1647
+ workflowName: string;
1648
+ nodeId: string;
1649
+ nodeName: string;
1650
+ nodeType: string;
1651
+ } | {
1652
+ kind: "credential";
1653
+ id: string;
1654
+ name: string;
1655
+ } | {
1656
+ kind: "community";
1657
+ nodeType: string;
1658
+ packageUrl: string;
1659
+ } | {
1660
+ kind: "custom";
1661
+ nodeType: string;
1662
+ filePath: string;
1663
+ })[] | undefined;
1664
+ settings?: Record<string, unknown> | undefined;
1665
+ nextVersions?: {
1666
+ name: string;
1667
+ nodes: unknown[];
1668
+ createdAt: string;
1669
+ description: string;
1670
+ documentationUrl: string;
1671
+ hasBreakingChange: boolean;
1672
+ hasSecurityFix: boolean | null;
1673
+ hasSecurityIssue: boolean | null;
1674
+ securityIssueFixVersion: string | null;
1675
+ }[] | undefined;
1676
+ }[];
1677
+ } | undefined;
1678
+ }>, z.ZodArray<z.ZodUnknown, "many">]>;
1679
+ export type AuditPublic = z.infer<typeof auditPublicSchema>;
1680
+ export declare class AuditPublicDto {
1681
+ static schema: z.ZodUnion<[z.ZodObject<{
1682
+ 'Credentials Risk Report': z.ZodOptional<z.ZodObject<{
1683
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
1684
+ sections: z.ZodArray<z.ZodObject<{
1685
+ title: z.ZodString;
1686
+ description: z.ZodString;
1687
+ recommendation: z.ZodString;
1688
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1689
+ kind: z.ZodLiteral<"node">;
1690
+ workflowId: z.ZodString;
1691
+ workflowName: z.ZodString;
1692
+ nodeId: z.ZodString;
1693
+ nodeName: z.ZodString;
1694
+ nodeType: z.ZodString;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ kind: "node";
1697
+ workflowId: string;
1698
+ workflowName: string;
1699
+ nodeId: string;
1700
+ nodeName: string;
1701
+ nodeType: string;
1702
+ }, {
1703
+ kind: "node";
1704
+ workflowId: string;
1705
+ workflowName: string;
1706
+ nodeId: string;
1707
+ nodeName: string;
1708
+ nodeType: string;
1709
+ }>, z.ZodObject<{
1710
+ kind: z.ZodLiteral<"credential">;
1711
+ id: z.ZodString;
1712
+ name: z.ZodString;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ kind: "credential";
1715
+ id: string;
1716
+ name: string;
1717
+ }, {
1718
+ kind: "credential";
1719
+ id: string;
1720
+ name: string;
1721
+ }>, z.ZodObject<{
1722
+ kind: z.ZodLiteral<"community">;
1723
+ nodeType: z.ZodString;
1724
+ packageUrl: z.ZodString;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ kind: "community";
1727
+ nodeType: string;
1728
+ packageUrl: string;
1729
+ }, {
1730
+ kind: "community";
1731
+ nodeType: string;
1732
+ packageUrl: string;
1733
+ }>, z.ZodObject<{
1734
+ kind: z.ZodLiteral<"custom">;
1735
+ nodeType: z.ZodString;
1736
+ filePath: z.ZodString;
1737
+ }, "strip", z.ZodTypeAny, {
1738
+ kind: "custom";
1739
+ nodeType: string;
1740
+ filePath: string;
1741
+ }, {
1742
+ kind: "custom";
1743
+ nodeType: string;
1744
+ filePath: string;
1745
+ }>]>, "many">>;
1746
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1747
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1748
+ name: z.ZodString;
1749
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
1750
+ createdAt: z.ZodString;
1751
+ description: z.ZodString;
1752
+ documentationUrl: z.ZodString;
1753
+ hasBreakingChange: z.ZodBoolean;
1754
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
1755
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
1756
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ name: string;
1759
+ nodes: unknown[];
1760
+ createdAt: string;
1761
+ description: string;
1762
+ documentationUrl: string;
1763
+ hasBreakingChange: boolean;
1764
+ hasSecurityFix: boolean | null;
1765
+ hasSecurityIssue: boolean | null;
1766
+ securityIssueFixVersion: string | null;
1767
+ }, {
1768
+ name: string;
1769
+ nodes: unknown[];
1770
+ createdAt: string;
1771
+ description: string;
1772
+ documentationUrl: string;
1773
+ hasBreakingChange: boolean;
1774
+ hasSecurityFix: boolean | null;
1775
+ hasSecurityIssue: boolean | null;
1776
+ securityIssueFixVersion: string | null;
1777
+ }>, "many">>;
1778
+ }, "strip", z.ZodTypeAny, {
1779
+ title: string;
1780
+ description: string;
1781
+ recommendation: string;
1782
+ location?: ({
1783
+ kind: "node";
1784
+ workflowId: string;
1785
+ workflowName: string;
1786
+ nodeId: string;
1787
+ nodeName: string;
1788
+ nodeType: string;
1789
+ } | {
1790
+ kind: "credential";
1791
+ id: string;
1792
+ name: string;
1793
+ } | {
1794
+ kind: "community";
1795
+ nodeType: string;
1796
+ packageUrl: string;
1797
+ } | {
1798
+ kind: "custom";
1799
+ nodeType: string;
1800
+ filePath: string;
1801
+ })[] | undefined;
1802
+ settings?: Record<string, unknown> | undefined;
1803
+ nextVersions?: {
1804
+ name: string;
1805
+ nodes: unknown[];
1806
+ createdAt: string;
1807
+ description: string;
1808
+ documentationUrl: string;
1809
+ hasBreakingChange: boolean;
1810
+ hasSecurityFix: boolean | null;
1811
+ hasSecurityIssue: boolean | null;
1812
+ securityIssueFixVersion: string | null;
1813
+ }[] | undefined;
1814
+ }, {
1815
+ title: string;
1816
+ description: string;
1817
+ recommendation: string;
1818
+ location?: ({
1819
+ kind: "node";
1820
+ workflowId: string;
1821
+ workflowName: string;
1822
+ nodeId: string;
1823
+ nodeName: string;
1824
+ nodeType: string;
1825
+ } | {
1826
+ kind: "credential";
1827
+ id: string;
1828
+ name: string;
1829
+ } | {
1830
+ kind: "community";
1831
+ nodeType: string;
1832
+ packageUrl: string;
1833
+ } | {
1834
+ kind: "custom";
1835
+ nodeType: string;
1836
+ filePath: string;
1837
+ })[] | undefined;
1838
+ settings?: Record<string, unknown> | undefined;
1839
+ nextVersions?: {
1840
+ name: string;
1841
+ nodes: unknown[];
1842
+ createdAt: string;
1843
+ description: string;
1844
+ documentationUrl: string;
1845
+ hasBreakingChange: boolean;
1846
+ hasSecurityFix: boolean | null;
1847
+ hasSecurityIssue: boolean | null;
1848
+ securityIssueFixVersion: string | null;
1849
+ }[] | undefined;
1850
+ }>, "many">;
1851
+ }, "strip", z.ZodTypeAny, {
1852
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1853
+ sections: {
1854
+ title: string;
1855
+ description: string;
1856
+ recommendation: string;
1857
+ location?: ({
1858
+ kind: "node";
1859
+ workflowId: string;
1860
+ workflowName: string;
1861
+ nodeId: string;
1862
+ nodeName: string;
1863
+ nodeType: string;
1864
+ } | {
1865
+ kind: "credential";
1866
+ id: string;
1867
+ name: string;
1868
+ } | {
1869
+ kind: "community";
1870
+ nodeType: string;
1871
+ packageUrl: string;
1872
+ } | {
1873
+ kind: "custom";
1874
+ nodeType: string;
1875
+ filePath: string;
1876
+ })[] | undefined;
1877
+ settings?: Record<string, unknown> | undefined;
1878
+ nextVersions?: {
1879
+ name: string;
1880
+ nodes: unknown[];
1881
+ createdAt: string;
1882
+ description: string;
1883
+ documentationUrl: string;
1884
+ hasBreakingChange: boolean;
1885
+ hasSecurityFix: boolean | null;
1886
+ hasSecurityIssue: boolean | null;
1887
+ securityIssueFixVersion: string | null;
1888
+ }[] | undefined;
1889
+ }[];
1890
+ }, {
1891
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
1892
+ sections: {
1893
+ title: string;
1894
+ description: string;
1895
+ recommendation: string;
1896
+ location?: ({
1897
+ kind: "node";
1898
+ workflowId: string;
1899
+ workflowName: string;
1900
+ nodeId: string;
1901
+ nodeName: string;
1902
+ nodeType: string;
1903
+ } | {
1904
+ kind: "credential";
1905
+ id: string;
1906
+ name: string;
1907
+ } | {
1908
+ kind: "community";
1909
+ nodeType: string;
1910
+ packageUrl: string;
1911
+ } | {
1912
+ kind: "custom";
1913
+ nodeType: string;
1914
+ filePath: string;
1915
+ })[] | undefined;
1916
+ settings?: Record<string, unknown> | undefined;
1917
+ nextVersions?: {
1918
+ name: string;
1919
+ nodes: unknown[];
1920
+ createdAt: string;
1921
+ description: string;
1922
+ documentationUrl: string;
1923
+ hasBreakingChange: boolean;
1924
+ hasSecurityFix: boolean | null;
1925
+ hasSecurityIssue: boolean | null;
1926
+ securityIssueFixVersion: string | null;
1927
+ }[] | undefined;
1928
+ }[];
1929
+ }>>;
1930
+ 'Database Risk Report': z.ZodOptional<z.ZodObject<{
1931
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
1932
+ sections: z.ZodArray<z.ZodObject<{
1933
+ title: z.ZodString;
1934
+ description: z.ZodString;
1935
+ recommendation: z.ZodString;
1936
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1937
+ kind: z.ZodLiteral<"node">;
1938
+ workflowId: z.ZodString;
1939
+ workflowName: z.ZodString;
1940
+ nodeId: z.ZodString;
1941
+ nodeName: z.ZodString;
1942
+ nodeType: z.ZodString;
1943
+ }, "strip", z.ZodTypeAny, {
1944
+ kind: "node";
1945
+ workflowId: string;
1946
+ workflowName: string;
1947
+ nodeId: string;
1948
+ nodeName: string;
1949
+ nodeType: string;
1950
+ }, {
1951
+ kind: "node";
1952
+ workflowId: string;
1953
+ workflowName: string;
1954
+ nodeId: string;
1955
+ nodeName: string;
1956
+ nodeType: string;
1957
+ }>, z.ZodObject<{
1958
+ kind: z.ZodLiteral<"credential">;
1959
+ id: z.ZodString;
1960
+ name: z.ZodString;
1961
+ }, "strip", z.ZodTypeAny, {
1962
+ kind: "credential";
1963
+ id: string;
1964
+ name: string;
1965
+ }, {
1966
+ kind: "credential";
1967
+ id: string;
1968
+ name: string;
1969
+ }>, z.ZodObject<{
1970
+ kind: z.ZodLiteral<"community">;
1971
+ nodeType: z.ZodString;
1972
+ packageUrl: z.ZodString;
1973
+ }, "strip", z.ZodTypeAny, {
1974
+ kind: "community";
1975
+ nodeType: string;
1976
+ packageUrl: string;
1977
+ }, {
1978
+ kind: "community";
1979
+ nodeType: string;
1980
+ packageUrl: string;
1981
+ }>, z.ZodObject<{
1982
+ kind: z.ZodLiteral<"custom">;
1983
+ nodeType: z.ZodString;
1984
+ filePath: z.ZodString;
1985
+ }, "strip", z.ZodTypeAny, {
1986
+ kind: "custom";
1987
+ nodeType: string;
1988
+ filePath: string;
1989
+ }, {
1990
+ kind: "custom";
1991
+ nodeType: string;
1992
+ filePath: string;
1993
+ }>]>, "many">>;
1994
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1995
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1996
+ name: z.ZodString;
1997
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
1998
+ createdAt: z.ZodString;
1999
+ description: z.ZodString;
2000
+ documentationUrl: z.ZodString;
2001
+ hasBreakingChange: z.ZodBoolean;
2002
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
2003
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
2004
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ name: string;
2007
+ nodes: unknown[];
2008
+ createdAt: string;
2009
+ description: string;
2010
+ documentationUrl: string;
2011
+ hasBreakingChange: boolean;
2012
+ hasSecurityFix: boolean | null;
2013
+ hasSecurityIssue: boolean | null;
2014
+ securityIssueFixVersion: string | null;
2015
+ }, {
2016
+ name: string;
2017
+ nodes: unknown[];
2018
+ createdAt: string;
2019
+ description: string;
2020
+ documentationUrl: string;
2021
+ hasBreakingChange: boolean;
2022
+ hasSecurityFix: boolean | null;
2023
+ hasSecurityIssue: boolean | null;
2024
+ securityIssueFixVersion: string | null;
2025
+ }>, "many">>;
2026
+ }, "strip", z.ZodTypeAny, {
2027
+ title: string;
2028
+ description: string;
2029
+ recommendation: string;
2030
+ location?: ({
2031
+ kind: "node";
2032
+ workflowId: string;
2033
+ workflowName: string;
2034
+ nodeId: string;
2035
+ nodeName: string;
2036
+ nodeType: string;
2037
+ } | {
2038
+ kind: "credential";
2039
+ id: string;
2040
+ name: string;
2041
+ } | {
2042
+ kind: "community";
2043
+ nodeType: string;
2044
+ packageUrl: string;
2045
+ } | {
2046
+ kind: "custom";
2047
+ nodeType: string;
2048
+ filePath: string;
2049
+ })[] | undefined;
2050
+ settings?: Record<string, unknown> | undefined;
2051
+ nextVersions?: {
2052
+ name: string;
2053
+ nodes: unknown[];
2054
+ createdAt: string;
2055
+ description: string;
2056
+ documentationUrl: string;
2057
+ hasBreakingChange: boolean;
2058
+ hasSecurityFix: boolean | null;
2059
+ hasSecurityIssue: boolean | null;
2060
+ securityIssueFixVersion: string | null;
2061
+ }[] | undefined;
2062
+ }, {
2063
+ title: string;
2064
+ description: string;
2065
+ recommendation: string;
2066
+ location?: ({
2067
+ kind: "node";
2068
+ workflowId: string;
2069
+ workflowName: string;
2070
+ nodeId: string;
2071
+ nodeName: string;
2072
+ nodeType: string;
2073
+ } | {
2074
+ kind: "credential";
2075
+ id: string;
2076
+ name: string;
2077
+ } | {
2078
+ kind: "community";
2079
+ nodeType: string;
2080
+ packageUrl: string;
2081
+ } | {
2082
+ kind: "custom";
2083
+ nodeType: string;
2084
+ filePath: string;
2085
+ })[] | undefined;
2086
+ settings?: Record<string, unknown> | undefined;
2087
+ nextVersions?: {
2088
+ name: string;
2089
+ nodes: unknown[];
2090
+ createdAt: string;
2091
+ description: string;
2092
+ documentationUrl: string;
2093
+ hasBreakingChange: boolean;
2094
+ hasSecurityFix: boolean | null;
2095
+ hasSecurityIssue: boolean | null;
2096
+ securityIssueFixVersion: string | null;
2097
+ }[] | undefined;
2098
+ }>, "many">;
2099
+ }, "strip", z.ZodTypeAny, {
2100
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2101
+ sections: {
2102
+ title: string;
2103
+ description: string;
2104
+ recommendation: string;
2105
+ location?: ({
2106
+ kind: "node";
2107
+ workflowId: string;
2108
+ workflowName: string;
2109
+ nodeId: string;
2110
+ nodeName: string;
2111
+ nodeType: string;
2112
+ } | {
2113
+ kind: "credential";
2114
+ id: string;
2115
+ name: string;
2116
+ } | {
2117
+ kind: "community";
2118
+ nodeType: string;
2119
+ packageUrl: string;
2120
+ } | {
2121
+ kind: "custom";
2122
+ nodeType: string;
2123
+ filePath: string;
2124
+ })[] | undefined;
2125
+ settings?: Record<string, unknown> | undefined;
2126
+ nextVersions?: {
2127
+ name: string;
2128
+ nodes: unknown[];
2129
+ createdAt: string;
2130
+ description: string;
2131
+ documentationUrl: string;
2132
+ hasBreakingChange: boolean;
2133
+ hasSecurityFix: boolean | null;
2134
+ hasSecurityIssue: boolean | null;
2135
+ securityIssueFixVersion: string | null;
2136
+ }[] | undefined;
2137
+ }[];
2138
+ }, {
2139
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2140
+ sections: {
2141
+ title: string;
2142
+ description: string;
2143
+ recommendation: string;
2144
+ location?: ({
2145
+ kind: "node";
2146
+ workflowId: string;
2147
+ workflowName: string;
2148
+ nodeId: string;
2149
+ nodeName: string;
2150
+ nodeType: string;
2151
+ } | {
2152
+ kind: "credential";
2153
+ id: string;
2154
+ name: string;
2155
+ } | {
2156
+ kind: "community";
2157
+ nodeType: string;
2158
+ packageUrl: string;
2159
+ } | {
2160
+ kind: "custom";
2161
+ nodeType: string;
2162
+ filePath: string;
2163
+ })[] | undefined;
2164
+ settings?: Record<string, unknown> | undefined;
2165
+ nextVersions?: {
2166
+ name: string;
2167
+ nodes: unknown[];
2168
+ createdAt: string;
2169
+ description: string;
2170
+ documentationUrl: string;
2171
+ hasBreakingChange: boolean;
2172
+ hasSecurityFix: boolean | null;
2173
+ hasSecurityIssue: boolean | null;
2174
+ securityIssueFixVersion: string | null;
2175
+ }[] | undefined;
2176
+ }[];
2177
+ }>>;
2178
+ 'Filesystem Risk Report': z.ZodOptional<z.ZodObject<{
2179
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
2180
+ sections: z.ZodArray<z.ZodObject<{
2181
+ title: z.ZodString;
2182
+ description: z.ZodString;
2183
+ recommendation: z.ZodString;
2184
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2185
+ kind: z.ZodLiteral<"node">;
2186
+ workflowId: z.ZodString;
2187
+ workflowName: z.ZodString;
2188
+ nodeId: z.ZodString;
2189
+ nodeName: z.ZodString;
2190
+ nodeType: z.ZodString;
2191
+ }, "strip", z.ZodTypeAny, {
2192
+ kind: "node";
2193
+ workflowId: string;
2194
+ workflowName: string;
2195
+ nodeId: string;
2196
+ nodeName: string;
2197
+ nodeType: string;
2198
+ }, {
2199
+ kind: "node";
2200
+ workflowId: string;
2201
+ workflowName: string;
2202
+ nodeId: string;
2203
+ nodeName: string;
2204
+ nodeType: string;
2205
+ }>, z.ZodObject<{
2206
+ kind: z.ZodLiteral<"credential">;
2207
+ id: z.ZodString;
2208
+ name: z.ZodString;
2209
+ }, "strip", z.ZodTypeAny, {
2210
+ kind: "credential";
2211
+ id: string;
2212
+ name: string;
2213
+ }, {
2214
+ kind: "credential";
2215
+ id: string;
2216
+ name: string;
2217
+ }>, z.ZodObject<{
2218
+ kind: z.ZodLiteral<"community">;
2219
+ nodeType: z.ZodString;
2220
+ packageUrl: z.ZodString;
2221
+ }, "strip", z.ZodTypeAny, {
2222
+ kind: "community";
2223
+ nodeType: string;
2224
+ packageUrl: string;
2225
+ }, {
2226
+ kind: "community";
2227
+ nodeType: string;
2228
+ packageUrl: string;
2229
+ }>, z.ZodObject<{
2230
+ kind: z.ZodLiteral<"custom">;
2231
+ nodeType: z.ZodString;
2232
+ filePath: z.ZodString;
2233
+ }, "strip", z.ZodTypeAny, {
2234
+ kind: "custom";
2235
+ nodeType: string;
2236
+ filePath: string;
2237
+ }, {
2238
+ kind: "custom";
2239
+ nodeType: string;
2240
+ filePath: string;
2241
+ }>]>, "many">>;
2242
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2243
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2244
+ name: z.ZodString;
2245
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
2246
+ createdAt: z.ZodString;
2247
+ description: z.ZodString;
2248
+ documentationUrl: z.ZodString;
2249
+ hasBreakingChange: z.ZodBoolean;
2250
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
2251
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
2252
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
2253
+ }, "strip", z.ZodTypeAny, {
2254
+ name: string;
2255
+ nodes: unknown[];
2256
+ createdAt: string;
2257
+ description: string;
2258
+ documentationUrl: string;
2259
+ hasBreakingChange: boolean;
2260
+ hasSecurityFix: boolean | null;
2261
+ hasSecurityIssue: boolean | null;
2262
+ securityIssueFixVersion: string | null;
2263
+ }, {
2264
+ name: string;
2265
+ nodes: unknown[];
2266
+ createdAt: string;
2267
+ description: string;
2268
+ documentationUrl: string;
2269
+ hasBreakingChange: boolean;
2270
+ hasSecurityFix: boolean | null;
2271
+ hasSecurityIssue: boolean | null;
2272
+ securityIssueFixVersion: string | null;
2273
+ }>, "many">>;
2274
+ }, "strip", z.ZodTypeAny, {
2275
+ title: string;
2276
+ description: string;
2277
+ recommendation: string;
2278
+ location?: ({
2279
+ kind: "node";
2280
+ workflowId: string;
2281
+ workflowName: string;
2282
+ nodeId: string;
2283
+ nodeName: string;
2284
+ nodeType: string;
2285
+ } | {
2286
+ kind: "credential";
2287
+ id: string;
2288
+ name: string;
2289
+ } | {
2290
+ kind: "community";
2291
+ nodeType: string;
2292
+ packageUrl: string;
2293
+ } | {
2294
+ kind: "custom";
2295
+ nodeType: string;
2296
+ filePath: string;
2297
+ })[] | undefined;
2298
+ settings?: Record<string, unknown> | undefined;
2299
+ nextVersions?: {
2300
+ name: string;
2301
+ nodes: unknown[];
2302
+ createdAt: string;
2303
+ description: string;
2304
+ documentationUrl: string;
2305
+ hasBreakingChange: boolean;
2306
+ hasSecurityFix: boolean | null;
2307
+ hasSecurityIssue: boolean | null;
2308
+ securityIssueFixVersion: string | null;
2309
+ }[] | undefined;
2310
+ }, {
2311
+ title: string;
2312
+ description: string;
2313
+ recommendation: string;
2314
+ location?: ({
2315
+ kind: "node";
2316
+ workflowId: string;
2317
+ workflowName: string;
2318
+ nodeId: string;
2319
+ nodeName: string;
2320
+ nodeType: string;
2321
+ } | {
2322
+ kind: "credential";
2323
+ id: string;
2324
+ name: string;
2325
+ } | {
2326
+ kind: "community";
2327
+ nodeType: string;
2328
+ packageUrl: string;
2329
+ } | {
2330
+ kind: "custom";
2331
+ nodeType: string;
2332
+ filePath: string;
2333
+ })[] | undefined;
2334
+ settings?: Record<string, unknown> | undefined;
2335
+ nextVersions?: {
2336
+ name: string;
2337
+ nodes: unknown[];
2338
+ createdAt: string;
2339
+ description: string;
2340
+ documentationUrl: string;
2341
+ hasBreakingChange: boolean;
2342
+ hasSecurityFix: boolean | null;
2343
+ hasSecurityIssue: boolean | null;
2344
+ securityIssueFixVersion: string | null;
2345
+ }[] | undefined;
2346
+ }>, "many">;
2347
+ }, "strip", z.ZodTypeAny, {
2348
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2349
+ sections: {
2350
+ title: string;
2351
+ description: string;
2352
+ recommendation: string;
2353
+ location?: ({
2354
+ kind: "node";
2355
+ workflowId: string;
2356
+ workflowName: string;
2357
+ nodeId: string;
2358
+ nodeName: string;
2359
+ nodeType: string;
2360
+ } | {
2361
+ kind: "credential";
2362
+ id: string;
2363
+ name: string;
2364
+ } | {
2365
+ kind: "community";
2366
+ nodeType: string;
2367
+ packageUrl: string;
2368
+ } | {
2369
+ kind: "custom";
2370
+ nodeType: string;
2371
+ filePath: string;
2372
+ })[] | undefined;
2373
+ settings?: Record<string, unknown> | undefined;
2374
+ nextVersions?: {
2375
+ name: string;
2376
+ nodes: unknown[];
2377
+ createdAt: string;
2378
+ description: string;
2379
+ documentationUrl: string;
2380
+ hasBreakingChange: boolean;
2381
+ hasSecurityFix: boolean | null;
2382
+ hasSecurityIssue: boolean | null;
2383
+ securityIssueFixVersion: string | null;
2384
+ }[] | undefined;
2385
+ }[];
2386
+ }, {
2387
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2388
+ sections: {
2389
+ title: string;
2390
+ description: string;
2391
+ recommendation: string;
2392
+ location?: ({
2393
+ kind: "node";
2394
+ workflowId: string;
2395
+ workflowName: string;
2396
+ nodeId: string;
2397
+ nodeName: string;
2398
+ nodeType: string;
2399
+ } | {
2400
+ kind: "credential";
2401
+ id: string;
2402
+ name: string;
2403
+ } | {
2404
+ kind: "community";
2405
+ nodeType: string;
2406
+ packageUrl: string;
2407
+ } | {
2408
+ kind: "custom";
2409
+ nodeType: string;
2410
+ filePath: string;
2411
+ })[] | undefined;
2412
+ settings?: Record<string, unknown> | undefined;
2413
+ nextVersions?: {
2414
+ name: string;
2415
+ nodes: unknown[];
2416
+ createdAt: string;
2417
+ description: string;
2418
+ documentationUrl: string;
2419
+ hasBreakingChange: boolean;
2420
+ hasSecurityFix: boolean | null;
2421
+ hasSecurityIssue: boolean | null;
2422
+ securityIssueFixVersion: string | null;
2423
+ }[] | undefined;
2424
+ }[];
2425
+ }>>;
2426
+ 'Nodes Risk Report': z.ZodOptional<z.ZodObject<{
2427
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
2428
+ sections: z.ZodArray<z.ZodObject<{
2429
+ title: z.ZodString;
2430
+ description: z.ZodString;
2431
+ recommendation: z.ZodString;
2432
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2433
+ kind: z.ZodLiteral<"node">;
2434
+ workflowId: z.ZodString;
2435
+ workflowName: z.ZodString;
2436
+ nodeId: z.ZodString;
2437
+ nodeName: z.ZodString;
2438
+ nodeType: z.ZodString;
2439
+ }, "strip", z.ZodTypeAny, {
2440
+ kind: "node";
2441
+ workflowId: string;
2442
+ workflowName: string;
2443
+ nodeId: string;
2444
+ nodeName: string;
2445
+ nodeType: string;
2446
+ }, {
2447
+ kind: "node";
2448
+ workflowId: string;
2449
+ workflowName: string;
2450
+ nodeId: string;
2451
+ nodeName: string;
2452
+ nodeType: string;
2453
+ }>, z.ZodObject<{
2454
+ kind: z.ZodLiteral<"credential">;
2455
+ id: z.ZodString;
2456
+ name: z.ZodString;
2457
+ }, "strip", z.ZodTypeAny, {
2458
+ kind: "credential";
2459
+ id: string;
2460
+ name: string;
2461
+ }, {
2462
+ kind: "credential";
2463
+ id: string;
2464
+ name: string;
2465
+ }>, z.ZodObject<{
2466
+ kind: z.ZodLiteral<"community">;
2467
+ nodeType: z.ZodString;
2468
+ packageUrl: z.ZodString;
2469
+ }, "strip", z.ZodTypeAny, {
2470
+ kind: "community";
2471
+ nodeType: string;
2472
+ packageUrl: string;
2473
+ }, {
2474
+ kind: "community";
2475
+ nodeType: string;
2476
+ packageUrl: string;
2477
+ }>, z.ZodObject<{
2478
+ kind: z.ZodLiteral<"custom">;
2479
+ nodeType: z.ZodString;
2480
+ filePath: z.ZodString;
2481
+ }, "strip", z.ZodTypeAny, {
2482
+ kind: "custom";
2483
+ nodeType: string;
2484
+ filePath: string;
2485
+ }, {
2486
+ kind: "custom";
2487
+ nodeType: string;
2488
+ filePath: string;
2489
+ }>]>, "many">>;
2490
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2491
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2492
+ name: z.ZodString;
2493
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
2494
+ createdAt: z.ZodString;
2495
+ description: z.ZodString;
2496
+ documentationUrl: z.ZodString;
2497
+ hasBreakingChange: z.ZodBoolean;
2498
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
2499
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
2500
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
2501
+ }, "strip", z.ZodTypeAny, {
2502
+ name: string;
2503
+ nodes: unknown[];
2504
+ createdAt: string;
2505
+ description: string;
2506
+ documentationUrl: string;
2507
+ hasBreakingChange: boolean;
2508
+ hasSecurityFix: boolean | null;
2509
+ hasSecurityIssue: boolean | null;
2510
+ securityIssueFixVersion: string | null;
2511
+ }, {
2512
+ name: string;
2513
+ nodes: unknown[];
2514
+ createdAt: string;
2515
+ description: string;
2516
+ documentationUrl: string;
2517
+ hasBreakingChange: boolean;
2518
+ hasSecurityFix: boolean | null;
2519
+ hasSecurityIssue: boolean | null;
2520
+ securityIssueFixVersion: string | null;
2521
+ }>, "many">>;
2522
+ }, "strip", z.ZodTypeAny, {
2523
+ title: string;
2524
+ description: string;
2525
+ recommendation: string;
2526
+ location?: ({
2527
+ kind: "node";
2528
+ workflowId: string;
2529
+ workflowName: string;
2530
+ nodeId: string;
2531
+ nodeName: string;
2532
+ nodeType: string;
2533
+ } | {
2534
+ kind: "credential";
2535
+ id: string;
2536
+ name: string;
2537
+ } | {
2538
+ kind: "community";
2539
+ nodeType: string;
2540
+ packageUrl: string;
2541
+ } | {
2542
+ kind: "custom";
2543
+ nodeType: string;
2544
+ filePath: string;
2545
+ })[] | undefined;
2546
+ settings?: Record<string, unknown> | undefined;
2547
+ nextVersions?: {
2548
+ name: string;
2549
+ nodes: unknown[];
2550
+ createdAt: string;
2551
+ description: string;
2552
+ documentationUrl: string;
2553
+ hasBreakingChange: boolean;
2554
+ hasSecurityFix: boolean | null;
2555
+ hasSecurityIssue: boolean | null;
2556
+ securityIssueFixVersion: string | null;
2557
+ }[] | undefined;
2558
+ }, {
2559
+ title: string;
2560
+ description: string;
2561
+ recommendation: string;
2562
+ location?: ({
2563
+ kind: "node";
2564
+ workflowId: string;
2565
+ workflowName: string;
2566
+ nodeId: string;
2567
+ nodeName: string;
2568
+ nodeType: string;
2569
+ } | {
2570
+ kind: "credential";
2571
+ id: string;
2572
+ name: string;
2573
+ } | {
2574
+ kind: "community";
2575
+ nodeType: string;
2576
+ packageUrl: string;
2577
+ } | {
2578
+ kind: "custom";
2579
+ nodeType: string;
2580
+ filePath: string;
2581
+ })[] | undefined;
2582
+ settings?: Record<string, unknown> | undefined;
2583
+ nextVersions?: {
2584
+ name: string;
2585
+ nodes: unknown[];
2586
+ createdAt: string;
2587
+ description: string;
2588
+ documentationUrl: string;
2589
+ hasBreakingChange: boolean;
2590
+ hasSecurityFix: boolean | null;
2591
+ hasSecurityIssue: boolean | null;
2592
+ securityIssueFixVersion: string | null;
2593
+ }[] | undefined;
2594
+ }>, "many">;
2595
+ }, "strip", z.ZodTypeAny, {
2596
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2597
+ sections: {
2598
+ title: string;
2599
+ description: string;
2600
+ recommendation: string;
2601
+ location?: ({
2602
+ kind: "node";
2603
+ workflowId: string;
2604
+ workflowName: string;
2605
+ nodeId: string;
2606
+ nodeName: string;
2607
+ nodeType: string;
2608
+ } | {
2609
+ kind: "credential";
2610
+ id: string;
2611
+ name: string;
2612
+ } | {
2613
+ kind: "community";
2614
+ nodeType: string;
2615
+ packageUrl: string;
2616
+ } | {
2617
+ kind: "custom";
2618
+ nodeType: string;
2619
+ filePath: string;
2620
+ })[] | undefined;
2621
+ settings?: Record<string, unknown> | undefined;
2622
+ nextVersions?: {
2623
+ name: string;
2624
+ nodes: unknown[];
2625
+ createdAt: string;
2626
+ description: string;
2627
+ documentationUrl: string;
2628
+ hasBreakingChange: boolean;
2629
+ hasSecurityFix: boolean | null;
2630
+ hasSecurityIssue: boolean | null;
2631
+ securityIssueFixVersion: string | null;
2632
+ }[] | undefined;
2633
+ }[];
2634
+ }, {
2635
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2636
+ sections: {
2637
+ title: string;
2638
+ description: string;
2639
+ recommendation: string;
2640
+ location?: ({
2641
+ kind: "node";
2642
+ workflowId: string;
2643
+ workflowName: string;
2644
+ nodeId: string;
2645
+ nodeName: string;
2646
+ nodeType: string;
2647
+ } | {
2648
+ kind: "credential";
2649
+ id: string;
2650
+ name: string;
2651
+ } | {
2652
+ kind: "community";
2653
+ nodeType: string;
2654
+ packageUrl: string;
2655
+ } | {
2656
+ kind: "custom";
2657
+ nodeType: string;
2658
+ filePath: string;
2659
+ })[] | undefined;
2660
+ settings?: Record<string, unknown> | undefined;
2661
+ nextVersions?: {
2662
+ name: string;
2663
+ nodes: unknown[];
2664
+ createdAt: string;
2665
+ description: string;
2666
+ documentationUrl: string;
2667
+ hasBreakingChange: boolean;
2668
+ hasSecurityFix: boolean | null;
2669
+ hasSecurityIssue: boolean | null;
2670
+ securityIssueFixVersion: string | null;
2671
+ }[] | undefined;
2672
+ }[];
2673
+ }>>;
2674
+ 'Instance Risk Report': z.ZodOptional<z.ZodObject<{
2675
+ risk: z.ZodEnum<["credentials", "database", "nodes", "filesystem", "instance"]>;
2676
+ sections: z.ZodArray<z.ZodObject<{
2677
+ title: z.ZodString;
2678
+ description: z.ZodString;
2679
+ recommendation: z.ZodString;
2680
+ location: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2681
+ kind: z.ZodLiteral<"node">;
2682
+ workflowId: z.ZodString;
2683
+ workflowName: z.ZodString;
2684
+ nodeId: z.ZodString;
2685
+ nodeName: z.ZodString;
2686
+ nodeType: z.ZodString;
2687
+ }, "strip", z.ZodTypeAny, {
2688
+ kind: "node";
2689
+ workflowId: string;
2690
+ workflowName: string;
2691
+ nodeId: string;
2692
+ nodeName: string;
2693
+ nodeType: string;
2694
+ }, {
2695
+ kind: "node";
2696
+ workflowId: string;
2697
+ workflowName: string;
2698
+ nodeId: string;
2699
+ nodeName: string;
2700
+ nodeType: string;
2701
+ }>, z.ZodObject<{
2702
+ kind: z.ZodLiteral<"credential">;
2703
+ id: z.ZodString;
2704
+ name: z.ZodString;
2705
+ }, "strip", z.ZodTypeAny, {
2706
+ kind: "credential";
2707
+ id: string;
2708
+ name: string;
2709
+ }, {
2710
+ kind: "credential";
2711
+ id: string;
2712
+ name: string;
2713
+ }>, z.ZodObject<{
2714
+ kind: z.ZodLiteral<"community">;
2715
+ nodeType: z.ZodString;
2716
+ packageUrl: z.ZodString;
2717
+ }, "strip", z.ZodTypeAny, {
2718
+ kind: "community";
2719
+ nodeType: string;
2720
+ packageUrl: string;
2721
+ }, {
2722
+ kind: "community";
2723
+ nodeType: string;
2724
+ packageUrl: string;
2725
+ }>, z.ZodObject<{
2726
+ kind: z.ZodLiteral<"custom">;
2727
+ nodeType: z.ZodString;
2728
+ filePath: z.ZodString;
2729
+ }, "strip", z.ZodTypeAny, {
2730
+ kind: "custom";
2731
+ nodeType: string;
2732
+ filePath: string;
2733
+ }, {
2734
+ kind: "custom";
2735
+ nodeType: string;
2736
+ filePath: string;
2737
+ }>]>, "many">>;
2738
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2739
+ nextVersions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2740
+ name: z.ZodString;
2741
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
2742
+ createdAt: z.ZodString;
2743
+ description: z.ZodString;
2744
+ documentationUrl: z.ZodString;
2745
+ hasBreakingChange: z.ZodBoolean;
2746
+ hasSecurityFix: z.ZodNullable<z.ZodBoolean>;
2747
+ hasSecurityIssue: z.ZodNullable<z.ZodBoolean>;
2748
+ securityIssueFixVersion: z.ZodNullable<z.ZodString>;
2749
+ }, "strip", z.ZodTypeAny, {
2750
+ name: string;
2751
+ nodes: unknown[];
2752
+ createdAt: string;
2753
+ description: string;
2754
+ documentationUrl: string;
2755
+ hasBreakingChange: boolean;
2756
+ hasSecurityFix: boolean | null;
2757
+ hasSecurityIssue: boolean | null;
2758
+ securityIssueFixVersion: string | null;
2759
+ }, {
2760
+ name: string;
2761
+ nodes: unknown[];
2762
+ createdAt: string;
2763
+ description: string;
2764
+ documentationUrl: string;
2765
+ hasBreakingChange: boolean;
2766
+ hasSecurityFix: boolean | null;
2767
+ hasSecurityIssue: boolean | null;
2768
+ securityIssueFixVersion: string | null;
2769
+ }>, "many">>;
2770
+ }, "strip", z.ZodTypeAny, {
2771
+ title: string;
2772
+ description: string;
2773
+ recommendation: string;
2774
+ location?: ({
2775
+ kind: "node";
2776
+ workflowId: string;
2777
+ workflowName: string;
2778
+ nodeId: string;
2779
+ nodeName: string;
2780
+ nodeType: string;
2781
+ } | {
2782
+ kind: "credential";
2783
+ id: string;
2784
+ name: string;
2785
+ } | {
2786
+ kind: "community";
2787
+ nodeType: string;
2788
+ packageUrl: string;
2789
+ } | {
2790
+ kind: "custom";
2791
+ nodeType: string;
2792
+ filePath: string;
2793
+ })[] | undefined;
2794
+ settings?: Record<string, unknown> | undefined;
2795
+ nextVersions?: {
2796
+ name: string;
2797
+ nodes: unknown[];
2798
+ createdAt: string;
2799
+ description: string;
2800
+ documentationUrl: string;
2801
+ hasBreakingChange: boolean;
2802
+ hasSecurityFix: boolean | null;
2803
+ hasSecurityIssue: boolean | null;
2804
+ securityIssueFixVersion: string | null;
2805
+ }[] | undefined;
2806
+ }, {
2807
+ title: string;
2808
+ description: string;
2809
+ recommendation: string;
2810
+ location?: ({
2811
+ kind: "node";
2812
+ workflowId: string;
2813
+ workflowName: string;
2814
+ nodeId: string;
2815
+ nodeName: string;
2816
+ nodeType: string;
2817
+ } | {
2818
+ kind: "credential";
2819
+ id: string;
2820
+ name: string;
2821
+ } | {
2822
+ kind: "community";
2823
+ nodeType: string;
2824
+ packageUrl: string;
2825
+ } | {
2826
+ kind: "custom";
2827
+ nodeType: string;
2828
+ filePath: string;
2829
+ })[] | undefined;
2830
+ settings?: Record<string, unknown> | undefined;
2831
+ nextVersions?: {
2832
+ name: string;
2833
+ nodes: unknown[];
2834
+ createdAt: string;
2835
+ description: string;
2836
+ documentationUrl: string;
2837
+ hasBreakingChange: boolean;
2838
+ hasSecurityFix: boolean | null;
2839
+ hasSecurityIssue: boolean | null;
2840
+ securityIssueFixVersion: string | null;
2841
+ }[] | undefined;
2842
+ }>, "many">;
2843
+ }, "strip", z.ZodTypeAny, {
2844
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2845
+ sections: {
2846
+ title: string;
2847
+ description: string;
2848
+ recommendation: string;
2849
+ location?: ({
2850
+ kind: "node";
2851
+ workflowId: string;
2852
+ workflowName: string;
2853
+ nodeId: string;
2854
+ nodeName: string;
2855
+ nodeType: string;
2856
+ } | {
2857
+ kind: "credential";
2858
+ id: string;
2859
+ name: string;
2860
+ } | {
2861
+ kind: "community";
2862
+ nodeType: string;
2863
+ packageUrl: string;
2864
+ } | {
2865
+ kind: "custom";
2866
+ nodeType: string;
2867
+ filePath: string;
2868
+ })[] | undefined;
2869
+ settings?: Record<string, unknown> | undefined;
2870
+ nextVersions?: {
2871
+ name: string;
2872
+ nodes: unknown[];
2873
+ createdAt: string;
2874
+ description: string;
2875
+ documentationUrl: string;
2876
+ hasBreakingChange: boolean;
2877
+ hasSecurityFix: boolean | null;
2878
+ hasSecurityIssue: boolean | null;
2879
+ securityIssueFixVersion: string | null;
2880
+ }[] | undefined;
2881
+ }[];
2882
+ }, {
2883
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2884
+ sections: {
2885
+ title: string;
2886
+ description: string;
2887
+ recommendation: string;
2888
+ location?: ({
2889
+ kind: "node";
2890
+ workflowId: string;
2891
+ workflowName: string;
2892
+ nodeId: string;
2893
+ nodeName: string;
2894
+ nodeType: string;
2895
+ } | {
2896
+ kind: "credential";
2897
+ id: string;
2898
+ name: string;
2899
+ } | {
2900
+ kind: "community";
2901
+ nodeType: string;
2902
+ packageUrl: string;
2903
+ } | {
2904
+ kind: "custom";
2905
+ nodeType: string;
2906
+ filePath: string;
2907
+ })[] | undefined;
2908
+ settings?: Record<string, unknown> | undefined;
2909
+ nextVersions?: {
2910
+ name: string;
2911
+ nodes: unknown[];
2912
+ createdAt: string;
2913
+ description: string;
2914
+ documentationUrl: string;
2915
+ hasBreakingChange: boolean;
2916
+ hasSecurityFix: boolean | null;
2917
+ hasSecurityIssue: boolean | null;
2918
+ securityIssueFixVersion: string | null;
2919
+ }[] | undefined;
2920
+ }[];
2921
+ }>>;
2922
+ }, "strip", z.ZodTypeAny, {
2923
+ 'Credentials Risk Report'?: {
2924
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2925
+ sections: {
2926
+ title: string;
2927
+ description: string;
2928
+ recommendation: string;
2929
+ location?: ({
2930
+ kind: "node";
2931
+ workflowId: string;
2932
+ workflowName: string;
2933
+ nodeId: string;
2934
+ nodeName: string;
2935
+ nodeType: string;
2936
+ } | {
2937
+ kind: "credential";
2938
+ id: string;
2939
+ name: string;
2940
+ } | {
2941
+ kind: "community";
2942
+ nodeType: string;
2943
+ packageUrl: string;
2944
+ } | {
2945
+ kind: "custom";
2946
+ nodeType: string;
2947
+ filePath: string;
2948
+ })[] | undefined;
2949
+ settings?: Record<string, unknown> | undefined;
2950
+ nextVersions?: {
2951
+ name: string;
2952
+ nodes: unknown[];
2953
+ createdAt: string;
2954
+ description: string;
2955
+ documentationUrl: string;
2956
+ hasBreakingChange: boolean;
2957
+ hasSecurityFix: boolean | null;
2958
+ hasSecurityIssue: boolean | null;
2959
+ securityIssueFixVersion: string | null;
2960
+ }[] | undefined;
2961
+ }[];
2962
+ } | undefined;
2963
+ 'Database Risk Report'?: {
2964
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
2965
+ sections: {
2966
+ title: string;
2967
+ description: string;
2968
+ recommendation: string;
2969
+ location?: ({
2970
+ kind: "node";
2971
+ workflowId: string;
2972
+ workflowName: string;
2973
+ nodeId: string;
2974
+ nodeName: string;
2975
+ nodeType: string;
2976
+ } | {
2977
+ kind: "credential";
2978
+ id: string;
2979
+ name: string;
2980
+ } | {
2981
+ kind: "community";
2982
+ nodeType: string;
2983
+ packageUrl: string;
2984
+ } | {
2985
+ kind: "custom";
2986
+ nodeType: string;
2987
+ filePath: string;
2988
+ })[] | undefined;
2989
+ settings?: Record<string, unknown> | undefined;
2990
+ nextVersions?: {
2991
+ name: string;
2992
+ nodes: unknown[];
2993
+ createdAt: string;
2994
+ description: string;
2995
+ documentationUrl: string;
2996
+ hasBreakingChange: boolean;
2997
+ hasSecurityFix: boolean | null;
2998
+ hasSecurityIssue: boolean | null;
2999
+ securityIssueFixVersion: string | null;
3000
+ }[] | undefined;
3001
+ }[];
3002
+ } | undefined;
3003
+ 'Filesystem Risk Report'?: {
3004
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3005
+ sections: {
3006
+ title: string;
3007
+ description: string;
3008
+ recommendation: string;
3009
+ location?: ({
3010
+ kind: "node";
3011
+ workflowId: string;
3012
+ workflowName: string;
3013
+ nodeId: string;
3014
+ nodeName: string;
3015
+ nodeType: string;
3016
+ } | {
3017
+ kind: "credential";
3018
+ id: string;
3019
+ name: string;
3020
+ } | {
3021
+ kind: "community";
3022
+ nodeType: string;
3023
+ packageUrl: string;
3024
+ } | {
3025
+ kind: "custom";
3026
+ nodeType: string;
3027
+ filePath: string;
3028
+ })[] | undefined;
3029
+ settings?: Record<string, unknown> | undefined;
3030
+ nextVersions?: {
3031
+ name: string;
3032
+ nodes: unknown[];
3033
+ createdAt: string;
3034
+ description: string;
3035
+ documentationUrl: string;
3036
+ hasBreakingChange: boolean;
3037
+ hasSecurityFix: boolean | null;
3038
+ hasSecurityIssue: boolean | null;
3039
+ securityIssueFixVersion: string | null;
3040
+ }[] | undefined;
3041
+ }[];
3042
+ } | undefined;
3043
+ 'Nodes Risk Report'?: {
3044
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3045
+ sections: {
3046
+ title: string;
3047
+ description: string;
3048
+ recommendation: string;
3049
+ location?: ({
3050
+ kind: "node";
3051
+ workflowId: string;
3052
+ workflowName: string;
3053
+ nodeId: string;
3054
+ nodeName: string;
3055
+ nodeType: string;
3056
+ } | {
3057
+ kind: "credential";
3058
+ id: string;
3059
+ name: string;
3060
+ } | {
3061
+ kind: "community";
3062
+ nodeType: string;
3063
+ packageUrl: string;
3064
+ } | {
3065
+ kind: "custom";
3066
+ nodeType: string;
3067
+ filePath: string;
3068
+ })[] | undefined;
3069
+ settings?: Record<string, unknown> | undefined;
3070
+ nextVersions?: {
3071
+ name: string;
3072
+ nodes: unknown[];
3073
+ createdAt: string;
3074
+ description: string;
3075
+ documentationUrl: string;
3076
+ hasBreakingChange: boolean;
3077
+ hasSecurityFix: boolean | null;
3078
+ hasSecurityIssue: boolean | null;
3079
+ securityIssueFixVersion: string | null;
3080
+ }[] | undefined;
3081
+ }[];
3082
+ } | undefined;
3083
+ 'Instance Risk Report'?: {
3084
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3085
+ sections: {
3086
+ title: string;
3087
+ description: string;
3088
+ recommendation: string;
3089
+ location?: ({
3090
+ kind: "node";
3091
+ workflowId: string;
3092
+ workflowName: string;
3093
+ nodeId: string;
3094
+ nodeName: string;
3095
+ nodeType: string;
3096
+ } | {
3097
+ kind: "credential";
3098
+ id: string;
3099
+ name: string;
3100
+ } | {
3101
+ kind: "community";
3102
+ nodeType: string;
3103
+ packageUrl: string;
3104
+ } | {
3105
+ kind: "custom";
3106
+ nodeType: string;
3107
+ filePath: string;
3108
+ })[] | undefined;
3109
+ settings?: Record<string, unknown> | undefined;
3110
+ nextVersions?: {
3111
+ name: string;
3112
+ nodes: unknown[];
3113
+ createdAt: string;
3114
+ description: string;
3115
+ documentationUrl: string;
3116
+ hasBreakingChange: boolean;
3117
+ hasSecurityFix: boolean | null;
3118
+ hasSecurityIssue: boolean | null;
3119
+ securityIssueFixVersion: string | null;
3120
+ }[] | undefined;
3121
+ }[];
3122
+ } | undefined;
3123
+ }, {
3124
+ 'Credentials Risk Report'?: {
3125
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3126
+ sections: {
3127
+ title: string;
3128
+ description: string;
3129
+ recommendation: string;
3130
+ location?: ({
3131
+ kind: "node";
3132
+ workflowId: string;
3133
+ workflowName: string;
3134
+ nodeId: string;
3135
+ nodeName: string;
3136
+ nodeType: string;
3137
+ } | {
3138
+ kind: "credential";
3139
+ id: string;
3140
+ name: string;
3141
+ } | {
3142
+ kind: "community";
3143
+ nodeType: string;
3144
+ packageUrl: string;
3145
+ } | {
3146
+ kind: "custom";
3147
+ nodeType: string;
3148
+ filePath: string;
3149
+ })[] | undefined;
3150
+ settings?: Record<string, unknown> | undefined;
3151
+ nextVersions?: {
3152
+ name: string;
3153
+ nodes: unknown[];
3154
+ createdAt: string;
3155
+ description: string;
3156
+ documentationUrl: string;
3157
+ hasBreakingChange: boolean;
3158
+ hasSecurityFix: boolean | null;
3159
+ hasSecurityIssue: boolean | null;
3160
+ securityIssueFixVersion: string | null;
3161
+ }[] | undefined;
3162
+ }[];
3163
+ } | undefined;
3164
+ 'Database Risk Report'?: {
3165
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3166
+ sections: {
3167
+ title: string;
3168
+ description: string;
3169
+ recommendation: string;
3170
+ location?: ({
3171
+ kind: "node";
3172
+ workflowId: string;
3173
+ workflowName: string;
3174
+ nodeId: string;
3175
+ nodeName: string;
3176
+ nodeType: string;
3177
+ } | {
3178
+ kind: "credential";
3179
+ id: string;
3180
+ name: string;
3181
+ } | {
3182
+ kind: "community";
3183
+ nodeType: string;
3184
+ packageUrl: string;
3185
+ } | {
3186
+ kind: "custom";
3187
+ nodeType: string;
3188
+ filePath: string;
3189
+ })[] | undefined;
3190
+ settings?: Record<string, unknown> | undefined;
3191
+ nextVersions?: {
3192
+ name: string;
3193
+ nodes: unknown[];
3194
+ createdAt: string;
3195
+ description: string;
3196
+ documentationUrl: string;
3197
+ hasBreakingChange: boolean;
3198
+ hasSecurityFix: boolean | null;
3199
+ hasSecurityIssue: boolean | null;
3200
+ securityIssueFixVersion: string | null;
3201
+ }[] | undefined;
3202
+ }[];
3203
+ } | undefined;
3204
+ 'Filesystem Risk Report'?: {
3205
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3206
+ sections: {
3207
+ title: string;
3208
+ description: string;
3209
+ recommendation: string;
3210
+ location?: ({
3211
+ kind: "node";
3212
+ workflowId: string;
3213
+ workflowName: string;
3214
+ nodeId: string;
3215
+ nodeName: string;
3216
+ nodeType: string;
3217
+ } | {
3218
+ kind: "credential";
3219
+ id: string;
3220
+ name: string;
3221
+ } | {
3222
+ kind: "community";
3223
+ nodeType: string;
3224
+ packageUrl: string;
3225
+ } | {
3226
+ kind: "custom";
3227
+ nodeType: string;
3228
+ filePath: string;
3229
+ })[] | undefined;
3230
+ settings?: Record<string, unknown> | undefined;
3231
+ nextVersions?: {
3232
+ name: string;
3233
+ nodes: unknown[];
3234
+ createdAt: string;
3235
+ description: string;
3236
+ documentationUrl: string;
3237
+ hasBreakingChange: boolean;
3238
+ hasSecurityFix: boolean | null;
3239
+ hasSecurityIssue: boolean | null;
3240
+ securityIssueFixVersion: string | null;
3241
+ }[] | undefined;
3242
+ }[];
3243
+ } | undefined;
3244
+ 'Nodes Risk Report'?: {
3245
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3246
+ sections: {
3247
+ title: string;
3248
+ description: string;
3249
+ recommendation: string;
3250
+ location?: ({
3251
+ kind: "node";
3252
+ workflowId: string;
3253
+ workflowName: string;
3254
+ nodeId: string;
3255
+ nodeName: string;
3256
+ nodeType: string;
3257
+ } | {
3258
+ kind: "credential";
3259
+ id: string;
3260
+ name: string;
3261
+ } | {
3262
+ kind: "community";
3263
+ nodeType: string;
3264
+ packageUrl: string;
3265
+ } | {
3266
+ kind: "custom";
3267
+ nodeType: string;
3268
+ filePath: string;
3269
+ })[] | undefined;
3270
+ settings?: Record<string, unknown> | undefined;
3271
+ nextVersions?: {
3272
+ name: string;
3273
+ nodes: unknown[];
3274
+ createdAt: string;
3275
+ description: string;
3276
+ documentationUrl: string;
3277
+ hasBreakingChange: boolean;
3278
+ hasSecurityFix: boolean | null;
3279
+ hasSecurityIssue: boolean | null;
3280
+ securityIssueFixVersion: string | null;
3281
+ }[] | undefined;
3282
+ }[];
3283
+ } | undefined;
3284
+ 'Instance Risk Report'?: {
3285
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3286
+ sections: {
3287
+ title: string;
3288
+ description: string;
3289
+ recommendation: string;
3290
+ location?: ({
3291
+ kind: "node";
3292
+ workflowId: string;
3293
+ workflowName: string;
3294
+ nodeId: string;
3295
+ nodeName: string;
3296
+ nodeType: string;
3297
+ } | {
3298
+ kind: "credential";
3299
+ id: string;
3300
+ name: string;
3301
+ } | {
3302
+ kind: "community";
3303
+ nodeType: string;
3304
+ packageUrl: string;
3305
+ } | {
3306
+ kind: "custom";
3307
+ nodeType: string;
3308
+ filePath: string;
3309
+ })[] | undefined;
3310
+ settings?: Record<string, unknown> | undefined;
3311
+ nextVersions?: {
3312
+ name: string;
3313
+ nodes: unknown[];
3314
+ createdAt: string;
3315
+ description: string;
3316
+ documentationUrl: string;
3317
+ hasBreakingChange: boolean;
3318
+ hasSecurityFix: boolean | null;
3319
+ hasSecurityIssue: boolean | null;
3320
+ securityIssueFixVersion: string | null;
3321
+ }[] | undefined;
3322
+ }[];
3323
+ } | undefined;
3324
+ }>, z.ZodArray<z.ZodUnknown, "many">]>;
3325
+ static safeParse(data: unknown): z.SafeParseReturnType<unknown[] | {
3326
+ 'Credentials Risk Report'?: {
3327
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3328
+ sections: {
3329
+ title: string;
3330
+ description: string;
3331
+ recommendation: string;
3332
+ location?: ({
3333
+ kind: "node";
3334
+ workflowId: string;
3335
+ workflowName: string;
3336
+ nodeId: string;
3337
+ nodeName: string;
3338
+ nodeType: string;
3339
+ } | {
3340
+ kind: "credential";
3341
+ id: string;
3342
+ name: string;
3343
+ } | {
3344
+ kind: "community";
3345
+ nodeType: string;
3346
+ packageUrl: string;
3347
+ } | {
3348
+ kind: "custom";
3349
+ nodeType: string;
3350
+ filePath: string;
3351
+ })[] | undefined;
3352
+ settings?: Record<string, unknown> | undefined;
3353
+ nextVersions?: {
3354
+ name: string;
3355
+ nodes: unknown[];
3356
+ createdAt: string;
3357
+ description: string;
3358
+ documentationUrl: string;
3359
+ hasBreakingChange: boolean;
3360
+ hasSecurityFix: boolean | null;
3361
+ hasSecurityIssue: boolean | null;
3362
+ securityIssueFixVersion: string | null;
3363
+ }[] | undefined;
3364
+ }[];
3365
+ } | undefined;
3366
+ 'Database Risk Report'?: {
3367
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3368
+ sections: {
3369
+ title: string;
3370
+ description: string;
3371
+ recommendation: string;
3372
+ location?: ({
3373
+ kind: "node";
3374
+ workflowId: string;
3375
+ workflowName: string;
3376
+ nodeId: string;
3377
+ nodeName: string;
3378
+ nodeType: string;
3379
+ } | {
3380
+ kind: "credential";
3381
+ id: string;
3382
+ name: string;
3383
+ } | {
3384
+ kind: "community";
3385
+ nodeType: string;
3386
+ packageUrl: string;
3387
+ } | {
3388
+ kind: "custom";
3389
+ nodeType: string;
3390
+ filePath: string;
3391
+ })[] | undefined;
3392
+ settings?: Record<string, unknown> | undefined;
3393
+ nextVersions?: {
3394
+ name: string;
3395
+ nodes: unknown[];
3396
+ createdAt: string;
3397
+ description: string;
3398
+ documentationUrl: string;
3399
+ hasBreakingChange: boolean;
3400
+ hasSecurityFix: boolean | null;
3401
+ hasSecurityIssue: boolean | null;
3402
+ securityIssueFixVersion: string | null;
3403
+ }[] | undefined;
3404
+ }[];
3405
+ } | undefined;
3406
+ 'Filesystem Risk Report'?: {
3407
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3408
+ sections: {
3409
+ title: string;
3410
+ description: string;
3411
+ recommendation: string;
3412
+ location?: ({
3413
+ kind: "node";
3414
+ workflowId: string;
3415
+ workflowName: string;
3416
+ nodeId: string;
3417
+ nodeName: string;
3418
+ nodeType: string;
3419
+ } | {
3420
+ kind: "credential";
3421
+ id: string;
3422
+ name: string;
3423
+ } | {
3424
+ kind: "community";
3425
+ nodeType: string;
3426
+ packageUrl: string;
3427
+ } | {
3428
+ kind: "custom";
3429
+ nodeType: string;
3430
+ filePath: string;
3431
+ })[] | undefined;
3432
+ settings?: Record<string, unknown> | undefined;
3433
+ nextVersions?: {
3434
+ name: string;
3435
+ nodes: unknown[];
3436
+ createdAt: string;
3437
+ description: string;
3438
+ documentationUrl: string;
3439
+ hasBreakingChange: boolean;
3440
+ hasSecurityFix: boolean | null;
3441
+ hasSecurityIssue: boolean | null;
3442
+ securityIssueFixVersion: string | null;
3443
+ }[] | undefined;
3444
+ }[];
3445
+ } | undefined;
3446
+ 'Nodes Risk Report'?: {
3447
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3448
+ sections: {
3449
+ title: string;
3450
+ description: string;
3451
+ recommendation: string;
3452
+ location?: ({
3453
+ kind: "node";
3454
+ workflowId: string;
3455
+ workflowName: string;
3456
+ nodeId: string;
3457
+ nodeName: string;
3458
+ nodeType: string;
3459
+ } | {
3460
+ kind: "credential";
3461
+ id: string;
3462
+ name: string;
3463
+ } | {
3464
+ kind: "community";
3465
+ nodeType: string;
3466
+ packageUrl: string;
3467
+ } | {
3468
+ kind: "custom";
3469
+ nodeType: string;
3470
+ filePath: string;
3471
+ })[] | undefined;
3472
+ settings?: Record<string, unknown> | undefined;
3473
+ nextVersions?: {
3474
+ name: string;
3475
+ nodes: unknown[];
3476
+ createdAt: string;
3477
+ description: string;
3478
+ documentationUrl: string;
3479
+ hasBreakingChange: boolean;
3480
+ hasSecurityFix: boolean | null;
3481
+ hasSecurityIssue: boolean | null;
3482
+ securityIssueFixVersion: string | null;
3483
+ }[] | undefined;
3484
+ }[];
3485
+ } | undefined;
3486
+ 'Instance Risk Report'?: {
3487
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3488
+ sections: {
3489
+ title: string;
3490
+ description: string;
3491
+ recommendation: string;
3492
+ location?: ({
3493
+ kind: "node";
3494
+ workflowId: string;
3495
+ workflowName: string;
3496
+ nodeId: string;
3497
+ nodeName: string;
3498
+ nodeType: string;
3499
+ } | {
3500
+ kind: "credential";
3501
+ id: string;
3502
+ name: string;
3503
+ } | {
3504
+ kind: "community";
3505
+ nodeType: string;
3506
+ packageUrl: string;
3507
+ } | {
3508
+ kind: "custom";
3509
+ nodeType: string;
3510
+ filePath: string;
3511
+ })[] | undefined;
3512
+ settings?: Record<string, unknown> | undefined;
3513
+ nextVersions?: {
3514
+ name: string;
3515
+ nodes: unknown[];
3516
+ createdAt: string;
3517
+ description: string;
3518
+ documentationUrl: string;
3519
+ hasBreakingChange: boolean;
3520
+ hasSecurityFix: boolean | null;
3521
+ hasSecurityIssue: boolean | null;
3522
+ securityIssueFixVersion: string | null;
3523
+ }[] | undefined;
3524
+ }[];
3525
+ } | undefined;
3526
+ }, unknown[] | {
3527
+ 'Credentials Risk Report'?: {
3528
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3529
+ sections: {
3530
+ title: string;
3531
+ description: string;
3532
+ recommendation: string;
3533
+ location?: ({
3534
+ kind: "node";
3535
+ workflowId: string;
3536
+ workflowName: string;
3537
+ nodeId: string;
3538
+ nodeName: string;
3539
+ nodeType: string;
3540
+ } | {
3541
+ kind: "credential";
3542
+ id: string;
3543
+ name: string;
3544
+ } | {
3545
+ kind: "community";
3546
+ nodeType: string;
3547
+ packageUrl: string;
3548
+ } | {
3549
+ kind: "custom";
3550
+ nodeType: string;
3551
+ filePath: string;
3552
+ })[] | undefined;
3553
+ settings?: Record<string, unknown> | undefined;
3554
+ nextVersions?: {
3555
+ name: string;
3556
+ nodes: unknown[];
3557
+ createdAt: string;
3558
+ description: string;
3559
+ documentationUrl: string;
3560
+ hasBreakingChange: boolean;
3561
+ hasSecurityFix: boolean | null;
3562
+ hasSecurityIssue: boolean | null;
3563
+ securityIssueFixVersion: string | null;
3564
+ }[] | undefined;
3565
+ }[];
3566
+ } | undefined;
3567
+ 'Database Risk Report'?: {
3568
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3569
+ sections: {
3570
+ title: string;
3571
+ description: string;
3572
+ recommendation: string;
3573
+ location?: ({
3574
+ kind: "node";
3575
+ workflowId: string;
3576
+ workflowName: string;
3577
+ nodeId: string;
3578
+ nodeName: string;
3579
+ nodeType: string;
3580
+ } | {
3581
+ kind: "credential";
3582
+ id: string;
3583
+ name: string;
3584
+ } | {
3585
+ kind: "community";
3586
+ nodeType: string;
3587
+ packageUrl: string;
3588
+ } | {
3589
+ kind: "custom";
3590
+ nodeType: string;
3591
+ filePath: string;
3592
+ })[] | undefined;
3593
+ settings?: Record<string, unknown> | undefined;
3594
+ nextVersions?: {
3595
+ name: string;
3596
+ nodes: unknown[];
3597
+ createdAt: string;
3598
+ description: string;
3599
+ documentationUrl: string;
3600
+ hasBreakingChange: boolean;
3601
+ hasSecurityFix: boolean | null;
3602
+ hasSecurityIssue: boolean | null;
3603
+ securityIssueFixVersion: string | null;
3604
+ }[] | undefined;
3605
+ }[];
3606
+ } | undefined;
3607
+ 'Filesystem Risk Report'?: {
3608
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3609
+ sections: {
3610
+ title: string;
3611
+ description: string;
3612
+ recommendation: string;
3613
+ location?: ({
3614
+ kind: "node";
3615
+ workflowId: string;
3616
+ workflowName: string;
3617
+ nodeId: string;
3618
+ nodeName: string;
3619
+ nodeType: string;
3620
+ } | {
3621
+ kind: "credential";
3622
+ id: string;
3623
+ name: string;
3624
+ } | {
3625
+ kind: "community";
3626
+ nodeType: string;
3627
+ packageUrl: string;
3628
+ } | {
3629
+ kind: "custom";
3630
+ nodeType: string;
3631
+ filePath: string;
3632
+ })[] | undefined;
3633
+ settings?: Record<string, unknown> | undefined;
3634
+ nextVersions?: {
3635
+ name: string;
3636
+ nodes: unknown[];
3637
+ createdAt: string;
3638
+ description: string;
3639
+ documentationUrl: string;
3640
+ hasBreakingChange: boolean;
3641
+ hasSecurityFix: boolean | null;
3642
+ hasSecurityIssue: boolean | null;
3643
+ securityIssueFixVersion: string | null;
3644
+ }[] | undefined;
3645
+ }[];
3646
+ } | undefined;
3647
+ 'Nodes Risk Report'?: {
3648
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3649
+ sections: {
3650
+ title: string;
3651
+ description: string;
3652
+ recommendation: string;
3653
+ location?: ({
3654
+ kind: "node";
3655
+ workflowId: string;
3656
+ workflowName: string;
3657
+ nodeId: string;
3658
+ nodeName: string;
3659
+ nodeType: string;
3660
+ } | {
3661
+ kind: "credential";
3662
+ id: string;
3663
+ name: string;
3664
+ } | {
3665
+ kind: "community";
3666
+ nodeType: string;
3667
+ packageUrl: string;
3668
+ } | {
3669
+ kind: "custom";
3670
+ nodeType: string;
3671
+ filePath: string;
3672
+ })[] | undefined;
3673
+ settings?: Record<string, unknown> | undefined;
3674
+ nextVersions?: {
3675
+ name: string;
3676
+ nodes: unknown[];
3677
+ createdAt: string;
3678
+ description: string;
3679
+ documentationUrl: string;
3680
+ hasBreakingChange: boolean;
3681
+ hasSecurityFix: boolean | null;
3682
+ hasSecurityIssue: boolean | null;
3683
+ securityIssueFixVersion: string | null;
3684
+ }[] | undefined;
3685
+ }[];
3686
+ } | undefined;
3687
+ 'Instance Risk Report'?: {
3688
+ risk: "credentials" | "database" | "filesystem" | "instance" | "nodes";
3689
+ sections: {
3690
+ title: string;
3691
+ description: string;
3692
+ recommendation: string;
3693
+ location?: ({
3694
+ kind: "node";
3695
+ workflowId: string;
3696
+ workflowName: string;
3697
+ nodeId: string;
3698
+ nodeName: string;
3699
+ nodeType: string;
3700
+ } | {
3701
+ kind: "credential";
3702
+ id: string;
3703
+ name: string;
3704
+ } | {
3705
+ kind: "community";
3706
+ nodeType: string;
3707
+ packageUrl: string;
3708
+ } | {
3709
+ kind: "custom";
3710
+ nodeType: string;
3711
+ filePath: string;
3712
+ })[] | undefined;
3713
+ settings?: Record<string, unknown> | undefined;
3714
+ nextVersions?: {
3715
+ name: string;
3716
+ nodes: unknown[];
3717
+ createdAt: string;
3718
+ description: string;
3719
+ documentationUrl: string;
3720
+ hasBreakingChange: boolean;
3721
+ hasSecurityFix: boolean | null;
3722
+ hasSecurityIssue: boolean | null;
3723
+ securityIssueFixVersion: string | null;
3724
+ }[] | undefined;
3725
+ }[];
3726
+ } | undefined;
3727
+ }>;
3728
+ static parse(data: unknown): AuditPublic;
3729
+ }
3730
+ export {};