@voiceflow/dtos-interact 1.52.0 → 1.52.1-8e3edd4540.14

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.
@@ -2629,15 +2629,15 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2629
2629
  }, {
2630
2630
  src: string;
2631
2631
  }>>;
2632
- messageID: z.ZodString;
2632
+ messageID: z.ZodOptional<z.ZodString>;
2633
2633
  }, "strip", z.ZodTypeAny, {
2634
2634
  message: string;
2635
- messageID: string;
2636
2635
  slate: {
2637
2636
  id: string;
2638
2637
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
2639
2638
  };
2640
2639
  voice?: string | undefined;
2640
+ messageID?: string | undefined;
2641
2641
  audio?: {
2642
2642
  src: string;
2643
2643
  } | undefined;
@@ -2645,12 +2645,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2645
2645
  delay?: number | undefined;
2646
2646
  }, {
2647
2647
  message: string;
2648
- messageID: string;
2649
2648
  slate: {
2650
2649
  id: string;
2651
2650
  content: any[];
2652
2651
  };
2653
2652
  voice?: string | undefined;
2653
+ messageID?: string | undefined;
2654
2654
  audio?: {
2655
2655
  src: string;
2656
2656
  } | undefined;
@@ -2661,12 +2661,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2661
2661
  type: "text";
2662
2662
  payload: {
2663
2663
  message: string;
2664
- messageID: string;
2665
2664
  slate: {
2666
2665
  id: string;
2667
2666
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
2668
2667
  };
2669
2668
  voice?: string | undefined;
2669
+ messageID?: string | undefined;
2670
2670
  audio?: {
2671
2671
  src: string;
2672
2672
  } | undefined;
@@ -2688,12 +2688,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2688
2688
  type: "text";
2689
2689
  payload: {
2690
2690
  message: string;
2691
- messageID: string;
2692
2691
  slate: {
2693
2692
  id: string;
2694
2693
  content: any[];
2695
2694
  };
2696
2695
  voice?: string | undefined;
2696
+ messageID?: string | undefined;
2697
2697
  audio?: {
2698
2698
  src: string;
2699
2699
  } | undefined;
@@ -4184,12 +4184,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
4184
4184
  type: "text";
4185
4185
  payload: {
4186
4186
  message: string;
4187
- messageID: string;
4188
4187
  slate: {
4189
4188
  id: string;
4190
4189
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
4191
4190
  };
4192
4191
  voice?: string | undefined;
4192
+ messageID?: string | undefined;
4193
4193
  audio?: {
4194
4194
  src: string;
4195
4195
  } | undefined;
@@ -4818,12 +4818,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
4818
4818
  type: "text";
4819
4819
  payload: {
4820
4820
  message: string;
4821
- messageID: string;
4822
4821
  slate: {
4823
4822
  id: string;
4824
4823
  content: any[];
4825
4824
  };
4826
4825
  voice?: string | undefined;
4826
+ messageID?: string | undefined;
4827
4827
  audio?: {
4828
4828
  src: string;
4829
4829
  } | undefined;
@@ -5455,12 +5455,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
5455
5455
  type: "text";
5456
5456
  payload: {
5457
5457
  message: string;
5458
- messageID: string;
5459
5458
  slate: {
5460
5459
  id: string;
5461
5460
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
5462
5461
  };
5463
5462
  voice?: string | undefined;
5463
+ messageID?: string | undefined;
5464
5464
  audio?: {
5465
5465
  src: string;
5466
5466
  } | undefined;
@@ -6092,12 +6092,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6092
6092
  type: "text";
6093
6093
  payload: {
6094
6094
  message: string;
6095
- messageID: string;
6096
6095
  slate: {
6097
6096
  id: string;
6098
6097
  content: any[];
6099
6098
  };
6100
6099
  voice?: string | undefined;
6100
+ messageID?: string | undefined;
6101
6101
  audio?: {
6102
6102
  src: string;
6103
6103
  } | undefined;
@@ -6790,15 +6790,15 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6790
6790
  }, {
6791
6791
  src: string;
6792
6792
  }>>;
6793
- messageID: z.ZodString;
6793
+ messageID: z.ZodOptional<z.ZodString>;
6794
6794
  }, "strip", z.ZodTypeAny, {
6795
6795
  message: string;
6796
- messageID: string;
6797
6796
  slate: {
6798
6797
  id: string;
6799
6798
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
6800
6799
  };
6801
6800
  voice?: string | undefined;
6801
+ messageID?: string | undefined;
6802
6802
  audio?: {
6803
6803
  src: string;
6804
6804
  } | undefined;
@@ -6806,12 +6806,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6806
6806
  delay?: number | undefined;
6807
6807
  }, {
6808
6808
  message: string;
6809
- messageID: string;
6810
6809
  slate: {
6811
6810
  id: string;
6812
6811
  content: any[];
6813
6812
  };
6814
6813
  voice?: string | undefined;
6814
+ messageID?: string | undefined;
6815
6815
  audio?: {
6816
6816
  src: string;
6817
6817
  } | undefined;
@@ -6822,12 +6822,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6822
6822
  type: "text";
6823
6823
  payload: {
6824
6824
  message: string;
6825
- messageID: string;
6826
6825
  slate: {
6827
6826
  id: string;
6828
6827
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
6829
6828
  };
6830
6829
  voice?: string | undefined;
6830
+ messageID?: string | undefined;
6831
6831
  audio?: {
6832
6832
  src: string;
6833
6833
  } | undefined;
@@ -6849,12 +6849,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6849
6849
  type: "text";
6850
6850
  payload: {
6851
6851
  message: string;
6852
- messageID: string;
6853
6852
  slate: {
6854
6853
  id: string;
6855
6854
  content: any[];
6856
6855
  };
6857
6856
  voice?: string | undefined;
6857
+ messageID?: string | undefined;
6858
6858
  audio?: {
6859
6859
  src: string;
6860
6860
  } | undefined;
@@ -8345,12 +8345,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
8345
8345
  type: "text";
8346
8346
  payload: {
8347
8347
  message: string;
8348
- messageID: string;
8349
8348
  slate: {
8350
8349
  id: string;
8351
8350
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
8352
8351
  };
8353
8352
  voice?: string | undefined;
8353
+ messageID?: string | undefined;
8354
8354
  audio?: {
8355
8355
  src: string;
8356
8356
  } | undefined;
@@ -8979,12 +8979,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
8979
8979
  type: "text";
8980
8980
  payload: {
8981
8981
  message: string;
8982
- messageID: string;
8983
8982
  slate: {
8984
8983
  id: string;
8985
8984
  content: any[];
8986
8985
  };
8987
8986
  voice?: string | undefined;
8987
+ messageID?: string | undefined;
8988
8988
  audio?: {
8989
8989
  src: string;
8990
8990
  } | undefined;
@@ -9616,12 +9616,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
9616
9616
  type: "text";
9617
9617
  payload: {
9618
9618
  message: string;
9619
- messageID: string;
9620
9619
  slate: {
9621
9620
  id: string;
9622
9621
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
9623
9622
  };
9624
9623
  voice?: string | undefined;
9624
+ messageID?: string | undefined;
9625
9625
  audio?: {
9626
9626
  src: string;
9627
9627
  } | undefined;
@@ -10253,12 +10253,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10253
10253
  type: "text";
10254
10254
  payload: {
10255
10255
  message: string;
10256
- messageID: string;
10257
10256
  slate: {
10258
10257
  id: string;
10259
10258
  content: any[];
10260
10259
  };
10261
10260
  voice?: string | undefined;
10261
+ messageID?: string | undefined;
10262
10262
  audio?: {
10263
10263
  src: string;
10264
10264
  } | undefined;
@@ -20883,15 +20883,15 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20883
20883
  }, {
20884
20884
  src: string;
20885
20885
  }>>;
20886
- messageID: z.ZodString;
20886
+ messageID: z.ZodOptional<z.ZodString>;
20887
20887
  }, "strip", z.ZodTypeAny, {
20888
20888
  message: string;
20889
- messageID: string;
20890
20889
  slate: {
20891
20890
  id: string;
20892
20891
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
20893
20892
  };
20894
20893
  voice?: string | undefined;
20894
+ messageID?: string | undefined;
20895
20895
  audio?: {
20896
20896
  src: string;
20897
20897
  } | undefined;
@@ -20899,12 +20899,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20899
20899
  delay?: number | undefined;
20900
20900
  }, {
20901
20901
  message: string;
20902
- messageID: string;
20903
20902
  slate: {
20904
20903
  id: string;
20905
20904
  content: any[];
20906
20905
  };
20907
20906
  voice?: string | undefined;
20907
+ messageID?: string | undefined;
20908
20908
  audio?: {
20909
20909
  src: string;
20910
20910
  } | undefined;
@@ -20915,12 +20915,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20915
20915
  type: "text";
20916
20916
  payload: {
20917
20917
  message: string;
20918
- messageID: string;
20919
20918
  slate: {
20920
20919
  id: string;
20921
20920
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
20922
20921
  };
20923
20922
  voice?: string | undefined;
20923
+ messageID?: string | undefined;
20924
20924
  audio?: {
20925
20925
  src: string;
20926
20926
  } | undefined;
@@ -20942,12 +20942,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20942
20942
  type: "text";
20943
20943
  payload: {
20944
20944
  message: string;
20945
- messageID: string;
20946
20945
  slate: {
20947
20946
  id: string;
20948
20947
  content: any[];
20949
20948
  };
20950
20949
  voice?: string | undefined;
20950
+ messageID?: string | undefined;
20951
20951
  audio?: {
20952
20952
  src: string;
20953
20953
  } | undefined;
@@ -22438,12 +22438,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22438
22438
  type: "text";
22439
22439
  payload: {
22440
22440
  message: string;
22441
- messageID: string;
22442
22441
  slate: {
22443
22442
  id: string;
22444
22443
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
22445
22444
  };
22446
22445
  voice?: string | undefined;
22446
+ messageID?: string | undefined;
22447
22447
  audio?: {
22448
22448
  src: string;
22449
22449
  } | undefined;
@@ -23072,12 +23072,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23072
23072
  type: "text";
23073
23073
  payload: {
23074
23074
  message: string;
23075
- messageID: string;
23076
23075
  slate: {
23077
23076
  id: string;
23078
23077
  content: any[];
23079
23078
  };
23080
23079
  voice?: string | undefined;
23080
+ messageID?: string | undefined;
23081
23081
  audio?: {
23082
23082
  src: string;
23083
23083
  } | undefined;
@@ -23709,12 +23709,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23709
23709
  type: "text";
23710
23710
  payload: {
23711
23711
  message: string;
23712
- messageID: string;
23713
23712
  slate: {
23714
23713
  id: string;
23715
23714
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
23716
23715
  };
23717
23716
  voice?: string | undefined;
23717
+ messageID?: string | undefined;
23718
23718
  audio?: {
23719
23719
  src: string;
23720
23720
  } | undefined;
@@ -24346,12 +24346,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24346
24346
  type: "text";
24347
24347
  payload: {
24348
24348
  message: string;
24349
- messageID: string;
24350
24349
  slate: {
24351
24350
  id: string;
24352
24351
  content: any[];
24353
24352
  };
24354
24353
  voice?: string | undefined;
24354
+ messageID?: string | undefined;
24355
24355
  audio?: {
24356
24356
  src: string;
24357
24357
  } | undefined;
@@ -2626,15 +2626,15 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2626
2626
  }, {
2627
2627
  src: string;
2628
2628
  }>>;
2629
- messageID: z.ZodString;
2629
+ messageID: z.ZodOptional<z.ZodString>;
2630
2630
  }, "strip", z.ZodTypeAny, {
2631
2631
  message: string;
2632
- messageID: string;
2633
2632
  slate: {
2634
2633
  id: string;
2635
2634
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
2636
2635
  };
2637
2636
  voice?: string | undefined;
2637
+ messageID?: string | undefined;
2638
2638
  audio?: {
2639
2639
  src: string;
2640
2640
  } | undefined;
@@ -2642,12 +2642,12 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2642
2642
  delay?: number | undefined;
2643
2643
  }, {
2644
2644
  message: string;
2645
- messageID: string;
2646
2645
  slate: {
2647
2646
  id: string;
2648
2647
  content: any[];
2649
2648
  };
2650
2649
  voice?: string | undefined;
2650
+ messageID?: string | undefined;
2651
2651
  audio?: {
2652
2652
  src: string;
2653
2653
  } | undefined;
@@ -2658,12 +2658,12 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2658
2658
  type: "text";
2659
2659
  payload: {
2660
2660
  message: string;
2661
- messageID: string;
2662
2661
  slate: {
2663
2662
  id: string;
2664
2663
  content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
2665
2664
  };
2666
2665
  voice?: string | undefined;
2666
+ messageID?: string | undefined;
2667
2667
  audio?: {
2668
2668
  src: string;
2669
2669
  } | undefined;
@@ -2685,12 +2685,12 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2685
2685
  type: "text";
2686
2686
  payload: {
2687
2687
  message: string;
2688
- messageID: string;
2689
2688
  slate: {
2690
2689
  id: string;
2691
2690
  content: any[];
2692
2691
  };
2693
2692
  voice?: string | undefined;
2693
+ messageID?: string | undefined;
2694
2694
  audio?: {
2695
2695
  src: string;
2696
2696
  } | undefined;
@@ -62,15 +62,15 @@ export declare const TextTraceDTO: z.ZodObject<{
62
62
  }, {
63
63
  src: string;
64
64
  }>>;
65
- messageID: z.ZodString;
65
+ messageID: z.ZodOptional<z.ZodString>;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  message: string;
68
- messageID: string;
69
68
  slate: {
70
69
  id: string;
71
70
  content: (import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement)[];
72
71
  };
73
72
  voice?: string | undefined;
73
+ messageID?: string | undefined;
74
74
  audio?: {
75
75
  src: string;
76
76
  } | undefined;
@@ -78,12 +78,12 @@ export declare const TextTraceDTO: z.ZodObject<{
78
78
  delay?: number | undefined;
79
79
  }, {
80
80
  message: string;
81
- messageID: string;
82
81
  slate: {
83
82
  id: string;
84
83
  content: any[];
85
84
  };
86
85
  voice?: string | undefined;
86
+ messageID?: string | undefined;
87
87
  audio?: {
88
88
  src: string;
89
89
  } | undefined;
@@ -94,12 +94,12 @@ export declare const TextTraceDTO: z.ZodObject<{
94
94
  type: "text";
95
95
  payload: {
96
96
  message: string;
97
- messageID: string;
98
97
  slate: {
99
98
  id: string;
100
99
  content: (import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement)[];
101
100
  };
102
101
  voice?: string | undefined;
102
+ messageID?: string | undefined;
103
103
  audio?: {
104
104
  src: string;
105
105
  } | undefined;
@@ -121,12 +121,12 @@ export declare const TextTraceDTO: z.ZodObject<{
121
121
  type: "text";
122
122
  payload: {
123
123
  message: string;
124
- messageID: string;
125
124
  slate: {
126
125
  id: string;
127
126
  content: any[];
128
127
  };
129
128
  voice?: string | undefined;
129
+ messageID?: string | undefined;
130
130
  audio?: {
131
131
  src: string;
132
132
  } | undefined;
@@ -12,7 +12,7 @@ exports.TextTraceDTO = utils_dto_1.BaseTraceDTO.extend({
12
12
  delay: zod_1.z.number().optional(),
13
13
  voice: zod_1.z.string().optional(),
14
14
  audio: zod_1.z.object({ src: zod_1.z.string() }).optional(),
15
- messageID: zod_1.z.string(),
15
+ messageID: zod_1.z.string().optional(),
16
16
  }),
17
17
  });
18
18
  //# sourceMappingURL=text.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/trace/text.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,8CAAoD;AAEpD,uDAA8C;AAC9C,2CAAmE;AAEtD,QAAA,YAAY,GAAG,wBAAY,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,2BAAS,CAAC,IAAI,CAAC;IAC/B,OAAO,EAAE,kCAAsB,CAAC,MAAM,CAAC;QACrC,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,4BAAiB,EAAE,CAAC;QAC/D,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC/C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;KACtB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/trace/text.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,8CAAoD;AAEpD,uDAA8C;AAC9C,2CAAmE;AAEtD,QAAA,YAAY,GAAG,wBAAY,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,2BAAS,CAAC,IAAI,CAAC;IAC/B,OAAO,EAAE,kCAAsB,CAAC,MAAM,CAAC;QACrC,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,4BAAiB,EAAE,CAAC;QAC/D,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC/C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACjC,CAAC;CACH,CAAC,CAAC"}
@@ -2629,15 +2629,15 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2629
2629
  }, {
2630
2630
  src: string;
2631
2631
  }>>;
2632
- messageID: z.ZodString;
2632
+ messageID: z.ZodOptional<z.ZodString>;
2633
2633
  }, "strip", z.ZodTypeAny, {
2634
2634
  message: string;
2635
- messageID: string;
2636
2635
  slate: {
2637
2636
  id: string;
2638
2637
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
2639
2638
  };
2640
2639
  voice?: string | undefined;
2640
+ messageID?: string | undefined;
2641
2641
  audio?: {
2642
2642
  src: string;
2643
2643
  } | undefined;
@@ -2645,12 +2645,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2645
2645
  delay?: number | undefined;
2646
2646
  }, {
2647
2647
  message: string;
2648
- messageID: string;
2649
2648
  slate: {
2650
2649
  id: string;
2651
2650
  content: any[];
2652
2651
  };
2653
2652
  voice?: string | undefined;
2653
+ messageID?: string | undefined;
2654
2654
  audio?: {
2655
2655
  src: string;
2656
2656
  } | undefined;
@@ -2661,12 +2661,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2661
2661
  type: "text";
2662
2662
  payload: {
2663
2663
  message: string;
2664
- messageID: string;
2665
2664
  slate: {
2666
2665
  id: string;
2667
2666
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
2668
2667
  };
2669
2668
  voice?: string | undefined;
2669
+ messageID?: string | undefined;
2670
2670
  audio?: {
2671
2671
  src: string;
2672
2672
  } | undefined;
@@ -2688,12 +2688,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
2688
2688
  type: "text";
2689
2689
  payload: {
2690
2690
  message: string;
2691
- messageID: string;
2692
2691
  slate: {
2693
2692
  id: string;
2694
2693
  content: any[];
2695
2694
  };
2696
2695
  voice?: string | undefined;
2696
+ messageID?: string | undefined;
2697
2697
  audio?: {
2698
2698
  src: string;
2699
2699
  } | undefined;
@@ -4184,12 +4184,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
4184
4184
  type: "text";
4185
4185
  payload: {
4186
4186
  message: string;
4187
- messageID: string;
4188
4187
  slate: {
4189
4188
  id: string;
4190
4189
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
4191
4190
  };
4192
4191
  voice?: string | undefined;
4192
+ messageID?: string | undefined;
4193
4193
  audio?: {
4194
4194
  src: string;
4195
4195
  } | undefined;
@@ -4818,12 +4818,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
4818
4818
  type: "text";
4819
4819
  payload: {
4820
4820
  message: string;
4821
- messageID: string;
4822
4821
  slate: {
4823
4822
  id: string;
4824
4823
  content: any[];
4825
4824
  };
4826
4825
  voice?: string | undefined;
4826
+ messageID?: string | undefined;
4827
4827
  audio?: {
4828
4828
  src: string;
4829
4829
  } | undefined;
@@ -5455,12 +5455,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
5455
5455
  type: "text";
5456
5456
  payload: {
5457
5457
  message: string;
5458
- messageID: string;
5459
5458
  slate: {
5460
5459
  id: string;
5461
5460
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
5462
5461
  };
5463
5462
  voice?: string | undefined;
5463
+ messageID?: string | undefined;
5464
5464
  audio?: {
5465
5465
  src: string;
5466
5466
  } | undefined;
@@ -6092,12 +6092,12 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
6092
6092
  type: "text";
6093
6093
  payload: {
6094
6094
  message: string;
6095
- messageID: string;
6096
6095
  slate: {
6097
6096
  id: string;
6098
6097
  content: any[];
6099
6098
  };
6100
6099
  voice?: string | undefined;
6100
+ messageID?: string | undefined;
6101
6101
  audio?: {
6102
6102
  src: string;
6103
6103
  } | undefined;
@@ -6790,15 +6790,15 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6790
6790
  }, {
6791
6791
  src: string;
6792
6792
  }>>;
6793
- messageID: z.ZodString;
6793
+ messageID: z.ZodOptional<z.ZodString>;
6794
6794
  }, "strip", z.ZodTypeAny, {
6795
6795
  message: string;
6796
- messageID: string;
6797
6796
  slate: {
6798
6797
  id: string;
6799
6798
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
6800
6799
  };
6801
6800
  voice?: string | undefined;
6801
+ messageID?: string | undefined;
6802
6802
  audio?: {
6803
6803
  src: string;
6804
6804
  } | undefined;
@@ -6806,12 +6806,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6806
6806
  delay?: number | undefined;
6807
6807
  }, {
6808
6808
  message: string;
6809
- messageID: string;
6810
6809
  slate: {
6811
6810
  id: string;
6812
6811
  content: any[];
6813
6812
  };
6814
6813
  voice?: string | undefined;
6814
+ messageID?: string | undefined;
6815
6815
  audio?: {
6816
6816
  src: string;
6817
6817
  } | undefined;
@@ -6822,12 +6822,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6822
6822
  type: "text";
6823
6823
  payload: {
6824
6824
  message: string;
6825
- messageID: string;
6826
6825
  slate: {
6827
6826
  id: string;
6828
6827
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
6829
6828
  };
6830
6829
  voice?: string | undefined;
6830
+ messageID?: string | undefined;
6831
6831
  audio?: {
6832
6832
  src: string;
6833
6833
  } | undefined;
@@ -6849,12 +6849,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
6849
6849
  type: "text";
6850
6850
  payload: {
6851
6851
  message: string;
6852
- messageID: string;
6853
6852
  slate: {
6854
6853
  id: string;
6855
6854
  content: any[];
6856
6855
  };
6857
6856
  voice?: string | undefined;
6857
+ messageID?: string | undefined;
6858
6858
  audio?: {
6859
6859
  src: string;
6860
6860
  } | undefined;
@@ -8345,12 +8345,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
8345
8345
  type: "text";
8346
8346
  payload: {
8347
8347
  message: string;
8348
- messageID: string;
8349
8348
  slate: {
8350
8349
  id: string;
8351
8350
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
8352
8351
  };
8353
8352
  voice?: string | undefined;
8353
+ messageID?: string | undefined;
8354
8354
  audio?: {
8355
8355
  src: string;
8356
8356
  } | undefined;
@@ -8979,12 +8979,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
8979
8979
  type: "text";
8980
8980
  payload: {
8981
8981
  message: string;
8982
- messageID: string;
8983
8982
  slate: {
8984
8983
  id: string;
8985
8984
  content: any[];
8986
8985
  };
8987
8986
  voice?: string | undefined;
8987
+ messageID?: string | undefined;
8988
8988
  audio?: {
8989
8989
  src: string;
8990
8990
  } | undefined;
@@ -9616,12 +9616,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
9616
9616
  type: "text";
9617
9617
  payload: {
9618
9618
  message: string;
9619
- messageID: string;
9620
9619
  slate: {
9621
9620
  id: string;
9622
9621
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
9623
9622
  };
9624
9623
  voice?: string | undefined;
9624
+ messageID?: string | undefined;
9625
9625
  audio?: {
9626
9626
  src: string;
9627
9627
  } | undefined;
@@ -10253,12 +10253,12 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10253
10253
  type: "text";
10254
10254
  payload: {
10255
10255
  message: string;
10256
- messageID: string;
10257
10256
  slate: {
10258
10257
  id: string;
10259
10258
  content: any[];
10260
10259
  };
10261
10260
  voice?: string | undefined;
10261
+ messageID?: string | undefined;
10262
10262
  audio?: {
10263
10263
  src: string;
10264
10264
  } | undefined;
@@ -20883,15 +20883,15 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20883
20883
  }, {
20884
20884
  src: string;
20885
20885
  }>>;
20886
- messageID: z.ZodString;
20886
+ messageID: z.ZodOptional<z.ZodString>;
20887
20887
  }, "strip", z.ZodTypeAny, {
20888
20888
  message: string;
20889
- messageID: string;
20890
20889
  slate: {
20891
20890
  id: string;
20892
20891
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
20893
20892
  };
20894
20893
  voice?: string | undefined;
20894
+ messageID?: string | undefined;
20895
20895
  audio?: {
20896
20896
  src: string;
20897
20897
  } | undefined;
@@ -20899,12 +20899,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20899
20899
  delay?: number | undefined;
20900
20900
  }, {
20901
20901
  message: string;
20902
- messageID: string;
20903
20902
  slate: {
20904
20903
  id: string;
20905
20904
  content: any[];
20906
20905
  };
20907
20906
  voice?: string | undefined;
20907
+ messageID?: string | undefined;
20908
20908
  audio?: {
20909
20909
  src: string;
20910
20910
  } | undefined;
@@ -20915,12 +20915,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20915
20915
  type: "text";
20916
20916
  payload: {
20917
20917
  message: string;
20918
- messageID: string;
20919
20918
  slate: {
20920
20919
  id: string;
20921
20920
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
20922
20921
  };
20923
20922
  voice?: string | undefined;
20923
+ messageID?: string | undefined;
20924
20924
  audio?: {
20925
20925
  src: string;
20926
20926
  } | undefined;
@@ -20942,12 +20942,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20942
20942
  type: "text";
20943
20943
  payload: {
20944
20944
  message: string;
20945
- messageID: string;
20946
20945
  slate: {
20947
20946
  id: string;
20948
20947
  content: any[];
20949
20948
  };
20950
20949
  voice?: string | undefined;
20950
+ messageID?: string | undefined;
20951
20951
  audio?: {
20952
20952
  src: string;
20953
20953
  } | undefined;
@@ -22438,12 +22438,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22438
22438
  type: "text";
22439
22439
  payload: {
22440
22440
  message: string;
22441
- messageID: string;
22442
22441
  slate: {
22443
22442
  id: string;
22444
22443
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
22445
22444
  };
22446
22445
  voice?: string | undefined;
22446
+ messageID?: string | undefined;
22447
22447
  audio?: {
22448
22448
  src: string;
22449
22449
  } | undefined;
@@ -23072,12 +23072,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23072
23072
  type: "text";
23073
23073
  payload: {
23074
23074
  message: string;
23075
- messageID: string;
23076
23075
  slate: {
23077
23076
  id: string;
23078
23077
  content: any[];
23079
23078
  };
23080
23079
  voice?: string | undefined;
23080
+ messageID?: string | undefined;
23081
23081
  audio?: {
23082
23082
  src: string;
23083
23083
  } | undefined;
@@ -23709,12 +23709,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23709
23709
  type: "text";
23710
23710
  payload: {
23711
23711
  message: string;
23712
- messageID: string;
23713
23712
  slate: {
23714
23713
  id: string;
23715
23714
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
23716
23715
  };
23717
23716
  voice?: string | undefined;
23717
+ messageID?: string | undefined;
23718
23718
  audio?: {
23719
23719
  src: string;
23720
23720
  } | undefined;
@@ -24346,12 +24346,12 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
24346
24346
  type: "text";
24347
24347
  payload: {
24348
24348
  message: string;
24349
- messageID: string;
24350
24349
  slate: {
24351
24350
  id: string;
24352
24351
  content: any[];
24353
24352
  };
24354
24353
  voice?: string | undefined;
24354
+ messageID?: string | undefined;
24355
24355
  audio?: {
24356
24356
  src: string;
24357
24357
  } | undefined;
@@ -2626,15 +2626,15 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2626
2626
  }, {
2627
2627
  src: string;
2628
2628
  }>>;
2629
- messageID: z.ZodString;
2629
+ messageID: z.ZodOptional<z.ZodString>;
2630
2630
  }, "strip", z.ZodTypeAny, {
2631
2631
  message: string;
2632
- messageID: string;
2633
2632
  slate: {
2634
2633
  id: string;
2635
2634
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
2636
2635
  };
2637
2636
  voice?: string | undefined;
2637
+ messageID?: string | undefined;
2638
2638
  audio?: {
2639
2639
  src: string;
2640
2640
  } | undefined;
@@ -2642,12 +2642,12 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2642
2642
  delay?: number | undefined;
2643
2643
  }, {
2644
2644
  message: string;
2645
- messageID: string;
2646
2645
  slate: {
2647
2646
  id: string;
2648
2647
  content: any[];
2649
2648
  };
2650
2649
  voice?: string | undefined;
2650
+ messageID?: string | undefined;
2651
2651
  audio?: {
2652
2652
  src: string;
2653
2653
  } | undefined;
@@ -2658,12 +2658,12 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2658
2658
  type: "text";
2659
2659
  payload: {
2660
2660
  message: string;
2661
- messageID: string;
2662
2661
  slate: {
2663
2662
  id: string;
2664
2663
  content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[];
2665
2664
  };
2666
2665
  voice?: string | undefined;
2666
+ messageID?: string | undefined;
2667
2667
  audio?: {
2668
2668
  src: string;
2669
2669
  } | undefined;
@@ -2685,12 +2685,12 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2685
2685
  type: "text";
2686
2686
  payload: {
2687
2687
  message: string;
2688
- messageID: string;
2689
2688
  slate: {
2690
2689
  id: string;
2691
2690
  content: any[];
2692
2691
  };
2693
2692
  voice?: string | undefined;
2693
+ messageID?: string | undefined;
2694
2694
  audio?: {
2695
2695
  src: string;
2696
2696
  } | undefined;
@@ -62,15 +62,15 @@ export declare const TextTraceDTO: z.ZodObject<{
62
62
  }, {
63
63
  src: string;
64
64
  }>>;
65
- messageID: z.ZodString;
65
+ messageID: z.ZodOptional<z.ZodString>;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  message: string;
68
- messageID: string;
69
68
  slate: {
70
69
  id: string;
71
70
  content: (import("../text/text.dto.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").SlateTextVariableElement)[];
72
71
  };
73
72
  voice?: string | undefined;
73
+ messageID?: string | undefined;
74
74
  audio?: {
75
75
  src: string;
76
76
  } | undefined;
@@ -78,12 +78,12 @@ export declare const TextTraceDTO: z.ZodObject<{
78
78
  delay?: number | undefined;
79
79
  }, {
80
80
  message: string;
81
- messageID: string;
82
81
  slate: {
83
82
  id: string;
84
83
  content: any[];
85
84
  };
86
85
  voice?: string | undefined;
86
+ messageID?: string | undefined;
87
87
  audio?: {
88
88
  src: string;
89
89
  } | undefined;
@@ -94,12 +94,12 @@ export declare const TextTraceDTO: z.ZodObject<{
94
94
  type: "text";
95
95
  payload: {
96
96
  message: string;
97
- messageID: string;
98
97
  slate: {
99
98
  id: string;
100
99
  content: (import("../text/text.dto.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").SlateTextVariableElement)[];
101
100
  };
102
101
  voice?: string | undefined;
102
+ messageID?: string | undefined;
103
103
  audio?: {
104
104
  src: string;
105
105
  } | undefined;
@@ -121,12 +121,12 @@ export declare const TextTraceDTO: z.ZodObject<{
121
121
  type: "text";
122
122
  payload: {
123
123
  message: string;
124
- messageID: string;
125
124
  slate: {
126
125
  id: string;
127
126
  content: any[];
128
127
  };
129
128
  voice?: string | undefined;
129
+ messageID?: string | undefined;
130
130
  audio?: {
131
131
  src: string;
132
132
  } | undefined;
@@ -9,7 +9,7 @@ export const TextTraceDTO = BaseTraceDTO.extend({
9
9
  delay: z.number().optional(),
10
10
  voice: z.string().optional(),
11
11
  audio: z.object({ src: z.string() }).optional(),
12
- messageID: z.string(),
12
+ messageID: z.string().optional(),
13
13
  }),
14
14
  });
15
15
  //# sourceMappingURL=text.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/trace/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;IAC/B,OAAO,EAAE,sBAAsB,CAAC,MAAM,CAAC;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC;QAC/D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;KACtB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/trace/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;IAC/B,OAAO,EAAE,sBAAsB,CAAC,MAAM,CAAC;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC;QAC/D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACjC,CAAC;CACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voiceflow/dtos-interact",
3
- "version": "1.52.0",
3
+ "version": "1.52.1-8e3edd4540.14+8e3edd4540",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./build/cjs/main.d.ts",
@@ -44,5 +44,5 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "b89a473d48c5a6d6660b9cbcc1cc9714e6995c2b"
47
+ "gitHead": "8e3edd45409a34f6f148209ccf0804b27bc81595"
48
48
  }