@n8n/api-types 1.34.1 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/agents/agent-integration.schema.d.ts +18 -0
  2. package/dist/agents/agent-integration.schema.js +2 -0
  3. package/dist/agents/agent-integration.schema.js.map +1 -1
  4. package/dist/agents/agent-interaction.schema.d.ts +151 -0
  5. package/dist/agents/agent-json-config.schema.d.ts +308 -12
  6. package/dist/agents/agent-json-config.schema.js +6 -5
  7. package/dist/agents/agent-json-config.schema.js.map +1 -1
  8. package/dist/agents/dto.d.ts +0 -7
  9. package/dist/agents/dto.js +1 -6
  10. package/dist/agents/dto.js.map +1 -1
  11. package/dist/agents/index.d.ts +1 -0
  12. package/dist/agents/index.js +1 -0
  13. package/dist/agents/index.js.map +1 -1
  14. package/dist/agents/inline-agent-config.schema.d.ts +273 -10
  15. package/dist/agents/sanitize-agent-json-config.js +7 -0
  16. package/dist/agents/sanitize-agent-json-config.js.map +1 -1
  17. package/dist/agents/slack/dto.d.ts +9 -0
  18. package/dist/agents/slack/dto.js +11 -0
  19. package/dist/agents/slack/dto.js.map +1 -0
  20. package/dist/agents/slack/index.d.ts +2 -0
  21. package/dist/agents/slack/index.js +18 -0
  22. package/dist/agents/slack/index.js.map +1 -0
  23. package/dist/agents/slack/types.d.ts +42 -0
  24. package/dist/agents/slack/types.js +3 -0
  25. package/dist/agents/slack/types.js.map +1 -0
  26. package/dist/agents/types.d.ts +1 -43
  27. package/dist/agents/types.js.map +1 -1
  28. package/dist/build.tsbuildinfo +1 -1
  29. package/dist/dto/index.d.ts +4 -0
  30. package/dist/dto/index.js +15 -3
  31. package/dist/dto/index.js.map +1 -1
  32. package/dist/dto/insights/date-filter.dto.d.ts +2 -0
  33. package/dist/dto/insights/date-filter.dto.js +2 -0
  34. package/dist/dto/insights/date-filter.dto.js.map +1 -1
  35. package/dist/dto/insights/list-workflow-query.dto.d.ts +2 -0
  36. package/dist/dto/insights/list-workflow-query.dto.js +2 -0
  37. package/dist/dto/insights/list-workflow-query.dto.js.map +1 -1
  38. package/dist/dto/packages/import-package-request.dto.d.ts +7 -3
  39. package/dist/dto/packages/import-package-request.dto.js +5 -1
  40. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  41. package/dist/dto/pagination/pagination.dto.d.ts +1 -1
  42. package/dist/dto/pagination/pagination.dto.js +2 -2
  43. package/dist/dto/pagination/pagination.dto.js.map +1 -1
  44. package/dist/dto/roles/role-public.dto.d.ts +23 -0
  45. package/dist/dto/roles/role-public.dto.js +18 -0
  46. package/dist/dto/roles/role-public.dto.js.map +1 -0
  47. package/dist/dto/tag/tag-public.dto.d.ts +18 -18
  48. package/dist/dto/tag/tag-public.dto.js +4 -4
  49. package/dist/dto/tag/tag-public.dto.js.map +1 -1
  50. package/dist/dto/workflow-history/workflow-history-list-item.dto.js +2 -2
  51. package/dist/dto/workflow-history/workflow-history-list-item.dto.js.map +1 -1
  52. package/dist/dto/workflow-history/workflow-version-history-public.dto.d.ts +20 -20
  53. package/dist/dto/workflow-history/workflow-version-history-public.dto.js +5 -2
  54. package/dist/dto/workflow-history/workflow-version-history-public.dto.js.map +1 -1
  55. package/dist/dto/workflow-reviews/create-workflow-review-request.dto.d.ts +8 -0
  56. package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js +3 -0
  57. package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js.map +1 -1
  58. package/dist/dto/workflow-reviews/get-workflow-review-request-detail.dto.d.ts +4 -0
  59. package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.d.ts +4 -0
  60. package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.js +3 -0
  61. package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.js.map +1 -1
  62. package/dist/dto/workflows/get-workflow-query.dto.d.ts +8 -0
  63. package/dist/dto/workflows/get-workflow-query.dto.js +11 -0
  64. package/dist/dto/workflows/get-workflow-query.dto.js.map +1 -0
  65. package/dist/dto/workflows/workflow-public.dto.d.ts +859 -0
  66. package/dist/dto/workflows/workflow-public.dto.js +93 -0
  67. package/dist/dto/workflows/workflow-public.dto.js.map +1 -0
  68. package/dist/frontend-settings.d.ts +1 -0
  69. package/dist/index.d.ts +5 -5
  70. package/dist/index.js +18 -3
  71. package/dist/index.js.map +1 -1
  72. package/dist/push/agents.d.ts +10 -0
  73. package/dist/push/agents.js +3 -0
  74. package/dist/push/agents.js.map +1 -0
  75. package/dist/push/index.d.ts +2 -1
  76. package/dist/schemas/agent-evals.schema.d.ts +25 -10
  77. package/dist/schemas/agent-evals.schema.js +9 -1
  78. package/dist/schemas/agent-evals.schema.js.map +1 -1
  79. package/dist/schemas/agent-run-reducer.js +1 -0
  80. package/dist/schemas/agent-run-reducer.js.map +1 -1
  81. package/dist/schemas/dependency-counts.schema.d.ts +1 -0
  82. package/dist/schemas/dependency.schema.d.ts +1 -1
  83. package/dist/schemas/instance-ai.schema.d.ts +7878 -53
  84. package/dist/schemas/instance-ai.schema.js +152 -3
  85. package/dist/schemas/instance-ai.schema.js.map +1 -1
  86. package/dist/schemas/mcp.schema.d.ts +2 -2
  87. package/dist/schemas/mcp.schema.js +1 -1
  88. package/dist/schemas/mcp.schema.js.map +1 -1
  89. package/dist/schemas/workflow-version.schema.d.ts +1 -0
  90. package/dist/schemas/workflow-version.schema.js +10 -4
  91. package/dist/schemas/workflow-version.schema.js.map +1 -1
  92. package/package.json +7 -7
@@ -0,0 +1,859 @@
1
+ import type { IConnections, INode, IWorkflowGroup } from 'n8n-workflow';
2
+ import { z } from 'zod';
3
+ export declare const sharedWorkflowPublicSchema: z.ZodObject<{
4
+ role: z.ZodString;
5
+ workflowId: z.ZodString;
6
+ projectId: z.ZodString;
7
+ project: z.ZodObject<{
8
+ id: z.ZodString;
9
+ name: z.ZodString;
10
+ type: z.ZodEnum<["personal", "team"]>;
11
+ icon: z.ZodNullable<z.ZodObject<{
12
+ type: z.ZodEnum<["emoji", "icon"]>;
13
+ value: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ type: "emoji" | "icon";
16
+ value: string;
17
+ }, {
18
+ type: "emoji" | "icon";
19
+ value: string;
20
+ }>>;
21
+ description: z.ZodNullable<z.ZodString>;
22
+ customTelemetryTags: z.ZodArray<z.ZodObject<{
23
+ key: z.ZodString;
24
+ value: z.ZodString;
25
+ }, "strip", z.ZodTypeAny, {
26
+ key: string;
27
+ value: string;
28
+ }, {
29
+ key: string;
30
+ value: string;
31
+ }>, "many">;
32
+ creatorId: z.ZodNullable<z.ZodString>;
33
+ createdAt: z.ZodString;
34
+ updatedAt: z.ZodString;
35
+ }, "strip", z.ZodTypeAny, {
36
+ id: string;
37
+ name: string;
38
+ type: "personal" | "team";
39
+ icon: {
40
+ type: "emoji" | "icon";
41
+ value: string;
42
+ } | null;
43
+ description: string | null;
44
+ customTelemetryTags: {
45
+ key: string;
46
+ value: string;
47
+ }[];
48
+ creatorId: string | null;
49
+ createdAt: string;
50
+ updatedAt: string;
51
+ }, {
52
+ id: string;
53
+ name: string;
54
+ type: "personal" | "team";
55
+ icon: {
56
+ type: "emoji" | "icon";
57
+ value: string;
58
+ } | null;
59
+ description: string | null;
60
+ customTelemetryTags: {
61
+ key: string;
62
+ value: string;
63
+ }[];
64
+ creatorId: string | null;
65
+ createdAt: string;
66
+ updatedAt: string;
67
+ }>;
68
+ createdAt: z.ZodString;
69
+ updatedAt: z.ZodString;
70
+ }, "strip", z.ZodTypeAny, {
71
+ role: string;
72
+ workflowId: string;
73
+ projectId: string;
74
+ project: {
75
+ id: string;
76
+ name: string;
77
+ type: "personal" | "team";
78
+ icon: {
79
+ type: "emoji" | "icon";
80
+ value: string;
81
+ } | null;
82
+ description: string | null;
83
+ customTelemetryTags: {
84
+ key: string;
85
+ value: string;
86
+ }[];
87
+ creatorId: string | null;
88
+ createdAt: string;
89
+ updatedAt: string;
90
+ };
91
+ createdAt: string;
92
+ updatedAt: string;
93
+ }, {
94
+ role: string;
95
+ workflowId: string;
96
+ projectId: string;
97
+ project: {
98
+ id: string;
99
+ name: string;
100
+ type: "personal" | "team";
101
+ icon: {
102
+ type: "emoji" | "icon";
103
+ value: string;
104
+ } | null;
105
+ description: string | null;
106
+ customTelemetryTags: {
107
+ key: string;
108
+ value: string;
109
+ }[];
110
+ creatorId: string | null;
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ };
114
+ createdAt: string;
115
+ updatedAt: string;
116
+ }>;
117
+ export declare const activeWorkflowVersionPublicSchema: z.ZodObject<{
118
+ versionId: z.ZodString;
119
+ workflowId: z.ZodString;
120
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
121
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
122
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
123
+ authors: z.ZodString;
124
+ name: z.ZodNullable<z.ZodString>;
125
+ description: z.ZodNullable<z.ZodString>;
126
+ autosaved: z.ZodBoolean;
127
+ createdAt: z.ZodString;
128
+ updatedAt: z.ZodString;
129
+ workflowPublishHistory: z.ZodArray<z.ZodObject<{
130
+ id: z.ZodNumber;
131
+ workflowId: z.ZodString;
132
+ versionId: z.ZodNullable<z.ZodString>;
133
+ event: z.ZodEnum<["activated", "deactivated"]>;
134
+ userId: z.ZodNullable<z.ZodString>;
135
+ createdAt: z.ZodString;
136
+ }, "strip", z.ZodTypeAny, {
137
+ id: number;
138
+ workflowId: string;
139
+ versionId: string | null;
140
+ event: "activated" | "deactivated";
141
+ userId: string | null;
142
+ createdAt: string;
143
+ }, {
144
+ id: number;
145
+ workflowId: string;
146
+ versionId: string | null;
147
+ event: "activated" | "deactivated";
148
+ userId: string | null;
149
+ createdAt: string;
150
+ }>, "many">;
151
+ }, "strip", z.ZodTypeAny, {
152
+ versionId: string;
153
+ workflowId: string;
154
+ nodes: INode[];
155
+ connections: IConnections;
156
+ nodeGroups: IWorkflowGroup[];
157
+ authors: string;
158
+ name: string | null;
159
+ description: string | null;
160
+ autosaved: boolean;
161
+ createdAt: string;
162
+ updatedAt: string;
163
+ workflowPublishHistory: {
164
+ id: number;
165
+ workflowId: string;
166
+ versionId: string | null;
167
+ event: "activated" | "deactivated";
168
+ userId: string | null;
169
+ createdAt: string;
170
+ }[];
171
+ }, {
172
+ versionId: string;
173
+ workflowId: string;
174
+ nodes: INode[];
175
+ connections: IConnections;
176
+ nodeGroups: IWorkflowGroup[];
177
+ authors: string;
178
+ name: string | null;
179
+ description: string | null;
180
+ autosaved: boolean;
181
+ createdAt: string;
182
+ updatedAt: string;
183
+ workflowPublishHistory: {
184
+ id: number;
185
+ workflowId: string;
186
+ versionId: string | null;
187
+ event: "activated" | "deactivated";
188
+ userId: string | null;
189
+ createdAt: string;
190
+ }[];
191
+ }>;
192
+ export declare const workflowPublicSchema: z.ZodObject<{
193
+ id: z.ZodString;
194
+ name: z.ZodString;
195
+ description: z.ZodNullable<z.ZodString>;
196
+ active: z.ZodBoolean;
197
+ activeVersionId: z.ZodNullable<z.ZodString>;
198
+ createdAt: z.ZodString;
199
+ updatedAt: z.ZodString;
200
+ isArchived: z.ZodBoolean;
201
+ versionId: z.ZodString;
202
+ versionCounter: z.ZodNumber;
203
+ sourceWorkflowId: z.ZodNullable<z.ZodString>;
204
+ triggerCount: z.ZodNumber;
205
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
206
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
207
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
208
+ settings: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
209
+ staticData: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
210
+ pinData: z.ZodOptional<z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>>;
211
+ meta: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
212
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
213
+ id: z.ZodString;
214
+ name: z.ZodString;
215
+ createdAt: z.ZodString;
216
+ updatedAt: z.ZodString;
217
+ }, "strip", z.ZodTypeAny, {
218
+ id: string;
219
+ name: string;
220
+ createdAt: string;
221
+ updatedAt: string;
222
+ }, {
223
+ id: string;
224
+ name: string;
225
+ createdAt: string;
226
+ updatedAt: string;
227
+ }>, "many">>;
228
+ shared: z.ZodArray<z.ZodObject<{
229
+ role: z.ZodString;
230
+ workflowId: z.ZodString;
231
+ projectId: z.ZodString;
232
+ project: z.ZodObject<{
233
+ id: z.ZodString;
234
+ name: z.ZodString;
235
+ type: z.ZodEnum<["personal", "team"]>;
236
+ icon: z.ZodNullable<z.ZodObject<{
237
+ type: z.ZodEnum<["emoji", "icon"]>;
238
+ value: z.ZodString;
239
+ }, "strip", z.ZodTypeAny, {
240
+ type: "emoji" | "icon";
241
+ value: string;
242
+ }, {
243
+ type: "emoji" | "icon";
244
+ value: string;
245
+ }>>;
246
+ description: z.ZodNullable<z.ZodString>;
247
+ customTelemetryTags: z.ZodArray<z.ZodObject<{
248
+ key: z.ZodString;
249
+ value: z.ZodString;
250
+ }, "strip", z.ZodTypeAny, {
251
+ key: string;
252
+ value: string;
253
+ }, {
254
+ key: string;
255
+ value: string;
256
+ }>, "many">;
257
+ creatorId: z.ZodNullable<z.ZodString>;
258
+ createdAt: z.ZodString;
259
+ updatedAt: z.ZodString;
260
+ }, "strip", z.ZodTypeAny, {
261
+ id: string;
262
+ name: string;
263
+ type: "personal" | "team";
264
+ icon: {
265
+ type: "emoji" | "icon";
266
+ value: string;
267
+ } | null;
268
+ description: string | null;
269
+ customTelemetryTags: {
270
+ key: string;
271
+ value: string;
272
+ }[];
273
+ creatorId: string | null;
274
+ createdAt: string;
275
+ updatedAt: string;
276
+ }, {
277
+ id: string;
278
+ name: string;
279
+ type: "personal" | "team";
280
+ icon: {
281
+ type: "emoji" | "icon";
282
+ value: string;
283
+ } | null;
284
+ description: string | null;
285
+ customTelemetryTags: {
286
+ key: string;
287
+ value: string;
288
+ }[];
289
+ creatorId: string | null;
290
+ createdAt: string;
291
+ updatedAt: string;
292
+ }>;
293
+ createdAt: z.ZodString;
294
+ updatedAt: z.ZodString;
295
+ }, "strip", z.ZodTypeAny, {
296
+ role: string;
297
+ workflowId: string;
298
+ projectId: string;
299
+ project: {
300
+ id: string;
301
+ name: string;
302
+ type: "personal" | "team";
303
+ icon: {
304
+ type: "emoji" | "icon";
305
+ value: string;
306
+ } | null;
307
+ description: string | null;
308
+ customTelemetryTags: {
309
+ key: string;
310
+ value: string;
311
+ }[];
312
+ creatorId: string | null;
313
+ createdAt: string;
314
+ updatedAt: string;
315
+ };
316
+ createdAt: string;
317
+ updatedAt: string;
318
+ }, {
319
+ role: string;
320
+ workflowId: string;
321
+ projectId: string;
322
+ project: {
323
+ id: string;
324
+ name: string;
325
+ type: "personal" | "team";
326
+ icon: {
327
+ type: "emoji" | "icon";
328
+ value: string;
329
+ } | null;
330
+ description: string | null;
331
+ customTelemetryTags: {
332
+ key: string;
333
+ value: string;
334
+ }[];
335
+ creatorId: string | null;
336
+ createdAt: string;
337
+ updatedAt: string;
338
+ };
339
+ createdAt: string;
340
+ updatedAt: string;
341
+ }>, "many">;
342
+ activeVersion: z.ZodNullable<z.ZodObject<{
343
+ versionId: z.ZodString;
344
+ workflowId: z.ZodString;
345
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
346
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
347
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
348
+ authors: z.ZodString;
349
+ name: z.ZodNullable<z.ZodString>;
350
+ description: z.ZodNullable<z.ZodString>;
351
+ autosaved: z.ZodBoolean;
352
+ createdAt: z.ZodString;
353
+ updatedAt: z.ZodString;
354
+ workflowPublishHistory: z.ZodArray<z.ZodObject<{
355
+ id: z.ZodNumber;
356
+ workflowId: z.ZodString;
357
+ versionId: z.ZodNullable<z.ZodString>;
358
+ event: z.ZodEnum<["activated", "deactivated"]>;
359
+ userId: z.ZodNullable<z.ZodString>;
360
+ createdAt: z.ZodString;
361
+ }, "strip", z.ZodTypeAny, {
362
+ id: number;
363
+ workflowId: string;
364
+ versionId: string | null;
365
+ event: "activated" | "deactivated";
366
+ userId: string | null;
367
+ createdAt: string;
368
+ }, {
369
+ id: number;
370
+ workflowId: string;
371
+ versionId: string | null;
372
+ event: "activated" | "deactivated";
373
+ userId: string | null;
374
+ createdAt: string;
375
+ }>, "many">;
376
+ }, "strip", z.ZodTypeAny, {
377
+ versionId: string;
378
+ workflowId: string;
379
+ nodes: INode[];
380
+ connections: IConnections;
381
+ nodeGroups: IWorkflowGroup[];
382
+ authors: string;
383
+ name: string | null;
384
+ description: string | null;
385
+ autosaved: boolean;
386
+ createdAt: string;
387
+ updatedAt: string;
388
+ workflowPublishHistory: {
389
+ id: number;
390
+ workflowId: string;
391
+ versionId: string | null;
392
+ event: "activated" | "deactivated";
393
+ userId: string | null;
394
+ createdAt: string;
395
+ }[];
396
+ }, {
397
+ versionId: string;
398
+ workflowId: string;
399
+ nodes: INode[];
400
+ connections: IConnections;
401
+ nodeGroups: IWorkflowGroup[];
402
+ authors: string;
403
+ name: string | null;
404
+ description: string | null;
405
+ autosaved: boolean;
406
+ createdAt: string;
407
+ updatedAt: string;
408
+ workflowPublishHistory: {
409
+ id: number;
410
+ workflowId: string;
411
+ versionId: string | null;
412
+ event: "activated" | "deactivated";
413
+ userId: string | null;
414
+ createdAt: string;
415
+ }[];
416
+ }>>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ id: string;
419
+ name: string;
420
+ description: string | null;
421
+ active: boolean;
422
+ activeVersionId: string | null;
423
+ createdAt: string;
424
+ updatedAt: string;
425
+ isArchived: boolean;
426
+ versionId: string;
427
+ versionCounter: number;
428
+ sourceWorkflowId: string | null;
429
+ triggerCount: number;
430
+ nodes: INode[];
431
+ connections: IConnections;
432
+ nodeGroups: IWorkflowGroup[];
433
+ settings: Record<string, unknown> | null;
434
+ staticData: Record<string, unknown> | null;
435
+ pinData?: Record<string, unknown> | null | undefined;
436
+ meta: Record<string, unknown> | null;
437
+ tags?: {
438
+ id: string;
439
+ name: string;
440
+ createdAt: string;
441
+ updatedAt: string;
442
+ }[] | undefined;
443
+ shared: {
444
+ role: string;
445
+ workflowId: string;
446
+ projectId: string;
447
+ project: {
448
+ id: string;
449
+ name: string;
450
+ type: "personal" | "team";
451
+ icon: {
452
+ type: "emoji" | "icon";
453
+ value: string;
454
+ } | null;
455
+ description: string | null;
456
+ customTelemetryTags: {
457
+ key: string;
458
+ value: string;
459
+ }[];
460
+ creatorId: string | null;
461
+ createdAt: string;
462
+ updatedAt: string;
463
+ };
464
+ createdAt: string;
465
+ updatedAt: string;
466
+ }[];
467
+ activeVersion: {
468
+ versionId: string;
469
+ workflowId: string;
470
+ nodes: INode[];
471
+ connections: IConnections;
472
+ nodeGroups: IWorkflowGroup[];
473
+ authors: string;
474
+ name: string | null;
475
+ description: string | null;
476
+ autosaved: boolean;
477
+ createdAt: string;
478
+ updatedAt: string;
479
+ workflowPublishHistory: {
480
+ id: number;
481
+ workflowId: string;
482
+ versionId: string | null;
483
+ event: "activated" | "deactivated";
484
+ userId: string | null;
485
+ createdAt: string;
486
+ }[];
487
+ } | null;
488
+ }, {
489
+ id: string;
490
+ name: string;
491
+ description: string | null;
492
+ active: boolean;
493
+ activeVersionId: string | null;
494
+ createdAt: string;
495
+ updatedAt: string;
496
+ isArchived: boolean;
497
+ versionId: string;
498
+ versionCounter: number;
499
+ sourceWorkflowId: string | null;
500
+ triggerCount: number;
501
+ nodes: INode[];
502
+ connections: IConnections;
503
+ nodeGroups: IWorkflowGroup[];
504
+ settings: Record<string, unknown> | null;
505
+ staticData: Record<string, unknown> | null;
506
+ pinData?: Record<string, unknown> | null | undefined;
507
+ meta: Record<string, unknown> | null;
508
+ tags?: {
509
+ id: string;
510
+ name: string;
511
+ createdAt: string;
512
+ updatedAt: string;
513
+ }[] | undefined;
514
+ shared: {
515
+ role: string;
516
+ workflowId: string;
517
+ projectId: string;
518
+ project: {
519
+ id: string;
520
+ name: string;
521
+ type: "personal" | "team";
522
+ icon: {
523
+ type: "emoji" | "icon";
524
+ value: string;
525
+ } | null;
526
+ description: string | null;
527
+ customTelemetryTags: {
528
+ key: string;
529
+ value: string;
530
+ }[];
531
+ creatorId: string | null;
532
+ createdAt: string;
533
+ updatedAt: string;
534
+ };
535
+ createdAt: string;
536
+ updatedAt: string;
537
+ }[];
538
+ activeVersion: {
539
+ versionId: string;
540
+ workflowId: string;
541
+ nodes: INode[];
542
+ connections: IConnections;
543
+ nodeGroups: IWorkflowGroup[];
544
+ authors: string;
545
+ name: string | null;
546
+ description: string | null;
547
+ autosaved: boolean;
548
+ createdAt: string;
549
+ updatedAt: string;
550
+ workflowPublishHistory: {
551
+ id: number;
552
+ workflowId: string;
553
+ versionId: string | null;
554
+ event: "activated" | "deactivated";
555
+ userId: string | null;
556
+ createdAt: string;
557
+ }[];
558
+ } | null;
559
+ }>;
560
+ declare const WorkflowPublicDto_base: import("../../zod-class").ZodClass<{
561
+ id: string;
562
+ name: string;
563
+ description: string | null;
564
+ active: boolean;
565
+ activeVersionId: string | null;
566
+ createdAt: string;
567
+ updatedAt: string;
568
+ isArchived: boolean;
569
+ versionId: string;
570
+ versionCounter: number;
571
+ sourceWorkflowId: string | null;
572
+ triggerCount: number;
573
+ nodes: INode[];
574
+ connections: IConnections;
575
+ nodeGroups: IWorkflowGroup[];
576
+ settings: Record<string, unknown> | null;
577
+ staticData: Record<string, unknown> | null;
578
+ pinData?: Record<string, unknown> | null | undefined;
579
+ meta: Record<string, unknown> | null;
580
+ tags?: {
581
+ id: string;
582
+ name: string;
583
+ createdAt: string;
584
+ updatedAt: string;
585
+ }[] | undefined;
586
+ shared: {
587
+ role: string;
588
+ workflowId: string;
589
+ projectId: string;
590
+ project: {
591
+ id: string;
592
+ name: string;
593
+ type: "personal" | "team";
594
+ icon: {
595
+ type: "emoji" | "icon";
596
+ value: string;
597
+ } | null;
598
+ description: string | null;
599
+ customTelemetryTags: {
600
+ key: string;
601
+ value: string;
602
+ }[];
603
+ creatorId: string | null;
604
+ createdAt: string;
605
+ updatedAt: string;
606
+ };
607
+ createdAt: string;
608
+ updatedAt: string;
609
+ }[];
610
+ activeVersion: {
611
+ versionId: string;
612
+ workflowId: string;
613
+ nodes: INode[];
614
+ connections: IConnections;
615
+ nodeGroups: IWorkflowGroup[];
616
+ authors: string;
617
+ name: string | null;
618
+ description: string | null;
619
+ autosaved: boolean;
620
+ createdAt: string;
621
+ updatedAt: string;
622
+ workflowPublishHistory: {
623
+ id: number;
624
+ workflowId: string;
625
+ versionId: string | null;
626
+ event: "activated" | "deactivated";
627
+ userId: string | null;
628
+ createdAt: string;
629
+ }[];
630
+ } | null;
631
+ }, {
632
+ id: z.ZodString;
633
+ name: z.ZodString;
634
+ description: z.ZodNullable<z.ZodString>;
635
+ active: z.ZodBoolean;
636
+ activeVersionId: z.ZodNullable<z.ZodString>;
637
+ createdAt: z.ZodString;
638
+ updatedAt: z.ZodString;
639
+ isArchived: z.ZodBoolean;
640
+ versionId: z.ZodString;
641
+ versionCounter: z.ZodNumber;
642
+ sourceWorkflowId: z.ZodNullable<z.ZodString>;
643
+ triggerCount: z.ZodNumber;
644
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
645
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
646
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
647
+ settings: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
648
+ staticData: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
649
+ pinData: z.ZodOptional<z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>>;
650
+ meta: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
651
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
652
+ id: z.ZodString;
653
+ name: z.ZodString;
654
+ createdAt: z.ZodString;
655
+ updatedAt: z.ZodString;
656
+ }, "strip", z.ZodTypeAny, {
657
+ id: string;
658
+ name: string;
659
+ createdAt: string;
660
+ updatedAt: string;
661
+ }, {
662
+ id: string;
663
+ name: string;
664
+ createdAt: string;
665
+ updatedAt: string;
666
+ }>, "many">>;
667
+ shared: z.ZodArray<z.ZodObject<{
668
+ role: z.ZodString;
669
+ workflowId: z.ZodString;
670
+ projectId: z.ZodString;
671
+ project: z.ZodObject<{
672
+ id: z.ZodString;
673
+ name: z.ZodString;
674
+ type: z.ZodEnum<["personal", "team"]>;
675
+ icon: z.ZodNullable<z.ZodObject<{
676
+ type: z.ZodEnum<["emoji", "icon"]>;
677
+ value: z.ZodString;
678
+ }, "strip", z.ZodTypeAny, {
679
+ type: "emoji" | "icon";
680
+ value: string;
681
+ }, {
682
+ type: "emoji" | "icon";
683
+ value: string;
684
+ }>>;
685
+ description: z.ZodNullable<z.ZodString>;
686
+ customTelemetryTags: z.ZodArray<z.ZodObject<{
687
+ key: z.ZodString;
688
+ value: z.ZodString;
689
+ }, "strip", z.ZodTypeAny, {
690
+ key: string;
691
+ value: string;
692
+ }, {
693
+ key: string;
694
+ value: string;
695
+ }>, "many">;
696
+ creatorId: z.ZodNullable<z.ZodString>;
697
+ createdAt: z.ZodString;
698
+ updatedAt: z.ZodString;
699
+ }, "strip", z.ZodTypeAny, {
700
+ id: string;
701
+ name: string;
702
+ type: "personal" | "team";
703
+ icon: {
704
+ type: "emoji" | "icon";
705
+ value: string;
706
+ } | null;
707
+ description: string | null;
708
+ customTelemetryTags: {
709
+ key: string;
710
+ value: string;
711
+ }[];
712
+ creatorId: string | null;
713
+ createdAt: string;
714
+ updatedAt: string;
715
+ }, {
716
+ id: string;
717
+ name: string;
718
+ type: "personal" | "team";
719
+ icon: {
720
+ type: "emoji" | "icon";
721
+ value: string;
722
+ } | null;
723
+ description: string | null;
724
+ customTelemetryTags: {
725
+ key: string;
726
+ value: string;
727
+ }[];
728
+ creatorId: string | null;
729
+ createdAt: string;
730
+ updatedAt: string;
731
+ }>;
732
+ createdAt: z.ZodString;
733
+ updatedAt: z.ZodString;
734
+ }, "strip", z.ZodTypeAny, {
735
+ role: string;
736
+ workflowId: string;
737
+ projectId: string;
738
+ project: {
739
+ id: string;
740
+ name: string;
741
+ type: "personal" | "team";
742
+ icon: {
743
+ type: "emoji" | "icon";
744
+ value: string;
745
+ } | null;
746
+ description: string | null;
747
+ customTelemetryTags: {
748
+ key: string;
749
+ value: string;
750
+ }[];
751
+ creatorId: string | null;
752
+ createdAt: string;
753
+ updatedAt: string;
754
+ };
755
+ createdAt: string;
756
+ updatedAt: string;
757
+ }, {
758
+ role: string;
759
+ workflowId: string;
760
+ projectId: string;
761
+ project: {
762
+ id: string;
763
+ name: string;
764
+ type: "personal" | "team";
765
+ icon: {
766
+ type: "emoji" | "icon";
767
+ value: string;
768
+ } | null;
769
+ description: string | null;
770
+ customTelemetryTags: {
771
+ key: string;
772
+ value: string;
773
+ }[];
774
+ creatorId: string | null;
775
+ createdAt: string;
776
+ updatedAt: string;
777
+ };
778
+ createdAt: string;
779
+ updatedAt: string;
780
+ }>, "many">;
781
+ activeVersion: z.ZodNullable<z.ZodObject<{
782
+ versionId: z.ZodString;
783
+ workflowId: z.ZodString;
784
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
785
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
786
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
787
+ authors: z.ZodString;
788
+ name: z.ZodNullable<z.ZodString>;
789
+ description: z.ZodNullable<z.ZodString>;
790
+ autosaved: z.ZodBoolean;
791
+ createdAt: z.ZodString;
792
+ updatedAt: z.ZodString;
793
+ workflowPublishHistory: z.ZodArray<z.ZodObject<{
794
+ id: z.ZodNumber;
795
+ workflowId: z.ZodString;
796
+ versionId: z.ZodNullable<z.ZodString>;
797
+ event: z.ZodEnum<["activated", "deactivated"]>;
798
+ userId: z.ZodNullable<z.ZodString>;
799
+ createdAt: z.ZodString;
800
+ }, "strip", z.ZodTypeAny, {
801
+ id: number;
802
+ workflowId: string;
803
+ versionId: string | null;
804
+ event: "activated" | "deactivated";
805
+ userId: string | null;
806
+ createdAt: string;
807
+ }, {
808
+ id: number;
809
+ workflowId: string;
810
+ versionId: string | null;
811
+ event: "activated" | "deactivated";
812
+ userId: string | null;
813
+ createdAt: string;
814
+ }>, "many">;
815
+ }, "strip", z.ZodTypeAny, {
816
+ versionId: string;
817
+ workflowId: string;
818
+ nodes: INode[];
819
+ connections: IConnections;
820
+ nodeGroups: IWorkflowGroup[];
821
+ authors: string;
822
+ name: string | null;
823
+ description: string | null;
824
+ autosaved: boolean;
825
+ createdAt: string;
826
+ updatedAt: string;
827
+ workflowPublishHistory: {
828
+ id: number;
829
+ workflowId: string;
830
+ versionId: string | null;
831
+ event: "activated" | "deactivated";
832
+ userId: string | null;
833
+ createdAt: string;
834
+ }[];
835
+ }, {
836
+ versionId: string;
837
+ workflowId: string;
838
+ nodes: INode[];
839
+ connections: IConnections;
840
+ nodeGroups: IWorkflowGroup[];
841
+ authors: string;
842
+ name: string | null;
843
+ description: string | null;
844
+ autosaved: boolean;
845
+ createdAt: string;
846
+ updatedAt: string;
847
+ workflowPublishHistory: {
848
+ id: number;
849
+ workflowId: string;
850
+ versionId: string | null;
851
+ event: "activated" | "deactivated";
852
+ userId: string | null;
853
+ createdAt: string;
854
+ }[];
855
+ }>>;
856
+ }>;
857
+ export declare class WorkflowPublicDto extends WorkflowPublicDto_base {
858
+ }
859
+ export {};