@voiceflow/utils-designer 1.16.15 → 1.16.16
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.
@@ -1,40 +1,274 @@
|
|
1
|
-
export declare const isTextRequest: (request: unknown) => request is {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
export declare const isActionRequest: (request: unknown) => request is {
|
7
|
-
|
8
|
-
|
9
|
-
payload
|
10
|
-
actions
|
11
|
-
type:
|
12
|
-
payload
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
1
|
+
export declare const isTextRequest: (request: unknown) => request is import("zod").objectOutputType<{
|
2
|
+
diagramID: import("zod").ZodOptional<import("zod").ZodString>;
|
3
|
+
type: import("zod").ZodLiteral<"text">;
|
4
|
+
payload: import("zod").ZodString;
|
5
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
6
|
+
export declare const isActionRequest: (request: unknown) => request is import("zod").objectOutputType<{
|
7
|
+
diagramID: import("zod").ZodOptional<import("zod").ZodString>;
|
8
|
+
type: import("zod").ZodLiteral<"action">;
|
9
|
+
payload: import("zod").ZodOptional<import("zod").ZodObject<{
|
10
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
11
|
+
type: import("zod").ZodString;
|
12
|
+
payload: import("zod").ZodUnknown;
|
13
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
14
|
+
type: import("zod").ZodString;
|
15
|
+
payload: import("zod").ZodUnknown;
|
16
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
17
|
+
type: import("zod").ZodString;
|
18
|
+
payload: import("zod").ZodUnknown;
|
19
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
20
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
21
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
22
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
23
|
+
type: import("zod").ZodString;
|
24
|
+
payload: import("zod").ZodUnknown;
|
25
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
26
|
+
type: import("zod").ZodString;
|
27
|
+
payload: import("zod").ZodUnknown;
|
28
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
29
|
+
type: import("zod").ZodString;
|
30
|
+
payload: import("zod").ZodUnknown;
|
31
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
32
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
33
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
34
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
35
|
+
type: import("zod").ZodString;
|
36
|
+
payload: import("zod").ZodUnknown;
|
37
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
38
|
+
type: import("zod").ZodString;
|
39
|
+
payload: import("zod").ZodUnknown;
|
40
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
41
|
+
type: import("zod").ZodString;
|
42
|
+
payload: import("zod").ZodUnknown;
|
43
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
44
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
45
|
+
}, import("zod").ZodTypeAny, "passthrough">>>;
|
46
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
47
|
+
export declare const isIntentRequest: (request: unknown) => request is import("zod").objectOutputType<{
|
48
|
+
diagramID: import("zod").ZodOptional<import("zod").ZodString>;
|
49
|
+
type: import("zod").ZodLiteral<"intent">;
|
50
|
+
payload: import("zod").ZodObject<{
|
51
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
52
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
53
|
+
type: import("zod").ZodString;
|
54
|
+
payload: import("zod").ZodUnknown;
|
55
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
56
|
+
type: import("zod").ZodString;
|
57
|
+
payload: import("zod").ZodUnknown;
|
58
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
59
|
+
type: import("zod").ZodString;
|
60
|
+
payload: import("zod").ZodUnknown;
|
61
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
62
|
+
data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
63
|
+
query: import("zod").ZodDefault<import("zod").ZodString>;
|
64
|
+
entities: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
65
|
+
name: import("zod").ZodString;
|
66
|
+
value: import("zod").ZodString;
|
67
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
68
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
69
|
+
rawText: import("zod").ZodString;
|
70
|
+
canonicalText: import("zod").ZodString;
|
71
|
+
startIndex: import("zod").ZodNumber;
|
72
|
+
}, "strip", import("zod").ZodTypeAny, {
|
73
|
+
rawText: string;
|
74
|
+
canonicalText: string;
|
75
|
+
startIndex: number;
|
76
|
+
}, {
|
77
|
+
rawText: string;
|
78
|
+
canonicalText: string;
|
79
|
+
startIndex: number;
|
80
|
+
}>>;
|
81
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
82
|
+
name: import("zod").ZodString;
|
83
|
+
value: import("zod").ZodString;
|
84
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
85
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
86
|
+
rawText: import("zod").ZodString;
|
87
|
+
canonicalText: import("zod").ZodString;
|
88
|
+
startIndex: import("zod").ZodNumber;
|
89
|
+
}, "strip", import("zod").ZodTypeAny, {
|
90
|
+
rawText: string;
|
91
|
+
canonicalText: string;
|
92
|
+
startIndex: number;
|
93
|
+
}, {
|
94
|
+
rawText: string;
|
95
|
+
canonicalText: string;
|
96
|
+
startIndex: number;
|
97
|
+
}>>;
|
98
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
99
|
+
name: import("zod").ZodString;
|
100
|
+
value: import("zod").ZodString;
|
101
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
102
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
103
|
+
rawText: import("zod").ZodString;
|
104
|
+
canonicalText: import("zod").ZodString;
|
105
|
+
startIndex: import("zod").ZodNumber;
|
106
|
+
}, "strip", import("zod").ZodTypeAny, {
|
107
|
+
rawText: string;
|
108
|
+
canonicalText: string;
|
109
|
+
startIndex: number;
|
110
|
+
}, {
|
111
|
+
rawText: string;
|
112
|
+
canonicalText: string;
|
113
|
+
startIndex: number;
|
114
|
+
}>>;
|
115
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
116
|
+
intent: import("zod").ZodObject<{
|
117
|
+
name: import("zod").ZodString;
|
118
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
119
|
+
name: import("zod").ZodString;
|
120
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
121
|
+
name: import("zod").ZodString;
|
122
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
123
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
124
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
125
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
126
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
127
|
+
type: import("zod").ZodString;
|
128
|
+
payload: import("zod").ZodUnknown;
|
129
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
130
|
+
type: import("zod").ZodString;
|
131
|
+
payload: import("zod").ZodUnknown;
|
132
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
133
|
+
type: import("zod").ZodString;
|
134
|
+
payload: import("zod").ZodUnknown;
|
135
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
136
|
+
data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
137
|
+
query: import("zod").ZodDefault<import("zod").ZodString>;
|
138
|
+
entities: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
139
|
+
name: import("zod").ZodString;
|
140
|
+
value: import("zod").ZodString;
|
141
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
142
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
143
|
+
rawText: import("zod").ZodString;
|
144
|
+
canonicalText: import("zod").ZodString;
|
145
|
+
startIndex: import("zod").ZodNumber;
|
146
|
+
}, "strip", import("zod").ZodTypeAny, {
|
147
|
+
rawText: string;
|
148
|
+
canonicalText: string;
|
149
|
+
startIndex: number;
|
150
|
+
}, {
|
151
|
+
rawText: string;
|
152
|
+
canonicalText: string;
|
153
|
+
startIndex: number;
|
154
|
+
}>>;
|
155
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
156
|
+
name: import("zod").ZodString;
|
157
|
+
value: import("zod").ZodString;
|
158
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
159
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
160
|
+
rawText: import("zod").ZodString;
|
161
|
+
canonicalText: import("zod").ZodString;
|
162
|
+
startIndex: import("zod").ZodNumber;
|
163
|
+
}, "strip", import("zod").ZodTypeAny, {
|
164
|
+
rawText: string;
|
165
|
+
canonicalText: string;
|
166
|
+
startIndex: number;
|
167
|
+
}, {
|
168
|
+
rawText: string;
|
169
|
+
canonicalText: string;
|
170
|
+
startIndex: number;
|
171
|
+
}>>;
|
172
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
173
|
+
name: import("zod").ZodString;
|
174
|
+
value: import("zod").ZodString;
|
175
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
176
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
177
|
+
rawText: import("zod").ZodString;
|
178
|
+
canonicalText: import("zod").ZodString;
|
179
|
+
startIndex: import("zod").ZodNumber;
|
180
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181
|
+
rawText: string;
|
182
|
+
canonicalText: string;
|
183
|
+
startIndex: number;
|
184
|
+
}, {
|
185
|
+
rawText: string;
|
186
|
+
canonicalText: string;
|
187
|
+
startIndex: number;
|
188
|
+
}>>;
|
189
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
190
|
+
intent: import("zod").ZodObject<{
|
191
|
+
name: import("zod").ZodString;
|
192
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
193
|
+
name: import("zod").ZodString;
|
194
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
195
|
+
name: import("zod").ZodString;
|
196
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
197
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
198
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
199
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
200
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
201
|
+
type: import("zod").ZodString;
|
202
|
+
payload: import("zod").ZodUnknown;
|
203
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
204
|
+
type: import("zod").ZodString;
|
205
|
+
payload: import("zod").ZodUnknown;
|
206
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
207
|
+
type: import("zod").ZodString;
|
208
|
+
payload: import("zod").ZodUnknown;
|
209
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
210
|
+
data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
211
|
+
query: import("zod").ZodDefault<import("zod").ZodString>;
|
212
|
+
entities: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
213
|
+
name: import("zod").ZodString;
|
214
|
+
value: import("zod").ZodString;
|
215
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
216
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
217
|
+
rawText: import("zod").ZodString;
|
218
|
+
canonicalText: import("zod").ZodString;
|
219
|
+
startIndex: import("zod").ZodNumber;
|
220
|
+
}, "strip", import("zod").ZodTypeAny, {
|
221
|
+
rawText: string;
|
222
|
+
canonicalText: string;
|
223
|
+
startIndex: number;
|
224
|
+
}, {
|
225
|
+
rawText: string;
|
226
|
+
canonicalText: string;
|
227
|
+
startIndex: number;
|
228
|
+
}>>;
|
229
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
230
|
+
name: import("zod").ZodString;
|
231
|
+
value: import("zod").ZodString;
|
232
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
233
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
234
|
+
rawText: import("zod").ZodString;
|
235
|
+
canonicalText: import("zod").ZodString;
|
236
|
+
startIndex: import("zod").ZodNumber;
|
237
|
+
}, "strip", import("zod").ZodTypeAny, {
|
238
|
+
rawText: string;
|
239
|
+
canonicalText: string;
|
240
|
+
startIndex: number;
|
241
|
+
}, {
|
242
|
+
rawText: string;
|
243
|
+
canonicalText: string;
|
244
|
+
startIndex: number;
|
245
|
+
}>>;
|
246
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
247
|
+
name: import("zod").ZodString;
|
248
|
+
value: import("zod").ZodString;
|
249
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
250
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
251
|
+
rawText: import("zod").ZodString;
|
252
|
+
canonicalText: import("zod").ZodString;
|
253
|
+
startIndex: import("zod").ZodNumber;
|
254
|
+
}, "strip", import("zod").ZodTypeAny, {
|
255
|
+
rawText: string;
|
256
|
+
canonicalText: string;
|
257
|
+
startIndex: number;
|
258
|
+
}, {
|
259
|
+
rawText: string;
|
260
|
+
canonicalText: string;
|
261
|
+
startIndex: number;
|
262
|
+
}>>;
|
263
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
264
|
+
intent: import("zod").ZodObject<{
|
265
|
+
name: import("zod").ZodString;
|
266
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
267
|
+
name: import("zod").ZodString;
|
268
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
269
|
+
name: import("zod").ZodString;
|
270
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
271
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
272
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
273
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
40
274
|
//# sourceMappingURL=request.util.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;
|
1
|
+
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;2CAAsE,CAAC;AAErH,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CACH,CAAC;AAE9C,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CACH,CAAC"}
|
@@ -1,40 +1,274 @@
|
|
1
|
-
export declare const isTextRequest: (request: unknown) => request is {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
export declare const isActionRequest: (request: unknown) => request is {
|
7
|
-
|
8
|
-
|
9
|
-
payload
|
10
|
-
actions
|
11
|
-
type:
|
12
|
-
payload
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
1
|
+
export declare const isTextRequest: (request: unknown) => request is import("zod").objectOutputType<{
|
2
|
+
diagramID: import("zod").ZodOptional<import("zod").ZodString>;
|
3
|
+
type: import("zod").ZodLiteral<"text">;
|
4
|
+
payload: import("zod").ZodString;
|
5
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
6
|
+
export declare const isActionRequest: (request: unknown) => request is import("zod").objectOutputType<{
|
7
|
+
diagramID: import("zod").ZodOptional<import("zod").ZodString>;
|
8
|
+
type: import("zod").ZodLiteral<"action">;
|
9
|
+
payload: import("zod").ZodOptional<import("zod").ZodObject<{
|
10
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
11
|
+
type: import("zod").ZodString;
|
12
|
+
payload: import("zod").ZodUnknown;
|
13
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
14
|
+
type: import("zod").ZodString;
|
15
|
+
payload: import("zod").ZodUnknown;
|
16
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
17
|
+
type: import("zod").ZodString;
|
18
|
+
payload: import("zod").ZodUnknown;
|
19
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
20
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
21
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
22
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
23
|
+
type: import("zod").ZodString;
|
24
|
+
payload: import("zod").ZodUnknown;
|
25
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
26
|
+
type: import("zod").ZodString;
|
27
|
+
payload: import("zod").ZodUnknown;
|
28
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
29
|
+
type: import("zod").ZodString;
|
30
|
+
payload: import("zod").ZodUnknown;
|
31
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
32
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
33
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
34
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
35
|
+
type: import("zod").ZodString;
|
36
|
+
payload: import("zod").ZodUnknown;
|
37
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
38
|
+
type: import("zod").ZodString;
|
39
|
+
payload: import("zod").ZodUnknown;
|
40
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
41
|
+
type: import("zod").ZodString;
|
42
|
+
payload: import("zod").ZodUnknown;
|
43
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
44
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
45
|
+
}, import("zod").ZodTypeAny, "passthrough">>>;
|
46
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
47
|
+
export declare const isIntentRequest: (request: unknown) => request is import("zod").objectOutputType<{
|
48
|
+
diagramID: import("zod").ZodOptional<import("zod").ZodString>;
|
49
|
+
type: import("zod").ZodLiteral<"intent">;
|
50
|
+
payload: import("zod").ZodObject<{
|
51
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
52
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
53
|
+
type: import("zod").ZodString;
|
54
|
+
payload: import("zod").ZodUnknown;
|
55
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
56
|
+
type: import("zod").ZodString;
|
57
|
+
payload: import("zod").ZodUnknown;
|
58
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
59
|
+
type: import("zod").ZodString;
|
60
|
+
payload: import("zod").ZodUnknown;
|
61
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
62
|
+
data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
63
|
+
query: import("zod").ZodDefault<import("zod").ZodString>;
|
64
|
+
entities: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
65
|
+
name: import("zod").ZodString;
|
66
|
+
value: import("zod").ZodString;
|
67
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
68
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
69
|
+
rawText: import("zod").ZodString;
|
70
|
+
canonicalText: import("zod").ZodString;
|
71
|
+
startIndex: import("zod").ZodNumber;
|
72
|
+
}, "strip", import("zod").ZodTypeAny, {
|
73
|
+
rawText: string;
|
74
|
+
canonicalText: string;
|
75
|
+
startIndex: number;
|
76
|
+
}, {
|
77
|
+
rawText: string;
|
78
|
+
canonicalText: string;
|
79
|
+
startIndex: number;
|
80
|
+
}>>;
|
81
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
82
|
+
name: import("zod").ZodString;
|
83
|
+
value: import("zod").ZodString;
|
84
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
85
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
86
|
+
rawText: import("zod").ZodString;
|
87
|
+
canonicalText: import("zod").ZodString;
|
88
|
+
startIndex: import("zod").ZodNumber;
|
89
|
+
}, "strip", import("zod").ZodTypeAny, {
|
90
|
+
rawText: string;
|
91
|
+
canonicalText: string;
|
92
|
+
startIndex: number;
|
93
|
+
}, {
|
94
|
+
rawText: string;
|
95
|
+
canonicalText: string;
|
96
|
+
startIndex: number;
|
97
|
+
}>>;
|
98
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
99
|
+
name: import("zod").ZodString;
|
100
|
+
value: import("zod").ZodString;
|
101
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
102
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
103
|
+
rawText: import("zod").ZodString;
|
104
|
+
canonicalText: import("zod").ZodString;
|
105
|
+
startIndex: import("zod").ZodNumber;
|
106
|
+
}, "strip", import("zod").ZodTypeAny, {
|
107
|
+
rawText: string;
|
108
|
+
canonicalText: string;
|
109
|
+
startIndex: number;
|
110
|
+
}, {
|
111
|
+
rawText: string;
|
112
|
+
canonicalText: string;
|
113
|
+
startIndex: number;
|
114
|
+
}>>;
|
115
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
116
|
+
intent: import("zod").ZodObject<{
|
117
|
+
name: import("zod").ZodString;
|
118
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
119
|
+
name: import("zod").ZodString;
|
120
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
121
|
+
name: import("zod").ZodString;
|
122
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
123
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
124
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
125
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
126
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
127
|
+
type: import("zod").ZodString;
|
128
|
+
payload: import("zod").ZodUnknown;
|
129
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
130
|
+
type: import("zod").ZodString;
|
131
|
+
payload: import("zod").ZodUnknown;
|
132
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
133
|
+
type: import("zod").ZodString;
|
134
|
+
payload: import("zod").ZodUnknown;
|
135
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
136
|
+
data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
137
|
+
query: import("zod").ZodDefault<import("zod").ZodString>;
|
138
|
+
entities: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
139
|
+
name: import("zod").ZodString;
|
140
|
+
value: import("zod").ZodString;
|
141
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
142
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
143
|
+
rawText: import("zod").ZodString;
|
144
|
+
canonicalText: import("zod").ZodString;
|
145
|
+
startIndex: import("zod").ZodNumber;
|
146
|
+
}, "strip", import("zod").ZodTypeAny, {
|
147
|
+
rawText: string;
|
148
|
+
canonicalText: string;
|
149
|
+
startIndex: number;
|
150
|
+
}, {
|
151
|
+
rawText: string;
|
152
|
+
canonicalText: string;
|
153
|
+
startIndex: number;
|
154
|
+
}>>;
|
155
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
156
|
+
name: import("zod").ZodString;
|
157
|
+
value: import("zod").ZodString;
|
158
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
159
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
160
|
+
rawText: import("zod").ZodString;
|
161
|
+
canonicalText: import("zod").ZodString;
|
162
|
+
startIndex: import("zod").ZodNumber;
|
163
|
+
}, "strip", import("zod").ZodTypeAny, {
|
164
|
+
rawText: string;
|
165
|
+
canonicalText: string;
|
166
|
+
startIndex: number;
|
167
|
+
}, {
|
168
|
+
rawText: string;
|
169
|
+
canonicalText: string;
|
170
|
+
startIndex: number;
|
171
|
+
}>>;
|
172
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
173
|
+
name: import("zod").ZodString;
|
174
|
+
value: import("zod").ZodString;
|
175
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
176
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
177
|
+
rawText: import("zod").ZodString;
|
178
|
+
canonicalText: import("zod").ZodString;
|
179
|
+
startIndex: import("zod").ZodNumber;
|
180
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181
|
+
rawText: string;
|
182
|
+
canonicalText: string;
|
183
|
+
startIndex: number;
|
184
|
+
}, {
|
185
|
+
rawText: string;
|
186
|
+
canonicalText: string;
|
187
|
+
startIndex: number;
|
188
|
+
}>>;
|
189
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
190
|
+
intent: import("zod").ZodObject<{
|
191
|
+
name: import("zod").ZodString;
|
192
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
193
|
+
name: import("zod").ZodString;
|
194
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
195
|
+
name: import("zod").ZodString;
|
196
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
197
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
198
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
199
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
200
|
+
actions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
201
|
+
type: import("zod").ZodString;
|
202
|
+
payload: import("zod").ZodUnknown;
|
203
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
204
|
+
type: import("zod").ZodString;
|
205
|
+
payload: import("zod").ZodUnknown;
|
206
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
207
|
+
type: import("zod").ZodString;
|
208
|
+
payload: import("zod").ZodUnknown;
|
209
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
210
|
+
data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
211
|
+
query: import("zod").ZodDefault<import("zod").ZodString>;
|
212
|
+
entities: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
213
|
+
name: import("zod").ZodString;
|
214
|
+
value: import("zod").ZodString;
|
215
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
216
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
217
|
+
rawText: import("zod").ZodString;
|
218
|
+
canonicalText: import("zod").ZodString;
|
219
|
+
startIndex: import("zod").ZodNumber;
|
220
|
+
}, "strip", import("zod").ZodTypeAny, {
|
221
|
+
rawText: string;
|
222
|
+
canonicalText: string;
|
223
|
+
startIndex: number;
|
224
|
+
}, {
|
225
|
+
rawText: string;
|
226
|
+
canonicalText: string;
|
227
|
+
startIndex: number;
|
228
|
+
}>>;
|
229
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
230
|
+
name: import("zod").ZodString;
|
231
|
+
value: import("zod").ZodString;
|
232
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
233
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
234
|
+
rawText: import("zod").ZodString;
|
235
|
+
canonicalText: import("zod").ZodString;
|
236
|
+
startIndex: import("zod").ZodNumber;
|
237
|
+
}, "strip", import("zod").ZodTypeAny, {
|
238
|
+
rawText: string;
|
239
|
+
canonicalText: string;
|
240
|
+
startIndex: number;
|
241
|
+
}, {
|
242
|
+
rawText: string;
|
243
|
+
canonicalText: string;
|
244
|
+
startIndex: number;
|
245
|
+
}>>;
|
246
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
247
|
+
name: import("zod").ZodString;
|
248
|
+
value: import("zod").ZodString;
|
249
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
250
|
+
verboseValue: import("zod").ZodOptional<import("zod").ZodObject<{
|
251
|
+
rawText: import("zod").ZodString;
|
252
|
+
canonicalText: import("zod").ZodString;
|
253
|
+
startIndex: import("zod").ZodNumber;
|
254
|
+
}, "strip", import("zod").ZodTypeAny, {
|
255
|
+
rawText: string;
|
256
|
+
canonicalText: string;
|
257
|
+
startIndex: number;
|
258
|
+
}, {
|
259
|
+
rawText: string;
|
260
|
+
canonicalText: string;
|
261
|
+
startIndex: number;
|
262
|
+
}>>;
|
263
|
+
}, import("zod").ZodTypeAny, "passthrough">>, "many">>;
|
264
|
+
intent: import("zod").ZodObject<{
|
265
|
+
name: import("zod").ZodString;
|
266
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
267
|
+
name: import("zod").ZodString;
|
268
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
269
|
+
name: import("zod").ZodString;
|
270
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
271
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
272
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
273
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
40
274
|
//# sourceMappingURL=request.util.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;
|
1
|
+
{"version":3,"file":"request.util.d.ts","sourceRoot":"","sources":["../../src/request.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO;;;;2CAAsE,CAAC;AAErH,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CACH,CAAC;AAE9C,eAAO,MAAM,eAAe,YAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CACH,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voiceflow/utils-designer",
|
3
|
-
"version": "1.16.
|
3
|
+
"version": "1.16.16",
|
4
4
|
"exports": {
|
5
5
|
".": {
|
6
6
|
"types": "./build/cjs/main.d.ts",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
38
|
"@voiceflow/common": "8.2.8",
|
39
|
-
"@voiceflow/dtos": "1.
|
39
|
+
"@voiceflow/dtos": "1.63.0",
|
40
40
|
"bidirectional-adapter": "1.2.1",
|
41
41
|
"ts-pattern": "^5.0.5",
|
42
42
|
"zod": "3.22.4"
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"tsd": {
|
56
56
|
"directory": "src"
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "94634ab08a300eaa80c4a30148a3003ddb3a0180"
|
59
59
|
}
|