@voiceflow/dtos-interact 1.53.0 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/request/action-request.dto.d.ts.map +1 -1
- package/build/cjs/request/action-request.dto.js +3 -1
- package/build/cjs/request/action-request.dto.js.map +1 -1
- package/build/cjs/request/any-request.dto.d.ts +1034 -1034
- package/build/cjs/request/any-request.dto.d.ts.map +1 -1
- package/build/cjs/request/any-request.dto.js +7 -5
- package/build/cjs/request/any-request.dto.js.map +1 -1
- package/build/cjs/request/dtmf-request.dto.d.ts.map +1 -1
- package/build/cjs/request/dtmf-request.dto.js +3 -1
- package/build/cjs/request/dtmf-request.dto.js.map +1 -1
- package/build/cjs/request/end-request.dto.d.ts.map +1 -1
- package/build/cjs/request/end-request.dto.js +3 -1
- package/build/cjs/request/end-request.dto.js.map +1 -1
- package/build/cjs/request/event-request.dto.d.ts.map +1 -1
- package/build/cjs/request/event-request.dto.js +1 -1
- package/build/cjs/request/event-request.dto.js.map +1 -1
- package/build/cjs/request/general/general-request.dto.d.ts.map +1 -1
- package/build/cjs/request/general/general-request.dto.js +3 -1
- package/build/cjs/request/general/general-request.dto.js.map +1 -1
- package/build/cjs/request/general/path-request.dto.d.ts.map +1 -1
- package/build/cjs/request/general/path-request.dto.js +3 -1
- package/build/cjs/request/general/path-request.dto.js.map +1 -1
- package/build/cjs/request/intent/intent-request.dto.d.ts.map +1 -1
- package/build/cjs/request/intent/intent-request.dto.js +1 -1
- package/build/cjs/request/intent/intent-request.dto.js.map +1 -1
- package/build/cjs/request/launch-request.dto.d.ts.map +1 -1
- package/build/cjs/request/launch-request.dto.js +3 -1
- package/build/cjs/request/launch-request.dto.js.map +1 -1
- package/build/cjs/request/live-agent-handoff-request.dto.d.ts.map +1 -1
- package/build/cjs/request/live-agent-handoff-request.dto.js +3 -1
- package/build/cjs/request/live-agent-handoff-request.dto.js.map +1 -1
- package/build/cjs/request/message-request.dto.d.ts.map +1 -1
- package/build/cjs/request/message-request.dto.js +3 -1
- package/build/cjs/request/message-request.dto.js.map +1 -1
- package/build/cjs/request/no-reply-request.dto.d.ts.map +1 -1
- package/build/cjs/request/no-reply-request.dto.js +2 -1
- package/build/cjs/request/no-reply-request.dto.js.map +1 -1
- package/build/cjs/request/text-request.dto.d.ts.map +1 -1
- package/build/cjs/request/text-request.dto.js +3 -1
- package/build/cjs/request/text-request.dto.js.map +1 -1
- package/build/cjs/socket/socket-action-send.dto.d.ts +1034 -1034
- package/build/cjs/socket/socket-message.dto.d.ts +4512 -4512
- package/build/cjs/socket/socket-server-restart.dto.d.ts +1034 -1034
- package/build/esm/request/action-request.dto.d.ts.map +1 -1
- package/build/esm/request/action-request.dto.js +3 -1
- package/build/esm/request/action-request.dto.js.map +1 -1
- package/build/esm/request/any-request.dto.d.ts +1034 -1034
- package/build/esm/request/any-request.dto.d.ts.map +1 -1
- package/build/esm/request/any-request.dto.js +7 -5
- package/build/esm/request/any-request.dto.js.map +1 -1
- package/build/esm/request/dtmf-request.dto.d.ts.map +1 -1
- package/build/esm/request/dtmf-request.dto.js +3 -1
- package/build/esm/request/dtmf-request.dto.js.map +1 -1
- package/build/esm/request/end-request.dto.d.ts.map +1 -1
- package/build/esm/request/end-request.dto.js +3 -1
- package/build/esm/request/end-request.dto.js.map +1 -1
- package/build/esm/request/event-request.dto.d.ts.map +1 -1
- package/build/esm/request/event-request.dto.js +1 -1
- package/build/esm/request/event-request.dto.js.map +1 -1
- package/build/esm/request/general/general-request.dto.d.ts.map +1 -1
- package/build/esm/request/general/general-request.dto.js +3 -1
- package/build/esm/request/general/general-request.dto.js.map +1 -1
- package/build/esm/request/general/path-request.dto.d.ts.map +1 -1
- package/build/esm/request/general/path-request.dto.js +3 -1
- package/build/esm/request/general/path-request.dto.js.map +1 -1
- package/build/esm/request/intent/intent-request.dto.d.ts.map +1 -1
- 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/request/launch-request.dto.d.ts.map +1 -1
- package/build/esm/request/launch-request.dto.js +3 -1
- package/build/esm/request/launch-request.dto.js.map +1 -1
- package/build/esm/request/live-agent-handoff-request.dto.d.ts.map +1 -1
- package/build/esm/request/live-agent-handoff-request.dto.js +3 -1
- package/build/esm/request/live-agent-handoff-request.dto.js.map +1 -1
- package/build/esm/request/message-request.dto.d.ts.map +1 -1
- package/build/esm/request/message-request.dto.js +3 -1
- package/build/esm/request/message-request.dto.js.map +1 -1
- package/build/esm/request/no-reply-request.dto.d.ts.map +1 -1
- package/build/esm/request/no-reply-request.dto.js +2 -1
- package/build/esm/request/no-reply-request.dto.js.map +1 -1
- package/build/esm/request/text-request.dto.d.ts.map +1 -1
- package/build/esm/request/text-request.dto.js +3 -1
- package/build/esm/request/text-request.dto.js.map +1 -1
- package/build/esm/socket/socket-action-send.dto.d.ts +1034 -1034
- package/build/esm/socket/socket-message.dto.d.ts +4512 -4512
- package/build/esm/socket/socket-server-restart.dto.d.ts +1034 -1034
- package/package.json +2 -2
|
@@ -5,6 +5,60 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
5
5
|
action: z.ZodUnion<[z.ZodObject<{
|
|
6
6
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
7
7
|
time: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
} & {
|
|
9
|
+
type: z.ZodLiteral<"launch">;
|
|
10
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
17
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
19
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
} & {
|
|
21
|
+
type: z.ZodLiteral<"launch">;
|
|
22
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
24
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
25
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
27
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
29
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
31
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
} & {
|
|
33
|
+
type: z.ZodLiteral<"launch">;
|
|
34
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
35
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
37
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
39
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
41
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
42
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
43
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
} & {
|
|
45
|
+
type: z.ZodLiteral<"text">;
|
|
46
|
+
payload: z.ZodString;
|
|
47
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
48
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
49
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
} & {
|
|
51
|
+
type: z.ZodLiteral<"text">;
|
|
52
|
+
payload: z.ZodString;
|
|
53
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
54
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
55
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
} & {
|
|
57
|
+
type: z.ZodLiteral<"text">;
|
|
58
|
+
payload: z.ZodString;
|
|
59
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
60
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
61
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
8
62
|
} & {
|
|
9
63
|
type: z.ZodLiteral<"action">;
|
|
10
64
|
payload: z.ZodOptional<z.ZodObject<{
|
|
@@ -140,8 +194,8 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
140
194
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
141
195
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
142
196
|
time: z.ZodOptional<z.ZodNumber>;
|
|
143
|
-
type: z.ZodLiteral<"intent">;
|
|
144
197
|
} & {
|
|
198
|
+
type: z.ZodLiteral<"intent">;
|
|
145
199
|
payload: z.ZodObject<{
|
|
146
200
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147
201
|
type: z.ZodString;
|
|
@@ -153,16 +207,11 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
153
207
|
type: string;
|
|
154
208
|
payload?: unknown;
|
|
155
209
|
}>, "many">>;
|
|
210
|
+
} & {
|
|
156
211
|
label: z.ZodOptional<z.ZodString>;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
160
|
-
name: z.ZodString;
|
|
161
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
162
|
-
name: z.ZodString;
|
|
163
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
212
|
+
} & {
|
|
213
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
164
214
|
query: z.ZodDefault<z.ZodString>;
|
|
165
|
-
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
166
215
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
167
216
|
name: z.ZodString;
|
|
168
217
|
value: z.ZodString;
|
|
@@ -199,6 +248,13 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
199
248
|
startIndex: number;
|
|
200
249
|
}[] | undefined;
|
|
201
250
|
}>, "many">>;
|
|
251
|
+
intent: z.ZodObject<{
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
254
|
+
name: z.ZodString;
|
|
255
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
202
258
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
203
259
|
}, "strip", z.ZodTypeAny, {
|
|
204
260
|
intent: {
|
|
@@ -207,7 +263,6 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
207
263
|
[k: string]: unknown;
|
|
208
264
|
};
|
|
209
265
|
query: string;
|
|
210
|
-
data: Record<string, any>;
|
|
211
266
|
entities: {
|
|
212
267
|
value: string;
|
|
213
268
|
name: string;
|
|
@@ -223,6 +278,7 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
223
278
|
payload?: unknown;
|
|
224
279
|
}[] | undefined;
|
|
225
280
|
label?: string | undefined;
|
|
281
|
+
data?: Record<string, any> | undefined;
|
|
226
282
|
confidence?: number | undefined;
|
|
227
283
|
}, {
|
|
228
284
|
intent: {
|
|
@@ -230,13 +286,13 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
230
286
|
} & {
|
|
231
287
|
[k: string]: unknown;
|
|
232
288
|
};
|
|
233
|
-
data: Record<string, any>;
|
|
234
289
|
actions?: {
|
|
235
290
|
type: string;
|
|
236
291
|
payload?: unknown;
|
|
237
292
|
}[] | undefined;
|
|
238
293
|
label?: string | undefined;
|
|
239
294
|
query?: string | undefined;
|
|
295
|
+
data?: Record<string, any> | undefined;
|
|
240
296
|
entities?: {
|
|
241
297
|
value: string;
|
|
242
298
|
name: string;
|
|
@@ -249,77 +305,15 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
249
305
|
}[] | undefined;
|
|
250
306
|
confidence?: number | undefined;
|
|
251
307
|
}>;
|
|
252
|
-
}, "
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
type: z.ZodLiteral<"intent">;
|
|
256
|
-
} & {
|
|
257
|
-
payload: z.ZodObject<{
|
|
258
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
259
|
-
type: z.ZodString;
|
|
260
|
-
payload: z.ZodUnknown;
|
|
261
|
-
}, "strip", z.ZodTypeAny, {
|
|
262
|
-
type: string;
|
|
263
|
-
payload?: unknown;
|
|
264
|
-
}, {
|
|
265
|
-
type: string;
|
|
266
|
-
payload?: unknown;
|
|
267
|
-
}>, "many">>;
|
|
268
|
-
label: z.ZodOptional<z.ZodString>;
|
|
269
|
-
intent: z.ZodObject<{
|
|
270
|
-
name: z.ZodString;
|
|
271
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
272
|
-
name: z.ZodString;
|
|
273
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
274
|
-
name: z.ZodString;
|
|
275
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
276
|
-
query: z.ZodDefault<z.ZodString>;
|
|
277
|
-
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
278
|
-
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
279
|
-
name: z.ZodString;
|
|
280
|
-
value: z.ZodString;
|
|
281
|
-
query: z.ZodOptional<z.ZodString>;
|
|
282
|
-
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
283
|
-
rawText: z.ZodString;
|
|
284
|
-
canonicalText: z.ZodString;
|
|
285
|
-
startIndex: z.ZodNumber;
|
|
286
|
-
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
rawText: string;
|
|
288
|
-
canonicalText: string;
|
|
289
|
-
startIndex: number;
|
|
290
|
-
}, {
|
|
291
|
-
rawText: string;
|
|
292
|
-
canonicalText: string;
|
|
293
|
-
startIndex: number;
|
|
294
|
-
}>, "many">>;
|
|
295
|
-
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
value: string;
|
|
297
|
-
name: string;
|
|
298
|
-
query?: string | undefined;
|
|
299
|
-
verboseValue?: {
|
|
300
|
-
rawText: string;
|
|
301
|
-
canonicalText: string;
|
|
302
|
-
startIndex: number;
|
|
303
|
-
}[] | undefined;
|
|
304
|
-
}, {
|
|
305
|
-
value: string;
|
|
306
|
-
name: string;
|
|
307
|
-
query?: string | undefined;
|
|
308
|
-
verboseValue?: {
|
|
309
|
-
rawText: string;
|
|
310
|
-
canonicalText: string;
|
|
311
|
-
startIndex: number;
|
|
312
|
-
}[] | undefined;
|
|
313
|
-
}>, "many">>;
|
|
314
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
315
|
-
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
type: "intent";
|
|
310
|
+
payload: {
|
|
316
311
|
intent: {
|
|
317
312
|
name: string;
|
|
318
313
|
} & {
|
|
319
314
|
[k: string]: unknown;
|
|
320
315
|
};
|
|
321
316
|
query: string;
|
|
322
|
-
data: Record<string, any>;
|
|
323
317
|
entities: {
|
|
324
318
|
value: string;
|
|
325
319
|
name: string;
|
|
@@ -335,20 +329,26 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
335
329
|
payload?: unknown;
|
|
336
330
|
}[] | undefined;
|
|
337
331
|
label?: string | undefined;
|
|
332
|
+
data?: Record<string, any> | undefined;
|
|
338
333
|
confidence?: number | undefined;
|
|
339
|
-
}
|
|
334
|
+
};
|
|
335
|
+
diagramID?: string | undefined;
|
|
336
|
+
time?: number | undefined;
|
|
337
|
+
}, {
|
|
338
|
+
type: "intent";
|
|
339
|
+
payload: {
|
|
340
340
|
intent: {
|
|
341
341
|
name: string;
|
|
342
342
|
} & {
|
|
343
343
|
[k: string]: unknown;
|
|
344
344
|
};
|
|
345
|
-
data: Record<string, any>;
|
|
346
345
|
actions?: {
|
|
347
346
|
type: string;
|
|
348
347
|
payload?: unknown;
|
|
349
348
|
}[] | undefined;
|
|
350
349
|
label?: string | undefined;
|
|
351
350
|
query?: string | undefined;
|
|
351
|
+
data?: Record<string, any> | undefined;
|
|
352
352
|
entities?: {
|
|
353
353
|
value: string;
|
|
354
354
|
name: string;
|
|
@@ -360,12 +360,14 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
360
360
|
}[] | undefined;
|
|
361
361
|
}[] | undefined;
|
|
362
362
|
confidence?: number | undefined;
|
|
363
|
-
}
|
|
364
|
-
|
|
363
|
+
};
|
|
364
|
+
diagramID?: string | undefined;
|
|
365
|
+
time?: number | undefined;
|
|
366
|
+
}>, z.ZodObject<{
|
|
365
367
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
366
368
|
time: z.ZodOptional<z.ZodNumber>;
|
|
367
|
-
type: z.ZodLiteral<"intent">;
|
|
368
369
|
} & {
|
|
370
|
+
type: z.ZodLiteral<"event">;
|
|
369
371
|
payload: z.ZodObject<{
|
|
370
372
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
371
373
|
type: z.ZodString;
|
|
@@ -377,189 +379,59 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
377
379
|
type: string;
|
|
378
380
|
payload?: unknown;
|
|
379
381
|
}>, "many">>;
|
|
382
|
+
} & {
|
|
380
383
|
label: z.ZodOptional<z.ZodString>;
|
|
381
|
-
|
|
384
|
+
} & {
|
|
385
|
+
event: z.ZodObject<{
|
|
382
386
|
name: z.ZodString;
|
|
383
387
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
384
388
|
name: z.ZodString;
|
|
385
389
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
386
390
|
name: z.ZodString;
|
|
387
391
|
}, z.ZodTypeAny, "passthrough">>;
|
|
388
|
-
query: z.ZodDefault<z.ZodString>;
|
|
389
|
-
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
390
|
-
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
391
|
-
name: z.ZodString;
|
|
392
|
-
value: z.ZodString;
|
|
393
|
-
query: z.ZodOptional<z.ZodString>;
|
|
394
|
-
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
395
|
-
rawText: z.ZodString;
|
|
396
|
-
canonicalText: z.ZodString;
|
|
397
|
-
startIndex: z.ZodNumber;
|
|
398
|
-
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
rawText: string;
|
|
400
|
-
canonicalText: string;
|
|
401
|
-
startIndex: number;
|
|
402
|
-
}, {
|
|
403
|
-
rawText: string;
|
|
404
|
-
canonicalText: string;
|
|
405
|
-
startIndex: number;
|
|
406
|
-
}>, "many">>;
|
|
407
|
-
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
value: string;
|
|
409
|
-
name: string;
|
|
410
|
-
query?: string | undefined;
|
|
411
|
-
verboseValue?: {
|
|
412
|
-
rawText: string;
|
|
413
|
-
canonicalText: string;
|
|
414
|
-
startIndex: number;
|
|
415
|
-
}[] | undefined;
|
|
416
|
-
}, {
|
|
417
|
-
value: string;
|
|
418
|
-
name: string;
|
|
419
|
-
query?: string | undefined;
|
|
420
|
-
verboseValue?: {
|
|
421
|
-
rawText: string;
|
|
422
|
-
canonicalText: string;
|
|
423
|
-
startIndex: number;
|
|
424
|
-
}[] | undefined;
|
|
425
|
-
}>, "many">>;
|
|
426
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
427
392
|
}, "strip", z.ZodTypeAny, {
|
|
428
|
-
|
|
393
|
+
event: {
|
|
429
394
|
name: string;
|
|
430
395
|
} & {
|
|
431
396
|
[k: string]: unknown;
|
|
432
397
|
};
|
|
433
|
-
query: string;
|
|
434
|
-
data: Record<string, any>;
|
|
435
|
-
entities: {
|
|
436
|
-
value: string;
|
|
437
|
-
name: string;
|
|
438
|
-
query?: string | undefined;
|
|
439
|
-
verboseValue?: {
|
|
440
|
-
rawText: string;
|
|
441
|
-
canonicalText: string;
|
|
442
|
-
startIndex: number;
|
|
443
|
-
}[] | undefined;
|
|
444
|
-
}[];
|
|
445
398
|
actions?: {
|
|
446
399
|
type: string;
|
|
447
400
|
payload?: unknown;
|
|
448
401
|
}[] | undefined;
|
|
449
402
|
label?: string | undefined;
|
|
450
|
-
confidence?: number | undefined;
|
|
451
403
|
}, {
|
|
452
|
-
|
|
404
|
+
event: {
|
|
453
405
|
name: string;
|
|
454
406
|
} & {
|
|
455
407
|
[k: string]: unknown;
|
|
456
408
|
};
|
|
457
|
-
data: Record<string, any>;
|
|
458
409
|
actions?: {
|
|
459
410
|
type: string;
|
|
460
411
|
payload?: unknown;
|
|
461
412
|
}[] | undefined;
|
|
462
413
|
label?: string | undefined;
|
|
463
|
-
query?: string | undefined;
|
|
464
|
-
entities?: {
|
|
465
|
-
value: string;
|
|
466
|
-
name: string;
|
|
467
|
-
query?: string | undefined;
|
|
468
|
-
verboseValue?: {
|
|
469
|
-
rawText: string;
|
|
470
|
-
canonicalText: string;
|
|
471
|
-
startIndex: number;
|
|
472
|
-
}[] | undefined;
|
|
473
|
-
}[] | undefined;
|
|
474
|
-
confidence?: number | undefined;
|
|
475
414
|
}>;
|
|
476
|
-
}, z.ZodTypeAny,
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
}, "strip", z.ZodTypeAny, {
|
|
486
|
-
type: string;
|
|
487
|
-
payload?: unknown;
|
|
488
|
-
}, {
|
|
489
|
-
type: string;
|
|
490
|
-
payload?: unknown;
|
|
491
|
-
}>, "many">>;
|
|
492
|
-
label: z.ZodOptional<z.ZodString>;
|
|
493
|
-
intent: z.ZodObject<{
|
|
494
|
-
name: z.ZodString;
|
|
495
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
496
|
-
name: z.ZodString;
|
|
497
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
498
|
-
name: z.ZodString;
|
|
499
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
500
|
-
query: z.ZodDefault<z.ZodString>;
|
|
501
|
-
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
502
|
-
name: z.ZodString;
|
|
503
|
-
value: z.ZodString;
|
|
504
|
-
query: z.ZodOptional<z.ZodString>;
|
|
505
|
-
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
506
|
-
rawText: z.ZodString;
|
|
507
|
-
canonicalText: z.ZodString;
|
|
508
|
-
startIndex: z.ZodNumber;
|
|
509
|
-
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
rawText: string;
|
|
511
|
-
canonicalText: string;
|
|
512
|
-
startIndex: number;
|
|
513
|
-
}, {
|
|
514
|
-
rawText: string;
|
|
515
|
-
canonicalText: string;
|
|
516
|
-
startIndex: number;
|
|
517
|
-
}>, "many">>;
|
|
518
|
-
}, "strip", z.ZodTypeAny, {
|
|
519
|
-
value: string;
|
|
520
|
-
name: string;
|
|
521
|
-
query?: string | undefined;
|
|
522
|
-
verboseValue?: {
|
|
523
|
-
rawText: string;
|
|
524
|
-
canonicalText: string;
|
|
525
|
-
startIndex: number;
|
|
526
|
-
}[] | undefined;
|
|
527
|
-
}, {
|
|
528
|
-
value: string;
|
|
529
|
-
name: string;
|
|
530
|
-
query?: string | undefined;
|
|
531
|
-
verboseValue?: {
|
|
532
|
-
rawText: string;
|
|
533
|
-
canonicalText: string;
|
|
534
|
-
startIndex: number;
|
|
535
|
-
}[] | undefined;
|
|
536
|
-
}>, "many">>;
|
|
537
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
538
|
-
}, "strip", z.ZodTypeAny, {
|
|
539
|
-
intent: {
|
|
540
|
-
name: string;
|
|
541
|
-
} & {
|
|
542
|
-
[k: string]: unknown;
|
|
543
|
-
};
|
|
544
|
-
query: string;
|
|
545
|
-
entities: {
|
|
546
|
-
value: string;
|
|
547
|
-
name: string;
|
|
548
|
-
query?: string | undefined;
|
|
549
|
-
verboseValue?: {
|
|
550
|
-
rawText: string;
|
|
551
|
-
canonicalText: string;
|
|
552
|
-
startIndex: number;
|
|
553
|
-
}[] | undefined;
|
|
554
|
-
}[];
|
|
555
|
-
actions?: {
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
type: "event";
|
|
417
|
+
payload: {
|
|
418
|
+
event: {
|
|
419
|
+
name: string;
|
|
420
|
+
} & {
|
|
421
|
+
[k: string]: unknown;
|
|
422
|
+
};
|
|
423
|
+
actions?: {
|
|
556
424
|
type: string;
|
|
557
425
|
payload?: unknown;
|
|
558
426
|
}[] | undefined;
|
|
559
427
|
label?: string | undefined;
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
428
|
+
};
|
|
429
|
+
diagramID?: string | undefined;
|
|
430
|
+
time?: number | undefined;
|
|
431
|
+
}, {
|
|
432
|
+
type: "event";
|
|
433
|
+
payload: {
|
|
434
|
+
event: {
|
|
563
435
|
name: string;
|
|
564
436
|
} & {
|
|
565
437
|
[k: string]: unknown;
|
|
@@ -569,24 +441,14 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
569
441
|
payload?: unknown;
|
|
570
442
|
}[] | undefined;
|
|
571
443
|
label?: string | undefined;
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
query?: string | undefined;
|
|
577
|
-
verboseValue?: {
|
|
578
|
-
rawText: string;
|
|
579
|
-
canonicalText: string;
|
|
580
|
-
startIndex: number;
|
|
581
|
-
}[] | undefined;
|
|
582
|
-
}[] | undefined;
|
|
583
|
-
confidence?: number | undefined;
|
|
584
|
-
}>;
|
|
585
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
444
|
+
};
|
|
445
|
+
diagramID?: string | undefined;
|
|
446
|
+
time?: number | undefined;
|
|
447
|
+
}>, z.ZodObject<{
|
|
586
448
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
587
449
|
time: z.ZodOptional<z.ZodNumber>;
|
|
588
|
-
type: z.ZodLiteral<"intent">;
|
|
589
450
|
} & {
|
|
451
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
590
452
|
payload: z.ZodObject<{
|
|
591
453
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
592
454
|
type: z.ZodString;
|
|
@@ -598,104 +460,37 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
598
460
|
type: string;
|
|
599
461
|
payload?: unknown;
|
|
600
462
|
}>, "many">>;
|
|
601
|
-
label: z.
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
607
|
-
name: z.ZodString;
|
|
608
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
609
|
-
query: z.ZodDefault<z.ZodString>;
|
|
610
|
-
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
611
|
-
name: z.ZodString;
|
|
612
|
-
value: z.ZodString;
|
|
613
|
-
query: z.ZodOptional<z.ZodString>;
|
|
614
|
-
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
615
|
-
rawText: z.ZodString;
|
|
616
|
-
canonicalText: z.ZodString;
|
|
617
|
-
startIndex: z.ZodNumber;
|
|
618
|
-
}, "strip", z.ZodTypeAny, {
|
|
619
|
-
rawText: string;
|
|
620
|
-
canonicalText: string;
|
|
621
|
-
startIndex: number;
|
|
622
|
-
}, {
|
|
623
|
-
rawText: string;
|
|
624
|
-
canonicalText: string;
|
|
625
|
-
startIndex: number;
|
|
626
|
-
}>, "many">>;
|
|
463
|
+
label: z.ZodString;
|
|
464
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
465
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
466
|
+
type: z.ZodString;
|
|
467
|
+
payload: z.ZodUnknown;
|
|
627
468
|
}, "strip", z.ZodTypeAny, {
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
query?: string | undefined;
|
|
631
|
-
verboseValue?: {
|
|
632
|
-
rawText: string;
|
|
633
|
-
canonicalText: string;
|
|
634
|
-
startIndex: number;
|
|
635
|
-
}[] | undefined;
|
|
469
|
+
type: string;
|
|
470
|
+
payload?: unknown;
|
|
636
471
|
}, {
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
query?: string | undefined;
|
|
640
|
-
verboseValue?: {
|
|
641
|
-
rawText: string;
|
|
642
|
-
canonicalText: string;
|
|
643
|
-
startIndex: number;
|
|
644
|
-
}[] | undefined;
|
|
472
|
+
type: string;
|
|
473
|
+
payload?: unknown;
|
|
645
474
|
}>, "many">>;
|
|
646
|
-
|
|
647
|
-
}, "
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
};
|
|
653
|
-
query: string;
|
|
654
|
-
entities: {
|
|
655
|
-
value: string;
|
|
656
|
-
name: string;
|
|
657
|
-
query?: string | undefined;
|
|
658
|
-
verboseValue?: {
|
|
659
|
-
rawText: string;
|
|
660
|
-
canonicalText: string;
|
|
661
|
-
startIndex: number;
|
|
662
|
-
}[] | undefined;
|
|
663
|
-
}[];
|
|
664
|
-
actions?: {
|
|
475
|
+
label: z.ZodString;
|
|
476
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
477
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
478
|
+
type: z.ZodString;
|
|
479
|
+
payload: z.ZodUnknown;
|
|
480
|
+
}, "strip", z.ZodTypeAny, {
|
|
665
481
|
type: string;
|
|
666
482
|
payload?: unknown;
|
|
667
|
-
}
|
|
668
|
-
label?: string | undefined;
|
|
669
|
-
confidence?: number | undefined;
|
|
670
|
-
}, {
|
|
671
|
-
intent: {
|
|
672
|
-
name: string;
|
|
673
|
-
} & {
|
|
674
|
-
[k: string]: unknown;
|
|
675
|
-
};
|
|
676
|
-
actions?: {
|
|
483
|
+
}, {
|
|
677
484
|
type: string;
|
|
678
485
|
payload?: unknown;
|
|
679
|
-
}
|
|
680
|
-
label
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
value: string;
|
|
684
|
-
name: string;
|
|
685
|
-
query?: string | undefined;
|
|
686
|
-
verboseValue?: {
|
|
687
|
-
rawText: string;
|
|
688
|
-
canonicalText: string;
|
|
689
|
-
startIndex: number;
|
|
690
|
-
}[] | undefined;
|
|
691
|
-
}[] | undefined;
|
|
692
|
-
confidence?: number | undefined;
|
|
693
|
-
}>;
|
|
694
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
486
|
+
}>, "many">>;
|
|
487
|
+
label: z.ZodString;
|
|
488
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
489
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
695
490
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
696
491
|
time: z.ZodOptional<z.ZodNumber>;
|
|
697
|
-
type: z.ZodLiteral<"intent">;
|
|
698
492
|
} & {
|
|
493
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
699
494
|
payload: z.ZodObject<{
|
|
700
495
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
701
496
|
type: z.ZodString;
|
|
@@ -707,130 +502,19 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
707
502
|
type: string;
|
|
708
503
|
payload?: unknown;
|
|
709
504
|
}>, "many">>;
|
|
710
|
-
label: z.
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
716
|
-
name: z.ZodString;
|
|
717
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
718
|
-
query: z.ZodDefault<z.ZodString>;
|
|
719
|
-
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
720
|
-
name: z.ZodString;
|
|
721
|
-
value: z.ZodString;
|
|
722
|
-
query: z.ZodOptional<z.ZodString>;
|
|
723
|
-
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
724
|
-
rawText: z.ZodString;
|
|
725
|
-
canonicalText: z.ZodString;
|
|
726
|
-
startIndex: z.ZodNumber;
|
|
727
|
-
}, "strip", z.ZodTypeAny, {
|
|
728
|
-
rawText: string;
|
|
729
|
-
canonicalText: string;
|
|
730
|
-
startIndex: number;
|
|
731
|
-
}, {
|
|
732
|
-
rawText: string;
|
|
733
|
-
canonicalText: string;
|
|
734
|
-
startIndex: number;
|
|
735
|
-
}>, "many">>;
|
|
505
|
+
label: z.ZodString;
|
|
506
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
507
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
508
|
+
type: z.ZodString;
|
|
509
|
+
payload: z.ZodUnknown;
|
|
736
510
|
}, "strip", z.ZodTypeAny, {
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
query?: string | undefined;
|
|
740
|
-
verboseValue?: {
|
|
741
|
-
rawText: string;
|
|
742
|
-
canonicalText: string;
|
|
743
|
-
startIndex: number;
|
|
744
|
-
}[] | undefined;
|
|
745
|
-
}, {
|
|
746
|
-
value: string;
|
|
747
|
-
name: string;
|
|
748
|
-
query?: string | undefined;
|
|
749
|
-
verboseValue?: {
|
|
750
|
-
rawText: string;
|
|
751
|
-
canonicalText: string;
|
|
752
|
-
startIndex: number;
|
|
753
|
-
}[] | undefined;
|
|
754
|
-
}>, "many">>;
|
|
755
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
756
|
-
}, "strip", z.ZodTypeAny, {
|
|
757
|
-
intent: {
|
|
758
|
-
name: string;
|
|
759
|
-
} & {
|
|
760
|
-
[k: string]: unknown;
|
|
761
|
-
};
|
|
762
|
-
query: string;
|
|
763
|
-
entities: {
|
|
764
|
-
value: string;
|
|
765
|
-
name: string;
|
|
766
|
-
query?: string | undefined;
|
|
767
|
-
verboseValue?: {
|
|
768
|
-
rawText: string;
|
|
769
|
-
canonicalText: string;
|
|
770
|
-
startIndex: number;
|
|
771
|
-
}[] | undefined;
|
|
772
|
-
}[];
|
|
773
|
-
actions?: {
|
|
774
|
-
type: string;
|
|
775
|
-
payload?: unknown;
|
|
776
|
-
}[] | undefined;
|
|
777
|
-
label?: string | undefined;
|
|
778
|
-
confidence?: number | undefined;
|
|
779
|
-
}, {
|
|
780
|
-
intent: {
|
|
781
|
-
name: string;
|
|
782
|
-
} & {
|
|
783
|
-
[k: string]: unknown;
|
|
784
|
-
};
|
|
785
|
-
actions?: {
|
|
786
|
-
type: string;
|
|
787
|
-
payload?: unknown;
|
|
788
|
-
}[] | undefined;
|
|
789
|
-
label?: string | undefined;
|
|
790
|
-
query?: string | undefined;
|
|
791
|
-
entities?: {
|
|
792
|
-
value: string;
|
|
793
|
-
name: string;
|
|
794
|
-
query?: string | undefined;
|
|
795
|
-
verboseValue?: {
|
|
796
|
-
rawText: string;
|
|
797
|
-
canonicalText: string;
|
|
798
|
-
startIndex: number;
|
|
799
|
-
}[] | undefined;
|
|
800
|
-
}[] | undefined;
|
|
801
|
-
confidence?: number | undefined;
|
|
802
|
-
}>;
|
|
803
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
804
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
805
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
806
|
-
} & {
|
|
807
|
-
type: z.ZodEffects<z.ZodString, string, string>;
|
|
808
|
-
payload: z.ZodOptional<z.ZodObject<{
|
|
809
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
810
|
-
type: z.ZodString;
|
|
811
|
-
payload: z.ZodUnknown;
|
|
812
|
-
}, "strip", z.ZodTypeAny, {
|
|
813
|
-
type: string;
|
|
814
|
-
payload?: unknown;
|
|
511
|
+
type: string;
|
|
512
|
+
payload?: unknown;
|
|
815
513
|
}, {
|
|
816
514
|
type: string;
|
|
817
515
|
payload?: unknown;
|
|
818
516
|
}>, "many">>;
|
|
819
|
-
|
|
820
|
-
label: z.ZodOptional<z.ZodString>;
|
|
821
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
822
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
823
|
-
type: z.ZodString;
|
|
824
|
-
payload: z.ZodUnknown;
|
|
825
|
-
}, "strip", z.ZodTypeAny, {
|
|
826
|
-
type: string;
|
|
827
|
-
payload?: unknown;
|
|
828
|
-
}, {
|
|
829
|
-
type: string;
|
|
830
|
-
payload?: unknown;
|
|
831
|
-
}>, "many">>;
|
|
832
|
-
} & {
|
|
833
|
-
label: z.ZodOptional<z.ZodString>;
|
|
517
|
+
label: z.ZodString;
|
|
834
518
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
835
519
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
836
520
|
type: z.ZodString;
|
|
@@ -842,15 +526,14 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
842
526
|
type: string;
|
|
843
527
|
payload?: unknown;
|
|
844
528
|
}>, "many">>;
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
529
|
+
label: z.ZodString;
|
|
530
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
531
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
849
532
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
850
533
|
time: z.ZodOptional<z.ZodNumber>;
|
|
851
534
|
} & {
|
|
852
535
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
853
|
-
payload: z.
|
|
536
|
+
payload: z.ZodObject<{
|
|
854
537
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
855
538
|
type: z.ZodString;
|
|
856
539
|
payload: z.ZodUnknown;
|
|
@@ -861,8 +544,7 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
861
544
|
type: string;
|
|
862
545
|
payload?: unknown;
|
|
863
546
|
}>, "many">>;
|
|
864
|
-
|
|
865
|
-
label: z.ZodOptional<z.ZodString>;
|
|
547
|
+
label: z.ZodString;
|
|
866
548
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
867
549
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
868
550
|
type: z.ZodString;
|
|
@@ -874,8 +556,7 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
874
556
|
type: string;
|
|
875
557
|
payload?: unknown;
|
|
876
558
|
}>, "many">>;
|
|
877
|
-
|
|
878
|
-
label: z.ZodOptional<z.ZodString>;
|
|
559
|
+
label: z.ZodString;
|
|
879
560
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
880
561
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
881
562
|
type: z.ZodString;
|
|
@@ -887,349 +568,314 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
887
568
|
type: string;
|
|
888
569
|
payload?: unknown;
|
|
889
570
|
}>, "many">>;
|
|
890
|
-
|
|
891
|
-
|
|
571
|
+
label: z.ZodString;
|
|
572
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
573
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
574
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
575
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
576
|
+
} & {
|
|
577
|
+
type: z.ZodLiteral<"no-reply">;
|
|
578
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
579
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
580
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
} & {
|
|
582
|
+
type: z.ZodLiteral<"no-reply">;
|
|
583
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
584
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
585
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
586
|
+
} & {
|
|
587
|
+
type: z.ZodLiteral<"no-reply">;
|
|
588
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
589
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
590
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
591
|
+
} & {
|
|
592
|
+
type: z.ZodLiteral<"message">;
|
|
593
|
+
payload: z.ZodObject<{
|
|
594
|
+
message: z.ZodString;
|
|
595
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
596
|
+
message: z.ZodString;
|
|
597
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
598
|
+
message: z.ZodString;
|
|
599
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
600
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
601
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
602
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
603
|
+
} & {
|
|
604
|
+
type: z.ZodLiteral<"message">;
|
|
605
|
+
payload: z.ZodObject<{
|
|
606
|
+
message: z.ZodString;
|
|
607
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
608
|
+
message: z.ZodString;
|
|
609
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
610
|
+
message: z.ZodString;
|
|
611
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
612
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
613
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
614
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
} & {
|
|
616
|
+
type: z.ZodLiteral<"message">;
|
|
617
|
+
payload: z.ZodObject<{
|
|
618
|
+
message: z.ZodString;
|
|
619
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
620
|
+
message: z.ZodString;
|
|
621
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
622
|
+
message: z.ZodString;
|
|
623
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
624
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
625
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
626
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
627
|
+
} & {
|
|
628
|
+
type: z.ZodLiteral<"end">;
|
|
629
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
reason: z.ZodString;
|
|
631
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
632
|
+
reason: z.ZodString;
|
|
633
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
634
|
+
reason: z.ZodString;
|
|
635
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
636
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
637
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
638
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
639
|
+
} & {
|
|
640
|
+
type: z.ZodLiteral<"end">;
|
|
641
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
642
|
+
reason: z.ZodString;
|
|
643
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
644
|
+
reason: z.ZodString;
|
|
645
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
646
|
+
reason: z.ZodString;
|
|
892
647
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
893
648
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
894
649
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
895
650
|
time: z.ZodOptional<z.ZodNumber>;
|
|
896
651
|
} & {
|
|
897
|
-
type: z.
|
|
652
|
+
type: z.ZodLiteral<"end">;
|
|
898
653
|
payload: z.ZodOptional<z.ZodObject<{
|
|
899
|
-
|
|
900
|
-
type: z.ZodString;
|
|
901
|
-
payload: z.ZodUnknown;
|
|
902
|
-
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
type: string;
|
|
904
|
-
payload?: unknown;
|
|
905
|
-
}, {
|
|
906
|
-
type: string;
|
|
907
|
-
payload?: unknown;
|
|
908
|
-
}>, "many">>;
|
|
909
|
-
} & {
|
|
910
|
-
label: z.ZodOptional<z.ZodString>;
|
|
654
|
+
reason: z.ZodString;
|
|
911
655
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
912
|
-
|
|
913
|
-
type: z.ZodString;
|
|
914
|
-
payload: z.ZodUnknown;
|
|
915
|
-
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
type: string;
|
|
917
|
-
payload?: unknown;
|
|
918
|
-
}, {
|
|
919
|
-
type: string;
|
|
920
|
-
payload?: unknown;
|
|
921
|
-
}>, "many">>;
|
|
922
|
-
} & {
|
|
923
|
-
label: z.ZodOptional<z.ZodString>;
|
|
656
|
+
reason: z.ZodString;
|
|
924
657
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
925
|
-
|
|
926
|
-
type: z.ZodString;
|
|
927
|
-
payload: z.ZodUnknown;
|
|
928
|
-
}, "strip", z.ZodTypeAny, {
|
|
929
|
-
type: string;
|
|
930
|
-
payload?: unknown;
|
|
931
|
-
}, {
|
|
932
|
-
type: string;
|
|
933
|
-
payload?: unknown;
|
|
934
|
-
}>, "many">>;
|
|
935
|
-
} & {
|
|
936
|
-
label: z.ZodOptional<z.ZodString>;
|
|
658
|
+
reason: z.ZodString;
|
|
937
659
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
938
660
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
939
661
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
940
662
|
time: z.ZodOptional<z.ZodNumber>;
|
|
941
663
|
} & {
|
|
942
|
-
type: z.ZodLiteral<"
|
|
943
|
-
payload: z.
|
|
944
|
-
|
|
664
|
+
type: z.ZodLiteral<"dtmf">;
|
|
665
|
+
payload: z.ZodString;
|
|
666
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
667
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
668
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
669
|
+
} & {
|
|
670
|
+
type: z.ZodLiteral<"dtmf">;
|
|
671
|
+
payload: z.ZodString;
|
|
672
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
673
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
674
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
675
|
+
} & {
|
|
676
|
+
type: z.ZodLiteral<"dtmf">;
|
|
677
|
+
payload: z.ZodString;
|
|
678
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
679
|
+
diagramID: z.ZodOptional<z.ZodString>;
|
|
680
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
681
|
+
} & {
|
|
682
|
+
type: z.ZodLiteral<"live-agent-handoff">;
|
|
683
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
684
|
+
type: z.ZodLiteral<"message">;
|
|
685
|
+
message: z.ZodString;
|
|
686
|
+
}, "strict", z.ZodTypeAny, {
|
|
687
|
+
type: "message";
|
|
688
|
+
message: string;
|
|
689
|
+
}, {
|
|
690
|
+
type: "message";
|
|
691
|
+
message: string;
|
|
692
|
+
}>, z.ZodObject<{
|
|
693
|
+
type: z.ZodLiteral<"file_upload">;
|
|
694
|
+
files: z.ZodArray<z.ZodObject<{
|
|
695
|
+
id: z.ZodString;
|
|
696
|
+
name: z.ZodString;
|
|
697
|
+
size: z.ZodNumber;
|
|
945
698
|
type: z.ZodString;
|
|
946
|
-
|
|
699
|
+
status: z.ZodOptional<z.ZodEnum<["uploaded", "failed"]>>;
|
|
700
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
947
701
|
}, "strip", z.ZodTypeAny, {
|
|
948
702
|
type: string;
|
|
949
|
-
payload?: unknown;
|
|
950
|
-
}, {
|
|
951
|
-
type: string;
|
|
952
|
-
payload?: unknown;
|
|
953
|
-
}>, "many">>;
|
|
954
|
-
} & {
|
|
955
|
-
label: z.ZodOptional<z.ZodString>;
|
|
956
|
-
} & {
|
|
957
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
958
|
-
query: z.ZodDefault<z.ZodString>;
|
|
959
|
-
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
960
|
-
name: z.ZodString;
|
|
961
|
-
value: z.ZodString;
|
|
962
|
-
query: z.ZodOptional<z.ZodString>;
|
|
963
|
-
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
964
|
-
rawText: z.ZodString;
|
|
965
|
-
canonicalText: z.ZodString;
|
|
966
|
-
startIndex: z.ZodNumber;
|
|
967
|
-
}, "strip", z.ZodTypeAny, {
|
|
968
|
-
rawText: string;
|
|
969
|
-
canonicalText: string;
|
|
970
|
-
startIndex: number;
|
|
971
|
-
}, {
|
|
972
|
-
rawText: string;
|
|
973
|
-
canonicalText: string;
|
|
974
|
-
startIndex: number;
|
|
975
|
-
}>, "many">>;
|
|
976
|
-
}, "strip", z.ZodTypeAny, {
|
|
977
|
-
value: string;
|
|
978
703
|
name: string;
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
startIndex: number;
|
|
984
|
-
}[] | undefined;
|
|
704
|
+
id: string;
|
|
705
|
+
size: number;
|
|
706
|
+
status?: "uploaded" | "failed" | undefined;
|
|
707
|
+
metadata?: Record<string, any> | undefined;
|
|
985
708
|
}, {
|
|
986
|
-
value: string;
|
|
987
|
-
name: string;
|
|
988
|
-
query?: string | undefined;
|
|
989
|
-
verboseValue?: {
|
|
990
|
-
rawText: string;
|
|
991
|
-
canonicalText: string;
|
|
992
|
-
startIndex: number;
|
|
993
|
-
}[] | undefined;
|
|
994
|
-
}>, "many">>;
|
|
995
|
-
intent: z.ZodObject<{
|
|
996
|
-
name: z.ZodString;
|
|
997
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
998
|
-
name: z.ZodString;
|
|
999
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1000
|
-
name: z.ZodString;
|
|
1001
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1002
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1003
|
-
}, "strip", z.ZodTypeAny, {
|
|
1004
|
-
intent: {
|
|
1005
|
-
name: string;
|
|
1006
|
-
} & {
|
|
1007
|
-
[k: string]: unknown;
|
|
1008
|
-
};
|
|
1009
|
-
query: string;
|
|
1010
|
-
entities: {
|
|
1011
|
-
value: string;
|
|
1012
|
-
name: string;
|
|
1013
|
-
query?: string | undefined;
|
|
1014
|
-
verboseValue?: {
|
|
1015
|
-
rawText: string;
|
|
1016
|
-
canonicalText: string;
|
|
1017
|
-
startIndex: number;
|
|
1018
|
-
}[] | undefined;
|
|
1019
|
-
}[];
|
|
1020
|
-
actions?: {
|
|
1021
709
|
type: string;
|
|
1022
|
-
payload?: unknown;
|
|
1023
|
-
}[] | undefined;
|
|
1024
|
-
label?: string | undefined;
|
|
1025
|
-
data?: Record<string, any> | undefined;
|
|
1026
|
-
confidence?: number | undefined;
|
|
1027
|
-
}, {
|
|
1028
|
-
intent: {
|
|
1029
710
|
name: string;
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
711
|
+
id: string;
|
|
712
|
+
size: number;
|
|
713
|
+
status?: "uploaded" | "failed" | undefined;
|
|
714
|
+
metadata?: Record<string, any> | undefined;
|
|
715
|
+
}>, "many">;
|
|
716
|
+
}, "strict", z.ZodTypeAny, {
|
|
717
|
+
type: "file_upload";
|
|
718
|
+
files: {
|
|
1034
719
|
type: string;
|
|
1035
|
-
payload?: unknown;
|
|
1036
|
-
}[] | undefined;
|
|
1037
|
-
label?: string | undefined;
|
|
1038
|
-
query?: string | undefined;
|
|
1039
|
-
data?: Record<string, any> | undefined;
|
|
1040
|
-
entities?: {
|
|
1041
|
-
value: string;
|
|
1042
|
-
name: string;
|
|
1043
|
-
query?: string | undefined;
|
|
1044
|
-
verboseValue?: {
|
|
1045
|
-
rawText: string;
|
|
1046
|
-
canonicalText: string;
|
|
1047
|
-
startIndex: number;
|
|
1048
|
-
}[] | undefined;
|
|
1049
|
-
}[] | undefined;
|
|
1050
|
-
confidence?: number | undefined;
|
|
1051
|
-
}>;
|
|
1052
|
-
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
type: "intent";
|
|
1054
|
-
payload: {
|
|
1055
|
-
intent: {
|
|
1056
720
|
name: string;
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
entities: {
|
|
1062
|
-
value: string;
|
|
1063
|
-
name: string;
|
|
1064
|
-
query?: string | undefined;
|
|
1065
|
-
verboseValue?: {
|
|
1066
|
-
rawText: string;
|
|
1067
|
-
canonicalText: string;
|
|
1068
|
-
startIndex: number;
|
|
1069
|
-
}[] | undefined;
|
|
721
|
+
id: string;
|
|
722
|
+
size: number;
|
|
723
|
+
status?: "uploaded" | "failed" | undefined;
|
|
724
|
+
metadata?: Record<string, any> | undefined;
|
|
1070
725
|
}[];
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
}[] | undefined;
|
|
1075
|
-
label?: string | undefined;
|
|
1076
|
-
data?: Record<string, any> | undefined;
|
|
1077
|
-
confidence?: number | undefined;
|
|
1078
|
-
};
|
|
1079
|
-
diagramID?: string | undefined;
|
|
1080
|
-
time?: number | undefined;
|
|
1081
|
-
}, {
|
|
1082
|
-
type: "intent";
|
|
1083
|
-
payload: {
|
|
1084
|
-
intent: {
|
|
1085
|
-
name: string;
|
|
1086
|
-
} & {
|
|
1087
|
-
[k: string]: unknown;
|
|
1088
|
-
};
|
|
1089
|
-
actions?: {
|
|
726
|
+
}, {
|
|
727
|
+
type: "file_upload";
|
|
728
|
+
files: {
|
|
1090
729
|
type: string;
|
|
1091
|
-
payload?: unknown;
|
|
1092
|
-
}[] | undefined;
|
|
1093
|
-
label?: string | undefined;
|
|
1094
|
-
query?: string | undefined;
|
|
1095
|
-
data?: Record<string, any> | undefined;
|
|
1096
|
-
entities?: {
|
|
1097
|
-
value: string;
|
|
1098
730
|
name: string;
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
731
|
+
id: string;
|
|
732
|
+
size: number;
|
|
733
|
+
status?: "uploaded" | "failed" | undefined;
|
|
734
|
+
metadata?: Record<string, any> | undefined;
|
|
735
|
+
}[];
|
|
736
|
+
}>, z.ZodObject<{
|
|
737
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
738
|
+
}, "strict", z.ZodTypeAny, {
|
|
739
|
+
type: "continue_conversation";
|
|
740
|
+
}, {
|
|
741
|
+
type: "continue_conversation";
|
|
742
|
+
}>]>;
|
|
743
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1111
744
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1112
745
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1113
746
|
} & {
|
|
1114
|
-
type: z.ZodLiteral<"
|
|
1115
|
-
payload: z.ZodObject<{
|
|
1116
|
-
|
|
747
|
+
type: z.ZodLiteral<"live-agent-handoff">;
|
|
748
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
749
|
+
type: z.ZodLiteral<"message">;
|
|
750
|
+
message: z.ZodString;
|
|
751
|
+
}, "strict", z.ZodTypeAny, {
|
|
752
|
+
type: "message";
|
|
753
|
+
message: string;
|
|
754
|
+
}, {
|
|
755
|
+
type: "message";
|
|
756
|
+
message: string;
|
|
757
|
+
}>, z.ZodObject<{
|
|
758
|
+
type: z.ZodLiteral<"file_upload">;
|
|
759
|
+
files: z.ZodArray<z.ZodObject<{
|
|
760
|
+
id: z.ZodString;
|
|
761
|
+
name: z.ZodString;
|
|
762
|
+
size: z.ZodNumber;
|
|
1117
763
|
type: z.ZodString;
|
|
1118
|
-
|
|
764
|
+
status: z.ZodOptional<z.ZodEnum<["uploaded", "failed"]>>;
|
|
765
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1119
766
|
}, "strip", z.ZodTypeAny, {
|
|
1120
767
|
type: string;
|
|
1121
|
-
|
|
768
|
+
name: string;
|
|
769
|
+
id: string;
|
|
770
|
+
size: number;
|
|
771
|
+
status?: "uploaded" | "failed" | undefined;
|
|
772
|
+
metadata?: Record<string, any> | undefined;
|
|
1122
773
|
}, {
|
|
1123
774
|
type: string;
|
|
1124
|
-
payload?: unknown;
|
|
1125
|
-
}>, "many">>;
|
|
1126
|
-
} & {
|
|
1127
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1128
|
-
} & {
|
|
1129
|
-
event: z.ZodObject<{
|
|
1130
|
-
name: z.ZodString;
|
|
1131
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1132
|
-
name: z.ZodString;
|
|
1133
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1134
|
-
name: z.ZodString;
|
|
1135
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1136
|
-
}, "strip", z.ZodTypeAny, {
|
|
1137
|
-
event: {
|
|
1138
775
|
name: string;
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
776
|
+
id: string;
|
|
777
|
+
size: number;
|
|
778
|
+
status?: "uploaded" | "failed" | undefined;
|
|
779
|
+
metadata?: Record<string, any> | undefined;
|
|
780
|
+
}>, "many">;
|
|
781
|
+
}, "strict", z.ZodTypeAny, {
|
|
782
|
+
type: "file_upload";
|
|
783
|
+
files: {
|
|
1143
784
|
type: string;
|
|
1144
|
-
payload?: unknown;
|
|
1145
|
-
}[] | undefined;
|
|
1146
|
-
label?: string | undefined;
|
|
1147
|
-
}, {
|
|
1148
|
-
event: {
|
|
1149
785
|
name: string;
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
786
|
+
id: string;
|
|
787
|
+
size: number;
|
|
788
|
+
status?: "uploaded" | "failed" | undefined;
|
|
789
|
+
metadata?: Record<string, any> | undefined;
|
|
790
|
+
}[];
|
|
791
|
+
}, {
|
|
792
|
+
type: "file_upload";
|
|
793
|
+
files: {
|
|
1154
794
|
type: string;
|
|
1155
|
-
payload?: unknown;
|
|
1156
|
-
}[] | undefined;
|
|
1157
|
-
label?: string | undefined;
|
|
1158
|
-
}>;
|
|
1159
|
-
}, "strip", z.ZodTypeAny, {
|
|
1160
|
-
type: "event";
|
|
1161
|
-
payload: {
|
|
1162
|
-
event: {
|
|
1163
|
-
name: string;
|
|
1164
|
-
} & {
|
|
1165
|
-
[k: string]: unknown;
|
|
1166
|
-
};
|
|
1167
|
-
actions?: {
|
|
1168
|
-
type: string;
|
|
1169
|
-
payload?: unknown;
|
|
1170
|
-
}[] | undefined;
|
|
1171
|
-
label?: string | undefined;
|
|
1172
|
-
};
|
|
1173
|
-
diagramID?: string | undefined;
|
|
1174
|
-
time?: number | undefined;
|
|
1175
|
-
}, {
|
|
1176
|
-
type: "event";
|
|
1177
|
-
payload: {
|
|
1178
|
-
event: {
|
|
1179
795
|
name: string;
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1193
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1194
|
-
} & {
|
|
1195
|
-
type: z.ZodLiteral<"launch">;
|
|
1196
|
-
payload: z.ZodOptional<z.ZodObject<{
|
|
1197
|
-
persona: z.ZodOptional<z.ZodString>;
|
|
1198
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1199
|
-
persona: z.ZodOptional<z.ZodString>;
|
|
1200
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1201
|
-
persona: z.ZodOptional<z.ZodString>;
|
|
1202
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
1203
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1204
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1205
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1206
|
-
} & {
|
|
1207
|
-
type: z.ZodLiteral<"launch">;
|
|
1208
|
-
payload: z.ZodOptional<z.ZodObject<{
|
|
1209
|
-
persona: z.ZodOptional<z.ZodString>;
|
|
1210
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1211
|
-
persona: z.ZodOptional<z.ZodString>;
|
|
1212
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1213
|
-
persona: z.ZodOptional<z.ZodString>;
|
|
1214
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
796
|
+
id: string;
|
|
797
|
+
size: number;
|
|
798
|
+
status?: "uploaded" | "failed" | undefined;
|
|
799
|
+
metadata?: Record<string, any> | undefined;
|
|
800
|
+
}[];
|
|
801
|
+
}>, z.ZodObject<{
|
|
802
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
803
|
+
}, "strict", z.ZodTypeAny, {
|
|
804
|
+
type: "continue_conversation";
|
|
805
|
+
}, {
|
|
806
|
+
type: "continue_conversation";
|
|
807
|
+
}>]>;
|
|
1215
808
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1216
809
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1217
810
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1218
811
|
} & {
|
|
1219
|
-
type: z.ZodLiteral<"
|
|
1220
|
-
payload: z.
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
},
|
|
812
|
+
type: z.ZodLiteral<"live-agent-handoff">;
|
|
813
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
814
|
+
type: z.ZodLiteral<"message">;
|
|
815
|
+
message: z.ZodString;
|
|
816
|
+
}, "strict", z.ZodTypeAny, {
|
|
817
|
+
type: "message";
|
|
818
|
+
message: string;
|
|
819
|
+
}, {
|
|
820
|
+
type: "message";
|
|
821
|
+
message: string;
|
|
822
|
+
}>, z.ZodObject<{
|
|
823
|
+
type: z.ZodLiteral<"file_upload">;
|
|
824
|
+
files: z.ZodArray<z.ZodObject<{
|
|
825
|
+
id: z.ZodString;
|
|
826
|
+
name: z.ZodString;
|
|
827
|
+
size: z.ZodNumber;
|
|
828
|
+
type: z.ZodString;
|
|
829
|
+
status: z.ZodOptional<z.ZodEnum<["uploaded", "failed"]>>;
|
|
830
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
831
|
+
}, "strip", z.ZodTypeAny, {
|
|
832
|
+
type: string;
|
|
833
|
+
name: string;
|
|
834
|
+
id: string;
|
|
835
|
+
size: number;
|
|
836
|
+
status?: "uploaded" | "failed" | undefined;
|
|
837
|
+
metadata?: Record<string, any> | undefined;
|
|
838
|
+
}, {
|
|
839
|
+
type: string;
|
|
840
|
+
name: string;
|
|
841
|
+
id: string;
|
|
842
|
+
size: number;
|
|
843
|
+
status?: "uploaded" | "failed" | undefined;
|
|
844
|
+
metadata?: Record<string, any> | undefined;
|
|
845
|
+
}>, "many">;
|
|
846
|
+
}, "strict", z.ZodTypeAny, {
|
|
847
|
+
type: "file_upload";
|
|
848
|
+
files: {
|
|
849
|
+
type: string;
|
|
850
|
+
name: string;
|
|
851
|
+
id: string;
|
|
852
|
+
size: number;
|
|
853
|
+
status?: "uploaded" | "failed" | undefined;
|
|
854
|
+
metadata?: Record<string, any> | undefined;
|
|
855
|
+
}[];
|
|
856
|
+
}, {
|
|
857
|
+
type: "file_upload";
|
|
858
|
+
files: {
|
|
859
|
+
type: string;
|
|
860
|
+
name: string;
|
|
861
|
+
id: string;
|
|
862
|
+
size: number;
|
|
863
|
+
status?: "uploaded" | "failed" | undefined;
|
|
864
|
+
metadata?: Record<string, any> | undefined;
|
|
865
|
+
}[];
|
|
866
|
+
}>, z.ZodObject<{
|
|
867
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
868
|
+
}, "strict", z.ZodTypeAny, {
|
|
869
|
+
type: "continue_conversation";
|
|
870
|
+
}, {
|
|
871
|
+
type: "continue_conversation";
|
|
872
|
+
}>]>;
|
|
1227
873
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
1228
874
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1229
875
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1230
876
|
} & {
|
|
1231
877
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
1232
|
-
payload: z.ZodObject<{
|
|
878
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
1233
879
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1234
880
|
type: z.ZodString;
|
|
1235
881
|
payload: z.ZodUnknown;
|
|
@@ -1240,7 +886,8 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1240
886
|
type: string;
|
|
1241
887
|
payload?: unknown;
|
|
1242
888
|
}>, "many">>;
|
|
1243
|
-
|
|
889
|
+
} & {
|
|
890
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1244
891
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1245
892
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1246
893
|
type: z.ZodString;
|
|
@@ -1252,7 +899,8 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1252
899
|
type: string;
|
|
1253
900
|
payload?: unknown;
|
|
1254
901
|
}>, "many">>;
|
|
1255
|
-
|
|
902
|
+
} & {
|
|
903
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1256
904
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1257
905
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1258
906
|
type: z.ZodString;
|
|
@@ -1264,14 +912,15 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1264
912
|
type: string;
|
|
1265
913
|
payload?: unknown;
|
|
1266
914
|
}>, "many">>;
|
|
1267
|
-
|
|
1268
|
-
|
|
915
|
+
} & {
|
|
916
|
+
label: z.ZodOptional<z.ZodString>;
|
|
917
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1269
918
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1270
919
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1271
920
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1272
921
|
} & {
|
|
1273
922
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
1274
|
-
payload: z.ZodObject<{
|
|
923
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
1275
924
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1276
925
|
type: z.ZodString;
|
|
1277
926
|
payload: z.ZodUnknown;
|
|
@@ -1282,7 +931,8 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1282
931
|
type: string;
|
|
1283
932
|
payload?: unknown;
|
|
1284
933
|
}>, "many">>;
|
|
1285
|
-
|
|
934
|
+
} & {
|
|
935
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1286
936
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1287
937
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1288
938
|
type: z.ZodString;
|
|
@@ -1294,7 +944,8 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1294
944
|
type: string;
|
|
1295
945
|
payload?: unknown;
|
|
1296
946
|
}>, "many">>;
|
|
1297
|
-
|
|
947
|
+
} & {
|
|
948
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1298
949
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1299
950
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1300
951
|
type: z.ZodString;
|
|
@@ -1306,14 +957,15 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1306
957
|
type: string;
|
|
1307
958
|
payload?: unknown;
|
|
1308
959
|
}>, "many">>;
|
|
1309
|
-
|
|
1310
|
-
|
|
960
|
+
} & {
|
|
961
|
+
label: z.ZodOptional<z.ZodString>;
|
|
962
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1311
963
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1312
964
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1313
965
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1314
966
|
} & {
|
|
1315
967
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
1316
|
-
payload: z.ZodObject<{
|
|
968
|
+
payload: z.ZodOptional<z.ZodObject<{
|
|
1317
969
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1318
970
|
type: z.ZodString;
|
|
1319
971
|
payload: z.ZodUnknown;
|
|
@@ -1324,7 +976,8 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1324
976
|
type: string;
|
|
1325
977
|
payload?: unknown;
|
|
1326
978
|
}>, "many">>;
|
|
1327
|
-
|
|
979
|
+
} & {
|
|
980
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1328
981
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1329
982
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1330
983
|
type: z.ZodString;
|
|
@@ -1336,7 +989,8 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1336
989
|
type: string;
|
|
1337
990
|
payload?: unknown;
|
|
1338
991
|
}>, "many">>;
|
|
1339
|
-
|
|
992
|
+
} & {
|
|
993
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1340
994
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1341
995
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1342
996
|
type: z.ZodString;
|
|
@@ -1348,326 +1002,672 @@ export declare const SocketActionSendDTO: z.ZodObject<{
|
|
|
1348
1002
|
type: string;
|
|
1349
1003
|
payload?: unknown;
|
|
1350
1004
|
}>, "many">>;
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1355
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1356
|
-
} & {
|
|
1357
|
-
type: z.ZodLiteral<"no-reply">;
|
|
1358
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1359
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1360
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1361
|
-
} & {
|
|
1362
|
-
type: z.ZodLiteral<"no-reply">;
|
|
1363
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1364
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1365
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1366
|
-
} & {
|
|
1367
|
-
type: z.ZodLiteral<"no-reply">;
|
|
1368
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
1369
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1370
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
-
} & {
|
|
1372
|
-
type: z.ZodLiteral<"text">;
|
|
1373
|
-
payload: z.ZodString;
|
|
1374
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1375
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1376
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1377
|
-
} & {
|
|
1378
|
-
type: z.ZodLiteral<"text">;
|
|
1379
|
-
payload: z.ZodString;
|
|
1380
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1381
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1382
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1383
|
-
} & {
|
|
1384
|
-
type: z.ZodLiteral<"text">;
|
|
1385
|
-
payload: z.ZodString;
|
|
1005
|
+
} & {
|
|
1006
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1007
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1386
1008
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
1387
1009
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1388
1010
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1011
|
+
type: z.ZodLiteral<"intent">;
|
|
1389
1012
|
} & {
|
|
1390
|
-
type: z.ZodLiteral<"message">;
|
|
1391
|
-
payload: z.ZodObject<{
|
|
1392
|
-
message: z.ZodString;
|
|
1393
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1394
|
-
message: z.ZodString;
|
|
1395
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1396
|
-
message: z.ZodString;
|
|
1397
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1398
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1399
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1400
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1401
|
-
} & {
|
|
1402
|
-
type: z.ZodLiteral<"message">;
|
|
1403
|
-
payload: z.ZodObject<{
|
|
1404
|
-
message: z.ZodString;
|
|
1405
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1406
|
-
message: z.ZodString;
|
|
1407
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1408
|
-
message: z.ZodString;
|
|
1409
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1410
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1411
|
-
diagramID: z.ZodOptional<z.ZodString>;
|
|
1412
|
-
time: z.ZodOptional<z.ZodNumber>;
|
|
1413
|
-
} & {
|
|
1414
|
-
type: z.ZodLiteral<"message">;
|
|
1415
1013
|
payload: z.ZodObject<{
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1014
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1015
|
+
type: z.ZodString;
|
|
1016
|
+
payload: z.ZodUnknown;
|
|
1017
|
+
}, "strip", z.ZodTypeAny, {
|
|
1018
|
+
type: string;
|
|
1019
|
+
payload?: unknown;
|
|
1020
|
+
}, {
|
|
1021
|
+
type: string;
|
|
1022
|
+
payload?: unknown;
|
|
1023
|
+
}>, "many">>;
|
|
1024
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
intent: z.ZodObject<{
|
|
1026
|
+
name: z.ZodString;
|
|
1027
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1028
|
+
name: z.ZodString;
|
|
1029
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1030
|
+
name: z.ZodString;
|
|
1031
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1032
|
+
query: z.ZodDefault<z.ZodString>;
|
|
1033
|
+
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1034
|
+
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1035
|
+
name: z.ZodString;
|
|
1036
|
+
value: z.ZodString;
|
|
1037
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
|
+
rawText: z.ZodString;
|
|
1040
|
+
canonicalText: z.ZodString;
|
|
1041
|
+
startIndex: z.ZodNumber;
|
|
1042
|
+
}, "strip", z.ZodTypeAny, {
|
|
1043
|
+
rawText: string;
|
|
1044
|
+
canonicalText: string;
|
|
1045
|
+
startIndex: number;
|
|
1046
|
+
}, {
|
|
1047
|
+
rawText: string;
|
|
1048
|
+
canonicalText: string;
|
|
1049
|
+
startIndex: number;
|
|
1050
|
+
}>, "many">>;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
value: string;
|
|
1053
|
+
name: string;
|
|
1054
|
+
query?: string | undefined;
|
|
1055
|
+
verboseValue?: {
|
|
1056
|
+
rawText: string;
|
|
1057
|
+
canonicalText: string;
|
|
1058
|
+
startIndex: number;
|
|
1059
|
+
}[] | undefined;
|
|
1060
|
+
}, {
|
|
1061
|
+
value: string;
|
|
1062
|
+
name: string;
|
|
1063
|
+
query?: string | undefined;
|
|
1064
|
+
verboseValue?: {
|
|
1065
|
+
rawText: string;
|
|
1066
|
+
canonicalText: string;
|
|
1067
|
+
startIndex: number;
|
|
1068
|
+
}[] | undefined;
|
|
1069
|
+
}>, "many">>;
|
|
1070
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
+
}, "strip", z.ZodTypeAny, {
|
|
1072
|
+
intent: {
|
|
1073
|
+
name: string;
|
|
1074
|
+
} & {
|
|
1075
|
+
[k: string]: unknown;
|
|
1076
|
+
};
|
|
1077
|
+
query: string;
|
|
1078
|
+
data: Record<string, any>;
|
|
1079
|
+
entities: {
|
|
1080
|
+
value: string;
|
|
1081
|
+
name: string;
|
|
1082
|
+
query?: string | undefined;
|
|
1083
|
+
verboseValue?: {
|
|
1084
|
+
rawText: string;
|
|
1085
|
+
canonicalText: string;
|
|
1086
|
+
startIndex: number;
|
|
1087
|
+
}[] | undefined;
|
|
1088
|
+
}[];
|
|
1089
|
+
actions?: {
|
|
1090
|
+
type: string;
|
|
1091
|
+
payload?: unknown;
|
|
1092
|
+
}[] | undefined;
|
|
1093
|
+
label?: string | undefined;
|
|
1094
|
+
confidence?: number | undefined;
|
|
1095
|
+
}, {
|
|
1096
|
+
intent: {
|
|
1097
|
+
name: string;
|
|
1098
|
+
} & {
|
|
1099
|
+
[k: string]: unknown;
|
|
1100
|
+
};
|
|
1101
|
+
data: Record<string, any>;
|
|
1102
|
+
actions?: {
|
|
1103
|
+
type: string;
|
|
1104
|
+
payload?: unknown;
|
|
1105
|
+
}[] | undefined;
|
|
1106
|
+
label?: string | undefined;
|
|
1107
|
+
query?: string | undefined;
|
|
1108
|
+
entities?: {
|
|
1109
|
+
value: string;
|
|
1110
|
+
name: string;
|
|
1111
|
+
query?: string | undefined;
|
|
1112
|
+
verboseValue?: {
|
|
1113
|
+
rawText: string;
|
|
1114
|
+
canonicalText: string;
|
|
1115
|
+
startIndex: number;
|
|
1116
|
+
}[] | undefined;
|
|
1117
|
+
}[] | undefined;
|
|
1118
|
+
confidence?: number | undefined;
|
|
1119
|
+
}>;
|
|
1464
1120
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1465
1121
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1466
1122
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1123
|
+
type: z.ZodLiteral<"intent">;
|
|
1467
1124
|
} & {
|
|
1468
|
-
|
|
1469
|
-
|
|
1125
|
+
payload: z.ZodObject<{
|
|
1126
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1127
|
+
type: z.ZodString;
|
|
1128
|
+
payload: z.ZodUnknown;
|
|
1129
|
+
}, "strip", z.ZodTypeAny, {
|
|
1130
|
+
type: string;
|
|
1131
|
+
payload?: unknown;
|
|
1132
|
+
}, {
|
|
1133
|
+
type: string;
|
|
1134
|
+
payload?: unknown;
|
|
1135
|
+
}>, "many">>;
|
|
1136
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
intent: z.ZodObject<{
|
|
1138
|
+
name: z.ZodString;
|
|
1139
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1140
|
+
name: z.ZodString;
|
|
1141
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1142
|
+
name: z.ZodString;
|
|
1143
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1144
|
+
query: z.ZodDefault<z.ZodString>;
|
|
1145
|
+
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1146
|
+
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1147
|
+
name: z.ZodString;
|
|
1148
|
+
value: z.ZodString;
|
|
1149
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1151
|
+
rawText: z.ZodString;
|
|
1152
|
+
canonicalText: z.ZodString;
|
|
1153
|
+
startIndex: z.ZodNumber;
|
|
1154
|
+
}, "strip", z.ZodTypeAny, {
|
|
1155
|
+
rawText: string;
|
|
1156
|
+
canonicalText: string;
|
|
1157
|
+
startIndex: number;
|
|
1158
|
+
}, {
|
|
1159
|
+
rawText: string;
|
|
1160
|
+
canonicalText: string;
|
|
1161
|
+
startIndex: number;
|
|
1162
|
+
}>, "many">>;
|
|
1163
|
+
}, "strip", z.ZodTypeAny, {
|
|
1164
|
+
value: string;
|
|
1165
|
+
name: string;
|
|
1166
|
+
query?: string | undefined;
|
|
1167
|
+
verboseValue?: {
|
|
1168
|
+
rawText: string;
|
|
1169
|
+
canonicalText: string;
|
|
1170
|
+
startIndex: number;
|
|
1171
|
+
}[] | undefined;
|
|
1172
|
+
}, {
|
|
1173
|
+
value: string;
|
|
1174
|
+
name: string;
|
|
1175
|
+
query?: string | undefined;
|
|
1176
|
+
verboseValue?: {
|
|
1177
|
+
rawText: string;
|
|
1178
|
+
canonicalText: string;
|
|
1179
|
+
startIndex: number;
|
|
1180
|
+
}[] | undefined;
|
|
1181
|
+
}>, "many">>;
|
|
1182
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1183
|
+
}, "strip", z.ZodTypeAny, {
|
|
1184
|
+
intent: {
|
|
1185
|
+
name: string;
|
|
1186
|
+
} & {
|
|
1187
|
+
[k: string]: unknown;
|
|
1188
|
+
};
|
|
1189
|
+
query: string;
|
|
1190
|
+
data: Record<string, any>;
|
|
1191
|
+
entities: {
|
|
1192
|
+
value: string;
|
|
1193
|
+
name: string;
|
|
1194
|
+
query?: string | undefined;
|
|
1195
|
+
verboseValue?: {
|
|
1196
|
+
rawText: string;
|
|
1197
|
+
canonicalText: string;
|
|
1198
|
+
startIndex: number;
|
|
1199
|
+
}[] | undefined;
|
|
1200
|
+
}[];
|
|
1201
|
+
actions?: {
|
|
1202
|
+
type: string;
|
|
1203
|
+
payload?: unknown;
|
|
1204
|
+
}[] | undefined;
|
|
1205
|
+
label?: string | undefined;
|
|
1206
|
+
confidence?: number | undefined;
|
|
1207
|
+
}, {
|
|
1208
|
+
intent: {
|
|
1209
|
+
name: string;
|
|
1210
|
+
} & {
|
|
1211
|
+
[k: string]: unknown;
|
|
1212
|
+
};
|
|
1213
|
+
data: Record<string, any>;
|
|
1214
|
+
actions?: {
|
|
1215
|
+
type: string;
|
|
1216
|
+
payload?: unknown;
|
|
1217
|
+
}[] | undefined;
|
|
1218
|
+
label?: string | undefined;
|
|
1219
|
+
query?: string | undefined;
|
|
1220
|
+
entities?: {
|
|
1221
|
+
value: string;
|
|
1222
|
+
name: string;
|
|
1223
|
+
query?: string | undefined;
|
|
1224
|
+
verboseValue?: {
|
|
1225
|
+
rawText: string;
|
|
1226
|
+
canonicalText: string;
|
|
1227
|
+
startIndex: number;
|
|
1228
|
+
}[] | undefined;
|
|
1229
|
+
}[] | undefined;
|
|
1230
|
+
confidence?: number | undefined;
|
|
1231
|
+
}>;
|
|
1470
1232
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1471
1233
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1472
1234
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1235
|
+
type: z.ZodLiteral<"intent">;
|
|
1473
1236
|
} & {
|
|
1474
|
-
|
|
1475
|
-
|
|
1237
|
+
payload: z.ZodObject<{
|
|
1238
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1239
|
+
type: z.ZodString;
|
|
1240
|
+
payload: z.ZodUnknown;
|
|
1241
|
+
}, "strip", z.ZodTypeAny, {
|
|
1242
|
+
type: string;
|
|
1243
|
+
payload?: unknown;
|
|
1244
|
+
}, {
|
|
1245
|
+
type: string;
|
|
1246
|
+
payload?: unknown;
|
|
1247
|
+
}>, "many">>;
|
|
1248
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
intent: z.ZodObject<{
|
|
1250
|
+
name: z.ZodString;
|
|
1251
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1252
|
+
name: z.ZodString;
|
|
1253
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1254
|
+
name: z.ZodString;
|
|
1255
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1256
|
+
query: z.ZodDefault<z.ZodString>;
|
|
1257
|
+
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1258
|
+
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1259
|
+
name: z.ZodString;
|
|
1260
|
+
value: z.ZodString;
|
|
1261
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1263
|
+
rawText: z.ZodString;
|
|
1264
|
+
canonicalText: z.ZodString;
|
|
1265
|
+
startIndex: z.ZodNumber;
|
|
1266
|
+
}, "strip", z.ZodTypeAny, {
|
|
1267
|
+
rawText: string;
|
|
1268
|
+
canonicalText: string;
|
|
1269
|
+
startIndex: number;
|
|
1270
|
+
}, {
|
|
1271
|
+
rawText: string;
|
|
1272
|
+
canonicalText: string;
|
|
1273
|
+
startIndex: number;
|
|
1274
|
+
}>, "many">>;
|
|
1275
|
+
}, "strip", z.ZodTypeAny, {
|
|
1276
|
+
value: string;
|
|
1277
|
+
name: string;
|
|
1278
|
+
query?: string | undefined;
|
|
1279
|
+
verboseValue?: {
|
|
1280
|
+
rawText: string;
|
|
1281
|
+
canonicalText: string;
|
|
1282
|
+
startIndex: number;
|
|
1283
|
+
}[] | undefined;
|
|
1284
|
+
}, {
|
|
1285
|
+
value: string;
|
|
1286
|
+
name: string;
|
|
1287
|
+
query?: string | undefined;
|
|
1288
|
+
verboseValue?: {
|
|
1289
|
+
rawText: string;
|
|
1290
|
+
canonicalText: string;
|
|
1291
|
+
startIndex: number;
|
|
1292
|
+
}[] | undefined;
|
|
1293
|
+
}>, "many">>;
|
|
1294
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1295
|
+
}, "strip", z.ZodTypeAny, {
|
|
1296
|
+
intent: {
|
|
1297
|
+
name: string;
|
|
1298
|
+
} & {
|
|
1299
|
+
[k: string]: unknown;
|
|
1300
|
+
};
|
|
1301
|
+
query: string;
|
|
1302
|
+
data: Record<string, any>;
|
|
1303
|
+
entities: {
|
|
1304
|
+
value: string;
|
|
1305
|
+
name: string;
|
|
1306
|
+
query?: string | undefined;
|
|
1307
|
+
verboseValue?: {
|
|
1308
|
+
rawText: string;
|
|
1309
|
+
canonicalText: string;
|
|
1310
|
+
startIndex: number;
|
|
1311
|
+
}[] | undefined;
|
|
1312
|
+
}[];
|
|
1313
|
+
actions?: {
|
|
1314
|
+
type: string;
|
|
1315
|
+
payload?: unknown;
|
|
1316
|
+
}[] | undefined;
|
|
1317
|
+
label?: string | undefined;
|
|
1318
|
+
confidence?: number | undefined;
|
|
1319
|
+
}, {
|
|
1320
|
+
intent: {
|
|
1321
|
+
name: string;
|
|
1322
|
+
} & {
|
|
1323
|
+
[k: string]: unknown;
|
|
1324
|
+
};
|
|
1325
|
+
data: Record<string, any>;
|
|
1326
|
+
actions?: {
|
|
1327
|
+
type: string;
|
|
1328
|
+
payload?: unknown;
|
|
1329
|
+
}[] | undefined;
|
|
1330
|
+
label?: string | undefined;
|
|
1331
|
+
query?: string | undefined;
|
|
1332
|
+
entities?: {
|
|
1333
|
+
value: string;
|
|
1334
|
+
name: string;
|
|
1335
|
+
query?: string | undefined;
|
|
1336
|
+
verboseValue?: {
|
|
1337
|
+
rawText: string;
|
|
1338
|
+
canonicalText: string;
|
|
1339
|
+
startIndex: number;
|
|
1340
|
+
}[] | undefined;
|
|
1341
|
+
}[] | undefined;
|
|
1342
|
+
confidence?: number | undefined;
|
|
1343
|
+
}>;
|
|
1476
1344
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
1477
1345
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1478
1346
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1347
|
+
type: z.ZodLiteral<"intent">;
|
|
1479
1348
|
} & {
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
type: z.ZodLiteral<"message">;
|
|
1483
|
-
message: z.ZodString;
|
|
1484
|
-
}, "strict", z.ZodTypeAny, {
|
|
1485
|
-
type: "message";
|
|
1486
|
-
message: string;
|
|
1487
|
-
}, {
|
|
1488
|
-
type: "message";
|
|
1489
|
-
message: string;
|
|
1490
|
-
}>, z.ZodObject<{
|
|
1491
|
-
type: z.ZodLiteral<"file_upload">;
|
|
1492
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1493
|
-
id: z.ZodString;
|
|
1494
|
-
name: z.ZodString;
|
|
1495
|
-
size: z.ZodNumber;
|
|
1349
|
+
payload: z.ZodObject<{
|
|
1350
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1496
1351
|
type: z.ZodString;
|
|
1497
|
-
|
|
1498
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1352
|
+
payload: z.ZodUnknown;
|
|
1499
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1500
1354
|
type: string;
|
|
1501
|
-
|
|
1502
|
-
id: string;
|
|
1503
|
-
size: number;
|
|
1504
|
-
status?: "uploaded" | "failed" | undefined;
|
|
1505
|
-
metadata?: Record<string, any> | undefined;
|
|
1355
|
+
payload?: unknown;
|
|
1506
1356
|
}, {
|
|
1507
1357
|
type: string;
|
|
1358
|
+
payload?: unknown;
|
|
1359
|
+
}>, "many">>;
|
|
1360
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
intent: z.ZodObject<{
|
|
1362
|
+
name: z.ZodString;
|
|
1363
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1364
|
+
name: z.ZodString;
|
|
1365
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1366
|
+
name: z.ZodString;
|
|
1367
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1368
|
+
query: z.ZodDefault<z.ZodString>;
|
|
1369
|
+
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1370
|
+
name: z.ZodString;
|
|
1371
|
+
value: z.ZodString;
|
|
1372
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1374
|
+
rawText: z.ZodString;
|
|
1375
|
+
canonicalText: z.ZodString;
|
|
1376
|
+
startIndex: z.ZodNumber;
|
|
1377
|
+
}, "strip", z.ZodTypeAny, {
|
|
1378
|
+
rawText: string;
|
|
1379
|
+
canonicalText: string;
|
|
1380
|
+
startIndex: number;
|
|
1381
|
+
}, {
|
|
1382
|
+
rawText: string;
|
|
1383
|
+
canonicalText: string;
|
|
1384
|
+
startIndex: number;
|
|
1385
|
+
}>, "many">>;
|
|
1386
|
+
}, "strip", z.ZodTypeAny, {
|
|
1387
|
+
value: string;
|
|
1508
1388
|
name: string;
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
type: string;
|
|
1389
|
+
query?: string | undefined;
|
|
1390
|
+
verboseValue?: {
|
|
1391
|
+
rawText: string;
|
|
1392
|
+
canonicalText: string;
|
|
1393
|
+
startIndex: number;
|
|
1394
|
+
}[] | undefined;
|
|
1395
|
+
}, {
|
|
1396
|
+
value: string;
|
|
1518
1397
|
name: string;
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1398
|
+
query?: string | undefined;
|
|
1399
|
+
verboseValue?: {
|
|
1400
|
+
rawText: string;
|
|
1401
|
+
canonicalText: string;
|
|
1402
|
+
startIndex: number;
|
|
1403
|
+
}[] | undefined;
|
|
1404
|
+
}>, "many">>;
|
|
1405
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1406
|
+
}, "strip", z.ZodTypeAny, {
|
|
1407
|
+
intent: {
|
|
1408
|
+
name: string;
|
|
1409
|
+
} & {
|
|
1410
|
+
[k: string]: unknown;
|
|
1411
|
+
};
|
|
1412
|
+
query: string;
|
|
1413
|
+
entities: {
|
|
1414
|
+
value: string;
|
|
1415
|
+
name: string;
|
|
1416
|
+
query?: string | undefined;
|
|
1417
|
+
verboseValue?: {
|
|
1418
|
+
rawText: string;
|
|
1419
|
+
canonicalText: string;
|
|
1420
|
+
startIndex: number;
|
|
1421
|
+
}[] | undefined;
|
|
1523
1422
|
}[];
|
|
1423
|
+
actions?: {
|
|
1424
|
+
type: string;
|
|
1425
|
+
payload?: unknown;
|
|
1426
|
+
}[] | undefined;
|
|
1427
|
+
label?: string | undefined;
|
|
1428
|
+
confidence?: number | undefined;
|
|
1524
1429
|
}, {
|
|
1525
|
-
|
|
1526
|
-
|
|
1430
|
+
intent: {
|
|
1431
|
+
name: string;
|
|
1432
|
+
} & {
|
|
1433
|
+
[k: string]: unknown;
|
|
1434
|
+
};
|
|
1435
|
+
actions?: {
|
|
1527
1436
|
type: string;
|
|
1437
|
+
payload?: unknown;
|
|
1438
|
+
}[] | undefined;
|
|
1439
|
+
label?: string | undefined;
|
|
1440
|
+
query?: string | undefined;
|
|
1441
|
+
entities?: {
|
|
1442
|
+
value: string;
|
|
1528
1443
|
name: string;
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
}, {
|
|
1539
|
-
type: "continue_conversation";
|
|
1540
|
-
}>]>;
|
|
1444
|
+
query?: string | undefined;
|
|
1445
|
+
verboseValue?: {
|
|
1446
|
+
rawText: string;
|
|
1447
|
+
canonicalText: string;
|
|
1448
|
+
startIndex: number;
|
|
1449
|
+
}[] | undefined;
|
|
1450
|
+
}[] | undefined;
|
|
1451
|
+
confidence?: number | undefined;
|
|
1452
|
+
}>;
|
|
1541
1453
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1542
1454
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1543
1455
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1456
|
+
type: z.ZodLiteral<"intent">;
|
|
1544
1457
|
} & {
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1458
|
+
payload: z.ZodObject<{
|
|
1459
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1460
|
+
type: z.ZodString;
|
|
1461
|
+
payload: z.ZodUnknown;
|
|
1462
|
+
}, "strip", z.ZodTypeAny, {
|
|
1463
|
+
type: string;
|
|
1464
|
+
payload?: unknown;
|
|
1465
|
+
}, {
|
|
1466
|
+
type: string;
|
|
1467
|
+
payload?: unknown;
|
|
1468
|
+
}>, "many">>;
|
|
1469
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
intent: z.ZodObject<{
|
|
1471
|
+
name: z.ZodString;
|
|
1472
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1473
|
+
name: z.ZodString;
|
|
1474
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1475
|
+
name: z.ZodString;
|
|
1476
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1477
|
+
query: z.ZodDefault<z.ZodString>;
|
|
1478
|
+
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1559
1479
|
name: z.ZodString;
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1480
|
+
value: z.ZodString;
|
|
1481
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1483
|
+
rawText: z.ZodString;
|
|
1484
|
+
canonicalText: z.ZodString;
|
|
1485
|
+
startIndex: z.ZodNumber;
|
|
1486
|
+
}, "strip", z.ZodTypeAny, {
|
|
1487
|
+
rawText: string;
|
|
1488
|
+
canonicalText: string;
|
|
1489
|
+
startIndex: number;
|
|
1490
|
+
}, {
|
|
1491
|
+
rawText: string;
|
|
1492
|
+
canonicalText: string;
|
|
1493
|
+
startIndex: number;
|
|
1494
|
+
}>, "many">>;
|
|
1564
1495
|
}, "strip", z.ZodTypeAny, {
|
|
1565
|
-
|
|
1496
|
+
value: string;
|
|
1566
1497
|
name: string;
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1498
|
+
query?: string | undefined;
|
|
1499
|
+
verboseValue?: {
|
|
1500
|
+
rawText: string;
|
|
1501
|
+
canonicalText: string;
|
|
1502
|
+
startIndex: number;
|
|
1503
|
+
}[] | undefined;
|
|
1571
1504
|
}, {
|
|
1572
|
-
|
|
1505
|
+
value: string;
|
|
1573
1506
|
name: string;
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1507
|
+
query?: string | undefined;
|
|
1508
|
+
verboseValue?: {
|
|
1509
|
+
rawText: string;
|
|
1510
|
+
canonicalText: string;
|
|
1511
|
+
startIndex: number;
|
|
1512
|
+
}[] | undefined;
|
|
1513
|
+
}>, "many">>;
|
|
1514
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1515
|
+
}, "strip", z.ZodTypeAny, {
|
|
1516
|
+
intent: {
|
|
1583
1517
|
name: string;
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1518
|
+
} & {
|
|
1519
|
+
[k: string]: unknown;
|
|
1520
|
+
};
|
|
1521
|
+
query: string;
|
|
1522
|
+
entities: {
|
|
1523
|
+
value: string;
|
|
1524
|
+
name: string;
|
|
1525
|
+
query?: string | undefined;
|
|
1526
|
+
verboseValue?: {
|
|
1527
|
+
rawText: string;
|
|
1528
|
+
canonicalText: string;
|
|
1529
|
+
startIndex: number;
|
|
1530
|
+
}[] | undefined;
|
|
1588
1531
|
}[];
|
|
1532
|
+
actions?: {
|
|
1533
|
+
type: string;
|
|
1534
|
+
payload?: unknown;
|
|
1535
|
+
}[] | undefined;
|
|
1536
|
+
label?: string | undefined;
|
|
1537
|
+
confidence?: number | undefined;
|
|
1589
1538
|
}, {
|
|
1590
|
-
|
|
1591
|
-
|
|
1539
|
+
intent: {
|
|
1540
|
+
name: string;
|
|
1541
|
+
} & {
|
|
1542
|
+
[k: string]: unknown;
|
|
1543
|
+
};
|
|
1544
|
+
actions?: {
|
|
1592
1545
|
type: string;
|
|
1546
|
+
payload?: unknown;
|
|
1547
|
+
}[] | undefined;
|
|
1548
|
+
label?: string | undefined;
|
|
1549
|
+
query?: string | undefined;
|
|
1550
|
+
entities?: {
|
|
1551
|
+
value: string;
|
|
1593
1552
|
name: string;
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
}, {
|
|
1604
|
-
type: "continue_conversation";
|
|
1605
|
-
}>]>;
|
|
1553
|
+
query?: string | undefined;
|
|
1554
|
+
verboseValue?: {
|
|
1555
|
+
rawText: string;
|
|
1556
|
+
canonicalText: string;
|
|
1557
|
+
startIndex: number;
|
|
1558
|
+
}[] | undefined;
|
|
1559
|
+
}[] | undefined;
|
|
1560
|
+
confidence?: number | undefined;
|
|
1561
|
+
}>;
|
|
1606
1562
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1607
1563
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1608
1564
|
time: z.ZodOptional<z.ZodNumber>;
|
|
1565
|
+
type: z.ZodLiteral<"intent">;
|
|
1609
1566
|
} & {
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
type: z.ZodLiteral<"message">;
|
|
1613
|
-
message: z.ZodString;
|
|
1614
|
-
}, "strict", z.ZodTypeAny, {
|
|
1615
|
-
type: "message";
|
|
1616
|
-
message: string;
|
|
1617
|
-
}, {
|
|
1618
|
-
type: "message";
|
|
1619
|
-
message: string;
|
|
1620
|
-
}>, z.ZodObject<{
|
|
1621
|
-
type: z.ZodLiteral<"file_upload">;
|
|
1622
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1623
|
-
id: z.ZodString;
|
|
1624
|
-
name: z.ZodString;
|
|
1625
|
-
size: z.ZodNumber;
|
|
1567
|
+
payload: z.ZodObject<{
|
|
1568
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1626
1569
|
type: z.ZodString;
|
|
1627
|
-
|
|
1628
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1570
|
+
payload: z.ZodUnknown;
|
|
1629
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1572
|
type: string;
|
|
1631
|
-
|
|
1632
|
-
id: string;
|
|
1633
|
-
size: number;
|
|
1634
|
-
status?: "uploaded" | "failed" | undefined;
|
|
1635
|
-
metadata?: Record<string, any> | undefined;
|
|
1573
|
+
payload?: unknown;
|
|
1636
1574
|
}, {
|
|
1637
1575
|
type: string;
|
|
1576
|
+
payload?: unknown;
|
|
1577
|
+
}>, "many">>;
|
|
1578
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
intent: z.ZodObject<{
|
|
1580
|
+
name: z.ZodString;
|
|
1581
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1582
|
+
name: z.ZodString;
|
|
1583
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1584
|
+
name: z.ZodString;
|
|
1585
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1586
|
+
query: z.ZodDefault<z.ZodString>;
|
|
1587
|
+
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1588
|
+
name: z.ZodString;
|
|
1589
|
+
value: z.ZodString;
|
|
1590
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
verboseValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1592
|
+
rawText: z.ZodString;
|
|
1593
|
+
canonicalText: z.ZodString;
|
|
1594
|
+
startIndex: z.ZodNumber;
|
|
1595
|
+
}, "strip", z.ZodTypeAny, {
|
|
1596
|
+
rawText: string;
|
|
1597
|
+
canonicalText: string;
|
|
1598
|
+
startIndex: number;
|
|
1599
|
+
}, {
|
|
1600
|
+
rawText: string;
|
|
1601
|
+
canonicalText: string;
|
|
1602
|
+
startIndex: number;
|
|
1603
|
+
}>, "many">>;
|
|
1604
|
+
}, "strip", z.ZodTypeAny, {
|
|
1605
|
+
value: string;
|
|
1638
1606
|
name: string;
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
type: string;
|
|
1607
|
+
query?: string | undefined;
|
|
1608
|
+
verboseValue?: {
|
|
1609
|
+
rawText: string;
|
|
1610
|
+
canonicalText: string;
|
|
1611
|
+
startIndex: number;
|
|
1612
|
+
}[] | undefined;
|
|
1613
|
+
}, {
|
|
1614
|
+
value: string;
|
|
1648
1615
|
name: string;
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1616
|
+
query?: string | undefined;
|
|
1617
|
+
verboseValue?: {
|
|
1618
|
+
rawText: string;
|
|
1619
|
+
canonicalText: string;
|
|
1620
|
+
startIndex: number;
|
|
1621
|
+
}[] | undefined;
|
|
1622
|
+
}>, "many">>;
|
|
1623
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
}, "strip", z.ZodTypeAny, {
|
|
1625
|
+
intent: {
|
|
1626
|
+
name: string;
|
|
1627
|
+
} & {
|
|
1628
|
+
[k: string]: unknown;
|
|
1629
|
+
};
|
|
1630
|
+
query: string;
|
|
1631
|
+
entities: {
|
|
1632
|
+
value: string;
|
|
1633
|
+
name: string;
|
|
1634
|
+
query?: string | undefined;
|
|
1635
|
+
verboseValue?: {
|
|
1636
|
+
rawText: string;
|
|
1637
|
+
canonicalText: string;
|
|
1638
|
+
startIndex: number;
|
|
1639
|
+
}[] | undefined;
|
|
1653
1640
|
}[];
|
|
1641
|
+
actions?: {
|
|
1642
|
+
type: string;
|
|
1643
|
+
payload?: unknown;
|
|
1644
|
+
}[] | undefined;
|
|
1645
|
+
label?: string | undefined;
|
|
1646
|
+
confidence?: number | undefined;
|
|
1654
1647
|
}, {
|
|
1655
|
-
|
|
1656
|
-
|
|
1648
|
+
intent: {
|
|
1649
|
+
name: string;
|
|
1650
|
+
} & {
|
|
1651
|
+
[k: string]: unknown;
|
|
1652
|
+
};
|
|
1653
|
+
actions?: {
|
|
1657
1654
|
type: string;
|
|
1655
|
+
payload?: unknown;
|
|
1656
|
+
}[] | undefined;
|
|
1657
|
+
label?: string | undefined;
|
|
1658
|
+
query?: string | undefined;
|
|
1659
|
+
entities?: {
|
|
1660
|
+
value: string;
|
|
1658
1661
|
name: string;
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
}, {
|
|
1669
|
-
type: "continue_conversation";
|
|
1670
|
-
}>]>;
|
|
1662
|
+
query?: string | undefined;
|
|
1663
|
+
verboseValue?: {
|
|
1664
|
+
rawText: string;
|
|
1665
|
+
canonicalText: string;
|
|
1666
|
+
startIndex: number;
|
|
1667
|
+
}[] | undefined;
|
|
1668
|
+
}[] | undefined;
|
|
1669
|
+
confidence?: number | undefined;
|
|
1670
|
+
}>;
|
|
1671
1671
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
1672
1672
|
canInterrupt: z.ZodOptional<z.ZodBoolean>;
|
|
1673
1673
|
queueable: z.ZodOptional<z.ZodBoolean>;
|