@n8n/api-types 0.52.0 → 0.54.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 (43) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/chat-hub.d.ts +164 -66
  3. package/dist/chat-hub.js +46 -12
  4. package/dist/chat-hub.js.map +1 -1
  5. package/dist/dto/data-table/list-data-table-query.dto.d.ts +1 -1
  6. package/dist/dto/folders/list-folder-query.dto.d.ts +1 -1
  7. package/dist/dto/index.d.ts +2 -0
  8. package/dist/dto/index.js +8 -2
  9. package/dist/dto/index.js.map +1 -1
  10. package/dist/dto/insights/date-filter.dto.d.ts +0 -1
  11. package/dist/dto/insights/date-filter.dto.js +0 -4
  12. package/dist/dto/insights/date-filter.dto.js.map +1 -1
  13. package/dist/dto/insights/list-workflow-query.dto.d.ts +0 -1
  14. package/dist/dto/insights/list-workflow-query.dto.js +0 -2
  15. package/dist/dto/insights/list-workflow-query.dto.js.map +1 -1
  16. package/dist/dto/oauth/index.d.ts +1 -0
  17. package/dist/dto/oauth/index.js +18 -0
  18. package/dist/dto/oauth/index.js.map +1 -0
  19. package/dist/dto/oauth/oauth-client.dto.d.ts +50 -0
  20. package/dist/dto/oauth/oauth-client.dto.js +37 -0
  21. package/dist/dto/oauth/oauth-client.dto.js.map +1 -0
  22. package/dist/dto/owner/dismiss-banner-request.dto.d.ts +1 -1
  23. package/dist/dto/provisioning/config.dto.d.ts +0 -2
  24. package/dist/dto/provisioning/config.dto.js +0 -5
  25. package/dist/dto/provisioning/config.dto.js.map +1 -1
  26. package/dist/dto/saml/saml-preferences.dto.d.ts +11 -19
  27. package/dist/dto/saml/saml-preferences.dto.js +12 -10
  28. package/dist/dto/saml/saml-preferences.dto.js.map +1 -1
  29. package/dist/dto/source-control/push-work-folder-request.dto.d.ts +2 -2
  30. package/dist/frontend-settings.d.ts +4 -0
  31. package/dist/index.d.ts +2 -1
  32. package/dist/index.js +6 -2
  33. package/dist/index.js.map +1 -1
  34. package/dist/schemas/banner-name.schema.d.ts +3 -1
  35. package/dist/schemas/banner-name.schema.js +4 -2
  36. package/dist/schemas/banner-name.schema.js.map +1 -1
  37. package/dist/schemas/breaking-changes.schema.d.ts +981 -0
  38. package/dist/schemas/breaking-changes.schema.js +69 -0
  39. package/dist/schemas/breaking-changes.schema.js.map +1 -0
  40. package/dist/schemas/data-table.schema.d.ts +2 -2
  41. package/dist/schemas/source-controlled-file.schema.d.ts +2 -2
  42. package/dist/schemas/user.schema.d.ts +12 -12
  43. package/package.json +5 -5
@@ -0,0 +1,981 @@
1
+ import { z } from 'zod';
2
+ export declare const breakingChangeRuleSeveritySchema: z.ZodEnum<["low", "medium", "high", "critical"]>;
3
+ export type BreakingChangeRuleSeverity = z.infer<typeof breakingChangeRuleSeveritySchema>;
4
+ export declare const breakingChangeIssueLevelSchema: z.ZodEnum<["info", "warning", "error"]>;
5
+ declare const recommendationSchema: z.ZodObject<{
6
+ action: z.ZodString;
7
+ description: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ description: string;
10
+ action: string;
11
+ }, {
12
+ description: string;
13
+ action: string;
14
+ }>;
15
+ export type BreakingChangeRecommendation = z.infer<typeof recommendationSchema>;
16
+ declare const instanceIssueSchema: z.ZodObject<{
17
+ title: z.ZodString;
18
+ description: z.ZodString;
19
+ level: z.ZodEnum<["info", "warning", "error"]>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ title: string;
22
+ description: string;
23
+ level: "error" | "info" | "warning";
24
+ }, {
25
+ title: string;
26
+ description: string;
27
+ level: "error" | "info" | "warning";
28
+ }>;
29
+ export type BreakingChangeInstanceIssue = z.infer<typeof instanceIssueSchema>;
30
+ declare const workflowIssueSchema: z.ZodObject<{
31
+ title: z.ZodString;
32
+ description: z.ZodString;
33
+ level: z.ZodEnum<["info", "warning", "error"]>;
34
+ } & {
35
+ nodeId: z.ZodOptional<z.ZodString>;
36
+ nodeName: z.ZodOptional<z.ZodString>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ title: string;
39
+ description: string;
40
+ level: "error" | "info" | "warning";
41
+ nodeName?: string | undefined;
42
+ nodeId?: string | undefined;
43
+ }, {
44
+ title: string;
45
+ description: string;
46
+ level: "error" | "info" | "warning";
47
+ nodeName?: string | undefined;
48
+ nodeId?: string | undefined;
49
+ }>;
50
+ export type BreakingChangeWorkflowIssue = z.infer<typeof workflowIssueSchema>;
51
+ declare const affectedWorkflowSchema: z.ZodObject<{
52
+ id: z.ZodString;
53
+ name: z.ZodString;
54
+ active: z.ZodBoolean;
55
+ numberOfExecutions: z.ZodNumber;
56
+ lastUpdatedAt: z.ZodDate;
57
+ lastExecutedAt: z.ZodNullable<z.ZodDate>;
58
+ issues: z.ZodArray<z.ZodObject<{
59
+ title: z.ZodString;
60
+ description: z.ZodString;
61
+ level: z.ZodEnum<["info", "warning", "error"]>;
62
+ } & {
63
+ nodeId: z.ZodOptional<z.ZodString>;
64
+ nodeName: z.ZodOptional<z.ZodString>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ title: string;
67
+ description: string;
68
+ level: "error" | "info" | "warning";
69
+ nodeName?: string | undefined;
70
+ nodeId?: string | undefined;
71
+ }, {
72
+ title: string;
73
+ description: string;
74
+ level: "error" | "info" | "warning";
75
+ nodeName?: string | undefined;
76
+ nodeId?: string | undefined;
77
+ }>, "many">;
78
+ }, "strip", z.ZodTypeAny, {
79
+ issues: {
80
+ title: string;
81
+ description: string;
82
+ level: "error" | "info" | "warning";
83
+ nodeName?: string | undefined;
84
+ nodeId?: string | undefined;
85
+ }[];
86
+ id: string;
87
+ name: string;
88
+ active: boolean;
89
+ numberOfExecutions: number;
90
+ lastUpdatedAt: Date;
91
+ lastExecutedAt: Date | null;
92
+ }, {
93
+ issues: {
94
+ title: string;
95
+ description: string;
96
+ level: "error" | "info" | "warning";
97
+ nodeName?: string | undefined;
98
+ nodeId?: string | undefined;
99
+ }[];
100
+ id: string;
101
+ name: string;
102
+ active: boolean;
103
+ numberOfExecutions: number;
104
+ lastUpdatedAt: Date;
105
+ lastExecutedAt: Date | null;
106
+ }>;
107
+ export type BreakingChangeAffectedWorkflow = z.infer<typeof affectedWorkflowSchema>;
108
+ declare const instanceRuleResultsSchema: z.ZodObject<{
109
+ ruleId: z.ZodString;
110
+ ruleTitle: z.ZodString;
111
+ ruleDescription: z.ZodString;
112
+ ruleSeverity: z.ZodEnum<["low", "medium", "high", "critical"]>;
113
+ ruleDocumentationUrl: z.ZodOptional<z.ZodString>;
114
+ recommendations: z.ZodArray<z.ZodObject<{
115
+ action: z.ZodString;
116
+ description: z.ZodString;
117
+ }, "strip", z.ZodTypeAny, {
118
+ description: string;
119
+ action: string;
120
+ }, {
121
+ description: string;
122
+ action: string;
123
+ }>, "many">;
124
+ } & {
125
+ instanceIssues: z.ZodArray<z.ZodObject<{
126
+ title: z.ZodString;
127
+ description: z.ZodString;
128
+ level: z.ZodEnum<["info", "warning", "error"]>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ title: string;
131
+ description: string;
132
+ level: "error" | "info" | "warning";
133
+ }, {
134
+ title: string;
135
+ description: string;
136
+ level: "error" | "info" | "warning";
137
+ }>, "many">;
138
+ }, "strip", z.ZodTypeAny, {
139
+ ruleId: string;
140
+ ruleTitle: string;
141
+ ruleDescription: string;
142
+ ruleSeverity: "low" | "medium" | "high" | "critical";
143
+ recommendations: {
144
+ description: string;
145
+ action: string;
146
+ }[];
147
+ instanceIssues: {
148
+ title: string;
149
+ description: string;
150
+ level: "error" | "info" | "warning";
151
+ }[];
152
+ ruleDocumentationUrl?: string | undefined;
153
+ }, {
154
+ ruleId: string;
155
+ ruleTitle: string;
156
+ ruleDescription: string;
157
+ ruleSeverity: "low" | "medium" | "high" | "critical";
158
+ recommendations: {
159
+ description: string;
160
+ action: string;
161
+ }[];
162
+ instanceIssues: {
163
+ title: string;
164
+ description: string;
165
+ level: "error" | "info" | "warning";
166
+ }[];
167
+ ruleDocumentationUrl?: string | undefined;
168
+ }>;
169
+ export type BreakingChangeInstanceRuleResult = z.infer<typeof instanceRuleResultsSchema>;
170
+ declare const workflowRuleResultsSchema: z.ZodObject<{
171
+ ruleId: z.ZodString;
172
+ ruleTitle: z.ZodString;
173
+ ruleDescription: z.ZodString;
174
+ ruleSeverity: z.ZodEnum<["low", "medium", "high", "critical"]>;
175
+ ruleDocumentationUrl: z.ZodOptional<z.ZodString>;
176
+ recommendations: z.ZodArray<z.ZodObject<{
177
+ action: z.ZodString;
178
+ description: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ description: string;
181
+ action: string;
182
+ }, {
183
+ description: string;
184
+ action: string;
185
+ }>, "many">;
186
+ } & {
187
+ affectedWorkflows: z.ZodArray<z.ZodObject<{
188
+ id: z.ZodString;
189
+ name: z.ZodString;
190
+ active: z.ZodBoolean;
191
+ numberOfExecutions: z.ZodNumber;
192
+ lastUpdatedAt: z.ZodDate;
193
+ lastExecutedAt: z.ZodNullable<z.ZodDate>;
194
+ issues: z.ZodArray<z.ZodObject<{
195
+ title: z.ZodString;
196
+ description: z.ZodString;
197
+ level: z.ZodEnum<["info", "warning", "error"]>;
198
+ } & {
199
+ nodeId: z.ZodOptional<z.ZodString>;
200
+ nodeName: z.ZodOptional<z.ZodString>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ title: string;
203
+ description: string;
204
+ level: "error" | "info" | "warning";
205
+ nodeName?: string | undefined;
206
+ nodeId?: string | undefined;
207
+ }, {
208
+ title: string;
209
+ description: string;
210
+ level: "error" | "info" | "warning";
211
+ nodeName?: string | undefined;
212
+ nodeId?: string | undefined;
213
+ }>, "many">;
214
+ }, "strip", z.ZodTypeAny, {
215
+ issues: {
216
+ title: string;
217
+ description: string;
218
+ level: "error" | "info" | "warning";
219
+ nodeName?: string | undefined;
220
+ nodeId?: string | undefined;
221
+ }[];
222
+ id: string;
223
+ name: string;
224
+ active: boolean;
225
+ numberOfExecutions: number;
226
+ lastUpdatedAt: Date;
227
+ lastExecutedAt: Date | null;
228
+ }, {
229
+ issues: {
230
+ title: string;
231
+ description: string;
232
+ level: "error" | "info" | "warning";
233
+ nodeName?: string | undefined;
234
+ nodeId?: string | undefined;
235
+ }[];
236
+ id: string;
237
+ name: string;
238
+ active: boolean;
239
+ numberOfExecutions: number;
240
+ lastUpdatedAt: Date;
241
+ lastExecutedAt: Date | null;
242
+ }>, "many">;
243
+ }, "strip", z.ZodTypeAny, {
244
+ ruleId: string;
245
+ ruleTitle: string;
246
+ ruleDescription: string;
247
+ ruleSeverity: "low" | "medium" | "high" | "critical";
248
+ recommendations: {
249
+ description: string;
250
+ action: string;
251
+ }[];
252
+ affectedWorkflows: {
253
+ issues: {
254
+ title: string;
255
+ description: string;
256
+ level: "error" | "info" | "warning";
257
+ nodeName?: string | undefined;
258
+ nodeId?: string | undefined;
259
+ }[];
260
+ id: string;
261
+ name: string;
262
+ active: boolean;
263
+ numberOfExecutions: number;
264
+ lastUpdatedAt: Date;
265
+ lastExecutedAt: Date | null;
266
+ }[];
267
+ ruleDocumentationUrl?: string | undefined;
268
+ }, {
269
+ ruleId: string;
270
+ ruleTitle: string;
271
+ ruleDescription: string;
272
+ ruleSeverity: "low" | "medium" | "high" | "critical";
273
+ recommendations: {
274
+ description: string;
275
+ action: string;
276
+ }[];
277
+ affectedWorkflows: {
278
+ issues: {
279
+ title: string;
280
+ description: string;
281
+ level: "error" | "info" | "warning";
282
+ nodeName?: string | undefined;
283
+ nodeId?: string | undefined;
284
+ }[];
285
+ id: string;
286
+ name: string;
287
+ active: boolean;
288
+ numberOfExecutions: number;
289
+ lastUpdatedAt: Date;
290
+ lastExecutedAt: Date | null;
291
+ }[];
292
+ ruleDocumentationUrl?: string | undefined;
293
+ }>;
294
+ export type BreakingChangeWorkflowRuleResult = z.infer<typeof workflowRuleResultsSchema>;
295
+ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
296
+ report: z.ZodObject<{
297
+ readonly generatedAt: z.ZodDate;
298
+ readonly targetVersion: z.ZodString;
299
+ readonly currentVersion: z.ZodString;
300
+ readonly instanceResults: z.ZodArray<z.ZodObject<{
301
+ ruleId: z.ZodString;
302
+ ruleTitle: z.ZodString;
303
+ ruleDescription: z.ZodString;
304
+ ruleSeverity: z.ZodEnum<["low", "medium", "high", "critical"]>;
305
+ ruleDocumentationUrl: z.ZodOptional<z.ZodString>;
306
+ recommendations: z.ZodArray<z.ZodObject<{
307
+ action: z.ZodString;
308
+ description: z.ZodString;
309
+ }, "strip", z.ZodTypeAny, {
310
+ description: string;
311
+ action: string;
312
+ }, {
313
+ description: string;
314
+ action: string;
315
+ }>, "many">;
316
+ } & {
317
+ instanceIssues: z.ZodArray<z.ZodObject<{
318
+ title: z.ZodString;
319
+ description: z.ZodString;
320
+ level: z.ZodEnum<["info", "warning", "error"]>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ title: string;
323
+ description: string;
324
+ level: "error" | "info" | "warning";
325
+ }, {
326
+ title: string;
327
+ description: string;
328
+ level: "error" | "info" | "warning";
329
+ }>, "many">;
330
+ }, "strip", z.ZodTypeAny, {
331
+ ruleId: string;
332
+ ruleTitle: string;
333
+ ruleDescription: string;
334
+ ruleSeverity: "low" | "medium" | "high" | "critical";
335
+ recommendations: {
336
+ description: string;
337
+ action: string;
338
+ }[];
339
+ instanceIssues: {
340
+ title: string;
341
+ description: string;
342
+ level: "error" | "info" | "warning";
343
+ }[];
344
+ ruleDocumentationUrl?: string | undefined;
345
+ }, {
346
+ ruleId: string;
347
+ ruleTitle: string;
348
+ ruleDescription: string;
349
+ ruleSeverity: "low" | "medium" | "high" | "critical";
350
+ recommendations: {
351
+ description: string;
352
+ action: string;
353
+ }[];
354
+ instanceIssues: {
355
+ title: string;
356
+ description: string;
357
+ level: "error" | "info" | "warning";
358
+ }[];
359
+ ruleDocumentationUrl?: string | undefined;
360
+ }>, "many">;
361
+ readonly workflowResults: z.ZodArray<z.ZodObject<{
362
+ ruleId: z.ZodString;
363
+ ruleTitle: z.ZodString;
364
+ ruleDescription: z.ZodString;
365
+ ruleSeverity: z.ZodEnum<["low", "medium", "high", "critical"]>;
366
+ ruleDocumentationUrl: z.ZodOptional<z.ZodString>;
367
+ recommendations: z.ZodArray<z.ZodObject<{
368
+ action: z.ZodString;
369
+ description: z.ZodString;
370
+ }, "strip", z.ZodTypeAny, {
371
+ description: string;
372
+ action: string;
373
+ }, {
374
+ description: string;
375
+ action: string;
376
+ }>, "many">;
377
+ } & {
378
+ affectedWorkflows: z.ZodArray<z.ZodObject<{
379
+ id: z.ZodString;
380
+ name: z.ZodString;
381
+ active: z.ZodBoolean;
382
+ numberOfExecutions: z.ZodNumber;
383
+ lastUpdatedAt: z.ZodDate;
384
+ lastExecutedAt: z.ZodNullable<z.ZodDate>;
385
+ issues: z.ZodArray<z.ZodObject<{
386
+ title: z.ZodString;
387
+ description: z.ZodString;
388
+ level: z.ZodEnum<["info", "warning", "error"]>;
389
+ } & {
390
+ nodeId: z.ZodOptional<z.ZodString>;
391
+ nodeName: z.ZodOptional<z.ZodString>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ title: string;
394
+ description: string;
395
+ level: "error" | "info" | "warning";
396
+ nodeName?: string | undefined;
397
+ nodeId?: string | undefined;
398
+ }, {
399
+ title: string;
400
+ description: string;
401
+ level: "error" | "info" | "warning";
402
+ nodeName?: string | undefined;
403
+ nodeId?: string | undefined;
404
+ }>, "many">;
405
+ }, "strip", z.ZodTypeAny, {
406
+ issues: {
407
+ title: string;
408
+ description: string;
409
+ level: "error" | "info" | "warning";
410
+ nodeName?: string | undefined;
411
+ nodeId?: string | undefined;
412
+ }[];
413
+ id: string;
414
+ name: string;
415
+ active: boolean;
416
+ numberOfExecutions: number;
417
+ lastUpdatedAt: Date;
418
+ lastExecutedAt: Date | null;
419
+ }, {
420
+ issues: {
421
+ title: string;
422
+ description: string;
423
+ level: "error" | "info" | "warning";
424
+ nodeName?: string | undefined;
425
+ nodeId?: string | undefined;
426
+ }[];
427
+ id: string;
428
+ name: string;
429
+ active: boolean;
430
+ numberOfExecutions: number;
431
+ lastUpdatedAt: Date;
432
+ lastExecutedAt: Date | null;
433
+ }>, "many">;
434
+ }, "strip", z.ZodTypeAny, {
435
+ ruleId: string;
436
+ ruleTitle: string;
437
+ ruleDescription: string;
438
+ ruleSeverity: "low" | "medium" | "high" | "critical";
439
+ recommendations: {
440
+ description: string;
441
+ action: string;
442
+ }[];
443
+ affectedWorkflows: {
444
+ issues: {
445
+ title: string;
446
+ description: string;
447
+ level: "error" | "info" | "warning";
448
+ nodeName?: string | undefined;
449
+ nodeId?: string | undefined;
450
+ }[];
451
+ id: string;
452
+ name: string;
453
+ active: boolean;
454
+ numberOfExecutions: number;
455
+ lastUpdatedAt: Date;
456
+ lastExecutedAt: Date | null;
457
+ }[];
458
+ ruleDocumentationUrl?: string | undefined;
459
+ }, {
460
+ ruleId: string;
461
+ ruleTitle: string;
462
+ ruleDescription: string;
463
+ ruleSeverity: "low" | "medium" | "high" | "critical";
464
+ recommendations: {
465
+ description: string;
466
+ action: string;
467
+ }[];
468
+ affectedWorkflows: {
469
+ issues: {
470
+ title: string;
471
+ description: string;
472
+ level: "error" | "info" | "warning";
473
+ nodeName?: string | undefined;
474
+ nodeId?: string | undefined;
475
+ }[];
476
+ id: string;
477
+ name: string;
478
+ active: boolean;
479
+ numberOfExecutions: number;
480
+ lastUpdatedAt: Date;
481
+ lastExecutedAt: Date | null;
482
+ }[];
483
+ ruleDocumentationUrl?: string | undefined;
484
+ }>, "many">;
485
+ }, "strict", z.ZodTypeAny, {
486
+ generatedAt: Date;
487
+ targetVersion: string;
488
+ currentVersion: string;
489
+ instanceResults: {
490
+ ruleId: string;
491
+ ruleTitle: string;
492
+ ruleDescription: string;
493
+ ruleSeverity: "low" | "medium" | "high" | "critical";
494
+ recommendations: {
495
+ description: string;
496
+ action: string;
497
+ }[];
498
+ instanceIssues: {
499
+ title: string;
500
+ description: string;
501
+ level: "error" | "info" | "warning";
502
+ }[];
503
+ ruleDocumentationUrl?: string | undefined;
504
+ }[];
505
+ workflowResults: {
506
+ ruleId: string;
507
+ ruleTitle: string;
508
+ ruleDescription: string;
509
+ ruleSeverity: "low" | "medium" | "high" | "critical";
510
+ recommendations: {
511
+ description: string;
512
+ action: string;
513
+ }[];
514
+ affectedWorkflows: {
515
+ issues: {
516
+ title: string;
517
+ description: string;
518
+ level: "error" | "info" | "warning";
519
+ nodeName?: string | undefined;
520
+ nodeId?: string | undefined;
521
+ }[];
522
+ id: string;
523
+ name: string;
524
+ active: boolean;
525
+ numberOfExecutions: number;
526
+ lastUpdatedAt: Date;
527
+ lastExecutedAt: Date | null;
528
+ }[];
529
+ ruleDocumentationUrl?: string | undefined;
530
+ }[];
531
+ }, {
532
+ generatedAt: Date;
533
+ targetVersion: string;
534
+ currentVersion: string;
535
+ instanceResults: {
536
+ ruleId: string;
537
+ ruleTitle: string;
538
+ ruleDescription: string;
539
+ ruleSeverity: "low" | "medium" | "high" | "critical";
540
+ recommendations: {
541
+ description: string;
542
+ action: string;
543
+ }[];
544
+ instanceIssues: {
545
+ title: string;
546
+ description: string;
547
+ level: "error" | "info" | "warning";
548
+ }[];
549
+ ruleDocumentationUrl?: string | undefined;
550
+ }[];
551
+ workflowResults: {
552
+ ruleId: string;
553
+ ruleTitle: string;
554
+ ruleDescription: string;
555
+ ruleSeverity: "low" | "medium" | "high" | "critical";
556
+ recommendations: {
557
+ description: string;
558
+ action: string;
559
+ }[];
560
+ affectedWorkflows: {
561
+ issues: {
562
+ title: string;
563
+ description: string;
564
+ level: "error" | "info" | "warning";
565
+ nodeName?: string | undefined;
566
+ nodeId?: string | undefined;
567
+ }[];
568
+ id: string;
569
+ name: string;
570
+ active: boolean;
571
+ numberOfExecutions: number;
572
+ lastUpdatedAt: Date;
573
+ lastExecutedAt: Date | null;
574
+ }[];
575
+ ruleDocumentationUrl?: string | undefined;
576
+ }[];
577
+ }>;
578
+ shouldCache: z.ZodBoolean;
579
+ }, "strip", z.ZodTypeAny, {
580
+ report: {
581
+ generatedAt: Date;
582
+ targetVersion: string;
583
+ currentVersion: string;
584
+ instanceResults: {
585
+ ruleId: string;
586
+ ruleTitle: string;
587
+ ruleDescription: string;
588
+ ruleSeverity: "low" | "medium" | "high" | "critical";
589
+ recommendations: {
590
+ description: string;
591
+ action: string;
592
+ }[];
593
+ instanceIssues: {
594
+ title: string;
595
+ description: string;
596
+ level: "error" | "info" | "warning";
597
+ }[];
598
+ ruleDocumentationUrl?: string | undefined;
599
+ }[];
600
+ workflowResults: {
601
+ ruleId: string;
602
+ ruleTitle: string;
603
+ ruleDescription: string;
604
+ ruleSeverity: "low" | "medium" | "high" | "critical";
605
+ recommendations: {
606
+ description: string;
607
+ action: string;
608
+ }[];
609
+ affectedWorkflows: {
610
+ issues: {
611
+ title: string;
612
+ description: string;
613
+ level: "error" | "info" | "warning";
614
+ nodeName?: string | undefined;
615
+ nodeId?: string | undefined;
616
+ }[];
617
+ id: string;
618
+ name: string;
619
+ active: boolean;
620
+ numberOfExecutions: number;
621
+ lastUpdatedAt: Date;
622
+ lastExecutedAt: Date | null;
623
+ }[];
624
+ ruleDocumentationUrl?: string | undefined;
625
+ }[];
626
+ };
627
+ shouldCache: boolean;
628
+ }, {
629
+ report: {
630
+ generatedAt: Date;
631
+ targetVersion: string;
632
+ currentVersion: string;
633
+ instanceResults: {
634
+ ruleId: string;
635
+ ruleTitle: string;
636
+ ruleDescription: string;
637
+ ruleSeverity: "low" | "medium" | "high" | "critical";
638
+ recommendations: {
639
+ description: string;
640
+ action: string;
641
+ }[];
642
+ instanceIssues: {
643
+ title: string;
644
+ description: string;
645
+ level: "error" | "info" | "warning";
646
+ }[];
647
+ ruleDocumentationUrl?: string | undefined;
648
+ }[];
649
+ workflowResults: {
650
+ ruleId: string;
651
+ ruleTitle: string;
652
+ ruleDescription: string;
653
+ ruleSeverity: "low" | "medium" | "high" | "critical";
654
+ recommendations: {
655
+ description: string;
656
+ action: string;
657
+ }[];
658
+ affectedWorkflows: {
659
+ issues: {
660
+ title: string;
661
+ description: string;
662
+ level: "error" | "info" | "warning";
663
+ nodeName?: string | undefined;
664
+ nodeId?: string | undefined;
665
+ }[];
666
+ id: string;
667
+ name: string;
668
+ active: boolean;
669
+ numberOfExecutions: number;
670
+ lastUpdatedAt: Date;
671
+ lastExecutedAt: Date | null;
672
+ }[];
673
+ ruleDocumentationUrl?: string | undefined;
674
+ }[];
675
+ };
676
+ shouldCache: boolean;
677
+ }>;
678
+ export type BreakingChangeReportResult = z.infer<typeof breakingChangeReportResultDataSchema>;
679
+ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
680
+ report: z.ZodObject<{
681
+ readonly generatedAt: z.ZodDate;
682
+ readonly targetVersion: z.ZodString;
683
+ readonly currentVersion: z.ZodString;
684
+ readonly instanceResults: z.ZodArray<z.ZodObject<{
685
+ ruleId: z.ZodString;
686
+ ruleTitle: z.ZodString;
687
+ ruleDescription: z.ZodString;
688
+ ruleSeverity: z.ZodEnum<["low", "medium", "high", "critical"]>;
689
+ ruleDocumentationUrl: z.ZodOptional<z.ZodString>;
690
+ recommendations: z.ZodArray<z.ZodObject<{
691
+ action: z.ZodString;
692
+ description: z.ZodString;
693
+ }, "strip", z.ZodTypeAny, {
694
+ description: string;
695
+ action: string;
696
+ }, {
697
+ description: string;
698
+ action: string;
699
+ }>, "many">;
700
+ } & {
701
+ instanceIssues: z.ZodArray<z.ZodObject<{
702
+ title: z.ZodString;
703
+ description: z.ZodString;
704
+ level: z.ZodEnum<["info", "warning", "error"]>;
705
+ }, "strip", z.ZodTypeAny, {
706
+ title: string;
707
+ description: string;
708
+ level: "error" | "info" | "warning";
709
+ }, {
710
+ title: string;
711
+ description: string;
712
+ level: "error" | "info" | "warning";
713
+ }>, "many">;
714
+ }, "strip", z.ZodTypeAny, {
715
+ ruleId: string;
716
+ ruleTitle: string;
717
+ ruleDescription: string;
718
+ ruleSeverity: "low" | "medium" | "high" | "critical";
719
+ recommendations: {
720
+ description: string;
721
+ action: string;
722
+ }[];
723
+ instanceIssues: {
724
+ title: string;
725
+ description: string;
726
+ level: "error" | "info" | "warning";
727
+ }[];
728
+ ruleDocumentationUrl?: string | undefined;
729
+ }, {
730
+ ruleId: string;
731
+ ruleTitle: string;
732
+ ruleDescription: string;
733
+ ruleSeverity: "low" | "medium" | "high" | "critical";
734
+ recommendations: {
735
+ description: string;
736
+ action: string;
737
+ }[];
738
+ instanceIssues: {
739
+ title: string;
740
+ description: string;
741
+ level: "error" | "info" | "warning";
742
+ }[];
743
+ ruleDocumentationUrl?: string | undefined;
744
+ }>, "many">;
745
+ readonly workflowResults: z.ZodArray<z.ZodObject<Omit<{
746
+ ruleId: z.ZodString;
747
+ ruleTitle: z.ZodString;
748
+ ruleDescription: z.ZodString;
749
+ ruleSeverity: z.ZodEnum<["low", "medium", "high", "critical"]>;
750
+ ruleDocumentationUrl: z.ZodOptional<z.ZodString>;
751
+ recommendations: z.ZodArray<z.ZodObject<{
752
+ action: z.ZodString;
753
+ description: z.ZodString;
754
+ }, "strip", z.ZodTypeAny, {
755
+ description: string;
756
+ action: string;
757
+ }, {
758
+ description: string;
759
+ action: string;
760
+ }>, "many">;
761
+ } & {
762
+ affectedWorkflows: z.ZodArray<z.ZodObject<{
763
+ id: z.ZodString;
764
+ name: z.ZodString;
765
+ active: z.ZodBoolean;
766
+ numberOfExecutions: z.ZodNumber;
767
+ lastUpdatedAt: z.ZodDate;
768
+ lastExecutedAt: z.ZodNullable<z.ZodDate>;
769
+ issues: z.ZodArray<z.ZodObject<{
770
+ title: z.ZodString;
771
+ description: z.ZodString;
772
+ level: z.ZodEnum<["info", "warning", "error"]>;
773
+ } & {
774
+ nodeId: z.ZodOptional<z.ZodString>;
775
+ nodeName: z.ZodOptional<z.ZodString>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ title: string;
778
+ description: string;
779
+ level: "error" | "info" | "warning";
780
+ nodeName?: string | undefined;
781
+ nodeId?: string | undefined;
782
+ }, {
783
+ title: string;
784
+ description: string;
785
+ level: "error" | "info" | "warning";
786
+ nodeName?: string | undefined;
787
+ nodeId?: string | undefined;
788
+ }>, "many">;
789
+ }, "strip", z.ZodTypeAny, {
790
+ issues: {
791
+ title: string;
792
+ description: string;
793
+ level: "error" | "info" | "warning";
794
+ nodeName?: string | undefined;
795
+ nodeId?: string | undefined;
796
+ }[];
797
+ id: string;
798
+ name: string;
799
+ active: boolean;
800
+ numberOfExecutions: number;
801
+ lastUpdatedAt: Date;
802
+ lastExecutedAt: Date | null;
803
+ }, {
804
+ issues: {
805
+ title: string;
806
+ description: string;
807
+ level: "error" | "info" | "warning";
808
+ nodeName?: string | undefined;
809
+ nodeId?: string | undefined;
810
+ }[];
811
+ id: string;
812
+ name: string;
813
+ active: boolean;
814
+ numberOfExecutions: number;
815
+ lastUpdatedAt: Date;
816
+ lastExecutedAt: Date | null;
817
+ }>, "many">;
818
+ }, "affectedWorkflows"> & {
819
+ nbAffectedWorkflows: z.ZodNumber;
820
+ }, "strip", z.ZodTypeAny, {
821
+ ruleId: string;
822
+ ruleTitle: string;
823
+ ruleDescription: string;
824
+ ruleSeverity: "low" | "medium" | "high" | "critical";
825
+ recommendations: {
826
+ description: string;
827
+ action: string;
828
+ }[];
829
+ nbAffectedWorkflows: number;
830
+ ruleDocumentationUrl?: string | undefined;
831
+ }, {
832
+ ruleId: string;
833
+ ruleTitle: string;
834
+ ruleDescription: string;
835
+ ruleSeverity: "low" | "medium" | "high" | "critical";
836
+ recommendations: {
837
+ description: string;
838
+ action: string;
839
+ }[];
840
+ nbAffectedWorkflows: number;
841
+ ruleDocumentationUrl?: string | undefined;
842
+ }>, "many">;
843
+ }, "strict", z.ZodTypeAny, {
844
+ generatedAt: Date;
845
+ targetVersion: string;
846
+ currentVersion: string;
847
+ instanceResults: {
848
+ ruleId: string;
849
+ ruleTitle: string;
850
+ ruleDescription: string;
851
+ ruleSeverity: "low" | "medium" | "high" | "critical";
852
+ recommendations: {
853
+ description: string;
854
+ action: string;
855
+ }[];
856
+ instanceIssues: {
857
+ title: string;
858
+ description: string;
859
+ level: "error" | "info" | "warning";
860
+ }[];
861
+ ruleDocumentationUrl?: string | undefined;
862
+ }[];
863
+ workflowResults: {
864
+ ruleId: string;
865
+ ruleTitle: string;
866
+ ruleDescription: string;
867
+ ruleSeverity: "low" | "medium" | "high" | "critical";
868
+ recommendations: {
869
+ description: string;
870
+ action: string;
871
+ }[];
872
+ nbAffectedWorkflows: number;
873
+ ruleDocumentationUrl?: string | undefined;
874
+ }[];
875
+ }, {
876
+ generatedAt: Date;
877
+ targetVersion: string;
878
+ currentVersion: string;
879
+ instanceResults: {
880
+ ruleId: string;
881
+ ruleTitle: string;
882
+ ruleDescription: string;
883
+ ruleSeverity: "low" | "medium" | "high" | "critical";
884
+ recommendations: {
885
+ description: string;
886
+ action: string;
887
+ }[];
888
+ instanceIssues: {
889
+ title: string;
890
+ description: string;
891
+ level: "error" | "info" | "warning";
892
+ }[];
893
+ ruleDocumentationUrl?: string | undefined;
894
+ }[];
895
+ workflowResults: {
896
+ ruleId: string;
897
+ ruleTitle: string;
898
+ ruleDescription: string;
899
+ ruleSeverity: "low" | "medium" | "high" | "critical";
900
+ recommendations: {
901
+ description: string;
902
+ action: string;
903
+ }[];
904
+ nbAffectedWorkflows: number;
905
+ ruleDocumentationUrl?: string | undefined;
906
+ }[];
907
+ }>;
908
+ shouldCache: z.ZodBoolean;
909
+ }, "strip", z.ZodTypeAny, {
910
+ report: {
911
+ generatedAt: Date;
912
+ targetVersion: string;
913
+ currentVersion: string;
914
+ instanceResults: {
915
+ ruleId: string;
916
+ ruleTitle: string;
917
+ ruleDescription: string;
918
+ ruleSeverity: "low" | "medium" | "high" | "critical";
919
+ recommendations: {
920
+ description: string;
921
+ action: string;
922
+ }[];
923
+ instanceIssues: {
924
+ title: string;
925
+ description: string;
926
+ level: "error" | "info" | "warning";
927
+ }[];
928
+ ruleDocumentationUrl?: string | undefined;
929
+ }[];
930
+ workflowResults: {
931
+ ruleId: string;
932
+ ruleTitle: string;
933
+ ruleDescription: string;
934
+ ruleSeverity: "low" | "medium" | "high" | "critical";
935
+ recommendations: {
936
+ description: string;
937
+ action: string;
938
+ }[];
939
+ nbAffectedWorkflows: number;
940
+ ruleDocumentationUrl?: string | undefined;
941
+ }[];
942
+ };
943
+ shouldCache: boolean;
944
+ }, {
945
+ report: {
946
+ generatedAt: Date;
947
+ targetVersion: string;
948
+ currentVersion: string;
949
+ instanceResults: {
950
+ ruleId: string;
951
+ ruleTitle: string;
952
+ ruleDescription: string;
953
+ ruleSeverity: "low" | "medium" | "high" | "critical";
954
+ recommendations: {
955
+ description: string;
956
+ action: string;
957
+ }[];
958
+ instanceIssues: {
959
+ title: string;
960
+ description: string;
961
+ level: "error" | "info" | "warning";
962
+ }[];
963
+ ruleDocumentationUrl?: string | undefined;
964
+ }[];
965
+ workflowResults: {
966
+ ruleId: string;
967
+ ruleTitle: string;
968
+ ruleDescription: string;
969
+ ruleSeverity: "low" | "medium" | "high" | "critical";
970
+ recommendations: {
971
+ description: string;
972
+ action: string;
973
+ }[];
974
+ nbAffectedWorkflows: number;
975
+ ruleDocumentationUrl?: string | undefined;
976
+ }[];
977
+ };
978
+ shouldCache: boolean;
979
+ }>;
980
+ export type BreakingChangeLightReportResult = z.infer<typeof breakingChangeLightReportResultDataSchema>;
981
+ export {};