@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
|
@@ -26,15 +26,15 @@ declare const timelineItemPartsSchema: ZodArray<ZodUnion<readonly [ZodObject<{
|
|
|
26
26
|
type: ZodLiteral<"text">;
|
|
27
27
|
text: ZodString;
|
|
28
28
|
state: ZodOptional<ZodEnum<{
|
|
29
|
-
streaming: "streaming";
|
|
30
29
|
done: "done";
|
|
30
|
+
streaming: "streaming";
|
|
31
31
|
}>>;
|
|
32
32
|
}, $strip>, ZodObject<{
|
|
33
33
|
type: ZodLiteral<"reasoning">;
|
|
34
34
|
text: ZodString;
|
|
35
35
|
state: ZodOptional<ZodEnum<{
|
|
36
|
-
streaming: "streaming";
|
|
37
36
|
done: "done";
|
|
37
|
+
streaming: "streaming";
|
|
38
38
|
}>>;
|
|
39
39
|
providerMetadata: ZodOptional<ZodObject<{
|
|
40
40
|
cossistant: ZodOptional<ZodObject<{
|
|
@@ -44,6 +44,19 @@ declare const timelineItemPartsSchema: ZodArray<ZodUnion<readonly [ZodObject<{
|
|
|
44
44
|
}>>;
|
|
45
45
|
progressMessage: ZodOptional<ZodString>;
|
|
46
46
|
knowledgeId: ZodOptional<ZodString>;
|
|
47
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
48
|
+
logType: ZodEnum<{
|
|
49
|
+
log: "log";
|
|
50
|
+
customer_facing: "customer_facing";
|
|
51
|
+
decision: "decision";
|
|
52
|
+
}>;
|
|
53
|
+
triggerMessageId: ZodString;
|
|
54
|
+
workflowRunId: ZodString;
|
|
55
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
56
|
+
public: "public";
|
|
57
|
+
private: "private";
|
|
58
|
+
}>>;
|
|
59
|
+
}, $strip>>;
|
|
47
60
|
}, $strip>>;
|
|
48
61
|
}, $loose>>;
|
|
49
62
|
}, $strip>, ZodObject<{
|
|
@@ -53,11 +66,34 @@ declare const timelineItemPartsSchema: ZodArray<ZodUnion<readonly [ZodObject<{
|
|
|
53
66
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
54
67
|
output: ZodOptional<ZodUnknown>;
|
|
55
68
|
state: ZodEnum<{
|
|
69
|
+
result: "result";
|
|
56
70
|
error: "error";
|
|
57
71
|
partial: "partial";
|
|
58
|
-
result: "result";
|
|
59
72
|
}>;
|
|
60
73
|
errorText: ZodOptional<ZodString>;
|
|
74
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
75
|
+
cossistant: ZodOptional<ZodObject<{
|
|
76
|
+
visibility: ZodOptional<ZodEnum<{
|
|
77
|
+
public: "public";
|
|
78
|
+
private: "private";
|
|
79
|
+
}>>;
|
|
80
|
+
progressMessage: ZodOptional<ZodString>;
|
|
81
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
82
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
83
|
+
logType: ZodEnum<{
|
|
84
|
+
log: "log";
|
|
85
|
+
customer_facing: "customer_facing";
|
|
86
|
+
decision: "decision";
|
|
87
|
+
}>;
|
|
88
|
+
triggerMessageId: ZodString;
|
|
89
|
+
workflowRunId: ZodString;
|
|
90
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
91
|
+
public: "public";
|
|
92
|
+
private: "private";
|
|
93
|
+
}>>;
|
|
94
|
+
}, $strip>>;
|
|
95
|
+
}, $strip>>;
|
|
96
|
+
}, $loose>>;
|
|
61
97
|
providerMetadata: ZodOptional<ZodObject<{
|
|
62
98
|
cossistant: ZodOptional<ZodObject<{
|
|
63
99
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -66,6 +102,19 @@ declare const timelineItemPartsSchema: ZodArray<ZodUnion<readonly [ZodObject<{
|
|
|
66
102
|
}>>;
|
|
67
103
|
progressMessage: ZodOptional<ZodString>;
|
|
68
104
|
knowledgeId: ZodOptional<ZodString>;
|
|
105
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
106
|
+
logType: ZodEnum<{
|
|
107
|
+
log: "log";
|
|
108
|
+
customer_facing: "customer_facing";
|
|
109
|
+
decision: "decision";
|
|
110
|
+
}>;
|
|
111
|
+
triggerMessageId: ZodString;
|
|
112
|
+
workflowRunId: ZodString;
|
|
113
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
114
|
+
public: "public";
|
|
115
|
+
private: "private";
|
|
116
|
+
}>>;
|
|
117
|
+
}, $strip>>;
|
|
69
118
|
}, $strip>>;
|
|
70
119
|
}, $loose>>;
|
|
71
120
|
}, $strip>, ZodObject<{
|
|
@@ -81,6 +130,19 @@ declare const timelineItemPartsSchema: ZodArray<ZodUnion<readonly [ZodObject<{
|
|
|
81
130
|
}>>;
|
|
82
131
|
progressMessage: ZodOptional<ZodString>;
|
|
83
132
|
knowledgeId: ZodOptional<ZodString>;
|
|
133
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
134
|
+
logType: ZodEnum<{
|
|
135
|
+
log: "log";
|
|
136
|
+
customer_facing: "customer_facing";
|
|
137
|
+
decision: "decision";
|
|
138
|
+
}>;
|
|
139
|
+
triggerMessageId: ZodString;
|
|
140
|
+
workflowRunId: ZodString;
|
|
141
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
142
|
+
public: "public";
|
|
143
|
+
private: "private";
|
|
144
|
+
}>>;
|
|
145
|
+
}, $strip>>;
|
|
84
146
|
}, $strip>>;
|
|
85
147
|
}, $loose>>;
|
|
86
148
|
}, $strip>, ZodObject<{
|
|
@@ -97,6 +159,19 @@ declare const timelineItemPartsSchema: ZodArray<ZodUnion<readonly [ZodObject<{
|
|
|
97
159
|
}>>;
|
|
98
160
|
progressMessage: ZodOptional<ZodString>;
|
|
99
161
|
knowledgeId: ZodOptional<ZodString>;
|
|
162
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
163
|
+
logType: ZodEnum<{
|
|
164
|
+
log: "log";
|
|
165
|
+
customer_facing: "customer_facing";
|
|
166
|
+
decision: "decision";
|
|
167
|
+
}>;
|
|
168
|
+
triggerMessageId: ZodString;
|
|
169
|
+
workflowRunId: ZodString;
|
|
170
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
171
|
+
public: "public";
|
|
172
|
+
private: "private";
|
|
173
|
+
}>>;
|
|
174
|
+
}, $strip>>;
|
|
100
175
|
}, $strip>>;
|
|
101
176
|
}, $loose>>;
|
|
102
177
|
}, $strip>, ZodObject<{
|
|
@@ -158,6 +233,7 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
158
233
|
message: "message";
|
|
159
234
|
event: "event";
|
|
160
235
|
identification: "identification";
|
|
236
|
+
tool: "tool";
|
|
161
237
|
}>;
|
|
162
238
|
text: ZodNullable<ZodString>;
|
|
163
239
|
tool: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -165,15 +241,15 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
165
241
|
type: ZodLiteral<"text">;
|
|
166
242
|
text: ZodString;
|
|
167
243
|
state: ZodOptional<ZodEnum<{
|
|
168
|
-
streaming: "streaming";
|
|
169
244
|
done: "done";
|
|
245
|
+
streaming: "streaming";
|
|
170
246
|
}>>;
|
|
171
247
|
}, $strip>, ZodObject<{
|
|
172
248
|
type: ZodLiteral<"reasoning">;
|
|
173
249
|
text: ZodString;
|
|
174
250
|
state: ZodOptional<ZodEnum<{
|
|
175
|
-
streaming: "streaming";
|
|
176
251
|
done: "done";
|
|
252
|
+
streaming: "streaming";
|
|
177
253
|
}>>;
|
|
178
254
|
providerMetadata: ZodOptional<ZodObject<{
|
|
179
255
|
cossistant: ZodOptional<ZodObject<{
|
|
@@ -183,6 +259,19 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
183
259
|
}>>;
|
|
184
260
|
progressMessage: ZodOptional<ZodString>;
|
|
185
261
|
knowledgeId: ZodOptional<ZodString>;
|
|
262
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
263
|
+
logType: ZodEnum<{
|
|
264
|
+
log: "log";
|
|
265
|
+
customer_facing: "customer_facing";
|
|
266
|
+
decision: "decision";
|
|
267
|
+
}>;
|
|
268
|
+
triggerMessageId: ZodString;
|
|
269
|
+
workflowRunId: ZodString;
|
|
270
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
271
|
+
public: "public";
|
|
272
|
+
private: "private";
|
|
273
|
+
}>>;
|
|
274
|
+
}, $strip>>;
|
|
186
275
|
}, $strip>>;
|
|
187
276
|
}, $loose>>;
|
|
188
277
|
}, $strip>, ZodObject<{
|
|
@@ -192,11 +281,34 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
192
281
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
193
282
|
output: ZodOptional<ZodUnknown>;
|
|
194
283
|
state: ZodEnum<{
|
|
284
|
+
result: "result";
|
|
195
285
|
error: "error";
|
|
196
286
|
partial: "partial";
|
|
197
|
-
result: "result";
|
|
198
287
|
}>;
|
|
199
288
|
errorText: ZodOptional<ZodString>;
|
|
289
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
290
|
+
cossistant: ZodOptional<ZodObject<{
|
|
291
|
+
visibility: ZodOptional<ZodEnum<{
|
|
292
|
+
public: "public";
|
|
293
|
+
private: "private";
|
|
294
|
+
}>>;
|
|
295
|
+
progressMessage: ZodOptional<ZodString>;
|
|
296
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
297
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
298
|
+
logType: ZodEnum<{
|
|
299
|
+
log: "log";
|
|
300
|
+
customer_facing: "customer_facing";
|
|
301
|
+
decision: "decision";
|
|
302
|
+
}>;
|
|
303
|
+
triggerMessageId: ZodString;
|
|
304
|
+
workflowRunId: ZodString;
|
|
305
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
306
|
+
public: "public";
|
|
307
|
+
private: "private";
|
|
308
|
+
}>>;
|
|
309
|
+
}, $strip>>;
|
|
310
|
+
}, $strip>>;
|
|
311
|
+
}, $loose>>;
|
|
200
312
|
providerMetadata: ZodOptional<ZodObject<{
|
|
201
313
|
cossistant: ZodOptional<ZodObject<{
|
|
202
314
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -205,6 +317,19 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
205
317
|
}>>;
|
|
206
318
|
progressMessage: ZodOptional<ZodString>;
|
|
207
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>>;
|
|
208
333
|
}, $strip>>;
|
|
209
334
|
}, $loose>>;
|
|
210
335
|
}, $strip>, ZodObject<{
|
|
@@ -220,6 +345,19 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
220
345
|
}>>;
|
|
221
346
|
progressMessage: ZodOptional<ZodString>;
|
|
222
347
|
knowledgeId: ZodOptional<ZodString>;
|
|
348
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
349
|
+
logType: ZodEnum<{
|
|
350
|
+
log: "log";
|
|
351
|
+
customer_facing: "customer_facing";
|
|
352
|
+
decision: "decision";
|
|
353
|
+
}>;
|
|
354
|
+
triggerMessageId: ZodString;
|
|
355
|
+
workflowRunId: ZodString;
|
|
356
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
357
|
+
public: "public";
|
|
358
|
+
private: "private";
|
|
359
|
+
}>>;
|
|
360
|
+
}, $strip>>;
|
|
223
361
|
}, $strip>>;
|
|
224
362
|
}, $loose>>;
|
|
225
363
|
}, $strip>, ZodObject<{
|
|
@@ -236,6 +374,19 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
236
374
|
}>>;
|
|
237
375
|
progressMessage: ZodOptional<ZodString>;
|
|
238
376
|
knowledgeId: ZodOptional<ZodString>;
|
|
377
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
378
|
+
logType: ZodEnum<{
|
|
379
|
+
log: "log";
|
|
380
|
+
customer_facing: "customer_facing";
|
|
381
|
+
decision: "decision";
|
|
382
|
+
}>;
|
|
383
|
+
triggerMessageId: ZodString;
|
|
384
|
+
workflowRunId: ZodString;
|
|
385
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
386
|
+
public: "public";
|
|
387
|
+
private: "private";
|
|
388
|
+
}>>;
|
|
389
|
+
}, $strip>>;
|
|
239
390
|
}, $strip>>;
|
|
240
391
|
}, $loose>>;
|
|
241
392
|
}, $strip>, ZodObject<{
|
|
@@ -318,6 +469,7 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
318
469
|
message: "message";
|
|
319
470
|
event: "event";
|
|
320
471
|
identification: "identification";
|
|
472
|
+
tool: "tool";
|
|
321
473
|
}>;
|
|
322
474
|
text: ZodNullable<ZodString>;
|
|
323
475
|
tool: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -325,15 +477,15 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
325
477
|
type: ZodLiteral<"text">;
|
|
326
478
|
text: ZodString;
|
|
327
479
|
state: ZodOptional<ZodEnum<{
|
|
328
|
-
streaming: "streaming";
|
|
329
480
|
done: "done";
|
|
481
|
+
streaming: "streaming";
|
|
330
482
|
}>>;
|
|
331
483
|
}, $strip>, ZodObject<{
|
|
332
484
|
type: ZodLiteral<"reasoning">;
|
|
333
485
|
text: ZodString;
|
|
334
486
|
state: ZodOptional<ZodEnum<{
|
|
335
|
-
streaming: "streaming";
|
|
336
487
|
done: "done";
|
|
488
|
+
streaming: "streaming";
|
|
337
489
|
}>>;
|
|
338
490
|
providerMetadata: ZodOptional<ZodObject<{
|
|
339
491
|
cossistant: ZodOptional<ZodObject<{
|
|
@@ -343,6 +495,19 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
343
495
|
}>>;
|
|
344
496
|
progressMessage: ZodOptional<ZodString>;
|
|
345
497
|
knowledgeId: ZodOptional<ZodString>;
|
|
498
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
499
|
+
logType: ZodEnum<{
|
|
500
|
+
log: "log";
|
|
501
|
+
customer_facing: "customer_facing";
|
|
502
|
+
decision: "decision";
|
|
503
|
+
}>;
|
|
504
|
+
triggerMessageId: ZodString;
|
|
505
|
+
workflowRunId: ZodString;
|
|
506
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
507
|
+
public: "public";
|
|
508
|
+
private: "private";
|
|
509
|
+
}>>;
|
|
510
|
+
}, $strip>>;
|
|
346
511
|
}, $strip>>;
|
|
347
512
|
}, $loose>>;
|
|
348
513
|
}, $strip>, ZodObject<{
|
|
@@ -352,11 +517,34 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
352
517
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
353
518
|
output: ZodOptional<ZodUnknown>;
|
|
354
519
|
state: ZodEnum<{
|
|
520
|
+
result: "result";
|
|
355
521
|
error: "error";
|
|
356
522
|
partial: "partial";
|
|
357
|
-
result: "result";
|
|
358
523
|
}>;
|
|
359
524
|
errorText: ZodOptional<ZodString>;
|
|
525
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
526
|
+
cossistant: ZodOptional<ZodObject<{
|
|
527
|
+
visibility: ZodOptional<ZodEnum<{
|
|
528
|
+
public: "public";
|
|
529
|
+
private: "private";
|
|
530
|
+
}>>;
|
|
531
|
+
progressMessage: ZodOptional<ZodString>;
|
|
532
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
533
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
534
|
+
logType: ZodEnum<{
|
|
535
|
+
log: "log";
|
|
536
|
+
customer_facing: "customer_facing";
|
|
537
|
+
decision: "decision";
|
|
538
|
+
}>;
|
|
539
|
+
triggerMessageId: ZodString;
|
|
540
|
+
workflowRunId: ZodString;
|
|
541
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
542
|
+
public: "public";
|
|
543
|
+
private: "private";
|
|
544
|
+
}>>;
|
|
545
|
+
}, $strip>>;
|
|
546
|
+
}, $strip>>;
|
|
547
|
+
}, $loose>>;
|
|
360
548
|
providerMetadata: ZodOptional<ZodObject<{
|
|
361
549
|
cossistant: ZodOptional<ZodObject<{
|
|
362
550
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -365,6 +553,19 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
365
553
|
}>>;
|
|
366
554
|
progressMessage: ZodOptional<ZodString>;
|
|
367
555
|
knowledgeId: ZodOptional<ZodString>;
|
|
556
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
557
|
+
logType: ZodEnum<{
|
|
558
|
+
log: "log";
|
|
559
|
+
customer_facing: "customer_facing";
|
|
560
|
+
decision: "decision";
|
|
561
|
+
}>;
|
|
562
|
+
triggerMessageId: ZodString;
|
|
563
|
+
workflowRunId: ZodString;
|
|
564
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
565
|
+
public: "public";
|
|
566
|
+
private: "private";
|
|
567
|
+
}>>;
|
|
568
|
+
}, $strip>>;
|
|
368
569
|
}, $strip>>;
|
|
369
570
|
}, $loose>>;
|
|
370
571
|
}, $strip>, ZodObject<{
|
|
@@ -380,6 +581,19 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
380
581
|
}>>;
|
|
381
582
|
progressMessage: ZodOptional<ZodString>;
|
|
382
583
|
knowledgeId: ZodOptional<ZodString>;
|
|
584
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
585
|
+
logType: ZodEnum<{
|
|
586
|
+
log: "log";
|
|
587
|
+
customer_facing: "customer_facing";
|
|
588
|
+
decision: "decision";
|
|
589
|
+
}>;
|
|
590
|
+
triggerMessageId: ZodString;
|
|
591
|
+
workflowRunId: ZodString;
|
|
592
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
593
|
+
public: "public";
|
|
594
|
+
private: "private";
|
|
595
|
+
}>>;
|
|
596
|
+
}, $strip>>;
|
|
383
597
|
}, $strip>>;
|
|
384
598
|
}, $loose>>;
|
|
385
599
|
}, $strip>, ZodObject<{
|
|
@@ -396,6 +610,19 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
396
610
|
}>>;
|
|
397
611
|
progressMessage: ZodOptional<ZodString>;
|
|
398
612
|
knowledgeId: ZodOptional<ZodString>;
|
|
613
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
614
|
+
logType: ZodEnum<{
|
|
615
|
+
log: "log";
|
|
616
|
+
customer_facing: "customer_facing";
|
|
617
|
+
decision: "decision";
|
|
618
|
+
}>;
|
|
619
|
+
triggerMessageId: ZodString;
|
|
620
|
+
workflowRunId: ZodString;
|
|
621
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
622
|
+
public: "public";
|
|
623
|
+
private: "private";
|
|
624
|
+
}>>;
|
|
625
|
+
}, $strip>>;
|
|
399
626
|
}, $strip>>;
|
|
400
627
|
}, $loose>>;
|
|
401
628
|
}, $strip>, ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline-item.d.ts","names":[],"sources":["../../../../../../types/src/api/timeline-item.ts"],"sourcesContent":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"timeline-item.d.ts","names":[],"sources":["../../../../../../types/src/api/timeline-item.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA+LM,gBAAc;;;;;;;cAsBd,iBAAe;;;;;;;;;cAsFR,yBAAuB,SAAA,mBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsBL,QAAA,EAAA,UAAA;IAAA,QAAA,EAAA,UAAA;IAqDnB,eAAA,EAAkB,iBAAkB;IAEpC,iBAAY,EAAA,mBAAkB;IAC9B,kBAAiB,EAAA,oBAAkB;EASnC,CAAA,CAAA;EACA,WAAA,aAA2B,UAAA,CAAA;EAQ3B,cAAA,aAAgB,UAAW,CAAA;EAE3B,YAAA,aAAiB,UAAG,CAAA;EAgCnB,eAAA,aAAA,UAAA,CAAA;;;;;;;IAAyC,GAAA,EAAA,KAAA;EAAA,CAAA,CAAA;AAetD,CAAA,QAAY,CAAA,CAAA,CAAA,CAAA;AAIC,cA/HA,kBA+HA,EA/HkB,SA8I5B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAfoD,MAAA,aAAA,UAAA,CAAA;EAAA,SAAA,aAAA,UAAA,CAAA;EAiB3C,SAAA,aAAA,UAAA,CAAA;;;;KA3FA,kBAAA,GAAqB,cAAe;KAEpC,YAAA,GAAe,cAAe;KAC9B,iBAAA,GAAoB,cAAe;KASnC,QAAA,GAAW,cAAe;KAC1B,SAAA,GAAY,cAAe;;KAQ3B,gBAAA,GAAmB;;KAEnB,iBAAA,GAAoB;cAgCnB,2CAAyC;;;;KAe1C,mCAAA,GAAsC,cAC1C;cAGK,4CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiB3C,oCAAA,GAAuC,cAC3C"}
|