@cossistant/types 0.0.32 → 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/api/ai-agent.d.ts.map +1 -1
- package/api/contact.d.ts.map +1 -1
- package/api/conversation.d.ts +375 -0
- package/api/conversation.d.ts.map +1 -1
- package/api/index.d.ts +2 -2
- package/api/link-source.d.ts +4 -4
- package/api/link-source.d.ts.map +1 -1
- package/api/timeline-item.d.ts +478 -1
- package/api/timeline-item.d.ts.map +1 -1
- package/api/timeline-item.js +14 -1
- package/api/timeline-item.js.map +1 -1
- package/index.d.ts +3 -2
- package/index.d.ts.map +1 -1
- package/index.js +2 -1
- package/package.json +1 -1
- package/realtime-events.d.ts +226 -1
- package/realtime-events.d.ts.map +1 -1
- package/schemas.d.ts +75 -0
- package/schemas.d.ts.map +1 -1
- package/tool-timeline-policy.d.ts +13 -0
- package/tool-timeline-policy.d.ts.map +1 -0
- package/tool-timeline-policy.js +24 -0
- package/tool-timeline-policy.js.map +1 -0
- package/trpc/conversation.d.ts +300 -0
- package/trpc/conversation.d.ts.map +1 -1
package/api/timeline-item.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
2
|
|
|
3
3
|
//#region src/api/timeline-item.d.ts
|
|
4
|
+
declare const cossistantToolTimelineMetadataSchema: z.ZodObject<{
|
|
5
|
+
logType: z.ZodEnum<{
|
|
6
|
+
customer_facing: "customer_facing";
|
|
7
|
+
log: "log";
|
|
8
|
+
decision: "decision";
|
|
9
|
+
}>;
|
|
10
|
+
triggerMessageId: z.ZodString;
|
|
11
|
+
workflowRunId: z.ZodString;
|
|
12
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
public: "public";
|
|
14
|
+
private: "private";
|
|
15
|
+
}>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
4
17
|
declare const cossistantProviderMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
5
18
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
6
19
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
@@ -9,6 +22,19 @@ declare const cossistantProviderMetadataSchema: z.ZodOptional<z.ZodObject<{
|
|
|
9
22
|
}>>;
|
|
10
23
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
11
24
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
logType: z.ZodEnum<{
|
|
27
|
+
customer_facing: "customer_facing";
|
|
28
|
+
log: "log";
|
|
29
|
+
decision: "decision";
|
|
30
|
+
}>;
|
|
31
|
+
triggerMessageId: z.ZodString;
|
|
32
|
+
workflowRunId: z.ZodString;
|
|
33
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
public: "public";
|
|
35
|
+
private: "private";
|
|
36
|
+
}>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
12
38
|
}, z.core.$strip>>;
|
|
13
39
|
}, z.core.$loose>>;
|
|
14
40
|
declare const textPartSchema: z.ZodObject<{
|
|
@@ -34,6 +60,19 @@ declare const reasoningPartSchema: z.ZodObject<{
|
|
|
34
60
|
}>>;
|
|
35
61
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
36
62
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
63
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
logType: z.ZodEnum<{
|
|
65
|
+
customer_facing: "customer_facing";
|
|
66
|
+
log: "log";
|
|
67
|
+
decision: "decision";
|
|
68
|
+
}>;
|
|
69
|
+
triggerMessageId: z.ZodString;
|
|
70
|
+
workflowRunId: z.ZodString;
|
|
71
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
public: "public";
|
|
73
|
+
private: "private";
|
|
74
|
+
}>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
37
76
|
}, z.core.$strip>>;
|
|
38
77
|
}, z.core.$loose>>;
|
|
39
78
|
}, z.core.$strip>;
|
|
@@ -54,6 +93,29 @@ declare const toolPartSchema: z.ZodObject<{
|
|
|
54
93
|
result: "result";
|
|
55
94
|
}>;
|
|
56
95
|
errorText: z.ZodOptional<z.ZodString>;
|
|
96
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
99
|
+
public: "public";
|
|
100
|
+
private: "private";
|
|
101
|
+
}>>;
|
|
102
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
103
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
104
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
logType: z.ZodEnum<{
|
|
106
|
+
customer_facing: "customer_facing";
|
|
107
|
+
log: "log";
|
|
108
|
+
decision: "decision";
|
|
109
|
+
}>;
|
|
110
|
+
triggerMessageId: z.ZodString;
|
|
111
|
+
workflowRunId: z.ZodString;
|
|
112
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
113
|
+
public: "public";
|
|
114
|
+
private: "private";
|
|
115
|
+
}>>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
}, z.core.$loose>>;
|
|
57
119
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
58
120
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
59
121
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
@@ -62,6 +124,19 @@ declare const toolPartSchema: z.ZodObject<{
|
|
|
62
124
|
}>>;
|
|
63
125
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
64
126
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
127
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
logType: z.ZodEnum<{
|
|
129
|
+
customer_facing: "customer_facing";
|
|
130
|
+
log: "log";
|
|
131
|
+
decision: "decision";
|
|
132
|
+
}>;
|
|
133
|
+
triggerMessageId: z.ZodString;
|
|
134
|
+
workflowRunId: z.ZodString;
|
|
135
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
public: "public";
|
|
137
|
+
private: "private";
|
|
138
|
+
}>>;
|
|
139
|
+
}, z.core.$strip>>;
|
|
65
140
|
}, z.core.$strip>>;
|
|
66
141
|
}, z.core.$loose>>;
|
|
67
142
|
}, z.core.$strip>;
|
|
@@ -78,6 +153,19 @@ declare const sourceUrlPartSchema: z.ZodObject<{
|
|
|
78
153
|
}>>;
|
|
79
154
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
80
155
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
156
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
logType: z.ZodEnum<{
|
|
158
|
+
customer_facing: "customer_facing";
|
|
159
|
+
log: "log";
|
|
160
|
+
decision: "decision";
|
|
161
|
+
}>;
|
|
162
|
+
triggerMessageId: z.ZodString;
|
|
163
|
+
workflowRunId: z.ZodString;
|
|
164
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
165
|
+
public: "public";
|
|
166
|
+
private: "private";
|
|
167
|
+
}>>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
81
169
|
}, z.core.$strip>>;
|
|
82
170
|
}, z.core.$loose>>;
|
|
83
171
|
}, z.core.$strip>;
|
|
@@ -95,6 +183,19 @@ declare const sourceDocumentPartSchema: z.ZodObject<{
|
|
|
95
183
|
}>>;
|
|
96
184
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
97
185
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
186
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
logType: z.ZodEnum<{
|
|
188
|
+
customer_facing: "customer_facing";
|
|
189
|
+
log: "log";
|
|
190
|
+
decision: "decision";
|
|
191
|
+
}>;
|
|
192
|
+
triggerMessageId: z.ZodString;
|
|
193
|
+
workflowRunId: z.ZodString;
|
|
194
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
195
|
+
public: "public";
|
|
196
|
+
private: "private";
|
|
197
|
+
}>>;
|
|
198
|
+
}, z.core.$strip>>;
|
|
98
199
|
}, z.core.$strip>>;
|
|
99
200
|
}, z.core.$loose>>;
|
|
100
201
|
}, z.core.$strip>;
|
|
@@ -171,6 +272,19 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
171
272
|
}>>;
|
|
172
273
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
173
274
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
275
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
logType: z.ZodEnum<{
|
|
277
|
+
customer_facing: "customer_facing";
|
|
278
|
+
log: "log";
|
|
279
|
+
decision: "decision";
|
|
280
|
+
}>;
|
|
281
|
+
triggerMessageId: z.ZodString;
|
|
282
|
+
workflowRunId: z.ZodString;
|
|
283
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
284
|
+
public: "public";
|
|
285
|
+
private: "private";
|
|
286
|
+
}>>;
|
|
287
|
+
}, z.core.$strip>>;
|
|
174
288
|
}, z.core.$strip>>;
|
|
175
289
|
}, z.core.$loose>>;
|
|
176
290
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -185,6 +299,29 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
185
299
|
result: "result";
|
|
186
300
|
}>;
|
|
187
301
|
errorText: z.ZodOptional<z.ZodString>;
|
|
302
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
303
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
305
|
+
public: "public";
|
|
306
|
+
private: "private";
|
|
307
|
+
}>>;
|
|
308
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
309
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
310
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
logType: z.ZodEnum<{
|
|
312
|
+
customer_facing: "customer_facing";
|
|
313
|
+
log: "log";
|
|
314
|
+
decision: "decision";
|
|
315
|
+
}>;
|
|
316
|
+
triggerMessageId: z.ZodString;
|
|
317
|
+
workflowRunId: z.ZodString;
|
|
318
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
public: "public";
|
|
320
|
+
private: "private";
|
|
321
|
+
}>>;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
}, z.core.$loose>>;
|
|
188
325
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
189
326
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
190
327
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
@@ -193,6 +330,19 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
193
330
|
}>>;
|
|
194
331
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
195
332
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
333
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
logType: z.ZodEnum<{
|
|
335
|
+
customer_facing: "customer_facing";
|
|
336
|
+
log: "log";
|
|
337
|
+
decision: "decision";
|
|
338
|
+
}>;
|
|
339
|
+
triggerMessageId: z.ZodString;
|
|
340
|
+
workflowRunId: z.ZodString;
|
|
341
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
342
|
+
public: "public";
|
|
343
|
+
private: "private";
|
|
344
|
+
}>>;
|
|
345
|
+
}, z.core.$strip>>;
|
|
196
346
|
}, z.core.$strip>>;
|
|
197
347
|
}, z.core.$loose>>;
|
|
198
348
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -208,6 +358,19 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
208
358
|
}>>;
|
|
209
359
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
210
360
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
361
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
logType: z.ZodEnum<{
|
|
363
|
+
customer_facing: "customer_facing";
|
|
364
|
+
log: "log";
|
|
365
|
+
decision: "decision";
|
|
366
|
+
}>;
|
|
367
|
+
triggerMessageId: z.ZodString;
|
|
368
|
+
workflowRunId: z.ZodString;
|
|
369
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
370
|
+
public: "public";
|
|
371
|
+
private: "private";
|
|
372
|
+
}>>;
|
|
373
|
+
}, z.core.$strip>>;
|
|
211
374
|
}, z.core.$strip>>;
|
|
212
375
|
}, z.core.$loose>>;
|
|
213
376
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -224,6 +387,19 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
224
387
|
}>>;
|
|
225
388
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
226
389
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
390
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
391
|
+
logType: z.ZodEnum<{
|
|
392
|
+
customer_facing: "customer_facing";
|
|
393
|
+
log: "log";
|
|
394
|
+
decision: "decision";
|
|
395
|
+
}>;
|
|
396
|
+
triggerMessageId: z.ZodString;
|
|
397
|
+
workflowRunId: z.ZodString;
|
|
398
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
public: "public";
|
|
400
|
+
private: "private";
|
|
401
|
+
}>>;
|
|
402
|
+
}, z.core.$strip>>;
|
|
227
403
|
}, z.core.$strip>>;
|
|
228
404
|
}, z.core.$loose>>;
|
|
229
405
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -311,6 +487,19 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
311
487
|
}>>;
|
|
312
488
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
313
489
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
490
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
491
|
+
logType: z.ZodEnum<{
|
|
492
|
+
customer_facing: "customer_facing";
|
|
493
|
+
log: "log";
|
|
494
|
+
decision: "decision";
|
|
495
|
+
}>;
|
|
496
|
+
triggerMessageId: z.ZodString;
|
|
497
|
+
workflowRunId: z.ZodString;
|
|
498
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
499
|
+
public: "public";
|
|
500
|
+
private: "private";
|
|
501
|
+
}>>;
|
|
502
|
+
}, z.core.$strip>>;
|
|
314
503
|
}, z.core.$strip>>;
|
|
315
504
|
}, z.core.$loose>>;
|
|
316
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -325,6 +514,29 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
325
514
|
result: "result";
|
|
326
515
|
}>;
|
|
327
516
|
errorText: z.ZodOptional<z.ZodString>;
|
|
517
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
518
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
519
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
520
|
+
public: "public";
|
|
521
|
+
private: "private";
|
|
522
|
+
}>>;
|
|
523
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
524
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
525
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
526
|
+
logType: z.ZodEnum<{
|
|
527
|
+
customer_facing: "customer_facing";
|
|
528
|
+
log: "log";
|
|
529
|
+
decision: "decision";
|
|
530
|
+
}>;
|
|
531
|
+
triggerMessageId: z.ZodString;
|
|
532
|
+
workflowRunId: z.ZodString;
|
|
533
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
534
|
+
public: "public";
|
|
535
|
+
private: "private";
|
|
536
|
+
}>>;
|
|
537
|
+
}, z.core.$strip>>;
|
|
538
|
+
}, z.core.$strip>>;
|
|
539
|
+
}, z.core.$loose>>;
|
|
328
540
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
329
541
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
330
542
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
@@ -333,6 +545,19 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
333
545
|
}>>;
|
|
334
546
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
335
547
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
548
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
549
|
+
logType: z.ZodEnum<{
|
|
550
|
+
customer_facing: "customer_facing";
|
|
551
|
+
log: "log";
|
|
552
|
+
decision: "decision";
|
|
553
|
+
}>;
|
|
554
|
+
triggerMessageId: z.ZodString;
|
|
555
|
+
workflowRunId: z.ZodString;
|
|
556
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
557
|
+
public: "public";
|
|
558
|
+
private: "private";
|
|
559
|
+
}>>;
|
|
560
|
+
}, z.core.$strip>>;
|
|
336
561
|
}, z.core.$strip>>;
|
|
337
562
|
}, z.core.$loose>>;
|
|
338
563
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -348,6 +573,19 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
348
573
|
}>>;
|
|
349
574
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
350
575
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
576
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
577
|
+
logType: z.ZodEnum<{
|
|
578
|
+
customer_facing: "customer_facing";
|
|
579
|
+
log: "log";
|
|
580
|
+
decision: "decision";
|
|
581
|
+
}>;
|
|
582
|
+
triggerMessageId: z.ZodString;
|
|
583
|
+
workflowRunId: z.ZodString;
|
|
584
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
585
|
+
public: "public";
|
|
586
|
+
private: "private";
|
|
587
|
+
}>>;
|
|
588
|
+
}, z.core.$strip>>;
|
|
351
589
|
}, z.core.$strip>>;
|
|
352
590
|
}, z.core.$loose>>;
|
|
353
591
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -364,6 +602,19 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
364
602
|
}>>;
|
|
365
603
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
366
604
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
605
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
606
|
+
logType: z.ZodEnum<{
|
|
607
|
+
customer_facing: "customer_facing";
|
|
608
|
+
log: "log";
|
|
609
|
+
decision: "decision";
|
|
610
|
+
}>;
|
|
611
|
+
triggerMessageId: z.ZodString;
|
|
612
|
+
workflowRunId: z.ZodString;
|
|
613
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
614
|
+
public: "public";
|
|
615
|
+
private: "private";
|
|
616
|
+
}>>;
|
|
617
|
+
}, z.core.$strip>>;
|
|
367
618
|
}, z.core.$strip>>;
|
|
368
619
|
}, z.core.$loose>>;
|
|
369
620
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -439,6 +690,7 @@ type TimelinePartImage = ImagePart;
|
|
|
439
690
|
/** @deprecated Use `TextPart` instead */
|
|
440
691
|
type TimelinePartText = TextPart;
|
|
441
692
|
type CossistantProviderMetadata = z.infer<typeof cossistantProviderMetadataSchema>;
|
|
693
|
+
type CossistantToolTimelineMetadata = z.infer<typeof cossistantToolTimelineMetadataSchema>;
|
|
442
694
|
type ToolState = z.infer<typeof toolStateSchema>;
|
|
443
695
|
declare const getConversationTimelineItemsRequestSchema: z.ZodObject<{
|
|
444
696
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -484,6 +736,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
484
736
|
}>>;
|
|
485
737
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
486
738
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
739
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
740
|
+
logType: z.ZodEnum<{
|
|
741
|
+
customer_facing: "customer_facing";
|
|
742
|
+
log: "log";
|
|
743
|
+
decision: "decision";
|
|
744
|
+
}>;
|
|
745
|
+
triggerMessageId: z.ZodString;
|
|
746
|
+
workflowRunId: z.ZodString;
|
|
747
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
748
|
+
public: "public";
|
|
749
|
+
private: "private";
|
|
750
|
+
}>>;
|
|
751
|
+
}, z.core.$strip>>;
|
|
487
752
|
}, z.core.$strip>>;
|
|
488
753
|
}, z.core.$loose>>;
|
|
489
754
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -498,6 +763,29 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
498
763
|
result: "result";
|
|
499
764
|
}>;
|
|
500
765
|
errorText: z.ZodOptional<z.ZodString>;
|
|
766
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
767
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
769
|
+
public: "public";
|
|
770
|
+
private: "private";
|
|
771
|
+
}>>;
|
|
772
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
773
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
774
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
775
|
+
logType: z.ZodEnum<{
|
|
776
|
+
customer_facing: "customer_facing";
|
|
777
|
+
log: "log";
|
|
778
|
+
decision: "decision";
|
|
779
|
+
}>;
|
|
780
|
+
triggerMessageId: z.ZodString;
|
|
781
|
+
workflowRunId: z.ZodString;
|
|
782
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
783
|
+
public: "public";
|
|
784
|
+
private: "private";
|
|
785
|
+
}>>;
|
|
786
|
+
}, z.core.$strip>>;
|
|
787
|
+
}, z.core.$strip>>;
|
|
788
|
+
}, z.core.$loose>>;
|
|
501
789
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
502
790
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
503
791
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
@@ -506,6 +794,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
506
794
|
}>>;
|
|
507
795
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
508
796
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
797
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
798
|
+
logType: z.ZodEnum<{
|
|
799
|
+
customer_facing: "customer_facing";
|
|
800
|
+
log: "log";
|
|
801
|
+
decision: "decision";
|
|
802
|
+
}>;
|
|
803
|
+
triggerMessageId: z.ZodString;
|
|
804
|
+
workflowRunId: z.ZodString;
|
|
805
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
806
|
+
public: "public";
|
|
807
|
+
private: "private";
|
|
808
|
+
}>>;
|
|
809
|
+
}, z.core.$strip>>;
|
|
509
810
|
}, z.core.$strip>>;
|
|
510
811
|
}, z.core.$loose>>;
|
|
511
812
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -521,6 +822,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
521
822
|
}>>;
|
|
522
823
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
523
824
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
825
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
826
|
+
logType: z.ZodEnum<{
|
|
827
|
+
customer_facing: "customer_facing";
|
|
828
|
+
log: "log";
|
|
829
|
+
decision: "decision";
|
|
830
|
+
}>;
|
|
831
|
+
triggerMessageId: z.ZodString;
|
|
832
|
+
workflowRunId: z.ZodString;
|
|
833
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
834
|
+
public: "public";
|
|
835
|
+
private: "private";
|
|
836
|
+
}>>;
|
|
837
|
+
}, z.core.$strip>>;
|
|
524
838
|
}, z.core.$strip>>;
|
|
525
839
|
}, z.core.$loose>>;
|
|
526
840
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -537,6 +851,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
537
851
|
}>>;
|
|
538
852
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
539
853
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
854
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
logType: z.ZodEnum<{
|
|
856
|
+
customer_facing: "customer_facing";
|
|
857
|
+
log: "log";
|
|
858
|
+
decision: "decision";
|
|
859
|
+
}>;
|
|
860
|
+
triggerMessageId: z.ZodString;
|
|
861
|
+
workflowRunId: z.ZodString;
|
|
862
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
863
|
+
public: "public";
|
|
864
|
+
private: "private";
|
|
865
|
+
}>>;
|
|
866
|
+
}, z.core.$strip>>;
|
|
540
867
|
}, z.core.$strip>>;
|
|
541
868
|
}, z.core.$loose>>;
|
|
542
869
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -627,6 +954,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
627
954
|
}>>;
|
|
628
955
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
629
956
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
957
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
958
|
+
logType: z.ZodEnum<{
|
|
959
|
+
customer_facing: "customer_facing";
|
|
960
|
+
log: "log";
|
|
961
|
+
decision: "decision";
|
|
962
|
+
}>;
|
|
963
|
+
triggerMessageId: z.ZodString;
|
|
964
|
+
workflowRunId: z.ZodString;
|
|
965
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
966
|
+
public: "public";
|
|
967
|
+
private: "private";
|
|
968
|
+
}>>;
|
|
969
|
+
}, z.core.$strip>>;
|
|
630
970
|
}, z.core.$strip>>;
|
|
631
971
|
}, z.core.$loose>>;
|
|
632
972
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -641,6 +981,29 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
641
981
|
result: "result";
|
|
642
982
|
}>;
|
|
643
983
|
errorText: z.ZodOptional<z.ZodString>;
|
|
984
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
985
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
986
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
987
|
+
public: "public";
|
|
988
|
+
private: "private";
|
|
989
|
+
}>>;
|
|
990
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
991
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
992
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
993
|
+
logType: z.ZodEnum<{
|
|
994
|
+
customer_facing: "customer_facing";
|
|
995
|
+
log: "log";
|
|
996
|
+
decision: "decision";
|
|
997
|
+
}>;
|
|
998
|
+
triggerMessageId: z.ZodString;
|
|
999
|
+
workflowRunId: z.ZodString;
|
|
1000
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1001
|
+
public: "public";
|
|
1002
|
+
private: "private";
|
|
1003
|
+
}>>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
}, z.core.$strip>>;
|
|
1006
|
+
}, z.core.$loose>>;
|
|
644
1007
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
645
1008
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
646
1009
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
@@ -649,6 +1012,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
649
1012
|
}>>;
|
|
650
1013
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
651
1014
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
logType: z.ZodEnum<{
|
|
1017
|
+
customer_facing: "customer_facing";
|
|
1018
|
+
log: "log";
|
|
1019
|
+
decision: "decision";
|
|
1020
|
+
}>;
|
|
1021
|
+
triggerMessageId: z.ZodString;
|
|
1022
|
+
workflowRunId: z.ZodString;
|
|
1023
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1024
|
+
public: "public";
|
|
1025
|
+
private: "private";
|
|
1026
|
+
}>>;
|
|
1027
|
+
}, z.core.$strip>>;
|
|
652
1028
|
}, z.core.$strip>>;
|
|
653
1029
|
}, z.core.$loose>>;
|
|
654
1030
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -664,6 +1040,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
664
1040
|
}>>;
|
|
665
1041
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
666
1042
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1044
|
+
logType: z.ZodEnum<{
|
|
1045
|
+
customer_facing: "customer_facing";
|
|
1046
|
+
log: "log";
|
|
1047
|
+
decision: "decision";
|
|
1048
|
+
}>;
|
|
1049
|
+
triggerMessageId: z.ZodString;
|
|
1050
|
+
workflowRunId: z.ZodString;
|
|
1051
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1052
|
+
public: "public";
|
|
1053
|
+
private: "private";
|
|
1054
|
+
}>>;
|
|
1055
|
+
}, z.core.$strip>>;
|
|
667
1056
|
}, z.core.$strip>>;
|
|
668
1057
|
}, z.core.$loose>>;
|
|
669
1058
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -680,6 +1069,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
680
1069
|
}>>;
|
|
681
1070
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
682
1071
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1073
|
+
logType: z.ZodEnum<{
|
|
1074
|
+
customer_facing: "customer_facing";
|
|
1075
|
+
log: "log";
|
|
1076
|
+
decision: "decision";
|
|
1077
|
+
}>;
|
|
1078
|
+
triggerMessageId: z.ZodString;
|
|
1079
|
+
workflowRunId: z.ZodString;
|
|
1080
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1081
|
+
public: "public";
|
|
1082
|
+
private: "private";
|
|
1083
|
+
}>>;
|
|
1084
|
+
}, z.core.$strip>>;
|
|
683
1085
|
}, z.core.$strip>>;
|
|
684
1086
|
}, z.core.$loose>>;
|
|
685
1087
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -780,6 +1182,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
780
1182
|
}>>;
|
|
781
1183
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
782
1184
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1186
|
+
logType: z.ZodEnum<{
|
|
1187
|
+
customer_facing: "customer_facing";
|
|
1188
|
+
log: "log";
|
|
1189
|
+
decision: "decision";
|
|
1190
|
+
}>;
|
|
1191
|
+
triggerMessageId: z.ZodString;
|
|
1192
|
+
workflowRunId: z.ZodString;
|
|
1193
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1194
|
+
public: "public";
|
|
1195
|
+
private: "private";
|
|
1196
|
+
}>>;
|
|
1197
|
+
}, z.core.$strip>>;
|
|
783
1198
|
}, z.core.$strip>>;
|
|
784
1199
|
}, z.core.$loose>>;
|
|
785
1200
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -794,6 +1209,29 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
794
1209
|
result: "result";
|
|
795
1210
|
}>;
|
|
796
1211
|
errorText: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
1213
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
1214
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1215
|
+
public: "public";
|
|
1216
|
+
private: "private";
|
|
1217
|
+
}>>;
|
|
1218
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1221
|
+
logType: z.ZodEnum<{
|
|
1222
|
+
customer_facing: "customer_facing";
|
|
1223
|
+
log: "log";
|
|
1224
|
+
decision: "decision";
|
|
1225
|
+
}>;
|
|
1226
|
+
triggerMessageId: z.ZodString;
|
|
1227
|
+
workflowRunId: z.ZodString;
|
|
1228
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1229
|
+
public: "public";
|
|
1230
|
+
private: "private";
|
|
1231
|
+
}>>;
|
|
1232
|
+
}, z.core.$strip>>;
|
|
1233
|
+
}, z.core.$strip>>;
|
|
1234
|
+
}, z.core.$loose>>;
|
|
797
1235
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
798
1236
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
799
1237
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
@@ -802,6 +1240,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
802
1240
|
}>>;
|
|
803
1241
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
804
1242
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1244
|
+
logType: z.ZodEnum<{
|
|
1245
|
+
customer_facing: "customer_facing";
|
|
1246
|
+
log: "log";
|
|
1247
|
+
decision: "decision";
|
|
1248
|
+
}>;
|
|
1249
|
+
triggerMessageId: z.ZodString;
|
|
1250
|
+
workflowRunId: z.ZodString;
|
|
1251
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1252
|
+
public: "public";
|
|
1253
|
+
private: "private";
|
|
1254
|
+
}>>;
|
|
1255
|
+
}, z.core.$strip>>;
|
|
805
1256
|
}, z.core.$strip>>;
|
|
806
1257
|
}, z.core.$loose>>;
|
|
807
1258
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -817,6 +1268,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
817
1268
|
}>>;
|
|
818
1269
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
819
1270
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1272
|
+
logType: z.ZodEnum<{
|
|
1273
|
+
customer_facing: "customer_facing";
|
|
1274
|
+
log: "log";
|
|
1275
|
+
decision: "decision";
|
|
1276
|
+
}>;
|
|
1277
|
+
triggerMessageId: z.ZodString;
|
|
1278
|
+
workflowRunId: z.ZodString;
|
|
1279
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1280
|
+
public: "public";
|
|
1281
|
+
private: "private";
|
|
1282
|
+
}>>;
|
|
1283
|
+
}, z.core.$strip>>;
|
|
820
1284
|
}, z.core.$strip>>;
|
|
821
1285
|
}, z.core.$loose>>;
|
|
822
1286
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -833,6 +1297,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
833
1297
|
}>>;
|
|
834
1298
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
835
1299
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
1301
|
+
logType: z.ZodEnum<{
|
|
1302
|
+
customer_facing: "customer_facing";
|
|
1303
|
+
log: "log";
|
|
1304
|
+
decision: "decision";
|
|
1305
|
+
}>;
|
|
1306
|
+
triggerMessageId: z.ZodString;
|
|
1307
|
+
workflowRunId: z.ZodString;
|
|
1308
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1309
|
+
public: "public";
|
|
1310
|
+
private: "private";
|
|
1311
|
+
}>>;
|
|
1312
|
+
}, z.core.$strip>>;
|
|
836
1313
|
}, z.core.$strip>>;
|
|
837
1314
|
}, z.core.$loose>>;
|
|
838
1315
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -891,5 +1368,5 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
891
1368
|
}, z.core.$strip>;
|
|
892
1369
|
type SendTimelineItemResponse = z.infer<typeof sendTimelineItemResponseSchema>;
|
|
893
1370
|
//#endregion
|
|
894
|
-
export { CossistantProviderMetadata, FilePart, GetConversationTimelineItemsRequest, GetConversationTimelineItemsResponse, ImagePart, ReasoningPart, SendTimelineItemRequest, SendTimelineItemResponse, SourceDocumentPart, SourceUrlPart, StepStartPart, TextPart, TimelineItem, TimelineItemParts, TimelinePartEvent, TimelinePartFile, TimelinePartImage, TimelinePartMetadata, TimelinePartText, ToolPart, ToolState, cossistantProviderMetadataSchema, filePartSchema, getConversationTimelineItemsRequestSchema, getConversationTimelineItemsResponseSchema, imagePartSchema, reasoningPartSchema, sendTimelineItemRequestSchema, sendTimelineItemResponseSchema, sourceDocumentPartSchema, sourceUrlPartSchema, stepStartPartSchema, textPartSchema, timelineItemPartsSchema, timelineItemSchema, timelinePartEventSchema, timelinePartMetadataSchema, toolPartSchema, toolStateSchema };
|
|
1371
|
+
export { CossistantProviderMetadata, CossistantToolTimelineMetadata, FilePart, GetConversationTimelineItemsRequest, GetConversationTimelineItemsResponse, ImagePart, ReasoningPart, SendTimelineItemRequest, SendTimelineItemResponse, SourceDocumentPart, SourceUrlPart, StepStartPart, TextPart, TimelineItem, TimelineItemParts, TimelinePartEvent, TimelinePartFile, TimelinePartImage, TimelinePartMetadata, TimelinePartText, ToolPart, ToolState, cossistantProviderMetadataSchema, filePartSchema, getConversationTimelineItemsRequestSchema, getConversationTimelineItemsResponseSchema, imagePartSchema, reasoningPartSchema, sendTimelineItemRequestSchema, sendTimelineItemResponseSchema, sourceDocumentPartSchema, sourceUrlPartSchema, stepStartPartSchema, textPartSchema, timelineItemPartsSchema, timelineItemSchema, timelinePartEventSchema, timelinePartMetadataSchema, toolPartSchema, toolStateSchema };
|
|
895
1372
|
//# sourceMappingURL=timeline-item.d.ts.map
|