@voiceflow/dtos-interact 1.7.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/build/cjs/main.d.ts +3 -3
  2. package/build/cjs/main.d.ts.map +1 -1
  3. package/build/cjs/main.js +3 -3
  4. package/build/cjs/main.js.map +1 -1
  5. package/build/cjs/request/any-request.dto.d.ts +37 -37
  6. package/build/cjs/request/event-request.dto.d.ts +8 -8
  7. package/build/cjs/request/general/path-request.dto.d.ts +9 -9
  8. package/build/cjs/request/intent/alexa-intent-request.dto.d.ts +9 -9
  9. package/build/cjs/request/intent/general-intent-request.dto.d.ts +9 -9
  10. package/build/cjs/request/intent/intent-request.dto.d.ts +8 -8
  11. package/build/cjs/trace/any.dto.d.ts +56 -56
  12. package/build/cjs/trace/card.dto.d.ts +20 -20
  13. package/build/cjs/trace/carousel.dto.d.ts +50 -50
  14. package/build/cjs/trace/entity-filling.dto.d.ts +9 -9
  15. package/build/cjs/widget-settings/widget-settings.constant.d.ts +16 -0
  16. package/build/cjs/widget-settings/widget-settings.constant.d.ts.map +1 -0
  17. package/build/cjs/widget-settings/widget-settings.constant.js +69 -0
  18. package/build/cjs/widget-settings/widget-settings.constant.js.map +1 -0
  19. package/build/cjs/{chat-settings/chat-settings.dto.d.ts → widget-settings/widget-settings.dto.d.ts} +89 -89
  20. package/build/cjs/widget-settings/widget-settings.dto.d.ts.map +1 -0
  21. package/build/cjs/widget-settings/widget-settings.dto.js +85 -0
  22. package/build/cjs/widget-settings/widget-settings.dto.js.map +1 -0
  23. package/build/cjs/widget-settings/widget-settings.enum.d.ts +30 -0
  24. package/build/cjs/widget-settings/widget-settings.enum.d.ts.map +1 -0
  25. package/build/cjs/widget-settings/widget-settings.enum.js +27 -0
  26. package/build/cjs/widget-settings/widget-settings.enum.js.map +1 -0
  27. package/build/esm/main.d.ts +3 -3
  28. package/build/esm/main.d.ts.map +1 -1
  29. package/build/esm/main.js +3 -3
  30. package/build/esm/main.js.map +1 -1
  31. package/build/esm/request/any-request.dto.d.ts +37 -37
  32. package/build/esm/request/event-request.dto.d.ts +8 -8
  33. package/build/esm/request/general/path-request.dto.d.ts +9 -9
  34. package/build/esm/request/intent/alexa-intent-request.dto.d.ts +9 -9
  35. package/build/esm/request/intent/general-intent-request.dto.d.ts +9 -9
  36. package/build/esm/request/intent/intent-request.dto.d.ts +8 -8
  37. package/build/esm/trace/any.dto.d.ts +56 -56
  38. package/build/esm/trace/card.dto.d.ts +20 -20
  39. package/build/esm/trace/carousel.dto.d.ts +50 -50
  40. package/build/esm/trace/entity-filling.dto.d.ts +9 -9
  41. package/build/esm/widget-settings/widget-settings.constant.d.ts +16 -0
  42. package/build/esm/widget-settings/widget-settings.constant.d.ts.map +1 -0
  43. package/build/esm/widget-settings/widget-settings.constant.js +66 -0
  44. package/build/esm/widget-settings/widget-settings.constant.js.map +1 -0
  45. package/build/esm/{chat-settings/chat-settings.dto.d.ts → widget-settings/widget-settings.dto.d.ts} +89 -89
  46. package/build/esm/widget-settings/widget-settings.dto.d.ts.map +1 -0
  47. package/build/esm/widget-settings/widget-settings.dto.js +82 -0
  48. package/build/esm/widget-settings/widget-settings.dto.js.map +1 -0
  49. package/build/esm/widget-settings/widget-settings.enum.d.ts +30 -0
  50. package/build/esm/widget-settings/widget-settings.enum.d.ts.map +1 -0
  51. package/build/esm/{chat-settings/chat-settings.enum.js → widget-settings/widget-settings.enum.js} +6 -6
  52. package/build/esm/widget-settings/widget-settings.enum.js.map +1 -0
  53. package/package.json +2 -2
  54. package/build/cjs/chat-settings/chat-settings.constant.d.ts +0 -14
  55. package/build/cjs/chat-settings/chat-settings.constant.d.ts.map +0 -1
  56. package/build/cjs/chat-settings/chat-settings.constant.js +0 -17
  57. package/build/cjs/chat-settings/chat-settings.constant.js.map +0 -1
  58. package/build/cjs/chat-settings/chat-settings.dto.d.ts.map +0 -1
  59. package/build/cjs/chat-settings/chat-settings.dto.js +0 -85
  60. package/build/cjs/chat-settings/chat-settings.dto.js.map +0 -1
  61. package/build/cjs/chat-settings/chat-settings.enum.d.ts +0 -30
  62. package/build/cjs/chat-settings/chat-settings.enum.d.ts.map +0 -1
  63. package/build/cjs/chat-settings/chat-settings.enum.js +0 -27
  64. package/build/cjs/chat-settings/chat-settings.enum.js.map +0 -1
  65. package/build/esm/chat-settings/chat-settings.constant.d.ts +0 -14
  66. package/build/esm/chat-settings/chat-settings.constant.d.ts.map +0 -1
  67. package/build/esm/chat-settings/chat-settings.constant.js +0 -14
  68. package/build/esm/chat-settings/chat-settings.constant.js.map +0 -1
  69. package/build/esm/chat-settings/chat-settings.dto.d.ts.map +0 -1
  70. package/build/esm/chat-settings/chat-settings.dto.js +0 -82
  71. package/build/esm/chat-settings/chat-settings.dto.js.map +0 -1
  72. package/build/esm/chat-settings/chat-settings.enum.d.ts +0 -30
  73. package/build/esm/chat-settings/chat-settings.enum.d.ts.map +0 -1
  74. package/build/esm/chat-settings/chat-settings.enum.js.map +0 -1
@@ -3,7 +3,6 @@ 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;
7
6
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
8
7
  type: z.ZodString;
9
8
  payload: z.ZodUnknown;
@@ -14,8 +13,8 @@ export declare const PathRequestDTO: z.ZodObject<{
14
13
  type: string;
15
14
  payload?: unknown;
16
15
  }>, "many">>;
17
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18
16
  label: z.ZodString;
17
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19
18
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
19
  type: z.ZodString;
21
20
  payload: z.ZodUnknown;
@@ -26,8 +25,8 @@ export declare const PathRequestDTO: z.ZodObject<{
26
25
  type: string;
27
26
  payload?: unknown;
28
27
  }>, "many">>;
29
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
30
28
  label: z.ZodString;
29
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
31
30
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
32
31
  type: z.ZodString;
33
32
  payload: z.ZodUnknown;
@@ -38,12 +37,12 @@ export declare const PathRequestDTO: z.ZodObject<{
38
37
  type: string;
39
38
  payload?: unknown;
40
39
  }>, "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;
47
46
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
47
  type: z.ZodString;
49
48
  payload: z.ZodUnknown;
@@ -54,8 +53,8 @@ export declare const PathRequestDTO: z.ZodObject<{
54
53
  type: string;
55
54
  payload?: unknown;
56
55
  }>, "many">>;
57
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
58
56
  label: z.ZodString;
57
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
59
58
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
59
  type: z.ZodString;
61
60
  payload: z.ZodUnknown;
@@ -66,8 +65,8 @@ export declare const PathRequestDTO: z.ZodObject<{
66
65
  type: string;
67
66
  payload?: unknown;
68
67
  }>, "many">>;
69
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
70
68
  label: z.ZodString;
69
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
71
70
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
72
71
  type: z.ZodString;
73
72
  payload: z.ZodUnknown;
@@ -78,12 +77,12 @@ export declare const PathRequestDTO: z.ZodObject<{
78
77
  type: string;
79
78
  payload?: unknown;
80
79
  }>, "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;
87
86
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
88
87
  type: z.ZodString;
89
88
  payload: z.ZodUnknown;
@@ -94,8 +93,8 @@ export declare const PathRequestDTO: z.ZodObject<{
94
93
  type: string;
95
94
  payload?: unknown;
96
95
  }>, "many">>;
97
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
98
96
  label: z.ZodString;
97
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
99
98
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
99
  type: z.ZodString;
101
100
  payload: z.ZodUnknown;
@@ -106,8 +105,8 @@ export declare const PathRequestDTO: z.ZodObject<{
106
105
  type: string;
107
106
  payload?: unknown;
108
107
  }>, "many">>;
109
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
110
108
  label: z.ZodString;
109
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
111
110
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
112
111
  type: z.ZodString;
113
112
  payload: z.ZodUnknown;
@@ -118,6 +117,7 @@ export declare const PathRequestDTO: z.ZodObject<{
118
117
  type: string;
119
118
  payload?: unknown;
120
119
  }>, "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,7 +4,6 @@ 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>;
8
7
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
8
  type: z.ZodString;
10
9
  payload: z.ZodUnknown;
@@ -15,6 +14,7 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
15
14
  type: string;
16
15
  payload?: unknown;
17
16
  }>, "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;
82
81
  actions?: {
83
82
  type: string;
84
83
  payload?: unknown;
85
84
  }[] | 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;
95
94
  actions?: {
96
95
  type: string;
97
96
  payload?: unknown;
98
97
  }[] | undefined;
98
+ label?: string | undefined;
99
99
  query?: string | undefined;
100
100
  entities?: {
101
101
  value: string;
@@ -114,7 +114,6 @@ 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>;
118
117
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
119
118
  type: z.ZodString;
120
119
  payload: z.ZodUnknown;
@@ -125,6 +124,7 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
125
124
  type: string;
126
125
  payload?: unknown;
127
126
  }>, "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;
192
191
  actions?: {
193
192
  type: string;
194
193
  payload?: unknown;
195
194
  }[] | 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;
205
204
  actions?: {
206
205
  type: string;
207
206
  payload?: unknown;
208
207
  }[] | undefined;
208
+ label?: string | undefined;
209
209
  query?: string | undefined;
210
210
  entities?: {
211
211
  value: string;
@@ -224,7 +224,6 @@ 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>;
228
227
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
229
228
  type: z.ZodString;
230
229
  payload: z.ZodUnknown;
@@ -235,6 +234,7 @@ export declare const AlexaIntentRequestDTO: z.ZodObject<{
235
234
  type: string;
236
235
  payload?: unknown;
237
236
  }>, "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;
302
301
  actions?: {
303
302
  type: string;
304
303
  payload?: unknown;
305
304
  }[] | 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;
315
314
  actions?: {
316
315
  type: string;
317
316
  payload?: unknown;
318
317
  }[] | undefined;
318
+ label?: string | undefined;
319
319
  query?: string | undefined;
320
320
  entities?: {
321
321
  value: string;
@@ -3,7 +3,6 @@ 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>;
7
6
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
8
7
  type: z.ZodString;
9
8
  payload: z.ZodUnknown;
@@ -14,6 +13,7 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
14
13
  type: string;
15
14
  payload?: unknown;
16
15
  }>, "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;
80
79
  actions?: {
81
80
  type: string;
82
81
  payload?: unknown;
83
82
  }[] | 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;
92
91
  actions?: {
93
92
  type: string;
94
93
  payload?: unknown;
95
94
  }[] | undefined;
95
+ label?: string | undefined;
96
96
  query?: string | undefined;
97
97
  entities?: {
98
98
  value: string;
@@ -110,7 +110,6 @@ 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>;
114
113
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
115
114
  type: z.ZodString;
116
115
  payload: z.ZodUnknown;
@@ -121,6 +120,7 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
121
120
  type: string;
122
121
  payload?: unknown;
123
122
  }>, "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;
187
186
  actions?: {
188
187
  type: string;
189
188
  payload?: unknown;
190
189
  }[] | 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;
199
198
  actions?: {
200
199
  type: string;
201
200
  payload?: unknown;
202
201
  }[] | undefined;
202
+ label?: string | undefined;
203
203
  query?: string | undefined;
204
204
  entities?: {
205
205
  value: string;
@@ -217,7 +217,6 @@ 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>;
221
220
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
222
221
  type: z.ZodString;
223
222
  payload: z.ZodUnknown;
@@ -228,6 +227,7 @@ export declare const LegacyIntentRequestDTO: z.ZodObject<{
228
227
  type: string;
229
228
  payload?: unknown;
230
229
  }>, "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;
294
293
  actions?: {
295
294
  type: string;
296
295
  payload?: unknown;
297
296
  }[] | 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;
306
305
  actions?: {
307
306
  type: string;
308
307
  payload?: unknown;
309
308
  }[] | undefined;
309
+ label?: string | undefined;
310
310
  query?: string | undefined;
311
311
  entities?: {
312
312
  value: string;
@@ -51,7 +51,6 @@ 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>;
55
54
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
55
  type: z.ZodString;
57
56
  payload: z.ZodUnknown;
@@ -62,6 +61,7 @@ export declare const IntentRequestPayloadDTO: z.ZodObject<{
62
61
  type: string;
63
62
  payload?: unknown;
64
63
  }>, "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;
129
128
  actions?: {
130
129
  type: string;
131
130
  payload?: unknown;
132
131
  }[] | 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;
142
141
  actions?: {
143
142
  type: string;
144
143
  payload?: unknown;
145
144
  }[] | undefined;
145
+ label?: string | undefined;
146
146
  data?: Record<string, any> | undefined;
147
147
  query?: string | undefined;
148
148
  entities?: {
@@ -162,7 +162,6 @@ 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>;
166
165
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
167
166
  type: z.ZodString;
168
167
  payload: z.ZodUnknown;
@@ -173,6 +172,7 @@ export declare const IntentRequestDTO: z.ZodObject<{
173
172
  type: string;
174
173
  payload?: unknown;
175
174
  }>, "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;
240
239
  actions?: {
241
240
  type: string;
242
241
  payload?: unknown;
243
242
  }[] | 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;
253
252
  actions?: {
254
253
  type: string;
255
254
  payload?: unknown;
256
255
  }[] | 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;
291
290
  actions?: {
292
291
  type: string;
293
292
  payload?: unknown;
294
293
  }[] | 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;
308
307
  actions?: {
309
308
  type: string;
310
309
  payload?: unknown;
311
310
  }[] | undefined;
311
+ label?: string | undefined;
312
312
  data?: Record<string, any> | undefined;
313
313
  query?: string | undefined;
314
314
  entities?: {