@n8n/api-types 1.41.1 → 1.42.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 (202) hide show
  1. package/dist/agent-sse.d.ts +10 -0
  2. package/dist/agents/agent-config-lifecycle.d.ts +1 -0
  3. package/dist/agents/agent-config-lifecycle.js +1 -1
  4. package/dist/agents/agent-config-lifecycle.js.map +1 -1
  5. package/dist/agents/agent-integration.schema.d.ts +533 -1
  6. package/dist/agents/agent-integration.schema.js +71 -2
  7. package/dist/agents/agent-integration.schema.js.map +1 -1
  8. package/dist/agents/agent-json-config.schema.d.ts +1559 -112
  9. package/dist/agents/agent-json-config.schema.js +7 -13
  10. package/dist/agents/agent-json-config.schema.js.map +1 -1
  11. package/dist/agents/dto.d.ts +691 -6
  12. package/dist/agents/dto.js +19 -1
  13. package/dist/agents/dto.js.map +1 -1
  14. package/dist/agents/index.d.ts +1 -0
  15. package/dist/agents/index.js.map +1 -1
  16. package/dist/agents/inline-agent-config.schema.d.ts +805 -81
  17. package/dist/agents/teams/index.d.ts +1 -0
  18. package/dist/{dto/evaluations/public-api-test-run.dto.js → agents/teams/index.js} +1 -1
  19. package/dist/agents/teams/index.js.map +1 -0
  20. package/dist/agents/teams/types.d.ts +59 -0
  21. package/dist/agents/teams/types.js +3 -0
  22. package/dist/agents/teams/types.js.map +1 -0
  23. package/dist/agents/types.d.ts +31 -2
  24. package/dist/agents/types.js.map +1 -1
  25. package/dist/build.tsbuildinfo +1 -1
  26. package/dist/constants/auth.d.ts +1 -0
  27. package/dist/constants/auth.js +5 -0
  28. package/dist/constants/auth.js.map +1 -0
  29. package/dist/constants/canvas-feature-flags.d.ts +2 -0
  30. package/dist/constants/canvas-feature-flags.js +6 -0
  31. package/dist/constants/canvas-feature-flags.js.map +1 -0
  32. package/dist/constants/credential-descriptions.d.ts +1 -0
  33. package/dist/constants/credential-descriptions.js +5 -0
  34. package/dist/constants/credential-descriptions.js.map +1 -0
  35. package/dist/constants/empty-canvas-groups.d.ts +1 -0
  36. package/dist/constants/empty-canvas-groups.js +5 -0
  37. package/dist/constants/empty-canvas-groups.js.map +1 -0
  38. package/dist/credential-type-availability.d.ts +9 -0
  39. package/dist/credential-type-availability.js +3 -0
  40. package/dist/credential-type-availability.js.map +1 -0
  41. package/dist/dto/ai-preference/ai-preference-list-query.dto.d.ts +6 -2
  42. package/dist/dto/ai-preference/ai-preference-list-query.dto.js +19 -1
  43. package/dist/dto/ai-preference/ai-preference-list-query.dto.js.map +1 -1
  44. package/dist/dto/audit/audit-public.dto.d.ts +3730 -0
  45. package/dist/dto/audit/audit-public.dto.js +107 -0
  46. package/dist/dto/audit/audit-public.dto.js.map +1 -0
  47. package/dist/dto/audit/audit-public.openapi.d.ts +7 -0
  48. package/dist/dto/audit/audit-public.openapi.js +109 -0
  49. package/dist/dto/audit/audit-public.openapi.js.map +1 -0
  50. package/dist/dto/community-packages/community-package-public.dto.d.ts +184 -0
  51. package/dist/dto/community-packages/community-package-public.dto.js +56 -0
  52. package/dist/dto/community-packages/community-package-public.dto.js.map +1 -0
  53. package/dist/dto/community-packages/community-package-public.openapi.d.ts +19 -0
  54. package/dist/dto/community-packages/community-package-public.openapi.js +23 -0
  55. package/dist/dto/community-packages/community-package-public.openapi.js.map +1 -0
  56. package/dist/dto/credentials/create-credential.dto.d.ts +2 -0
  57. package/dist/dto/credentials/create-credential.dto.js +1 -0
  58. package/dist/dto/credentials/create-credential.dto.js.map +1 -1
  59. package/dist/dto/credentials/credential-public.dto.d.ts +16 -0
  60. package/dist/dto/credentials/credential-public.dto.js +14 -1
  61. package/dist/dto/credentials/credential-public.dto.js.map +1 -1
  62. package/dist/dto/data-table/data-table-public.dto.d.ts +268 -0
  63. package/dist/dto/data-table/data-table-public.dto.js +60 -0
  64. package/dist/dto/data-table/data-table-public.dto.js.map +1 -0
  65. package/dist/dto/data-table/data-table-public.openapi.d.ts +102 -0
  66. package/dist/dto/data-table/data-table-public.openapi.js +77 -0
  67. package/dist/dto/data-table/data-table-public.openapi.js.map +1 -0
  68. package/dist/dto/data-table/list-data-table-query.dto.d.ts +3 -2
  69. package/dist/dto/data-table/list-data-table-query.dto.js +6 -3
  70. package/dist/dto/data-table/list-data-table-query.dto.js.map +1 -1
  71. package/dist/dto/discover/discover-public.dto.d.ts +199 -0
  72. package/dist/dto/discover/discover-public.dto.js +51 -0
  73. package/dist/dto/discover/discover-public.dto.js.map +1 -0
  74. package/dist/dto/discover/discover-public.openapi.d.ts +26 -0
  75. package/dist/dto/discover/discover-public.openapi.js +26 -0
  76. package/dist/dto/discover/discover-public.openapi.js.map +1 -0
  77. package/dist/dto/evaluations/index.d.ts +1 -1
  78. package/dist/dto/evaluations/index.js +1 -0
  79. package/dist/dto/evaluations/index.js.map +1 -1
  80. package/dist/dto/evaluations/llm-judge-providers.js +1 -1
  81. package/dist/dto/evaluations/llm-judge-providers.js.map +1 -1
  82. package/dist/dto/evaluations/test-run-public.dto.d.ts +283 -0
  83. package/dist/dto/evaluations/test-run-public.dto.js +90 -0
  84. package/dist/dto/evaluations/test-run-public.dto.js.map +1 -0
  85. package/dist/dto/evaluations/test-run-public.openapi.d.ts +43 -0
  86. package/dist/dto/evaluations/test-run-public.openapi.js +55 -0
  87. package/dist/dto/evaluations/test-run-public.openapi.js.map +1 -0
  88. package/dist/dto/folders/folder-public.dto.d.ts +96 -0
  89. package/dist/dto/folders/folder-public.dto.js +56 -2
  90. package/dist/dto/folders/folder-public.dto.js.map +1 -1
  91. package/dist/dto/folders/folder-public.openapi.d.ts +21 -0
  92. package/dist/dto/folders/folder-public.openapi.js +20 -1
  93. package/dist/dto/folders/folder-public.openapi.js.map +1 -1
  94. package/dist/dto/index.d.ts +19 -7
  95. package/dist/dto/index.js +67 -12
  96. package/dist/dto/index.js.map +1 -1
  97. package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.d.ts +28 -0
  98. package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.js +23 -0
  99. package/dist/dto/instance-ai/instance-ai-preference-card-request.dto.js.map +1 -0
  100. package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.d.ts +71 -0
  101. package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.js +9 -0
  102. package/dist/dto/instance-ai/instance-ai-thread-tabs-request.dto.js.map +1 -0
  103. package/dist/dto/invitation/invite-users-request.dto.d.ts +1 -2
  104. package/dist/dto/invitation/invite-users-request.dto.js +3 -3
  105. package/dist/dto/invitation/invite-users-request.dto.js.map +1 -1
  106. package/dist/dto/oidc/config.dto.d.ts +0 -37
  107. package/dist/dto/oidc/config.dto.js +1 -11
  108. package/dist/dto/oidc/config.dto.js.map +1 -1
  109. package/dist/dto/oidc/oidc-configuration-public.dto.d.ts +142 -0
  110. package/dist/dto/oidc/oidc-configuration-public.dto.js +56 -0
  111. package/dist/dto/oidc/oidc-configuration-public.dto.js.map +1 -0
  112. package/dist/dto/oidc/oidc-configuration-public.openapi.d.ts +57 -0
  113. package/dist/dto/oidc/oidc-configuration-public.openapi.js +61 -0
  114. package/dist/dto/oidc/oidc-configuration-public.openapi.js.map +1 -0
  115. package/dist/dto/packages/import-package-request.dto.d.ts +16 -0
  116. package/dist/dto/packages/import-package-request.dto.js +54 -1
  117. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  118. package/dist/dto/project/project-public.dto.d.ts +42 -2
  119. package/dist/dto/project/project-public.dto.js +11 -1
  120. package/dist/dto/project/project-public.dto.js.map +1 -1
  121. package/dist/dto/project/update-project.dto.js +1 -11
  122. package/dist/dto/project/update-project.dto.js.map +1 -1
  123. package/dist/dto/promotions/promotable-resource.dto.d.ts +12 -3
  124. package/dist/dto/promotions/promotable-resource.dto.js +13 -2
  125. package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
  126. package/dist/dto/promotions/promotion-binding-preflight.dto.d.ts +189 -0
  127. package/dist/dto/promotions/promotion-binding-preflight.dto.js +12 -1
  128. package/dist/dto/promotions/promotion-binding-preflight.dto.js.map +1 -1
  129. package/dist/dto/promotions/promotion-operations.dto.d.ts +217 -0
  130. package/dist/dto/security-settings/security-policy-public.openapi.d.ts +42 -0
  131. package/dist/dto/security-settings/security-policy-public.openapi.js +46 -0
  132. package/dist/dto/security-settings/security-policy-public.openapi.js.map +1 -0
  133. package/dist/dto/security-settings/security-policy.dto.d.ts +125 -8
  134. package/dist/dto/security-settings/security-policy.dto.js +55 -7
  135. package/dist/dto/security-settings/security-policy.dto.js.map +1 -1
  136. package/dist/dto/user/create-users-public.dto.d.ts +69 -0
  137. package/dist/dto/user/create-users-public.dto.js +33 -0
  138. package/dist/dto/user/create-users-public.dto.js.map +1 -0
  139. package/dist/dto/user/delete-user-query-public.dto.d.ts +10 -0
  140. package/dist/dto/user/delete-user-query-public.dto.js +14 -0
  141. package/dist/dto/user/delete-user-query-public.dto.js.map +1 -0
  142. package/dist/dto/user/get-user-query.dto.d.ts +8 -0
  143. package/dist/dto/user/get-user-query.dto.js +11 -0
  144. package/dist/dto/user/get-user-query.dto.js.map +1 -0
  145. package/dist/dto/user/list-users-query.dto.d.ts +15 -0
  146. package/dist/dto/user/list-users-query.dto.js +16 -0
  147. package/dist/dto/user/list-users-query.dto.js.map +1 -0
  148. package/dist/dto/user/user-public.dto.d.ts +106 -0
  149. package/dist/dto/user/user-public.dto.js +37 -0
  150. package/dist/dto/user/user-public.dto.js.map +1 -0
  151. package/dist/dto/workflows/base-workflow-public.dto.d.ts +59 -1
  152. package/dist/dto/workflows/base-workflow-public.dto.js +3 -1
  153. package/dist/dto/workflows/base-workflow-public.dto.js.map +1 -1
  154. package/dist/dto/workflows/create-workflow-public.dto.d.ts +168 -107
  155. package/dist/dto/workflows/create-workflow-public.dto.js +6 -3
  156. package/dist/dto/workflows/create-workflow-public.dto.js.map +1 -1
  157. package/dist/dto/workflows/update-workflow-public.dto.d.ts +59 -1
  158. package/dist/dto/workflows/workflow-public.openapi.d.ts +4 -0
  159. package/dist/dto/workflows/workflow-public.openapi.js +4 -0
  160. package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
  161. package/dist/frontend-settings.d.ts +5 -0
  162. package/dist/index.d.ts +13 -9
  163. package/dist/index.js +42 -11
  164. package/dist/index.js.map +1 -1
  165. package/dist/instance-registry-types.d.ts +15 -15
  166. package/dist/instance-registry-types.js +2 -2
  167. package/dist/instance-registry-types.js.map +1 -1
  168. package/dist/push/agents.d.ts +9 -1
  169. package/dist/push/collaboration.d.ts +10 -7
  170. package/dist/schemas/agent-run-reducer.js +38 -0
  171. package/dist/schemas/agent-run-reducer.js.map +1 -1
  172. package/dist/schemas/ai-preference.schema.js.map +1 -1
  173. package/dist/schemas/breaking-changes.schema.d.ts +2 -0
  174. package/dist/schemas/breaking-changes.schema.js +8 -1
  175. package/dist/schemas/breaking-changes.schema.js.map +1 -1
  176. package/dist/schemas/folder.schema.d.ts +1 -0
  177. package/dist/schemas/folder.schema.js +4 -4
  178. package/dist/schemas/folder.schema.js.map +1 -1
  179. package/dist/schemas/instance-ai.schema.d.ts +2461 -106
  180. package/dist/schemas/instance-ai.schema.js +129 -14
  181. package/dist/schemas/instance-ai.schema.js.map +1 -1
  182. package/dist/schemas/llm-step-display.d.ts +41 -0
  183. package/dist/schemas/llm-step-display.js +242 -3
  184. package/dist/schemas/llm-step-display.js.map +1 -1
  185. package/dist/schemas/mcp.schema.d.ts +2 -2
  186. package/dist/schemas/mcp.schema.js +2 -0
  187. package/dist/schemas/mcp.schema.js.map +1 -1
  188. package/dist/schemas/project.schema.d.ts +16 -0
  189. package/dist/schemas/project.schema.js +9 -1
  190. package/dist/schemas/project.schema.js.map +1 -1
  191. package/dist/schemas/public-api-path-params.schema.d.ts +7 -0
  192. package/dist/schemas/public-api-path-params.schema.js +25 -1
  193. package/dist/schemas/public-api-path-params.schema.js.map +1 -1
  194. package/package.json +8 -6
  195. package/dist/dto/data-table/public-api-create-data-table.dto.d.ts +0 -33
  196. package/dist/dto/data-table/public-api-create-data-table.dto.js +0 -17
  197. package/dist/dto/data-table/public-api-create-data-table.dto.js.map +0 -1
  198. package/dist/dto/evaluations/public-api-test-run.dto.d.ts +0 -37
  199. package/dist/dto/evaluations/public-api-test-run.dto.js.map +0 -1
  200. package/dist/schemas/community-package.schema.d.ts +0 -13
  201. package/dist/schemas/community-package.schema.js +0 -17
  202. package/dist/schemas/community-package.schema.js.map +0 -1
@@ -0,0 +1,283 @@
1
+ import '../../openapi-extend';
2
+ import { z } from 'zod';
3
+ export declare const testRunStatusSchema: z.ZodEnum<["new", "running", "completed", "error", "cancelled"]>;
4
+ export type TestRunStatusPublic = z.infer<typeof testRunStatusSchema>;
5
+ export declare const testRunFinalResultSchema: z.ZodEnum<["success", "error", "warning"]>;
6
+ export declare const testRunSummaryPublicSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ status: z.ZodEnum<["new", "running", "completed", "error", "cancelled"]>;
9
+ runAt: z.ZodNullable<z.ZodString>;
10
+ completedAt: z.ZodNullable<z.ZodString>;
11
+ metrics: z.ZodType<Record<string, number | boolean> | null, z.ZodTypeDef, Record<string, number | boolean> | null>;
12
+ errorCode: z.ZodNullable<z.ZodString>;
13
+ errorDetails: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
14
+ finalResult: z.ZodNullable<z.ZodEnum<["success", "error", "warning"]>>;
15
+ testCaseCount: z.ZodNumber;
16
+ createdAt: z.ZodString;
17
+ updatedAt: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ id: string;
20
+ status: "cancelled" | "completed" | "error" | "new" | "running";
21
+ runAt: string | null;
22
+ completedAt: string | null;
23
+ metrics: Record<string, number | boolean> | null;
24
+ errorCode: string | null;
25
+ errorDetails: Record<string, unknown> | null;
26
+ finalResult: "error" | "success" | "warning" | null;
27
+ testCaseCount: number;
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ }, {
31
+ id: string;
32
+ status: "cancelled" | "completed" | "error" | "new" | "running";
33
+ runAt: string | null;
34
+ completedAt: string | null;
35
+ metrics: Record<string, number | boolean> | null;
36
+ errorCode: string | null;
37
+ errorDetails: Record<string, unknown> | null;
38
+ finalResult: "error" | "success" | "warning" | null;
39
+ testCaseCount: number;
40
+ createdAt: string;
41
+ updatedAt: string;
42
+ }>;
43
+ export type TestRunSummaryPublic = z.infer<typeof testRunSummaryPublicSchema>;
44
+ declare const TestRunSummaryPublicDto_base: import("../../zod-class").ZodClass<{
45
+ id: string;
46
+ status: "cancelled" | "completed" | "error" | "new" | "running";
47
+ runAt: string | null;
48
+ completedAt: string | null;
49
+ metrics: Record<string, number | boolean> | null;
50
+ errorCode: string | null;
51
+ errorDetails: Record<string, unknown> | null;
52
+ finalResult: "error" | "success" | "warning" | null;
53
+ testCaseCount: number;
54
+ createdAt: string;
55
+ updatedAt: string;
56
+ }, {
57
+ id: z.ZodString;
58
+ status: z.ZodEnum<["new", "running", "completed", "error", "cancelled"]>;
59
+ runAt: z.ZodNullable<z.ZodString>;
60
+ completedAt: z.ZodNullable<z.ZodString>;
61
+ metrics: z.ZodType<Record<string, number | boolean> | null, z.ZodTypeDef, Record<string, number | boolean> | null>;
62
+ errorCode: z.ZodNullable<z.ZodString>;
63
+ errorDetails: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
64
+ finalResult: z.ZodNullable<z.ZodEnum<["success", "error", "warning"]>>;
65
+ testCaseCount: z.ZodNumber;
66
+ createdAt: z.ZodString;
67
+ updatedAt: z.ZodString;
68
+ }>;
69
+ export declare class TestRunSummaryPublicDto extends TestRunSummaryPublicDto_base {
70
+ }
71
+ declare const TestRunListPublicDto_base: import("../../zod-class").ZodClass<{
72
+ data: {
73
+ id: string;
74
+ status: "cancelled" | "completed" | "error" | "new" | "running";
75
+ runAt: string | null;
76
+ completedAt: string | null;
77
+ metrics: Record<string, number | boolean> | null;
78
+ errorCode: string | null;
79
+ errorDetails: Record<string, unknown> | null;
80
+ finalResult: "error" | "success" | "warning" | null;
81
+ testCaseCount: number;
82
+ createdAt: string;
83
+ updatedAt: string;
84
+ }[];
85
+ nextCursor: string | null;
86
+ }, {
87
+ data: z.ZodArray<z.ZodObject<{
88
+ id: z.ZodString;
89
+ status: z.ZodEnum<["new", "running", "completed", "error", "cancelled"]>;
90
+ runAt: z.ZodNullable<z.ZodString>;
91
+ completedAt: z.ZodNullable<z.ZodString>;
92
+ metrics: z.ZodType<Record<string, number | boolean> | null, z.ZodTypeDef, Record<string, number | boolean> | null>;
93
+ errorCode: z.ZodNullable<z.ZodString>;
94
+ errorDetails: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
95
+ finalResult: z.ZodNullable<z.ZodEnum<["success", "error", "warning"]>>;
96
+ testCaseCount: z.ZodNumber;
97
+ createdAt: z.ZodString;
98
+ updatedAt: z.ZodString;
99
+ }, "strip", z.ZodTypeAny, {
100
+ id: string;
101
+ status: "cancelled" | "completed" | "error" | "new" | "running";
102
+ runAt: string | null;
103
+ completedAt: string | null;
104
+ metrics: Record<string, number | boolean> | null;
105
+ errorCode: string | null;
106
+ errorDetails: Record<string, unknown> | null;
107
+ finalResult: "error" | "success" | "warning" | null;
108
+ testCaseCount: number;
109
+ createdAt: string;
110
+ updatedAt: string;
111
+ }, {
112
+ id: string;
113
+ status: "cancelled" | "completed" | "error" | "new" | "running";
114
+ runAt: string | null;
115
+ completedAt: string | null;
116
+ metrics: Record<string, number | boolean> | null;
117
+ errorCode: string | null;
118
+ errorDetails: Record<string, unknown> | null;
119
+ finalResult: "error" | "success" | "warning" | null;
120
+ testCaseCount: number;
121
+ createdAt: string;
122
+ updatedAt: string;
123
+ }>, "many">;
124
+ nextCursor: z.ZodNullable<z.ZodString>;
125
+ }>;
126
+ export declare class TestRunListPublicDto extends TestRunListPublicDto_base {
127
+ }
128
+ declare const ListTestRunsQueryPublicDto_base: import("../../zod-class").ZodClass<{
129
+ limit: number;
130
+ cursor?: string | undefined;
131
+ status?: "cancelled" | "completed" | "error" | "new" | "running" | undefined;
132
+ }, {
133
+ limit: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
134
+ cursor: z.ZodOptional<z.ZodString>;
135
+ status: z.ZodOptional<z.ZodEnum<["new", "running", "completed", "error", "cancelled"]>>;
136
+ }>;
137
+ export declare class ListTestRunsQueryPublicDto extends ListTestRunsQueryPublicDto_base {
138
+ }
139
+ declare const CreatedTestRunPublicDto_base: import("../../zod-class").ZodClass<{
140
+ id: string;
141
+ status: "cancelled" | "completed" | "error" | "new" | "running";
142
+ createdAt: string;
143
+ }, {
144
+ id: z.ZodString;
145
+ status: z.ZodEnum<["new", "running", "completed", "error", "cancelled"]>;
146
+ createdAt: z.ZodString;
147
+ }>;
148
+ export declare class CreatedTestRunPublicDto extends CreatedTestRunPublicDto_base {
149
+ }
150
+ export declare const testCaseExecutionStatusSchema: z.ZodEnum<["new", "running", "evaluation_running", "success", "error", "warning", "cancelled"]>;
151
+ export type TestCaseExecutionStatusPublic = z.infer<typeof testCaseExecutionStatusSchema>;
152
+ export declare const testCaseExecutionPublicSchema: z.ZodObject<{
153
+ id: z.ZodString;
154
+ status: z.ZodEnum<["new", "running", "evaluation_running", "success", "error", "warning", "cancelled"]>;
155
+ runAt: z.ZodNullable<z.ZodString>;
156
+ completedAt: z.ZodNullable<z.ZodString>;
157
+ metrics: z.ZodType<Record<string, number | boolean> | null, z.ZodTypeDef, Record<string, number | boolean> | null>;
158
+ errorCode: z.ZodNullable<z.ZodString>;
159
+ errorDetails: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
160
+ inputs: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
161
+ outputs: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
162
+ executionId: z.ZodNullable<z.ZodNumber>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ id: string;
165
+ status: "cancelled" | "error" | "evaluation_running" | "new" | "running" | "success" | "warning";
166
+ runAt: string | null;
167
+ completedAt: string | null;
168
+ metrics: Record<string, number | boolean> | null;
169
+ errorCode: string | null;
170
+ errorDetails: Record<string, unknown> | null;
171
+ inputs: Record<string, unknown> | null;
172
+ outputs: Record<string, unknown> | null;
173
+ executionId: number | null;
174
+ }, {
175
+ id: string;
176
+ status: "cancelled" | "error" | "evaluation_running" | "new" | "running" | "success" | "warning";
177
+ runAt: string | null;
178
+ completedAt: string | null;
179
+ metrics: Record<string, number | boolean> | null;
180
+ errorCode: string | null;
181
+ errorDetails: Record<string, unknown> | null;
182
+ inputs: Record<string, unknown> | null;
183
+ outputs: Record<string, unknown> | null;
184
+ executionId: number | null;
185
+ }>;
186
+ export type TestCaseExecutionPublic = z.infer<typeof testCaseExecutionPublicSchema>;
187
+ declare const TestCaseExecutionPublicDto_base: import("../../zod-class").ZodClass<{
188
+ id: string;
189
+ status: "cancelled" | "error" | "evaluation_running" | "new" | "running" | "success" | "warning";
190
+ runAt: string | null;
191
+ completedAt: string | null;
192
+ metrics: Record<string, number | boolean> | null;
193
+ errorCode: string | null;
194
+ errorDetails: Record<string, unknown> | null;
195
+ inputs: Record<string, unknown> | null;
196
+ outputs: Record<string, unknown> | null;
197
+ executionId: number | null;
198
+ }, {
199
+ id: z.ZodString;
200
+ status: z.ZodEnum<["new", "running", "evaluation_running", "success", "error", "warning", "cancelled"]>;
201
+ runAt: z.ZodNullable<z.ZodString>;
202
+ completedAt: z.ZodNullable<z.ZodString>;
203
+ metrics: z.ZodType<Record<string, number | boolean> | null, z.ZodTypeDef, Record<string, number | boolean> | null>;
204
+ errorCode: z.ZodNullable<z.ZodString>;
205
+ errorDetails: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
206
+ inputs: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
207
+ outputs: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
208
+ executionId: z.ZodNullable<z.ZodNumber>;
209
+ }>;
210
+ export declare class TestCaseExecutionPublicDto extends TestCaseExecutionPublicDto_base {
211
+ }
212
+ declare const TestCaseExecutionListPublicDto_base: import("../../zod-class").ZodClass<{
213
+ data: {
214
+ id: string;
215
+ status: "cancelled" | "error" | "evaluation_running" | "new" | "running" | "success" | "warning";
216
+ runAt: string | null;
217
+ completedAt: string | null;
218
+ metrics: Record<string, number | boolean> | null;
219
+ errorCode: string | null;
220
+ errorDetails: Record<string, unknown> | null;
221
+ inputs: Record<string, unknown> | null;
222
+ outputs: Record<string, unknown> | null;
223
+ executionId: number | null;
224
+ }[];
225
+ nextCursor: string | null;
226
+ }, {
227
+ data: z.ZodArray<z.ZodObject<{
228
+ id: z.ZodString;
229
+ status: z.ZodEnum<["new", "running", "evaluation_running", "success", "error", "warning", "cancelled"]>;
230
+ runAt: z.ZodNullable<z.ZodString>;
231
+ completedAt: z.ZodNullable<z.ZodString>;
232
+ metrics: z.ZodType<Record<string, number | boolean> | null, z.ZodTypeDef, Record<string, number | boolean> | null>;
233
+ errorCode: z.ZodNullable<z.ZodString>;
234
+ errorDetails: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
235
+ inputs: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
236
+ outputs: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
237
+ executionId: z.ZodNullable<z.ZodNumber>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ id: string;
240
+ status: "cancelled" | "error" | "evaluation_running" | "new" | "running" | "success" | "warning";
241
+ runAt: string | null;
242
+ completedAt: string | null;
243
+ metrics: Record<string, number | boolean> | null;
244
+ errorCode: string | null;
245
+ errorDetails: Record<string, unknown> | null;
246
+ inputs: Record<string, unknown> | null;
247
+ outputs: Record<string, unknown> | null;
248
+ executionId: number | null;
249
+ }, {
250
+ id: string;
251
+ status: "cancelled" | "error" | "evaluation_running" | "new" | "running" | "success" | "warning";
252
+ runAt: string | null;
253
+ completedAt: string | null;
254
+ metrics: Record<string, number | boolean> | null;
255
+ errorCode: string | null;
256
+ errorDetails: Record<string, unknown> | null;
257
+ inputs: Record<string, unknown> | null;
258
+ outputs: Record<string, unknown> | null;
259
+ executionId: number | null;
260
+ }>, "many">;
261
+ nextCursor: z.ZodNullable<z.ZodString>;
262
+ }>;
263
+ export declare class TestCaseExecutionListPublicDto extends TestCaseExecutionListPublicDto_base {
264
+ }
265
+ declare const ListTestCasesQueryPublicDto_base: import("../../zod-class").ZodClass<{
266
+ limit: number;
267
+ cursor?: string | undefined;
268
+ }, {
269
+ limit: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
270
+ cursor: z.ZodOptional<z.ZodString>;
271
+ }>;
272
+ export declare class ListTestCasesQueryPublicDto extends ListTestCasesQueryPublicDto_base {
273
+ }
274
+ declare const CancelledTestRunPublicDto_base: import("../../zod-class").ZodClass<{
275
+ id: string;
276
+ status: "cancelled";
277
+ }, {
278
+ id: z.ZodString;
279
+ status: z.ZodLiteral<"cancelled">;
280
+ }>;
281
+ export declare class CancelledTestRunPublicDto extends CancelledTestRunPublicDto_base {
282
+ }
283
+ export {};
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CancelledTestRunPublicDto = exports.ListTestCasesQueryPublicDto = exports.TestCaseExecutionListPublicDto = exports.TestCaseExecutionPublicDto = exports.testCaseExecutionPublicSchema = exports.testCaseExecutionStatusSchema = exports.CreatedTestRunPublicDto = exports.ListTestRunsQueryPublicDto = exports.TestRunListPublicDto = exports.TestRunSummaryPublicDto = exports.testRunSummaryPublicSchema = exports.testRunFinalResultSchema = exports.testRunStatusSchema = void 0;
4
+ require("../../openapi-extend");
5
+ const zod_1 = require("zod");
6
+ const test_run_public_openapi_1 = require("./test-run-public.openapi");
7
+ const object_guard_schema_1 = require("../../schemas/object-guard.schema");
8
+ const zod_class_1 = require("../../zod-class");
9
+ const pagination_dto_1 = require("../pagination/pagination.dto");
10
+ exports.testRunStatusSchema = zod_1.z.enum(['new', 'running', 'completed', 'error', 'cancelled']);
11
+ exports.testRunFinalResultSchema = zod_1.z.enum(['success', 'error', 'warning']);
12
+ exports.testRunSummaryPublicSchema = zod_1.z.object({
13
+ id: zod_1.z.string().openapi(test_run_public_openapi_1.testRunFieldDocs.id),
14
+ status: exports.testRunStatusSchema,
15
+ runAt: zod_1.z.string().datetime().nullable(),
16
+ completedAt: zod_1.z.string().datetime().nullable(),
17
+ metrics: (0, object_guard_schema_1.nullableObjectGuardSchema)().openapi(test_run_public_openapi_1.testRunFieldDocs.metrics),
18
+ errorCode: zod_1.z.string().nullable(),
19
+ errorDetails: (0, object_guard_schema_1.nullableObjectGuardSchema)().openapi(test_run_public_openapi_1.testRunFieldDocs.errorDetails),
20
+ finalResult: exports.testRunFinalResultSchema.nullable().openapi(test_run_public_openapi_1.testRunFieldDocs.finalResult),
21
+ testCaseCount: zod_1.z.number().int().openapi(test_run_public_openapi_1.testRunFieldDocs.testCaseCount),
22
+ createdAt: zod_1.z.string().datetime(),
23
+ updatedAt: zod_1.z.string().datetime(),
24
+ });
25
+ class TestRunSummaryPublicDto extends zod_class_1.Z.class(exports.testRunSummaryPublicSchema.shape) {
26
+ }
27
+ exports.TestRunSummaryPublicDto = TestRunSummaryPublicDto;
28
+ class TestRunListPublicDto extends zod_class_1.Z.class({
29
+ data: zod_1.z.array(exports.testRunSummaryPublicSchema),
30
+ nextCursor: zod_1.z.string().nullable().openapi(test_run_public_openapi_1.testRunListFieldDocs.nextCursor),
31
+ }) {
32
+ }
33
+ exports.TestRunListPublicDto = TestRunListPublicDto;
34
+ class ListTestRunsQueryPublicDto extends zod_class_1.Z.class({
35
+ limit: pagination_dto_1.publicApiPaginationSchema.limit,
36
+ cursor: zod_1.z.string().optional(),
37
+ status: exports.testRunStatusSchema.optional().openapi(test_run_public_openapi_1.listTestRunsQueryFieldDocs.status),
38
+ }) {
39
+ }
40
+ exports.ListTestRunsQueryPublicDto = ListTestRunsQueryPublicDto;
41
+ class CreatedTestRunPublicDto extends zod_class_1.Z.class({
42
+ id: zod_1.z.string().openapi(test_run_public_openapi_1.testRunFieldDocs.id),
43
+ status: exports.testRunStatusSchema,
44
+ createdAt: zod_1.z.string().datetime(),
45
+ }) {
46
+ }
47
+ exports.CreatedTestRunPublicDto = CreatedTestRunPublicDto;
48
+ exports.testCaseExecutionStatusSchema = zod_1.z.enum([
49
+ 'new',
50
+ 'running',
51
+ 'evaluation_running',
52
+ 'success',
53
+ 'error',
54
+ 'warning',
55
+ 'cancelled',
56
+ ]);
57
+ exports.testCaseExecutionPublicSchema = zod_1.z.object({
58
+ id: zod_1.z.string().openapi(test_run_public_openapi_1.testCaseExecutionFieldDocs.id),
59
+ status: exports.testCaseExecutionStatusSchema,
60
+ runAt: zod_1.z.string().datetime().nullable(),
61
+ completedAt: zod_1.z.string().datetime().nullable(),
62
+ metrics: (0, object_guard_schema_1.nullableObjectGuardSchema)().openapi(test_run_public_openapi_1.testCaseExecutionFieldDocs.metrics),
63
+ errorCode: zod_1.z.string().nullable(),
64
+ errorDetails: (0, object_guard_schema_1.nullableObjectGuardSchema)().openapi(test_run_public_openapi_1.testCaseExecutionFieldDocs.errorDetails),
65
+ inputs: (0, object_guard_schema_1.nullableObjectGuardSchema)().openapi(test_run_public_openapi_1.testCaseExecutionFieldDocs.inputs),
66
+ outputs: (0, object_guard_schema_1.nullableObjectGuardSchema)().openapi(test_run_public_openapi_1.testCaseExecutionFieldDocs.outputs),
67
+ executionId: zod_1.z.number().int().nullable().openapi(test_run_public_openapi_1.testCaseExecutionFieldDocs.executionId),
68
+ });
69
+ class TestCaseExecutionPublicDto extends zod_class_1.Z.class(exports.testCaseExecutionPublicSchema.shape) {
70
+ }
71
+ exports.TestCaseExecutionPublicDto = TestCaseExecutionPublicDto;
72
+ class TestCaseExecutionListPublicDto extends zod_class_1.Z.class({
73
+ data: zod_1.z.array(exports.testCaseExecutionPublicSchema),
74
+ nextCursor: zod_1.z.string().nullable().openapi(test_run_public_openapi_1.testCaseExecutionListFieldDocs.nextCursor),
75
+ }) {
76
+ }
77
+ exports.TestCaseExecutionListPublicDto = TestCaseExecutionListPublicDto;
78
+ class ListTestCasesQueryPublicDto extends zod_class_1.Z.class({
79
+ limit: pagination_dto_1.publicApiPaginationSchema.limit,
80
+ cursor: zod_1.z.string().optional(),
81
+ }) {
82
+ }
83
+ exports.ListTestCasesQueryPublicDto = ListTestCasesQueryPublicDto;
84
+ class CancelledTestRunPublicDto extends zod_class_1.Z.class({
85
+ id: zod_1.z.string().openapi(test_run_public_openapi_1.testRunFieldDocs.id),
86
+ status: zod_1.z.literal('cancelled'),
87
+ }) {
88
+ }
89
+ exports.CancelledTestRunPublicDto = CancelledTestRunPublicDto;
90
+ //# sourceMappingURL=test-run-public.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-run-public.dto.js","sourceRoot":"","sources":["../../../src/dto/evaluations/test-run-public.dto.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,43 @@
1
+ import type { ZodOpenAPIMetadata } from '@asteasolutions/zod-to-openapi';
2
+ export declare const testRunFieldDocs: {
3
+ readonly id: {
4
+ readonly example: '9f8e7d6c5b4a3210';
5
+ };
6
+ readonly metrics: ZodOpenAPIMetadata;
7
+ readonly errorDetails: ZodOpenAPIMetadata;
8
+ readonly finalResult: {
9
+ readonly description: 'Overall result of the run, derived from its test cases once completed.';
10
+ };
11
+ readonly testCaseCount: {
12
+ readonly example: 42;
13
+ };
14
+ };
15
+ export declare const testRunListFieldDocs: {
16
+ readonly nextCursor: {
17
+ readonly description: string;
18
+ readonly example: 'MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA';
19
+ };
20
+ };
21
+ export declare const listTestRunsQueryFieldDocs: {
22
+ readonly status: {
23
+ readonly description: 'Status to filter the test runs by.';
24
+ };
25
+ };
26
+ export declare const testCaseExecutionFieldDocs: {
27
+ readonly id: {
28
+ readonly example: '1a2b3c4d5e6f7080';
29
+ };
30
+ readonly metrics: ZodOpenAPIMetadata;
31
+ readonly errorDetails: ZodOpenAPIMetadata;
32
+ readonly inputs: ZodOpenAPIMetadata;
33
+ readonly outputs: ZodOpenAPIMetadata;
34
+ readonly executionId: {
35
+ readonly description: 'ID of the underlying workflow execution, if still retained.';
36
+ };
37
+ };
38
+ export declare const testCaseExecutionListFieldDocs: {
39
+ readonly nextCursor: {
40
+ readonly description: string;
41
+ readonly example: 'MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA';
42
+ };
43
+ };
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.testCaseExecutionListFieldDocs = exports.testCaseExecutionFieldDocs = exports.listTestRunsQueryFieldDocs = exports.testRunListFieldDocs = exports.testRunFieldDocs = void 0;
4
+ const openapi_nullable_1 = require("../openapi-nullable");
5
+ exports.testRunFieldDocs = {
6
+ id: { example: '9f8e7d6c5b4a3210' },
7
+ metrics: (0, openapi_nullable_1.alsoNullable)({
8
+ type: 'object',
9
+ additionalProperties: true,
10
+ description: "Aggregated metrics collected across the run's test cases.",
11
+ }),
12
+ errorDetails: (0, openapi_nullable_1.alsoNullable)({ type: 'object', additionalProperties: true }),
13
+ finalResult: {
14
+ description: 'Overall result of the run, derived from its test cases once completed.',
15
+ },
16
+ testCaseCount: { example: 42 },
17
+ };
18
+ exports.testRunListFieldDocs = {
19
+ nextCursor: {
20
+ description: 'Paginate through test runs by setting the cursor parameter to the nextCursor attribute ' +
21
+ 'returned by a previous request. Default value fetches the first "page" of the collection.',
22
+ example: 'MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA',
23
+ },
24
+ };
25
+ exports.listTestRunsQueryFieldDocs = {
26
+ status: { description: 'Status to filter the test runs by.' },
27
+ };
28
+ exports.testCaseExecutionFieldDocs = {
29
+ id: { example: '1a2b3c4d5e6f7080' },
30
+ metrics: (0, openapi_nullable_1.alsoNullable)({
31
+ type: 'object',
32
+ additionalProperties: true,
33
+ description: 'Metrics produced by this test case.',
34
+ }),
35
+ errorDetails: (0, openapi_nullable_1.alsoNullable)({ type: 'object', additionalProperties: true }),
36
+ inputs: (0, openapi_nullable_1.alsoNullable)({
37
+ type: 'object',
38
+ additionalProperties: true,
39
+ description: 'Input data for this test case.',
40
+ }),
41
+ outputs: (0, openapi_nullable_1.alsoNullable)({
42
+ type: 'object',
43
+ additionalProperties: true,
44
+ description: 'Output data produced by this test case.',
45
+ }),
46
+ executionId: { description: 'ID of the underlying workflow execution, if still retained.' },
47
+ };
48
+ exports.testCaseExecutionListFieldDocs = {
49
+ nextCursor: {
50
+ description: 'Paginate through test cases by setting the cursor parameter to the nextCursor attribute ' +
51
+ 'returned by a previous request. Default value fetches the first "page" of the collection.',
52
+ example: 'MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA',
53
+ },
54
+ };
55
+ //# sourceMappingURL=test-run-public.openapi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-run-public.openapi.js","sourceRoot":"","sources":["../../../src/dto/evaluations/test-run-public.openapi.ts"],"names":[],"mappings":";;;AAEA,0DAAmD;AAEtC,QAAA,gBAAgB,GAAG;IAC/B,EAAE,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE;IACnC,OAAO,EAAE,IAAA,+BAAY,EAAC;QACrB,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,IAAI;QAC1B,WAAW,EAAE,2DAA2D;KACxE,CAAC;IACF,YAAY,EAAE,IAAA,+BAAY,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;IAC1E,WAAW,EAAE;QACZ,WAAW,EAAE,wEAAwE;KACrF;IACD,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;CACwB,CAAC;AAE3C,QAAA,oBAAoB,GAAG;IACnC,UAAU,EAAE;QACX,WAAW,EACV,yFAAyF;YACzF,2FAA2F;QAC5F,OAAO,EAAE,iDAAiD;KAC1D;CACqD,CAAC;AAE3C,QAAA,0BAA0B,GAAG;IACzC,MAAM,EAAE,EAAE,WAAW,EAAE,oCAAoC,EAAE;CACP,CAAC;AAE3C,QAAA,0BAA0B,GAAG;IACzC,EAAE,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE;IACnC,OAAO,EAAE,IAAA,+BAAY,EAAC;QACrB,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,IAAI;QAC1B,WAAW,EAAE,qCAAqC;KAClD,CAAC;IACF,YAAY,EAAE,IAAA,+BAAY,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;IAC1E,MAAM,EAAE,IAAA,+BAAY,EAAC;QACpB,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,IAAI;QAC1B,WAAW,EAAE,gCAAgC;KAC7C,CAAC;IACF,OAAO,EAAE,IAAA,+BAAY,EAAC;QACrB,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,IAAI;QAC1B,WAAW,EAAE,yCAAyC;KACtD,CAAC;IACF,WAAW,EAAE,EAAE,WAAW,EAAE,6DAA6D,EAAE;CACrC,CAAC;AAE3C,QAAA,8BAA8B,GAAG;IAC7C,UAAU,EAAE;QACX,WAAW,EACV,0FAA0F;YAC1F,2FAA2F;QAC5F,OAAO,EAAE,iDAAiD;KAC1D;CACqD,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import '../../openapi-extend';
2
2
  import { z } from 'zod';
3
+ export declare const folderProjectIdParamSchema: z.ZodString;
3
4
  export declare const folderPublicSchema: z.ZodObject<{
4
5
  id: z.ZodString;
5
6
  name: z.ZodOptional<z.ZodString>;
@@ -399,6 +400,21 @@ declare const ListFoldersQueryPublicDto_base: import("../../zod-class").ZodClass
399
400
  }>;
400
401
  export declare class ListFoldersQueryPublicDto extends ListFoldersQueryPublicDto_base {
401
402
  }
403
+ declare const UpdatedFolderPublicDto_base: import("../../zod-class").ZodClass<{
404
+ id: string;
405
+ name: string;
406
+ parentFolderId: string | null;
407
+ createdAt: string;
408
+ updatedAt: string;
409
+ }, {
410
+ id: z.ZodString;
411
+ name: z.ZodString;
412
+ parentFolderId: z.ZodNullable<z.ZodString>;
413
+ createdAt: z.ZodString;
414
+ updatedAt: z.ZodString;
415
+ }>;
416
+ export declare class UpdatedFolderPublicDto extends UpdatedFolderPublicDto_base {
417
+ }
402
418
  declare const FolderDetailsPublicDto_base: import("../../zod-class").ZodClass<{
403
419
  id: string;
404
420
  name: string;
@@ -418,4 +434,84 @@ declare const FolderDetailsPublicDto_base: import("../../zod-class").ZodClass<{
418
434
  }>;
419
435
  export declare class FolderDetailsPublicDto extends FolderDetailsPublicDto_base {
420
436
  }
437
+ declare const updateFolderPublicSchema: z.ZodEffects<z.ZodObject<{
438
+ name: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
439
+ parentFolderId: z.ZodOptional<z.ZodString>;
440
+ }, "strict", z.ZodTypeAny, {
441
+ name?: string | undefined;
442
+ parentFolderId?: string | undefined;
443
+ }, {
444
+ name?: string | undefined;
445
+ parentFolderId?: string | undefined;
446
+ }>, {
447
+ name?: string | undefined;
448
+ parentFolderId?: string | undefined;
449
+ }, {
450
+ name?: string | undefined;
451
+ parentFolderId?: string | undefined;
452
+ }>;
453
+ type UpdateFolderPublic = z.infer<typeof updateFolderPublicSchema>;
454
+ export declare class UpdateFolderPublicDto implements UpdateFolderPublic {
455
+ name?: string;
456
+ parentFolderId?: string;
457
+ static schema: z.ZodEffects<z.ZodObject<{
458
+ name: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
459
+ parentFolderId: z.ZodOptional<z.ZodString>;
460
+ }, "strict", z.ZodTypeAny, {
461
+ name?: string | undefined;
462
+ parentFolderId?: string | undefined;
463
+ }, {
464
+ name?: string | undefined;
465
+ parentFolderId?: string | undefined;
466
+ }>, {
467
+ name?: string | undefined;
468
+ parentFolderId?: string | undefined;
469
+ }, {
470
+ name?: string | undefined;
471
+ parentFolderId?: string | undefined;
472
+ }>;
473
+ constructor(data: UpdateFolderPublic);
474
+ static safeParse(data: unknown): z.SafeParseReturnType<{
475
+ name?: string | undefined;
476
+ parentFolderId?: string | undefined;
477
+ }, {
478
+ name?: string | undefined;
479
+ parentFolderId?: string | undefined;
480
+ }>;
481
+ static parse(data: unknown): {
482
+ name?: string | undefined;
483
+ parentFolderId?: string | undefined;
484
+ };
485
+ }
486
+ declare const DeleteFolderQueryPublicDto_base: import("../../zod-class").ZodClass<{
487
+ transferToFolderId?: string | undefined;
488
+ }, {
489
+ transferToFolderId: z.ZodOptional<z.ZodString>;
490
+ }>;
491
+ export declare class DeleteFolderQueryPublicDto extends DeleteFolderQueryPublicDto_base {
492
+ }
493
+ declare const CreateFolderPublicDto_base: import("../../zod-class").ZodClass<{
494
+ name: string;
495
+ parentFolderId?: string | undefined;
496
+ }, {
497
+ name: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>;
498
+ parentFolderId: z.ZodOptional<z.ZodString>;
499
+ }>;
500
+ export declare class CreateFolderPublicDto extends CreateFolderPublicDto_base {
501
+ }
502
+ declare const CreatedFolderPublicDto_base: import("../../zod-class").ZodClass<{
503
+ id: string;
504
+ name: string;
505
+ parentFolderId: string | null;
506
+ createdAt: string;
507
+ updatedAt: string;
508
+ }, {
509
+ id: z.ZodString;
510
+ name: z.ZodString;
511
+ parentFolderId: z.ZodNullable<z.ZodString>;
512
+ createdAt: z.ZodString;
513
+ updatedAt: z.ZodString;
514
+ }>;
515
+ export declare class CreatedFolderPublicDto extends CreatedFolderPublicDto_base {
516
+ }
421
517
  export {};