@cossistant/types 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.
@@ -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<{
@@ -285,6 +461,7 @@ declare const timelineItemSchema: z.ZodObject<{
285
461
  message: "message";
286
462
  event: "event";
287
463
  identification: "identification";
464
+ tool: "tool";
288
465
  }>;
289
466
  text: z.ZodNullable<z.ZodString>;
290
467
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -310,6 +487,19 @@ declare const timelineItemSchema: z.ZodObject<{
310
487
  }>>;
311
488
  progressMessage: z.ZodOptional<z.ZodString>;
312
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>>;
313
503
  }, z.core.$strip>>;
314
504
  }, z.core.$loose>>;
315
505
  }, z.core.$strip>, z.ZodObject<{
@@ -324,6 +514,29 @@ declare const timelineItemSchema: z.ZodObject<{
324
514
  result: "result";
325
515
  }>;
326
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>>;
327
540
  providerMetadata: z.ZodOptional<z.ZodObject<{
328
541
  cossistant: z.ZodOptional<z.ZodObject<{
329
542
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -332,6 +545,19 @@ declare const timelineItemSchema: z.ZodObject<{
332
545
  }>>;
333
546
  progressMessage: z.ZodOptional<z.ZodString>;
334
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>>;
335
561
  }, z.core.$strip>>;
336
562
  }, z.core.$loose>>;
337
563
  }, z.core.$strip>, z.ZodObject<{
@@ -347,6 +573,19 @@ declare const timelineItemSchema: z.ZodObject<{
347
573
  }>>;
348
574
  progressMessage: z.ZodOptional<z.ZodString>;
349
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>>;
350
589
  }, z.core.$strip>>;
351
590
  }, z.core.$loose>>;
352
591
  }, z.core.$strip>, z.ZodObject<{
@@ -363,6 +602,19 @@ declare const timelineItemSchema: z.ZodObject<{
363
602
  }>>;
364
603
  progressMessage: z.ZodOptional<z.ZodString>;
365
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>>;
366
618
  }, z.core.$strip>>;
367
619
  }, z.core.$loose>>;
368
620
  }, z.core.$strip>, z.ZodObject<{
@@ -438,6 +690,7 @@ type TimelinePartImage = ImagePart;
438
690
  /** @deprecated Use `TextPart` instead */
439
691
  type TimelinePartText = TextPart;
440
692
  type CossistantProviderMetadata = z.infer<typeof cossistantProviderMetadataSchema>;
693
+ type CossistantToolTimelineMetadata = z.infer<typeof cossistantToolTimelineMetadataSchema>;
441
694
  type ToolState = z.infer<typeof toolStateSchema>;
442
695
  declare const getConversationTimelineItemsRequestSchema: z.ZodObject<{
443
696
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -457,6 +710,7 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
457
710
  message: "message";
458
711
  event: "event";
459
712
  identification: "identification";
713
+ tool: "tool";
460
714
  }>;
461
715
  text: z.ZodNullable<z.ZodString>;
462
716
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -482,6 +736,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
482
736
  }>>;
483
737
  progressMessage: z.ZodOptional<z.ZodString>;
484
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>>;
485
752
  }, z.core.$strip>>;
486
753
  }, z.core.$loose>>;
487
754
  }, z.core.$strip>, z.ZodObject<{
@@ -496,6 +763,29 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
496
763
  result: "result";
497
764
  }>;
498
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>>;
499
789
  providerMetadata: z.ZodOptional<z.ZodObject<{
500
790
  cossistant: z.ZodOptional<z.ZodObject<{
501
791
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -504,6 +794,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
504
794
  }>>;
505
795
  progressMessage: z.ZodOptional<z.ZodString>;
506
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>>;
507
810
  }, z.core.$strip>>;
508
811
  }, z.core.$loose>>;
509
812
  }, z.core.$strip>, z.ZodObject<{
@@ -519,6 +822,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
519
822
  }>>;
520
823
  progressMessage: z.ZodOptional<z.ZodString>;
521
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>>;
522
838
  }, z.core.$strip>>;
523
839
  }, z.core.$loose>>;
524
840
  }, z.core.$strip>, z.ZodObject<{
@@ -535,6 +851,19 @@ declare const getConversationTimelineItemsResponseSchema: z.ZodObject<{
535
851
  }>>;
536
852
  progressMessage: z.ZodOptional<z.ZodString>;
537
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>>;
538
867
  }, z.core.$strip>>;
539
868
  }, z.core.$loose>>;
540
869
  }, z.core.$strip>, z.ZodObject<{
@@ -625,6 +954,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
625
954
  }>>;
626
955
  progressMessage: z.ZodOptional<z.ZodString>;
627
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>>;
628
970
  }, z.core.$strip>>;
629
971
  }, z.core.$loose>>;
630
972
  }, z.core.$strip>, z.ZodObject<{
@@ -639,6 +981,29 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
639
981
  result: "result";
640
982
  }>;
641
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>>;
642
1007
  providerMetadata: z.ZodOptional<z.ZodObject<{
643
1008
  cossistant: z.ZodOptional<z.ZodObject<{
644
1009
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -647,6 +1012,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
647
1012
  }>>;
648
1013
  progressMessage: z.ZodOptional<z.ZodString>;
649
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>>;
650
1028
  }, z.core.$strip>>;
651
1029
  }, z.core.$loose>>;
652
1030
  }, z.core.$strip>, z.ZodObject<{
@@ -662,6 +1040,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
662
1040
  }>>;
663
1041
  progressMessage: z.ZodOptional<z.ZodString>;
664
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>>;
665
1056
  }, z.core.$strip>>;
666
1057
  }, z.core.$loose>>;
667
1058
  }, z.core.$strip>, z.ZodObject<{
@@ -678,6 +1069,19 @@ declare const sendTimelineItemRequestSchema: z.ZodObject<{
678
1069
  }>>;
679
1070
  progressMessage: z.ZodOptional<z.ZodString>;
680
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>>;
681
1085
  }, z.core.$strip>>;
682
1086
  }, z.core.$loose>>;
683
1087
  }, z.core.$strip>, z.ZodObject<{
@@ -752,6 +1156,7 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
752
1156
  message: "message";
753
1157
  event: "event";
754
1158
  identification: "identification";
1159
+ tool: "tool";
755
1160
  }>;
756
1161
  text: z.ZodNullable<z.ZodString>;
757
1162
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -777,6 +1182,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
777
1182
  }>>;
778
1183
  progressMessage: z.ZodOptional<z.ZodString>;
779
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>>;
780
1198
  }, z.core.$strip>>;
781
1199
  }, z.core.$loose>>;
782
1200
  }, z.core.$strip>, z.ZodObject<{
@@ -791,6 +1209,29 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
791
1209
  result: "result";
792
1210
  }>;
793
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>>;
794
1235
  providerMetadata: z.ZodOptional<z.ZodObject<{
795
1236
  cossistant: z.ZodOptional<z.ZodObject<{
796
1237
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -799,6 +1240,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
799
1240
  }>>;
800
1241
  progressMessage: z.ZodOptional<z.ZodString>;
801
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>>;
802
1256
  }, z.core.$strip>>;
803
1257
  }, z.core.$loose>>;
804
1258
  }, z.core.$strip>, z.ZodObject<{
@@ -814,6 +1268,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
814
1268
  }>>;
815
1269
  progressMessage: z.ZodOptional<z.ZodString>;
816
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>>;
817
1284
  }, z.core.$strip>>;
818
1285
  }, z.core.$loose>>;
819
1286
  }, z.core.$strip>, z.ZodObject<{
@@ -830,6 +1297,19 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
830
1297
  }>>;
831
1298
  progressMessage: z.ZodOptional<z.ZodString>;
832
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>>;
833
1313
  }, z.core.$strip>>;
834
1314
  }, z.core.$loose>>;
835
1315
  }, z.core.$strip>, z.ZodObject<{
@@ -888,5 +1368,5 @@ declare const sendTimelineItemResponseSchema: z.ZodObject<{
888
1368
  }, z.core.$strip>;
889
1369
  type SendTimelineItemResponse = z.infer<typeof sendTimelineItemResponseSchema>;
890
1370
  //#endregion
891
- 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 };
892
1372
  //# sourceMappingURL=timeline-item.d.ts.map