@cossistant/react 0.0.31 → 0.0.33
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/hooks/index.d.ts +2 -2
- package/hooks/index.js +2 -2
- package/hooks/private/use-grouped-messages.d.ts +27 -2
- package/hooks/private/use-grouped-messages.d.ts.map +1 -1
- package/hooks/private/use-grouped-messages.js +156 -103
- package/hooks/private/use-grouped-messages.js.map +1 -1
- package/hooks/use-new-message-sound.d.ts.map +1 -1
- package/hooks/use-new-message-sound.js +2 -2
- package/hooks/use-new-message-sound.js.map +1 -1
- package/hooks/use-send-message.js +1 -1
- package/hooks/use-send-message.js.map +1 -1
- package/hooks/use-typing-sound.d.ts.map +1 -1
- package/hooks/use-typing-sound.js +2 -2
- package/hooks/use-typing-sound.js.map +1 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +4 -6
- package/packages/tiny-markdown/src/context/index.d.ts +1 -0
- package/packages/tiny-markdown/src/context/tiny-markdown-context.d.ts +3 -0
- package/packages/tiny-markdown/src/hooks/index.d.ts +4 -0
- package/packages/tiny-markdown/src/hooks/use-caret-position.d.ts +1 -0
- package/packages/tiny-markdown/src/hooks/use-tiny-markdown.d.ts +1 -0
- package/packages/tiny-markdown/src/hooks/use-tiny-mention.d.ts +1 -0
- package/packages/tiny-markdown/src/hooks/use-tiny-shortcuts.d.ts +1 -0
- package/packages/tiny-markdown/src/index.d.ts +4 -0
- package/packages/tiny-markdown/src/types.d.ts +75 -0
- package/packages/tiny-markdown/src/types.d.ts.map +1 -0
- package/packages/tiny-markdown/src/utils/index.d.ts +3 -0
- package/packages/tiny-markdown/src/utils/markdown-parser.d.ts +1 -0
- package/packages/tiny-markdown/src/utils/mention-parser.d.ts +1 -0
- package/packages/tiny-markdown/src/utils/merge-refs.d.ts +1 -0
- package/packages/types/src/api/conversation.d.ts +316 -12
- package/packages/types/src/api/conversation.d.ts.map +1 -1
- package/packages/types/src/api/timeline-item.d.ts +236 -9
- package/packages/types/src/api/timeline-item.d.ts.map +1 -1
- package/packages/types/src/realtime-events.d.ts +259 -13
- package/packages/types/src/realtime-events.d.ts.map +1 -1
- package/packages/types/src/schemas.d.ts +79 -3
- package/packages/types/src/schemas.d.ts.map +1 -1
- package/primitives/avatar/image.d.ts +1 -1
- package/primitives/command-block-utils.d.ts +26 -0
- package/primitives/command-block-utils.d.ts.map +1 -0
- package/primitives/command-block-utils.js +310 -0
- package/primitives/command-block-utils.js.map +1 -0
- package/primitives/index.d.ts +7 -3
- package/primitives/index.js +11 -2
- package/primitives/index.parts.d.ts +6 -2
- package/primitives/index.parts.js +5 -1
- package/primitives/multimodal-input.d.ts +2 -2
- package/primitives/multimodal-input.d.ts.map +1 -1
- package/primitives/timeline-code-block.d.ts +32 -0
- package/primitives/timeline-code-block.d.ts.map +1 -0
- package/primitives/timeline-code-block.js +66 -0
- package/primitives/timeline-code-block.js.map +1 -0
- package/primitives/timeline-command-block.d.ts +29 -0
- package/primitives/timeline-command-block.d.ts.map +1 -0
- package/primitives/timeline-command-block.js +97 -0
- package/primitives/timeline-command-block.js.map +1 -0
- package/primitives/timeline-item-group.d.ts.map +1 -1
- package/primitives/timeline-item-group.js +5 -15
- package/primitives/timeline-item-group.js.map +1 -1
- package/primitives/timeline-item.d.ts +23 -3
- package/primitives/timeline-item.d.ts.map +1 -1
- package/primitives/timeline-item.js +151 -80
- package/primitives/timeline-item.js.map +1 -1
- package/primitives/timeline-message-layout.d.ts +9 -0
- package/primitives/timeline-message-layout.d.ts.map +1 -0
- package/primitives/timeline-message-layout.js +20 -0
- package/primitives/timeline-message-layout.js.map +1 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +6 -3
- package/provider.js.map +1 -1
- package/realtime/event-filter.js +4 -3
- package/realtime/event-filter.js.map +1 -1
- package/sounds/sound-data.d.ts +6 -0
- package/sounds/sound-data.d.ts.map +1 -0
- package/sounds/sound-data.js +7 -0
- package/sounds/sound-data.js.map +1 -0
- package/support/components/avatar-stack.js +1 -1
- package/support/components/avatar-stack.js.map +1 -1
- package/support/components/avatar.d.ts +1 -2
- package/support/components/avatar.d.ts.map +1 -1
- package/support/components/avatar.js +9 -7
- package/support/components/avatar.js.map +1 -1
- package/support/components/button.d.ts +2 -2
- package/support/components/button.d.ts.map +1 -1
- package/support/components/button.js +1 -0
- package/support/components/button.js.map +1 -1
- package/support/components/conversation-button-link.js +2 -1
- package/support/components/conversation-button-link.js.map +1 -1
- package/support/components/conversation-event.d.ts +3 -0
- package/support/components/conversation-event.d.ts.map +1 -1
- package/support/components/conversation-event.js +46 -15
- package/support/components/conversation-event.js.map +1 -1
- package/support/components/conversation-resolved-feedback.d.ts +1 -1
- package/support/components/conversation-resolved-feedback.d.ts.map +1 -1
- package/support/components/conversation-resolved-feedback.js +56 -13
- package/support/components/conversation-resolved-feedback.js.map +1 -1
- package/support/components/conversation-timeline.d.ts.map +1 -1
- package/support/components/conversation-timeline.js +12 -0
- package/support/components/conversation-timeline.js.map +1 -1
- package/support/components/index.d.ts +2 -1
- package/support/components/index.js +2 -1
- package/support/components/timeline-activity-group.d.ts +25 -0
- package/support/components/timeline-activity-group.d.ts.map +1 -0
- package/support/components/timeline-activity-group.js +104 -0
- package/support/components/timeline-activity-group.js.map +1 -0
- package/support/components/timeline-code-block.d.ts +14 -0
- package/support/components/timeline-code-block.d.ts.map +1 -0
- package/support/components/timeline-code-block.js +44 -0
- package/support/components/timeline-code-block.js.map +1 -0
- package/support/components/timeline-command-block.d.ts +12 -0
- package/support/components/timeline-command-block.d.ts.map +1 -0
- package/support/components/timeline-command-block.js +42 -0
- package/support/components/timeline-command-block.js.map +1 -0
- package/support/components/timeline-message-item.d.ts +2 -1
- package/support/components/timeline-message-item.d.ts.map +1 -1
- package/support/components/timeline-message-item.js +23 -3
- package/support/components/timeline-message-item.js.map +1 -1
- package/support/components/typing-indicator.d.ts.map +1 -1
- package/support/components/typing-indicator.js +15 -7
- package/support/components/typing-indicator.js.map +1 -1
- package/support/index.d.ts +4 -4
- package/support/pages/conversation-history.js +1 -1
- package/support/pages/conversation.js +4 -2
- package/support/pages/conversation.js.map +1 -1
- package/support/pages/home.js +1 -1
- package/support/store/support-store.d.ts +5 -5
- package/support/text/locales/en.js +3 -0
- package/support/text/locales/en.js.map +1 -1
- package/support/text/locales/es.js +3 -0
- package/support/text/locales/es.js.map +1 -1
- package/support/text/locales/fr.js +3 -0
- package/support/text/locales/fr.js.map +1 -1
- package/support/text/locales/keys.d.ts +9 -0
- package/support/text/locales/keys.d.ts.map +1 -1
- package/support/text/locales/keys.js +3 -0
- package/support/text/locales/keys.js.map +1 -1
- package/utils/metadata-hash.d.ts +1 -1
- package/utils/metadata-hash.js +9 -4
- package/utils/metadata-hash.js.map +1 -1
- package/utils/timeline-item-sender.d.ts +17 -0
- package/utils/timeline-item-sender.d.ts.map +1 -0
- package/utils/timeline-item-sender.js +43 -0
- package/utils/timeline-item-sender.js.map +1 -0
|
@@ -19,6 +19,7 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
19
19
|
message: "message";
|
|
20
20
|
event: "event";
|
|
21
21
|
identification: "identification";
|
|
22
|
+
tool: "tool";
|
|
22
23
|
}>;
|
|
23
24
|
text: ZodNullable<ZodString>;
|
|
24
25
|
tool: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -26,15 +27,15 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
26
27
|
type: ZodLiteral<"text">;
|
|
27
28
|
text: ZodString;
|
|
28
29
|
state: ZodOptional<ZodEnum<{
|
|
29
|
-
streaming: "streaming";
|
|
30
30
|
done: "done";
|
|
31
|
+
streaming: "streaming";
|
|
31
32
|
}>>;
|
|
32
33
|
}, $strip>, ZodObject<{
|
|
33
34
|
type: ZodLiteral<"reasoning">;
|
|
34
35
|
text: ZodString;
|
|
35
36
|
state: ZodOptional<ZodEnum<{
|
|
36
|
-
streaming: "streaming";
|
|
37
37
|
done: "done";
|
|
38
|
+
streaming: "streaming";
|
|
38
39
|
}>>;
|
|
39
40
|
providerMetadata: ZodOptional<ZodObject<{
|
|
40
41
|
cossistant: ZodOptional<ZodObject<{
|
|
@@ -44,6 +45,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
44
45
|
}>>;
|
|
45
46
|
progressMessage: ZodOptional<ZodString>;
|
|
46
47
|
knowledgeId: ZodOptional<ZodString>;
|
|
48
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
49
|
+
logType: ZodEnum<{
|
|
50
|
+
log: "log";
|
|
51
|
+
customer_facing: "customer_facing";
|
|
52
|
+
decision: "decision";
|
|
53
|
+
}>;
|
|
54
|
+
triggerMessageId: ZodString;
|
|
55
|
+
workflowRunId: ZodString;
|
|
56
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
57
|
+
public: "public";
|
|
58
|
+
private: "private";
|
|
59
|
+
}>>;
|
|
60
|
+
}, $strip>>;
|
|
47
61
|
}, $strip>>;
|
|
48
62
|
}, $loose>>;
|
|
49
63
|
}, $strip>, ZodObject<{
|
|
@@ -53,11 +67,34 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
53
67
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
54
68
|
output: ZodOptional<ZodUnknown>;
|
|
55
69
|
state: ZodEnum<{
|
|
70
|
+
result: "result";
|
|
56
71
|
error: "error";
|
|
57
72
|
partial: "partial";
|
|
58
|
-
result: "result";
|
|
59
73
|
}>;
|
|
60
74
|
errorText: ZodOptional<ZodString>;
|
|
75
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
76
|
+
cossistant: ZodOptional<ZodObject<{
|
|
77
|
+
visibility: ZodOptional<ZodEnum<{
|
|
78
|
+
public: "public";
|
|
79
|
+
private: "private";
|
|
80
|
+
}>>;
|
|
81
|
+
progressMessage: ZodOptional<ZodString>;
|
|
82
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
83
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
84
|
+
logType: ZodEnum<{
|
|
85
|
+
log: "log";
|
|
86
|
+
customer_facing: "customer_facing";
|
|
87
|
+
decision: "decision";
|
|
88
|
+
}>;
|
|
89
|
+
triggerMessageId: ZodString;
|
|
90
|
+
workflowRunId: ZodString;
|
|
91
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
92
|
+
public: "public";
|
|
93
|
+
private: "private";
|
|
94
|
+
}>>;
|
|
95
|
+
}, $strip>>;
|
|
96
|
+
}, $strip>>;
|
|
97
|
+
}, $loose>>;
|
|
61
98
|
providerMetadata: ZodOptional<ZodObject<{
|
|
62
99
|
cossistant: ZodOptional<ZodObject<{
|
|
63
100
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -66,6 +103,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
66
103
|
}>>;
|
|
67
104
|
progressMessage: ZodOptional<ZodString>;
|
|
68
105
|
knowledgeId: ZodOptional<ZodString>;
|
|
106
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
107
|
+
logType: ZodEnum<{
|
|
108
|
+
log: "log";
|
|
109
|
+
customer_facing: "customer_facing";
|
|
110
|
+
decision: "decision";
|
|
111
|
+
}>;
|
|
112
|
+
triggerMessageId: ZodString;
|
|
113
|
+
workflowRunId: ZodString;
|
|
114
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
115
|
+
public: "public";
|
|
116
|
+
private: "private";
|
|
117
|
+
}>>;
|
|
118
|
+
}, $strip>>;
|
|
69
119
|
}, $strip>>;
|
|
70
120
|
}, $loose>>;
|
|
71
121
|
}, $strip>, ZodObject<{
|
|
@@ -81,6 +131,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
81
131
|
}>>;
|
|
82
132
|
progressMessage: ZodOptional<ZodString>;
|
|
83
133
|
knowledgeId: ZodOptional<ZodString>;
|
|
134
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
135
|
+
logType: ZodEnum<{
|
|
136
|
+
log: "log";
|
|
137
|
+
customer_facing: "customer_facing";
|
|
138
|
+
decision: "decision";
|
|
139
|
+
}>;
|
|
140
|
+
triggerMessageId: ZodString;
|
|
141
|
+
workflowRunId: ZodString;
|
|
142
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
143
|
+
public: "public";
|
|
144
|
+
private: "private";
|
|
145
|
+
}>>;
|
|
146
|
+
}, $strip>>;
|
|
84
147
|
}, $strip>>;
|
|
85
148
|
}, $loose>>;
|
|
86
149
|
}, $strip>, ZodObject<{
|
|
@@ -97,6 +160,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
97
160
|
}>>;
|
|
98
161
|
progressMessage: ZodOptional<ZodString>;
|
|
99
162
|
knowledgeId: ZodOptional<ZodString>;
|
|
163
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
164
|
+
logType: ZodEnum<{
|
|
165
|
+
log: "log";
|
|
166
|
+
customer_facing: "customer_facing";
|
|
167
|
+
decision: "decision";
|
|
168
|
+
}>;
|
|
169
|
+
triggerMessageId: ZodString;
|
|
170
|
+
workflowRunId: ZodString;
|
|
171
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
172
|
+
public: "public";
|
|
173
|
+
private: "private";
|
|
174
|
+
}>>;
|
|
175
|
+
}, $strip>>;
|
|
100
176
|
}, $strip>>;
|
|
101
177
|
}, $loose>>;
|
|
102
178
|
}, $strip>, ZodObject<{
|
|
@@ -180,6 +256,7 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
180
256
|
message: "message";
|
|
181
257
|
event: "event";
|
|
182
258
|
identification: "identification";
|
|
259
|
+
tool: "tool";
|
|
183
260
|
}>;
|
|
184
261
|
text: ZodNullable<ZodString>;
|
|
185
262
|
tool: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -187,15 +264,15 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
187
264
|
type: ZodLiteral<"text">;
|
|
188
265
|
text: ZodString;
|
|
189
266
|
state: ZodOptional<ZodEnum<{
|
|
190
|
-
streaming: "streaming";
|
|
191
267
|
done: "done";
|
|
268
|
+
streaming: "streaming";
|
|
192
269
|
}>>;
|
|
193
270
|
}, $strip>, ZodObject<{
|
|
194
271
|
type: ZodLiteral<"reasoning">;
|
|
195
272
|
text: ZodString;
|
|
196
273
|
state: ZodOptional<ZodEnum<{
|
|
197
|
-
streaming: "streaming";
|
|
198
274
|
done: "done";
|
|
275
|
+
streaming: "streaming";
|
|
199
276
|
}>>;
|
|
200
277
|
providerMetadata: ZodOptional<ZodObject<{
|
|
201
278
|
cossistant: ZodOptional<ZodObject<{
|
|
@@ -205,6 +282,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
205
282
|
}>>;
|
|
206
283
|
progressMessage: ZodOptional<ZodString>;
|
|
207
284
|
knowledgeId: ZodOptional<ZodString>;
|
|
285
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
286
|
+
logType: ZodEnum<{
|
|
287
|
+
log: "log";
|
|
288
|
+
customer_facing: "customer_facing";
|
|
289
|
+
decision: "decision";
|
|
290
|
+
}>;
|
|
291
|
+
triggerMessageId: ZodString;
|
|
292
|
+
workflowRunId: ZodString;
|
|
293
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
294
|
+
public: "public";
|
|
295
|
+
private: "private";
|
|
296
|
+
}>>;
|
|
297
|
+
}, $strip>>;
|
|
208
298
|
}, $strip>>;
|
|
209
299
|
}, $loose>>;
|
|
210
300
|
}, $strip>, ZodObject<{
|
|
@@ -214,11 +304,34 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
214
304
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
215
305
|
output: ZodOptional<ZodUnknown>;
|
|
216
306
|
state: ZodEnum<{
|
|
307
|
+
result: "result";
|
|
217
308
|
error: "error";
|
|
218
309
|
partial: "partial";
|
|
219
|
-
result: "result";
|
|
220
310
|
}>;
|
|
221
311
|
errorText: ZodOptional<ZodString>;
|
|
312
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
313
|
+
cossistant: ZodOptional<ZodObject<{
|
|
314
|
+
visibility: ZodOptional<ZodEnum<{
|
|
315
|
+
public: "public";
|
|
316
|
+
private: "private";
|
|
317
|
+
}>>;
|
|
318
|
+
progressMessage: ZodOptional<ZodString>;
|
|
319
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
320
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
321
|
+
logType: ZodEnum<{
|
|
322
|
+
log: "log";
|
|
323
|
+
customer_facing: "customer_facing";
|
|
324
|
+
decision: "decision";
|
|
325
|
+
}>;
|
|
326
|
+
triggerMessageId: ZodString;
|
|
327
|
+
workflowRunId: ZodString;
|
|
328
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
329
|
+
public: "public";
|
|
330
|
+
private: "private";
|
|
331
|
+
}>>;
|
|
332
|
+
}, $strip>>;
|
|
333
|
+
}, $strip>>;
|
|
334
|
+
}, $loose>>;
|
|
222
335
|
providerMetadata: ZodOptional<ZodObject<{
|
|
223
336
|
cossistant: ZodOptional<ZodObject<{
|
|
224
337
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -227,6 +340,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
227
340
|
}>>;
|
|
228
341
|
progressMessage: ZodOptional<ZodString>;
|
|
229
342
|
knowledgeId: ZodOptional<ZodString>;
|
|
343
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
344
|
+
logType: ZodEnum<{
|
|
345
|
+
log: "log";
|
|
346
|
+
customer_facing: "customer_facing";
|
|
347
|
+
decision: "decision";
|
|
348
|
+
}>;
|
|
349
|
+
triggerMessageId: ZodString;
|
|
350
|
+
workflowRunId: ZodString;
|
|
351
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
352
|
+
public: "public";
|
|
353
|
+
private: "private";
|
|
354
|
+
}>>;
|
|
355
|
+
}, $strip>>;
|
|
230
356
|
}, $strip>>;
|
|
231
357
|
}, $loose>>;
|
|
232
358
|
}, $strip>, ZodObject<{
|
|
@@ -242,6 +368,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
242
368
|
}>>;
|
|
243
369
|
progressMessage: ZodOptional<ZodString>;
|
|
244
370
|
knowledgeId: ZodOptional<ZodString>;
|
|
371
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
372
|
+
logType: ZodEnum<{
|
|
373
|
+
log: "log";
|
|
374
|
+
customer_facing: "customer_facing";
|
|
375
|
+
decision: "decision";
|
|
376
|
+
}>;
|
|
377
|
+
triggerMessageId: ZodString;
|
|
378
|
+
workflowRunId: ZodString;
|
|
379
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
380
|
+
public: "public";
|
|
381
|
+
private: "private";
|
|
382
|
+
}>>;
|
|
383
|
+
}, $strip>>;
|
|
245
384
|
}, $strip>>;
|
|
246
385
|
}, $loose>>;
|
|
247
386
|
}, $strip>, ZodObject<{
|
|
@@ -258,6 +397,19 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
258
397
|
}>>;
|
|
259
398
|
progressMessage: ZodOptional<ZodString>;
|
|
260
399
|
knowledgeId: ZodOptional<ZodString>;
|
|
400
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
401
|
+
logType: ZodEnum<{
|
|
402
|
+
log: "log";
|
|
403
|
+
customer_facing: "customer_facing";
|
|
404
|
+
decision: "decision";
|
|
405
|
+
}>;
|
|
406
|
+
triggerMessageId: ZodString;
|
|
407
|
+
workflowRunId: ZodString;
|
|
408
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
409
|
+
public: "public";
|
|
410
|
+
private: "private";
|
|
411
|
+
}>>;
|
|
412
|
+
}, $strip>>;
|
|
261
413
|
}, $strip>>;
|
|
262
414
|
}, $loose>>;
|
|
263
415
|
}, $strip>, ZodObject<{
|
|
@@ -363,6 +515,7 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
363
515
|
message: "message";
|
|
364
516
|
event: "event";
|
|
365
517
|
identification: "identification";
|
|
518
|
+
tool: "tool";
|
|
366
519
|
}>;
|
|
367
520
|
text: ZodNullable<ZodString>;
|
|
368
521
|
tool: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -370,15 +523,15 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
370
523
|
type: ZodLiteral<"text">;
|
|
371
524
|
text: ZodString;
|
|
372
525
|
state: ZodOptional<ZodEnum<{
|
|
373
|
-
streaming: "streaming";
|
|
374
526
|
done: "done";
|
|
527
|
+
streaming: "streaming";
|
|
375
528
|
}>>;
|
|
376
529
|
}, $strip>, ZodObject<{
|
|
377
530
|
type: ZodLiteral<"reasoning">;
|
|
378
531
|
text: ZodString;
|
|
379
532
|
state: ZodOptional<ZodEnum<{
|
|
380
|
-
streaming: "streaming";
|
|
381
533
|
done: "done";
|
|
534
|
+
streaming: "streaming";
|
|
382
535
|
}>>;
|
|
383
536
|
providerMetadata: ZodOptional<ZodObject<{
|
|
384
537
|
cossistant: ZodOptional<ZodObject<{
|
|
@@ -388,6 +541,19 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
388
541
|
}>>;
|
|
389
542
|
progressMessage: ZodOptional<ZodString>;
|
|
390
543
|
knowledgeId: ZodOptional<ZodString>;
|
|
544
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
545
|
+
logType: ZodEnum<{
|
|
546
|
+
log: "log";
|
|
547
|
+
customer_facing: "customer_facing";
|
|
548
|
+
decision: "decision";
|
|
549
|
+
}>;
|
|
550
|
+
triggerMessageId: ZodString;
|
|
551
|
+
workflowRunId: ZodString;
|
|
552
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
553
|
+
public: "public";
|
|
554
|
+
private: "private";
|
|
555
|
+
}>>;
|
|
556
|
+
}, $strip>>;
|
|
391
557
|
}, $strip>>;
|
|
392
558
|
}, $loose>>;
|
|
393
559
|
}, $strip>, ZodObject<{
|
|
@@ -397,11 +563,34 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
397
563
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
398
564
|
output: ZodOptional<ZodUnknown>;
|
|
399
565
|
state: ZodEnum<{
|
|
566
|
+
result: "result";
|
|
400
567
|
error: "error";
|
|
401
568
|
partial: "partial";
|
|
402
|
-
result: "result";
|
|
403
569
|
}>;
|
|
404
570
|
errorText: ZodOptional<ZodString>;
|
|
571
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
572
|
+
cossistant: ZodOptional<ZodObject<{
|
|
573
|
+
visibility: ZodOptional<ZodEnum<{
|
|
574
|
+
public: "public";
|
|
575
|
+
private: "private";
|
|
576
|
+
}>>;
|
|
577
|
+
progressMessage: ZodOptional<ZodString>;
|
|
578
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
579
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
580
|
+
logType: ZodEnum<{
|
|
581
|
+
log: "log";
|
|
582
|
+
customer_facing: "customer_facing";
|
|
583
|
+
decision: "decision";
|
|
584
|
+
}>;
|
|
585
|
+
triggerMessageId: ZodString;
|
|
586
|
+
workflowRunId: ZodString;
|
|
587
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
588
|
+
public: "public";
|
|
589
|
+
private: "private";
|
|
590
|
+
}>>;
|
|
591
|
+
}, $strip>>;
|
|
592
|
+
}, $strip>>;
|
|
593
|
+
}, $loose>>;
|
|
405
594
|
providerMetadata: ZodOptional<ZodObject<{
|
|
406
595
|
cossistant: ZodOptional<ZodObject<{
|
|
407
596
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -410,6 +599,19 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
410
599
|
}>>;
|
|
411
600
|
progressMessage: ZodOptional<ZodString>;
|
|
412
601
|
knowledgeId: ZodOptional<ZodString>;
|
|
602
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
603
|
+
logType: ZodEnum<{
|
|
604
|
+
log: "log";
|
|
605
|
+
customer_facing: "customer_facing";
|
|
606
|
+
decision: "decision";
|
|
607
|
+
}>;
|
|
608
|
+
triggerMessageId: ZodString;
|
|
609
|
+
workflowRunId: ZodString;
|
|
610
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
611
|
+
public: "public";
|
|
612
|
+
private: "private";
|
|
613
|
+
}>>;
|
|
614
|
+
}, $strip>>;
|
|
413
615
|
}, $strip>>;
|
|
414
616
|
}, $loose>>;
|
|
415
617
|
}, $strip>, ZodObject<{
|
|
@@ -425,6 +627,19 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
425
627
|
}>>;
|
|
426
628
|
progressMessage: ZodOptional<ZodString>;
|
|
427
629
|
knowledgeId: ZodOptional<ZodString>;
|
|
630
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
631
|
+
logType: ZodEnum<{
|
|
632
|
+
log: "log";
|
|
633
|
+
customer_facing: "customer_facing";
|
|
634
|
+
decision: "decision";
|
|
635
|
+
}>;
|
|
636
|
+
triggerMessageId: ZodString;
|
|
637
|
+
workflowRunId: ZodString;
|
|
638
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
639
|
+
public: "public";
|
|
640
|
+
private: "private";
|
|
641
|
+
}>>;
|
|
642
|
+
}, $strip>>;
|
|
428
643
|
}, $strip>>;
|
|
429
644
|
}, $loose>>;
|
|
430
645
|
}, $strip>, ZodObject<{
|
|
@@ -441,6 +656,19 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
441
656
|
}>>;
|
|
442
657
|
progressMessage: ZodOptional<ZodString>;
|
|
443
658
|
knowledgeId: ZodOptional<ZodString>;
|
|
659
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
660
|
+
logType: ZodEnum<{
|
|
661
|
+
log: "log";
|
|
662
|
+
customer_facing: "customer_facing";
|
|
663
|
+
decision: "decision";
|
|
664
|
+
}>;
|
|
665
|
+
triggerMessageId: ZodString;
|
|
666
|
+
workflowRunId: ZodString;
|
|
667
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
668
|
+
public: "public";
|
|
669
|
+
private: "private";
|
|
670
|
+
}>>;
|
|
671
|
+
}, $strip>>;
|
|
444
672
|
}, $strip>>;
|
|
445
673
|
}, $loose>>;
|
|
446
674
|
}, $strip>, ZodObject<{
|
|
@@ -539,6 +767,7 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
539
767
|
message: "message";
|
|
540
768
|
event: "event";
|
|
541
769
|
identification: "identification";
|
|
770
|
+
tool: "tool";
|
|
542
771
|
}>;
|
|
543
772
|
text: ZodNullable<ZodString>;
|
|
544
773
|
tool: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -546,15 +775,15 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
546
775
|
type: ZodLiteral<"text">;
|
|
547
776
|
text: ZodString;
|
|
548
777
|
state: ZodOptional<ZodEnum<{
|
|
549
|
-
streaming: "streaming";
|
|
550
778
|
done: "done";
|
|
779
|
+
streaming: "streaming";
|
|
551
780
|
}>>;
|
|
552
781
|
}, $strip>, ZodObject<{
|
|
553
782
|
type: ZodLiteral<"reasoning">;
|
|
554
783
|
text: ZodString;
|
|
555
784
|
state: ZodOptional<ZodEnum<{
|
|
556
|
-
streaming: "streaming";
|
|
557
785
|
done: "done";
|
|
786
|
+
streaming: "streaming";
|
|
558
787
|
}>>;
|
|
559
788
|
providerMetadata: ZodOptional<ZodObject<{
|
|
560
789
|
cossistant: ZodOptional<ZodObject<{
|
|
@@ -564,6 +793,19 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
564
793
|
}>>;
|
|
565
794
|
progressMessage: ZodOptional<ZodString>;
|
|
566
795
|
knowledgeId: ZodOptional<ZodString>;
|
|
796
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
797
|
+
logType: ZodEnum<{
|
|
798
|
+
log: "log";
|
|
799
|
+
customer_facing: "customer_facing";
|
|
800
|
+
decision: "decision";
|
|
801
|
+
}>;
|
|
802
|
+
triggerMessageId: ZodString;
|
|
803
|
+
workflowRunId: ZodString;
|
|
804
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
805
|
+
public: "public";
|
|
806
|
+
private: "private";
|
|
807
|
+
}>>;
|
|
808
|
+
}, $strip>>;
|
|
567
809
|
}, $strip>>;
|
|
568
810
|
}, $loose>>;
|
|
569
811
|
}, $strip>, ZodObject<{
|
|
@@ -573,11 +815,34 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
573
815
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
574
816
|
output: ZodOptional<ZodUnknown>;
|
|
575
817
|
state: ZodEnum<{
|
|
818
|
+
result: "result";
|
|
576
819
|
error: "error";
|
|
577
820
|
partial: "partial";
|
|
578
|
-
result: "result";
|
|
579
821
|
}>;
|
|
580
822
|
errorText: ZodOptional<ZodString>;
|
|
823
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
824
|
+
cossistant: ZodOptional<ZodObject<{
|
|
825
|
+
visibility: ZodOptional<ZodEnum<{
|
|
826
|
+
public: "public";
|
|
827
|
+
private: "private";
|
|
828
|
+
}>>;
|
|
829
|
+
progressMessage: ZodOptional<ZodString>;
|
|
830
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
831
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
832
|
+
logType: ZodEnum<{
|
|
833
|
+
log: "log";
|
|
834
|
+
customer_facing: "customer_facing";
|
|
835
|
+
decision: "decision";
|
|
836
|
+
}>;
|
|
837
|
+
triggerMessageId: ZodString;
|
|
838
|
+
workflowRunId: ZodString;
|
|
839
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
840
|
+
public: "public";
|
|
841
|
+
private: "private";
|
|
842
|
+
}>>;
|
|
843
|
+
}, $strip>>;
|
|
844
|
+
}, $strip>>;
|
|
845
|
+
}, $loose>>;
|
|
581
846
|
providerMetadata: ZodOptional<ZodObject<{
|
|
582
847
|
cossistant: ZodOptional<ZodObject<{
|
|
583
848
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -586,6 +851,19 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
586
851
|
}>>;
|
|
587
852
|
progressMessage: ZodOptional<ZodString>;
|
|
588
853
|
knowledgeId: ZodOptional<ZodString>;
|
|
854
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
855
|
+
logType: ZodEnum<{
|
|
856
|
+
log: "log";
|
|
857
|
+
customer_facing: "customer_facing";
|
|
858
|
+
decision: "decision";
|
|
859
|
+
}>;
|
|
860
|
+
triggerMessageId: ZodString;
|
|
861
|
+
workflowRunId: ZodString;
|
|
862
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
863
|
+
public: "public";
|
|
864
|
+
private: "private";
|
|
865
|
+
}>>;
|
|
866
|
+
}, $strip>>;
|
|
589
867
|
}, $strip>>;
|
|
590
868
|
}, $loose>>;
|
|
591
869
|
}, $strip>, ZodObject<{
|
|
@@ -601,6 +879,19 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
601
879
|
}>>;
|
|
602
880
|
progressMessage: ZodOptional<ZodString>;
|
|
603
881
|
knowledgeId: ZodOptional<ZodString>;
|
|
882
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
883
|
+
logType: ZodEnum<{
|
|
884
|
+
log: "log";
|
|
885
|
+
customer_facing: "customer_facing";
|
|
886
|
+
decision: "decision";
|
|
887
|
+
}>;
|
|
888
|
+
triggerMessageId: ZodString;
|
|
889
|
+
workflowRunId: ZodString;
|
|
890
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
891
|
+
public: "public";
|
|
892
|
+
private: "private";
|
|
893
|
+
}>>;
|
|
894
|
+
}, $strip>>;
|
|
604
895
|
}, $strip>>;
|
|
605
896
|
}, $loose>>;
|
|
606
897
|
}, $strip>, ZodObject<{
|
|
@@ -617,6 +908,19 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
617
908
|
}>>;
|
|
618
909
|
progressMessage: ZodOptional<ZodString>;
|
|
619
910
|
knowledgeId: ZodOptional<ZodString>;
|
|
911
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
912
|
+
logType: ZodEnum<{
|
|
913
|
+
log: "log";
|
|
914
|
+
customer_facing: "customer_facing";
|
|
915
|
+
decision: "decision";
|
|
916
|
+
}>;
|
|
917
|
+
triggerMessageId: ZodString;
|
|
918
|
+
workflowRunId: ZodString;
|
|
919
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
920
|
+
public: "public";
|
|
921
|
+
private: "private";
|
|
922
|
+
}>>;
|
|
923
|
+
}, $strip>>;
|
|
620
924
|
}, $strip>>;
|
|
621
925
|
}, $loose>>;
|
|
622
926
|
}, $strip>, ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../../../../../types/src/api/conversation.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA8Ba,kCAAgC
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../../../../../types/src/api/conversation.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA8Ba,kCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA,KAAA,aAAA,UAAA,CAAA;IAAA,SAAA,WAAA;IASjC,SAAA,WAAA;IAIC,SAAA,WAAA;;;;;;;;;;;;;;MAA8B,cAAA,WAAA;MAAA,UAAA,SAAA,CAAA;QA6B/B,MAAA,EAAA,QAAwB;QAIvB,OAAA,EAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KArCD,8BAAA,GAAiC,cACrC;cAGK,gCAA8B;;;;;;;;;;;;;;;;;KA6B/B,wBAAA,GAA2B,cAC/B;cAGK,iCAA+B;;;;;;;IAAA,SAAA,WAAA;IAAA,MAAA,YAAA,QAAA,CAAA;MAehC,QAAA,EAAA,UAAyB;MAIxB,IAAA,EAAA,MAAA;;;IAA4B,aAAA,aAAA,YAAA,UAAA,CAAA,CAAA;IAAA,eAAA,aAAA,YAAA,UAAA,CAAA,CAAA;IAU7B,SAAA,YAAsB,YAC1B,UAAA,CAAA,CAAA;IAGK,iBAAA,aAMV,YAAA,UAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAxBS,yBAAA,GAA4B,cAChC;cAGK,8BAA4B;;;AAcC,KAJ9B,sBAAA,GAAyB,MAIK,CAAA,OAHlC,4BAGkC,CAAA;AAAA,cAA7B,6BAA6B,EAAA,SAAA,CAAA;EAQ9B,YAAA,WAAA,CAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAvB,uBAAA,GAA0B,cAC9B"}
|