@n8n/api-types 0.56.0 → 0.56.2

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.
@@ -56,7 +56,7 @@ declare const affectedWorkflowSchema: z.ZodObject<{
56
56
  active: z.ZodBoolean;
57
57
  numberOfExecutions: z.ZodNumber;
58
58
  lastUpdatedAt: z.ZodDate;
59
- lastExecutedAt: z.ZodNullable<z.ZodDate>;
59
+ lastExecutedAt: z.ZodOptional<z.ZodDate>;
60
60
  issues: z.ZodArray<z.ZodObject<{
61
61
  title: z.ZodString;
62
62
  description: z.ZodString;
@@ -90,7 +90,7 @@ declare const affectedWorkflowSchema: z.ZodObject<{
90
90
  active: boolean;
91
91
  numberOfExecutions: number;
92
92
  lastUpdatedAt: Date;
93
- lastExecutedAt: Date | null;
93
+ lastExecutedAt?: Date | undefined;
94
94
  }, {
95
95
  issues: {
96
96
  title: string;
@@ -104,7 +104,7 @@ declare const affectedWorkflowSchema: z.ZodObject<{
104
104
  active: boolean;
105
105
  numberOfExecutions: number;
106
106
  lastUpdatedAt: Date;
107
- lastExecutedAt: Date | null;
107
+ lastExecutedAt?: Date | undefined;
108
108
  }>;
109
109
  export type BreakingChangeAffectedWorkflow = z.infer<typeof affectedWorkflowSchema>;
110
110
  declare const instanceRuleResultsSchema: z.ZodObject<{
@@ -192,7 +192,7 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
192
192
  active: z.ZodBoolean;
193
193
  numberOfExecutions: z.ZodNumber;
194
194
  lastUpdatedAt: z.ZodDate;
195
- lastExecutedAt: z.ZodNullable<z.ZodDate>;
195
+ lastExecutedAt: z.ZodOptional<z.ZodDate>;
196
196
  issues: z.ZodArray<z.ZodObject<{
197
197
  title: z.ZodString;
198
198
  description: z.ZodString;
@@ -226,7 +226,7 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
226
226
  active: boolean;
227
227
  numberOfExecutions: number;
228
228
  lastUpdatedAt: Date;
229
- lastExecutedAt: Date | null;
229
+ lastExecutedAt?: Date | undefined;
230
230
  }, {
231
231
  issues: {
232
232
  title: string;
@@ -240,7 +240,7 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
240
240
  active: boolean;
241
241
  numberOfExecutions: number;
242
242
  lastUpdatedAt: Date;
243
- lastExecutedAt: Date | null;
243
+ lastExecutedAt?: Date | undefined;
244
244
  }>, "many">;
245
245
  }, "strip", z.ZodTypeAny, {
246
246
  ruleId: string;
@@ -264,7 +264,7 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
264
264
  active: boolean;
265
265
  numberOfExecutions: number;
266
266
  lastUpdatedAt: Date;
267
- lastExecutedAt: Date | null;
267
+ lastExecutedAt?: Date | undefined;
268
268
  }[];
269
269
  ruleDocumentationUrl?: string | undefined;
270
270
  }, {
@@ -289,7 +289,7 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
289
289
  active: boolean;
290
290
  numberOfExecutions: number;
291
291
  lastUpdatedAt: Date;
292
- lastExecutedAt: Date | null;
292
+ lastExecutedAt?: Date | undefined;
293
293
  }[];
294
294
  ruleDocumentationUrl?: string | undefined;
295
295
  }>;
@@ -383,7 +383,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
383
383
  active: z.ZodBoolean;
384
384
  numberOfExecutions: z.ZodNumber;
385
385
  lastUpdatedAt: z.ZodDate;
386
- lastExecutedAt: z.ZodNullable<z.ZodDate>;
386
+ lastExecutedAt: z.ZodOptional<z.ZodDate>;
387
387
  issues: z.ZodArray<z.ZodObject<{
388
388
  title: z.ZodString;
389
389
  description: z.ZodString;
@@ -417,7 +417,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
417
417
  active: boolean;
418
418
  numberOfExecutions: number;
419
419
  lastUpdatedAt: Date;
420
- lastExecutedAt: Date | null;
420
+ lastExecutedAt?: Date | undefined;
421
421
  }, {
422
422
  issues: {
423
423
  title: string;
@@ -431,7 +431,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
431
431
  active: boolean;
432
432
  numberOfExecutions: number;
433
433
  lastUpdatedAt: Date;
434
- lastExecutedAt: Date | null;
434
+ lastExecutedAt?: Date | undefined;
435
435
  }>, "many">;
436
436
  }, "strip", z.ZodTypeAny, {
437
437
  ruleId: string;
@@ -455,7 +455,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
455
455
  active: boolean;
456
456
  numberOfExecutions: number;
457
457
  lastUpdatedAt: Date;
458
- lastExecutedAt: Date | null;
458
+ lastExecutedAt?: Date | undefined;
459
459
  }[];
460
460
  ruleDocumentationUrl?: string | undefined;
461
461
  }, {
@@ -480,7 +480,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
480
480
  active: boolean;
481
481
  numberOfExecutions: number;
482
482
  lastUpdatedAt: Date;
483
- lastExecutedAt: Date | null;
483
+ lastExecutedAt?: Date | undefined;
484
484
  }[];
485
485
  ruleDocumentationUrl?: string | undefined;
486
486
  }>, "many">;
@@ -526,7 +526,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
526
526
  active: boolean;
527
527
  numberOfExecutions: number;
528
528
  lastUpdatedAt: Date;
529
- lastExecutedAt: Date | null;
529
+ lastExecutedAt?: Date | undefined;
530
530
  }[];
531
531
  ruleDocumentationUrl?: string | undefined;
532
532
  }[];
@@ -572,7 +572,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
572
572
  active: boolean;
573
573
  numberOfExecutions: number;
574
574
  lastUpdatedAt: Date;
575
- lastExecutedAt: Date | null;
575
+ lastExecutedAt?: Date | undefined;
576
576
  }[];
577
577
  ruleDocumentationUrl?: string | undefined;
578
578
  }[];
@@ -622,7 +622,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
622
622
  active: boolean;
623
623
  numberOfExecutions: number;
624
624
  lastUpdatedAt: Date;
625
- lastExecutedAt: Date | null;
625
+ lastExecutedAt?: Date | undefined;
626
626
  }[];
627
627
  ruleDocumentationUrl?: string | undefined;
628
628
  }[];
@@ -672,7 +672,7 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
672
672
  active: boolean;
673
673
  numberOfExecutions: number;
674
674
  lastUpdatedAt: Date;
675
- lastExecutedAt: Date | null;
675
+ lastExecutedAt?: Date | undefined;
676
676
  }[];
677
677
  ruleDocumentationUrl?: string | undefined;
678
678
  }[];
@@ -770,7 +770,7 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
770
770
  active: z.ZodBoolean;
771
771
  numberOfExecutions: z.ZodNumber;
772
772
  lastUpdatedAt: z.ZodDate;
773
- lastExecutedAt: z.ZodNullable<z.ZodDate>;
773
+ lastExecutedAt: z.ZodOptional<z.ZodDate>;
774
774
  issues: z.ZodArray<z.ZodObject<{
775
775
  title: z.ZodString;
776
776
  description: z.ZodString;
@@ -804,7 +804,7 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
804
804
  active: boolean;
805
805
  numberOfExecutions: number;
806
806
  lastUpdatedAt: Date;
807
- lastExecutedAt: Date | null;
807
+ lastExecutedAt?: Date | undefined;
808
808
  }, {
809
809
  issues: {
810
810
  title: string;
@@ -818,7 +818,7 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
818
818
  active: boolean;
819
819
  numberOfExecutions: number;
820
820
  lastUpdatedAt: Date;
821
- lastExecutedAt: Date | null;
821
+ lastExecutedAt?: Date | undefined;
822
822
  }>, "many">;
823
823
  }, "affectedWorkflows"> & {
824
824
  nbAffectedWorkflows: z.ZodNumber;
@@ -24,7 +24,7 @@ const affectedWorkflowSchema = zod_1.z.object({
24
24
  active: zod_1.z.boolean(),
25
25
  numberOfExecutions: zod_1.z.number(),
26
26
  lastUpdatedAt: zod_1.z.date(),
27
- lastExecutedAt: zod_1.z.date().nullable(),
27
+ lastExecutedAt: zod_1.z.date().optional(),
28
28
  issues: zod_1.z.array(workflowIssueSchema),
29
29
  });
30
30
  const ruleResultBaseSchema = zod_1.z.object({
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@n8n/api-types",
3
- "version": "0.56.0",
3
+ "version": "0.56.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist/**/*",
9
- "LICENSE.md",
10
- "LICENSE_EE.md"
9
+ "LICENSE_EE.md",
10
+ "LICENSE.md"
11
11
  ],
12
12
  "devDependencies": {
13
- "@n8n/typescript-config": "1.3.0",
14
- "@n8n/config": "1.64.0"
13
+ "@n8n/config": "1.64.0",
14
+ "@n8n/typescript-config": "1.3.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "xss": "1.0.15",
18
18
  "zod": "3.25.67",
19
19
  "zod-class": "0.0.16",
20
- "n8n-workflow": "1.119.0",
21
- "@n8n/permissions": "0.43.0"
20
+ "@n8n/permissions": "0.43.0",
21
+ "n8n-workflow": "1.119.1"
22
22
  },
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "homepage": "https://n8n.io",