@voiceflow/dtos-interact 1.6.0 → 1.7.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/chat-settings/chat-settings.constant.d.ts +14 -0
- package/build/cjs/chat-settings/chat-settings.constant.d.ts.map +1 -0
- package/build/cjs/chat-settings/chat-settings.constant.js +17 -0
- package/build/cjs/chat-settings/chat-settings.constant.js.map +1 -0
- package/build/cjs/chat-settings/chat-settings.dto.d.ts +854 -0
- package/build/cjs/chat-settings/chat-settings.dto.d.ts.map +1 -0
- package/build/cjs/chat-settings/chat-settings.dto.js +85 -0
- package/build/cjs/chat-settings/chat-settings.dto.js.map +1 -0
- package/build/cjs/chat-settings/chat-settings.enum.d.ts +30 -0
- package/build/cjs/chat-settings/chat-settings.enum.d.ts.map +1 -0
- package/build/cjs/chat-settings/chat-settings.enum.js +27 -0
- package/build/cjs/chat-settings/chat-settings.enum.js.map +1 -0
- package/build/cjs/main.d.ts +3 -0
- package/build/cjs/main.d.ts.map +1 -1
- package/build/cjs/main.js +3 -0
- package/build/cjs/main.js.map +1 -1
- package/build/cjs/request/any-request.dto.d.ts +37 -37
- package/build/cjs/request/event-request.dto.d.ts +8 -8
- package/build/cjs/request/general/path-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/alexa-intent-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/general-intent-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/intent-request.dto.d.ts +8 -8
- package/build/cjs/trace/any.dto.d.ts +56 -56
- package/build/cjs/trace/card.dto.d.ts +20 -20
- package/build/cjs/trace/carousel.dto.d.ts +50 -50
- package/build/cjs/trace/entity-filling.dto.d.ts +9 -9
- package/build/esm/chat-settings/chat-settings.constant.d.ts +14 -0
- package/build/esm/chat-settings/chat-settings.constant.d.ts.map +1 -0
- package/build/esm/chat-settings/chat-settings.constant.js +14 -0
- package/build/esm/chat-settings/chat-settings.constant.js.map +1 -0
- package/build/esm/chat-settings/chat-settings.dto.d.ts +854 -0
- package/build/esm/chat-settings/chat-settings.dto.d.ts.map +1 -0
- package/build/esm/chat-settings/chat-settings.dto.js +82 -0
- package/build/esm/chat-settings/chat-settings.dto.js.map +1 -0
- package/build/esm/chat-settings/chat-settings.enum.d.ts +30 -0
- package/build/esm/chat-settings/chat-settings.enum.d.ts.map +1 -0
- package/build/esm/chat-settings/chat-settings.enum.js +24 -0
- package/build/esm/chat-settings/chat-settings.enum.js.map +1 -0
- package/build/esm/main.d.ts +3 -0
- package/build/esm/main.d.ts.map +1 -1
- package/build/esm/main.js +3 -0
- package/build/esm/main.js.map +1 -1
- package/build/esm/request/any-request.dto.d.ts +37 -37
- package/build/esm/request/event-request.dto.d.ts +8 -8
- package/build/esm/request/general/path-request.dto.d.ts +9 -9
- package/build/esm/request/intent/alexa-intent-request.dto.d.ts +9 -9
- package/build/esm/request/intent/general-intent-request.dto.d.ts +9 -9
- package/build/esm/request/intent/intent-request.dto.d.ts +8 -8
- package/build/esm/trace/any.dto.d.ts +56 -56
- package/build/esm/trace/card.dto.d.ts +20 -20
- package/build/esm/trace/carousel.dto.d.ts +50 -50
- package/build/esm/trace/entity-filling.dto.d.ts +9 -9
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const EventRequestPayloadDTO: z.ZodObject<{
|
|
3
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3
4
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4
5
|
type: z.ZodString;
|
|
5
6
|
payload: z.ZodUnknown;
|
|
@@ -10,7 +11,6 @@ export declare const EventRequestPayloadDTO: z.ZodObject<{
|
|
|
10
11
|
type: string;
|
|
11
12
|
payload?: unknown;
|
|
12
13
|
}>, "many">>;
|
|
13
|
-
label: z.ZodOptional<z.ZodString>;
|
|
14
14
|
event: z.ZodObject<{
|
|
15
15
|
name: z.ZodString;
|
|
16
16
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -24,27 +24,28 @@ export declare const EventRequestPayloadDTO: z.ZodObject<{
|
|
|
24
24
|
} & {
|
|
25
25
|
[k: string]: unknown;
|
|
26
26
|
};
|
|
27
|
+
label?: string | undefined;
|
|
27
28
|
actions?: {
|
|
28
29
|
type: string;
|
|
29
30
|
payload?: unknown;
|
|
30
31
|
}[] | undefined;
|
|
31
|
-
label?: string | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
event: {
|
|
34
34
|
name: string;
|
|
35
35
|
} & {
|
|
36
36
|
[k: string]: unknown;
|
|
37
37
|
};
|
|
38
|
+
label?: string | undefined;
|
|
38
39
|
actions?: {
|
|
39
40
|
type: string;
|
|
40
41
|
payload?: unknown;
|
|
41
42
|
}[] | undefined;
|
|
42
|
-
label?: string | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
export declare const EventRequestDTO: z.ZodObject<{
|
|
45
45
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
46
46
|
type: z.ZodLiteral<"event">;
|
|
47
47
|
payload: z.ZodObject<{
|
|
48
|
+
label: z.ZodOptional<z.ZodString>;
|
|
48
49
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49
50
|
type: z.ZodString;
|
|
50
51
|
payload: z.ZodUnknown;
|
|
@@ -55,7 +56,6 @@ export declare const EventRequestDTO: z.ZodObject<{
|
|
|
55
56
|
type: string;
|
|
56
57
|
payload?: unknown;
|
|
57
58
|
}>, "many">>;
|
|
58
|
-
label: z.ZodOptional<z.ZodString>;
|
|
59
59
|
event: z.ZodObject<{
|
|
60
60
|
name: z.ZodString;
|
|
61
61
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -69,22 +69,22 @@ export declare const EventRequestDTO: z.ZodObject<{
|
|
|
69
69
|
} & {
|
|
70
70
|
[k: string]: unknown;
|
|
71
71
|
};
|
|
72
|
+
label?: string | undefined;
|
|
72
73
|
actions?: {
|
|
73
74
|
type: string;
|
|
74
75
|
payload?: unknown;
|
|
75
76
|
}[] | undefined;
|
|
76
|
-
label?: string | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
event: {
|
|
79
79
|
name: string;
|
|
80
80
|
} & {
|
|
81
81
|
[k: string]: unknown;
|
|
82
82
|
};
|
|
83
|
+
label?: string | undefined;
|
|
83
84
|
actions?: {
|
|
84
85
|
type: string;
|
|
85
86
|
payload?: unknown;
|
|
86
87
|
}[] | undefined;
|
|
87
|
-
label?: string | undefined;
|
|
88
88
|
}>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
type: "event";
|
|
@@ -94,11 +94,11 @@ export declare const EventRequestDTO: z.ZodObject<{
|
|
|
94
94
|
} & {
|
|
95
95
|
[k: string]: unknown;
|
|
96
96
|
};
|
|
97
|
+
label?: string | undefined;
|
|
97
98
|
actions?: {
|
|
98
99
|
type: string;
|
|
99
100
|
payload?: unknown;
|
|
100
101
|
}[] | undefined;
|
|
101
|
-
label?: string | undefined;
|
|
102
102
|
};
|
|
103
103
|
diagramID?: string | undefined;
|
|
104
104
|
}, {
|
|
@@ -109,11 +109,11 @@ export declare const EventRequestDTO: z.ZodObject<{
|
|
|
109
109
|
} & {
|
|
110
110
|
[k: string]: unknown;
|
|
111
111
|
};
|
|
112
|
+
label?: string | undefined;
|
|
112
113
|
actions?: {
|
|
113
114
|
type: string;
|
|
114
115
|
payload?: unknown;
|
|
115
116
|
}[] | undefined;
|
|
116
|
-
label?: string | undefined;
|
|
117
117
|
};
|
|
118
118
|
diagramID?: string | undefined;
|
|
119
119
|
}>;
|
|
@@ -3,6 +3,7 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
3
3
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
4
4
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
5
5
|
payload: z.ZodObject<{
|
|
6
|
+
label: z.ZodString;
|
|
6
7
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
8
|
type: z.ZodString;
|
|
8
9
|
payload: z.ZodUnknown;
|
|
@@ -13,8 +14,8 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
13
14
|
type: string;
|
|
14
15
|
payload?: unknown;
|
|
15
16
|
}>, "many">>;
|
|
16
|
-
label: z.ZodString;
|
|
17
17
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18
|
+
label: z.ZodString;
|
|
18
19
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
20
|
type: z.ZodString;
|
|
20
21
|
payload: z.ZodUnknown;
|
|
@@ -25,8 +26,8 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
25
26
|
type: string;
|
|
26
27
|
payload?: unknown;
|
|
27
28
|
}>, "many">>;
|
|
28
|
-
label: z.ZodString;
|
|
29
29
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30
|
+
label: z.ZodString;
|
|
30
31
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
32
|
type: z.ZodString;
|
|
32
33
|
payload: z.ZodUnknown;
|
|
@@ -37,12 +38,12 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
37
38
|
type: string;
|
|
38
39
|
payload?: unknown;
|
|
39
40
|
}>, "many">>;
|
|
40
|
-
label: z.ZodString;
|
|
41
41
|
}, z.ZodTypeAny, "passthrough">>;
|
|
42
42
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
43
43
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
44
44
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
45
45
|
payload: z.ZodObject<{
|
|
46
|
+
label: z.ZodString;
|
|
46
47
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
48
|
type: z.ZodString;
|
|
48
49
|
payload: z.ZodUnknown;
|
|
@@ -53,8 +54,8 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
53
54
|
type: string;
|
|
54
55
|
payload?: unknown;
|
|
55
56
|
}>, "many">>;
|
|
56
|
-
label: z.ZodString;
|
|
57
57
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
58
|
+
label: z.ZodString;
|
|
58
59
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59
60
|
type: z.ZodString;
|
|
60
61
|
payload: z.ZodUnknown;
|
|
@@ -65,8 +66,8 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
65
66
|
type: string;
|
|
66
67
|
payload?: unknown;
|
|
67
68
|
}>, "many">>;
|
|
68
|
-
label: z.ZodString;
|
|
69
69
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
70
|
+
label: z.ZodString;
|
|
70
71
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
71
72
|
type: z.ZodString;
|
|
72
73
|
payload: z.ZodUnknown;
|
|
@@ -77,12 +78,12 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
77
78
|
type: string;
|
|
78
79
|
payload?: unknown;
|
|
79
80
|
}>, "many">>;
|
|
80
|
-
label: z.ZodString;
|
|
81
81
|
}, z.ZodTypeAny, "passthrough">>;
|
|
82
82
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
83
83
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
84
84
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
85
85
|
payload: z.ZodObject<{
|
|
86
|
+
label: z.ZodString;
|
|
86
87
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
88
|
type: z.ZodString;
|
|
88
89
|
payload: z.ZodUnknown;
|
|
@@ -93,8 +94,8 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
93
94
|
type: string;
|
|
94
95
|
payload?: unknown;
|
|
95
96
|
}>, "many">>;
|
|
96
|
-
label: z.ZodString;
|
|
97
97
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
98
|
+
label: z.ZodString;
|
|
98
99
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
99
100
|
type: z.ZodString;
|
|
100
101
|
payload: z.ZodUnknown;
|
|
@@ -105,8 +106,8 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
105
106
|
type: string;
|
|
106
107
|
payload?: unknown;
|
|
107
108
|
}>, "many">>;
|
|
108
|
-
label: z.ZodString;
|
|
109
109
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
110
|
+
label: z.ZodString;
|
|
110
111
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
111
112
|
type: z.ZodString;
|
|
112
113
|
payload: z.ZodUnknown;
|
|
@@ -117,7 +118,6 @@ export declare const PathRequestDTO: z.ZodObject<{
|
|
|
117
118
|
type: string;
|
|
118
119
|
payload?: unknown;
|
|
119
120
|
}>, "many">>;
|
|
120
|
-
label: z.ZodString;
|
|
121
121
|
}, z.ZodTypeAny, "passthrough">>;
|
|
122
122
|
}, z.ZodTypeAny, "passthrough">>;
|
|
123
123
|
export type PathRequest = z.infer<typeof PathRequestDTO>;
|
|
@@ -4,6 +4,7 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
4
4
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
5
5
|
payload: z.ZodObject<{
|
|
6
6
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
7
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7
8
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
9
|
type: z.ZodString;
|
|
9
10
|
payload: z.ZodUnknown;
|
|
@@ -14,7 +15,6 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
14
15
|
type: string;
|
|
15
16
|
payload?: unknown;
|
|
16
17
|
}>, "many">>;
|
|
17
|
-
label: z.ZodOptional<z.ZodString>;
|
|
18
18
|
intent: z.ZodObject<{
|
|
19
19
|
name: z.ZodString;
|
|
20
20
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -78,11 +78,11 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
78
78
|
startIndex: number;
|
|
79
79
|
}[] | undefined;
|
|
80
80
|
}[];
|
|
81
|
+
label?: string | undefined;
|
|
81
82
|
actions?: {
|
|
82
83
|
type: string;
|
|
83
84
|
payload?: unknown;
|
|
84
85
|
}[] | undefined;
|
|
85
|
-
label?: string | undefined;
|
|
86
86
|
confidence?: number | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
data: Record<string, any>;
|
|
@@ -91,11 +91,11 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
91
91
|
} & {
|
|
92
92
|
[k: string]: unknown;
|
|
93
93
|
};
|
|
94
|
+
label?: string | undefined;
|
|
94
95
|
actions?: {
|
|
95
96
|
type: string;
|
|
96
97
|
payload?: unknown;
|
|
97
98
|
}[] | undefined;
|
|
98
|
-
label?: string | undefined;
|
|
99
99
|
query?: string | undefined;
|
|
100
100
|
entities?: {
|
|
101
101
|
value: string;
|
|
@@ -114,6 +114,7 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
114
114
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
115
115
|
payload: z.ZodObject<{
|
|
116
116
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
117
|
+
label: z.ZodOptional<z.ZodString>;
|
|
117
118
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
119
|
type: z.ZodString;
|
|
119
120
|
payload: z.ZodUnknown;
|
|
@@ -124,7 +125,6 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
124
125
|
type: string;
|
|
125
126
|
payload?: unknown;
|
|
126
127
|
}>, "many">>;
|
|
127
|
-
label: z.ZodOptional<z.ZodString>;
|
|
128
128
|
intent: z.ZodObject<{
|
|
129
129
|
name: z.ZodString;
|
|
130
130
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -188,11 +188,11 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
188
188
|
startIndex: number;
|
|
189
189
|
}[] | undefined;
|
|
190
190
|
}[];
|
|
191
|
+
label?: string | undefined;
|
|
191
192
|
actions?: {
|
|
192
193
|
type: string;
|
|
193
194
|
payload?: unknown;
|
|
194
195
|
}[] | undefined;
|
|
195
|
-
label?: string | undefined;
|
|
196
196
|
confidence?: number | undefined;
|
|
197
197
|
}, {
|
|
198
198
|
data: Record<string, any>;
|
|
@@ -201,11 +201,11 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
201
201
|
} & {
|
|
202
202
|
[k: string]: unknown;
|
|
203
203
|
};
|
|
204
|
+
label?: string | undefined;
|
|
204
205
|
actions?: {
|
|
205
206
|
type: string;
|
|
206
207
|
payload?: unknown;
|
|
207
208
|
}[] | undefined;
|
|
208
|
-
label?: string | undefined;
|
|
209
209
|
query?: string | undefined;
|
|
210
210
|
entities?: {
|
|
211
211
|
value: string;
|
|
@@ -224,6 +224,7 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
224
224
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
225
225
|
payload: z.ZodObject<{
|
|
226
226
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
227
|
+
label: z.ZodOptional<z.ZodString>;
|
|
227
228
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
228
229
|
type: z.ZodString;
|
|
229
230
|
payload: z.ZodUnknown;
|
|
@@ -234,7 +235,6 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
234
235
|
type: string;
|
|
235
236
|
payload?: unknown;
|
|
236
237
|
}>, "many">>;
|
|
237
|
-
label: z.ZodOptional<z.ZodString>;
|
|
238
238
|
intent: z.ZodObject<{
|
|
239
239
|
name: z.ZodString;
|
|
240
240
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -298,11 +298,11 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
298
298
|
startIndex: number;
|
|
299
299
|
}[] | undefined;
|
|
300
300
|
}[];
|
|
301
|
+
label?: string | undefined;
|
|
301
302
|
actions?: {
|
|
302
303
|
type: string;
|
|
303
304
|
payload?: unknown;
|
|
304
305
|
}[] | undefined;
|
|
305
|
-
label?: string | undefined;
|
|
306
306
|
confidence?: number | undefined;
|
|
307
307
|
}, {
|
|
308
308
|
data: Record<string, any>;
|
|
@@ -311,11 +311,11 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
|
|
|
311
311
|
} & {
|
|
312
312
|
[k: string]: unknown;
|
|
313
313
|
};
|
|
314
|
+
label?: string | undefined;
|
|
314
315
|
actions?: {
|
|
315
316
|
type: string;
|
|
316
317
|
payload?: unknown;
|
|
317
318
|
}[] | undefined;
|
|
318
|
-
label?: string | undefined;
|
|
319
319
|
query?: string | undefined;
|
|
320
320
|
entities?: {
|
|
321
321
|
value: string;
|
|
@@ -3,6 +3,7 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
3
3
|
type: z.ZodLiteral<"intent">;
|
|
4
4
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
5
5
|
payload: z.ZodObject<{
|
|
6
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6
7
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
8
|
type: z.ZodString;
|
|
8
9
|
payload: z.ZodUnknown;
|
|
@@ -13,7 +14,6 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
13
14
|
type: string;
|
|
14
15
|
payload?: unknown;
|
|
15
16
|
}>, "many">>;
|
|
16
|
-
label: z.ZodOptional<z.ZodString>;
|
|
17
17
|
intent: z.ZodObject<{
|
|
18
18
|
name: z.ZodString;
|
|
19
19
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -76,11 +76,11 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
76
76
|
startIndex: number;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
}[];
|
|
79
|
+
label?: string | undefined;
|
|
79
80
|
actions?: {
|
|
80
81
|
type: string;
|
|
81
82
|
payload?: unknown;
|
|
82
83
|
}[] | undefined;
|
|
83
|
-
label?: string | undefined;
|
|
84
84
|
confidence?: number | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
intent: {
|
|
@@ -88,11 +88,11 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
88
88
|
} & {
|
|
89
89
|
[k: string]: unknown;
|
|
90
90
|
};
|
|
91
|
+
label?: string | undefined;
|
|
91
92
|
actions?: {
|
|
92
93
|
type: string;
|
|
93
94
|
payload?: unknown;
|
|
94
95
|
}[] | undefined;
|
|
95
|
-
label?: string | undefined;
|
|
96
96
|
query?: string | undefined;
|
|
97
97
|
entities?: {
|
|
98
98
|
value: string;
|
|
@@ -110,6 +110,7 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
110
110
|
type: z.ZodLiteral<"intent">;
|
|
111
111
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
112
112
|
payload: z.ZodObject<{
|
|
113
|
+
label: z.ZodOptional<z.ZodString>;
|
|
113
114
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
114
115
|
type: z.ZodString;
|
|
115
116
|
payload: z.ZodUnknown;
|
|
@@ -120,7 +121,6 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
120
121
|
type: string;
|
|
121
122
|
payload?: unknown;
|
|
122
123
|
}>, "many">>;
|
|
123
|
-
label: z.ZodOptional<z.ZodString>;
|
|
124
124
|
intent: z.ZodObject<{
|
|
125
125
|
name: z.ZodString;
|
|
126
126
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -183,11 +183,11 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
183
183
|
startIndex: number;
|
|
184
184
|
}[] | undefined;
|
|
185
185
|
}[];
|
|
186
|
+
label?: string | undefined;
|
|
186
187
|
actions?: {
|
|
187
188
|
type: string;
|
|
188
189
|
payload?: unknown;
|
|
189
190
|
}[] | undefined;
|
|
190
|
-
label?: string | undefined;
|
|
191
191
|
confidence?: number | undefined;
|
|
192
192
|
}, {
|
|
193
193
|
intent: {
|
|
@@ -195,11 +195,11 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
195
195
|
} & {
|
|
196
196
|
[k: string]: unknown;
|
|
197
197
|
};
|
|
198
|
+
label?: string | undefined;
|
|
198
199
|
actions?: {
|
|
199
200
|
type: string;
|
|
200
201
|
payload?: unknown;
|
|
201
202
|
}[] | undefined;
|
|
202
|
-
label?: string | undefined;
|
|
203
203
|
query?: string | undefined;
|
|
204
204
|
entities?: {
|
|
205
205
|
value: string;
|
|
@@ -217,6 +217,7 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
217
217
|
type: z.ZodLiteral<"intent">;
|
|
218
218
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
219
219
|
payload: z.ZodObject<{
|
|
220
|
+
label: z.ZodOptional<z.ZodString>;
|
|
220
221
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
221
222
|
type: z.ZodString;
|
|
222
223
|
payload: z.ZodUnknown;
|
|
@@ -227,7 +228,6 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
227
228
|
type: string;
|
|
228
229
|
payload?: unknown;
|
|
229
230
|
}>, "many">>;
|
|
230
|
-
label: z.ZodOptional<z.ZodString>;
|
|
231
231
|
intent: z.ZodObject<{
|
|
232
232
|
name: z.ZodString;
|
|
233
233
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -290,11 +290,11 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
290
290
|
startIndex: number;
|
|
291
291
|
}[] | undefined;
|
|
292
292
|
}[];
|
|
293
|
+
label?: string | undefined;
|
|
293
294
|
actions?: {
|
|
294
295
|
type: string;
|
|
295
296
|
payload?: unknown;
|
|
296
297
|
}[] | undefined;
|
|
297
|
-
label?: string | undefined;
|
|
298
298
|
confidence?: number | undefined;
|
|
299
299
|
}, {
|
|
300
300
|
intent: {
|
|
@@ -302,11 +302,11 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
|
|
|
302
302
|
} & {
|
|
303
303
|
[k: string]: unknown;
|
|
304
304
|
};
|
|
305
|
+
label?: string | undefined;
|
|
305
306
|
actions?: {
|
|
306
307
|
type: string;
|
|
307
308
|
payload?: unknown;
|
|
308
309
|
}[] | undefined;
|
|
309
|
-
label?: string | undefined;
|
|
310
310
|
query?: string | undefined;
|
|
311
311
|
entities?: {
|
|
312
312
|
value: string;
|
|
@@ -51,6 +51,7 @@ export declare const IntentRequestEntityDTO: z.ZodObject<{
|
|
|
51
51
|
}>;
|
|
52
52
|
export type IntentRequestEntity = z.infer<typeof IntentRequestEntityDTO>;
|
|
53
53
|
export declare const IntentRequestPayloadDTO: z.ZodObject<{
|
|
54
|
+
label: z.ZodOptional<z.ZodString>;
|
|
54
55
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
56
|
type: z.ZodString;
|
|
56
57
|
payload: z.ZodUnknown;
|
|
@@ -61,7 +62,6 @@ export declare const IntentRequestPayloadDTO: z.ZodObject<{
|
|
|
61
62
|
type: string;
|
|
62
63
|
payload?: unknown;
|
|
63
64
|
}>, "many">>;
|
|
64
|
-
label: z.ZodOptional<z.ZodString>;
|
|
65
65
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
66
66
|
query: z.ZodDefault<z.ZodString>;
|
|
67
67
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -125,11 +125,11 @@ export declare const IntentRequestPayloadDTO: z.ZodObject<{
|
|
|
125
125
|
startIndex: number;
|
|
126
126
|
}[] | undefined;
|
|
127
127
|
}[];
|
|
128
|
+
label?: string | undefined;
|
|
128
129
|
actions?: {
|
|
129
130
|
type: string;
|
|
130
131
|
payload?: unknown;
|
|
131
132
|
}[] | undefined;
|
|
132
|
-
label?: string | undefined;
|
|
133
133
|
data?: Record<string, any> | undefined;
|
|
134
134
|
confidence?: number | undefined;
|
|
135
135
|
}, {
|
|
@@ -138,11 +138,11 @@ export declare const IntentRequestPayloadDTO: z.ZodObject<{
|
|
|
138
138
|
} & {
|
|
139
139
|
[k: string]: unknown;
|
|
140
140
|
};
|
|
141
|
+
label?: string | undefined;
|
|
141
142
|
actions?: {
|
|
142
143
|
type: string;
|
|
143
144
|
payload?: unknown;
|
|
144
145
|
}[] | undefined;
|
|
145
|
-
label?: string | undefined;
|
|
146
146
|
data?: Record<string, any> | undefined;
|
|
147
147
|
query?: string | undefined;
|
|
148
148
|
entities?: {
|
|
@@ -162,6 +162,7 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
162
162
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
163
163
|
type: z.ZodLiteral<"intent">;
|
|
164
164
|
payload: z.ZodObject<{
|
|
165
|
+
label: z.ZodOptional<z.ZodString>;
|
|
165
166
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
167
|
type: z.ZodString;
|
|
167
168
|
payload: z.ZodUnknown;
|
|
@@ -172,7 +173,6 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
172
173
|
type: string;
|
|
173
174
|
payload?: unknown;
|
|
174
175
|
}>, "many">>;
|
|
175
|
-
label: z.ZodOptional<z.ZodString>;
|
|
176
176
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
177
177
|
query: z.ZodDefault<z.ZodString>;
|
|
178
178
|
entities: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -236,11 +236,11 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
236
236
|
startIndex: number;
|
|
237
237
|
}[] | undefined;
|
|
238
238
|
}[];
|
|
239
|
+
label?: string | undefined;
|
|
239
240
|
actions?: {
|
|
240
241
|
type: string;
|
|
241
242
|
payload?: unknown;
|
|
242
243
|
}[] | undefined;
|
|
243
|
-
label?: string | undefined;
|
|
244
244
|
data?: Record<string, any> | undefined;
|
|
245
245
|
confidence?: number | undefined;
|
|
246
246
|
}, {
|
|
@@ -249,11 +249,11 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
249
249
|
} & {
|
|
250
250
|
[k: string]: unknown;
|
|
251
251
|
};
|
|
252
|
+
label?: string | undefined;
|
|
252
253
|
actions?: {
|
|
253
254
|
type: string;
|
|
254
255
|
payload?: unknown;
|
|
255
256
|
}[] | undefined;
|
|
256
|
-
label?: string | undefined;
|
|
257
257
|
data?: Record<string, any> | undefined;
|
|
258
258
|
query?: string | undefined;
|
|
259
259
|
entities?: {
|
|
@@ -287,11 +287,11 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
287
287
|
startIndex: number;
|
|
288
288
|
}[] | undefined;
|
|
289
289
|
}[];
|
|
290
|
+
label?: string | undefined;
|
|
290
291
|
actions?: {
|
|
291
292
|
type: string;
|
|
292
293
|
payload?: unknown;
|
|
293
294
|
}[] | undefined;
|
|
294
|
-
label?: string | undefined;
|
|
295
295
|
data?: Record<string, any> | undefined;
|
|
296
296
|
confidence?: number | undefined;
|
|
297
297
|
};
|
|
@@ -304,11 +304,11 @@ export declare const IntentRequestDTO: z.ZodObject<{
|
|
|
304
304
|
} & {
|
|
305
305
|
[k: string]: unknown;
|
|
306
306
|
};
|
|
307
|
+
label?: string | undefined;
|
|
307
308
|
actions?: {
|
|
308
309
|
type: string;
|
|
309
310
|
payload?: unknown;
|
|
310
311
|
}[] | undefined;
|
|
311
|
-
label?: string | undefined;
|
|
312
312
|
data?: Record<string, any> | undefined;
|
|
313
313
|
query?: string | undefined;
|
|
314
314
|
entities?: {
|