@n8n/api-types 1.30.3 → 1.31.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/agent-builder-interactive.d.ts +5 -182
- package/dist/agent-builder-interactive.js +6 -50
- package/dist/agent-builder-interactive.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +262 -0
- package/dist/agents/agent-interaction.schema.js +56 -0
- package/dist/agents/agent-interaction.schema.js.map +1 -0
- package/dist/agents/agent-json-config.schema.d.ts +1878 -752
- package/dist/agents/agent-json-config.schema.js +82 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +232 -103
- package/dist/agents/dto.js +8 -3
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +2 -1
- package/dist/agents/index.js +2 -11
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +108 -108
- package/dist/agents/types.d.ts +39 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +85 -85
- package/dist/dto/ai/ai-ask-request.dto.d.ts +13 -13
- package/dist/dto/ai/ai-build-request.dto.d.ts +3 -3
- package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +1 -1
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
- package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/base-dynamic-parameters-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +1 -1
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.js +7 -3
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/insights/list-workflow-query.dto.d.ts +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +8 -8
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +1 -1
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/oidc/config.dto.d.ts +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +11 -5
- package/dist/dto/packages/import-package-request.dto.js +19 -19
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- 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/roles/update-role.dto.d.ts +1 -1
- package/dist/dto/security-settings/security-policy.dto.d.ts +32 -0
- package/dist/dto/security-settings/security-policy.dto.js +17 -0
- package/dist/dto/security-settings/security-policy.dto.js.map +1 -0
- package/dist/dto/security-settings/security-settings.dto.d.ts +20 -0
- package/dist/dto/security-settings/security-settings.dto.js +4 -0
- package/dist/dto/security-settings/security-settings.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +9 -9
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
- package/dist/dto/workflow-history/update-workflow-history-version.dto.d.ts +1 -1
- package/dist/dto/workflows/activate-workflow.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 +8 -8
- package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +1 -1
- package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +1 -1
- package/dist/dto/workflows/manual-run.dto.d.ts +112 -0
- package/dist/dto/workflows/manual-run.dto.js +51 -0
- package/dist/dto/workflows/manual-run.dto.js.map +1 -0
- package/dist/dto/workflows/update-workflow.dto.d.ts +8 -8
- package/dist/frontend-settings.d.ts +4 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +16 -16
- package/dist/schemas/agent-run-reducer.js +63 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +128 -128
- package/dist/schemas/credential-resolver.schema.d.ts +8 -8
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +6 -6
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/eval-collections.schema.d.ts +3 -3
- package/dist/schemas/favorites.schema.d.ts +2 -2
- package/dist/schemas/favorites.schema.js +7 -1
- package/dist/schemas/favorites.schema.js.map +1 -1
- package/dist/schemas/insights.schema.d.ts +22 -22
- package/dist/schemas/instance-ai.schema.d.ts +611 -419
- package/dist/schemas/instance-ai.schema.js +61 -8
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +16 -16
- package/dist/schemas/source-controlled-file.schema.d.ts +6 -6
- package/dist/schemas/user.schema.d.ts +18 -18
- package/dist/schemas/workflow-execution-status.schema.d.ts +4 -4
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -2
- package/dist/workflow-reviews-policy.d.ts +9 -0
- package/dist/workflow-reviews-policy.js +8 -0
- package/dist/workflow-reviews-policy.js.map +1 -0
- package/package.json +10 -9
|
@@ -23,14 +23,14 @@ declare const richCardButtonSchema: z.ZodObject<{
|
|
|
23
23
|
style: z.ZodOptional<z.ZodEnum<["primary", "danger", "default"]>>;
|
|
24
24
|
}, "strict", z.ZodTypeAny, {
|
|
25
25
|
value: string;
|
|
26
|
-
label?: string | undefined;
|
|
27
26
|
text?: string | undefined;
|
|
28
|
-
|
|
27
|
+
label?: string | undefined;
|
|
28
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
value: string;
|
|
31
|
-
label?: string | undefined;
|
|
32
31
|
text?: string | undefined;
|
|
33
|
-
|
|
32
|
+
label?: string | undefined;
|
|
33
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
36
36
|
type: z.ZodLiteral<"section">;
|
|
@@ -42,32 +42,32 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
42
42
|
style: z.ZodOptional<z.ZodEnum<["primary", "danger", "default"]>>;
|
|
43
43
|
}, "strict", z.ZodTypeAny, {
|
|
44
44
|
value: string;
|
|
45
|
-
label?: string | undefined;
|
|
46
45
|
text?: string | undefined;
|
|
47
|
-
|
|
46
|
+
label?: string | undefined;
|
|
47
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
value: string;
|
|
50
|
-
label?: string | undefined;
|
|
51
50
|
text?: string | undefined;
|
|
52
|
-
|
|
51
|
+
label?: string | undefined;
|
|
52
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
53
53
|
}>>;
|
|
54
54
|
}, "strict", z.ZodTypeAny, {
|
|
55
55
|
type: "section";
|
|
56
56
|
text: string;
|
|
57
57
|
button?: {
|
|
58
58
|
value: string;
|
|
59
|
-
label?: string | undefined;
|
|
60
59
|
text?: string | undefined;
|
|
61
|
-
|
|
60
|
+
label?: string | undefined;
|
|
61
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
62
62
|
} | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
type: "section";
|
|
65
65
|
text: string;
|
|
66
66
|
button?: {
|
|
67
67
|
value: string;
|
|
68
|
-
label?: string | undefined;
|
|
69
68
|
text?: string | undefined;
|
|
70
|
-
|
|
69
|
+
label?: string | undefined;
|
|
70
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
71
71
|
} | undefined;
|
|
72
72
|
}>, z.ZodEffects<z.ZodObject<{
|
|
73
73
|
type: z.ZodLiteral<"fields">;
|
|
@@ -161,15 +161,15 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
161
161
|
}, "strict", z.ZodTypeAny, {
|
|
162
162
|
value: string;
|
|
163
163
|
type: "button";
|
|
164
|
-
label?: string | undefined;
|
|
165
164
|
text?: string | undefined;
|
|
166
|
-
|
|
165
|
+
label?: string | undefined;
|
|
166
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
value: string;
|
|
169
169
|
type: "button";
|
|
170
|
-
label?: string | undefined;
|
|
171
170
|
text?: string | undefined;
|
|
172
|
-
|
|
171
|
+
label?: string | undefined;
|
|
172
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
173
173
|
}>, z.ZodObject<{
|
|
174
174
|
type: z.ZodLiteral<"select">;
|
|
175
175
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -195,8 +195,8 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
195
195
|
description?: string | undefined;
|
|
196
196
|
}[];
|
|
197
197
|
type: "select";
|
|
198
|
-
label?: string | undefined;
|
|
199
198
|
id?: string | undefined;
|
|
199
|
+
label?: string | undefined;
|
|
200
200
|
placeholder?: string | undefined;
|
|
201
201
|
}, {
|
|
202
202
|
options: {
|
|
@@ -205,8 +205,8 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
205
205
|
description?: string | undefined;
|
|
206
206
|
}[];
|
|
207
207
|
type: "select";
|
|
208
|
-
label?: string | undefined;
|
|
209
208
|
id?: string | undefined;
|
|
209
|
+
label?: string | undefined;
|
|
210
210
|
placeholder?: string | undefined;
|
|
211
211
|
}>, z.ZodObject<{
|
|
212
212
|
type: z.ZodLiteral<"radio_select">;
|
|
@@ -233,8 +233,8 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
233
233
|
description?: string | undefined;
|
|
234
234
|
}[];
|
|
235
235
|
type: "radio_select";
|
|
236
|
-
label?: string | undefined;
|
|
237
236
|
id?: string | undefined;
|
|
237
|
+
label?: string | undefined;
|
|
238
238
|
placeholder?: string | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
options: {
|
|
@@ -243,8 +243,8 @@ export declare const richCardComponentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
243
243
|
description?: string | undefined;
|
|
244
244
|
}[];
|
|
245
245
|
type: "radio_select";
|
|
246
|
-
label?: string | undefined;
|
|
247
246
|
id?: string | undefined;
|
|
247
|
+
label?: string | undefined;
|
|
248
248
|
placeholder?: string | undefined;
|
|
249
249
|
}>]>;
|
|
250
250
|
export declare const richCardSchema: z.ZodObject<{
|
|
@@ -261,32 +261,32 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
261
261
|
style: z.ZodOptional<z.ZodEnum<["primary", "danger", "default"]>>;
|
|
262
262
|
}, "strict", z.ZodTypeAny, {
|
|
263
263
|
value: string;
|
|
264
|
-
label?: string | undefined;
|
|
265
264
|
text?: string | undefined;
|
|
266
|
-
|
|
265
|
+
label?: string | undefined;
|
|
266
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
267
267
|
}, {
|
|
268
268
|
value: string;
|
|
269
|
-
label?: string | undefined;
|
|
270
269
|
text?: string | undefined;
|
|
271
|
-
|
|
270
|
+
label?: string | undefined;
|
|
271
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
272
272
|
}>>;
|
|
273
273
|
}, "strict", z.ZodTypeAny, {
|
|
274
274
|
type: "section";
|
|
275
275
|
text: string;
|
|
276
276
|
button?: {
|
|
277
277
|
value: string;
|
|
278
|
-
label?: string | undefined;
|
|
279
278
|
text?: string | undefined;
|
|
280
|
-
|
|
279
|
+
label?: string | undefined;
|
|
280
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
281
281
|
} | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
type: "section";
|
|
284
284
|
text: string;
|
|
285
285
|
button?: {
|
|
286
286
|
value: string;
|
|
287
|
-
label?: string | undefined;
|
|
288
287
|
text?: string | undefined;
|
|
289
|
-
|
|
288
|
+
label?: string | undefined;
|
|
289
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
290
290
|
} | undefined;
|
|
291
291
|
}>, z.ZodEffects<z.ZodObject<{
|
|
292
292
|
type: z.ZodLiteral<"fields">;
|
|
@@ -380,15 +380,15 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
380
380
|
}, "strict", z.ZodTypeAny, {
|
|
381
381
|
value: string;
|
|
382
382
|
type: "button";
|
|
383
|
-
label?: string | undefined;
|
|
384
383
|
text?: string | undefined;
|
|
385
|
-
|
|
384
|
+
label?: string | undefined;
|
|
385
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
386
386
|
}, {
|
|
387
387
|
value: string;
|
|
388
388
|
type: "button";
|
|
389
|
-
label?: string | undefined;
|
|
390
389
|
text?: string | undefined;
|
|
391
|
-
|
|
390
|
+
label?: string | undefined;
|
|
391
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
392
392
|
}>, z.ZodObject<{
|
|
393
393
|
type: z.ZodLiteral<"select">;
|
|
394
394
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -414,8 +414,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
414
414
|
description?: string | undefined;
|
|
415
415
|
}[];
|
|
416
416
|
type: "select";
|
|
417
|
-
label?: string | undefined;
|
|
418
417
|
id?: string | undefined;
|
|
418
|
+
label?: string | undefined;
|
|
419
419
|
placeholder?: string | undefined;
|
|
420
420
|
}, {
|
|
421
421
|
options: {
|
|
@@ -424,8 +424,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
424
424
|
description?: string | undefined;
|
|
425
425
|
}[];
|
|
426
426
|
type: "select";
|
|
427
|
-
label?: string | undefined;
|
|
428
427
|
id?: string | undefined;
|
|
428
|
+
label?: string | undefined;
|
|
429
429
|
placeholder?: string | undefined;
|
|
430
430
|
}>, z.ZodObject<{
|
|
431
431
|
type: z.ZodLiteral<"radio_select">;
|
|
@@ -452,8 +452,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
452
452
|
description?: string | undefined;
|
|
453
453
|
}[];
|
|
454
454
|
type: "radio_select";
|
|
455
|
-
label?: string | undefined;
|
|
456
455
|
id?: string | undefined;
|
|
456
|
+
label?: string | undefined;
|
|
457
457
|
placeholder?: string | undefined;
|
|
458
458
|
}, {
|
|
459
459
|
options: {
|
|
@@ -462,8 +462,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
462
462
|
description?: string | undefined;
|
|
463
463
|
}[];
|
|
464
464
|
type: "radio_select";
|
|
465
|
-
label?: string | undefined;
|
|
466
465
|
id?: string | undefined;
|
|
466
|
+
label?: string | undefined;
|
|
467
467
|
placeholder?: string | undefined;
|
|
468
468
|
}>]>, "many">;
|
|
469
469
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -472,9 +472,9 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
472
472
|
text: string;
|
|
473
473
|
button?: {
|
|
474
474
|
value: string;
|
|
475
|
-
label?: string | undefined;
|
|
476
475
|
text?: string | undefined;
|
|
477
|
-
|
|
476
|
+
label?: string | undefined;
|
|
477
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
478
478
|
} | undefined;
|
|
479
479
|
} | {
|
|
480
480
|
type: "fields";
|
|
@@ -496,9 +496,9 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
496
496
|
} | {
|
|
497
497
|
value: string;
|
|
498
498
|
type: "button";
|
|
499
|
-
label?: string | undefined;
|
|
500
499
|
text?: string | undefined;
|
|
501
|
-
|
|
500
|
+
label?: string | undefined;
|
|
501
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
502
502
|
} | {
|
|
503
503
|
options: {
|
|
504
504
|
value: string;
|
|
@@ -506,8 +506,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
506
506
|
description?: string | undefined;
|
|
507
507
|
}[];
|
|
508
508
|
type: "select";
|
|
509
|
-
label?: string | undefined;
|
|
510
509
|
id?: string | undefined;
|
|
510
|
+
label?: string | undefined;
|
|
511
511
|
placeholder?: string | undefined;
|
|
512
512
|
} | {
|
|
513
513
|
options: {
|
|
@@ -516,22 +516,22 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
516
516
|
description?: string | undefined;
|
|
517
517
|
}[];
|
|
518
518
|
type: "radio_select";
|
|
519
|
-
label?: string | undefined;
|
|
520
519
|
id?: string | undefined;
|
|
520
|
+
label?: string | undefined;
|
|
521
521
|
placeholder?: string | undefined;
|
|
522
522
|
})[];
|
|
523
523
|
message?: string | undefined;
|
|
524
|
-
awaitResponse?: boolean | undefined;
|
|
525
524
|
title?: string | undefined;
|
|
525
|
+
awaitResponse?: boolean | undefined;
|
|
526
526
|
}, {
|
|
527
527
|
components: ({
|
|
528
528
|
type: "section";
|
|
529
529
|
text: string;
|
|
530
530
|
button?: {
|
|
531
531
|
value: string;
|
|
532
|
-
label?: string | undefined;
|
|
533
532
|
text?: string | undefined;
|
|
534
|
-
|
|
533
|
+
label?: string | undefined;
|
|
534
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
535
535
|
} | undefined;
|
|
536
536
|
} | {
|
|
537
537
|
type: "fields";
|
|
@@ -553,9 +553,9 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
553
553
|
} | {
|
|
554
554
|
value: string;
|
|
555
555
|
type: "button";
|
|
556
|
-
label?: string | undefined;
|
|
557
556
|
text?: string | undefined;
|
|
558
|
-
|
|
557
|
+
label?: string | undefined;
|
|
558
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
559
559
|
} | {
|
|
560
560
|
options: {
|
|
561
561
|
value: string;
|
|
@@ -563,8 +563,8 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
563
563
|
description?: string | undefined;
|
|
564
564
|
}[];
|
|
565
565
|
type: "select";
|
|
566
|
-
label?: string | undefined;
|
|
567
566
|
id?: string | undefined;
|
|
567
|
+
label?: string | undefined;
|
|
568
568
|
placeholder?: string | undefined;
|
|
569
569
|
} | {
|
|
570
570
|
options: {
|
|
@@ -573,13 +573,13 @@ export declare const richCardSchema: z.ZodObject<{
|
|
|
573
573
|
description?: string | undefined;
|
|
574
574
|
}[];
|
|
575
575
|
type: "radio_select";
|
|
576
|
-
label?: string | undefined;
|
|
577
576
|
id?: string | undefined;
|
|
577
|
+
label?: string | undefined;
|
|
578
578
|
placeholder?: string | undefined;
|
|
579
579
|
})[];
|
|
580
580
|
message?: string | undefined;
|
|
581
|
-
awaitResponse?: boolean | undefined;
|
|
582
581
|
title?: string | undefined;
|
|
582
|
+
awaitResponse?: boolean | undefined;
|
|
583
583
|
}>;
|
|
584
584
|
export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
585
585
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -597,32 +597,32 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
597
597
|
style: z.ZodOptional<z.ZodEnum<["primary", "danger", "default"]>>;
|
|
598
598
|
}, "strict", z.ZodTypeAny, {
|
|
599
599
|
value: string;
|
|
600
|
-
label?: string | undefined;
|
|
601
600
|
text?: string | undefined;
|
|
602
|
-
|
|
601
|
+
label?: string | undefined;
|
|
602
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
603
603
|
}, {
|
|
604
604
|
value: string;
|
|
605
|
-
label?: string | undefined;
|
|
606
605
|
text?: string | undefined;
|
|
607
|
-
|
|
606
|
+
label?: string | undefined;
|
|
607
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
608
608
|
}>>;
|
|
609
609
|
}, "strict", z.ZodTypeAny, {
|
|
610
610
|
type: "section";
|
|
611
611
|
text: string;
|
|
612
612
|
button?: {
|
|
613
613
|
value: string;
|
|
614
|
-
label?: string | undefined;
|
|
615
614
|
text?: string | undefined;
|
|
616
|
-
|
|
615
|
+
label?: string | undefined;
|
|
616
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
617
617
|
} | undefined;
|
|
618
618
|
}, {
|
|
619
619
|
type: "section";
|
|
620
620
|
text: string;
|
|
621
621
|
button?: {
|
|
622
622
|
value: string;
|
|
623
|
-
label?: string | undefined;
|
|
624
623
|
text?: string | undefined;
|
|
625
|
-
|
|
624
|
+
label?: string | undefined;
|
|
625
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
626
626
|
} | undefined;
|
|
627
627
|
}>, z.ZodEffects<z.ZodObject<{
|
|
628
628
|
type: z.ZodLiteral<"fields">;
|
|
@@ -716,15 +716,15 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
716
716
|
}, "strict", z.ZodTypeAny, {
|
|
717
717
|
value: string;
|
|
718
718
|
type: "button";
|
|
719
|
-
label?: string | undefined;
|
|
720
719
|
text?: string | undefined;
|
|
721
|
-
|
|
720
|
+
label?: string | undefined;
|
|
721
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
722
722
|
}, {
|
|
723
723
|
value: string;
|
|
724
724
|
type: "button";
|
|
725
|
-
label?: string | undefined;
|
|
726
725
|
text?: string | undefined;
|
|
727
|
-
|
|
726
|
+
label?: string | undefined;
|
|
727
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
728
728
|
}>, z.ZodObject<{
|
|
729
729
|
type: z.ZodLiteral<"select">;
|
|
730
730
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -750,8 +750,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
750
750
|
description?: string | undefined;
|
|
751
751
|
}[];
|
|
752
752
|
type: "select";
|
|
753
|
-
label?: string | undefined;
|
|
754
753
|
id?: string | undefined;
|
|
754
|
+
label?: string | undefined;
|
|
755
755
|
placeholder?: string | undefined;
|
|
756
756
|
}, {
|
|
757
757
|
options: {
|
|
@@ -760,8 +760,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
760
760
|
description?: string | undefined;
|
|
761
761
|
}[];
|
|
762
762
|
type: "select";
|
|
763
|
-
label?: string | undefined;
|
|
764
763
|
id?: string | undefined;
|
|
764
|
+
label?: string | undefined;
|
|
765
765
|
placeholder?: string | undefined;
|
|
766
766
|
}>, z.ZodObject<{
|
|
767
767
|
type: z.ZodLiteral<"radio_select">;
|
|
@@ -788,8 +788,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
788
788
|
description?: string | undefined;
|
|
789
789
|
}[];
|
|
790
790
|
type: "radio_select";
|
|
791
|
-
label?: string | undefined;
|
|
792
791
|
id?: string | undefined;
|
|
792
|
+
label?: string | undefined;
|
|
793
793
|
placeholder?: string | undefined;
|
|
794
794
|
}, {
|
|
795
795
|
options: {
|
|
@@ -798,8 +798,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
798
798
|
description?: string | undefined;
|
|
799
799
|
}[];
|
|
800
800
|
type: "radio_select";
|
|
801
|
-
label?: string | undefined;
|
|
802
801
|
id?: string | undefined;
|
|
802
|
+
label?: string | undefined;
|
|
803
803
|
placeholder?: string | undefined;
|
|
804
804
|
}>]>, "many">;
|
|
805
805
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -808,9 +808,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
808
808
|
text: string;
|
|
809
809
|
button?: {
|
|
810
810
|
value: string;
|
|
811
|
-
label?: string | undefined;
|
|
812
811
|
text?: string | undefined;
|
|
813
|
-
|
|
812
|
+
label?: string | undefined;
|
|
813
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
814
814
|
} | undefined;
|
|
815
815
|
} | {
|
|
816
816
|
type: "fields";
|
|
@@ -832,9 +832,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
832
832
|
} | {
|
|
833
833
|
value: string;
|
|
834
834
|
type: "button";
|
|
835
|
-
label?: string | undefined;
|
|
836
835
|
text?: string | undefined;
|
|
837
|
-
|
|
836
|
+
label?: string | undefined;
|
|
837
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
838
838
|
} | {
|
|
839
839
|
options: {
|
|
840
840
|
value: string;
|
|
@@ -842,8 +842,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
842
842
|
description?: string | undefined;
|
|
843
843
|
}[];
|
|
844
844
|
type: "select";
|
|
845
|
-
label?: string | undefined;
|
|
846
845
|
id?: string | undefined;
|
|
846
|
+
label?: string | undefined;
|
|
847
847
|
placeholder?: string | undefined;
|
|
848
848
|
} | {
|
|
849
849
|
options: {
|
|
@@ -852,22 +852,22 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
852
852
|
description?: string | undefined;
|
|
853
853
|
}[];
|
|
854
854
|
type: "radio_select";
|
|
855
|
-
label?: string | undefined;
|
|
856
855
|
id?: string | undefined;
|
|
856
|
+
label?: string | undefined;
|
|
857
857
|
placeholder?: string | undefined;
|
|
858
858
|
})[];
|
|
859
859
|
message?: string | undefined;
|
|
860
|
-
awaitResponse?: boolean | undefined;
|
|
861
860
|
title?: string | undefined;
|
|
861
|
+
awaitResponse?: boolean | undefined;
|
|
862
862
|
}, {
|
|
863
863
|
components: ({
|
|
864
864
|
type: "section";
|
|
865
865
|
text: string;
|
|
866
866
|
button?: {
|
|
867
867
|
value: string;
|
|
868
|
-
label?: string | undefined;
|
|
869
868
|
text?: string | undefined;
|
|
870
|
-
|
|
869
|
+
label?: string | undefined;
|
|
870
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
871
871
|
} | undefined;
|
|
872
872
|
} | {
|
|
873
873
|
type: "fields";
|
|
@@ -889,9 +889,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
889
889
|
} | {
|
|
890
890
|
value: string;
|
|
891
891
|
type: "button";
|
|
892
|
-
label?: string | undefined;
|
|
893
892
|
text?: string | undefined;
|
|
894
|
-
|
|
893
|
+
label?: string | undefined;
|
|
894
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
895
895
|
} | {
|
|
896
896
|
options: {
|
|
897
897
|
value: string;
|
|
@@ -899,8 +899,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
899
899
|
description?: string | undefined;
|
|
900
900
|
}[];
|
|
901
901
|
type: "select";
|
|
902
|
-
label?: string | undefined;
|
|
903
902
|
id?: string | undefined;
|
|
903
|
+
label?: string | undefined;
|
|
904
904
|
placeholder?: string | undefined;
|
|
905
905
|
} | {
|
|
906
906
|
options: {
|
|
@@ -909,13 +909,13 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
909
909
|
description?: string | undefined;
|
|
910
910
|
}[];
|
|
911
911
|
type: "radio_select";
|
|
912
|
-
label?: string | undefined;
|
|
913
912
|
id?: string | undefined;
|
|
913
|
+
label?: string | undefined;
|
|
914
914
|
placeholder?: string | undefined;
|
|
915
915
|
})[];
|
|
916
916
|
message?: string | undefined;
|
|
917
|
-
awaitResponse?: boolean | undefined;
|
|
918
917
|
title?: string | undefined;
|
|
918
|
+
awaitResponse?: boolean | undefined;
|
|
919
919
|
}>>;
|
|
920
920
|
}, "strict", z.ZodTypeAny, {
|
|
921
921
|
text?: string | undefined;
|
|
@@ -925,9 +925,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
925
925
|
text: string;
|
|
926
926
|
button?: {
|
|
927
927
|
value: string;
|
|
928
|
-
label?: string | undefined;
|
|
929
928
|
text?: string | undefined;
|
|
930
|
-
|
|
929
|
+
label?: string | undefined;
|
|
930
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
931
931
|
} | undefined;
|
|
932
932
|
} | {
|
|
933
933
|
type: "fields";
|
|
@@ -949,9 +949,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
949
949
|
} | {
|
|
950
950
|
value: string;
|
|
951
951
|
type: "button";
|
|
952
|
-
label?: string | undefined;
|
|
953
952
|
text?: string | undefined;
|
|
954
|
-
|
|
953
|
+
label?: string | undefined;
|
|
954
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
955
955
|
} | {
|
|
956
956
|
options: {
|
|
957
957
|
value: string;
|
|
@@ -959,8 +959,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
959
959
|
description?: string | undefined;
|
|
960
960
|
}[];
|
|
961
961
|
type: "select";
|
|
962
|
-
label?: string | undefined;
|
|
963
962
|
id?: string | undefined;
|
|
963
|
+
label?: string | undefined;
|
|
964
964
|
placeholder?: string | undefined;
|
|
965
965
|
} | {
|
|
966
966
|
options: {
|
|
@@ -969,13 +969,13 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
969
969
|
description?: string | undefined;
|
|
970
970
|
}[];
|
|
971
971
|
type: "radio_select";
|
|
972
|
-
label?: string | undefined;
|
|
973
972
|
id?: string | undefined;
|
|
973
|
+
label?: string | undefined;
|
|
974
974
|
placeholder?: string | undefined;
|
|
975
975
|
})[];
|
|
976
976
|
message?: string | undefined;
|
|
977
|
-
awaitResponse?: boolean | undefined;
|
|
978
977
|
title?: string | undefined;
|
|
978
|
+
awaitResponse?: boolean | undefined;
|
|
979
979
|
} | undefined;
|
|
980
980
|
}, {
|
|
981
981
|
text?: string | undefined;
|
|
@@ -985,9 +985,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
985
985
|
text: string;
|
|
986
986
|
button?: {
|
|
987
987
|
value: string;
|
|
988
|
-
label?: string | undefined;
|
|
989
988
|
text?: string | undefined;
|
|
990
|
-
|
|
989
|
+
label?: string | undefined;
|
|
990
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
991
991
|
} | undefined;
|
|
992
992
|
} | {
|
|
993
993
|
type: "fields";
|
|
@@ -1009,9 +1009,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1009
1009
|
} | {
|
|
1010
1010
|
value: string;
|
|
1011
1011
|
type: "button";
|
|
1012
|
-
label?: string | undefined;
|
|
1013
1012
|
text?: string | undefined;
|
|
1014
|
-
|
|
1013
|
+
label?: string | undefined;
|
|
1014
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
1015
1015
|
} | {
|
|
1016
1016
|
options: {
|
|
1017
1017
|
value: string;
|
|
@@ -1019,8 +1019,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1019
1019
|
description?: string | undefined;
|
|
1020
1020
|
}[];
|
|
1021
1021
|
type: "select";
|
|
1022
|
-
label?: string | undefined;
|
|
1023
1022
|
id?: string | undefined;
|
|
1023
|
+
label?: string | undefined;
|
|
1024
1024
|
placeholder?: string | undefined;
|
|
1025
1025
|
} | {
|
|
1026
1026
|
options: {
|
|
@@ -1029,13 +1029,13 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1029
1029
|
description?: string | undefined;
|
|
1030
1030
|
}[];
|
|
1031
1031
|
type: "radio_select";
|
|
1032
|
-
label?: string | undefined;
|
|
1033
1032
|
id?: string | undefined;
|
|
1033
|
+
label?: string | undefined;
|
|
1034
1034
|
placeholder?: string | undefined;
|
|
1035
1035
|
})[];
|
|
1036
1036
|
message?: string | undefined;
|
|
1037
|
-
awaitResponse?: boolean | undefined;
|
|
1038
1037
|
title?: string | undefined;
|
|
1038
|
+
awaitResponse?: boolean | undefined;
|
|
1039
1039
|
} | undefined;
|
|
1040
1040
|
}>, {
|
|
1041
1041
|
text?: string | undefined;
|
|
@@ -1045,9 +1045,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1045
1045
|
text: string;
|
|
1046
1046
|
button?: {
|
|
1047
1047
|
value: string;
|
|
1048
|
-
label?: string | undefined;
|
|
1049
1048
|
text?: string | undefined;
|
|
1050
|
-
|
|
1049
|
+
label?: string | undefined;
|
|
1050
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
1051
1051
|
} | undefined;
|
|
1052
1052
|
} | {
|
|
1053
1053
|
type: "fields";
|
|
@@ -1069,9 +1069,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1069
1069
|
} | {
|
|
1070
1070
|
value: string;
|
|
1071
1071
|
type: "button";
|
|
1072
|
-
label?: string | undefined;
|
|
1073
1072
|
text?: string | undefined;
|
|
1074
|
-
|
|
1073
|
+
label?: string | undefined;
|
|
1074
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
1075
1075
|
} | {
|
|
1076
1076
|
options: {
|
|
1077
1077
|
value: string;
|
|
@@ -1079,8 +1079,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1079
1079
|
description?: string | undefined;
|
|
1080
1080
|
}[];
|
|
1081
1081
|
type: "select";
|
|
1082
|
-
label?: string | undefined;
|
|
1083
1082
|
id?: string | undefined;
|
|
1083
|
+
label?: string | undefined;
|
|
1084
1084
|
placeholder?: string | undefined;
|
|
1085
1085
|
} | {
|
|
1086
1086
|
options: {
|
|
@@ -1089,13 +1089,13 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1089
1089
|
description?: string | undefined;
|
|
1090
1090
|
}[];
|
|
1091
1091
|
type: "radio_select";
|
|
1092
|
-
label?: string | undefined;
|
|
1093
1092
|
id?: string | undefined;
|
|
1093
|
+
label?: string | undefined;
|
|
1094
1094
|
placeholder?: string | undefined;
|
|
1095
1095
|
})[];
|
|
1096
1096
|
message?: string | undefined;
|
|
1097
|
-
awaitResponse?: boolean | undefined;
|
|
1098
1097
|
title?: string | undefined;
|
|
1098
|
+
awaitResponse?: boolean | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
1100
|
}, {
|
|
1101
1101
|
text?: string | undefined;
|
|
@@ -1105,9 +1105,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1105
1105
|
text: string;
|
|
1106
1106
|
button?: {
|
|
1107
1107
|
value: string;
|
|
1108
|
-
label?: string | undefined;
|
|
1109
1108
|
text?: string | undefined;
|
|
1110
|
-
|
|
1109
|
+
label?: string | undefined;
|
|
1110
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
1111
1111
|
} | undefined;
|
|
1112
1112
|
} | {
|
|
1113
1113
|
type: "fields";
|
|
@@ -1129,9 +1129,9 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1129
1129
|
} | {
|
|
1130
1130
|
value: string;
|
|
1131
1131
|
type: "button";
|
|
1132
|
-
label?: string | undefined;
|
|
1133
1132
|
text?: string | undefined;
|
|
1134
|
-
|
|
1133
|
+
label?: string | undefined;
|
|
1134
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
1135
1135
|
} | {
|
|
1136
1136
|
options: {
|
|
1137
1137
|
value: string;
|
|
@@ -1139,8 +1139,8 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1139
1139
|
description?: string | undefined;
|
|
1140
1140
|
}[];
|
|
1141
1141
|
type: "select";
|
|
1142
|
-
label?: string | undefined;
|
|
1143
1142
|
id?: string | undefined;
|
|
1143
|
+
label?: string | undefined;
|
|
1144
1144
|
placeholder?: string | undefined;
|
|
1145
1145
|
} | {
|
|
1146
1146
|
options: {
|
|
@@ -1149,13 +1149,13 @@ export declare const richMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1149
1149
|
description?: string | undefined;
|
|
1150
1150
|
}[];
|
|
1151
1151
|
type: "radio_select";
|
|
1152
|
-
label?: string | undefined;
|
|
1153
1152
|
id?: string | undefined;
|
|
1153
|
+
label?: string | undefined;
|
|
1154
1154
|
placeholder?: string | undefined;
|
|
1155
1155
|
})[];
|
|
1156
1156
|
message?: string | undefined;
|
|
1157
|
-
awaitResponse?: boolean | undefined;
|
|
1158
1157
|
title?: string | undefined;
|
|
1158
|
+
awaitResponse?: boolean | undefined;
|
|
1159
1159
|
} | undefined;
|
|
1160
1160
|
}>;
|
|
1161
1161
|
export type RichCardComponent = z.infer<typeof richCardComponentSchema>;
|