@n8n/api-types 1.20.0 → 1.21.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 (84) hide show
  1. package/dist/agent-builder-interactive.d.ts +159 -0
  2. package/dist/agent-builder-interactive.js +67 -0
  3. package/dist/agent-builder-interactive.js.map +1 -0
  4. package/dist/agent-sse.d.ts +83 -0
  5. package/dist/agent-sse.js +3 -0
  6. package/dist/agent-sse.js.map +1 -0
  7. package/dist/agents.d.ts +258 -0
  8. package/dist/agents.js +52 -0
  9. package/dist/agents.js.map +1 -0
  10. package/dist/build.tsbuildinfo +1 -1
  11. package/dist/chat-hub.d.ts +18 -18
  12. package/dist/dto/agents/agent-build-resume.dto.d.ts +61 -0
  13. package/dist/dto/agents/agent-build-resume.dto.js +14 -0
  14. package/dist/dto/agents/agent-build-resume.dto.js.map +1 -0
  15. package/dist/dto/agents/agent-chat-message.dto.d.ts +11 -0
  16. package/dist/dto/agents/agent-chat-message.dto.js +12 -0
  17. package/dist/dto/agents/agent-chat-message.dto.js.map +1 -0
  18. package/dist/dto/agents/agent-integration.dto.d.ts +11 -0
  19. package/dist/dto/agents/agent-integration.dto.js +12 -0
  20. package/dist/dto/agents/agent-integration.dto.js.map +1 -0
  21. package/dist/dto/agents/create-agent-skill.dto.d.ts +27 -0
  22. package/dist/dto/agents/create-agent-skill.dto.js +17 -0
  23. package/dist/dto/agents/create-agent-skill.dto.js.map +1 -0
  24. package/dist/dto/agents/create-agent.dto.d.ts +9 -0
  25. package/dist/dto/agents/create-agent.dto.js +11 -0
  26. package/dist/dto/agents/create-agent.dto.js.map +1 -0
  27. package/dist/dto/agents/update-agent-config.dto.d.ts +9 -0
  28. package/dist/dto/agents/update-agent-config.dto.js +11 -0
  29. package/dist/dto/agents/update-agent-config.dto.js.map +1 -0
  30. package/dist/dto/agents/update-agent-schedule.dto.d.ts +11 -0
  31. package/dist/dto/agents/update-agent-schedule.dto.js +12 -0
  32. package/dist/dto/agents/update-agent-schedule.dto.js.map +1 -0
  33. package/dist/dto/agents/update-agent-skill.dto.d.ts +12 -0
  34. package/dist/dto/agents/update-agent-skill.dto.js +13 -0
  35. package/dist/dto/agents/update-agent-skill.dto.js.map +1 -0
  36. package/dist/dto/agents/update-agent.dto.d.ts +13 -0
  37. package/dist/dto/agents/update-agent.dto.js +13 -0
  38. package/dist/dto/agents/update-agent.dto.js.map +1 -0
  39. package/dist/dto/ai/ai-build-request.dto.d.ts +6 -6
  40. package/dist/dto/encryption/encryption-key-response.dto.d.ts +2 -8
  41. package/dist/dto/encryption/list-encryption-keys-query.dto.d.ts +14 -2
  42. package/dist/dto/encryption/list-encryption-keys-query.dto.js +19 -2
  43. package/dist/dto/encryption/list-encryption-keys-query.dto.js.map +1 -1
  44. package/dist/dto/evaluations/evaluation-config.dto.d.ts +845 -0
  45. package/dist/dto/evaluations/evaluation-config.dto.js +96 -0
  46. package/dist/dto/evaluations/evaluation-config.dto.js.map +1 -0
  47. package/dist/dto/evaluations/evaluation-error-code.d.ts +38 -0
  48. package/dist/dto/evaluations/evaluation-error-code.js +29 -0
  49. package/dist/dto/evaluations/evaluation-error-code.js.map +1 -0
  50. package/dist/dto/evaluations/index.d.ts +2 -0
  51. package/dist/dto/evaluations/index.js +19 -0
  52. package/dist/dto/evaluations/index.js.map +1 -0
  53. package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
  54. package/dist/dto/index.d.ts +12 -2
  55. package/dist/dto/index.js +38 -1
  56. package/dist/dto/index.js.map +1 -1
  57. package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +9 -7
  58. package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js +1 -1
  59. package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js.map +1 -1
  60. package/dist/dto/project/update-project.dto.d.ts +2 -2
  61. package/dist/dto/source-control/push-work-folder-request.dto.d.ts +3 -3
  62. package/dist/dto/workflow-history/update-workflow-history-version.dto.d.ts +1 -1
  63. package/dist/dto/workflows/activate-workflow.dto.d.ts +1 -1
  64. package/dist/dto/workflows/create-workflow.dto.d.ts +2 -2
  65. package/dist/dto/workflows/update-workflow.dto.d.ts +2 -2
  66. package/dist/frontend-settings.d.ts +5 -1
  67. package/dist/index.d.ts +6 -2
  68. package/dist/index.js +25 -3
  69. package/dist/index.js.map +1 -1
  70. package/dist/quick-connect.d.ts +6 -0
  71. package/dist/schemas/agent-run-reducer.js +1 -0
  72. package/dist/schemas/agent-run-reducer.js.map +1 -1
  73. package/dist/schemas/breaking-changes.schema.d.ts +48 -48
  74. package/dist/schemas/encryption-key.schema.d.ts +70 -0
  75. package/dist/schemas/encryption-key.schema.js +17 -0
  76. package/dist/schemas/encryption-key.schema.js.map +1 -0
  77. package/dist/schemas/instance-ai.schema.d.ts +336 -145
  78. package/dist/schemas/instance-ai.schema.js +80 -8
  79. package/dist/schemas/instance-ai.schema.js.map +1 -1
  80. package/dist/schemas/secrets-provider.schema.d.ts +10 -10
  81. package/dist/schemas/source-controlled-file.schema.d.ts +2 -2
  82. package/dist/schemas/user.schema.d.ts +12 -12
  83. package/dist/schemas/workflow-execution-status.schema.d.ts +4 -4
  84. package/package.json +8 -8
@@ -21,12 +21,12 @@ declare const instanceIssueSchema: z.ZodObject<{
21
21
  description: z.ZodString;
22
22
  level: z.ZodEnum<["info", "warning", "error"]>;
23
23
  }, "strip", z.ZodTypeAny, {
24
- title: string;
25
24
  description: string;
25
+ title: string;
26
26
  level: "error" | "info" | "warning";
27
27
  }, {
28
- title: string;
29
28
  description: string;
29
+ title: string;
30
30
  level: "error" | "info" | "warning";
31
31
  }>;
32
32
  export type BreakingChangeInstanceIssue = z.infer<typeof instanceIssueSchema>;
@@ -38,14 +38,14 @@ declare const workflowIssueSchema: z.ZodObject<{
38
38
  nodeId: z.ZodOptional<z.ZodString>;
39
39
  nodeName: z.ZodOptional<z.ZodString>;
40
40
  }, "strip", z.ZodTypeAny, {
41
- title: string;
42
41
  description: string;
42
+ title: string;
43
43
  level: "error" | "info" | "warning";
44
44
  nodeName?: string | undefined;
45
45
  nodeId?: string | undefined;
46
46
  }, {
47
- title: string;
48
47
  description: string;
48
+ title: string;
49
49
  level: "error" | "info" | "warning";
50
50
  nodeName?: string | undefined;
51
51
  nodeId?: string | undefined;
@@ -66,22 +66,22 @@ declare const affectedWorkflowSchema: z.ZodObject<{
66
66
  nodeId: z.ZodOptional<z.ZodString>;
67
67
  nodeName: z.ZodOptional<z.ZodString>;
68
68
  }, "strip", z.ZodTypeAny, {
69
- title: string;
70
69
  description: string;
70
+ title: string;
71
71
  level: "error" | "info" | "warning";
72
72
  nodeName?: string | undefined;
73
73
  nodeId?: string | undefined;
74
74
  }, {
75
- title: string;
76
75
  description: string;
76
+ title: string;
77
77
  level: "error" | "info" | "warning";
78
78
  nodeName?: string | undefined;
79
79
  nodeId?: string | undefined;
80
80
  }>, "many">;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  issues: {
83
- title: string;
84
83
  description: string;
84
+ title: string;
85
85
  level: "error" | "info" | "warning";
86
86
  nodeName?: string | undefined;
87
87
  nodeId?: string | undefined;
@@ -94,8 +94,8 @@ declare const affectedWorkflowSchema: z.ZodObject<{
94
94
  lastExecutedAt?: Date | undefined;
95
95
  }, {
96
96
  issues: {
97
- title: string;
98
97
  description: string;
98
+ title: string;
99
99
  level: "error" | "info" | "warning";
100
100
  nodeName?: string | undefined;
101
101
  nodeId?: string | undefined;
@@ -130,12 +130,12 @@ declare const instanceRuleResultsSchema: z.ZodObject<{
130
130
  description: z.ZodString;
131
131
  level: z.ZodEnum<["info", "warning", "error"]>;
132
132
  }, "strip", z.ZodTypeAny, {
133
- title: string;
134
133
  description: string;
134
+ title: string;
135
135
  level: "error" | "info" | "warning";
136
136
  }, {
137
- title: string;
138
137
  description: string;
138
+ title: string;
139
139
  level: "error" | "info" | "warning";
140
140
  }>, "many">;
141
141
  }, "strip", z.ZodTypeAny, {
@@ -148,8 +148,8 @@ declare const instanceRuleResultsSchema: z.ZodObject<{
148
148
  action: string;
149
149
  }[];
150
150
  instanceIssues: {
151
- title: string;
152
151
  description: string;
152
+ title: string;
153
153
  level: "error" | "info" | "warning";
154
154
  }[];
155
155
  ruleDocumentationUrl?: string | undefined;
@@ -163,8 +163,8 @@ declare const instanceRuleResultsSchema: z.ZodObject<{
163
163
  action: string;
164
164
  }[];
165
165
  instanceIssues: {
166
- title: string;
167
166
  description: string;
167
+ title: string;
168
168
  level: "error" | "info" | "warning";
169
169
  }[];
170
170
  ruleDocumentationUrl?: string | undefined;
@@ -202,22 +202,22 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
202
202
  nodeId: z.ZodOptional<z.ZodString>;
203
203
  nodeName: z.ZodOptional<z.ZodString>;
204
204
  }, "strip", z.ZodTypeAny, {
205
- title: string;
206
205
  description: string;
206
+ title: string;
207
207
  level: "error" | "info" | "warning";
208
208
  nodeName?: string | undefined;
209
209
  nodeId?: string | undefined;
210
210
  }, {
211
- title: string;
212
211
  description: string;
212
+ title: string;
213
213
  level: "error" | "info" | "warning";
214
214
  nodeName?: string | undefined;
215
215
  nodeId?: string | undefined;
216
216
  }>, "many">;
217
217
  }, "strip", z.ZodTypeAny, {
218
218
  issues: {
219
- title: string;
220
219
  description: string;
220
+ title: string;
221
221
  level: "error" | "info" | "warning";
222
222
  nodeName?: string | undefined;
223
223
  nodeId?: string | undefined;
@@ -230,8 +230,8 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
230
230
  lastExecutedAt?: Date | undefined;
231
231
  }, {
232
232
  issues: {
233
- title: string;
234
233
  description: string;
234
+ title: string;
235
235
  level: "error" | "info" | "warning";
236
236
  nodeName?: string | undefined;
237
237
  nodeId?: string | undefined;
@@ -254,8 +254,8 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
254
254
  }[];
255
255
  affectedWorkflows: {
256
256
  issues: {
257
- title: string;
258
257
  description: string;
258
+ title: string;
259
259
  level: "error" | "info" | "warning";
260
260
  nodeName?: string | undefined;
261
261
  nodeId?: string | undefined;
@@ -279,8 +279,8 @@ declare const workflowRuleResultsSchema: z.ZodObject<{
279
279
  }[];
280
280
  affectedWorkflows: {
281
281
  issues: {
282
- title: string;
283
282
  description: string;
283
+ title: string;
284
284
  level: "error" | "info" | "warning";
285
285
  nodeName?: string | undefined;
286
286
  nodeId?: string | undefined;
@@ -322,12 +322,12 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
322
322
  description: z.ZodString;
323
323
  level: z.ZodEnum<["info", "warning", "error"]>;
324
324
  }, "strip", z.ZodTypeAny, {
325
- title: string;
326
325
  description: string;
326
+ title: string;
327
327
  level: "error" | "info" | "warning";
328
328
  }, {
329
- title: string;
330
329
  description: string;
330
+ title: string;
331
331
  level: "error" | "info" | "warning";
332
332
  }>, "many">;
333
333
  }, "strip", z.ZodTypeAny, {
@@ -340,8 +340,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
340
340
  action: string;
341
341
  }[];
342
342
  instanceIssues: {
343
- title: string;
344
343
  description: string;
344
+ title: string;
345
345
  level: "error" | "info" | "warning";
346
346
  }[];
347
347
  ruleDocumentationUrl?: string | undefined;
@@ -355,8 +355,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
355
355
  action: string;
356
356
  }[];
357
357
  instanceIssues: {
358
- title: string;
359
358
  description: string;
359
+ title: string;
360
360
  level: "error" | "info" | "warning";
361
361
  }[];
362
362
  ruleDocumentationUrl?: string | undefined;
@@ -393,22 +393,22 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
393
393
  nodeId: z.ZodOptional<z.ZodString>;
394
394
  nodeName: z.ZodOptional<z.ZodString>;
395
395
  }, "strip", z.ZodTypeAny, {
396
- title: string;
397
396
  description: string;
397
+ title: string;
398
398
  level: "error" | "info" | "warning";
399
399
  nodeName?: string | undefined;
400
400
  nodeId?: string | undefined;
401
401
  }, {
402
- title: string;
403
402
  description: string;
403
+ title: string;
404
404
  level: "error" | "info" | "warning";
405
405
  nodeName?: string | undefined;
406
406
  nodeId?: string | undefined;
407
407
  }>, "many">;
408
408
  }, "strip", z.ZodTypeAny, {
409
409
  issues: {
410
- title: string;
411
410
  description: string;
411
+ title: string;
412
412
  level: "error" | "info" | "warning";
413
413
  nodeName?: string | undefined;
414
414
  nodeId?: string | undefined;
@@ -421,8 +421,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
421
421
  lastExecutedAt?: Date | undefined;
422
422
  }, {
423
423
  issues: {
424
- title: string;
425
424
  description: string;
425
+ title: string;
426
426
  level: "error" | "info" | "warning";
427
427
  nodeName?: string | undefined;
428
428
  nodeId?: string | undefined;
@@ -445,8 +445,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
445
445
  }[];
446
446
  affectedWorkflows: {
447
447
  issues: {
448
- title: string;
449
448
  description: string;
449
+ title: string;
450
450
  level: "error" | "info" | "warning";
451
451
  nodeName?: string | undefined;
452
452
  nodeId?: string | undefined;
@@ -470,8 +470,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
470
470
  }[];
471
471
  affectedWorkflows: {
472
472
  issues: {
473
- title: string;
474
473
  description: string;
474
+ title: string;
475
475
  level: "error" | "info" | "warning";
476
476
  nodeName?: string | undefined;
477
477
  nodeId?: string | undefined;
@@ -499,8 +499,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
499
499
  action: string;
500
500
  }[];
501
501
  instanceIssues: {
502
- title: string;
503
502
  description: string;
503
+ title: string;
504
504
  level: "error" | "info" | "warning";
505
505
  }[];
506
506
  ruleDocumentationUrl?: string | undefined;
@@ -516,8 +516,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
516
516
  }[];
517
517
  affectedWorkflows: {
518
518
  issues: {
519
- title: string;
520
519
  description: string;
520
+ title: string;
521
521
  level: "error" | "info" | "warning";
522
522
  nodeName?: string | undefined;
523
523
  nodeId?: string | undefined;
@@ -545,8 +545,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
545
545
  action: string;
546
546
  }[];
547
547
  instanceIssues: {
548
- title: string;
549
548
  description: string;
549
+ title: string;
550
550
  level: "error" | "info" | "warning";
551
551
  }[];
552
552
  ruleDocumentationUrl?: string | undefined;
@@ -562,8 +562,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
562
562
  }[];
563
563
  affectedWorkflows: {
564
564
  issues: {
565
- title: string;
566
565
  description: string;
566
+ title: string;
567
567
  level: "error" | "info" | "warning";
568
568
  nodeName?: string | undefined;
569
569
  nodeId?: string | undefined;
@@ -595,8 +595,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
595
595
  action: string;
596
596
  }[];
597
597
  instanceIssues: {
598
- title: string;
599
598
  description: string;
599
+ title: string;
600
600
  level: "error" | "info" | "warning";
601
601
  }[];
602
602
  ruleDocumentationUrl?: string | undefined;
@@ -612,8 +612,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
612
612
  }[];
613
613
  affectedWorkflows: {
614
614
  issues: {
615
- title: string;
616
615
  description: string;
616
+ title: string;
617
617
  level: "error" | "info" | "warning";
618
618
  nodeName?: string | undefined;
619
619
  nodeId?: string | undefined;
@@ -645,8 +645,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
645
645
  action: string;
646
646
  }[];
647
647
  instanceIssues: {
648
- title: string;
649
648
  description: string;
649
+ title: string;
650
650
  level: "error" | "info" | "warning";
651
651
  }[];
652
652
  ruleDocumentationUrl?: string | undefined;
@@ -662,8 +662,8 @@ declare const breakingChangeReportResultDataSchema: z.ZodObject<{
662
662
  }[];
663
663
  affectedWorkflows: {
664
664
  issues: {
665
- title: string;
666
665
  description: string;
666
+ title: string;
667
667
  level: "error" | "info" | "warning";
668
668
  nodeName?: string | undefined;
669
669
  nodeId?: string | undefined;
@@ -709,12 +709,12 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
709
709
  description: z.ZodString;
710
710
  level: z.ZodEnum<["info", "warning", "error"]>;
711
711
  }, "strip", z.ZodTypeAny, {
712
- title: string;
713
712
  description: string;
713
+ title: string;
714
714
  level: "error" | "info" | "warning";
715
715
  }, {
716
- title: string;
717
716
  description: string;
717
+ title: string;
718
718
  level: "error" | "info" | "warning";
719
719
  }>, "many">;
720
720
  }, "strip", z.ZodTypeAny, {
@@ -727,8 +727,8 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
727
727
  action: string;
728
728
  }[];
729
729
  instanceIssues: {
730
- title: string;
731
730
  description: string;
731
+ title: string;
732
732
  level: "error" | "info" | "warning";
733
733
  }[];
734
734
  ruleDocumentationUrl?: string | undefined;
@@ -742,8 +742,8 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
742
742
  action: string;
743
743
  }[];
744
744
  instanceIssues: {
745
- title: string;
746
745
  description: string;
746
+ title: string;
747
747
  level: "error" | "info" | "warning";
748
748
  }[];
749
749
  ruleDocumentationUrl?: string | undefined;
@@ -780,22 +780,22 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
780
780
  nodeId: z.ZodOptional<z.ZodString>;
781
781
  nodeName: z.ZodOptional<z.ZodString>;
782
782
  }, "strip", z.ZodTypeAny, {
783
- title: string;
784
783
  description: string;
784
+ title: string;
785
785
  level: "error" | "info" | "warning";
786
786
  nodeName?: string | undefined;
787
787
  nodeId?: string | undefined;
788
788
  }, {
789
- title: string;
790
789
  description: string;
790
+ title: string;
791
791
  level: "error" | "info" | "warning";
792
792
  nodeName?: string | undefined;
793
793
  nodeId?: string | undefined;
794
794
  }>, "many">;
795
795
  }, "strip", z.ZodTypeAny, {
796
796
  issues: {
797
- title: string;
798
797
  description: string;
798
+ title: string;
799
799
  level: "error" | "info" | "warning";
800
800
  nodeName?: string | undefined;
801
801
  nodeId?: string | undefined;
@@ -808,8 +808,8 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
808
808
  lastExecutedAt?: Date | undefined;
809
809
  }, {
810
810
  issues: {
811
- title: string;
812
811
  description: string;
812
+ title: string;
813
813
  level: "error" | "info" | "warning";
814
814
  nodeName?: string | undefined;
815
815
  nodeId?: string | undefined;
@@ -860,8 +860,8 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
860
860
  action: string;
861
861
  }[];
862
862
  instanceIssues: {
863
- title: string;
864
863
  description: string;
864
+ title: string;
865
865
  level: "error" | "info" | "warning";
866
866
  }[];
867
867
  ruleDocumentationUrl?: string | undefined;
@@ -892,8 +892,8 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
892
892
  action: string;
893
893
  }[];
894
894
  instanceIssues: {
895
- title: string;
896
895
  description: string;
896
+ title: string;
897
897
  level: "error" | "info" | "warning";
898
898
  }[];
899
899
  ruleDocumentationUrl?: string | undefined;
@@ -928,8 +928,8 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
928
928
  action: string;
929
929
  }[];
930
930
  instanceIssues: {
931
- title: string;
932
931
  description: string;
932
+ title: string;
933
933
  level: "error" | "info" | "warning";
934
934
  }[];
935
935
  ruleDocumentationUrl?: string | undefined;
@@ -964,8 +964,8 @@ declare const breakingChangeLightReportResultDataSchema: z.ZodObject<{
964
964
  action: string;
965
965
  }[];
966
966
  instanceIssues: {
967
- title: string;
968
967
  description: string;
968
+ title: string;
969
969
  level: "error" | "info" | "warning";
970
970
  }[];
971
971
  ruleDocumentationUrl?: string | undefined;
@@ -0,0 +1,70 @@
1
+ import { z } from 'zod';
2
+ export declare const encryptionKeySchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ type: z.ZodString;
5
+ algorithm: z.ZodNullable<z.ZodString>;
6
+ status: z.ZodString;
7
+ createdAt: z.ZodString;
8
+ updatedAt: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ status: string;
11
+ type: string;
12
+ id: string;
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ algorithm: string | null;
16
+ }, {
17
+ status: string;
18
+ type: string;
19
+ id: string;
20
+ createdAt: string;
21
+ updatedAt: string;
22
+ algorithm: string | null;
23
+ }>;
24
+ export declare const encryptionKeysListSchema: z.ZodObject<{
25
+ count: z.ZodNumber;
26
+ items: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodString;
28
+ type: z.ZodString;
29
+ algorithm: z.ZodNullable<z.ZodString>;
30
+ status: z.ZodString;
31
+ createdAt: z.ZodString;
32
+ updatedAt: z.ZodString;
33
+ }, "strip", z.ZodTypeAny, {
34
+ status: string;
35
+ type: string;
36
+ id: string;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ algorithm: string | null;
40
+ }, {
41
+ status: string;
42
+ type: string;
43
+ id: string;
44
+ createdAt: string;
45
+ updatedAt: string;
46
+ algorithm: string | null;
47
+ }>, "many">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ count: number;
50
+ items: {
51
+ status: string;
52
+ type: string;
53
+ id: string;
54
+ createdAt: string;
55
+ updatedAt: string;
56
+ algorithm: string | null;
57
+ }[];
58
+ }, {
59
+ count: number;
60
+ items: {
61
+ status: string;
62
+ type: string;
63
+ id: string;
64
+ createdAt: string;
65
+ updatedAt: string;
66
+ algorithm: string | null;
67
+ }[];
68
+ }>;
69
+ export type EncryptionKey = z.infer<typeof encryptionKeySchema>;
70
+ export type EncryptionKeysList = z.infer<typeof encryptionKeysListSchema>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.encryptionKeysListSchema = exports.encryptionKeySchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.encryptionKeySchema = zod_1.z.object({
6
+ id: zod_1.z.string(),
7
+ type: zod_1.z.string(),
8
+ algorithm: zod_1.z.string().nullable(),
9
+ status: zod_1.z.string(),
10
+ createdAt: zod_1.z.string().datetime(),
11
+ updatedAt: zod_1.z.string().datetime(),
12
+ });
13
+ exports.encryptionKeysListSchema = zod_1.z.object({
14
+ count: zod_1.z.number(),
15
+ items: zod_1.z.array(exports.encryptionKeySchema),
16
+ });
17
+ //# sourceMappingURL=encryption-key.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encryption-key.schema.js","sourceRoot":"","sources":["../../src/schemas/encryption-key.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,2BAAmB,CAAC;CACnC,CAAC,CAAC"}