@n8n/api-types 1.5.0 → 1.6.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.
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +1 -0
- package/dist/chat-hub.js.map +1 -1
- package/dist/community-node-types.d.ts +1 -0
- package/dist/dto/auth/login-request.dto.js +1 -1
- package/dist/dto/auth/login-request.dto.js.map +1 -1
- package/dist/dto/index.d.ts +8 -0
- package/dist/dto/index.js +17 -1
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/log-streaming/create-destination.dto.d.ts +525 -0
- package/dist/dto/log-streaming/create-destination.dto.js +11 -0
- package/dist/dto/log-streaming/create-destination.dto.js.map +1 -0
- package/dist/dto/log-streaming/delete-destination-query.dto.d.ts +8 -0
- package/dist/dto/log-streaming/delete-destination-query.dto.js +11 -0
- package/dist/dto/log-streaming/delete-destination-query.dto.js.map +1 -0
- package/dist/dto/log-streaming/get-destination-query.dto.d.ts +8 -0
- package/dist/dto/log-streaming/get-destination-query.dto.js +11 -0
- package/dist/dto/log-streaming/get-destination-query.dto.js.map +1 -0
- package/dist/dto/log-streaming/test-destination-query.dto.d.ts +8 -0
- package/dist/dto/log-streaming/test-destination-query.dto.js +11 -0
- package/dist/dto/log-streaming/test-destination-query.dto.js.map +1 -0
- package/dist/dto/password-reset/forgot-password-request.dto.js +1 -1
- package/dist/dto/password-reset/forgot-password-request.dto.js.map +1 -1
- package/dist/dto/secrets-provider/create-secrets-provider-connection.dto.d.ts +11 -0
- package/dist/dto/secrets-provider/create-secrets-provider-connection.dto.js +15 -0
- package/dist/dto/secrets-provider/create-secrets-provider-connection.dto.js.map +1 -0
- package/dist/dto/secrets-provider/set-secrets-provider-connection-is-enabled.dto.d.ts +8 -0
- package/dist/dto/secrets-provider/set-secrets-provider-connection-is-enabled.dto.js +11 -0
- package/dist/dto/secrets-provider/set-secrets-provider-connection-is-enabled.dto.js.map +1 -0
- package/dist/dto/secrets-provider/test-secrets-provider-connection.dto.d.ts +3 -0
- package/dist/dto/secrets-provider/test-secrets-provider-connection.dto.js +8 -0
- package/dist/dto/secrets-provider/test-secrets-provider-connection.dto.js.map +1 -0
- package/dist/dto/secrets-provider/update-secrets-provider-connection.dto.d.ts +10 -0
- package/dist/dto/secrets-provider/update-secrets-provider-connection.dto.js +14 -0
- package/dist/dto/secrets-provider/update-secrets-provider-connection.dto.js.map +1 -0
- package/dist/frontend-settings.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/schemas/secrets-provider.schema.d.ts +112 -0
- package/dist/schemas/secrets-provider.schema.js +54 -0
- package/dist/schemas/secrets-provider.schema.js.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
subscribedEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
anonymizeAuditMessages: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
circuitBreaker: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
maxFailures: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
halfOpenRequests: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
failureWindow: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
maxConcurrentHalfOpenRequests: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
maxFailures?: number | undefined;
|
|
17
|
+
maxDuration?: number | undefined;
|
|
18
|
+
halfOpenRequests?: number | undefined;
|
|
19
|
+
failureWindow?: number | undefined;
|
|
20
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
maxFailures?: number | undefined;
|
|
23
|
+
maxDuration?: number | undefined;
|
|
24
|
+
halfOpenRequests?: number | undefined;
|
|
25
|
+
failureWindow?: number | undefined;
|
|
26
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
27
|
+
}>>;
|
|
28
|
+
} & {
|
|
29
|
+
__type: z.ZodLiteral<"$$MessageEventBusDestinationWebhook">;
|
|
30
|
+
url: z.ZodString;
|
|
31
|
+
responseCodeMustMatch: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
expectedStatusCode: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
method: z.ZodOptional<z.ZodString>;
|
|
34
|
+
authentication: z.ZodOptional<z.ZodEnum<["predefinedCredentialType", "genericCredentialType", "none"]>>;
|
|
35
|
+
sendQuery: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
sendHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
genericAuthType: z.ZodOptional<z.ZodString>;
|
|
38
|
+
nodeCredentialType: z.ZodOptional<z.ZodString>;
|
|
39
|
+
specifyHeaders: z.ZodOptional<z.ZodString>;
|
|
40
|
+
specifyQuery: z.ZodOptional<z.ZodString>;
|
|
41
|
+
jsonQuery: z.ZodOptional<z.ZodString>;
|
|
42
|
+
jsonHeaders: z.ZodOptional<z.ZodString>;
|
|
43
|
+
headerParameters: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
name: string;
|
|
49
|
+
value: string | number | boolean | null;
|
|
50
|
+
}, {
|
|
51
|
+
name: string;
|
|
52
|
+
value: string | number | boolean | null;
|
|
53
|
+
}>, "many">;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
parameters: {
|
|
56
|
+
name: string;
|
|
57
|
+
value: string | number | boolean | null;
|
|
58
|
+
}[];
|
|
59
|
+
}, {
|
|
60
|
+
parameters: {
|
|
61
|
+
name: string;
|
|
62
|
+
value: string | number | boolean | null;
|
|
63
|
+
}[];
|
|
64
|
+
}>>;
|
|
65
|
+
queryParameters: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
name: string;
|
|
71
|
+
value: string | number | boolean | null;
|
|
72
|
+
}, {
|
|
73
|
+
name: string;
|
|
74
|
+
value: string | number | boolean | null;
|
|
75
|
+
}>, "many">;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
parameters: {
|
|
78
|
+
name: string;
|
|
79
|
+
value: string | number | boolean | null;
|
|
80
|
+
}[];
|
|
81
|
+
}, {
|
|
82
|
+
parameters: {
|
|
83
|
+
name: string;
|
|
84
|
+
value: string | number | boolean | null;
|
|
85
|
+
}[];
|
|
86
|
+
}>>;
|
|
87
|
+
sendPayload: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
batch: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
batchInterval: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
batchSize?: number | undefined;
|
|
94
|
+
batchInterval?: number | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
batchSize?: number | undefined;
|
|
97
|
+
batchInterval?: number | undefined;
|
|
98
|
+
}>>;
|
|
99
|
+
allowUnauthorizedCerts: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
queryParameterArrays: z.ZodOptional<z.ZodEnum<["indices", "brackets", "repeat"]>>;
|
|
101
|
+
redirect: z.ZodOptional<z.ZodObject<{
|
|
102
|
+
followRedirects: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
maxRedirects: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
followRedirects?: boolean | undefined;
|
|
106
|
+
maxRedirects?: number | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
followRedirects?: boolean | undefined;
|
|
109
|
+
maxRedirects?: number | undefined;
|
|
110
|
+
}>>;
|
|
111
|
+
response: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
response: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
fullResponse: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
neverError: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
responseFormat: z.ZodOptional<z.ZodString>;
|
|
116
|
+
outputPropertyName: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
fullResponse?: boolean | undefined;
|
|
119
|
+
neverError?: boolean | undefined;
|
|
120
|
+
responseFormat?: string | undefined;
|
|
121
|
+
outputPropertyName?: string | undefined;
|
|
122
|
+
}, {
|
|
123
|
+
fullResponse?: boolean | undefined;
|
|
124
|
+
neverError?: boolean | undefined;
|
|
125
|
+
responseFormat?: string | undefined;
|
|
126
|
+
outputPropertyName?: string | undefined;
|
|
127
|
+
}>>;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
response?: {
|
|
130
|
+
fullResponse?: boolean | undefined;
|
|
131
|
+
neverError?: boolean | undefined;
|
|
132
|
+
responseFormat?: string | undefined;
|
|
133
|
+
outputPropertyName?: string | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
response?: {
|
|
137
|
+
fullResponse?: boolean | undefined;
|
|
138
|
+
neverError?: boolean | undefined;
|
|
139
|
+
responseFormat?: string | undefined;
|
|
140
|
+
outputPropertyName?: string | undefined;
|
|
141
|
+
} | undefined;
|
|
142
|
+
}>>;
|
|
143
|
+
proxy: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
protocol: z.ZodEnum<["https", "http"]>;
|
|
145
|
+
host: z.ZodString;
|
|
146
|
+
port: z.ZodNumber;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
protocol: "https" | "http";
|
|
149
|
+
host: string;
|
|
150
|
+
port: number;
|
|
151
|
+
}, {
|
|
152
|
+
protocol: "https" | "http";
|
|
153
|
+
host: string;
|
|
154
|
+
port: number;
|
|
155
|
+
}>>;
|
|
156
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
socket: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
maxSockets: z.ZodOptional<z.ZodNumber>;
|
|
160
|
+
maxFreeSockets: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
keepAlive?: boolean | undefined;
|
|
163
|
+
maxSockets?: number | undefined;
|
|
164
|
+
maxFreeSockets?: number | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
keepAlive?: boolean | undefined;
|
|
167
|
+
maxSockets?: number | undefined;
|
|
168
|
+
maxFreeSockets?: number | undefined;
|
|
169
|
+
}>>;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
timeout?: number | undefined;
|
|
172
|
+
response?: {
|
|
173
|
+
response?: {
|
|
174
|
+
fullResponse?: boolean | undefined;
|
|
175
|
+
neverError?: boolean | undefined;
|
|
176
|
+
responseFormat?: string | undefined;
|
|
177
|
+
outputPropertyName?: string | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
proxy?: {
|
|
181
|
+
protocol: "https" | "http";
|
|
182
|
+
host: string;
|
|
183
|
+
port: number;
|
|
184
|
+
} | undefined;
|
|
185
|
+
batch?: {
|
|
186
|
+
batchSize?: number | undefined;
|
|
187
|
+
batchInterval?: number | undefined;
|
|
188
|
+
} | undefined;
|
|
189
|
+
allowUnauthorizedCerts?: boolean | undefined;
|
|
190
|
+
queryParameterArrays?: "repeat" | "indices" | "brackets" | undefined;
|
|
191
|
+
redirect?: {
|
|
192
|
+
followRedirects?: boolean | undefined;
|
|
193
|
+
maxRedirects?: number | undefined;
|
|
194
|
+
} | undefined;
|
|
195
|
+
socket?: {
|
|
196
|
+
keepAlive?: boolean | undefined;
|
|
197
|
+
maxSockets?: number | undefined;
|
|
198
|
+
maxFreeSockets?: number | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
timeout?: number | undefined;
|
|
202
|
+
response?: {
|
|
203
|
+
response?: {
|
|
204
|
+
fullResponse?: boolean | undefined;
|
|
205
|
+
neverError?: boolean | undefined;
|
|
206
|
+
responseFormat?: string | undefined;
|
|
207
|
+
outputPropertyName?: string | undefined;
|
|
208
|
+
} | undefined;
|
|
209
|
+
} | undefined;
|
|
210
|
+
proxy?: {
|
|
211
|
+
protocol: "https" | "http";
|
|
212
|
+
host: string;
|
|
213
|
+
port: number;
|
|
214
|
+
} | undefined;
|
|
215
|
+
batch?: {
|
|
216
|
+
batchSize?: number | undefined;
|
|
217
|
+
batchInterval?: number | undefined;
|
|
218
|
+
} | undefined;
|
|
219
|
+
allowUnauthorizedCerts?: boolean | undefined;
|
|
220
|
+
queryParameterArrays?: "repeat" | "indices" | "brackets" | undefined;
|
|
221
|
+
redirect?: {
|
|
222
|
+
followRedirects?: boolean | undefined;
|
|
223
|
+
maxRedirects?: number | undefined;
|
|
224
|
+
} | undefined;
|
|
225
|
+
socket?: {
|
|
226
|
+
keepAlive?: boolean | undefined;
|
|
227
|
+
maxSockets?: number | undefined;
|
|
228
|
+
maxFreeSockets?: number | undefined;
|
|
229
|
+
} | undefined;
|
|
230
|
+
}>>;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
url: string;
|
|
233
|
+
__type: "$$MessageEventBusDestinationWebhook";
|
|
234
|
+
id?: string | undefined;
|
|
235
|
+
options?: {
|
|
236
|
+
timeout?: number | undefined;
|
|
237
|
+
response?: {
|
|
238
|
+
response?: {
|
|
239
|
+
fullResponse?: boolean | undefined;
|
|
240
|
+
neverError?: boolean | undefined;
|
|
241
|
+
responseFormat?: string | undefined;
|
|
242
|
+
outputPropertyName?: string | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
} | undefined;
|
|
245
|
+
proxy?: {
|
|
246
|
+
protocol: "https" | "http";
|
|
247
|
+
host: string;
|
|
248
|
+
port: number;
|
|
249
|
+
} | undefined;
|
|
250
|
+
batch?: {
|
|
251
|
+
batchSize?: number | undefined;
|
|
252
|
+
batchInterval?: number | undefined;
|
|
253
|
+
} | undefined;
|
|
254
|
+
allowUnauthorizedCerts?: boolean | undefined;
|
|
255
|
+
queryParameterArrays?: "repeat" | "indices" | "brackets" | undefined;
|
|
256
|
+
redirect?: {
|
|
257
|
+
followRedirects?: boolean | undefined;
|
|
258
|
+
maxRedirects?: number | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
socket?: {
|
|
261
|
+
keepAlive?: boolean | undefined;
|
|
262
|
+
maxSockets?: number | undefined;
|
|
263
|
+
maxFreeSockets?: number | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
credentials?: Record<string, unknown> | undefined;
|
|
267
|
+
enabled?: boolean | undefined;
|
|
268
|
+
method?: string | undefined;
|
|
269
|
+
authentication?: "none" | "predefinedCredentialType" | "genericCredentialType" | undefined;
|
|
270
|
+
genericAuthType?: string | undefined;
|
|
271
|
+
nodeCredentialType?: string | undefined;
|
|
272
|
+
sendHeaders?: boolean | undefined;
|
|
273
|
+
specifyHeaders?: string | undefined;
|
|
274
|
+
jsonHeaders?: string | undefined;
|
|
275
|
+
sendQuery?: boolean | undefined;
|
|
276
|
+
specifyQuery?: string | undefined;
|
|
277
|
+
jsonQuery?: string | undefined;
|
|
278
|
+
label?: string | undefined;
|
|
279
|
+
subscribedEvents?: string[] | undefined;
|
|
280
|
+
anonymizeAuditMessages?: boolean | undefined;
|
|
281
|
+
circuitBreaker?: {
|
|
282
|
+
maxFailures?: number | undefined;
|
|
283
|
+
maxDuration?: number | undefined;
|
|
284
|
+
halfOpenRequests?: number | undefined;
|
|
285
|
+
failureWindow?: number | undefined;
|
|
286
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
responseCodeMustMatch?: boolean | undefined;
|
|
289
|
+
expectedStatusCode?: number | undefined;
|
|
290
|
+
headerParameters?: {
|
|
291
|
+
parameters: {
|
|
292
|
+
name: string;
|
|
293
|
+
value: string | number | boolean | null;
|
|
294
|
+
}[];
|
|
295
|
+
} | undefined;
|
|
296
|
+
queryParameters?: {
|
|
297
|
+
parameters: {
|
|
298
|
+
name: string;
|
|
299
|
+
value: string | number | boolean | null;
|
|
300
|
+
}[];
|
|
301
|
+
} | undefined;
|
|
302
|
+
sendPayload?: boolean | undefined;
|
|
303
|
+
}, {
|
|
304
|
+
url: string;
|
|
305
|
+
__type: "$$MessageEventBusDestinationWebhook";
|
|
306
|
+
id?: string | undefined;
|
|
307
|
+
options?: {
|
|
308
|
+
timeout?: number | undefined;
|
|
309
|
+
response?: {
|
|
310
|
+
response?: {
|
|
311
|
+
fullResponse?: boolean | undefined;
|
|
312
|
+
neverError?: boolean | undefined;
|
|
313
|
+
responseFormat?: string | undefined;
|
|
314
|
+
outputPropertyName?: string | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
proxy?: {
|
|
318
|
+
protocol: "https" | "http";
|
|
319
|
+
host: string;
|
|
320
|
+
port: number;
|
|
321
|
+
} | undefined;
|
|
322
|
+
batch?: {
|
|
323
|
+
batchSize?: number | undefined;
|
|
324
|
+
batchInterval?: number | undefined;
|
|
325
|
+
} | undefined;
|
|
326
|
+
allowUnauthorizedCerts?: boolean | undefined;
|
|
327
|
+
queryParameterArrays?: "repeat" | "indices" | "brackets" | undefined;
|
|
328
|
+
redirect?: {
|
|
329
|
+
followRedirects?: boolean | undefined;
|
|
330
|
+
maxRedirects?: number | undefined;
|
|
331
|
+
} | undefined;
|
|
332
|
+
socket?: {
|
|
333
|
+
keepAlive?: boolean | undefined;
|
|
334
|
+
maxSockets?: number | undefined;
|
|
335
|
+
maxFreeSockets?: number | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
credentials?: Record<string, unknown> | undefined;
|
|
339
|
+
enabled?: boolean | undefined;
|
|
340
|
+
method?: string | undefined;
|
|
341
|
+
authentication?: "none" | "predefinedCredentialType" | "genericCredentialType" | undefined;
|
|
342
|
+
genericAuthType?: string | undefined;
|
|
343
|
+
nodeCredentialType?: string | undefined;
|
|
344
|
+
sendHeaders?: boolean | undefined;
|
|
345
|
+
specifyHeaders?: string | undefined;
|
|
346
|
+
jsonHeaders?: string | undefined;
|
|
347
|
+
sendQuery?: boolean | undefined;
|
|
348
|
+
specifyQuery?: string | undefined;
|
|
349
|
+
jsonQuery?: string | undefined;
|
|
350
|
+
label?: string | undefined;
|
|
351
|
+
subscribedEvents?: string[] | undefined;
|
|
352
|
+
anonymizeAuditMessages?: boolean | undefined;
|
|
353
|
+
circuitBreaker?: {
|
|
354
|
+
maxFailures?: number | undefined;
|
|
355
|
+
maxDuration?: number | undefined;
|
|
356
|
+
halfOpenRequests?: number | undefined;
|
|
357
|
+
failureWindow?: number | undefined;
|
|
358
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
359
|
+
} | undefined;
|
|
360
|
+
responseCodeMustMatch?: boolean | undefined;
|
|
361
|
+
expectedStatusCode?: number | undefined;
|
|
362
|
+
headerParameters?: {
|
|
363
|
+
parameters: {
|
|
364
|
+
name: string;
|
|
365
|
+
value: string | number | boolean | null;
|
|
366
|
+
}[];
|
|
367
|
+
} | undefined;
|
|
368
|
+
queryParameters?: {
|
|
369
|
+
parameters: {
|
|
370
|
+
name: string;
|
|
371
|
+
value: string | number | boolean | null;
|
|
372
|
+
}[];
|
|
373
|
+
} | undefined;
|
|
374
|
+
sendPayload?: boolean | undefined;
|
|
375
|
+
}>, z.ZodObject<{
|
|
376
|
+
id: z.ZodOptional<z.ZodString>;
|
|
377
|
+
label: z.ZodOptional<z.ZodString>;
|
|
378
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
+
subscribedEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
380
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
381
|
+
anonymizeAuditMessages: z.ZodOptional<z.ZodBoolean>;
|
|
382
|
+
circuitBreaker: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
maxFailures: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
385
|
+
halfOpenRequests: z.ZodOptional<z.ZodNumber>;
|
|
386
|
+
failureWindow: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
maxConcurrentHalfOpenRequests: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
|
389
|
+
maxFailures?: number | undefined;
|
|
390
|
+
maxDuration?: number | undefined;
|
|
391
|
+
halfOpenRequests?: number | undefined;
|
|
392
|
+
failureWindow?: number | undefined;
|
|
393
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
394
|
+
}, {
|
|
395
|
+
maxFailures?: number | undefined;
|
|
396
|
+
maxDuration?: number | undefined;
|
|
397
|
+
halfOpenRequests?: number | undefined;
|
|
398
|
+
failureWindow?: number | undefined;
|
|
399
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
400
|
+
}>>;
|
|
401
|
+
} & {
|
|
402
|
+
__type: z.ZodLiteral<"$$MessageEventBusDestinationSentry">;
|
|
403
|
+
dsn: z.ZodString;
|
|
404
|
+
tracesSampleRate: z.ZodOptional<z.ZodNumber>;
|
|
405
|
+
sendPayload: z.ZodOptional<z.ZodBoolean>;
|
|
406
|
+
}, "strip", z.ZodTypeAny, {
|
|
407
|
+
__type: "$$MessageEventBusDestinationSentry";
|
|
408
|
+
dsn: string;
|
|
409
|
+
id?: string | undefined;
|
|
410
|
+
credentials?: Record<string, unknown> | undefined;
|
|
411
|
+
enabled?: boolean | undefined;
|
|
412
|
+
label?: string | undefined;
|
|
413
|
+
subscribedEvents?: string[] | undefined;
|
|
414
|
+
anonymizeAuditMessages?: boolean | undefined;
|
|
415
|
+
circuitBreaker?: {
|
|
416
|
+
maxFailures?: number | undefined;
|
|
417
|
+
maxDuration?: number | undefined;
|
|
418
|
+
halfOpenRequests?: number | undefined;
|
|
419
|
+
failureWindow?: number | undefined;
|
|
420
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
421
|
+
} | undefined;
|
|
422
|
+
sendPayload?: boolean | undefined;
|
|
423
|
+
tracesSampleRate?: number | undefined;
|
|
424
|
+
}, {
|
|
425
|
+
__type: "$$MessageEventBusDestinationSentry";
|
|
426
|
+
dsn: string;
|
|
427
|
+
id?: string | undefined;
|
|
428
|
+
credentials?: Record<string, unknown> | undefined;
|
|
429
|
+
enabled?: boolean | undefined;
|
|
430
|
+
label?: string | undefined;
|
|
431
|
+
subscribedEvents?: string[] | undefined;
|
|
432
|
+
anonymizeAuditMessages?: boolean | undefined;
|
|
433
|
+
circuitBreaker?: {
|
|
434
|
+
maxFailures?: number | undefined;
|
|
435
|
+
maxDuration?: number | undefined;
|
|
436
|
+
halfOpenRequests?: number | undefined;
|
|
437
|
+
failureWindow?: number | undefined;
|
|
438
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
sendPayload?: boolean | undefined;
|
|
441
|
+
tracesSampleRate?: number | undefined;
|
|
442
|
+
}>, z.ZodObject<{
|
|
443
|
+
id: z.ZodOptional<z.ZodString>;
|
|
444
|
+
label: z.ZodOptional<z.ZodString>;
|
|
445
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
446
|
+
subscribedEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
447
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
448
|
+
anonymizeAuditMessages: z.ZodOptional<z.ZodBoolean>;
|
|
449
|
+
circuitBreaker: z.ZodOptional<z.ZodObject<{
|
|
450
|
+
maxFailures: z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
452
|
+
halfOpenRequests: z.ZodOptional<z.ZodNumber>;
|
|
453
|
+
failureWindow: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
maxConcurrentHalfOpenRequests: z.ZodOptional<z.ZodNumber>;
|
|
455
|
+
}, "strip", z.ZodTypeAny, {
|
|
456
|
+
maxFailures?: number | undefined;
|
|
457
|
+
maxDuration?: number | undefined;
|
|
458
|
+
halfOpenRequests?: number | undefined;
|
|
459
|
+
failureWindow?: number | undefined;
|
|
460
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
461
|
+
}, {
|
|
462
|
+
maxFailures?: number | undefined;
|
|
463
|
+
maxDuration?: number | undefined;
|
|
464
|
+
halfOpenRequests?: number | undefined;
|
|
465
|
+
failureWindow?: number | undefined;
|
|
466
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
467
|
+
}>>;
|
|
468
|
+
} & {
|
|
469
|
+
__type: z.ZodLiteral<"$$MessageEventBusDestinationSyslog">;
|
|
470
|
+
expectedStatusCode: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
host: z.ZodString;
|
|
472
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
473
|
+
protocol: z.ZodOptional<z.ZodEnum<["udp", "tcp", "tls"]>>;
|
|
474
|
+
facility: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
app_name: z.ZodOptional<z.ZodString>;
|
|
476
|
+
eol: z.ZodOptional<z.ZodString>;
|
|
477
|
+
tlsCa: z.ZodOptional<z.ZodString>;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
host: string;
|
|
480
|
+
__type: "$$MessageEventBusDestinationSyslog";
|
|
481
|
+
id?: string | undefined;
|
|
482
|
+
credentials?: Record<string, unknown> | undefined;
|
|
483
|
+
enabled?: boolean | undefined;
|
|
484
|
+
protocol?: "udp" | "tcp" | "tls" | undefined;
|
|
485
|
+
port?: number | undefined;
|
|
486
|
+
label?: string | undefined;
|
|
487
|
+
subscribedEvents?: string[] | undefined;
|
|
488
|
+
anonymizeAuditMessages?: boolean | undefined;
|
|
489
|
+
circuitBreaker?: {
|
|
490
|
+
maxFailures?: number | undefined;
|
|
491
|
+
maxDuration?: number | undefined;
|
|
492
|
+
halfOpenRequests?: number | undefined;
|
|
493
|
+
failureWindow?: number | undefined;
|
|
494
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
expectedStatusCode?: number | undefined;
|
|
497
|
+
facility?: number | undefined;
|
|
498
|
+
app_name?: string | undefined;
|
|
499
|
+
eol?: string | undefined;
|
|
500
|
+
tlsCa?: string | undefined;
|
|
501
|
+
}, {
|
|
502
|
+
host: string;
|
|
503
|
+
__type: "$$MessageEventBusDestinationSyslog";
|
|
504
|
+
id?: string | undefined;
|
|
505
|
+
credentials?: Record<string, unknown> | undefined;
|
|
506
|
+
enabled?: boolean | undefined;
|
|
507
|
+
protocol?: "udp" | "tcp" | "tls" | undefined;
|
|
508
|
+
port?: number | undefined;
|
|
509
|
+
label?: string | undefined;
|
|
510
|
+
subscribedEvents?: string[] | undefined;
|
|
511
|
+
anonymizeAuditMessages?: boolean | undefined;
|
|
512
|
+
circuitBreaker?: {
|
|
513
|
+
maxFailures?: number | undefined;
|
|
514
|
+
maxDuration?: number | undefined;
|
|
515
|
+
halfOpenRequests?: number | undefined;
|
|
516
|
+
failureWindow?: number | undefined;
|
|
517
|
+
maxConcurrentHalfOpenRequests?: number | undefined;
|
|
518
|
+
} | undefined;
|
|
519
|
+
expectedStatusCode?: number | undefined;
|
|
520
|
+
facility?: number | undefined;
|
|
521
|
+
app_name?: string | undefined;
|
|
522
|
+
eol?: string | undefined;
|
|
523
|
+
tlsCa?: string | undefined;
|
|
524
|
+
}>]>;
|
|
525
|
+
export type { MessageEventBusDestinationWebhookOptions as WebhookDestination, MessageEventBusDestinationSentryOptions as SentryDestination, MessageEventBusDestinationSyslogOptions as SyslogDestination, } from 'n8n-workflow';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateDestinationDto = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.CreateDestinationDto = zod_1.z.discriminatedUnion('__type', [
|
|
7
|
+
n8n_workflow_1.MessageEventBusDestinationWebhookOptionsSchema,
|
|
8
|
+
n8n_workflow_1.MessageEventBusDestinationSentryOptionsSchema,
|
|
9
|
+
n8n_workflow_1.MessageEventBusDestinationSyslogOptionsSchema,
|
|
10
|
+
]);
|
|
11
|
+
//# sourceMappingURL=create-destination.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-destination.dto.js","sourceRoot":"","sources":["../../../src/dto/log-streaming/create-destination.dto.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6BAAwB;AAGX,QAAA,oBAAoB,GAAG,OAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAClE,6DAA8C;IAC9C,4DAA6C;IAC7C,4DAA6C;CAC7C,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteDestinationQueryDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
class DeleteDestinationQueryDto extends zod_class_1.Z.class({
|
|
7
|
+
id: zod_1.z.string().min(1),
|
|
8
|
+
}) {
|
|
9
|
+
}
|
|
10
|
+
exports.DeleteDestinationQueryDto = DeleteDestinationQueryDto;
|
|
11
|
+
//# sourceMappingURL=delete-destination-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-destination-query.dto.js","sourceRoot":"","sources":["../../../src/dto/log-streaming/delete-destination-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,yBAA0B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACtD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACrB,CAAC;CAAG;AAFL,8DAEK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetDestinationQueryDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
class GetDestinationQueryDto extends zod_class_1.Z.class({
|
|
7
|
+
id: zod_1.z.string().min(1).optional(),
|
|
8
|
+
}) {
|
|
9
|
+
}
|
|
10
|
+
exports.GetDestinationQueryDto = GetDestinationQueryDto;
|
|
11
|
+
//# sourceMappingURL=get-destination-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-destination-query.dto.js","sourceRoot":"","sources":["../../../src/dto/log-streaming/get-destination-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAChC,CAAC;CAAG;AAFL,wDAEK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TestDestinationQueryDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
class TestDestinationQueryDto extends zod_class_1.Z.class({
|
|
7
|
+
id: zod_1.z.string().min(1),
|
|
8
|
+
}) {
|
|
9
|
+
}
|
|
10
|
+
exports.TestDestinationQueryDto = TestDestinationQueryDto;
|
|
11
|
+
//# sourceMappingURL=test-destination-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-destination-query.dto.js","sourceRoot":"","sources":["../../../src/dto/log-streaming/test-destination-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,uBAAwB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACrB,CAAC;CAAG;AAFL,0DAEK"}
|
|
@@ -4,7 +4,7 @@ exports.ForgotPasswordRequestDto = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_class_1 = require("zod-class");
|
|
6
6
|
class ForgotPasswordRequestDto extends zod_class_1.Z.class({
|
|
7
|
-
email: zod_1.z.string().email(),
|
|
7
|
+
email: zod_1.z.string().email().max(255),
|
|
8
8
|
}) {
|
|
9
9
|
}
|
|
10
10
|
exports.ForgotPasswordRequestDto = ForgotPasswordRequestDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot-password-request.dto.js","sourceRoot":"","sources":["../../../src/dto/password-reset/forgot-password-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;
|
|
1
|
+
{"version":3,"file":"forgot-password-request.dto.js","sourceRoot":"","sources":["../../../src/dto/password-reset/forgot-password-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;CAClC,CAAC;CAAG;AAFL,4DAEK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Z } from 'zod-class';
|
|
3
|
+
declare const CreateSecretsProviderConnectionDto_base: Z.Class<{
|
|
4
|
+
providerKey: z.ZodString;
|
|
5
|
+
type: z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical"]>;
|
|
6
|
+
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
settings: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare class CreateSecretsProviderConnectionDto extends CreateSecretsProviderConnectionDto_base {
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateSecretsProviderConnectionDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
const secrets_provider_schema_1 = require("../../schemas/secrets-provider.schema");
|
|
7
|
+
class CreateSecretsProviderConnectionDto extends zod_class_1.Z.class({
|
|
8
|
+
providerKey: zod_1.z.string().min(1).max(128),
|
|
9
|
+
type: secrets_provider_schema_1.secretsProviderTypeSchema,
|
|
10
|
+
projectIds: zod_1.z.array(zod_1.z.string().min(1)),
|
|
11
|
+
settings: zod_1.z.object({}).catchall(zod_1.z.any()),
|
|
12
|
+
}) {
|
|
13
|
+
}
|
|
14
|
+
exports.CreateSecretsProviderConnectionDto = CreateSecretsProviderConnectionDto;
|
|
15
|
+
//# sourceMappingURL=create-secrets-provider-connection.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-secrets-provider-connection.dto.js","sourceRoot":"","sources":["../../../src/dto/secrets-provider/create-secrets-provider-connection.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AACxB,yCAA8B;AAE9B,mFAAkF;AAElF,MAAa,kCAAmC,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACvC,IAAI,EAAE,mDAAyB;IAC/B,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACtC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,GAAG,EAAE,CAAkC;CACzE,CAAC;CAAG;AALL,gFAKK"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Z } from 'zod-class';
|
|
3
|
+
declare const SetSecretsProviderConnectionIsEnabledDto_base: Z.Class<{
|
|
4
|
+
isEnabled: z.ZodBoolean;
|
|
5
|
+
}>;
|
|
6
|
+
export declare class SetSecretsProviderConnectionIsEnabledDto extends SetSecretsProviderConnectionIsEnabledDto_base {
|
|
7
|
+
}
|
|
8
|
+
export {};
|