@n8n/api-types 1.29.4 → 1.30.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/agent-builder-interactive.d.ts +6 -6
- package/dist/agents/agent-files.constants.d.ts +1 -1
- package/dist/agents/agent-files.constants.js +1 -1
- package/dist/agents/agent-files.constants.js.map +1 -1
- package/dist/agents/agent-json-config.schema.d.ts +685 -302
- package/dist/agents/agent-json-config.schema.js +45 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +8 -1
- package/dist/agents/dto.js +6 -1
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/model-providers.d.ts +22 -0
- package/dist/agents/provider-capabilities.d.ts +7 -0
- package/dist/agents/provider-capabilities.js +21 -8
- package/dist/agents/provider-capabilities.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +158 -158
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +24 -24
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
- package/dist/dto/breaking-changes/breaking-change-report-query.dto.d.ts +8 -0
- package/dist/dto/breaking-changes/breaking-change-report-query.dto.js +11 -0
- package/dist/dto/breaking-changes/breaking-change-report-query.dto.js.map +1 -0
- package/dist/dto/data-table/add-data-table-rows.dto.d.ts +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
- package/dist/dto/evaluations/index.d.ts +1 -0
- package/dist/dto/evaluations/public-api-test-run.dto.d.ts +28 -0
- package/dist/dto/evaluations/public-api-test-run.dto.js +3 -0
- package/dist/dto/evaluations/public-api-test-run.dto.js.map +1 -0
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +2 -1
- package/dist/dto/index.js +8 -6
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +9 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js +5 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js.map +1 -1
- package/dist/dto/instance-version-history/version-query.dto.d.ts +1 -1
- package/dist/dto/log-streaming/create-destination.dto.d.ts +102 -102
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/owner/owner-setup-request.dto.d.ts +1 -1
- package/dist/dto/packages/export-package-request.dto.d.ts +13 -0
- package/dist/dto/packages/export-package-request.dto.js +13 -0
- package/dist/dto/packages/export-package-request.dto.js.map +1 -0
- package/dist/dto/roles/role-member.schema.d.ts +2 -2
- package/dist/dto/roles/role-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/role-project-members-response.dto.d.ts +3 -3
- package/dist/dto/saml/saml-preferences.dto.d.ts +5 -5
- package/dist/dto/security-settings/security-settings.dto.d.ts +6 -6
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +6 -6
- package/dist/dto/user/users-list-filter.dto.d.ts +3 -3
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow.dto.d.ts +7 -7
- package/dist/dto/workflows/create-workflow.dto.d.ts +6 -6
- package/dist/dto/workflows/update-workflow.dto.d.ts +6 -6
- package/dist/frontend-settings.d.ts +2 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +22 -22
- package/dist/schemas/agent-run-reducer.d.ts +2 -0
- package/dist/schemas/agent-run-reducer.js +40 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +65 -65
- package/dist/schemas/breaking-changes.schema.js +2 -2
- package/dist/schemas/breaking-changes.schema.js.map +1 -1
- package/dist/schemas/credential-resolver.schema.d.ts +12 -12
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +2 -2
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/instance-ai.schema.d.ts +337 -199
- package/dist/schemas/instance-ai.schema.js +34 -3
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +12 -12
- package/dist/schemas/source-controlled-file.schema.d.ts +4 -4
- package/dist/schemas/usage.schema.d.ts +14 -14
- package/dist/schemas/user.schema.d.ts +18 -18
- package/dist/schemas/workflow-publication-status.schema.d.ts +38 -0
- package/dist/schemas/workflow-publication-status.schema.js +15 -0
- package/dist/schemas/workflow-publication-status.schema.js.map +1 -0
- package/package.json +9 -8
- package/dist/dto/packages/export-workflows-request.dto.d.ts +0 -9
- package/dist/dto/packages/export-workflows-request.dto.js +0 -11
- package/dist/dto/packages/export-workflows-request.dto.js.map +0 -1
|
@@ -8,12 +8,12 @@ declare const richCardSelectOptionSchema: z.ZodObject<{
|
|
|
8
8
|
value: z.ZodString;
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, "strict", z.ZodTypeAny, {
|
|
11
|
-
label: string;
|
|
12
11
|
value: string;
|
|
12
|
+
label: string;
|
|
13
13
|
description?: string | undefined;
|
|
14
14
|
}, {
|
|
15
|
-
label: string;
|
|
16
15
|
value: string;
|
|
16
|
+
label: string;
|
|
17
17
|
description?: string | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
declare const richCardButtonSchema: z.ZodObject<{
|
|
@@ -75,61 +75,61 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
75
75
|
label: z.ZodString;
|
|
76
76
|
value: z.ZodString;
|
|
77
77
|
}, "strict", z.ZodTypeAny, {
|
|
78
|
-
label: string;
|
|
79
78
|
value: string;
|
|
80
|
-
}, {
|
|
81
79
|
label: string;
|
|
80
|
+
}, {
|
|
82
81
|
value: string;
|
|
82
|
+
label: string;
|
|
83
83
|
}>, "many">>;
|
|
84
84
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
85
85
|
label: z.ZodString;
|
|
86
86
|
value: z.ZodString;
|
|
87
87
|
}, "strict", z.ZodTypeAny, {
|
|
88
|
-
label: string;
|
|
89
88
|
value: string;
|
|
90
|
-
}, {
|
|
91
89
|
label: string;
|
|
90
|
+
}, {
|
|
92
91
|
value: string;
|
|
92
|
+
label: string;
|
|
93
93
|
}>, "many">>;
|
|
94
94
|
}, "strict", z.ZodTypeAny, {
|
|
95
95
|
type: "fields";
|
|
96
96
|
fields?: {
|
|
97
|
-
label: string;
|
|
98
97
|
value: string;
|
|
98
|
+
label: string;
|
|
99
99
|
}[] | undefined;
|
|
100
100
|
items?: {
|
|
101
|
-
label: string;
|
|
102
101
|
value: string;
|
|
102
|
+
label: string;
|
|
103
103
|
}[] | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
type: "fields";
|
|
106
106
|
fields?: {
|
|
107
|
-
label: string;
|
|
108
107
|
value: string;
|
|
108
|
+
label: string;
|
|
109
109
|
}[] | undefined;
|
|
110
110
|
items?: {
|
|
111
|
-
label: string;
|
|
112
111
|
value: string;
|
|
112
|
+
label: string;
|
|
113
113
|
}[] | undefined;
|
|
114
114
|
}>, {
|
|
115
115
|
type: "fields";
|
|
116
116
|
fields?: {
|
|
117
|
-
label: string;
|
|
118
117
|
value: string;
|
|
118
|
+
label: string;
|
|
119
119
|
}[] | undefined;
|
|
120
120
|
items?: {
|
|
121
|
-
label: string;
|
|
122
121
|
value: string;
|
|
122
|
+
label: string;
|
|
123
123
|
}[] | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
type: "fields";
|
|
126
126
|
fields?: {
|
|
127
|
-
label: string;
|
|
128
127
|
value: string;
|
|
128
|
+
label: string;
|
|
129
129
|
}[] | undefined;
|
|
130
130
|
items?: {
|
|
131
|
-
label: string;
|
|
132
131
|
value: string;
|
|
132
|
+
label: string;
|
|
133
133
|
}[] | undefined;
|
|
134
134
|
}>, z.ZodObject<{
|
|
135
135
|
type: z.ZodLiteral<"image">;
|
|
@@ -180,18 +180,18 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
180
180
|
value: z.ZodString;
|
|
181
181
|
description: z.ZodOptional<z.ZodString>;
|
|
182
182
|
}, "strict", z.ZodTypeAny, {
|
|
183
|
-
label: string;
|
|
184
183
|
value: string;
|
|
184
|
+
label: string;
|
|
185
185
|
description?: string | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
label: string;
|
|
188
187
|
value: string;
|
|
188
|
+
label: string;
|
|
189
189
|
description?: string | undefined;
|
|
190
190
|
}>, "many">;
|
|
191
191
|
}, "strict", z.ZodTypeAny, {
|
|
192
192
|
options: {
|
|
193
|
-
label: string;
|
|
194
193
|
value: string;
|
|
194
|
+
label: string;
|
|
195
195
|
description?: string | undefined;
|
|
196
196
|
}[];
|
|
197
197
|
type: "select";
|
|
@@ -200,8 +200,8 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
200
200
|
placeholder?: string | undefined;
|
|
201
201
|
}, {
|
|
202
202
|
options: {
|
|
203
|
-
label: string;
|
|
204
203
|
value: string;
|
|
204
|
+
label: string;
|
|
205
205
|
description?: string | undefined;
|
|
206
206
|
}[];
|
|
207
207
|
type: "select";
|
|
@@ -218,18 +218,18 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
218
218
|
value: z.ZodString;
|
|
219
219
|
description: z.ZodOptional<z.ZodString>;
|
|
220
220
|
}, "strict", z.ZodTypeAny, {
|
|
221
|
-
label: string;
|
|
222
221
|
value: string;
|
|
222
|
+
label: string;
|
|
223
223
|
description?: string | undefined;
|
|
224
224
|
}, {
|
|
225
|
-
label: string;
|
|
226
225
|
value: string;
|
|
226
|
+
label: string;
|
|
227
227
|
description?: string | undefined;
|
|
228
228
|
}>, "many">;
|
|
229
229
|
}, "strict", z.ZodTypeAny, {
|
|
230
230
|
options: {
|
|
231
|
-
label: string;
|
|
232
231
|
value: string;
|
|
232
|
+
label: string;
|
|
233
233
|
description?: string | undefined;
|
|
234
234
|
}[];
|
|
235
235
|
type: "radio_select";
|
|
@@ -238,8 +238,8 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
238
238
|
placeholder?: string | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
options: {
|
|
241
|
-
label: string;
|
|
242
241
|
value: string;
|
|
242
|
+
label: string;
|
|
243
243
|
description?: string | undefined;
|
|
244
244
|
}[];
|
|
245
245
|
type: "radio_select";
|
|
@@ -294,61 +294,61 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
294
294
|
label: z.ZodString;
|
|
295
295
|
value: z.ZodString;
|
|
296
296
|
}, "strict", z.ZodTypeAny, {
|
|
297
|
-
label: string;
|
|
298
297
|
value: string;
|
|
299
|
-
}, {
|
|
300
298
|
label: string;
|
|
299
|
+
}, {
|
|
301
300
|
value: string;
|
|
301
|
+
label: string;
|
|
302
302
|
}>, "many">>;
|
|
303
303
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
304
|
label: z.ZodString;
|
|
305
305
|
value: z.ZodString;
|
|
306
306
|
}, "strict", z.ZodTypeAny, {
|
|
307
|
-
label: string;
|
|
308
307
|
value: string;
|
|
309
|
-
}, {
|
|
310
308
|
label: string;
|
|
309
|
+
}, {
|
|
311
310
|
value: string;
|
|
311
|
+
label: string;
|
|
312
312
|
}>, "many">>;
|
|
313
313
|
}, "strict", z.ZodTypeAny, {
|
|
314
314
|
type: "fields";
|
|
315
315
|
fields?: {
|
|
316
|
-
label: string;
|
|
317
316
|
value: string;
|
|
317
|
+
label: string;
|
|
318
318
|
}[] | undefined;
|
|
319
319
|
items?: {
|
|
320
|
-
label: string;
|
|
321
320
|
value: string;
|
|
321
|
+
label: string;
|
|
322
322
|
}[] | undefined;
|
|
323
323
|
}, {
|
|
324
324
|
type: "fields";
|
|
325
325
|
fields?: {
|
|
326
|
-
label: string;
|
|
327
326
|
value: string;
|
|
327
|
+
label: string;
|
|
328
328
|
}[] | undefined;
|
|
329
329
|
items?: {
|
|
330
|
-
label: string;
|
|
331
330
|
value: string;
|
|
331
|
+
label: string;
|
|
332
332
|
}[] | undefined;
|
|
333
333
|
}>, {
|
|
334
334
|
type: "fields";
|
|
335
335
|
fields?: {
|
|
336
|
-
label: string;
|
|
337
336
|
value: string;
|
|
337
|
+
label: string;
|
|
338
338
|
}[] | undefined;
|
|
339
339
|
items?: {
|
|
340
|
-
label: string;
|
|
341
340
|
value: string;
|
|
341
|
+
label: string;
|
|
342
342
|
}[] | undefined;
|
|
343
343
|
}, {
|
|
344
344
|
type: "fields";
|
|
345
345
|
fields?: {
|
|
346
|
-
label: string;
|
|
347
346
|
value: string;
|
|
347
|
+
label: string;
|
|
348
348
|
}[] | undefined;
|
|
349
349
|
items?: {
|
|
350
|
-
label: string;
|
|
351
350
|
value: string;
|
|
351
|
+
label: string;
|
|
352
352
|
}[] | undefined;
|
|
353
353
|
}>, z.ZodObject<{
|
|
354
354
|
type: z.ZodLiteral<"image">;
|
|
@@ -399,18 +399,18 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
399
399
|
value: z.ZodString;
|
|
400
400
|
description: z.ZodOptional<z.ZodString>;
|
|
401
401
|
}, "strict", z.ZodTypeAny, {
|
|
402
|
-
label: string;
|
|
403
402
|
value: string;
|
|
403
|
+
label: string;
|
|
404
404
|
description?: string | undefined;
|
|
405
405
|
}, {
|
|
406
|
-
label: string;
|
|
407
406
|
value: string;
|
|
407
|
+
label: string;
|
|
408
408
|
description?: string | undefined;
|
|
409
409
|
}>, "many">;
|
|
410
410
|
}, "strict", z.ZodTypeAny, {
|
|
411
411
|
options: {
|
|
412
|
-
label: string;
|
|
413
412
|
value: string;
|
|
413
|
+
label: string;
|
|
414
414
|
description?: string | undefined;
|
|
415
415
|
}[];
|
|
416
416
|
type: "select";
|
|
@@ -419,8 +419,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
419
419
|
placeholder?: string | undefined;
|
|
420
420
|
}, {
|
|
421
421
|
options: {
|
|
422
|
-
label: string;
|
|
423
422
|
value: string;
|
|
423
|
+
label: string;
|
|
424
424
|
description?: string | undefined;
|
|
425
425
|
}[];
|
|
426
426
|
type: "select";
|
|
@@ -437,18 +437,18 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
437
437
|
value: z.ZodString;
|
|
438
438
|
description: z.ZodOptional<z.ZodString>;
|
|
439
439
|
}, "strict", z.ZodTypeAny, {
|
|
440
|
-
label: string;
|
|
441
440
|
value: string;
|
|
441
|
+
label: string;
|
|
442
442
|
description?: string | undefined;
|
|
443
443
|
}, {
|
|
444
|
-
label: string;
|
|
445
444
|
value: string;
|
|
445
|
+
label: string;
|
|
446
446
|
description?: string | undefined;
|
|
447
447
|
}>, "many">;
|
|
448
448
|
}, "strict", z.ZodTypeAny, {
|
|
449
449
|
options: {
|
|
450
|
-
label: string;
|
|
451
450
|
value: string;
|
|
451
|
+
label: string;
|
|
452
452
|
description?: string | undefined;
|
|
453
453
|
}[];
|
|
454
454
|
type: "radio_select";
|
|
@@ -457,8 +457,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
457
457
|
placeholder?: string | undefined;
|
|
458
458
|
}, {
|
|
459
459
|
options: {
|
|
460
|
-
label: string;
|
|
461
460
|
value: string;
|
|
461
|
+
label: string;
|
|
462
462
|
description?: string | undefined;
|
|
463
463
|
}[];
|
|
464
464
|
type: "radio_select";
|
|
@@ -468,16 +468,6 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
468
468
|
}>]>, "many">;
|
|
469
469
|
}, "strict", z.ZodTypeAny, {
|
|
470
470
|
components: ({
|
|
471
|
-
type: "fields";
|
|
472
|
-
fields?: {
|
|
473
|
-
label: string;
|
|
474
|
-
value: string;
|
|
475
|
-
}[] | undefined;
|
|
476
|
-
items?: {
|
|
477
|
-
label: string;
|
|
478
|
-
value: string;
|
|
479
|
-
}[] | undefined;
|
|
480
|
-
} | {
|
|
481
471
|
type: "section";
|
|
482
472
|
text: string;
|
|
483
473
|
button?: {
|
|
@@ -486,6 +476,16 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
486
476
|
text?: string | undefined;
|
|
487
477
|
style?: "primary" | "danger" | "default" | undefined;
|
|
488
478
|
} | undefined;
|
|
479
|
+
} | {
|
|
480
|
+
type: "fields";
|
|
481
|
+
fields?: {
|
|
482
|
+
value: string;
|
|
483
|
+
label: string;
|
|
484
|
+
}[] | undefined;
|
|
485
|
+
items?: {
|
|
486
|
+
value: string;
|
|
487
|
+
label: string;
|
|
488
|
+
}[] | undefined;
|
|
489
489
|
} | {
|
|
490
490
|
type: "image";
|
|
491
491
|
url: string;
|
|
@@ -501,8 +501,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
501
501
|
style?: "primary" | "danger" | "default" | undefined;
|
|
502
502
|
} | {
|
|
503
503
|
options: {
|
|
504
|
-
label: string;
|
|
505
504
|
value: string;
|
|
505
|
+
label: string;
|
|
506
506
|
description?: string | undefined;
|
|
507
507
|
}[];
|
|
508
508
|
type: "select";
|
|
@@ -511,8 +511,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
511
511
|
placeholder?: string | undefined;
|
|
512
512
|
} | {
|
|
513
513
|
options: {
|
|
514
|
-
label: string;
|
|
515
514
|
value: string;
|
|
515
|
+
label: string;
|
|
516
516
|
description?: string | undefined;
|
|
517
517
|
}[];
|
|
518
518
|
type: "radio_select";
|
|
@@ -525,16 +525,6 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
525
525
|
title?: string | undefined;
|
|
526
526
|
}, {
|
|
527
527
|
components: ({
|
|
528
|
-
type: "fields";
|
|
529
|
-
fields?: {
|
|
530
|
-
label: string;
|
|
531
|
-
value: string;
|
|
532
|
-
}[] | undefined;
|
|
533
|
-
items?: {
|
|
534
|
-
label: string;
|
|
535
|
-
value: string;
|
|
536
|
-
}[] | undefined;
|
|
537
|
-
} | {
|
|
538
528
|
type: "section";
|
|
539
529
|
text: string;
|
|
540
530
|
button?: {
|
|
@@ -543,6 +533,16 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
543
533
|
text?: string | undefined;
|
|
544
534
|
style?: "primary" | "danger" | "default" | undefined;
|
|
545
535
|
} | undefined;
|
|
536
|
+
} | {
|
|
537
|
+
type: "fields";
|
|
538
|
+
fields?: {
|
|
539
|
+
value: string;
|
|
540
|
+
label: string;
|
|
541
|
+
}[] | undefined;
|
|
542
|
+
items?: {
|
|
543
|
+
value: string;
|
|
544
|
+
label: string;
|
|
545
|
+
}[] | undefined;
|
|
546
546
|
} | {
|
|
547
547
|
type: "image";
|
|
548
548
|
url: string;
|
|
@@ -558,8 +558,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
558
558
|
style?: "primary" | "danger" | "default" | undefined;
|
|
559
559
|
} | {
|
|
560
560
|
options: {
|
|
561
|
-
label: string;
|
|
562
561
|
value: string;
|
|
562
|
+
label: string;
|
|
563
563
|
description?: string | undefined;
|
|
564
564
|
}[];
|
|
565
565
|
type: "select";
|
|
@@ -568,8 +568,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
568
568
|
placeholder?: string | undefined;
|
|
569
569
|
} | {
|
|
570
570
|
options: {
|
|
571
|
-
label: string;
|
|
572
571
|
value: string;
|
|
572
|
+
label: string;
|
|
573
573
|
description?: string | undefined;
|
|
574
574
|
}[];
|
|
575
575
|
type: "radio_select";
|
|
@@ -630,61 +630,61 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
630
630
|
label: z.ZodString;
|
|
631
631
|
value: z.ZodString;
|
|
632
632
|
}, "strict", z.ZodTypeAny, {
|
|
633
|
-
label: string;
|
|
634
633
|
value: string;
|
|
635
|
-
}, {
|
|
636
634
|
label: string;
|
|
635
|
+
}, {
|
|
637
636
|
value: string;
|
|
637
|
+
label: string;
|
|
638
638
|
}>, "many">>;
|
|
639
639
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
640
640
|
label: z.ZodString;
|
|
641
641
|
value: z.ZodString;
|
|
642
642
|
}, "strict", z.ZodTypeAny, {
|
|
643
|
-
label: string;
|
|
644
643
|
value: string;
|
|
645
|
-
}, {
|
|
646
644
|
label: string;
|
|
645
|
+
}, {
|
|
647
646
|
value: string;
|
|
647
|
+
label: string;
|
|
648
648
|
}>, "many">>;
|
|
649
649
|
}, "strict", z.ZodTypeAny, {
|
|
650
650
|
type: "fields";
|
|
651
651
|
fields?: {
|
|
652
|
-
label: string;
|
|
653
652
|
value: string;
|
|
653
|
+
label: string;
|
|
654
654
|
}[] | undefined;
|
|
655
655
|
items?: {
|
|
656
|
-
label: string;
|
|
657
656
|
value: string;
|
|
657
|
+
label: string;
|
|
658
658
|
}[] | undefined;
|
|
659
659
|
}, {
|
|
660
660
|
type: "fields";
|
|
661
661
|
fields?: {
|
|
662
|
-
label: string;
|
|
663
662
|
value: string;
|
|
663
|
+
label: string;
|
|
664
664
|
}[] | undefined;
|
|
665
665
|
items?: {
|
|
666
|
-
label: string;
|
|
667
666
|
value: string;
|
|
667
|
+
label: string;
|
|
668
668
|
}[] | undefined;
|
|
669
669
|
}>, {
|
|
670
670
|
type: "fields";
|
|
671
671
|
fields?: {
|
|
672
|
-
label: string;
|
|
673
672
|
value: string;
|
|
673
|
+
label: string;
|
|
674
674
|
}[] | undefined;
|
|
675
675
|
items?: {
|
|
676
|
-
label: string;
|
|
677
676
|
value: string;
|
|
677
|
+
label: string;
|
|
678
678
|
}[] | undefined;
|
|
679
679
|
}, {
|
|
680
680
|
type: "fields";
|
|
681
681
|
fields?: {
|
|
682
|
-
label: string;
|
|
683
682
|
value: string;
|
|
683
|
+
label: string;
|
|
684
684
|
}[] | undefined;
|
|
685
685
|
items?: {
|
|
686
|
-
label: string;
|
|
687
686
|
value: string;
|
|
687
|
+
label: string;
|
|
688
688
|
}[] | undefined;
|
|
689
689
|
}>, z.ZodObject<{
|
|
690
690
|
type: z.ZodLiteral<"image">;
|
|
@@ -735,18 +735,18 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
735
735
|
value: z.ZodString;
|
|
736
736
|
description: z.ZodOptional<z.ZodString>;
|
|
737
737
|
}, "strict", z.ZodTypeAny, {
|
|
738
|
-
label: string;
|
|
739
738
|
value: string;
|
|
739
|
+
label: string;
|
|
740
740
|
description?: string | undefined;
|
|
741
741
|
}, {
|
|
742
|
-
label: string;
|
|
743
742
|
value: string;
|
|
743
|
+
label: string;
|
|
744
744
|
description?: string | undefined;
|
|
745
745
|
}>, "many">;
|
|
746
746
|
}, "strict", z.ZodTypeAny, {
|
|
747
747
|
options: {
|
|
748
|
-
label: string;
|
|
749
748
|
value: string;
|
|
749
|
+
label: string;
|
|
750
750
|
description?: string | undefined;
|
|
751
751
|
}[];
|
|
752
752
|
type: "select";
|
|
@@ -755,8 +755,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
755
755
|
placeholder?: string | undefined;
|
|
756
756
|
}, {
|
|
757
757
|
options: {
|
|
758
|
-
label: string;
|
|
759
758
|
value: string;
|
|
759
|
+
label: string;
|
|
760
760
|
description?: string | undefined;
|
|
761
761
|
}[];
|
|
762
762
|
type: "select";
|
|
@@ -773,18 +773,18 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
773
773
|
value: z.ZodString;
|
|
774
774
|
description: z.ZodOptional<z.ZodString>;
|
|
775
775
|
}, "strict", z.ZodTypeAny, {
|
|
776
|
-
label: string;
|
|
777
776
|
value: string;
|
|
777
|
+
label: string;
|
|
778
778
|
description?: string | undefined;
|
|
779
779
|
}, {
|
|
780
|
-
label: string;
|
|
781
780
|
value: string;
|
|
781
|
+
label: string;
|
|
782
782
|
description?: string | undefined;
|
|
783
783
|
}>, "many">;
|
|
784
784
|
}, "strict", z.ZodTypeAny, {
|
|
785
785
|
options: {
|
|
786
|
-
label: string;
|
|
787
786
|
value: string;
|
|
787
|
+
label: string;
|
|
788
788
|
description?: string | undefined;
|
|
789
789
|
}[];
|
|
790
790
|
type: "radio_select";
|
|
@@ -793,8 +793,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
793
793
|
placeholder?: string | undefined;
|
|
794
794
|
}, {
|
|
795
795
|
options: {
|
|
796
|
-
label: string;
|
|
797
796
|
value: string;
|
|
797
|
+
label: string;
|
|
798
798
|
description?: string | undefined;
|
|
799
799
|
}[];
|
|
800
800
|
type: "radio_select";
|
|
@@ -804,16 +804,6 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
804
804
|
}>]>, "many">;
|
|
805
805
|
}, "strict", z.ZodTypeAny, {
|
|
806
806
|
components: ({
|
|
807
|
-
type: "fields";
|
|
808
|
-
fields?: {
|
|
809
|
-
label: string;
|
|
810
|
-
value: string;
|
|
811
|
-
}[] | undefined;
|
|
812
|
-
items?: {
|
|
813
|
-
label: string;
|
|
814
|
-
value: string;
|
|
815
|
-
}[] | undefined;
|
|
816
|
-
} | {
|
|
817
807
|
type: "section";
|
|
818
808
|
text: string;
|
|
819
809
|
button?: {
|
|
@@ -822,6 +812,16 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
822
812
|
text?: string | undefined;
|
|
823
813
|
style?: "primary" | "danger" | "default" | undefined;
|
|
824
814
|
} | undefined;
|
|
815
|
+
} | {
|
|
816
|
+
type: "fields";
|
|
817
|
+
fields?: {
|
|
818
|
+
value: string;
|
|
819
|
+
label: string;
|
|
820
|
+
}[] | undefined;
|
|
821
|
+
items?: {
|
|
822
|
+
value: string;
|
|
823
|
+
label: string;
|
|
824
|
+
}[] | undefined;
|
|
825
825
|
} | {
|
|
826
826
|
type: "image";
|
|
827
827
|
url: string;
|
|
@@ -837,8 +837,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
837
837
|
style?: "primary" | "danger" | "default" | undefined;
|
|
838
838
|
} | {
|
|
839
839
|
options: {
|
|
840
|
-
label: string;
|
|
841
840
|
value: string;
|
|
841
|
+
label: string;
|
|
842
842
|
description?: string | undefined;
|
|
843
843
|
}[];
|
|
844
844
|
type: "select";
|
|
@@ -847,8 +847,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
847
847
|
placeholder?: string | undefined;
|
|
848
848
|
} | {
|
|
849
849
|
options: {
|
|
850
|
-
label: string;
|
|
851
850
|
value: string;
|
|
851
|
+
label: string;
|
|
852
852
|
description?: string | undefined;
|
|
853
853
|
}[];
|
|
854
854
|
type: "radio_select";
|
|
@@ -861,16 +861,6 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
861
861
|
title?: string | undefined;
|
|
862
862
|
}, {
|
|
863
863
|
components: ({
|
|
864
|
-
type: "fields";
|
|
865
|
-
fields?: {
|
|
866
|
-
label: string;
|
|
867
|
-
value: string;
|
|
868
|
-
}[] | undefined;
|
|
869
|
-
items?: {
|
|
870
|
-
label: string;
|
|
871
|
-
value: string;
|
|
872
|
-
}[] | undefined;
|
|
873
|
-
} | {
|
|
874
864
|
type: "section";
|
|
875
865
|
text: string;
|
|
876
866
|
button?: {
|
|
@@ -879,6 +869,16 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
879
869
|
text?: string | undefined;
|
|
880
870
|
style?: "primary" | "danger" | "default" | undefined;
|
|
881
871
|
} | undefined;
|
|
872
|
+
} | {
|
|
873
|
+
type: "fields";
|
|
874
|
+
fields?: {
|
|
875
|
+
value: string;
|
|
876
|
+
label: string;
|
|
877
|
+
}[] | undefined;
|
|
878
|
+
items?: {
|
|
879
|
+
value: string;
|
|
880
|
+
label: string;
|
|
881
|
+
}[] | undefined;
|
|
882
882
|
} | {
|
|
883
883
|
type: "image";
|
|
884
884
|
url: string;
|
|
@@ -894,8 +894,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
894
894
|
style?: "primary" | "danger" | "default" | undefined;
|
|
895
895
|
} | {
|
|
896
896
|
options: {
|
|
897
|
-
label: string;
|
|
898
897
|
value: string;
|
|
898
|
+
label: string;
|
|
899
899
|
description?: string | undefined;
|
|
900
900
|
}[];
|
|
901
901
|
type: "select";
|
|
@@ -904,8 +904,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
904
904
|
placeholder?: string | undefined;
|
|
905
905
|
} | {
|
|
906
906
|
options: {
|
|
907
|
-
label: string;
|
|
908
907
|
value: string;
|
|
908
|
+
label: string;
|
|
909
909
|
description?: string | undefined;
|
|
910
910
|
}[];
|
|
911
911
|
type: "radio_select";
|
|
@@ -921,16 +921,6 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
921
921
|
text?: string | undefined;
|
|
922
922
|
card?: {
|
|
923
923
|
components: ({
|
|
924
|
-
type: "fields";
|
|
925
|
-
fields?: {
|
|
926
|
-
label: string;
|
|
927
|
-
value: string;
|
|
928
|
-
}[] | undefined;
|
|
929
|
-
items?: {
|
|
930
|
-
label: string;
|
|
931
|
-
value: string;
|
|
932
|
-
}[] | undefined;
|
|
933
|
-
} | {
|
|
934
924
|
type: "section";
|
|
935
925
|
text: string;
|
|
936
926
|
button?: {
|
|
@@ -939,6 +929,16 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
939
929
|
text?: string | undefined;
|
|
940
930
|
style?: "primary" | "danger" | "default" | undefined;
|
|
941
931
|
} | undefined;
|
|
932
|
+
} | {
|
|
933
|
+
type: "fields";
|
|
934
|
+
fields?: {
|
|
935
|
+
value: string;
|
|
936
|
+
label: string;
|
|
937
|
+
}[] | undefined;
|
|
938
|
+
items?: {
|
|
939
|
+
value: string;
|
|
940
|
+
label: string;
|
|
941
|
+
}[] | undefined;
|
|
942
942
|
} | {
|
|
943
943
|
type: "image";
|
|
944
944
|
url: string;
|
|
@@ -954,8 +954,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
954
954
|
style?: "primary" | "danger" | "default" | undefined;
|
|
955
955
|
} | {
|
|
956
956
|
options: {
|
|
957
|
-
label: string;
|
|
958
957
|
value: string;
|
|
958
|
+
label: string;
|
|
959
959
|
description?: string | undefined;
|
|
960
960
|
}[];
|
|
961
961
|
type: "select";
|
|
@@ -964,8 +964,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
964
964
|
placeholder?: string | undefined;
|
|
965
965
|
} | {
|
|
966
966
|
options: {
|
|
967
|
-
label: string;
|
|
968
967
|
value: string;
|
|
968
|
+
label: string;
|
|
969
969
|
description?: string | undefined;
|
|
970
970
|
}[];
|
|
971
971
|
type: "radio_select";
|
|
@@ -981,16 +981,6 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
981
981
|
text?: string | undefined;
|
|
982
982
|
card?: {
|
|
983
983
|
components: ({
|
|
984
|
-
type: "fields";
|
|
985
|
-
fields?: {
|
|
986
|
-
label: string;
|
|
987
|
-
value: string;
|
|
988
|
-
}[] | undefined;
|
|
989
|
-
items?: {
|
|
990
|
-
label: string;
|
|
991
|
-
value: string;
|
|
992
|
-
}[] | undefined;
|
|
993
|
-
} | {
|
|
994
984
|
type: "section";
|
|
995
985
|
text: string;
|
|
996
986
|
button?: {
|
|
@@ -999,6 +989,16 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
999
989
|
text?: string | undefined;
|
|
1000
990
|
style?: "primary" | "danger" | "default" | undefined;
|
|
1001
991
|
} | undefined;
|
|
992
|
+
} | {
|
|
993
|
+
type: "fields";
|
|
994
|
+
fields?: {
|
|
995
|
+
value: string;
|
|
996
|
+
label: string;
|
|
997
|
+
}[] | undefined;
|
|
998
|
+
items?: {
|
|
999
|
+
value: string;
|
|
1000
|
+
label: string;
|
|
1001
|
+
}[] | undefined;
|
|
1002
1002
|
} | {
|
|
1003
1003
|
type: "image";
|
|
1004
1004
|
url: string;
|
|
@@ -1014,8 +1014,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1014
1014
|
style?: "primary" | "danger" | "default" | undefined;
|
|
1015
1015
|
} | {
|
|
1016
1016
|
options: {
|
|
1017
|
-
label: string;
|
|
1018
1017
|
value: string;
|
|
1018
|
+
label: string;
|
|
1019
1019
|
description?: string | undefined;
|
|
1020
1020
|
}[];
|
|
1021
1021
|
type: "select";
|
|
@@ -1024,8 +1024,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1024
1024
|
placeholder?: string | undefined;
|
|
1025
1025
|
} | {
|
|
1026
1026
|
options: {
|
|
1027
|
-
label: string;
|
|
1028
1027
|
value: string;
|
|
1028
|
+
label: string;
|
|
1029
1029
|
description?: string | undefined;
|
|
1030
1030
|
}[];
|
|
1031
1031
|
type: "radio_select";
|
|
@@ -1041,16 +1041,6 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1041
1041
|
text?: string | undefined;
|
|
1042
1042
|
card?: {
|
|
1043
1043
|
components: ({
|
|
1044
|
-
type: "fields";
|
|
1045
|
-
fields?: {
|
|
1046
|
-
label: string;
|
|
1047
|
-
value: string;
|
|
1048
|
-
}[] | undefined;
|
|
1049
|
-
items?: {
|
|
1050
|
-
label: string;
|
|
1051
|
-
value: string;
|
|
1052
|
-
}[] | undefined;
|
|
1053
|
-
} | {
|
|
1054
1044
|
type: "section";
|
|
1055
1045
|
text: string;
|
|
1056
1046
|
button?: {
|
|
@@ -1059,6 +1049,16 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1059
1049
|
text?: string | undefined;
|
|
1060
1050
|
style?: "primary" | "danger" | "default" | undefined;
|
|
1061
1051
|
} | undefined;
|
|
1052
|
+
} | {
|
|
1053
|
+
type: "fields";
|
|
1054
|
+
fields?: {
|
|
1055
|
+
value: string;
|
|
1056
|
+
label: string;
|
|
1057
|
+
}[] | undefined;
|
|
1058
|
+
items?: {
|
|
1059
|
+
value: string;
|
|
1060
|
+
label: string;
|
|
1061
|
+
}[] | undefined;
|
|
1062
1062
|
} | {
|
|
1063
1063
|
type: "image";
|
|
1064
1064
|
url: string;
|
|
@@ -1074,8 +1074,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1074
1074
|
style?: "primary" | "danger" | "default" | undefined;
|
|
1075
1075
|
} | {
|
|
1076
1076
|
options: {
|
|
1077
|
-
label: string;
|
|
1078
1077
|
value: string;
|
|
1078
|
+
label: string;
|
|
1079
1079
|
description?: string | undefined;
|
|
1080
1080
|
}[];
|
|
1081
1081
|
type: "select";
|
|
@@ -1084,8 +1084,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1084
1084
|
placeholder?: string | undefined;
|
|
1085
1085
|
} | {
|
|
1086
1086
|
options: {
|
|
1087
|
-
label: string;
|
|
1088
1087
|
value: string;
|
|
1088
|
+
label: string;
|
|
1089
1089
|
description?: string | undefined;
|
|
1090
1090
|
}[];
|
|
1091
1091
|
type: "radio_select";
|
|
@@ -1101,16 +1101,6 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1101
1101
|
text?: string | undefined;
|
|
1102
1102
|
card?: {
|
|
1103
1103
|
components: ({
|
|
1104
|
-
type: "fields";
|
|
1105
|
-
fields?: {
|
|
1106
|
-
label: string;
|
|
1107
|
-
value: string;
|
|
1108
|
-
}[] | undefined;
|
|
1109
|
-
items?: {
|
|
1110
|
-
label: string;
|
|
1111
|
-
value: string;
|
|
1112
|
-
}[] | undefined;
|
|
1113
|
-
} | {
|
|
1114
1104
|
type: "section";
|
|
1115
1105
|
text: string;
|
|
1116
1106
|
button?: {
|
|
@@ -1119,6 +1109,16 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1119
1109
|
text?: string | undefined;
|
|
1120
1110
|
style?: "primary" | "danger" | "default" | undefined;
|
|
1121
1111
|
} | undefined;
|
|
1112
|
+
} | {
|
|
1113
|
+
type: "fields";
|
|
1114
|
+
fields?: {
|
|
1115
|
+
value: string;
|
|
1116
|
+
label: string;
|
|
1117
|
+
}[] | undefined;
|
|
1118
|
+
items?: {
|
|
1119
|
+
value: string;
|
|
1120
|
+
label: string;
|
|
1121
|
+
}[] | undefined;
|
|
1122
1122
|
} | {
|
|
1123
1123
|
type: "image";
|
|
1124
1124
|
url: string;
|
|
@@ -1134,8 +1134,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1134
1134
|
style?: "primary" | "danger" | "default" | undefined;
|
|
1135
1135
|
} | {
|
|
1136
1136
|
options: {
|
|
1137
|
-
label: string;
|
|
1138
1137
|
value: string;
|
|
1138
|
+
label: string;
|
|
1139
1139
|
description?: string | undefined;
|
|
1140
1140
|
}[];
|
|
1141
1141
|
type: "select";
|
|
@@ -1144,8 +1144,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1144
1144
|
placeholder?: string | undefined;
|
|
1145
1145
|
} | {
|
|
1146
1146
|
options: {
|
|
1147
|
-
label: string;
|
|
1148
1147
|
value: string;
|
|
1148
|
+
label: string;
|
|
1149
1149
|
description?: string | undefined;
|
|
1150
1150
|
}[];
|
|
1151
1151
|
type: "radio_select";
|