@cossistant/core 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.
@@ -16,6 +16,7 @@ declare const createConversationRequestSchema: z.ZodObject<{
16
16
  message: "message";
17
17
  event: "event";
18
18
  identification: "identification";
19
+ tool: "tool";
19
20
  }>;
20
21
  text: z.ZodNullable<z.ZodString>;
21
22
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -41,6 +42,19 @@ declare const createConversationRequestSchema: z.ZodObject<{
41
42
  }>>;
42
43
  progressMessage: z.ZodOptional<z.ZodString>;
43
44
  knowledgeId: z.ZodOptional<z.ZodString>;
45
+ toolTimeline: z.ZodOptional<z.ZodObject<{
46
+ logType: z.ZodEnum<{
47
+ customer_facing: "customer_facing";
48
+ log: "log";
49
+ decision: "decision";
50
+ }>;
51
+ triggerMessageId: z.ZodString;
52
+ workflowRunId: z.ZodString;
53
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
54
+ public: "public";
55
+ private: "private";
56
+ }>>;
57
+ }, z.core.$strip>>;
44
58
  }, z.core.$strip>>;
45
59
  }, z.core.$loose>>;
46
60
  }, z.core.$strip>, z.ZodObject<{
@@ -55,6 +69,29 @@ declare const createConversationRequestSchema: z.ZodObject<{
55
69
  result: "result";
56
70
  }>;
57
71
  errorText: z.ZodOptional<z.ZodString>;
72
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
73
+ cossistant: z.ZodOptional<z.ZodObject<{
74
+ visibility: z.ZodOptional<z.ZodEnum<{
75
+ public: "public";
76
+ private: "private";
77
+ }>>;
78
+ progressMessage: z.ZodOptional<z.ZodString>;
79
+ knowledgeId: z.ZodOptional<z.ZodString>;
80
+ toolTimeline: z.ZodOptional<z.ZodObject<{
81
+ logType: z.ZodEnum<{
82
+ customer_facing: "customer_facing";
83
+ log: "log";
84
+ decision: "decision";
85
+ }>;
86
+ triggerMessageId: z.ZodString;
87
+ workflowRunId: z.ZodString;
88
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
89
+ public: "public";
90
+ private: "private";
91
+ }>>;
92
+ }, z.core.$strip>>;
93
+ }, z.core.$strip>>;
94
+ }, z.core.$loose>>;
58
95
  providerMetadata: z.ZodOptional<z.ZodObject<{
59
96
  cossistant: z.ZodOptional<z.ZodObject<{
60
97
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -63,6 +100,19 @@ declare const createConversationRequestSchema: z.ZodObject<{
63
100
  }>>;
64
101
  progressMessage: z.ZodOptional<z.ZodString>;
65
102
  knowledgeId: z.ZodOptional<z.ZodString>;
103
+ toolTimeline: z.ZodOptional<z.ZodObject<{
104
+ logType: z.ZodEnum<{
105
+ customer_facing: "customer_facing";
106
+ log: "log";
107
+ decision: "decision";
108
+ }>;
109
+ triggerMessageId: z.ZodString;
110
+ workflowRunId: z.ZodString;
111
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
112
+ public: "public";
113
+ private: "private";
114
+ }>>;
115
+ }, z.core.$strip>>;
66
116
  }, z.core.$strip>>;
67
117
  }, z.core.$loose>>;
68
118
  }, z.core.$strip>, z.ZodObject<{
@@ -78,6 +128,19 @@ declare const createConversationRequestSchema: z.ZodObject<{
78
128
  }>>;
79
129
  progressMessage: z.ZodOptional<z.ZodString>;
80
130
  knowledgeId: z.ZodOptional<z.ZodString>;
131
+ toolTimeline: z.ZodOptional<z.ZodObject<{
132
+ logType: z.ZodEnum<{
133
+ customer_facing: "customer_facing";
134
+ log: "log";
135
+ decision: "decision";
136
+ }>;
137
+ triggerMessageId: z.ZodString;
138
+ workflowRunId: z.ZodString;
139
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
140
+ public: "public";
141
+ private: "private";
142
+ }>>;
143
+ }, z.core.$strip>>;
81
144
  }, z.core.$strip>>;
82
145
  }, z.core.$loose>>;
83
146
  }, z.core.$strip>, z.ZodObject<{
@@ -94,6 +157,19 @@ declare const createConversationRequestSchema: z.ZodObject<{
94
157
  }>>;
95
158
  progressMessage: z.ZodOptional<z.ZodString>;
96
159
  knowledgeId: z.ZodOptional<z.ZodString>;
160
+ toolTimeline: z.ZodOptional<z.ZodObject<{
161
+ logType: z.ZodEnum<{
162
+ customer_facing: "customer_facing";
163
+ log: "log";
164
+ decision: "decision";
165
+ }>;
166
+ triggerMessageId: z.ZodString;
167
+ workflowRunId: z.ZodString;
168
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
169
+ public: "public";
170
+ private: "private";
171
+ }>>;
172
+ }, z.core.$strip>>;
97
173
  }, z.core.$strip>>;
98
174
  }, z.core.$loose>>;
99
175
  }, z.core.$strip>, z.ZodObject<{
@@ -115,6 +191,7 @@ declare const createConversationRequestSchema: z.ZodObject<{
115
191
  }, z.core.$strip>, z.ZodObject<{
116
192
  type: z.ZodLiteral<"event">;
117
193
  eventType: z.ZodEnum<{
194
+ resolved: "resolved";
118
195
  assigned: "assigned";
119
196
  unassigned: "unassigned";
120
197
  participant_requested: "participant_requested";
@@ -124,7 +201,6 @@ declare const createConversationRequestSchema: z.ZodObject<{
124
201
  priority_changed: "priority_changed";
125
202
  tag_added: "tag_added";
126
203
  tag_removed: "tag_removed";
127
- resolved: "resolved";
128
204
  reopened: "reopened";
129
205
  visitor_blocked: "visitor_blocked";
130
206
  visitor_unblocked: "visitor_unblocked";
@@ -165,6 +241,7 @@ declare const createConversationResponseSchema: z.ZodObject<{
165
241
  message: "message";
166
242
  event: "event";
167
243
  identification: "identification";
244
+ tool: "tool";
168
245
  }>;
169
246
  text: z.ZodNullable<z.ZodString>;
170
247
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -190,6 +267,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
190
267
  }>>;
191
268
  progressMessage: z.ZodOptional<z.ZodString>;
192
269
  knowledgeId: z.ZodOptional<z.ZodString>;
270
+ toolTimeline: z.ZodOptional<z.ZodObject<{
271
+ logType: z.ZodEnum<{
272
+ customer_facing: "customer_facing";
273
+ log: "log";
274
+ decision: "decision";
275
+ }>;
276
+ triggerMessageId: z.ZodString;
277
+ workflowRunId: z.ZodString;
278
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
279
+ public: "public";
280
+ private: "private";
281
+ }>>;
282
+ }, z.core.$strip>>;
193
283
  }, z.core.$strip>>;
194
284
  }, z.core.$loose>>;
195
285
  }, z.core.$strip>, z.ZodObject<{
@@ -204,6 +294,29 @@ declare const createConversationResponseSchema: z.ZodObject<{
204
294
  result: "result";
205
295
  }>;
206
296
  errorText: z.ZodOptional<z.ZodString>;
297
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
298
+ cossistant: z.ZodOptional<z.ZodObject<{
299
+ visibility: z.ZodOptional<z.ZodEnum<{
300
+ public: "public";
301
+ private: "private";
302
+ }>>;
303
+ progressMessage: z.ZodOptional<z.ZodString>;
304
+ knowledgeId: z.ZodOptional<z.ZodString>;
305
+ toolTimeline: z.ZodOptional<z.ZodObject<{
306
+ logType: z.ZodEnum<{
307
+ customer_facing: "customer_facing";
308
+ log: "log";
309
+ decision: "decision";
310
+ }>;
311
+ triggerMessageId: z.ZodString;
312
+ workflowRunId: z.ZodString;
313
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
314
+ public: "public";
315
+ private: "private";
316
+ }>>;
317
+ }, z.core.$strip>>;
318
+ }, z.core.$strip>>;
319
+ }, z.core.$loose>>;
207
320
  providerMetadata: z.ZodOptional<z.ZodObject<{
208
321
  cossistant: z.ZodOptional<z.ZodObject<{
209
322
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -212,6 +325,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
212
325
  }>>;
213
326
  progressMessage: z.ZodOptional<z.ZodString>;
214
327
  knowledgeId: z.ZodOptional<z.ZodString>;
328
+ toolTimeline: z.ZodOptional<z.ZodObject<{
329
+ logType: z.ZodEnum<{
330
+ customer_facing: "customer_facing";
331
+ log: "log";
332
+ decision: "decision";
333
+ }>;
334
+ triggerMessageId: z.ZodString;
335
+ workflowRunId: z.ZodString;
336
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
337
+ public: "public";
338
+ private: "private";
339
+ }>>;
340
+ }, z.core.$strip>>;
215
341
  }, z.core.$strip>>;
216
342
  }, z.core.$loose>>;
217
343
  }, z.core.$strip>, z.ZodObject<{
@@ -227,6 +353,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
227
353
  }>>;
228
354
  progressMessage: z.ZodOptional<z.ZodString>;
229
355
  knowledgeId: z.ZodOptional<z.ZodString>;
356
+ toolTimeline: z.ZodOptional<z.ZodObject<{
357
+ logType: z.ZodEnum<{
358
+ customer_facing: "customer_facing";
359
+ log: "log";
360
+ decision: "decision";
361
+ }>;
362
+ triggerMessageId: z.ZodString;
363
+ workflowRunId: z.ZodString;
364
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
365
+ public: "public";
366
+ private: "private";
367
+ }>>;
368
+ }, z.core.$strip>>;
230
369
  }, z.core.$strip>>;
231
370
  }, z.core.$loose>>;
232
371
  }, z.core.$strip>, z.ZodObject<{
@@ -243,6 +382,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
243
382
  }>>;
244
383
  progressMessage: z.ZodOptional<z.ZodString>;
245
384
  knowledgeId: z.ZodOptional<z.ZodString>;
385
+ toolTimeline: z.ZodOptional<z.ZodObject<{
386
+ logType: z.ZodEnum<{
387
+ customer_facing: "customer_facing";
388
+ log: "log";
389
+ decision: "decision";
390
+ }>;
391
+ triggerMessageId: z.ZodString;
392
+ workflowRunId: z.ZodString;
393
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
394
+ public: "public";
395
+ private: "private";
396
+ }>>;
397
+ }, z.core.$strip>>;
246
398
  }, z.core.$strip>>;
247
399
  }, z.core.$loose>>;
248
400
  }, z.core.$strip>, z.ZodObject<{
@@ -264,6 +416,7 @@ declare const createConversationResponseSchema: z.ZodObject<{
264
416
  }, z.core.$strip>, z.ZodObject<{
265
417
  type: z.ZodLiteral<"event">;
266
418
  eventType: z.ZodEnum<{
419
+ resolved: "resolved";
267
420
  assigned: "assigned";
268
421
  unassigned: "unassigned";
269
422
  participant_requested: "participant_requested";
@@ -273,7 +426,6 @@ declare const createConversationResponseSchema: z.ZodObject<{
273
426
  priority_changed: "priority_changed";
274
427
  tag_added: "tag_added";
275
428
  tag_removed: "tag_removed";
276
- resolved: "resolved";
277
429
  reopened: "reopened";
278
430
  visitor_blocked: "visitor_blocked";
279
431
  visitor_unblocked: "visitor_unblocked";
@@ -306,8 +458,8 @@ declare const createConversationResponseSchema: z.ZodObject<{
306
458
  visitorId: z.ZodString;
307
459
  websiteId: z.ZodString;
308
460
  status: z.ZodDefault<z.ZodEnum<{
309
- resolved: "resolved";
310
461
  open: "open";
462
+ resolved: "resolved";
311
463
  spam: "spam";
312
464
  }>>;
313
465
  visitorRating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -326,6 +478,7 @@ declare const createConversationResponseSchema: z.ZodObject<{
326
478
  message: "message";
327
479
  event: "event";
328
480
  identification: "identification";
481
+ tool: "tool";
329
482
  }>;
330
483
  text: z.ZodNullable<z.ZodString>;
331
484
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -351,6 +504,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
351
504
  }>>;
352
505
  progressMessage: z.ZodOptional<z.ZodString>;
353
506
  knowledgeId: z.ZodOptional<z.ZodString>;
507
+ toolTimeline: z.ZodOptional<z.ZodObject<{
508
+ logType: z.ZodEnum<{
509
+ customer_facing: "customer_facing";
510
+ log: "log";
511
+ decision: "decision";
512
+ }>;
513
+ triggerMessageId: z.ZodString;
514
+ workflowRunId: z.ZodString;
515
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
516
+ public: "public";
517
+ private: "private";
518
+ }>>;
519
+ }, z.core.$strip>>;
354
520
  }, z.core.$strip>>;
355
521
  }, z.core.$loose>>;
356
522
  }, z.core.$strip>, z.ZodObject<{
@@ -365,6 +531,29 @@ declare const createConversationResponseSchema: z.ZodObject<{
365
531
  result: "result";
366
532
  }>;
367
533
  errorText: z.ZodOptional<z.ZodString>;
534
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
535
+ cossistant: z.ZodOptional<z.ZodObject<{
536
+ visibility: z.ZodOptional<z.ZodEnum<{
537
+ public: "public";
538
+ private: "private";
539
+ }>>;
540
+ progressMessage: z.ZodOptional<z.ZodString>;
541
+ knowledgeId: z.ZodOptional<z.ZodString>;
542
+ toolTimeline: z.ZodOptional<z.ZodObject<{
543
+ logType: z.ZodEnum<{
544
+ customer_facing: "customer_facing";
545
+ log: "log";
546
+ decision: "decision";
547
+ }>;
548
+ triggerMessageId: z.ZodString;
549
+ workflowRunId: z.ZodString;
550
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
551
+ public: "public";
552
+ private: "private";
553
+ }>>;
554
+ }, z.core.$strip>>;
555
+ }, z.core.$strip>>;
556
+ }, z.core.$loose>>;
368
557
  providerMetadata: z.ZodOptional<z.ZodObject<{
369
558
  cossistant: z.ZodOptional<z.ZodObject<{
370
559
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -373,6 +562,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
373
562
  }>>;
374
563
  progressMessage: z.ZodOptional<z.ZodString>;
375
564
  knowledgeId: z.ZodOptional<z.ZodString>;
565
+ toolTimeline: z.ZodOptional<z.ZodObject<{
566
+ logType: z.ZodEnum<{
567
+ customer_facing: "customer_facing";
568
+ log: "log";
569
+ decision: "decision";
570
+ }>;
571
+ triggerMessageId: z.ZodString;
572
+ workflowRunId: z.ZodString;
573
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
574
+ public: "public";
575
+ private: "private";
576
+ }>>;
577
+ }, z.core.$strip>>;
376
578
  }, z.core.$strip>>;
377
579
  }, z.core.$loose>>;
378
580
  }, z.core.$strip>, z.ZodObject<{
@@ -388,6 +590,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
388
590
  }>>;
389
591
  progressMessage: z.ZodOptional<z.ZodString>;
390
592
  knowledgeId: z.ZodOptional<z.ZodString>;
593
+ toolTimeline: z.ZodOptional<z.ZodObject<{
594
+ logType: z.ZodEnum<{
595
+ customer_facing: "customer_facing";
596
+ log: "log";
597
+ decision: "decision";
598
+ }>;
599
+ triggerMessageId: z.ZodString;
600
+ workflowRunId: z.ZodString;
601
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
602
+ public: "public";
603
+ private: "private";
604
+ }>>;
605
+ }, z.core.$strip>>;
391
606
  }, z.core.$strip>>;
392
607
  }, z.core.$loose>>;
393
608
  }, z.core.$strip>, z.ZodObject<{
@@ -404,6 +619,19 @@ declare const createConversationResponseSchema: z.ZodObject<{
404
619
  }>>;
405
620
  progressMessage: z.ZodOptional<z.ZodString>;
406
621
  knowledgeId: z.ZodOptional<z.ZodString>;
622
+ toolTimeline: z.ZodOptional<z.ZodObject<{
623
+ logType: z.ZodEnum<{
624
+ customer_facing: "customer_facing";
625
+ log: "log";
626
+ decision: "decision";
627
+ }>;
628
+ triggerMessageId: z.ZodString;
629
+ workflowRunId: z.ZodString;
630
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
631
+ public: "public";
632
+ private: "private";
633
+ }>>;
634
+ }, z.core.$strip>>;
407
635
  }, z.core.$strip>>;
408
636
  }, z.core.$loose>>;
409
637
  }, z.core.$strip>, z.ZodObject<{
@@ -425,6 +653,7 @@ declare const createConversationResponseSchema: z.ZodObject<{
425
653
  }, z.core.$strip>, z.ZodObject<{
426
654
  type: z.ZodLiteral<"event">;
427
655
  eventType: z.ZodEnum<{
656
+ resolved: "resolved";
428
657
  assigned: "assigned";
429
658
  unassigned: "unassigned";
430
659
  participant_requested: "participant_requested";
@@ -434,7 +663,6 @@ declare const createConversationResponseSchema: z.ZodObject<{
434
663
  priority_changed: "priority_changed";
435
664
  tag_added: "tag_added";
436
665
  tag_removed: "tag_removed";
437
- resolved: "resolved";
438
666
  reopened: "reopened";
439
667
  visitor_blocked: "visitor_blocked";
440
668
  visitor_unblocked: "visitor_unblocked";
@@ -489,8 +717,8 @@ declare const listConversationsResponseSchema: z.ZodObject<{
489
717
  visitorId: z.ZodString;
490
718
  websiteId: z.ZodString;
491
719
  status: z.ZodDefault<z.ZodEnum<{
492
- resolved: "resolved";
493
720
  open: "open";
721
+ resolved: "resolved";
494
722
  spam: "spam";
495
723
  }>>;
496
724
  visitorRating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -509,6 +737,7 @@ declare const listConversationsResponseSchema: z.ZodObject<{
509
737
  message: "message";
510
738
  event: "event";
511
739
  identification: "identification";
740
+ tool: "tool";
512
741
  }>;
513
742
  text: z.ZodNullable<z.ZodString>;
514
743
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -534,6 +763,19 @@ declare const listConversationsResponseSchema: z.ZodObject<{
534
763
  }>>;
535
764
  progressMessage: z.ZodOptional<z.ZodString>;
536
765
  knowledgeId: z.ZodOptional<z.ZodString>;
766
+ toolTimeline: z.ZodOptional<z.ZodObject<{
767
+ logType: z.ZodEnum<{
768
+ customer_facing: "customer_facing";
769
+ log: "log";
770
+ decision: "decision";
771
+ }>;
772
+ triggerMessageId: z.ZodString;
773
+ workflowRunId: z.ZodString;
774
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
775
+ public: "public";
776
+ private: "private";
777
+ }>>;
778
+ }, z.core.$strip>>;
537
779
  }, z.core.$strip>>;
538
780
  }, z.core.$loose>>;
539
781
  }, z.core.$strip>, z.ZodObject<{
@@ -548,6 +790,29 @@ declare const listConversationsResponseSchema: z.ZodObject<{
548
790
  result: "result";
549
791
  }>;
550
792
  errorText: z.ZodOptional<z.ZodString>;
793
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
794
+ cossistant: z.ZodOptional<z.ZodObject<{
795
+ visibility: z.ZodOptional<z.ZodEnum<{
796
+ public: "public";
797
+ private: "private";
798
+ }>>;
799
+ progressMessage: z.ZodOptional<z.ZodString>;
800
+ knowledgeId: z.ZodOptional<z.ZodString>;
801
+ toolTimeline: z.ZodOptional<z.ZodObject<{
802
+ logType: z.ZodEnum<{
803
+ customer_facing: "customer_facing";
804
+ log: "log";
805
+ decision: "decision";
806
+ }>;
807
+ triggerMessageId: z.ZodString;
808
+ workflowRunId: z.ZodString;
809
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
810
+ public: "public";
811
+ private: "private";
812
+ }>>;
813
+ }, z.core.$strip>>;
814
+ }, z.core.$strip>>;
815
+ }, z.core.$loose>>;
551
816
  providerMetadata: z.ZodOptional<z.ZodObject<{
552
817
  cossistant: z.ZodOptional<z.ZodObject<{
553
818
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -556,6 +821,19 @@ declare const listConversationsResponseSchema: z.ZodObject<{
556
821
  }>>;
557
822
  progressMessage: z.ZodOptional<z.ZodString>;
558
823
  knowledgeId: z.ZodOptional<z.ZodString>;
824
+ toolTimeline: z.ZodOptional<z.ZodObject<{
825
+ logType: z.ZodEnum<{
826
+ customer_facing: "customer_facing";
827
+ log: "log";
828
+ decision: "decision";
829
+ }>;
830
+ triggerMessageId: z.ZodString;
831
+ workflowRunId: z.ZodString;
832
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
833
+ public: "public";
834
+ private: "private";
835
+ }>>;
836
+ }, z.core.$strip>>;
559
837
  }, z.core.$strip>>;
560
838
  }, z.core.$loose>>;
561
839
  }, z.core.$strip>, z.ZodObject<{
@@ -571,6 +849,19 @@ declare const listConversationsResponseSchema: z.ZodObject<{
571
849
  }>>;
572
850
  progressMessage: z.ZodOptional<z.ZodString>;
573
851
  knowledgeId: z.ZodOptional<z.ZodString>;
852
+ toolTimeline: z.ZodOptional<z.ZodObject<{
853
+ logType: z.ZodEnum<{
854
+ customer_facing: "customer_facing";
855
+ log: "log";
856
+ decision: "decision";
857
+ }>;
858
+ triggerMessageId: z.ZodString;
859
+ workflowRunId: z.ZodString;
860
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
861
+ public: "public";
862
+ private: "private";
863
+ }>>;
864
+ }, z.core.$strip>>;
574
865
  }, z.core.$strip>>;
575
866
  }, z.core.$loose>>;
576
867
  }, z.core.$strip>, z.ZodObject<{
@@ -587,6 +878,19 @@ declare const listConversationsResponseSchema: z.ZodObject<{
587
878
  }>>;
588
879
  progressMessage: z.ZodOptional<z.ZodString>;
589
880
  knowledgeId: z.ZodOptional<z.ZodString>;
881
+ toolTimeline: z.ZodOptional<z.ZodObject<{
882
+ logType: z.ZodEnum<{
883
+ customer_facing: "customer_facing";
884
+ log: "log";
885
+ decision: "decision";
886
+ }>;
887
+ triggerMessageId: z.ZodString;
888
+ workflowRunId: z.ZodString;
889
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
890
+ public: "public";
891
+ private: "private";
892
+ }>>;
893
+ }, z.core.$strip>>;
590
894
  }, z.core.$strip>>;
591
895
  }, z.core.$loose>>;
592
896
  }, z.core.$strip>, z.ZodObject<{
@@ -608,6 +912,7 @@ declare const listConversationsResponseSchema: z.ZodObject<{
608
912
  }, z.core.$strip>, z.ZodObject<{
609
913
  type: z.ZodLiteral<"event">;
610
914
  eventType: z.ZodEnum<{
915
+ resolved: "resolved";
611
916
  assigned: "assigned";
612
917
  unassigned: "unassigned";
613
918
  participant_requested: "participant_requested";
@@ -617,7 +922,6 @@ declare const listConversationsResponseSchema: z.ZodObject<{
617
922
  priority_changed: "priority_changed";
618
923
  tag_added: "tag_added";
619
924
  tag_removed: "tag_removed";
620
- resolved: "resolved";
621
925
  reopened: "reopened";
622
926
  visitor_blocked: "visitor_blocked";
623
927
  visitor_unblocked: "visitor_unblocked";
@@ -665,8 +969,8 @@ declare const getConversationResponseSchema: z.ZodObject<{
665
969
  visitorId: z.ZodString;
666
970
  websiteId: z.ZodString;
667
971
  status: z.ZodDefault<z.ZodEnum<{
668
- resolved: "resolved";
669
972
  open: "open";
973
+ resolved: "resolved";
670
974
  spam: "spam";
671
975
  }>>;
672
976
  visitorRating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -685,6 +989,7 @@ declare const getConversationResponseSchema: z.ZodObject<{
685
989
  message: "message";
686
990
  event: "event";
687
991
  identification: "identification";
992
+ tool: "tool";
688
993
  }>;
689
994
  text: z.ZodNullable<z.ZodString>;
690
995
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -710,6 +1015,19 @@ declare const getConversationResponseSchema: z.ZodObject<{
710
1015
  }>>;
711
1016
  progressMessage: z.ZodOptional<z.ZodString>;
712
1017
  knowledgeId: z.ZodOptional<z.ZodString>;
1018
+ toolTimeline: z.ZodOptional<z.ZodObject<{
1019
+ logType: z.ZodEnum<{
1020
+ customer_facing: "customer_facing";
1021
+ log: "log";
1022
+ decision: "decision";
1023
+ }>;
1024
+ triggerMessageId: z.ZodString;
1025
+ workflowRunId: z.ZodString;
1026
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
1027
+ public: "public";
1028
+ private: "private";
1029
+ }>>;
1030
+ }, z.core.$strip>>;
713
1031
  }, z.core.$strip>>;
714
1032
  }, z.core.$loose>>;
715
1033
  }, z.core.$strip>, z.ZodObject<{
@@ -724,6 +1042,29 @@ declare const getConversationResponseSchema: z.ZodObject<{
724
1042
  result: "result";
725
1043
  }>;
726
1044
  errorText: z.ZodOptional<z.ZodString>;
1045
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
1046
+ cossistant: z.ZodOptional<z.ZodObject<{
1047
+ visibility: z.ZodOptional<z.ZodEnum<{
1048
+ public: "public";
1049
+ private: "private";
1050
+ }>>;
1051
+ progressMessage: z.ZodOptional<z.ZodString>;
1052
+ knowledgeId: z.ZodOptional<z.ZodString>;
1053
+ toolTimeline: z.ZodOptional<z.ZodObject<{
1054
+ logType: z.ZodEnum<{
1055
+ customer_facing: "customer_facing";
1056
+ log: "log";
1057
+ decision: "decision";
1058
+ }>;
1059
+ triggerMessageId: z.ZodString;
1060
+ workflowRunId: z.ZodString;
1061
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
1062
+ public: "public";
1063
+ private: "private";
1064
+ }>>;
1065
+ }, z.core.$strip>>;
1066
+ }, z.core.$strip>>;
1067
+ }, z.core.$loose>>;
727
1068
  providerMetadata: z.ZodOptional<z.ZodObject<{
728
1069
  cossistant: z.ZodOptional<z.ZodObject<{
729
1070
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -732,6 +1073,19 @@ declare const getConversationResponseSchema: z.ZodObject<{
732
1073
  }>>;
733
1074
  progressMessage: z.ZodOptional<z.ZodString>;
734
1075
  knowledgeId: z.ZodOptional<z.ZodString>;
1076
+ toolTimeline: z.ZodOptional<z.ZodObject<{
1077
+ logType: z.ZodEnum<{
1078
+ customer_facing: "customer_facing";
1079
+ log: "log";
1080
+ decision: "decision";
1081
+ }>;
1082
+ triggerMessageId: z.ZodString;
1083
+ workflowRunId: z.ZodString;
1084
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
1085
+ public: "public";
1086
+ private: "private";
1087
+ }>>;
1088
+ }, z.core.$strip>>;
735
1089
  }, z.core.$strip>>;
736
1090
  }, z.core.$loose>>;
737
1091
  }, z.core.$strip>, z.ZodObject<{
@@ -747,6 +1101,19 @@ declare const getConversationResponseSchema: z.ZodObject<{
747
1101
  }>>;
748
1102
  progressMessage: z.ZodOptional<z.ZodString>;
749
1103
  knowledgeId: z.ZodOptional<z.ZodString>;
1104
+ toolTimeline: z.ZodOptional<z.ZodObject<{
1105
+ logType: z.ZodEnum<{
1106
+ customer_facing: "customer_facing";
1107
+ log: "log";
1108
+ decision: "decision";
1109
+ }>;
1110
+ triggerMessageId: z.ZodString;
1111
+ workflowRunId: z.ZodString;
1112
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
1113
+ public: "public";
1114
+ private: "private";
1115
+ }>>;
1116
+ }, z.core.$strip>>;
750
1117
  }, z.core.$strip>>;
751
1118
  }, z.core.$loose>>;
752
1119
  }, z.core.$strip>, z.ZodObject<{
@@ -763,6 +1130,19 @@ declare const getConversationResponseSchema: z.ZodObject<{
763
1130
  }>>;
764
1131
  progressMessage: z.ZodOptional<z.ZodString>;
765
1132
  knowledgeId: z.ZodOptional<z.ZodString>;
1133
+ toolTimeline: z.ZodOptional<z.ZodObject<{
1134
+ logType: z.ZodEnum<{
1135
+ customer_facing: "customer_facing";
1136
+ log: "log";
1137
+ decision: "decision";
1138
+ }>;
1139
+ triggerMessageId: z.ZodString;
1140
+ workflowRunId: z.ZodString;
1141
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
1142
+ public: "public";
1143
+ private: "private";
1144
+ }>>;
1145
+ }, z.core.$strip>>;
766
1146
  }, z.core.$strip>>;
767
1147
  }, z.core.$loose>>;
768
1148
  }, z.core.$strip>, z.ZodObject<{
@@ -784,6 +1164,7 @@ declare const getConversationResponseSchema: z.ZodObject<{
784
1164
  }, z.core.$strip>, z.ZodObject<{
785
1165
  type: z.ZodLiteral<"event">;
786
1166
  eventType: z.ZodEnum<{
1167
+ resolved: "resolved";
787
1168
  assigned: "assigned";
788
1169
  unassigned: "unassigned";
789
1170
  participant_requested: "participant_requested";
@@ -793,7 +1174,6 @@ declare const getConversationResponseSchema: z.ZodObject<{
793
1174
  priority_changed: "priority_changed";
794
1175
  tag_added: "tag_added";
795
1176
  tag_removed: "tag_removed";
796
- resolved: "resolved";
797
1177
  reopened: "reopened";
798
1178
  visitor_blocked: "visitor_blocked";
799
1179
  visitor_unblocked: "visitor_unblocked";
@@ -839,6 +1219,7 @@ declare const setConversationTypingResponseSchema: z.ZodObject<{
839
1219
  type SetConversationTypingResponseBody = z.infer<typeof setConversationTypingResponseSchema>;
840
1220
  declare const submitConversationRatingRequestSchema: z.ZodObject<{
841
1221
  rating: z.ZodNumber;
1222
+ comment: z.ZodOptional<z.ZodString>;
842
1223
  visitorId: z.ZodOptional<z.ZodString>;
843
1224
  }, z.core.$strip>;
844
1225
  type SubmitConversationRatingRequestBody = z.infer<typeof submitConversationRatingRequestSchema>;