@n8n/api-types 1.37.2 → 1.38.1
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.
- package/dist/agents/index.d.ts +1 -0
- package/dist/agents/index.js +1 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/model-providers.d.ts +4 -1
- package/dist/agents/model-providers.js +6 -0
- package/dist/agents/model-providers.js.map +1 -1
- package/dist/agents/provider-capabilities.js +14 -0
- package/dist/agents/provider-capabilities.js.map +1 -1
- package/dist/agents/sub-agent.schema.d.ts +1 -1
- package/dist/agents/types.d.ts +8 -2
- package/dist/agents/types.js +1 -4
- package/dist/agents/types.js.map +1 -1
- package/dist/agents/workflow-wait.d.ts +4 -0
- package/dist/agents/workflow-wait.js +8 -0
- package/dist/agents/workflow-wait.js.map +1 -0
- package/dist/build.tsbuildinfo +1 -1
- package/dist/dto/git-connections/git-connections.dto.d.ts +854 -0
- package/dist/dto/git-connections/git-connections.dto.js +46 -3
- package/dist/dto/git-connections/git-connections.dto.js.map +1 -1
- package/dist/dto/index.d.ts +5 -3
- package/dist/dto/index.js +13 -4
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +114 -0
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js +1 -1
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js.map +1 -1
- package/dist/dto/workflow-reviews/get-workflow-review-request-detail.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow-public.dto.d.ts +287 -0
- package/dist/dto/workflows/base-workflow-public.dto.js +161 -0
- package/dist/dto/workflows/base-workflow-public.dto.js.map +1 -0
- package/dist/dto/workflows/create-workflow-public.dto.d.ts +108 -111
- package/dist/dto/workflows/create-workflow-public.dto.js +2 -158
- package/dist/dto/workflows/create-workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/publish-workflow-public.dto.d.ts +24 -0
- package/dist/dto/workflows/publish-workflow-public.dto.js +17 -1
- package/dist/dto/workflows/publish-workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/update-workflow-public.dto.d.ts +371 -0
- package/dist/dto/workflows/update-workflow-public.dto.js +20 -0
- package/dist/dto/workflows/update-workflow-public.dto.js.map +1 -0
- package/dist/dto/workflows/update-workflow-query.dto.d.ts +9 -0
- package/dist/dto/workflows/update-workflow-query.dto.js +13 -0
- package/dist/dto/workflows/update-workflow-query.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-public.dto.d.ts +1116 -0
- package/dist/dto/workflows/workflow-public.dto.js +16 -1
- package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/workflow-public.openapi.d.ts +12 -0
- package/dist/dto/workflows/workflow-public.openapi.js +15 -1
- package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/dist/schemas/content-import-policy-result.schema.d.ts +67 -0
- package/dist/schemas/content-import-policy-result.schema.js +11 -0
- package/dist/schemas/content-import-policy-result.schema.js.map +1 -0
- package/dist/schemas/instance-ai.schema.d.ts +11 -3
- package/dist/schemas/instance-ai.schema.js +28 -9
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/policy-check-failure.schema.d.ts +12 -0
- package/dist/schemas/policy-check-failure.schema.js +9 -0
- package/dist/schemas/policy-check-failure.schema.js.map +1 -0
- package/dist/schemas/policy-violation.schema.d.ts +27 -0
- package/dist/schemas/policy-violation.schema.js +14 -0
- package/dist/schemas/policy-violation.schema.js.map +1 -0
- package/dist/schemas/source-controlled-file.schema.d.ts +98 -0
- package/dist/schemas/source-controlled-file.schema.js +3 -0
- package/dist/schemas/source-controlled-file.schema.js.map +1 -1
- package/dist/workflow-review-activity.d.ts +3 -2
- package/dist/workflow-review-activity.js.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const UpdateWorkflowPublicDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
id?: undefined;
|
|
4
|
+
name: string;
|
|
5
|
+
active?: undefined;
|
|
6
|
+
createdAt?: undefined;
|
|
7
|
+
updatedAt?: undefined;
|
|
8
|
+
isArchived?: undefined;
|
|
9
|
+
versionId?: undefined;
|
|
10
|
+
triggerCount?: undefined;
|
|
11
|
+
nodes: {
|
|
12
|
+
id?: string | undefined;
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
webhookId?: string | undefined;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
|
+
notesInFlow?: boolean | undefined;
|
|
17
|
+
notes?: string | undefined;
|
|
18
|
+
type?: string | undefined;
|
|
19
|
+
typeVersion?: number | undefined;
|
|
20
|
+
executeOnce?: boolean | undefined;
|
|
21
|
+
alwaysOutputData?: boolean | undefined;
|
|
22
|
+
retryOnFail?: boolean | undefined;
|
|
23
|
+
maxTries?: number | undefined;
|
|
24
|
+
waitBetweenTries?: number | undefined;
|
|
25
|
+
continueOnFail?: boolean | undefined;
|
|
26
|
+
onError?: string | undefined;
|
|
27
|
+
position?: number[] | undefined;
|
|
28
|
+
parameters?: Record<string, unknown> | undefined;
|
|
29
|
+
credentials?: Record<string, unknown> | undefined;
|
|
30
|
+
customTelemetryTags?: {
|
|
31
|
+
tag?: {
|
|
32
|
+
key: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}[] | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
createdAt?: undefined;
|
|
37
|
+
updatedAt?: undefined;
|
|
38
|
+
}[];
|
|
39
|
+
connections: import("n8n-workflow").IConnections;
|
|
40
|
+
settings: {
|
|
41
|
+
saveExecutionProgress?: boolean | undefined;
|
|
42
|
+
saveManualExecutions?: boolean | undefined;
|
|
43
|
+
saveDataErrorExecution?: "all" | "none" | undefined;
|
|
44
|
+
saveDataSuccessExecution?: "all" | "none" | undefined;
|
|
45
|
+
executionTimeout?: number | undefined;
|
|
46
|
+
errorWorkflow?: string | undefined;
|
|
47
|
+
timezone?: string | undefined;
|
|
48
|
+
executionOrder?: string | undefined;
|
|
49
|
+
callerPolicy?: "any" | "none" | "workflowsFromAList" | "workflowsFromSameOwner" | undefined;
|
|
50
|
+
callerIds?: string | undefined;
|
|
51
|
+
timeSavedMode?: "dynamic" | "fixed" | undefined;
|
|
52
|
+
timeSavedPerExecution?: number | undefined;
|
|
53
|
+
redactionPolicy?: "all" | "manual-only" | "non-manual" | "none" | undefined;
|
|
54
|
+
availableInMCP?: boolean | undefined;
|
|
55
|
+
customTelemetryTags?: {
|
|
56
|
+
key: string;
|
|
57
|
+
value: string;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
};
|
|
60
|
+
nodeGroups?: {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
description?: string | undefined;
|
|
64
|
+
nodeIds: string[];
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
staticData?: string | Record<string, unknown> | null | undefined;
|
|
67
|
+
pinData?: Record<string, unknown> | null | undefined;
|
|
68
|
+
meta?: undefined;
|
|
69
|
+
tags?: undefined;
|
|
70
|
+
shared?: {
|
|
71
|
+
role?: string | undefined;
|
|
72
|
+
workflowId?: string | undefined;
|
|
73
|
+
projectId?: string | undefined;
|
|
74
|
+
project?: z.objectOutputType<{
|
|
75
|
+
id: z.ZodUndefined;
|
|
76
|
+
name: z.ZodOptional<z.ZodString>;
|
|
77
|
+
type: z.ZodUndefined;
|
|
78
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
79
|
+
createdAt?: undefined;
|
|
80
|
+
updatedAt?: undefined;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
activeVersion?: undefined;
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
parentFolderId?: string | null | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
id: z.ZodUndefined;
|
|
87
|
+
name: z.ZodString;
|
|
88
|
+
active: z.ZodUndefined;
|
|
89
|
+
createdAt: z.ZodUndefined;
|
|
90
|
+
updatedAt: z.ZodUndefined;
|
|
91
|
+
isArchived: z.ZodUndefined;
|
|
92
|
+
versionId: z.ZodUndefined;
|
|
93
|
+
triggerCount: z.ZodUndefined;
|
|
94
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
95
|
+
id: z.ZodOptional<z.ZodString>;
|
|
96
|
+
name: z.ZodOptional<z.ZodString>;
|
|
97
|
+
webhookId: z.ZodOptional<z.ZodString>;
|
|
98
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
+
notesInFlow: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
101
|
+
type: z.ZodOptional<z.ZodString>;
|
|
102
|
+
typeVersion: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
executeOnce: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
alwaysOutputData: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
retryOnFail: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
maxTries: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
waitBetweenTries: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
continueOnFail: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
onError: z.ZodOptional<z.ZodString>;
|
|
110
|
+
position: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
111
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
112
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
113
|
+
customTelemetryTags: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
tag: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
115
|
+
key: z.ZodString;
|
|
116
|
+
value: z.ZodString;
|
|
117
|
+
}, "strict", z.ZodTypeAny, {
|
|
118
|
+
key: string;
|
|
119
|
+
value: string;
|
|
120
|
+
}, {
|
|
121
|
+
key: string;
|
|
122
|
+
value: string;
|
|
123
|
+
}>, "many">>;
|
|
124
|
+
}, "strict", z.ZodTypeAny, {
|
|
125
|
+
tag?: {
|
|
126
|
+
key: string;
|
|
127
|
+
value: string;
|
|
128
|
+
}[] | undefined;
|
|
129
|
+
}, {
|
|
130
|
+
tag?: {
|
|
131
|
+
key: string;
|
|
132
|
+
value: string;
|
|
133
|
+
}[] | undefined;
|
|
134
|
+
}>>;
|
|
135
|
+
createdAt: z.ZodUndefined;
|
|
136
|
+
updatedAt: z.ZodUndefined;
|
|
137
|
+
}, "strict", z.ZodTypeAny, {
|
|
138
|
+
id?: string | undefined;
|
|
139
|
+
name?: string | undefined;
|
|
140
|
+
webhookId?: string | undefined;
|
|
141
|
+
disabled?: boolean | undefined;
|
|
142
|
+
notesInFlow?: boolean | undefined;
|
|
143
|
+
notes?: string | undefined;
|
|
144
|
+
type?: string | undefined;
|
|
145
|
+
typeVersion?: number | undefined;
|
|
146
|
+
executeOnce?: boolean | undefined;
|
|
147
|
+
alwaysOutputData?: boolean | undefined;
|
|
148
|
+
retryOnFail?: boolean | undefined;
|
|
149
|
+
maxTries?: number | undefined;
|
|
150
|
+
waitBetweenTries?: number | undefined;
|
|
151
|
+
continueOnFail?: boolean | undefined;
|
|
152
|
+
onError?: string | undefined;
|
|
153
|
+
position?: number[] | undefined;
|
|
154
|
+
parameters?: Record<string, unknown> | undefined;
|
|
155
|
+
credentials?: Record<string, unknown> | undefined;
|
|
156
|
+
customTelemetryTags?: {
|
|
157
|
+
tag?: {
|
|
158
|
+
key: string;
|
|
159
|
+
value: string;
|
|
160
|
+
}[] | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
createdAt?: undefined;
|
|
163
|
+
updatedAt?: undefined;
|
|
164
|
+
}, {
|
|
165
|
+
id?: string | undefined;
|
|
166
|
+
name?: string | undefined;
|
|
167
|
+
webhookId?: string | undefined;
|
|
168
|
+
disabled?: boolean | undefined;
|
|
169
|
+
notesInFlow?: boolean | undefined;
|
|
170
|
+
notes?: string | undefined;
|
|
171
|
+
type?: string | undefined;
|
|
172
|
+
typeVersion?: number | undefined;
|
|
173
|
+
executeOnce?: boolean | undefined;
|
|
174
|
+
alwaysOutputData?: boolean | undefined;
|
|
175
|
+
retryOnFail?: boolean | undefined;
|
|
176
|
+
maxTries?: number | undefined;
|
|
177
|
+
waitBetweenTries?: number | undefined;
|
|
178
|
+
continueOnFail?: boolean | undefined;
|
|
179
|
+
onError?: string | undefined;
|
|
180
|
+
position?: number[] | undefined;
|
|
181
|
+
parameters?: Record<string, unknown> | undefined;
|
|
182
|
+
credentials?: Record<string, unknown> | undefined;
|
|
183
|
+
customTelemetryTags?: {
|
|
184
|
+
tag?: {
|
|
185
|
+
key: string;
|
|
186
|
+
value: string;
|
|
187
|
+
}[] | undefined;
|
|
188
|
+
} | undefined;
|
|
189
|
+
createdAt?: undefined;
|
|
190
|
+
updatedAt?: undefined;
|
|
191
|
+
}>, "many">;
|
|
192
|
+
connections: z.ZodType<import("n8n-workflow").IConnections, z.ZodTypeDef, import("n8n-workflow").IConnections>;
|
|
193
|
+
settings: z.ZodEffects<z.ZodObject<{
|
|
194
|
+
saveExecutionProgress: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
saveManualExecutions: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
saveDataErrorExecution: z.ZodOptional<z.ZodEnum<["all", "none"]>>;
|
|
197
|
+
saveDataSuccessExecution: z.ZodOptional<z.ZodEnum<["all", "none"]>>;
|
|
198
|
+
executionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
errorWorkflow: z.ZodOptional<z.ZodString>;
|
|
200
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
201
|
+
executionOrder: z.ZodOptional<z.ZodString>;
|
|
202
|
+
binaryMode: z.ZodOptional<z.ZodEnum<["separate", "combined"]>>;
|
|
203
|
+
callerPolicy: z.ZodOptional<z.ZodEnum<["any", "none", "workflowsFromAList", "workflowsFromSameOwner"]>>;
|
|
204
|
+
callerIds: z.ZodOptional<z.ZodString>;
|
|
205
|
+
timeSavedMode: z.ZodOptional<z.ZodEnum<["fixed", "dynamic"]>>;
|
|
206
|
+
timeSavedPerExecution: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
redactionPolicy: z.ZodOptional<z.ZodEnum<["none", "non-manual", "manual-only", "all"]>>;
|
|
208
|
+
availableInMCP: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
customTelemetryTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
+
key: z.ZodString;
|
|
211
|
+
value: z.ZodString;
|
|
212
|
+
}, "strict", z.ZodTypeAny, {
|
|
213
|
+
key: string;
|
|
214
|
+
value: string;
|
|
215
|
+
}, {
|
|
216
|
+
key: string;
|
|
217
|
+
value: string;
|
|
218
|
+
}>, "many">>;
|
|
219
|
+
credentialResolverId: z.ZodOptional<z.ZodString>;
|
|
220
|
+
}, "strict", z.ZodTypeAny, {
|
|
221
|
+
saveExecutionProgress?: boolean | undefined;
|
|
222
|
+
saveManualExecutions?: boolean | undefined;
|
|
223
|
+
saveDataErrorExecution?: "all" | "none" | undefined;
|
|
224
|
+
saveDataSuccessExecution?: "all" | "none" | undefined;
|
|
225
|
+
executionTimeout?: number | undefined;
|
|
226
|
+
errorWorkflow?: string | undefined;
|
|
227
|
+
timezone?: string | undefined;
|
|
228
|
+
executionOrder?: string | undefined;
|
|
229
|
+
binaryMode?: "combined" | "separate" | undefined;
|
|
230
|
+
callerPolicy?: "any" | "none" | "workflowsFromAList" | "workflowsFromSameOwner" | undefined;
|
|
231
|
+
callerIds?: string | undefined;
|
|
232
|
+
timeSavedMode?: "dynamic" | "fixed" | undefined;
|
|
233
|
+
timeSavedPerExecution?: number | undefined;
|
|
234
|
+
redactionPolicy?: "all" | "manual-only" | "non-manual" | "none" | undefined;
|
|
235
|
+
availableInMCP?: boolean | undefined;
|
|
236
|
+
customTelemetryTags?: {
|
|
237
|
+
key: string;
|
|
238
|
+
value: string;
|
|
239
|
+
}[] | undefined;
|
|
240
|
+
credentialResolverId?: string | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
saveExecutionProgress?: boolean | undefined;
|
|
243
|
+
saveManualExecutions?: boolean | undefined;
|
|
244
|
+
saveDataErrorExecution?: "all" | "none" | undefined;
|
|
245
|
+
saveDataSuccessExecution?: "all" | "none" | undefined;
|
|
246
|
+
executionTimeout?: number | undefined;
|
|
247
|
+
errorWorkflow?: string | undefined;
|
|
248
|
+
timezone?: string | undefined;
|
|
249
|
+
executionOrder?: string | undefined;
|
|
250
|
+
binaryMode?: "combined" | "separate" | undefined;
|
|
251
|
+
callerPolicy?: "any" | "none" | "workflowsFromAList" | "workflowsFromSameOwner" | undefined;
|
|
252
|
+
callerIds?: string | undefined;
|
|
253
|
+
timeSavedMode?: "dynamic" | "fixed" | undefined;
|
|
254
|
+
timeSavedPerExecution?: number | undefined;
|
|
255
|
+
redactionPolicy?: "all" | "manual-only" | "non-manual" | "none" | undefined;
|
|
256
|
+
availableInMCP?: boolean | undefined;
|
|
257
|
+
customTelemetryTags?: {
|
|
258
|
+
key: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}[] | undefined;
|
|
261
|
+
credentialResolverId?: string | undefined;
|
|
262
|
+
}>, {
|
|
263
|
+
saveExecutionProgress?: boolean | undefined;
|
|
264
|
+
saveManualExecutions?: boolean | undefined;
|
|
265
|
+
saveDataErrorExecution?: "all" | "none" | undefined;
|
|
266
|
+
saveDataSuccessExecution?: "all" | "none" | undefined;
|
|
267
|
+
executionTimeout?: number | undefined;
|
|
268
|
+
errorWorkflow?: string | undefined;
|
|
269
|
+
timezone?: string | undefined;
|
|
270
|
+
executionOrder?: string | undefined;
|
|
271
|
+
callerPolicy?: "any" | "none" | "workflowsFromAList" | "workflowsFromSameOwner" | undefined;
|
|
272
|
+
callerIds?: string | undefined;
|
|
273
|
+
timeSavedMode?: "dynamic" | "fixed" | undefined;
|
|
274
|
+
timeSavedPerExecution?: number | undefined;
|
|
275
|
+
redactionPolicy?: "all" | "manual-only" | "non-manual" | "none" | undefined;
|
|
276
|
+
availableInMCP?: boolean | undefined;
|
|
277
|
+
customTelemetryTags?: {
|
|
278
|
+
key: string;
|
|
279
|
+
value: string;
|
|
280
|
+
}[] | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
saveExecutionProgress?: boolean | undefined;
|
|
283
|
+
saveManualExecutions?: boolean | undefined;
|
|
284
|
+
saveDataErrorExecution?: "all" | "none" | undefined;
|
|
285
|
+
saveDataSuccessExecution?: "all" | "none" | undefined;
|
|
286
|
+
executionTimeout?: number | undefined;
|
|
287
|
+
errorWorkflow?: string | undefined;
|
|
288
|
+
timezone?: string | undefined;
|
|
289
|
+
executionOrder?: string | undefined;
|
|
290
|
+
binaryMode?: "combined" | "separate" | undefined;
|
|
291
|
+
callerPolicy?: "any" | "none" | "workflowsFromAList" | "workflowsFromSameOwner" | undefined;
|
|
292
|
+
callerIds?: string | undefined;
|
|
293
|
+
timeSavedMode?: "dynamic" | "fixed" | undefined;
|
|
294
|
+
timeSavedPerExecution?: number | undefined;
|
|
295
|
+
redactionPolicy?: "all" | "manual-only" | "non-manual" | "none" | undefined;
|
|
296
|
+
availableInMCP?: boolean | undefined;
|
|
297
|
+
customTelemetryTags?: {
|
|
298
|
+
key: string;
|
|
299
|
+
value: string;
|
|
300
|
+
}[] | undefined;
|
|
301
|
+
credentialResolverId?: string | undefined;
|
|
302
|
+
}>;
|
|
303
|
+
nodeGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
name: z.ZodString;
|
|
306
|
+
description: z.ZodOptional<z.ZodString>;
|
|
307
|
+
nodeIds: z.ZodArray<z.ZodString, "many">;
|
|
308
|
+
}, "strict", z.ZodTypeAny, {
|
|
309
|
+
id: string;
|
|
310
|
+
name: string;
|
|
311
|
+
description?: string | undefined;
|
|
312
|
+
nodeIds: string[];
|
|
313
|
+
}, {
|
|
314
|
+
id: string;
|
|
315
|
+
name: string;
|
|
316
|
+
description?: string | undefined;
|
|
317
|
+
nodeIds: string[];
|
|
318
|
+
}>, "many">>;
|
|
319
|
+
staticData: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
320
|
+
pinData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
321
|
+
meta: z.ZodUndefined;
|
|
322
|
+
tags: z.ZodUndefined;
|
|
323
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
324
|
+
role: z.ZodOptional<z.ZodString>;
|
|
325
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
326
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
327
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
328
|
+
id: z.ZodUndefined;
|
|
329
|
+
name: z.ZodOptional<z.ZodString>;
|
|
330
|
+
type: z.ZodUndefined;
|
|
331
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
332
|
+
id: z.ZodUndefined;
|
|
333
|
+
name: z.ZodOptional<z.ZodString>;
|
|
334
|
+
type: z.ZodUndefined;
|
|
335
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
336
|
+
id: z.ZodUndefined;
|
|
337
|
+
name: z.ZodOptional<z.ZodString>;
|
|
338
|
+
type: z.ZodUndefined;
|
|
339
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
340
|
+
createdAt: z.ZodUndefined;
|
|
341
|
+
updatedAt: z.ZodUndefined;
|
|
342
|
+
}, "strict", z.ZodTypeAny, {
|
|
343
|
+
role?: string | undefined;
|
|
344
|
+
workflowId?: string | undefined;
|
|
345
|
+
projectId?: string | undefined;
|
|
346
|
+
project?: z.objectOutputType<{
|
|
347
|
+
id: z.ZodUndefined;
|
|
348
|
+
name: z.ZodOptional<z.ZodString>;
|
|
349
|
+
type: z.ZodUndefined;
|
|
350
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
351
|
+
createdAt?: undefined;
|
|
352
|
+
updatedAt?: undefined;
|
|
353
|
+
}, {
|
|
354
|
+
role?: string | undefined;
|
|
355
|
+
workflowId?: string | undefined;
|
|
356
|
+
projectId?: string | undefined;
|
|
357
|
+
project?: z.objectInputType<{
|
|
358
|
+
id: z.ZodUndefined;
|
|
359
|
+
name: z.ZodOptional<z.ZodString>;
|
|
360
|
+
type: z.ZodUndefined;
|
|
361
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
362
|
+
createdAt?: undefined;
|
|
363
|
+
updatedAt?: undefined;
|
|
364
|
+
}>, "many">>;
|
|
365
|
+
activeVersion: z.ZodUndefined;
|
|
366
|
+
description: z.ZodOptional<z.ZodString>;
|
|
367
|
+
parentFolderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
|
+
}>;
|
|
369
|
+
export declare class UpdateWorkflowPublicDto extends UpdateWorkflowPublicDto_base {
|
|
370
|
+
}
|
|
371
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateWorkflowPublicDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const base_workflow_public_dto_1 = require("./base-workflow-public.dto");
|
|
6
|
+
const workflow_public_openapi_1 = require("./workflow-public.openapi");
|
|
7
|
+
const zod_class_1 = require("../../zod-class");
|
|
8
|
+
const { projectId: _projectId, ...workflowUpdatePublicShape } = base_workflow_public_dto_1.workflowWritePublicShape;
|
|
9
|
+
class UpdateWorkflowPublicDto extends zod_class_1.Z.class({
|
|
10
|
+
...workflowUpdatePublicShape,
|
|
11
|
+
description: zod_1.z.string().optional().openapi(workflow_public_openapi_1.workflowUpdateFieldDocs.description),
|
|
12
|
+
parentFolderId: zod_1.z
|
|
13
|
+
.string()
|
|
14
|
+
.nullable()
|
|
15
|
+
.optional()
|
|
16
|
+
.openapi(workflow_public_openapi_1.workflowUpdateFieldDocs.parentFolderId),
|
|
17
|
+
}, { strict: true }) {
|
|
18
|
+
}
|
|
19
|
+
exports.UpdateWorkflowPublicDto = UpdateWorkflowPublicDto;
|
|
20
|
+
//# sourceMappingURL=update-workflow-public.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-workflow-public.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/update-workflow-public.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,yEAAsE;AACtE,uEAAoE;AACpE,+CAAoC;AAEpC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,yBAAyB,EAAE,GAAG,mDAAwB,CAAC;AAEzF,6BAAqC,SAAQ,aAAC,CAAC,KAAK,CACnD;IACC,GAAG,yBAAyB;IAC5B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,iDAAuB,CAAC,WAAW,CAAC;IAC/E,cAAc,EAAE,OAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,OAAO,CAAC,iDAAuB,CAAC,cAAc,CAAC;CACjD,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CAChB;CAAG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '../../openapi-extend';
|
|
2
|
+
declare const UpdateWorkflowQueryDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
publishIfActive: boolean;
|
|
4
|
+
}, {
|
|
5
|
+
publishIfActive: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "false" | "true">>>;
|
|
6
|
+
}>;
|
|
7
|
+
export declare class UpdateWorkflowQueryDto extends UpdateWorkflowQueryDto_base {
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateWorkflowQueryDto = void 0;
|
|
4
|
+
require("../../openapi-extend");
|
|
5
|
+
const workflow_public_openapi_1 = require("./workflow-public.openapi");
|
|
6
|
+
const boolean_from_string_1 = require("../../schemas/boolean-from-string");
|
|
7
|
+
const zod_class_1 = require("../../zod-class");
|
|
8
|
+
class UpdateWorkflowQueryDto extends zod_class_1.Z.class({
|
|
9
|
+
publishIfActive: boolean_from_string_1.booleanFromString.optional().default('true').openapi(workflow_public_openapi_1.publishIfActiveOpenApi),
|
|
10
|
+
}) {
|
|
11
|
+
}
|
|
12
|
+
exports.UpdateWorkflowQueryDto = UpdateWorkflowQueryDto;
|
|
13
|
+
//# sourceMappingURL=update-workflow-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-workflow-query.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/update-workflow-query.dto.ts"],"names":[],"mappings":";;;AAAA,gCAA8B;AAE9B,uEAAmE;AACnE,2EAAsE;AACtE,+CAAoC;AAEpC,4BAAoC,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,eAAe,EAAE,uCAAiB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,gDAAsB,CAAC;CAC7F,CAAC;CAAG"}
|