@cossistant/types 0.0.32 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/ai-agent-capabilities.d.ts +37 -0
- package/api/ai-agent-capabilities.d.ts.map +1 -0
- package/api/ai-agent-capabilities.js +432 -0
- package/api/ai-agent-capabilities.js.map +1 -0
- package/api/ai-agent.d.ts +224 -1
- package/api/ai-agent.d.ts.map +1 -1
- package/api/ai-agent.js +55 -1
- package/api/ai-agent.js.map +1 -1
- package/api/common.d.ts.map +1 -1
- package/api/contact.d.ts.map +1 -1
- package/api/conversation.d.ts +400 -25
- package/api/conversation.d.ts.map +1 -1
- package/api/index.d.ts +4 -3
- package/api/index.js +3 -2
- package/api/timeline-item.d.ts +507 -30
- 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/api/website.d.ts +4 -4
- package/index.d.ts +6 -3
- package/index.d.ts.map +1 -1
- package/index.js +5 -2
- package/package.json +1 -1
- package/realtime-events.d.ts +242 -17
- package/realtime-events.d.ts.map +1 -1
- package/schemas.d.ts +80 -5
- package/schemas.d.ts.map +1 -1
- package/skill-file-format.d.ts +24 -0
- package/skill-file-format.d.ts.map +1 -0
- package/skill-file-format.js +119 -0
- package/skill-file-format.js.map +1 -0
- 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 +320 -20
- package/trpc/conversation.d.ts.map +1 -1
package/api/timeline-item.d.ts
CHANGED
|
@@ -1,14 +1,40 @@
|
|
|
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
|
+
private: "private";
|
|
14
|
+
public: "public";
|
|
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<{
|
|
7
|
-
public: "public";
|
|
8
20
|
private: "private";
|
|
21
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
35
|
+
public: "public";
|
|
36
|
+
}>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
12
38
|
}, z.core.$strip>>;
|
|
13
39
|
}, z.core.$loose>>;
|
|
14
40
|
declare const textPartSchema: z.ZodObject<{
|
|
@@ -29,11 +55,24 @@ declare const reasoningPartSchema: z.ZodObject<{
|
|
|
29
55
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
30
56
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
31
57
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
32
|
-
public: "public";
|
|
33
58
|
private: "private";
|
|
59
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
73
|
+
public: "public";
|
|
74
|
+
}>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
37
76
|
}, z.core.$strip>>;
|
|
38
77
|
}, z.core.$loose>>;
|
|
39
78
|
}, z.core.$strip>;
|
|
@@ -54,14 +93,50 @@ declare const toolPartSchema: z.ZodObject<{
|
|
|
54
93
|
result: "result";
|
|
55
94
|
}>;
|
|
56
95
|
errorText: z.ZodOptional<z.ZodString>;
|
|
57
|
-
|
|
96
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
58
97
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
59
98
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
99
|
+
private: "private";
|
|
60
100
|
public: "public";
|
|
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
|
+
private: "private";
|
|
114
|
+
public: "public";
|
|
115
|
+
}>>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
}, z.core.$loose>>;
|
|
119
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
61
122
|
private: "private";
|
|
123
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
137
|
+
public: "public";
|
|
138
|
+
}>>;
|
|
139
|
+
}, z.core.$strip>>;
|
|
65
140
|
}, z.core.$strip>>;
|
|
66
141
|
}, z.core.$loose>>;
|
|
67
142
|
}, z.core.$strip>;
|
|
@@ -73,11 +148,24 @@ declare const sourceUrlPartSchema: z.ZodObject<{
|
|
|
73
148
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
74
149
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
75
150
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
76
|
-
public: "public";
|
|
77
151
|
private: "private";
|
|
152
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
166
|
+
public: "public";
|
|
167
|
+
}>>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
81
169
|
}, z.core.$strip>>;
|
|
82
170
|
}, z.core.$loose>>;
|
|
83
171
|
}, z.core.$strip>;
|
|
@@ -90,11 +178,24 @@ declare const sourceDocumentPartSchema: z.ZodObject<{
|
|
|
90
178
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
91
179
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
92
180
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
93
|
-
public: "public";
|
|
94
181
|
private: "private";
|
|
182
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
196
|
+
public: "public";
|
|
197
|
+
}>>;
|
|
198
|
+
}, z.core.$strip>>;
|
|
98
199
|
}, z.core.$strip>>;
|
|
99
200
|
}, z.core.$loose>>;
|
|
100
201
|
}, z.core.$strip>;
|
|
@@ -166,11 +267,24 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
166
267
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
167
268
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
168
269
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
169
|
-
public: "public";
|
|
170
270
|
private: "private";
|
|
271
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
285
|
+
public: "public";
|
|
286
|
+
}>>;
|
|
287
|
+
}, z.core.$strip>>;
|
|
174
288
|
}, z.core.$strip>>;
|
|
175
289
|
}, z.core.$loose>>;
|
|
176
290
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -185,14 +299,50 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
185
299
|
result: "result";
|
|
186
300
|
}>;
|
|
187
301
|
errorText: z.ZodOptional<z.ZodString>;
|
|
188
|
-
|
|
302
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
189
303
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
190
304
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
305
|
+
private: "private";
|
|
191
306
|
public: "public";
|
|
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
|
+
private: "private";
|
|
320
|
+
public: "public";
|
|
321
|
+
}>>;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
}, z.core.$loose>>;
|
|
325
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
326
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
192
328
|
private: "private";
|
|
329
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
343
|
+
public: "public";
|
|
344
|
+
}>>;
|
|
345
|
+
}, z.core.$strip>>;
|
|
196
346
|
}, z.core.$strip>>;
|
|
197
347
|
}, z.core.$loose>>;
|
|
198
348
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -203,11 +353,24 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
203
353
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
204
354
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
205
355
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
206
|
-
public: "public";
|
|
207
356
|
private: "private";
|
|
357
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
371
|
+
public: "public";
|
|
372
|
+
}>>;
|
|
373
|
+
}, z.core.$strip>>;
|
|
211
374
|
}, z.core.$strip>>;
|
|
212
375
|
}, z.core.$loose>>;
|
|
213
376
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -219,11 +382,24 @@ declare const timelineItemPartsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObje
|
|
|
219
382
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
220
383
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
221
384
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
222
|
-
public: "public";
|
|
223
385
|
private: "private";
|
|
386
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
400
|
+
public: "public";
|
|
401
|
+
}>>;
|
|
402
|
+
}, z.core.$strip>>;
|
|
227
403
|
}, z.core.$strip>>;
|
|
228
404
|
}, z.core.$loose>>;
|
|
229
405
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -278,8 +454,8 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
278
454
|
conversationId: z.ZodString;
|
|
279
455
|
organizationId: z.ZodString;
|
|
280
456
|
visibility: z.ZodEnum<{
|
|
281
|
-
public: "public";
|
|
282
457
|
private: "private";
|
|
458
|
+
public: "public";
|
|
283
459
|
}>;
|
|
284
460
|
type: z.ZodEnum<{
|
|
285
461
|
message: "message";
|
|
@@ -306,11 +482,24 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
306
482
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
307
483
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
308
484
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
309
|
-
public: "public";
|
|
310
485
|
private: "private";
|
|
486
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
500
|
+
public: "public";
|
|
501
|
+
}>>;
|
|
502
|
+
}, z.core.$strip>>;
|
|
314
503
|
}, z.core.$strip>>;
|
|
315
504
|
}, z.core.$loose>>;
|
|
316
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -325,14 +514,50 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
325
514
|
result: "result";
|
|
326
515
|
}>;
|
|
327
516
|
errorText: z.ZodOptional<z.ZodString>;
|
|
328
|
-
|
|
517
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
329
518
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
330
519
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
520
|
+
private: "private";
|
|
331
521
|
public: "public";
|
|
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
|
+
private: "private";
|
|
535
|
+
public: "public";
|
|
536
|
+
}>>;
|
|
537
|
+
}, z.core.$strip>>;
|
|
538
|
+
}, z.core.$strip>>;
|
|
539
|
+
}, z.core.$loose>>;
|
|
540
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
541
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
542
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
332
543
|
private: "private";
|
|
544
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
558
|
+
public: "public";
|
|
559
|
+
}>>;
|
|
560
|
+
}, z.core.$strip>>;
|
|
336
561
|
}, z.core.$strip>>;
|
|
337
562
|
}, z.core.$loose>>;
|
|
338
563
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -343,11 +568,24 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
343
568
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
344
569
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
345
570
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
346
|
-
public: "public";
|
|
347
571
|
private: "private";
|
|
572
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
586
|
+
public: "public";
|
|
587
|
+
}>>;
|
|
588
|
+
}, z.core.$strip>>;
|
|
351
589
|
}, z.core.$strip>>;
|
|
352
590
|
}, z.core.$loose>>;
|
|
353
591
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -359,11 +597,24 @@ declare const timelineItemSchema: z.ZodObject<{
|
|
|
359
597
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
360
598
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
361
599
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
362
|
-
public: "public";
|
|
363
600
|
private: "private";
|
|
601
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
615
|
+
public: "public";
|
|
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>>;
|
|
@@ -451,8 +703,8 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
451
703
|
conversationId: z.ZodString;
|
|
452
704
|
organizationId: z.ZodString;
|
|
453
705
|
visibility: z.ZodEnum<{
|
|
454
|
-
public: "public";
|
|
455
706
|
private: "private";
|
|
707
|
+
public: "public";
|
|
456
708
|
}>;
|
|
457
709
|
type: z.ZodEnum<{
|
|
458
710
|
message: "message";
|
|
@@ -479,11 +731,24 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
479
731
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
480
732
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
481
733
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
482
|
-
public: "public";
|
|
483
734
|
private: "private";
|
|
735
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
749
|
+
public: "public";
|
|
750
|
+
}>>;
|
|
751
|
+
}, z.core.$strip>>;
|
|
487
752
|
}, z.core.$strip>>;
|
|
488
753
|
}, z.core.$loose>>;
|
|
489
754
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -498,14 +763,50 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
498
763
|
result: "result";
|
|
499
764
|
}>;
|
|
500
765
|
errorText: z.ZodOptional<z.ZodString>;
|
|
501
|
-
|
|
766
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
502
767
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
503
768
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
769
|
+
private: "private";
|
|
504
770
|
public: "public";
|
|
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
|
+
private: "private";
|
|
784
|
+
public: "public";
|
|
785
|
+
}>>;
|
|
786
|
+
}, z.core.$strip>>;
|
|
787
|
+
}, z.core.$strip>>;
|
|
788
|
+
}, z.core.$loose>>;
|
|
789
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
790
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
791
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
505
792
|
private: "private";
|
|
793
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
807
|
+
public: "public";
|
|
808
|
+
}>>;
|
|
809
|
+
}, z.core.$strip>>;
|
|
509
810
|
}, z.core.$strip>>;
|
|
510
811
|
}, z.core.$loose>>;
|
|
511
812
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -516,11 +817,24 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
516
817
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
517
818
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
518
819
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
519
|
-
public: "public";
|
|
520
820
|
private: "private";
|
|
821
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
835
|
+
public: "public";
|
|
836
|
+
}>>;
|
|
837
|
+
}, z.core.$strip>>;
|
|
524
838
|
}, z.core.$strip>>;
|
|
525
839
|
}, z.core.$loose>>;
|
|
526
840
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -532,11 +846,24 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
|
|
|
532
846
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
533
847
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
534
848
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
535
|
-
public: "public";
|
|
536
849
|
private: "private";
|
|
850
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
864
|
+
public: "public";
|
|
865
|
+
}>>;
|
|
866
|
+
}, z.core.$strip>>;
|
|
540
867
|
}, z.core.$strip>>;
|
|
541
868
|
}, z.core.$loose>>;
|
|
542
869
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -622,11 +949,24 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
622
949
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
623
950
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
624
951
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
625
|
-
public: "public";
|
|
626
952
|
private: "private";
|
|
953
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
967
|
+
public: "public";
|
|
968
|
+
}>>;
|
|
969
|
+
}, z.core.$strip>>;
|
|
630
970
|
}, z.core.$strip>>;
|
|
631
971
|
}, z.core.$loose>>;
|
|
632
972
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -641,14 +981,50 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
641
981
|
result: "result";
|
|
642
982
|
}>;
|
|
643
983
|
errorText: z.ZodOptional<z.ZodString>;
|
|
644
|
-
|
|
984
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
645
985
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
646
986
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
987
|
+
private: "private";
|
|
647
988
|
public: "public";
|
|
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
|
+
private: "private";
|
|
1002
|
+
public: "public";
|
|
1003
|
+
}>>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
}, z.core.$strip>>;
|
|
1006
|
+
}, z.core.$loose>>;
|
|
1007
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
1008
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
1009
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
648
1010
|
private: "private";
|
|
1011
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
1025
|
+
public: "public";
|
|
1026
|
+
}>>;
|
|
1027
|
+
}, z.core.$strip>>;
|
|
652
1028
|
}, z.core.$strip>>;
|
|
653
1029
|
}, z.core.$loose>>;
|
|
654
1030
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -659,11 +1035,24 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
659
1035
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
660
1036
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
661
1037
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
662
|
-
public: "public";
|
|
663
1038
|
private: "private";
|
|
1039
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
1053
|
+
public: "public";
|
|
1054
|
+
}>>;
|
|
1055
|
+
}, z.core.$strip>>;
|
|
667
1056
|
}, z.core.$strip>>;
|
|
668
1057
|
}, z.core.$loose>>;
|
|
669
1058
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -675,11 +1064,24 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
675
1064
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
676
1065
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
677
1066
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
678
|
-
public: "public";
|
|
679
1067
|
private: "private";
|
|
1068
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
1082
|
+
public: "public";
|
|
1083
|
+
}>>;
|
|
1084
|
+
}, z.core.$strip>>;
|
|
683
1085
|
}, z.core.$strip>>;
|
|
684
1086
|
}, z.core.$loose>>;
|
|
685
1087
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -730,8 +1132,8 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
|
|
|
730
1132
|
}>;
|
|
731
1133
|
}, z.core.$strip>]>>>;
|
|
732
1134
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
733
|
-
public: "public";
|
|
734
1135
|
private: "private";
|
|
1136
|
+
public: "public";
|
|
735
1137
|
}>>;
|
|
736
1138
|
tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
737
1139
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -747,8 +1149,8 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
747
1149
|
conversationId: z.ZodString;
|
|
748
1150
|
organizationId: z.ZodString;
|
|
749
1151
|
visibility: z.ZodEnum<{
|
|
750
|
-
public: "public";
|
|
751
1152
|
private: "private";
|
|
1153
|
+
public: "public";
|
|
752
1154
|
}>;
|
|
753
1155
|
type: z.ZodEnum<{
|
|
754
1156
|
message: "message";
|
|
@@ -775,11 +1177,24 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
775
1177
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
776
1178
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
777
1179
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
778
|
-
public: "public";
|
|
779
1180
|
private: "private";
|
|
1181
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
1195
|
+
public: "public";
|
|
1196
|
+
}>>;
|
|
1197
|
+
}, z.core.$strip>>;
|
|
783
1198
|
}, z.core.$strip>>;
|
|
784
1199
|
}, z.core.$loose>>;
|
|
785
1200
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -794,14 +1209,50 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
794
1209
|
result: "result";
|
|
795
1210
|
}>;
|
|
796
1211
|
errorText: z.ZodOptional<z.ZodString>;
|
|
797
|
-
|
|
1212
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
798
1213
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
799
1214
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1215
|
+
private: "private";
|
|
800
1216
|
public: "public";
|
|
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
|
+
private: "private";
|
|
1230
|
+
public: "public";
|
|
1231
|
+
}>>;
|
|
1232
|
+
}, z.core.$strip>>;
|
|
1233
|
+
}, z.core.$strip>>;
|
|
1234
|
+
}, z.core.$loose>>;
|
|
1235
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
1236
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
1237
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
801
1238
|
private: "private";
|
|
1239
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
1253
|
+
public: "public";
|
|
1254
|
+
}>>;
|
|
1255
|
+
}, z.core.$strip>>;
|
|
805
1256
|
}, z.core.$strip>>;
|
|
806
1257
|
}, z.core.$loose>>;
|
|
807
1258
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -812,11 +1263,24 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
812
1263
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
813
1264
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
814
1265
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
815
|
-
public: "public";
|
|
816
1266
|
private: "private";
|
|
1267
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
1281
|
+
public: "public";
|
|
1282
|
+
}>>;
|
|
1283
|
+
}, z.core.$strip>>;
|
|
820
1284
|
}, z.core.$strip>>;
|
|
821
1285
|
}, z.core.$loose>>;
|
|
822
1286
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -828,11 +1292,24 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
|
|
|
828
1292
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
829
1293
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
830
1294
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
831
|
-
public: "public";
|
|
832
1295
|
private: "private";
|
|
1296
|
+
public: "public";
|
|
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
|
+
private: "private";
|
|
1310
|
+
public: "public";
|
|
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
|