@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/conversation.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ declare const createConversationRequestSchema: z.ZodObject<{
|
|
|
9
9
|
conversationId: z.ZodString;
|
|
10
10
|
organizationId: z.ZodString;
|
|
11
11
|
visibility: z.ZodEnum<{
|
|
12
|
-
public: "public";
|
|
13
12
|
private: "private";
|
|
13
|
+
public: "public";
|
|
14
14
|
}>;
|
|
15
15
|
type: z.ZodEnum<{
|
|
16
16
|
message: "message";
|
|
@@ -37,11 +37,24 @@ declare const createConversationRequestSchema: z.ZodObject<{
|
|
|
37
37
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
38
38
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
40
|
-
public: "public";
|
|
41
40
|
private: "private";
|
|
41
|
+
public: "public";
|
|
42
42
|
}>>;
|
|
43
43
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
44
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
|
+
private: "private";
|
|
55
|
+
public: "public";
|
|
56
|
+
}>>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
45
58
|
}, z.core.$strip>>;
|
|
46
59
|
}, z.core.$loose>>;
|
|
47
60
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -56,14 +69,50 @@ declare const createConversationRequestSchema: z.ZodObject<{
|
|
|
56
69
|
result: "result";
|
|
57
70
|
}>;
|
|
58
71
|
errorText: z.ZodOptional<z.ZodString>;
|
|
59
|
-
|
|
72
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
60
73
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
61
74
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
private: "private";
|
|
62
76
|
public: "public";
|
|
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
|
+
private: "private";
|
|
90
|
+
public: "public";
|
|
91
|
+
}>>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
}, z.core.$loose>>;
|
|
95
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
63
98
|
private: "private";
|
|
99
|
+
public: "public";
|
|
64
100
|
}>>;
|
|
65
101
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
66
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
|
+
private: "private";
|
|
113
|
+
public: "public";
|
|
114
|
+
}>>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
67
116
|
}, z.core.$strip>>;
|
|
68
117
|
}, z.core.$loose>>;
|
|
69
118
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -74,11 +123,24 @@ declare const createConversationRequestSchema: z.ZodObject<{
|
|
|
74
123
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
75
124
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
76
125
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
77
|
-
public: "public";
|
|
78
126
|
private: "private";
|
|
127
|
+
public: "public";
|
|
79
128
|
}>>;
|
|
80
129
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
81
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
|
+
private: "private";
|
|
141
|
+
public: "public";
|
|
142
|
+
}>>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
82
144
|
}, z.core.$strip>>;
|
|
83
145
|
}, z.core.$loose>>;
|
|
84
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -90,11 +152,24 @@ declare const createConversationRequestSchema: z.ZodObject<{
|
|
|
90
152
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
91
153
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
92
154
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
93
|
-
public: "public";
|
|
94
155
|
private: "private";
|
|
156
|
+
public: "public";
|
|
95
157
|
}>>;
|
|
96
158
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
97
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
|
+
private: "private";
|
|
170
|
+
public: "public";
|
|
171
|
+
}>>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
98
173
|
}, z.core.$strip>>;
|
|
99
174
|
}, z.core.$loose>>;
|
|
100
175
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -159,8 +234,8 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
159
234
|
conversationId: z.ZodString;
|
|
160
235
|
organizationId: z.ZodString;
|
|
161
236
|
visibility: z.ZodEnum<{
|
|
162
|
-
public: "public";
|
|
163
237
|
private: "private";
|
|
238
|
+
public: "public";
|
|
164
239
|
}>;
|
|
165
240
|
type: z.ZodEnum<{
|
|
166
241
|
message: "message";
|
|
@@ -187,11 +262,24 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
187
262
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
188
263
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
189
264
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
190
|
-
public: "public";
|
|
191
265
|
private: "private";
|
|
266
|
+
public: "public";
|
|
192
267
|
}>>;
|
|
193
268
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
194
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
|
+
private: "private";
|
|
280
|
+
public: "public";
|
|
281
|
+
}>>;
|
|
282
|
+
}, z.core.$strip>>;
|
|
195
283
|
}, z.core.$strip>>;
|
|
196
284
|
}, z.core.$loose>>;
|
|
197
285
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -206,14 +294,50 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
206
294
|
result: "result";
|
|
207
295
|
}>;
|
|
208
296
|
errorText: z.ZodOptional<z.ZodString>;
|
|
209
|
-
|
|
297
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
210
298
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
211
299
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
private: "private";
|
|
212
301
|
public: "public";
|
|
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
|
+
private: "private";
|
|
315
|
+
public: "public";
|
|
316
|
+
}>>;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
}, z.core.$loose>>;
|
|
320
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
322
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
213
323
|
private: "private";
|
|
324
|
+
public: "public";
|
|
214
325
|
}>>;
|
|
215
326
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
216
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
|
+
private: "private";
|
|
338
|
+
public: "public";
|
|
339
|
+
}>>;
|
|
340
|
+
}, z.core.$strip>>;
|
|
217
341
|
}, z.core.$strip>>;
|
|
218
342
|
}, z.core.$loose>>;
|
|
219
343
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -224,11 +348,24 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
224
348
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
225
349
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
226
350
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
227
|
-
public: "public";
|
|
228
351
|
private: "private";
|
|
352
|
+
public: "public";
|
|
229
353
|
}>>;
|
|
230
354
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
231
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
|
+
private: "private";
|
|
366
|
+
public: "public";
|
|
367
|
+
}>>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
232
369
|
}, z.core.$strip>>;
|
|
233
370
|
}, z.core.$loose>>;
|
|
234
371
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -240,11 +377,24 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
240
377
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
241
378
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
242
379
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
243
|
-
public: "public";
|
|
244
380
|
private: "private";
|
|
381
|
+
public: "public";
|
|
245
382
|
}>>;
|
|
246
383
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
247
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
|
+
private: "private";
|
|
395
|
+
public: "public";
|
|
396
|
+
}>>;
|
|
397
|
+
}, z.core.$strip>>;
|
|
248
398
|
}, z.core.$strip>>;
|
|
249
399
|
}, z.core.$loose>>;
|
|
250
400
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -321,8 +471,8 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
321
471
|
conversationId: z.ZodString;
|
|
322
472
|
organizationId: z.ZodString;
|
|
323
473
|
visibility: z.ZodEnum<{
|
|
324
|
-
public: "public";
|
|
325
474
|
private: "private";
|
|
475
|
+
public: "public";
|
|
326
476
|
}>;
|
|
327
477
|
type: z.ZodEnum<{
|
|
328
478
|
message: "message";
|
|
@@ -349,11 +499,24 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
349
499
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
350
500
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
351
501
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
352
|
-
public: "public";
|
|
353
502
|
private: "private";
|
|
503
|
+
public: "public";
|
|
354
504
|
}>>;
|
|
355
505
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
356
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
|
+
private: "private";
|
|
517
|
+
public: "public";
|
|
518
|
+
}>>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
357
520
|
}, z.core.$strip>>;
|
|
358
521
|
}, z.core.$loose>>;
|
|
359
522
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -368,14 +531,50 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
368
531
|
result: "result";
|
|
369
532
|
}>;
|
|
370
533
|
errorText: z.ZodOptional<z.ZodString>;
|
|
371
|
-
|
|
534
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
372
535
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
373
536
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
537
|
+
private: "private";
|
|
374
538
|
public: "public";
|
|
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
|
+
private: "private";
|
|
552
|
+
public: "public";
|
|
553
|
+
}>>;
|
|
554
|
+
}, z.core.$strip>>;
|
|
555
|
+
}, z.core.$strip>>;
|
|
556
|
+
}, z.core.$loose>>;
|
|
557
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
558
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
559
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
375
560
|
private: "private";
|
|
561
|
+
public: "public";
|
|
376
562
|
}>>;
|
|
377
563
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
378
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
|
+
private: "private";
|
|
575
|
+
public: "public";
|
|
576
|
+
}>>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
379
578
|
}, z.core.$strip>>;
|
|
380
579
|
}, z.core.$loose>>;
|
|
381
580
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -386,11 +585,24 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
386
585
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
387
586
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
388
587
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
389
|
-
public: "public";
|
|
390
588
|
private: "private";
|
|
589
|
+
public: "public";
|
|
391
590
|
}>>;
|
|
392
591
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
393
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
|
+
private: "private";
|
|
603
|
+
public: "public";
|
|
604
|
+
}>>;
|
|
605
|
+
}, z.core.$strip>>;
|
|
394
606
|
}, z.core.$strip>>;
|
|
395
607
|
}, z.core.$loose>>;
|
|
396
608
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -402,11 +614,24 @@ declare const createConversationResponseSchema: z.ZodObject<{
|
|
|
402
614
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
403
615
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
404
616
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
405
|
-
public: "public";
|
|
406
617
|
private: "private";
|
|
618
|
+
public: "public";
|
|
407
619
|
}>>;
|
|
408
620
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
409
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
|
+
private: "private";
|
|
632
|
+
public: "public";
|
|
633
|
+
}>>;
|
|
634
|
+
}, z.core.$strip>>;
|
|
410
635
|
}, z.core.$strip>>;
|
|
411
636
|
}, z.core.$loose>>;
|
|
412
637
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -505,8 +730,8 @@ declare const listConversationsResponseSchema: z.ZodObject<{
|
|
|
505
730
|
conversationId: z.ZodString;
|
|
506
731
|
organizationId: z.ZodString;
|
|
507
732
|
visibility: z.ZodEnum<{
|
|
508
|
-
public: "public";
|
|
509
733
|
private: "private";
|
|
734
|
+
public: "public";
|
|
510
735
|
}>;
|
|
511
736
|
type: z.ZodEnum<{
|
|
512
737
|
message: "message";
|
|
@@ -533,11 +758,24 @@ declare const listConversationsResponseSchema: z.ZodObject<{
|
|
|
533
758
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
534
759
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
535
760
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
536
|
-
public: "public";
|
|
537
761
|
private: "private";
|
|
762
|
+
public: "public";
|
|
538
763
|
}>>;
|
|
539
764
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
540
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
|
+
private: "private";
|
|
776
|
+
public: "public";
|
|
777
|
+
}>>;
|
|
778
|
+
}, z.core.$strip>>;
|
|
541
779
|
}, z.core.$strip>>;
|
|
542
780
|
}, z.core.$loose>>;
|
|
543
781
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -552,14 +790,50 @@ declare const listConversationsResponseSchema: z.ZodObject<{
|
|
|
552
790
|
result: "result";
|
|
553
791
|
}>;
|
|
554
792
|
errorText: z.ZodOptional<z.ZodString>;
|
|
555
|
-
|
|
793
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
556
794
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
557
795
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
796
|
+
private: "private";
|
|
558
797
|
public: "public";
|
|
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
|
+
private: "private";
|
|
811
|
+
public: "public";
|
|
812
|
+
}>>;
|
|
813
|
+
}, z.core.$strip>>;
|
|
814
|
+
}, z.core.$strip>>;
|
|
815
|
+
}, z.core.$loose>>;
|
|
816
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
817
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
818
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
559
819
|
private: "private";
|
|
820
|
+
public: "public";
|
|
560
821
|
}>>;
|
|
561
822
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
562
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
|
+
private: "private";
|
|
834
|
+
public: "public";
|
|
835
|
+
}>>;
|
|
836
|
+
}, z.core.$strip>>;
|
|
563
837
|
}, z.core.$strip>>;
|
|
564
838
|
}, z.core.$loose>>;
|
|
565
839
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -570,11 +844,24 @@ declare const listConversationsResponseSchema: z.ZodObject<{
|
|
|
570
844
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
571
845
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
572
846
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
573
|
-
public: "public";
|
|
574
847
|
private: "private";
|
|
848
|
+
public: "public";
|
|
575
849
|
}>>;
|
|
576
850
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
577
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
|
+
private: "private";
|
|
862
|
+
public: "public";
|
|
863
|
+
}>>;
|
|
864
|
+
}, z.core.$strip>>;
|
|
578
865
|
}, z.core.$strip>>;
|
|
579
866
|
}, z.core.$loose>>;
|
|
580
867
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -586,11 +873,24 @@ declare const listConversationsResponseSchema: z.ZodObject<{
|
|
|
586
873
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
587
874
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
588
875
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
589
|
-
public: "public";
|
|
590
876
|
private: "private";
|
|
877
|
+
public: "public";
|
|
591
878
|
}>>;
|
|
592
879
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
593
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
|
+
private: "private";
|
|
891
|
+
public: "public";
|
|
892
|
+
}>>;
|
|
893
|
+
}, z.core.$strip>>;
|
|
594
894
|
}, z.core.$strip>>;
|
|
595
895
|
}, z.core.$loose>>;
|
|
596
896
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -682,8 +982,8 @@ declare const getConversationResponseSchema: z.ZodObject<{
|
|
|
682
982
|
conversationId: z.ZodString;
|
|
683
983
|
organizationId: z.ZodString;
|
|
684
984
|
visibility: z.ZodEnum<{
|
|
685
|
-
public: "public";
|
|
686
985
|
private: "private";
|
|
986
|
+
public: "public";
|
|
687
987
|
}>;
|
|
688
988
|
type: z.ZodEnum<{
|
|
689
989
|
message: "message";
|
|
@@ -710,11 +1010,24 @@ declare const getConversationResponseSchema: z.ZodObject<{
|
|
|
710
1010
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
711
1011
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
712
1012
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
713
|
-
public: "public";
|
|
714
1013
|
private: "private";
|
|
1014
|
+
public: "public";
|
|
715
1015
|
}>>;
|
|
716
1016
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
717
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
|
+
private: "private";
|
|
1028
|
+
public: "public";
|
|
1029
|
+
}>>;
|
|
1030
|
+
}, z.core.$strip>>;
|
|
718
1031
|
}, z.core.$strip>>;
|
|
719
1032
|
}, z.core.$loose>>;
|
|
720
1033
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -729,14 +1042,50 @@ declare const getConversationResponseSchema: z.ZodObject<{
|
|
|
729
1042
|
result: "result";
|
|
730
1043
|
}>;
|
|
731
1044
|
errorText: z.ZodOptional<z.ZodString>;
|
|
732
|
-
|
|
1045
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
733
1046
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
734
1047
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1048
|
+
private: "private";
|
|
735
1049
|
public: "public";
|
|
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
|
+
private: "private";
|
|
1063
|
+
public: "public";
|
|
1064
|
+
}>>;
|
|
1065
|
+
}, z.core.$strip>>;
|
|
1066
|
+
}, z.core.$strip>>;
|
|
1067
|
+
}, z.core.$loose>>;
|
|
1068
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
1069
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
1070
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
736
1071
|
private: "private";
|
|
1072
|
+
public: "public";
|
|
737
1073
|
}>>;
|
|
738
1074
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
739
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
|
+
private: "private";
|
|
1086
|
+
public: "public";
|
|
1087
|
+
}>>;
|
|
1088
|
+
}, z.core.$strip>>;
|
|
740
1089
|
}, z.core.$strip>>;
|
|
741
1090
|
}, z.core.$loose>>;
|
|
742
1091
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -747,11 +1096,24 @@ declare const getConversationResponseSchema: z.ZodObject<{
|
|
|
747
1096
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
748
1097
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
749
1098
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
750
|
-
public: "public";
|
|
751
1099
|
private: "private";
|
|
1100
|
+
public: "public";
|
|
752
1101
|
}>>;
|
|
753
1102
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
754
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
|
+
private: "private";
|
|
1114
|
+
public: "public";
|
|
1115
|
+
}>>;
|
|
1116
|
+
}, z.core.$strip>>;
|
|
755
1117
|
}, z.core.$strip>>;
|
|
756
1118
|
}, z.core.$loose>>;
|
|
757
1119
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -763,11 +1125,24 @@ declare const getConversationResponseSchema: z.ZodObject<{
|
|
|
763
1125
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
764
1126
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
765
1127
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
766
|
-
public: "public";
|
|
767
1128
|
private: "private";
|
|
1129
|
+
public: "public";
|
|
768
1130
|
}>>;
|
|
769
1131
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
770
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
|
+
private: "private";
|
|
1143
|
+
public: "public";
|
|
1144
|
+
}>>;
|
|
1145
|
+
}, z.core.$strip>>;
|
|
771
1146
|
}, z.core.$strip>>;
|
|
772
1147
|
}, z.core.$loose>>;
|
|
773
1148
|
}, z.core.$strip>, z.ZodObject<{
|