@voiceflow/dtos-interact 2.8.0 → 2.9.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/esm/request/any-request.dto.d.ts +6 -6
- package/build/esm/request/intent/alexa-intent-request.dto.d.ts +3 -3
- package/build/esm/request/intent/intent-request.dto.d.ts +6 -6
- package/build/esm/request/intent/intent-request.dto.js +1 -1
- package/build/esm/request/intent/intent-request.dto.js.map +1 -1
- package/build/esm/socket/socket-action-send.dto.d.ts +6 -6
- package/build/esm/socket/socket-action-trace.dto.d.ts +3 -3
- package/build/esm/socket/socket-message.dto.d.ts +30 -30
- package/build/esm/socket/socket-server-restart.dto.d.ts +6 -6
- package/build/esm/trace/any.dto.d.ts +3 -3
- package/build/esm/trace/entity-filling.dto.d.ts +3 -3
- package/package.json +2 -2
|
@@ -55,6 +55,9 @@ export declare const AnyRequestDTO: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
55
55
|
label: z.ZodOptional<z.ZodString>;
|
|
56
56
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
57
57
|
query: z.ZodDefault<z.ZodString>;
|
|
58
|
+
intent: z.ZodObject<{
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
}, z.core.$loose>;
|
|
58
61
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
59
62
|
name: z.ZodString;
|
|
60
63
|
value: z.ZodString;
|
|
@@ -65,9 +68,6 @@ export declare const AnyRequestDTO: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
65
68
|
startIndex: z.ZodNumber;
|
|
66
69
|
}, z.core.$strip>>>;
|
|
67
70
|
}, z.core.$strip>>>;
|
|
68
|
-
intent: z.ZodObject<{
|
|
69
|
-
name: z.ZodString;
|
|
70
|
-
}, z.core.$loose>;
|
|
71
71
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
72
72
|
}, z.core.$strip>;
|
|
73
73
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -175,6 +175,9 @@ export declare const AnyRequestDTO: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
175
175
|
label: z.ZodOptional<z.ZodString>;
|
|
176
176
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
177
177
|
query: z.ZodDefault<z.ZodString>;
|
|
178
|
+
intent: z.ZodObject<{
|
|
179
|
+
name: z.ZodString;
|
|
180
|
+
}, z.core.$loose>;
|
|
178
181
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
179
182
|
name: z.ZodString;
|
|
180
183
|
value: z.ZodString;
|
|
@@ -185,9 +188,6 @@ export declare const AnyRequestDTO: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
185
188
|
startIndex: z.ZodNumber;
|
|
186
189
|
}, z.core.$strip>>>;
|
|
187
190
|
}, z.core.$strip>>>>;
|
|
188
|
-
intent: z.ZodObject<{
|
|
189
|
-
name: z.ZodString;
|
|
190
|
-
}, z.core.$loose>;
|
|
191
191
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
192
192
|
}, z.core.$strip>;
|
|
193
193
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -12,6 +12,9 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
12
12
|
label: z.ZodOptional<z.ZodString>;
|
|
13
13
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
14
14
|
query: z.ZodDefault<z.ZodString>;
|
|
15
|
+
intent: z.ZodObject<{
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
}, z.core.$loose>;
|
|
15
18
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16
19
|
name: z.ZodString;
|
|
17
20
|
value: z.ZodString;
|
|
@@ -22,9 +25,6 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
22
25
|
startIndex: z.ZodNumber;
|
|
23
26
|
}, z.core.$strip>>>;
|
|
24
27
|
}, z.core.$strip>>>>;
|
|
25
|
-
intent: z.ZodObject<{
|
|
26
|
-
name: z.ZodString;
|
|
27
|
-
}, z.core.$loose>;
|
|
28
28
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
}, z.core.$loose>;
|
|
@@ -24,6 +24,9 @@ export declare const IntentRequestPayloadDTO: z.ZodObject<{
|
|
|
24
24
|
label: z.ZodOptional<z.ZodString>;
|
|
25
25
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
26
26
|
query: z.ZodDefault<z.ZodString>;
|
|
27
|
+
intent: z.ZodObject<{
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
}, z.core.$loose>;
|
|
27
30
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28
31
|
name: z.ZodString;
|
|
29
32
|
value: z.ZodString;
|
|
@@ -34,9 +37,6 @@ export declare const IntentRequestPayloadDTO: z.ZodObject<{
|
|
|
34
37
|
startIndex: z.ZodNumber;
|
|
35
38
|
}, z.core.$strip>>>;
|
|
36
39
|
}, z.core.$strip>>>;
|
|
37
|
-
intent: z.ZodObject<{
|
|
38
|
-
name: z.ZodString;
|
|
39
|
-
}, z.core.$loose>;
|
|
40
40
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
42
|
export type IntentRequestPayload = z.infer<typeof IntentRequestPayloadDTO>;
|
|
@@ -53,6 +53,9 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
53
53
|
label: z.ZodOptional<z.ZodString>;
|
|
54
54
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
55
55
|
query: z.ZodDefault<z.ZodString>;
|
|
56
|
+
intent: z.ZodObject<{
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
}, z.core.$loose>;
|
|
56
59
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
57
60
|
name: z.ZodString;
|
|
58
61
|
value: z.ZodString;
|
|
@@ -63,9 +66,6 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
63
66
|
startIndex: z.ZodNumber;
|
|
64
67
|
}, z.core.$strip>>>;
|
|
65
68
|
}, z.core.$strip>>>;
|
|
66
|
-
intent: z.ZodObject<{
|
|
67
|
-
name: z.ZodString;
|
|
68
|
-
}, z.core.$loose>;
|
|
69
69
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
70
70
|
}, z.core.$strip>;
|
|
71
71
|
}, z.core.$strip>;
|
|
@@ -20,8 +20,8 @@ export const IntentRequestEntityDTO = z
|
|
|
20
20
|
export const IntentRequestPayloadDTO = ActionAndLabelRequestPayloadDTO.extend({
|
|
21
21
|
data: z.record(z.string(), z.any()).optional(),
|
|
22
22
|
query: z.string().default(''),
|
|
23
|
-
entities: z.array(IntentRequestEntityDTO).default([]),
|
|
24
23
|
intent: z.looseObject({ name: z.string() }),
|
|
24
|
+
entities: z.array(IntentRequestEntityDTO).default([]),
|
|
25
25
|
confidence: z.number().optional(),
|
|
26
26
|
}).meta({ id: 'IntentRequestPayload' });
|
|
27
27
|
export const IntentRequestDTO = BaseRequestDTO.extend({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent-request.dto.js","sourceRoot":"","sources":["../../../../src/request/intent/intent-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,aAAa,EAAE,CA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I,CAAC,EAAE,EAAE,EAAE,eAAe,EAAE,CAAC,CAAC;AAIjC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAc,EAA0B,EAAE;IACxE,MAAM,YAAY,GAAG,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACvD,OAAO,CACL,YAAY,CAAC,OAAO;QACpB,qFAAqF;QACrF,kFAAkF;QAClF,kFAAkF;QAClF,EAAE;QACF,qFAAqF;QACrF,oFAAoF;QACpF,4EAA4E;QAC5E,CAAC,CAAC,KAAK;QACP,OAAO,KAAK,KAAK,QAAQ;QACzB,SAAS,IAAI,KAAK;QAClB,CAAC,CAAC,KAAK,CAAC,OAAO;QACf,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ;QACjC,UAAU,IAAI,KAAK,CAAC,OAAO;QAC3B,OAAO,IAAI,KAAK,CAAC,OAAO,CACzB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -58,6 +58,9 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
58
58
|
label: z.ZodOptional<z.ZodString>;
|
|
59
59
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
60
60
|
query: z.ZodDefault<z.ZodString>;
|
|
61
|
+
intent: z.ZodObject<{
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
}, z.core.$loose>;
|
|
61
64
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
62
65
|
name: z.ZodString;
|
|
63
66
|
value: z.ZodString;
|
|
@@ -68,9 +71,6 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
68
71
|
startIndex: z.ZodNumber;
|
|
69
72
|
}, z.core.$strip>>>;
|
|
70
73
|
}, z.core.$strip>>>;
|
|
71
|
-
intent: z.ZodObject<{
|
|
72
|
-
name: z.ZodString;
|
|
73
|
-
}, z.core.$loose>;
|
|
74
74
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
75
75
|
}, z.core.$strip>;
|
|
76
76
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -178,6 +178,9 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
178
178
|
label: z.ZodOptional<z.ZodString>;
|
|
179
179
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
180
180
|
query: z.ZodDefault<z.ZodString>;
|
|
181
|
+
intent: z.ZodObject<{
|
|
182
|
+
name: z.ZodString;
|
|
183
|
+
}, z.core.$loose>;
|
|
181
184
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
182
185
|
name: z.ZodString;
|
|
183
186
|
value: z.ZodString;
|
|
@@ -188,9 +191,6 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
188
191
|
startIndex: z.ZodNumber;
|
|
189
192
|
}, z.core.$strip>>>;
|
|
190
193
|
}, z.core.$strip>>>>;
|
|
191
|
-
intent: z.ZodObject<{
|
|
192
|
-
name: z.ZodString;
|
|
193
|
-
}, z.core.$loose>;
|
|
194
194
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
195
195
|
}, z.core.$strip>;
|
|
196
196
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -676,6 +676,9 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
|
|
|
676
676
|
label: z.ZodOptional<z.ZodString>;
|
|
677
677
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
678
678
|
query: z.ZodDefault<z.ZodString>;
|
|
679
|
+
intent: z.ZodObject<{
|
|
680
|
+
name: z.ZodString;
|
|
681
|
+
}, z.core.$loose>;
|
|
679
682
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
680
683
|
name: z.ZodString;
|
|
681
684
|
value: z.ZodString;
|
|
@@ -686,9 +689,6 @@ export declare const SocketActionTraceDTO: z.ZodObject<{
|
|
|
686
689
|
startIndex: z.ZodNumber;
|
|
687
690
|
}, z.core.$strip>>>;
|
|
688
691
|
}, z.core.$strip>>>;
|
|
689
|
-
intent: z.ZodObject<{
|
|
690
|
-
name: z.ZodString;
|
|
691
|
-
}, z.core.$loose>;
|
|
692
692
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
693
693
|
}, z.core.$strip>;
|
|
694
694
|
}, z.core.$strip>;
|
|
@@ -104,6 +104,9 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
104
104
|
label: z.ZodOptional<z.ZodString>;
|
|
105
105
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
106
106
|
query: z.ZodDefault<z.ZodString>;
|
|
107
|
+
intent: z.ZodObject<{
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
}, z.core.$loose>;
|
|
107
110
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
108
111
|
name: z.ZodString;
|
|
109
112
|
value: z.ZodString;
|
|
@@ -114,9 +117,6 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
114
117
|
startIndex: z.ZodNumber;
|
|
115
118
|
}, z.core.$strip>>>;
|
|
116
119
|
}, z.core.$strip>>>;
|
|
117
|
-
intent: z.ZodObject<{
|
|
118
|
-
name: z.ZodString;
|
|
119
|
-
}, z.core.$loose>;
|
|
120
120
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
121
121
|
}, z.core.$strip>;
|
|
122
122
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -224,6 +224,9 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
224
224
|
label: z.ZodOptional<z.ZodString>;
|
|
225
225
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
226
226
|
query: z.ZodDefault<z.ZodString>;
|
|
227
|
+
intent: z.ZodObject<{
|
|
228
|
+
name: z.ZodString;
|
|
229
|
+
}, z.core.$loose>;
|
|
227
230
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
228
231
|
name: z.ZodString;
|
|
229
232
|
value: z.ZodString;
|
|
@@ -234,9 +237,6 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
234
237
|
startIndex: z.ZodNumber;
|
|
235
238
|
}, z.core.$strip>>>;
|
|
236
239
|
}, z.core.$strip>>>>;
|
|
237
|
-
intent: z.ZodObject<{
|
|
238
|
-
name: z.ZodString;
|
|
239
|
-
}, z.core.$loose>;
|
|
240
240
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
241
241
|
}, z.core.$strip>;
|
|
242
242
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -1009,6 +1009,9 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1009
1009
|
label: z.ZodOptional<z.ZodString>;
|
|
1010
1010
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1011
1011
|
query: z.ZodDefault<z.ZodString>;
|
|
1012
|
+
intent: z.ZodObject<{
|
|
1013
|
+
name: z.ZodString;
|
|
1014
|
+
}, z.core.$loose>;
|
|
1012
1015
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1013
1016
|
name: z.ZodString;
|
|
1014
1017
|
value: z.ZodString;
|
|
@@ -1019,9 +1022,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1019
1022
|
startIndex: z.ZodNumber;
|
|
1020
1023
|
}, z.core.$strip>>>;
|
|
1021
1024
|
}, z.core.$strip>>>;
|
|
1022
|
-
intent: z.ZodObject<{
|
|
1023
|
-
name: z.ZodString;
|
|
1024
|
-
}, z.core.$loose>;
|
|
1025
1025
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1026
1026
|
}, z.core.$strip>;
|
|
1027
1027
|
}, z.core.$strip>;
|
|
@@ -1544,6 +1544,9 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1544
1544
|
label: z.ZodOptional<z.ZodString>;
|
|
1545
1545
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1546
1546
|
query: z.ZodDefault<z.ZodString>;
|
|
1547
|
+
intent: z.ZodObject<{
|
|
1548
|
+
name: z.ZodString;
|
|
1549
|
+
}, z.core.$loose>;
|
|
1547
1550
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1548
1551
|
name: z.ZodString;
|
|
1549
1552
|
value: z.ZodString;
|
|
@@ -1554,9 +1557,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1554
1557
|
startIndex: z.ZodNumber;
|
|
1555
1558
|
}, z.core.$strip>>>;
|
|
1556
1559
|
}, z.core.$strip>>>;
|
|
1557
|
-
intent: z.ZodObject<{
|
|
1558
|
-
name: z.ZodString;
|
|
1559
|
-
}, z.core.$loose>;
|
|
1560
1560
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1561
1561
|
}, z.core.$strip>;
|
|
1562
1562
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1664,6 +1664,9 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1664
1664
|
label: z.ZodOptional<z.ZodString>;
|
|
1665
1665
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1666
1666
|
query: z.ZodDefault<z.ZodString>;
|
|
1667
|
+
intent: z.ZodObject<{
|
|
1668
|
+
name: z.ZodString;
|
|
1669
|
+
}, z.core.$loose>;
|
|
1667
1670
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1668
1671
|
name: z.ZodString;
|
|
1669
1672
|
value: z.ZodString;
|
|
@@ -1674,9 +1677,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1674
1677
|
startIndex: z.ZodNumber;
|
|
1675
1678
|
}, z.core.$strip>>>;
|
|
1676
1679
|
}, z.core.$strip>>>>;
|
|
1677
|
-
intent: z.ZodObject<{
|
|
1678
|
-
name: z.ZodString;
|
|
1679
|
-
}, z.core.$loose>;
|
|
1680
1680
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1681
1681
|
}, z.core.$strip>;
|
|
1682
1682
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -1821,6 +1821,9 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
1821
1821
|
label: z.ZodOptional<z.ZodString>;
|
|
1822
1822
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1823
1823
|
query: z.ZodDefault<z.ZodString>;
|
|
1824
|
+
intent: z.ZodObject<{
|
|
1825
|
+
name: z.ZodString;
|
|
1826
|
+
}, z.core.$loose>;
|
|
1824
1827
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1825
1828
|
name: z.ZodString;
|
|
1826
1829
|
value: z.ZodString;
|
|
@@ -1831,9 +1834,6 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
1831
1834
|
startIndex: z.ZodNumber;
|
|
1832
1835
|
}, z.core.$strip>>>;
|
|
1833
1836
|
}, z.core.$strip>>>;
|
|
1834
|
-
intent: z.ZodObject<{
|
|
1835
|
-
name: z.ZodString;
|
|
1836
|
-
}, z.core.$loose>;
|
|
1837
1837
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1838
1838
|
}, z.core.$strip>;
|
|
1839
1839
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1941,6 +1941,9 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
1941
1941
|
label: z.ZodOptional<z.ZodString>;
|
|
1942
1942
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1943
1943
|
query: z.ZodDefault<z.ZodString>;
|
|
1944
|
+
intent: z.ZodObject<{
|
|
1945
|
+
name: z.ZodString;
|
|
1946
|
+
}, z.core.$loose>;
|
|
1944
1947
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1945
1948
|
name: z.ZodString;
|
|
1946
1949
|
value: z.ZodString;
|
|
@@ -1951,9 +1954,6 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
1951
1954
|
startIndex: z.ZodNumber;
|
|
1952
1955
|
}, z.core.$strip>>>;
|
|
1953
1956
|
}, z.core.$strip>>>>;
|
|
1954
|
-
intent: z.ZodObject<{
|
|
1955
|
-
name: z.ZodString;
|
|
1956
|
-
}, z.core.$loose>;
|
|
1957
1957
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1958
1958
|
}, z.core.$strip>;
|
|
1959
1959
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -2719,6 +2719,9 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
2719
2719
|
label: z.ZodOptional<z.ZodString>;
|
|
2720
2720
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2721
2721
|
query: z.ZodDefault<z.ZodString>;
|
|
2722
|
+
intent: z.ZodObject<{
|
|
2723
|
+
name: z.ZodString;
|
|
2724
|
+
}, z.core.$loose>;
|
|
2722
2725
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2723
2726
|
name: z.ZodString;
|
|
2724
2727
|
value: z.ZodString;
|
|
@@ -2729,9 +2732,6 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
2729
2732
|
startIndex: z.ZodNumber;
|
|
2730
2733
|
}, z.core.$strip>>>;
|
|
2731
2734
|
}, z.core.$strip>>>;
|
|
2732
|
-
intent: z.ZodObject<{
|
|
2733
|
-
name: z.ZodString;
|
|
2734
|
-
}, z.core.$loose>;
|
|
2735
2735
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
2736
2736
|
}, z.core.$strip>;
|
|
2737
2737
|
}, z.core.$strip>;
|
|
@@ -3254,6 +3254,9 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
3254
3254
|
label: z.ZodOptional<z.ZodString>;
|
|
3255
3255
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3256
3256
|
query: z.ZodDefault<z.ZodString>;
|
|
3257
|
+
intent: z.ZodObject<{
|
|
3258
|
+
name: z.ZodString;
|
|
3259
|
+
}, z.core.$loose>;
|
|
3257
3260
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3258
3261
|
name: z.ZodString;
|
|
3259
3262
|
value: z.ZodString;
|
|
@@ -3264,9 +3267,6 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
3264
3267
|
startIndex: z.ZodNumber;
|
|
3265
3268
|
}, z.core.$strip>>>;
|
|
3266
3269
|
}, z.core.$strip>>>;
|
|
3267
|
-
intent: z.ZodObject<{
|
|
3268
|
-
name: z.ZodString;
|
|
3269
|
-
}, z.core.$loose>;
|
|
3270
3270
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
3271
3271
|
}, z.core.$strip>;
|
|
3272
3272
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3374,6 +3374,9 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
3374
3374
|
label: z.ZodOptional<z.ZodString>;
|
|
3375
3375
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3376
3376
|
query: z.ZodDefault<z.ZodString>;
|
|
3377
|
+
intent: z.ZodObject<{
|
|
3378
|
+
name: z.ZodString;
|
|
3379
|
+
}, z.core.$loose>;
|
|
3377
3380
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3378
3381
|
name: z.ZodString;
|
|
3379
3382
|
value: z.ZodString;
|
|
@@ -3384,9 +3387,6 @@ export declare const SocketMessageDTO: z.ZodUnion<readonly [z.ZodDiscriminatedUn
|
|
|
3384
3387
|
startIndex: z.ZodNumber;
|
|
3385
3388
|
}, z.core.$strip>>>;
|
|
3386
3389
|
}, z.core.$strip>>>>;
|
|
3387
|
-
intent: z.ZodObject<{
|
|
3388
|
-
name: z.ZodString;
|
|
3389
|
-
}, z.core.$loose>;
|
|
3390
3390
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
3391
3391
|
}, z.core.$strip>;
|
|
3392
3392
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -58,6 +58,9 @@ export declare const SocketServerRestartDTO: z.ZodObject<{
|
|
|
58
58
|
label: z.ZodOptional<z.ZodString>;
|
|
59
59
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
60
60
|
query: z.ZodDefault<z.ZodString>;
|
|
61
|
+
intent: z.ZodObject<{
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
}, z.core.$loose>;
|
|
61
64
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
62
65
|
name: z.ZodString;
|
|
63
66
|
value: z.ZodString;
|
|
@@ -68,9 +71,6 @@ export declare const SocketServerRestartDTO: z.ZodObject<{
|
|
|
68
71
|
startIndex: z.ZodNumber;
|
|
69
72
|
}, z.core.$strip>>>;
|
|
70
73
|
}, z.core.$strip>>>;
|
|
71
|
-
intent: z.ZodObject<{
|
|
72
|
-
name: z.ZodString;
|
|
73
|
-
}, z.core.$loose>;
|
|
74
74
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
75
75
|
}, z.core.$strip>;
|
|
76
76
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -178,6 +178,9 @@ export declare const SocketServerRestartDTO: z.ZodObject<{
|
|
|
178
178
|
label: z.ZodOptional<z.ZodString>;
|
|
179
179
|
data: z.ZodNonOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
180
180
|
query: z.ZodDefault<z.ZodString>;
|
|
181
|
+
intent: z.ZodObject<{
|
|
182
|
+
name: z.ZodString;
|
|
183
|
+
}, z.core.$loose>;
|
|
181
184
|
entities: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
182
185
|
name: z.ZodString;
|
|
183
186
|
value: z.ZodString;
|
|
@@ -188,9 +191,6 @@ export declare const SocketServerRestartDTO: z.ZodObject<{
|
|
|
188
191
|
startIndex: z.ZodNumber;
|
|
189
192
|
}, z.core.$strip>>>;
|
|
190
193
|
}, z.core.$strip>>>>;
|
|
191
|
-
intent: z.ZodObject<{
|
|
192
|
-
name: z.ZodString;
|
|
193
|
-
}, z.core.$loose>;
|
|
194
194
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
195
195
|
}, z.core.$strip>;
|
|
196
196
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -673,6 +673,9 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
673
673
|
label: z.ZodOptional<z.ZodString>;
|
|
674
674
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
675
675
|
query: z.ZodDefault<z.ZodString>;
|
|
676
|
+
intent: z.ZodObject<{
|
|
677
|
+
name: z.ZodString;
|
|
678
|
+
}, z.core.$loose>;
|
|
676
679
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
677
680
|
name: z.ZodString;
|
|
678
681
|
value: z.ZodString;
|
|
@@ -683,9 +686,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
683
686
|
startIndex: z.ZodNumber;
|
|
684
687
|
}, z.core.$strip>>>;
|
|
685
688
|
}, z.core.$strip>>>;
|
|
686
|
-
intent: z.ZodObject<{
|
|
687
|
-
name: z.ZodString;
|
|
688
|
-
}, z.core.$loose>;
|
|
689
689
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
690
690
|
}, z.core.$strip>;
|
|
691
691
|
}, z.core.$strip>;
|
|
@@ -30,6 +30,9 @@ export declare const EntityFillingTraceDTO: z.ZodObject<{
|
|
|
30
30
|
label: z.ZodOptional<z.ZodString>;
|
|
31
31
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
32
32
|
query: z.ZodDefault<z.ZodString>;
|
|
33
|
+
intent: z.ZodObject<{
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
}, z.core.$loose>;
|
|
33
36
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
34
37
|
name: z.ZodString;
|
|
35
38
|
value: z.ZodString;
|
|
@@ -40,9 +43,6 @@ export declare const EntityFillingTraceDTO: z.ZodObject<{
|
|
|
40
43
|
startIndex: z.ZodNumber;
|
|
41
44
|
}, z.core.$strip>>>;
|
|
42
45
|
}, z.core.$strip>>>;
|
|
43
|
-
intent: z.ZodObject<{
|
|
44
|
-
name: z.ZodString;
|
|
45
|
-
}, z.core.$loose>;
|
|
46
46
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
47
47
|
}, z.core.$strip>;
|
|
48
48
|
}, z.core.$strip>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/dtos-interact",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"build"
|
|
6
6
|
],
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"volta": {
|
|
42
42
|
"extends": "../../package.json"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "537b821221681f055a953022e65f0f5b7ca25e59"
|
|
45
45
|
}
|