@voiceflow/dtos-interact 1.6.0 → 1.7.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/build/cjs/chat-settings/chat-settings.constant.d.ts +14 -0
- package/build/cjs/chat-settings/chat-settings.constant.d.ts.map +1 -0
- package/build/cjs/chat-settings/chat-settings.constant.js +17 -0
- package/build/cjs/chat-settings/chat-settings.constant.js.map +1 -0
- package/build/cjs/chat-settings/chat-settings.dto.d.ts +854 -0
- package/build/cjs/chat-settings/chat-settings.dto.d.ts.map +1 -0
- package/build/cjs/chat-settings/chat-settings.dto.js +85 -0
- package/build/cjs/chat-settings/chat-settings.dto.js.map +1 -0
- package/build/cjs/chat-settings/chat-settings.enum.d.ts +30 -0
- package/build/cjs/chat-settings/chat-settings.enum.d.ts.map +1 -0
- package/build/cjs/chat-settings/chat-settings.enum.js +27 -0
- package/build/cjs/chat-settings/chat-settings.enum.js.map +1 -0
- package/build/cjs/main.d.ts +3 -0
- package/build/cjs/main.d.ts.map +1 -1
- package/build/cjs/main.js +3 -0
- package/build/cjs/main.js.map +1 -1
- package/build/cjs/request/any-request.dto.d.ts +37 -37
- package/build/cjs/request/event-request.dto.d.ts +8 -8
- package/build/cjs/request/general/path-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/alexa-intent-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/general-intent-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/intent-request.dto.d.ts +8 -8
- package/build/cjs/trace/any.dto.d.ts +56 -56
- package/build/cjs/trace/card.dto.d.ts +20 -20
- package/build/cjs/trace/carousel.dto.d.ts +50 -50
- package/build/cjs/trace/entity-filling.dto.d.ts +9 -9
- package/build/esm/chat-settings/chat-settings.constant.d.ts +14 -0
- package/build/esm/chat-settings/chat-settings.constant.d.ts.map +1 -0
- package/build/esm/chat-settings/chat-settings.constant.js +14 -0
- package/build/esm/chat-settings/chat-settings.constant.js.map +1 -0
- package/build/esm/chat-settings/chat-settings.dto.d.ts +854 -0
- package/build/esm/chat-settings/chat-settings.dto.d.ts.map +1 -0
- package/build/esm/chat-settings/chat-settings.dto.js +82 -0
- package/build/esm/chat-settings/chat-settings.dto.js.map +1 -0
- package/build/esm/chat-settings/chat-settings.enum.d.ts +30 -0
- package/build/esm/chat-settings/chat-settings.enum.d.ts.map +1 -0
- package/build/esm/chat-settings/chat-settings.enum.js +24 -0
- package/build/esm/chat-settings/chat-settings.enum.js.map +1 -0
- package/build/esm/main.d.ts +3 -0
- package/build/esm/main.d.ts.map +1 -1
- package/build/esm/main.js +3 -0
- package/build/esm/main.js.map +1 -1
- package/build/esm/request/any-request.dto.d.ts +37 -37
- package/build/esm/request/event-request.dto.d.ts +8 -8
- package/build/esm/request/general/path-request.dto.d.ts +9 -9
- package/build/esm/request/intent/alexa-intent-request.dto.d.ts +9 -9
- package/build/esm/request/intent/general-intent-request.dto.d.ts +9 -9
- package/build/esm/request/intent/intent-request.dto.d.ts +8 -8
- package/build/esm/trace/any.dto.d.ts +56 -56
- package/build/esm/trace/card.dto.d.ts +20 -20
- package/build/esm/trace/carousel.dto.d.ts +50 -50
- package/build/esm/trace/entity-filling.dto.d.ts +9 -9
- package/package.json +2 -2
|
@@ -463,6 +463,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
463
463
|
}>;
|
|
464
464
|
}, "strip", z.ZodTypeAny, {
|
|
465
465
|
title: string;
|
|
466
|
+
description: {
|
|
467
|
+
text: string;
|
|
468
|
+
slate?: any[] | undefined;
|
|
469
|
+
};
|
|
466
470
|
buttons: {
|
|
467
471
|
name: string;
|
|
468
472
|
request?: {
|
|
@@ -472,12 +476,12 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
472
476
|
} | undefined;
|
|
473
477
|
}[];
|
|
474
478
|
imageUrl: string | null;
|
|
479
|
+
}, {
|
|
480
|
+
title: string;
|
|
475
481
|
description: {
|
|
476
482
|
text: string;
|
|
477
483
|
slate?: any[] | undefined;
|
|
478
484
|
};
|
|
479
|
-
}, {
|
|
480
|
-
title: string;
|
|
481
485
|
buttons: {
|
|
482
486
|
name: string;
|
|
483
487
|
request?: {
|
|
@@ -487,15 +491,15 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
487
491
|
} | undefined;
|
|
488
492
|
}[];
|
|
489
493
|
imageUrl: string | null;
|
|
490
|
-
description: {
|
|
491
|
-
text: string;
|
|
492
|
-
slate?: any[] | undefined;
|
|
493
|
-
};
|
|
494
494
|
}>;
|
|
495
495
|
}, "strip", z.ZodTypeAny, {
|
|
496
496
|
type: "cardV2";
|
|
497
497
|
payload: {
|
|
498
498
|
title: string;
|
|
499
|
+
description: {
|
|
500
|
+
text: string;
|
|
501
|
+
slate?: any[] | undefined;
|
|
502
|
+
};
|
|
499
503
|
buttons: {
|
|
500
504
|
name: string;
|
|
501
505
|
request?: {
|
|
@@ -505,10 +509,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
505
509
|
} | undefined;
|
|
506
510
|
}[];
|
|
507
511
|
imageUrl: string | null;
|
|
508
|
-
description: {
|
|
509
|
-
text: string;
|
|
510
|
-
slate?: any[] | undefined;
|
|
511
|
-
};
|
|
512
512
|
};
|
|
513
513
|
paths?: {
|
|
514
514
|
label?: string | undefined;
|
|
@@ -524,6 +524,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
524
524
|
type: "cardV2";
|
|
525
525
|
payload: {
|
|
526
526
|
title: string;
|
|
527
|
+
description: {
|
|
528
|
+
text: string;
|
|
529
|
+
slate?: any[] | undefined;
|
|
530
|
+
};
|
|
527
531
|
buttons: {
|
|
528
532
|
name: string;
|
|
529
533
|
request?: {
|
|
@@ -533,10 +537,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
533
537
|
} | undefined;
|
|
534
538
|
}[];
|
|
535
539
|
imageUrl: string | null;
|
|
536
|
-
description: {
|
|
537
|
-
text: string;
|
|
538
|
-
slate?: any[] | undefined;
|
|
539
|
-
};
|
|
540
540
|
};
|
|
541
541
|
paths?: {
|
|
542
542
|
label?: string | undefined;
|
|
@@ -585,6 +585,16 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
585
585
|
payload: z.ZodObject<{
|
|
586
586
|
cards: z.ZodArray<z.ZodObject<{
|
|
587
587
|
title: z.ZodString;
|
|
588
|
+
description: z.ZodObject<{
|
|
589
|
+
text: z.ZodString;
|
|
590
|
+
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
591
|
+
}, "strip", z.ZodTypeAny, {
|
|
592
|
+
text: string;
|
|
593
|
+
slate?: any[] | undefined;
|
|
594
|
+
}, {
|
|
595
|
+
text: string;
|
|
596
|
+
slate?: any[] | undefined;
|
|
597
|
+
}>;
|
|
588
598
|
buttons: z.ZodArray<z.ZodObject<{
|
|
589
599
|
name: z.ZodString;
|
|
590
600
|
request: z.ZodOptional<z.ZodObject<{
|
|
@@ -616,19 +626,13 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
616
626
|
} | undefined;
|
|
617
627
|
}>, "many">;
|
|
618
628
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
619
|
-
description: z.ZodObject<{
|
|
620
|
-
text: z.ZodString;
|
|
621
|
-
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
622
|
-
}, "strip", z.ZodTypeAny, {
|
|
623
|
-
text: string;
|
|
624
|
-
slate?: any[] | undefined;
|
|
625
|
-
}, {
|
|
626
|
-
text: string;
|
|
627
|
-
slate?: any[] | undefined;
|
|
628
|
-
}>;
|
|
629
629
|
id: z.ZodOptional<z.ZodString>;
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
631
|
title: string;
|
|
632
|
+
description: {
|
|
633
|
+
text: string;
|
|
634
|
+
slate?: any[] | undefined;
|
|
635
|
+
};
|
|
632
636
|
buttons: {
|
|
633
637
|
name: string;
|
|
634
638
|
request?: {
|
|
@@ -638,13 +642,13 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
638
642
|
} | undefined;
|
|
639
643
|
}[];
|
|
640
644
|
imageUrl: string | null;
|
|
645
|
+
id?: string | undefined;
|
|
646
|
+
}, {
|
|
647
|
+
title: string;
|
|
641
648
|
description: {
|
|
642
649
|
text: string;
|
|
643
650
|
slate?: any[] | undefined;
|
|
644
651
|
};
|
|
645
|
-
id?: string | undefined;
|
|
646
|
-
}, {
|
|
647
|
-
title: string;
|
|
648
652
|
buttons: {
|
|
649
653
|
name: string;
|
|
650
654
|
request?: {
|
|
@@ -654,10 +658,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
654
658
|
} | undefined;
|
|
655
659
|
}[];
|
|
656
660
|
imageUrl: string | null;
|
|
657
|
-
description: {
|
|
658
|
-
text: string;
|
|
659
|
-
slate?: any[] | undefined;
|
|
660
|
-
};
|
|
661
661
|
id?: string | undefined;
|
|
662
662
|
}>, "many">;
|
|
663
663
|
layout: z.ZodNativeEnum<{
|
|
@@ -667,6 +667,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
667
667
|
}, "strip", z.ZodTypeAny, {
|
|
668
668
|
cards: {
|
|
669
669
|
title: string;
|
|
670
|
+
description: {
|
|
671
|
+
text: string;
|
|
672
|
+
slate?: any[] | undefined;
|
|
673
|
+
};
|
|
670
674
|
buttons: {
|
|
671
675
|
name: string;
|
|
672
676
|
request?: {
|
|
@@ -676,16 +680,16 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
676
680
|
} | undefined;
|
|
677
681
|
}[];
|
|
678
682
|
imageUrl: string | null;
|
|
679
|
-
description: {
|
|
680
|
-
text: string;
|
|
681
|
-
slate?: any[] | undefined;
|
|
682
|
-
};
|
|
683
683
|
id?: string | undefined;
|
|
684
684
|
}[];
|
|
685
685
|
layout: "List" | "Carousel";
|
|
686
686
|
}, {
|
|
687
687
|
cards: {
|
|
688
688
|
title: string;
|
|
689
|
+
description: {
|
|
690
|
+
text: string;
|
|
691
|
+
slate?: any[] | undefined;
|
|
692
|
+
};
|
|
689
693
|
buttons: {
|
|
690
694
|
name: string;
|
|
691
695
|
request?: {
|
|
@@ -695,10 +699,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
695
699
|
} | undefined;
|
|
696
700
|
}[];
|
|
697
701
|
imageUrl: string | null;
|
|
698
|
-
description: {
|
|
699
|
-
text: string;
|
|
700
|
-
slate?: any[] | undefined;
|
|
701
|
-
};
|
|
702
702
|
id?: string | undefined;
|
|
703
703
|
}[];
|
|
704
704
|
layout: "List" | "Carousel";
|
|
@@ -708,6 +708,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
708
708
|
payload: {
|
|
709
709
|
cards: {
|
|
710
710
|
title: string;
|
|
711
|
+
description: {
|
|
712
|
+
text: string;
|
|
713
|
+
slate?: any[] | undefined;
|
|
714
|
+
};
|
|
711
715
|
buttons: {
|
|
712
716
|
name: string;
|
|
713
717
|
request?: {
|
|
@@ -717,10 +721,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
717
721
|
} | undefined;
|
|
718
722
|
}[];
|
|
719
723
|
imageUrl: string | null;
|
|
720
|
-
description: {
|
|
721
|
-
text: string;
|
|
722
|
-
slate?: any[] | undefined;
|
|
723
|
-
};
|
|
724
724
|
id?: string | undefined;
|
|
725
725
|
}[];
|
|
726
726
|
layout: "List" | "Carousel";
|
|
@@ -740,6 +740,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
740
740
|
payload: {
|
|
741
741
|
cards: {
|
|
742
742
|
title: string;
|
|
743
|
+
description: {
|
|
744
|
+
text: string;
|
|
745
|
+
slate?: any[] | undefined;
|
|
746
|
+
};
|
|
743
747
|
buttons: {
|
|
744
748
|
name: string;
|
|
745
749
|
request?: {
|
|
@@ -749,10 +753,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
749
753
|
} | undefined;
|
|
750
754
|
}[];
|
|
751
755
|
imageUrl: string | null;
|
|
752
|
-
description: {
|
|
753
|
-
text: string;
|
|
754
|
-
slate?: any[] | undefined;
|
|
755
|
-
};
|
|
756
756
|
id?: string | undefined;
|
|
757
757
|
}[];
|
|
758
758
|
layout: "List" | "Carousel";
|
|
@@ -1183,6 +1183,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1183
1183
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1184
1184
|
type: z.ZodLiteral<"intent">;
|
|
1185
1185
|
payload: z.ZodObject<{
|
|
1186
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1186
1187
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1187
1188
|
type: z.ZodString;
|
|
1188
1189
|
payload: z.ZodUnknown;
|
|
@@ -1193,7 +1194,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1193
1194
|
type: string;
|
|
1194
1195
|
payload?: unknown;
|
|
1195
1196
|
}>, "many">>;
|
|
1196
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1197
1197
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1198
1198
|
query: z.ZodDefault<z.ZodString>;
|
|
1199
1199
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1257,11 +1257,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1257
1257
|
startIndex: number;
|
|
1258
1258
|
}[] | undefined;
|
|
1259
1259
|
}[];
|
|
1260
|
+
label?: string | undefined;
|
|
1260
1261
|
actions?: {
|
|
1261
1262
|
type: string;
|
|
1262
1263
|
payload?: unknown;
|
|
1263
1264
|
}[] | undefined;
|
|
1264
|
-
label?: string | undefined;
|
|
1265
1265
|
data?: Record<string, any> | undefined;
|
|
1266
1266
|
confidence?: number | undefined;
|
|
1267
1267
|
}, {
|
|
@@ -1270,11 +1270,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1270
1270
|
} & {
|
|
1271
1271
|
[k: string]: unknown;
|
|
1272
1272
|
};
|
|
1273
|
+
label?: string | undefined;
|
|
1273
1274
|
actions?: {
|
|
1274
1275
|
type: string;
|
|
1275
1276
|
payload?: unknown;
|
|
1276
1277
|
}[] | undefined;
|
|
1277
|
-
label?: string | undefined;
|
|
1278
1278
|
data?: Record<string, any> | undefined;
|
|
1279
1279
|
query?: string | undefined;
|
|
1280
1280
|
entities?: {
|
|
@@ -1308,11 +1308,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1308
1308
|
startIndex: number;
|
|
1309
1309
|
}[] | undefined;
|
|
1310
1310
|
}[];
|
|
1311
|
+
label?: string | undefined;
|
|
1311
1312
|
actions?: {
|
|
1312
1313
|
type: string;
|
|
1313
1314
|
payload?: unknown;
|
|
1314
1315
|
}[] | undefined;
|
|
1315
|
-
label?: string | undefined;
|
|
1316
1316
|
data?: Record<string, any> | undefined;
|
|
1317
1317
|
confidence?: number | undefined;
|
|
1318
1318
|
};
|
|
@@ -1325,11 +1325,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1325
1325
|
} & {
|
|
1326
1326
|
[k: string]: unknown;
|
|
1327
1327
|
};
|
|
1328
|
+
label?: string | undefined;
|
|
1328
1329
|
actions?: {
|
|
1329
1330
|
type: string;
|
|
1330
1331
|
payload?: unknown;
|
|
1331
1332
|
}[] | undefined;
|
|
1332
|
-
label?: string | undefined;
|
|
1333
1333
|
data?: Record<string, any> | undefined;
|
|
1334
1334
|
query?: string | undefined;
|
|
1335
1335
|
entities?: {
|
|
@@ -1366,11 +1366,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1366
1366
|
startIndex: number;
|
|
1367
1367
|
}[] | undefined;
|
|
1368
1368
|
}[];
|
|
1369
|
+
label?: string | undefined;
|
|
1369
1370
|
actions?: {
|
|
1370
1371
|
type: string;
|
|
1371
1372
|
payload?: unknown;
|
|
1372
1373
|
}[] | undefined;
|
|
1373
|
-
label?: string | undefined;
|
|
1374
1374
|
data?: Record<string, any> | undefined;
|
|
1375
1375
|
confidence?: number | undefined;
|
|
1376
1376
|
};
|
|
@@ -1386,11 +1386,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1386
1386
|
} & {
|
|
1387
1387
|
[k: string]: unknown;
|
|
1388
1388
|
};
|
|
1389
|
+
label?: string | undefined;
|
|
1389
1390
|
actions?: {
|
|
1390
1391
|
type: string;
|
|
1391
1392
|
payload?: unknown;
|
|
1392
1393
|
}[] | undefined;
|
|
1393
|
-
label?: string | undefined;
|
|
1394
1394
|
data?: Record<string, any> | undefined;
|
|
1395
1395
|
query?: string | undefined;
|
|
1396
1396
|
entities?: {
|
|
@@ -1431,11 +1431,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1431
1431
|
startIndex: number;
|
|
1432
1432
|
}[] | undefined;
|
|
1433
1433
|
}[];
|
|
1434
|
+
label?: string | undefined;
|
|
1434
1435
|
actions?: {
|
|
1435
1436
|
type: string;
|
|
1436
1437
|
payload?: unknown;
|
|
1437
1438
|
}[] | undefined;
|
|
1438
|
-
label?: string | undefined;
|
|
1439
1439
|
data?: Record<string, any> | undefined;
|
|
1440
1440
|
confidence?: number | undefined;
|
|
1441
1441
|
};
|
|
@@ -1464,11 +1464,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1464
1464
|
} & {
|
|
1465
1465
|
[k: string]: unknown;
|
|
1466
1466
|
};
|
|
1467
|
+
label?: string | undefined;
|
|
1467
1468
|
actions?: {
|
|
1468
1469
|
type: string;
|
|
1469
1470
|
payload?: unknown;
|
|
1470
1471
|
}[] | undefined;
|
|
1471
|
-
label?: string | undefined;
|
|
1472
1472
|
data?: Record<string, any> | undefined;
|
|
1473
1473
|
query?: string | undefined;
|
|
1474
1474
|
entities?: {
|
|
@@ -44,6 +44,10 @@ export declare const CardTraceCardDTO: z.ZodObject<{
|
|
|
44
44
|
}>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
title: string;
|
|
47
|
+
description: {
|
|
48
|
+
text: string;
|
|
49
|
+
slate?: any[] | undefined;
|
|
50
|
+
};
|
|
47
51
|
buttons: {
|
|
48
52
|
name: string;
|
|
49
53
|
request?: {
|
|
@@ -53,12 +57,12 @@ export declare const CardTraceCardDTO: z.ZodObject<{
|
|
|
53
57
|
} | undefined;
|
|
54
58
|
}[];
|
|
55
59
|
imageUrl: string | null;
|
|
60
|
+
}, {
|
|
61
|
+
title: string;
|
|
56
62
|
description: {
|
|
57
63
|
text: string;
|
|
58
64
|
slate?: any[] | undefined;
|
|
59
65
|
};
|
|
60
|
-
}, {
|
|
61
|
-
title: string;
|
|
62
66
|
buttons: {
|
|
63
67
|
name: string;
|
|
64
68
|
request?: {
|
|
@@ -68,10 +72,6 @@ export declare const CardTraceCardDTO: z.ZodObject<{
|
|
|
68
72
|
} | undefined;
|
|
69
73
|
}[];
|
|
70
74
|
imageUrl: string | null;
|
|
71
|
-
description: {
|
|
72
|
-
text: string;
|
|
73
|
-
slate?: any[] | undefined;
|
|
74
|
-
};
|
|
75
75
|
}>;
|
|
76
76
|
export type CardTraceCard = z.infer<typeof CardTraceCardDTO>;
|
|
77
77
|
export declare const CardTraceDTO: z.ZodObject<{
|
|
@@ -153,6 +153,10 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
153
153
|
}>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
155
|
title: string;
|
|
156
|
+
description: {
|
|
157
|
+
text: string;
|
|
158
|
+
slate?: any[] | undefined;
|
|
159
|
+
};
|
|
156
160
|
buttons: {
|
|
157
161
|
name: string;
|
|
158
162
|
request?: {
|
|
@@ -162,12 +166,12 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
162
166
|
} | undefined;
|
|
163
167
|
}[];
|
|
164
168
|
imageUrl: string | null;
|
|
169
|
+
}, {
|
|
170
|
+
title: string;
|
|
165
171
|
description: {
|
|
166
172
|
text: string;
|
|
167
173
|
slate?: any[] | undefined;
|
|
168
174
|
};
|
|
169
|
-
}, {
|
|
170
|
-
title: string;
|
|
171
175
|
buttons: {
|
|
172
176
|
name: string;
|
|
173
177
|
request?: {
|
|
@@ -177,15 +181,15 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
177
181
|
} | undefined;
|
|
178
182
|
}[];
|
|
179
183
|
imageUrl: string | null;
|
|
180
|
-
description: {
|
|
181
|
-
text: string;
|
|
182
|
-
slate?: any[] | undefined;
|
|
183
|
-
};
|
|
184
184
|
}>;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
186
|
type: "cardV2";
|
|
187
187
|
payload: {
|
|
188
188
|
title: string;
|
|
189
|
+
description: {
|
|
190
|
+
text: string;
|
|
191
|
+
slate?: any[] | undefined;
|
|
192
|
+
};
|
|
189
193
|
buttons: {
|
|
190
194
|
name: string;
|
|
191
195
|
request?: {
|
|
@@ -195,10 +199,6 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
195
199
|
} | undefined;
|
|
196
200
|
}[];
|
|
197
201
|
imageUrl: string | null;
|
|
198
|
-
description: {
|
|
199
|
-
text: string;
|
|
200
|
-
slate?: any[] | undefined;
|
|
201
|
-
};
|
|
202
202
|
};
|
|
203
203
|
paths?: {
|
|
204
204
|
label?: string | undefined;
|
|
@@ -214,6 +214,10 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
214
214
|
type: "cardV2";
|
|
215
215
|
payload: {
|
|
216
216
|
title: string;
|
|
217
|
+
description: {
|
|
218
|
+
text: string;
|
|
219
|
+
slate?: any[] | undefined;
|
|
220
|
+
};
|
|
217
221
|
buttons: {
|
|
218
222
|
name: string;
|
|
219
223
|
request?: {
|
|
@@ -223,10 +227,6 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
223
227
|
} | undefined;
|
|
224
228
|
}[];
|
|
225
229
|
imageUrl: string | null;
|
|
226
|
-
description: {
|
|
227
|
-
text: string;
|
|
228
|
-
slate?: any[] | undefined;
|
|
229
|
-
};
|
|
230
230
|
};
|
|
231
231
|
paths?: {
|
|
232
232
|
label?: string | undefined;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const TraceCarouselCardDTO: z.ZodObject<{
|
|
3
3
|
title: z.ZodString;
|
|
4
|
+
description: z.ZodObject<{
|
|
5
|
+
text: z.ZodString;
|
|
6
|
+
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
text: string;
|
|
9
|
+
slate?: any[] | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
text: string;
|
|
12
|
+
slate?: any[] | undefined;
|
|
13
|
+
}>;
|
|
4
14
|
buttons: z.ZodArray<z.ZodObject<{
|
|
5
15
|
name: z.ZodString;
|
|
6
16
|
request: z.ZodOptional<z.ZodObject<{
|
|
@@ -32,19 +42,13 @@ export declare const TraceCarouselCardDTO: z.ZodObject<{
|
|
|
32
42
|
} | undefined;
|
|
33
43
|
}>, "many">;
|
|
34
44
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
35
|
-
description: z.ZodObject<{
|
|
36
|
-
text: z.ZodString;
|
|
37
|
-
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
text: string;
|
|
40
|
-
slate?: any[] | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
text: string;
|
|
43
|
-
slate?: any[] | undefined;
|
|
44
|
-
}>;
|
|
45
45
|
id: z.ZodOptional<z.ZodString>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
title: string;
|
|
48
|
+
description: {
|
|
49
|
+
text: string;
|
|
50
|
+
slate?: any[] | undefined;
|
|
51
|
+
};
|
|
48
52
|
buttons: {
|
|
49
53
|
name: string;
|
|
50
54
|
request?: {
|
|
@@ -54,13 +58,13 @@ export declare const TraceCarouselCardDTO: z.ZodObject<{
|
|
|
54
58
|
} | undefined;
|
|
55
59
|
}[];
|
|
56
60
|
imageUrl: string | null;
|
|
61
|
+
id?: string | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
title: string;
|
|
57
64
|
description: {
|
|
58
65
|
text: string;
|
|
59
66
|
slate?: any[] | undefined;
|
|
60
67
|
};
|
|
61
|
-
id?: string | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
title: string;
|
|
64
68
|
buttons: {
|
|
65
69
|
name: string;
|
|
66
70
|
request?: {
|
|
@@ -70,10 +74,6 @@ export declare const TraceCarouselCardDTO: z.ZodObject<{
|
|
|
70
74
|
} | undefined;
|
|
71
75
|
}[];
|
|
72
76
|
imageUrl: string | null;
|
|
73
|
-
description: {
|
|
74
|
-
text: string;
|
|
75
|
-
slate?: any[] | undefined;
|
|
76
|
-
};
|
|
77
77
|
id?: string | undefined;
|
|
78
78
|
}>;
|
|
79
79
|
export type TraceCarouselCard = z.infer<typeof TraceCarouselCardDTO>;
|
|
@@ -114,6 +114,16 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
114
114
|
payload: z.ZodObject<{
|
|
115
115
|
cards: z.ZodArray<z.ZodObject<{
|
|
116
116
|
title: z.ZodString;
|
|
117
|
+
description: z.ZodObject<{
|
|
118
|
+
text: z.ZodString;
|
|
119
|
+
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
text: string;
|
|
122
|
+
slate?: any[] | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
text: string;
|
|
125
|
+
slate?: any[] | undefined;
|
|
126
|
+
}>;
|
|
117
127
|
buttons: z.ZodArray<z.ZodObject<{
|
|
118
128
|
name: z.ZodString;
|
|
119
129
|
request: z.ZodOptional<z.ZodObject<{
|
|
@@ -145,19 +155,13 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
145
155
|
} | undefined;
|
|
146
156
|
}>, "many">;
|
|
147
157
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
148
|
-
description: z.ZodObject<{
|
|
149
|
-
text: z.ZodString;
|
|
150
|
-
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
151
|
-
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
text: string;
|
|
153
|
-
slate?: any[] | undefined;
|
|
154
|
-
}, {
|
|
155
|
-
text: string;
|
|
156
|
-
slate?: any[] | undefined;
|
|
157
|
-
}>;
|
|
158
158
|
id: z.ZodOptional<z.ZodString>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
160
|
title: string;
|
|
161
|
+
description: {
|
|
162
|
+
text: string;
|
|
163
|
+
slate?: any[] | undefined;
|
|
164
|
+
};
|
|
161
165
|
buttons: {
|
|
162
166
|
name: string;
|
|
163
167
|
request?: {
|
|
@@ -167,13 +171,13 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
167
171
|
} | undefined;
|
|
168
172
|
}[];
|
|
169
173
|
imageUrl: string | null;
|
|
174
|
+
id?: string | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
title: string;
|
|
170
177
|
description: {
|
|
171
178
|
text: string;
|
|
172
179
|
slate?: any[] | undefined;
|
|
173
180
|
};
|
|
174
|
-
id?: string | undefined;
|
|
175
|
-
}, {
|
|
176
|
-
title: string;
|
|
177
181
|
buttons: {
|
|
178
182
|
name: string;
|
|
179
183
|
request?: {
|
|
@@ -183,10 +187,6 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
183
187
|
} | undefined;
|
|
184
188
|
}[];
|
|
185
189
|
imageUrl: string | null;
|
|
186
|
-
description: {
|
|
187
|
-
text: string;
|
|
188
|
-
slate?: any[] | undefined;
|
|
189
|
-
};
|
|
190
190
|
id?: string | undefined;
|
|
191
191
|
}>, "many">;
|
|
192
192
|
layout: z.ZodNativeEnum<{
|
|
@@ -196,6 +196,10 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
197
|
cards: {
|
|
198
198
|
title: string;
|
|
199
|
+
description: {
|
|
200
|
+
text: string;
|
|
201
|
+
slate?: any[] | undefined;
|
|
202
|
+
};
|
|
199
203
|
buttons: {
|
|
200
204
|
name: string;
|
|
201
205
|
request?: {
|
|
@@ -205,16 +209,16 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
205
209
|
} | undefined;
|
|
206
210
|
}[];
|
|
207
211
|
imageUrl: string | null;
|
|
208
|
-
description: {
|
|
209
|
-
text: string;
|
|
210
|
-
slate?: any[] | undefined;
|
|
211
|
-
};
|
|
212
212
|
id?: string | undefined;
|
|
213
213
|
}[];
|
|
214
214
|
layout: "List" | "Carousel";
|
|
215
215
|
}, {
|
|
216
216
|
cards: {
|
|
217
217
|
title: string;
|
|
218
|
+
description: {
|
|
219
|
+
text: string;
|
|
220
|
+
slate?: any[] | undefined;
|
|
221
|
+
};
|
|
218
222
|
buttons: {
|
|
219
223
|
name: string;
|
|
220
224
|
request?: {
|
|
@@ -224,10 +228,6 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
224
228
|
} | undefined;
|
|
225
229
|
}[];
|
|
226
230
|
imageUrl: string | null;
|
|
227
|
-
description: {
|
|
228
|
-
text: string;
|
|
229
|
-
slate?: any[] | undefined;
|
|
230
|
-
};
|
|
231
231
|
id?: string | undefined;
|
|
232
232
|
}[];
|
|
233
233
|
layout: "List" | "Carousel";
|
|
@@ -237,6 +237,10 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
237
237
|
payload: {
|
|
238
238
|
cards: {
|
|
239
239
|
title: string;
|
|
240
|
+
description: {
|
|
241
|
+
text: string;
|
|
242
|
+
slate?: any[] | undefined;
|
|
243
|
+
};
|
|
240
244
|
buttons: {
|
|
241
245
|
name: string;
|
|
242
246
|
request?: {
|
|
@@ -246,10 +250,6 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
246
250
|
} | undefined;
|
|
247
251
|
}[];
|
|
248
252
|
imageUrl: string | null;
|
|
249
|
-
description: {
|
|
250
|
-
text: string;
|
|
251
|
-
slate?: any[] | undefined;
|
|
252
|
-
};
|
|
253
253
|
id?: string | undefined;
|
|
254
254
|
}[];
|
|
255
255
|
layout: "List" | "Carousel";
|
|
@@ -269,6 +269,10 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
269
269
|
payload: {
|
|
270
270
|
cards: {
|
|
271
271
|
title: string;
|
|
272
|
+
description: {
|
|
273
|
+
text: string;
|
|
274
|
+
slate?: any[] | undefined;
|
|
275
|
+
};
|
|
272
276
|
buttons: {
|
|
273
277
|
name: string;
|
|
274
278
|
request?: {
|
|
@@ -278,10 +282,6 @@ export declare const CarouselTraceDTO: z.ZodObject<{
|
|
|
278
282
|
} | undefined;
|
|
279
283
|
}[];
|
|
280
284
|
imageUrl: string | null;
|
|
281
|
-
description: {
|
|
282
|
-
text: string;
|
|
283
|
-
slate?: any[] | undefined;
|
|
284
|
-
};
|
|
285
285
|
id?: string | undefined;
|
|
286
286
|
}[];
|
|
287
287
|
layout: "List" | "Carousel";
|