@voiceflow/dtos-interact 1.3.1 → 1.3.2
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/text/text.dto.d.ts +1 -1
- package/build/cjs/text/text.dto.d.ts.map +1 -1
- package/build/cjs/text/text.dto.js +1 -1
- package/build/cjs/text/text.dto.js.map +1 -1
- package/build/cjs/trace/any.dto.d.ts +109 -102
- package/build/cjs/trace/any.dto.d.ts.map +1 -1
- package/build/cjs/trace/card.dto.d.ts +61 -60
- package/build/cjs/trace/card.dto.d.ts.map +1 -1
- package/build/cjs/trace/card.dto.js +2 -4
- package/build/cjs/trace/card.dto.js.map +1 -1
- package/build/cjs/trace/carousel.dto.d.ts +136 -51
- package/build/cjs/trace/carousel.dto.d.ts.map +1 -1
- package/build/cjs/trace/carousel.dto.js +3 -2
- package/build/cjs/trace/carousel.dto.js.map +1 -1
- package/build/cjs/trace/text.dto.d.ts +14 -14
- package/build/cjs/trace/text.dto.js +1 -1
- package/build/cjs/trace/text.dto.js.map +1 -1
- package/build/cjs/trace/visual.dto.d.ts +1 -0
- package/build/cjs/trace/visual.dto.d.ts.map +1 -1
- package/build/cjs/trace/visual.dto.js.map +1 -1
- package/build/esm/text/text.dto.d.ts +1 -1
- package/build/esm/text/text.dto.d.ts.map +1 -1
- package/build/esm/text/text.dto.js +1 -1
- package/build/esm/text/text.dto.js.map +1 -1
- package/build/esm/trace/any.dto.d.ts +109 -102
- package/build/esm/trace/any.dto.d.ts.map +1 -1
- package/build/esm/trace/card.dto.d.ts +61 -60
- package/build/esm/trace/card.dto.d.ts.map +1 -1
- package/build/esm/trace/card.dto.js +2 -4
- package/build/esm/trace/card.dto.js.map +1 -1
- package/build/esm/trace/carousel.dto.d.ts +136 -51
- package/build/esm/trace/carousel.dto.d.ts.map +1 -1
- package/build/esm/trace/carousel.dto.js +2 -1
- package/build/esm/trace/carousel.dto.js.map +1 -1
- package/build/esm/trace/text.dto.d.ts +14 -14
- package/build/esm/trace/text.dto.js +1 -1
- package/build/esm/trace/text.dto.js.map +1 -1
- package/build/esm/trace/visual.dto.d.ts +1 -0
- package/build/esm/trace/visual.dto.d.ts.map +1 -1
- package/build/esm/trace/visual.dto.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.dto.d.ts","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"text.dto.d.ts","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,iBAAiB,8BAAmB,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.SlateTextValueDTO = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
// TODO: define and manage later
|
|
9
|
-
exports.SlateTextValueDTO = zod_1.default.any();
|
|
9
|
+
exports.SlateTextValueDTO = zod_1.default.array(zod_1.default.any());
|
|
10
10
|
//# sourceMappingURL=text.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AAEpB,gCAAgC;AACnB,QAAA,iBAAiB,GAAG,aAAC,CAAC,GAAG,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AAEpB,gCAAgC;AACnB,QAAA,iBAAiB,GAAG,aAAC,CAAC,KAAK,CAAC,aAAC,CAAC,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -315,8 +315,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
315
315
|
time: z.ZodOptional<z.ZodNumber>;
|
|
316
316
|
type: z.ZodLiteral<"cardV2">;
|
|
317
317
|
payload: z.ZodObject<{
|
|
318
|
-
title: z.
|
|
319
|
-
buttons: z.
|
|
318
|
+
title: z.ZodString;
|
|
319
|
+
buttons: z.ZodArray<z.ZodObject<{
|
|
320
320
|
name: z.ZodString;
|
|
321
321
|
request: z.ZodOptional<z.ZodObject<{
|
|
322
322
|
type: z.ZodString;
|
|
@@ -345,66 +345,66 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
345
345
|
payload?: any;
|
|
346
346
|
diagramID?: string | undefined;
|
|
347
347
|
} | undefined;
|
|
348
|
-
}>, "many"
|
|
349
|
-
imageUrl: z.
|
|
350
|
-
description: z.
|
|
348
|
+
}>, "many">;
|
|
349
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
350
|
+
description: z.ZodObject<{
|
|
351
351
|
text: z.ZodString;
|
|
352
|
-
slate: z.ZodOptional<z.ZodAny
|
|
352
|
+
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
text: string;
|
|
355
|
-
slate?: any;
|
|
355
|
+
slate?: any[] | undefined;
|
|
356
356
|
}, {
|
|
357
357
|
text: string;
|
|
358
|
-
slate?: any;
|
|
359
|
-
}
|
|
358
|
+
slate?: any[] | undefined;
|
|
359
|
+
}>;
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
|
-
title
|
|
362
|
-
buttons
|
|
361
|
+
title: string;
|
|
362
|
+
buttons: {
|
|
363
363
|
name: string;
|
|
364
364
|
request?: {
|
|
365
365
|
type: string;
|
|
366
366
|
payload?: any;
|
|
367
367
|
diagramID?: string | undefined;
|
|
368
368
|
} | undefined;
|
|
369
|
-
}[]
|
|
370
|
-
imageUrl
|
|
371
|
-
description
|
|
369
|
+
}[];
|
|
370
|
+
imageUrl: string | null;
|
|
371
|
+
description: {
|
|
372
372
|
text: string;
|
|
373
|
-
slate?: any;
|
|
374
|
-
}
|
|
373
|
+
slate?: any[] | undefined;
|
|
374
|
+
};
|
|
375
375
|
}, {
|
|
376
|
-
title
|
|
377
|
-
buttons
|
|
376
|
+
title: string;
|
|
377
|
+
buttons: {
|
|
378
378
|
name: string;
|
|
379
379
|
request?: {
|
|
380
380
|
type: string;
|
|
381
381
|
payload?: any;
|
|
382
382
|
diagramID?: string | undefined;
|
|
383
383
|
} | undefined;
|
|
384
|
-
}[]
|
|
385
|
-
imageUrl
|
|
386
|
-
description
|
|
384
|
+
}[];
|
|
385
|
+
imageUrl: string | null;
|
|
386
|
+
description: {
|
|
387
387
|
text: string;
|
|
388
|
-
slate?: any;
|
|
389
|
-
}
|
|
388
|
+
slate?: any[] | undefined;
|
|
389
|
+
};
|
|
390
390
|
}>;
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
392
392
|
type: "cardV2";
|
|
393
393
|
payload: {
|
|
394
|
-
title
|
|
395
|
-
buttons
|
|
394
|
+
title: string;
|
|
395
|
+
buttons: {
|
|
396
396
|
name: string;
|
|
397
397
|
request?: {
|
|
398
398
|
type: string;
|
|
399
399
|
payload?: any;
|
|
400
400
|
diagramID?: string | undefined;
|
|
401
401
|
} | undefined;
|
|
402
|
-
}[]
|
|
403
|
-
imageUrl
|
|
404
|
-
description
|
|
402
|
+
}[];
|
|
403
|
+
imageUrl: string | null;
|
|
404
|
+
description: {
|
|
405
405
|
text: string;
|
|
406
|
-
slate?: any;
|
|
407
|
-
}
|
|
406
|
+
slate?: any[] | undefined;
|
|
407
|
+
};
|
|
408
408
|
};
|
|
409
409
|
paths?: {
|
|
410
410
|
label?: string | undefined;
|
|
@@ -419,20 +419,20 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
419
419
|
}, {
|
|
420
420
|
type: "cardV2";
|
|
421
421
|
payload: {
|
|
422
|
-
title
|
|
423
|
-
buttons
|
|
422
|
+
title: string;
|
|
423
|
+
buttons: {
|
|
424
424
|
name: string;
|
|
425
425
|
request?: {
|
|
426
426
|
type: string;
|
|
427
427
|
payload?: any;
|
|
428
428
|
diagramID?: string | undefined;
|
|
429
429
|
} | undefined;
|
|
430
|
-
}[]
|
|
431
|
-
imageUrl
|
|
432
|
-
description
|
|
430
|
+
}[];
|
|
431
|
+
imageUrl: string | null;
|
|
432
|
+
description: {
|
|
433
433
|
text: string;
|
|
434
|
-
slate?: any;
|
|
435
|
-
}
|
|
434
|
+
slate?: any[] | undefined;
|
|
435
|
+
};
|
|
436
436
|
};
|
|
437
437
|
paths?: {
|
|
438
438
|
label?: string | undefined;
|
|
@@ -480,8 +480,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
480
480
|
type: z.ZodLiteral<"carousel">;
|
|
481
481
|
payload: z.ZodObject<{
|
|
482
482
|
cards: z.ZodArray<z.ZodObject<{
|
|
483
|
-
title: z.
|
|
484
|
-
buttons: z.
|
|
483
|
+
title: z.ZodString;
|
|
484
|
+
buttons: z.ZodArray<z.ZodObject<{
|
|
485
485
|
name: z.ZodString;
|
|
486
486
|
request: z.ZodOptional<z.ZodObject<{
|
|
487
487
|
type: z.ZodString;
|
|
@@ -510,48 +510,51 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
510
510
|
payload?: any;
|
|
511
511
|
diagramID?: string | undefined;
|
|
512
512
|
} | undefined;
|
|
513
|
-
}>, "many"
|
|
514
|
-
imageUrl: z.
|
|
515
|
-
description: z.
|
|
513
|
+
}>, "many">;
|
|
514
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
515
|
+
description: z.ZodObject<{
|
|
516
516
|
text: z.ZodString;
|
|
517
|
-
slate: z.ZodOptional<z.ZodAny
|
|
517
|
+
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
519
|
text: string;
|
|
520
|
-
slate?: any;
|
|
520
|
+
slate?: any[] | undefined;
|
|
521
521
|
}, {
|
|
522
522
|
text: string;
|
|
523
|
-
slate?: any;
|
|
524
|
-
}
|
|
523
|
+
slate?: any[] | undefined;
|
|
524
|
+
}>;
|
|
525
|
+
id: z.ZodString;
|
|
525
526
|
}, "strip", z.ZodTypeAny, {
|
|
526
|
-
title
|
|
527
|
-
buttons
|
|
527
|
+
title: string;
|
|
528
|
+
buttons: {
|
|
528
529
|
name: string;
|
|
529
530
|
request?: {
|
|
530
531
|
type: string;
|
|
531
532
|
payload?: any;
|
|
532
533
|
diagramID?: string | undefined;
|
|
533
534
|
} | undefined;
|
|
534
|
-
}[]
|
|
535
|
-
imageUrl
|
|
536
|
-
description
|
|
535
|
+
}[];
|
|
536
|
+
imageUrl: string | null;
|
|
537
|
+
description: {
|
|
537
538
|
text: string;
|
|
538
|
-
slate?: any;
|
|
539
|
-
}
|
|
539
|
+
slate?: any[] | undefined;
|
|
540
|
+
};
|
|
541
|
+
id: string;
|
|
540
542
|
}, {
|
|
541
|
-
title
|
|
542
|
-
buttons
|
|
543
|
+
title: string;
|
|
544
|
+
buttons: {
|
|
543
545
|
name: string;
|
|
544
546
|
request?: {
|
|
545
547
|
type: string;
|
|
546
548
|
payload?: any;
|
|
547
549
|
diagramID?: string | undefined;
|
|
548
550
|
} | undefined;
|
|
549
|
-
}[]
|
|
550
|
-
imageUrl
|
|
551
|
-
description
|
|
551
|
+
}[];
|
|
552
|
+
imageUrl: string | null;
|
|
553
|
+
description: {
|
|
552
554
|
text: string;
|
|
553
|
-
slate?: any;
|
|
554
|
-
}
|
|
555
|
+
slate?: any[] | undefined;
|
|
556
|
+
};
|
|
557
|
+
id: string;
|
|
555
558
|
}>, "many">;
|
|
556
559
|
layout: z.ZodNativeEnum<{
|
|
557
560
|
readonly LIST: "List";
|
|
@@ -559,38 +562,40 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
559
562
|
}>;
|
|
560
563
|
}, "strip", z.ZodTypeAny, {
|
|
561
564
|
cards: {
|
|
562
|
-
title
|
|
563
|
-
buttons
|
|
565
|
+
title: string;
|
|
566
|
+
buttons: {
|
|
564
567
|
name: string;
|
|
565
568
|
request?: {
|
|
566
569
|
type: string;
|
|
567
570
|
payload?: any;
|
|
568
571
|
diagramID?: string | undefined;
|
|
569
572
|
} | undefined;
|
|
570
|
-
}[]
|
|
571
|
-
imageUrl
|
|
572
|
-
description
|
|
573
|
+
}[];
|
|
574
|
+
imageUrl: string | null;
|
|
575
|
+
description: {
|
|
573
576
|
text: string;
|
|
574
|
-
slate?: any;
|
|
575
|
-
}
|
|
577
|
+
slate?: any[] | undefined;
|
|
578
|
+
};
|
|
579
|
+
id: string;
|
|
576
580
|
}[];
|
|
577
581
|
layout: "List" | "Carousel";
|
|
578
582
|
}, {
|
|
579
583
|
cards: {
|
|
580
|
-
title
|
|
581
|
-
buttons
|
|
584
|
+
title: string;
|
|
585
|
+
buttons: {
|
|
582
586
|
name: string;
|
|
583
587
|
request?: {
|
|
584
588
|
type: string;
|
|
585
589
|
payload?: any;
|
|
586
590
|
diagramID?: string | undefined;
|
|
587
591
|
} | undefined;
|
|
588
|
-
}[]
|
|
589
|
-
imageUrl
|
|
590
|
-
description
|
|
592
|
+
}[];
|
|
593
|
+
imageUrl: string | null;
|
|
594
|
+
description: {
|
|
591
595
|
text: string;
|
|
592
|
-
slate?: any;
|
|
593
|
-
}
|
|
596
|
+
slate?: any[] | undefined;
|
|
597
|
+
};
|
|
598
|
+
id: string;
|
|
594
599
|
}[];
|
|
595
600
|
layout: "List" | "Carousel";
|
|
596
601
|
}>;
|
|
@@ -598,20 +603,21 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
598
603
|
type: "carousel";
|
|
599
604
|
payload: {
|
|
600
605
|
cards: {
|
|
601
|
-
title
|
|
602
|
-
buttons
|
|
606
|
+
title: string;
|
|
607
|
+
buttons: {
|
|
603
608
|
name: string;
|
|
604
609
|
request?: {
|
|
605
610
|
type: string;
|
|
606
611
|
payload?: any;
|
|
607
612
|
diagramID?: string | undefined;
|
|
608
613
|
} | undefined;
|
|
609
|
-
}[]
|
|
610
|
-
imageUrl
|
|
611
|
-
description
|
|
614
|
+
}[];
|
|
615
|
+
imageUrl: string | null;
|
|
616
|
+
description: {
|
|
612
617
|
text: string;
|
|
613
|
-
slate?: any;
|
|
614
|
-
}
|
|
618
|
+
slate?: any[] | undefined;
|
|
619
|
+
};
|
|
620
|
+
id: string;
|
|
615
621
|
}[];
|
|
616
622
|
layout: "List" | "Carousel";
|
|
617
623
|
};
|
|
@@ -629,20 +635,21 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
629
635
|
type: "carousel";
|
|
630
636
|
payload: {
|
|
631
637
|
cards: {
|
|
632
|
-
title
|
|
633
|
-
buttons
|
|
638
|
+
title: string;
|
|
639
|
+
buttons: {
|
|
634
640
|
name: string;
|
|
635
641
|
request?: {
|
|
636
642
|
type: string;
|
|
637
643
|
payload?: any;
|
|
638
644
|
diagramID?: string | undefined;
|
|
639
645
|
} | undefined;
|
|
640
|
-
}[]
|
|
641
|
-
imageUrl
|
|
642
|
-
description
|
|
646
|
+
}[];
|
|
647
|
+
imageUrl: string | null;
|
|
648
|
+
description: {
|
|
643
649
|
text: string;
|
|
644
|
-
slate?: any;
|
|
645
|
-
}
|
|
650
|
+
slate?: any[] | undefined;
|
|
651
|
+
};
|
|
652
|
+
id: string;
|
|
646
653
|
}[];
|
|
647
654
|
layout: "List" | "Carousel";
|
|
648
655
|
};
|
|
@@ -1863,14 +1870,14 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1863
1870
|
message: z.ZodString;
|
|
1864
1871
|
ai: z.ZodOptional<z.ZodBoolean>;
|
|
1865
1872
|
slate: z.ZodObject<{
|
|
1866
|
-
content: z.ZodAny
|
|
1867
|
-
id: z.
|
|
1873
|
+
content: z.ZodArray<z.ZodAny, "many">;
|
|
1874
|
+
id: z.ZodString;
|
|
1868
1875
|
}, "strip", z.ZodTypeAny, {
|
|
1869
|
-
|
|
1870
|
-
|
|
1876
|
+
id: string;
|
|
1877
|
+
content: any[];
|
|
1871
1878
|
}, {
|
|
1872
|
-
|
|
1873
|
-
|
|
1879
|
+
id: string;
|
|
1880
|
+
content: any[];
|
|
1874
1881
|
}>;
|
|
1875
1882
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
1876
1883
|
audio: z.ZodOptional<z.ZodObject<{
|
|
@@ -1883,8 +1890,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1883
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1884
1891
|
message: string;
|
|
1885
1892
|
slate: {
|
|
1886
|
-
|
|
1887
|
-
|
|
1893
|
+
id: string;
|
|
1894
|
+
content: any[];
|
|
1888
1895
|
};
|
|
1889
1896
|
ai?: boolean | undefined;
|
|
1890
1897
|
delay?: number | undefined;
|
|
@@ -1894,8 +1901,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1894
1901
|
}, {
|
|
1895
1902
|
message: string;
|
|
1896
1903
|
slate: {
|
|
1897
|
-
|
|
1898
|
-
|
|
1904
|
+
id: string;
|
|
1905
|
+
content: any[];
|
|
1899
1906
|
};
|
|
1900
1907
|
ai?: boolean | undefined;
|
|
1901
1908
|
delay?: number | undefined;
|
|
@@ -1908,8 +1915,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1908
1915
|
payload: {
|
|
1909
1916
|
message: string;
|
|
1910
1917
|
slate: {
|
|
1911
|
-
|
|
1912
|
-
|
|
1918
|
+
id: string;
|
|
1919
|
+
content: any[];
|
|
1913
1920
|
};
|
|
1914
1921
|
ai?: boolean | undefined;
|
|
1915
1922
|
delay?: number | undefined;
|
|
@@ -1932,8 +1939,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1932
1939
|
payload: {
|
|
1933
1940
|
message: string;
|
|
1934
1941
|
slate: {
|
|
1935
|
-
|
|
1936
|
-
|
|
1942
|
+
id: string;
|
|
1943
|
+
content: any[];
|
|
1937
1944
|
};
|
|
1938
1945
|
ai?: boolean | undefined;
|
|
1939
1946
|
delay?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/any.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/any.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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: z.
|
|
4
|
-
buttons: z.
|
|
3
|
+
title: z.ZodString;
|
|
4
|
+
buttons: z.ZodArray<z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
request: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
type: z.ZodString;
|
|
@@ -30,49 +30,50 @@ export declare const CardTraceCardDTO: z.ZodObject<{
|
|
|
30
30
|
payload?: any;
|
|
31
31
|
diagramID?: string | undefined;
|
|
32
32
|
} | undefined;
|
|
33
|
-
}>, "many"
|
|
34
|
-
imageUrl: z.
|
|
35
|
-
description: z.
|
|
33
|
+
}>, "many">;
|
|
34
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
35
|
+
description: z.ZodObject<{
|
|
36
36
|
text: z.ZodString;
|
|
37
|
-
slate: z.ZodOptional<z.ZodAny
|
|
37
|
+
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
text: string;
|
|
40
|
-
slate?: any;
|
|
40
|
+
slate?: any[] | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
text: string;
|
|
43
|
-
slate?: any;
|
|
44
|
-
}
|
|
43
|
+
slate?: any[] | undefined;
|
|
44
|
+
}>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
title
|
|
47
|
-
buttons
|
|
46
|
+
title: string;
|
|
47
|
+
buttons: {
|
|
48
48
|
name: string;
|
|
49
49
|
request?: {
|
|
50
50
|
type: string;
|
|
51
51
|
payload?: any;
|
|
52
52
|
diagramID?: string | undefined;
|
|
53
53
|
} | undefined;
|
|
54
|
-
}[]
|
|
55
|
-
imageUrl
|
|
56
|
-
description
|
|
54
|
+
}[];
|
|
55
|
+
imageUrl: string | null;
|
|
56
|
+
description: {
|
|
57
57
|
text: string;
|
|
58
|
-
slate?: any;
|
|
59
|
-
}
|
|
58
|
+
slate?: any[] | undefined;
|
|
59
|
+
};
|
|
60
60
|
}, {
|
|
61
|
-
title
|
|
62
|
-
buttons
|
|
61
|
+
title: string;
|
|
62
|
+
buttons: {
|
|
63
63
|
name: string;
|
|
64
64
|
request?: {
|
|
65
65
|
type: string;
|
|
66
66
|
payload?: any;
|
|
67
67
|
diagramID?: string | undefined;
|
|
68
68
|
} | undefined;
|
|
69
|
-
}[]
|
|
70
|
-
imageUrl
|
|
71
|
-
description
|
|
69
|
+
}[];
|
|
70
|
+
imageUrl: string | null;
|
|
71
|
+
description: {
|
|
72
72
|
text: string;
|
|
73
|
-
slate?: any;
|
|
74
|
-
}
|
|
73
|
+
slate?: any[] | undefined;
|
|
74
|
+
};
|
|
75
75
|
}>;
|
|
76
|
+
export type CardTraceCard = z.infer<typeof CardTraceCardDTO>;
|
|
76
77
|
export declare const CardTraceDTO: z.ZodObject<{
|
|
77
78
|
paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
78
79
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -108,8 +109,8 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
108
109
|
time: z.ZodOptional<z.ZodNumber>;
|
|
109
110
|
type: z.ZodLiteral<"cardV2">;
|
|
110
111
|
payload: z.ZodObject<{
|
|
111
|
-
title: z.
|
|
112
|
-
buttons: z.
|
|
112
|
+
title: z.ZodString;
|
|
113
|
+
buttons: z.ZodArray<z.ZodObject<{
|
|
113
114
|
name: z.ZodString;
|
|
114
115
|
request: z.ZodOptional<z.ZodObject<{
|
|
115
116
|
type: z.ZodString;
|
|
@@ -138,66 +139,66 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
138
139
|
payload?: any;
|
|
139
140
|
diagramID?: string | undefined;
|
|
140
141
|
} | undefined;
|
|
141
|
-
}>, "many"
|
|
142
|
-
imageUrl: z.
|
|
143
|
-
description: z.
|
|
142
|
+
}>, "many">;
|
|
143
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
144
|
+
description: z.ZodObject<{
|
|
144
145
|
text: z.ZodString;
|
|
145
|
-
slate: z.ZodOptional<z.ZodAny
|
|
146
|
+
slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
146
147
|
}, "strip", z.ZodTypeAny, {
|
|
147
148
|
text: string;
|
|
148
|
-
slate?: any;
|
|
149
|
+
slate?: any[] | undefined;
|
|
149
150
|
}, {
|
|
150
151
|
text: string;
|
|
151
|
-
slate?: any;
|
|
152
|
-
}
|
|
152
|
+
slate?: any[] | undefined;
|
|
153
|
+
}>;
|
|
153
154
|
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
title
|
|
155
|
-
buttons
|
|
155
|
+
title: string;
|
|
156
|
+
buttons: {
|
|
156
157
|
name: string;
|
|
157
158
|
request?: {
|
|
158
159
|
type: string;
|
|
159
160
|
payload?: any;
|
|
160
161
|
diagramID?: string | undefined;
|
|
161
162
|
} | undefined;
|
|
162
|
-
}[]
|
|
163
|
-
imageUrl
|
|
164
|
-
description
|
|
163
|
+
}[];
|
|
164
|
+
imageUrl: string | null;
|
|
165
|
+
description: {
|
|
165
166
|
text: string;
|
|
166
|
-
slate?: any;
|
|
167
|
-
}
|
|
167
|
+
slate?: any[] | undefined;
|
|
168
|
+
};
|
|
168
169
|
}, {
|
|
169
|
-
title
|
|
170
|
-
buttons
|
|
170
|
+
title: string;
|
|
171
|
+
buttons: {
|
|
171
172
|
name: string;
|
|
172
173
|
request?: {
|
|
173
174
|
type: string;
|
|
174
175
|
payload?: any;
|
|
175
176
|
diagramID?: string | undefined;
|
|
176
177
|
} | undefined;
|
|
177
|
-
}[]
|
|
178
|
-
imageUrl
|
|
179
|
-
description
|
|
178
|
+
}[];
|
|
179
|
+
imageUrl: string | null;
|
|
180
|
+
description: {
|
|
180
181
|
text: string;
|
|
181
|
-
slate?: any;
|
|
182
|
-
}
|
|
182
|
+
slate?: any[] | undefined;
|
|
183
|
+
};
|
|
183
184
|
}>;
|
|
184
185
|
}, "strip", z.ZodTypeAny, {
|
|
185
186
|
type: "cardV2";
|
|
186
187
|
payload: {
|
|
187
|
-
title
|
|
188
|
-
buttons
|
|
188
|
+
title: string;
|
|
189
|
+
buttons: {
|
|
189
190
|
name: string;
|
|
190
191
|
request?: {
|
|
191
192
|
type: string;
|
|
192
193
|
payload?: any;
|
|
193
194
|
diagramID?: string | undefined;
|
|
194
195
|
} | undefined;
|
|
195
|
-
}[]
|
|
196
|
-
imageUrl
|
|
197
|
-
description
|
|
196
|
+
}[];
|
|
197
|
+
imageUrl: string | null;
|
|
198
|
+
description: {
|
|
198
199
|
text: string;
|
|
199
|
-
slate?: any;
|
|
200
|
-
}
|
|
200
|
+
slate?: any[] | undefined;
|
|
201
|
+
};
|
|
201
202
|
};
|
|
202
203
|
paths?: {
|
|
203
204
|
label?: string | undefined;
|
|
@@ -212,20 +213,20 @@ export declare const CardTraceDTO: z.ZodObject<{
|
|
|
212
213
|
}, {
|
|
213
214
|
type: "cardV2";
|
|
214
215
|
payload: {
|
|
215
|
-
title
|
|
216
|
-
buttons
|
|
216
|
+
title: string;
|
|
217
|
+
buttons: {
|
|
217
218
|
name: string;
|
|
218
219
|
request?: {
|
|
219
220
|
type: string;
|
|
220
221
|
payload?: any;
|
|
221
222
|
diagramID?: string | undefined;
|
|
222
223
|
} | undefined;
|
|
223
|
-
}[]
|
|
224
|
-
imageUrl
|
|
225
|
-
description
|
|
224
|
+
}[];
|
|
225
|
+
imageUrl: string | null;
|
|
226
|
+
description: {
|
|
226
227
|
text: string;
|
|
227
|
-
slate?: any;
|
|
228
|
-
}
|
|
228
|
+
slate?: any[] | undefined;
|
|
229
|
+
};
|
|
229
230
|
};
|
|
230
231
|
paths?: {
|
|
231
232
|
label?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/card.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"card.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/card.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE7D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|