@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.
package/schemas.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","names":[],"sources":["../src/schemas.ts"],"sourcesContent":[],"mappings":";;;cAIa,YAAU,CAAA,CAAA;;EAAV,IAAA,aAUX;;;;;;;;;KAEU,SAAA,GAAY,CAAA,CAAE,aAAa;cAE1B,oBAAkB,CAAA,CAAA;;;;EAdR,SAAA,aAAA;EAAA,SAAA,aAAA;EAYX,SAAA,aAAS;EAER,MAAA,cAAA,UAmBX,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,YAAA,GAAe,CAAA,CAAE,aAAa;cAE7B,wBAAsB,CAAA,CAAA;;;;;;;;;;;KAYvB,gBAAA,GAAmB,CAAA,CAAE,aAAa"}
1
+ {"version":3,"file":"schemas.d.ts","names":[],"sources":["../src/schemas.ts"],"sourcesContent":[],"mappings":";;;cAIa,YAAU,CAAA,CAAA;;EAAV,IAAA,aAUX;;;;;;;;;KAEU,SAAA,GAAY,CAAA,CAAE,aAAa;cAE1B,oBAAkB,CAAA,CAAA;;;;EAdR,SAAA,aAAA;EAAA,SAAA,aAAA;EAYX,SAAA,aAAS;EAER,MAAA,cAAA,UAmBX,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,YAAA,GAAe,CAAA,CAAE,aAAa;cAE7B,wBAAsB,CAAA,CAAA;EAvBJ,EAAA,aAAA;EAAA,cAAA,aAAA;EAqBnB,MAAA,eAAY,YAAkB,CAAA;EAE7B,SAAA,eAAA,YAUX,CAAA;;;;;;;KAEU,gBAAA,GAAmB,CAAA,CAAE,aAAa"}
@@ -0,0 +1,13 @@
1
+ //#region src/tool-timeline-policy.d.ts
2
+ declare const TOOL_TIMELINE_LOG_TYPE: {
3
+ readonly CUSTOMER_FACING: "customer_facing";
4
+ readonly LOG: "log";
5
+ readonly DECISION: "decision";
6
+ };
7
+ type ToolTimelineLogType = (typeof TOOL_TIMELINE_LOG_TYPE)[keyof typeof TOOL_TIMELINE_LOG_TYPE];
8
+ declare const TOOL_TIMELINE_CONVERSATION_ALLOWLIST: readonly ["searchKnowledgeBase", "updateConversationTitle", "updateSentiment"];
9
+ declare function isConversationVisibleTool(toolName: string): boolean;
10
+ declare function getToolLogType(toolName: string): ToolTimelineLogType;
11
+ //#endregion
12
+ export { TOOL_TIMELINE_CONVERSATION_ALLOWLIST, TOOL_TIMELINE_LOG_TYPE, ToolTimelineLogType, getToolLogType, isConversationVisibleTool };
13
+ //# sourceMappingURL=tool-timeline-policy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-timeline-policy.d.ts","names":[],"sources":["../src/tool-timeline-policy.ts"],"sourcesContent":[],"mappings":";cAAa;EAAA,SAAA,eAAA,EAIH,iBAAA;EAEE,SAAA,GAAA,EAAA,KAAA;EAGC,SAAA,QAAA,EAAA,UAAA;AAUb,CAAA;AAIgB,KAjBJ,mBAAA,GAiBsC,CAAA,OAhBzC,sBAgB4D,CAAA,CAAA,MAAA,OAhBvB,sBAgBuB,CAAA;cAdxD;iBAUG,yBAAA;iBAIA,cAAA,oBAAkC"}
@@ -0,0 +1,24 @@
1
+ //#region src/tool-timeline-policy.ts
2
+ const TOOL_TIMELINE_LOG_TYPE = {
3
+ CUSTOMER_FACING: "customer_facing",
4
+ LOG: "log",
5
+ DECISION: "decision"
6
+ };
7
+ const TOOL_TIMELINE_CONVERSATION_ALLOWLIST = [
8
+ "searchKnowledgeBase",
9
+ "updateConversationTitle",
10
+ "updateSentiment"
11
+ ];
12
+ const CONVERSATION_VISIBLE_TOOLS = new Set(TOOL_TIMELINE_CONVERSATION_ALLOWLIST);
13
+ function isConversationVisibleTool(toolName) {
14
+ return CONVERSATION_VISIBLE_TOOLS.has(toolName);
15
+ }
16
+ function getToolLogType(toolName) {
17
+ if (toolName === "aiDecision") return TOOL_TIMELINE_LOG_TYPE.DECISION;
18
+ if (isConversationVisibleTool(toolName)) return TOOL_TIMELINE_LOG_TYPE.CUSTOMER_FACING;
19
+ return TOOL_TIMELINE_LOG_TYPE.LOG;
20
+ }
21
+
22
+ //#endregion
23
+ export { TOOL_TIMELINE_CONVERSATION_ALLOWLIST, TOOL_TIMELINE_LOG_TYPE, getToolLogType, isConversationVisibleTool };
24
+ //# sourceMappingURL=tool-timeline-policy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-timeline-policy.js","names":[],"sources":["../src/tool-timeline-policy.ts"],"sourcesContent":["export const TOOL_TIMELINE_LOG_TYPE = {\n\tCUSTOMER_FACING: \"customer_facing\",\n\tLOG: \"log\",\n\tDECISION: \"decision\",\n} as const;\n\nexport type ToolTimelineLogType =\n\t(typeof TOOL_TIMELINE_LOG_TYPE)[keyof typeof TOOL_TIMELINE_LOG_TYPE];\n\nexport const TOOL_TIMELINE_CONVERSATION_ALLOWLIST = [\n\t\"searchKnowledgeBase\",\n\t\"updateConversationTitle\",\n\t\"updateSentiment\",\n] as const;\n\nconst CONVERSATION_VISIBLE_TOOLS = new Set<string>(\n\tTOOL_TIMELINE_CONVERSATION_ALLOWLIST\n);\n\nexport function isConversationVisibleTool(toolName: string): boolean {\n\treturn CONVERSATION_VISIBLE_TOOLS.has(toolName);\n}\n\nexport function getToolLogType(toolName: string): ToolTimelineLogType {\n\tif (toolName === \"aiDecision\") {\n\t\treturn TOOL_TIMELINE_LOG_TYPE.DECISION;\n\t}\n\n\tif (isConversationVisibleTool(toolName)) {\n\t\treturn TOOL_TIMELINE_LOG_TYPE.CUSTOMER_FACING;\n\t}\n\n\treturn TOOL_TIMELINE_LOG_TYPE.LOG;\n}\n"],"mappings":";AAAA,MAAa,yBAAyB;CACrC,iBAAiB;CACjB,KAAK;CACL,UAAU;CACV;AAKD,MAAa,uCAAuC;CACnD;CACA;CACA;CACA;AAED,MAAM,6BAA6B,IAAI,IACtC,qCACA;AAED,SAAgB,0BAA0B,UAA2B;AACpE,QAAO,2BAA2B,IAAI,SAAS;;AAGhD,SAAgB,eAAe,UAAuC;AACrE,KAAI,aAAa,aAChB,QAAO,uBAAuB;AAG/B,KAAI,0BAA0B,SAAS,CACtC,QAAO,uBAAuB;AAG/B,QAAO,uBAAuB"}
@@ -171,6 +171,7 @@ declare const conversationHeaderSchema: z.ZodObject<{
171
171
  message: "message";
172
172
  event: "event";
173
173
  identification: "identification";
174
+ tool: "tool";
174
175
  }>;
175
176
  text: z.ZodNullable<z.ZodString>;
176
177
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -196,6 +197,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
196
197
  }>>;
197
198
  progressMessage: z.ZodOptional<z.ZodString>;
198
199
  knowledgeId: z.ZodOptional<z.ZodString>;
200
+ toolTimeline: z.ZodOptional<z.ZodObject<{
201
+ logType: z.ZodEnum<{
202
+ customer_facing: "customer_facing";
203
+ log: "log";
204
+ decision: "decision";
205
+ }>;
206
+ triggerMessageId: z.ZodString;
207
+ workflowRunId: z.ZodString;
208
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
209
+ public: "public";
210
+ private: "private";
211
+ }>>;
212
+ }, z.core.$strip>>;
199
213
  }, z.core.$strip>>;
200
214
  }, z.core.$loose>>;
201
215
  }, z.core.$strip>, z.ZodObject<{
@@ -210,6 +224,29 @@ declare const conversationHeaderSchema: z.ZodObject<{
210
224
  result: "result";
211
225
  }>;
212
226
  errorText: z.ZodOptional<z.ZodString>;
227
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
228
+ cossistant: z.ZodOptional<z.ZodObject<{
229
+ visibility: z.ZodOptional<z.ZodEnum<{
230
+ public: "public";
231
+ private: "private";
232
+ }>>;
233
+ progressMessage: z.ZodOptional<z.ZodString>;
234
+ knowledgeId: z.ZodOptional<z.ZodString>;
235
+ toolTimeline: z.ZodOptional<z.ZodObject<{
236
+ logType: z.ZodEnum<{
237
+ customer_facing: "customer_facing";
238
+ log: "log";
239
+ decision: "decision";
240
+ }>;
241
+ triggerMessageId: z.ZodString;
242
+ workflowRunId: z.ZodString;
243
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
244
+ public: "public";
245
+ private: "private";
246
+ }>>;
247
+ }, z.core.$strip>>;
248
+ }, z.core.$strip>>;
249
+ }, z.core.$loose>>;
213
250
  providerMetadata: z.ZodOptional<z.ZodObject<{
214
251
  cossistant: z.ZodOptional<z.ZodObject<{
215
252
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -218,6 +255,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
218
255
  }>>;
219
256
  progressMessage: z.ZodOptional<z.ZodString>;
220
257
  knowledgeId: z.ZodOptional<z.ZodString>;
258
+ toolTimeline: z.ZodOptional<z.ZodObject<{
259
+ logType: z.ZodEnum<{
260
+ customer_facing: "customer_facing";
261
+ log: "log";
262
+ decision: "decision";
263
+ }>;
264
+ triggerMessageId: z.ZodString;
265
+ workflowRunId: z.ZodString;
266
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
267
+ public: "public";
268
+ private: "private";
269
+ }>>;
270
+ }, z.core.$strip>>;
221
271
  }, z.core.$strip>>;
222
272
  }, z.core.$loose>>;
223
273
  }, z.core.$strip>, z.ZodObject<{
@@ -233,6 +283,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
233
283
  }>>;
234
284
  progressMessage: z.ZodOptional<z.ZodString>;
235
285
  knowledgeId: z.ZodOptional<z.ZodString>;
286
+ toolTimeline: z.ZodOptional<z.ZodObject<{
287
+ logType: z.ZodEnum<{
288
+ customer_facing: "customer_facing";
289
+ log: "log";
290
+ decision: "decision";
291
+ }>;
292
+ triggerMessageId: z.ZodString;
293
+ workflowRunId: z.ZodString;
294
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
295
+ public: "public";
296
+ private: "private";
297
+ }>>;
298
+ }, z.core.$strip>>;
236
299
  }, z.core.$strip>>;
237
300
  }, z.core.$loose>>;
238
301
  }, z.core.$strip>, z.ZodObject<{
@@ -249,6 +312,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
249
312
  }>>;
250
313
  progressMessage: z.ZodOptional<z.ZodString>;
251
314
  knowledgeId: z.ZodOptional<z.ZodString>;
315
+ toolTimeline: z.ZodOptional<z.ZodObject<{
316
+ logType: z.ZodEnum<{
317
+ customer_facing: "customer_facing";
318
+ log: "log";
319
+ decision: "decision";
320
+ }>;
321
+ triggerMessageId: z.ZodString;
322
+ workflowRunId: z.ZodString;
323
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
324
+ public: "public";
325
+ private: "private";
326
+ }>>;
327
+ }, z.core.$strip>>;
252
328
  }, z.core.$strip>>;
253
329
  }, z.core.$loose>>;
254
330
  }, z.core.$strip>, z.ZodObject<{
@@ -316,6 +392,7 @@ declare const conversationHeaderSchema: z.ZodObject<{
316
392
  message: "message";
317
393
  event: "event";
318
394
  identification: "identification";
395
+ tool: "tool";
319
396
  }>;
320
397
  text: z.ZodNullable<z.ZodString>;
321
398
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -341,6 +418,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
341
418
  }>>;
342
419
  progressMessage: z.ZodOptional<z.ZodString>;
343
420
  knowledgeId: z.ZodOptional<z.ZodString>;
421
+ toolTimeline: z.ZodOptional<z.ZodObject<{
422
+ logType: z.ZodEnum<{
423
+ customer_facing: "customer_facing";
424
+ log: "log";
425
+ decision: "decision";
426
+ }>;
427
+ triggerMessageId: z.ZodString;
428
+ workflowRunId: z.ZodString;
429
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
430
+ public: "public";
431
+ private: "private";
432
+ }>>;
433
+ }, z.core.$strip>>;
344
434
  }, z.core.$strip>>;
345
435
  }, z.core.$loose>>;
346
436
  }, z.core.$strip>, z.ZodObject<{
@@ -355,6 +445,29 @@ declare const conversationHeaderSchema: z.ZodObject<{
355
445
  result: "result";
356
446
  }>;
357
447
  errorText: z.ZodOptional<z.ZodString>;
448
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
449
+ cossistant: z.ZodOptional<z.ZodObject<{
450
+ visibility: z.ZodOptional<z.ZodEnum<{
451
+ public: "public";
452
+ private: "private";
453
+ }>>;
454
+ progressMessage: z.ZodOptional<z.ZodString>;
455
+ knowledgeId: z.ZodOptional<z.ZodString>;
456
+ toolTimeline: z.ZodOptional<z.ZodObject<{
457
+ logType: z.ZodEnum<{
458
+ customer_facing: "customer_facing";
459
+ log: "log";
460
+ decision: "decision";
461
+ }>;
462
+ triggerMessageId: z.ZodString;
463
+ workflowRunId: z.ZodString;
464
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
465
+ public: "public";
466
+ private: "private";
467
+ }>>;
468
+ }, z.core.$strip>>;
469
+ }, z.core.$strip>>;
470
+ }, z.core.$loose>>;
358
471
  providerMetadata: z.ZodOptional<z.ZodObject<{
359
472
  cossistant: z.ZodOptional<z.ZodObject<{
360
473
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -363,6 +476,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
363
476
  }>>;
364
477
  progressMessage: z.ZodOptional<z.ZodString>;
365
478
  knowledgeId: z.ZodOptional<z.ZodString>;
479
+ toolTimeline: z.ZodOptional<z.ZodObject<{
480
+ logType: z.ZodEnum<{
481
+ customer_facing: "customer_facing";
482
+ log: "log";
483
+ decision: "decision";
484
+ }>;
485
+ triggerMessageId: z.ZodString;
486
+ workflowRunId: z.ZodString;
487
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
488
+ public: "public";
489
+ private: "private";
490
+ }>>;
491
+ }, z.core.$strip>>;
366
492
  }, z.core.$strip>>;
367
493
  }, z.core.$loose>>;
368
494
  }, z.core.$strip>, z.ZodObject<{
@@ -378,6 +504,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
378
504
  }>>;
379
505
  progressMessage: z.ZodOptional<z.ZodString>;
380
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>>;
381
520
  }, z.core.$strip>>;
382
521
  }, z.core.$loose>>;
383
522
  }, z.core.$strip>, z.ZodObject<{
@@ -394,6 +533,19 @@ declare const conversationHeaderSchema: z.ZodObject<{
394
533
  }>>;
395
534
  progressMessage: z.ZodOptional<z.ZodString>;
396
535
  knowledgeId: z.ZodOptional<z.ZodString>;
536
+ toolTimeline: z.ZodOptional<z.ZodObject<{
537
+ logType: z.ZodEnum<{
538
+ customer_facing: "customer_facing";
539
+ log: "log";
540
+ decision: "decision";
541
+ }>;
542
+ triggerMessageId: z.ZodString;
543
+ workflowRunId: z.ZodString;
544
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
545
+ public: "public";
546
+ private: "private";
547
+ }>>;
548
+ }, z.core.$strip>>;
397
549
  }, z.core.$strip>>;
398
550
  }, z.core.$loose>>;
399
551
  }, z.core.$strip>, z.ZodObject<{
@@ -526,6 +678,7 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
526
678
  message: "message";
527
679
  event: "event";
528
680
  identification: "identification";
681
+ tool: "tool";
529
682
  }>;
530
683
  text: z.ZodNullable<z.ZodString>;
531
684
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -551,6 +704,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
551
704
  }>>;
552
705
  progressMessage: z.ZodOptional<z.ZodString>;
553
706
  knowledgeId: z.ZodOptional<z.ZodString>;
707
+ toolTimeline: z.ZodOptional<z.ZodObject<{
708
+ logType: z.ZodEnum<{
709
+ customer_facing: "customer_facing";
710
+ log: "log";
711
+ decision: "decision";
712
+ }>;
713
+ triggerMessageId: z.ZodString;
714
+ workflowRunId: z.ZodString;
715
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
716
+ public: "public";
717
+ private: "private";
718
+ }>>;
719
+ }, z.core.$strip>>;
554
720
  }, z.core.$strip>>;
555
721
  }, z.core.$loose>>;
556
722
  }, z.core.$strip>, z.ZodObject<{
@@ -565,6 +731,29 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
565
731
  result: "result";
566
732
  }>;
567
733
  errorText: z.ZodOptional<z.ZodString>;
734
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
735
+ cossistant: z.ZodOptional<z.ZodObject<{
736
+ visibility: z.ZodOptional<z.ZodEnum<{
737
+ public: "public";
738
+ private: "private";
739
+ }>>;
740
+ progressMessage: z.ZodOptional<z.ZodString>;
741
+ knowledgeId: z.ZodOptional<z.ZodString>;
742
+ toolTimeline: z.ZodOptional<z.ZodObject<{
743
+ logType: z.ZodEnum<{
744
+ customer_facing: "customer_facing";
745
+ log: "log";
746
+ decision: "decision";
747
+ }>;
748
+ triggerMessageId: z.ZodString;
749
+ workflowRunId: z.ZodString;
750
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
751
+ public: "public";
752
+ private: "private";
753
+ }>>;
754
+ }, z.core.$strip>>;
755
+ }, z.core.$strip>>;
756
+ }, z.core.$loose>>;
568
757
  providerMetadata: z.ZodOptional<z.ZodObject<{
569
758
  cossistant: z.ZodOptional<z.ZodObject<{
570
759
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -573,6 +762,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
573
762
  }>>;
574
763
  progressMessage: z.ZodOptional<z.ZodString>;
575
764
  knowledgeId: z.ZodOptional<z.ZodString>;
765
+ toolTimeline: z.ZodOptional<z.ZodObject<{
766
+ logType: z.ZodEnum<{
767
+ customer_facing: "customer_facing";
768
+ log: "log";
769
+ decision: "decision";
770
+ }>;
771
+ triggerMessageId: z.ZodString;
772
+ workflowRunId: z.ZodString;
773
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
774
+ public: "public";
775
+ private: "private";
776
+ }>>;
777
+ }, z.core.$strip>>;
576
778
  }, z.core.$strip>>;
577
779
  }, z.core.$loose>>;
578
780
  }, z.core.$strip>, z.ZodObject<{
@@ -588,6 +790,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
588
790
  }>>;
589
791
  progressMessage: z.ZodOptional<z.ZodString>;
590
792
  knowledgeId: z.ZodOptional<z.ZodString>;
793
+ toolTimeline: z.ZodOptional<z.ZodObject<{
794
+ logType: z.ZodEnum<{
795
+ customer_facing: "customer_facing";
796
+ log: "log";
797
+ decision: "decision";
798
+ }>;
799
+ triggerMessageId: z.ZodString;
800
+ workflowRunId: z.ZodString;
801
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
802
+ public: "public";
803
+ private: "private";
804
+ }>>;
805
+ }, z.core.$strip>>;
591
806
  }, z.core.$strip>>;
592
807
  }, z.core.$loose>>;
593
808
  }, z.core.$strip>, z.ZodObject<{
@@ -604,6 +819,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
604
819
  }>>;
605
820
  progressMessage: z.ZodOptional<z.ZodString>;
606
821
  knowledgeId: z.ZodOptional<z.ZodString>;
822
+ toolTimeline: z.ZodOptional<z.ZodObject<{
823
+ logType: z.ZodEnum<{
824
+ customer_facing: "customer_facing";
825
+ log: "log";
826
+ decision: "decision";
827
+ }>;
828
+ triggerMessageId: z.ZodString;
829
+ workflowRunId: z.ZodString;
830
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
831
+ public: "public";
832
+ private: "private";
833
+ }>>;
834
+ }, z.core.$strip>>;
607
835
  }, z.core.$strip>>;
608
836
  }, z.core.$loose>>;
609
837
  }, z.core.$strip>, z.ZodObject<{
@@ -671,6 +899,7 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
671
899
  message: "message";
672
900
  event: "event";
673
901
  identification: "identification";
902
+ tool: "tool";
674
903
  }>;
675
904
  text: z.ZodNullable<z.ZodString>;
676
905
  tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -696,6 +925,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
696
925
  }>>;
697
926
  progressMessage: z.ZodOptional<z.ZodString>;
698
927
  knowledgeId: z.ZodOptional<z.ZodString>;
928
+ toolTimeline: z.ZodOptional<z.ZodObject<{
929
+ logType: z.ZodEnum<{
930
+ customer_facing: "customer_facing";
931
+ log: "log";
932
+ decision: "decision";
933
+ }>;
934
+ triggerMessageId: z.ZodString;
935
+ workflowRunId: z.ZodString;
936
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
937
+ public: "public";
938
+ private: "private";
939
+ }>>;
940
+ }, z.core.$strip>>;
699
941
  }, z.core.$strip>>;
700
942
  }, z.core.$loose>>;
701
943
  }, z.core.$strip>, z.ZodObject<{
@@ -710,6 +952,29 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
710
952
  result: "result";
711
953
  }>;
712
954
  errorText: z.ZodOptional<z.ZodString>;
955
+ callProviderMetadata: z.ZodOptional<z.ZodObject<{
956
+ cossistant: z.ZodOptional<z.ZodObject<{
957
+ visibility: z.ZodOptional<z.ZodEnum<{
958
+ public: "public";
959
+ private: "private";
960
+ }>>;
961
+ progressMessage: z.ZodOptional<z.ZodString>;
962
+ knowledgeId: z.ZodOptional<z.ZodString>;
963
+ toolTimeline: z.ZodOptional<z.ZodObject<{
964
+ logType: z.ZodEnum<{
965
+ customer_facing: "customer_facing";
966
+ log: "log";
967
+ decision: "decision";
968
+ }>;
969
+ triggerMessageId: z.ZodString;
970
+ workflowRunId: z.ZodString;
971
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
972
+ public: "public";
973
+ private: "private";
974
+ }>>;
975
+ }, z.core.$strip>>;
976
+ }, z.core.$strip>>;
977
+ }, z.core.$loose>>;
713
978
  providerMetadata: z.ZodOptional<z.ZodObject<{
714
979
  cossistant: z.ZodOptional<z.ZodObject<{
715
980
  visibility: z.ZodOptional<z.ZodEnum<{
@@ -718,6 +983,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
718
983
  }>>;
719
984
  progressMessage: z.ZodOptional<z.ZodString>;
720
985
  knowledgeId: z.ZodOptional<z.ZodString>;
986
+ toolTimeline: z.ZodOptional<z.ZodObject<{
987
+ logType: z.ZodEnum<{
988
+ customer_facing: "customer_facing";
989
+ log: "log";
990
+ decision: "decision";
991
+ }>;
992
+ triggerMessageId: z.ZodString;
993
+ workflowRunId: z.ZodString;
994
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
995
+ public: "public";
996
+ private: "private";
997
+ }>>;
998
+ }, z.core.$strip>>;
721
999
  }, z.core.$strip>>;
722
1000
  }, z.core.$loose>>;
723
1001
  }, z.core.$strip>, z.ZodObject<{
@@ -733,6 +1011,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
733
1011
  }>>;
734
1012
  progressMessage: z.ZodOptional<z.ZodString>;
735
1013
  knowledgeId: z.ZodOptional<z.ZodString>;
1014
+ toolTimeline: z.ZodOptional<z.ZodObject<{
1015
+ logType: z.ZodEnum<{
1016
+ customer_facing: "customer_facing";
1017
+ log: "log";
1018
+ decision: "decision";
1019
+ }>;
1020
+ triggerMessageId: z.ZodString;
1021
+ workflowRunId: z.ZodString;
1022
+ triggerVisibility: z.ZodOptional<z.ZodEnum<{
1023
+ public: "public";
1024
+ private: "private";
1025
+ }>>;
1026
+ }, z.core.$strip>>;
736
1027
  }, z.core.$strip>>;
737
1028
  }, z.core.$loose>>;
738
1029
  }, z.core.$strip>, z.ZodObject<{
@@ -749,6 +1040,19 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
749
1040
  }>>;
750
1041
  progressMessage: z.ZodOptional<z.ZodString>;
751
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>>;
752
1056
  }, z.core.$strip>>;
753
1057
  }, z.core.$loose>>;
754
1058
  }, z.core.$strip>, z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.d.ts","names":[],"sources":["../../src/trpc/conversation.ts"],"sourcesContent":[],"mappings":";;;cAUa,0BAAwB,CAAA,CAAA;;EAAxB,QAAA,EAAA,UAAA;EAMA,IAAA,EAAA,MAAA;AAOb,CAAA,CAAA;AAQa,cAfA,0BA+CX,EA/CqC,CAAA,CAAA,OA+CrC,CAAA;;;;;;cAxCW,6BAA2B,CAAA,CAAA,YAAA,CAAA,CAAA;;;;;cAQ3B,0BAAwB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA,SAAA,aAAA;EAAA,SAAA,aAAA;EAkCzB,SAAA,eAAA,YAA0B,CAAA;AAItC,CAAA,eAAa,CAAA;KAJD,0BAAA,GAA6B,CAAA,CAAE,aACnC;cAGK,oCAAkC,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,0BAAwB,CAA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