cogito-client 1.0.48 → 1.0.50
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/dist/index.d.ts +25 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -76,8 +76,12 @@ export declare type CogitoBuiltInSurface = CogitoApprovalCardSurface | CogitoDat
|
|
|
76
76
|
export declare interface CogitoCallCompletedWebhook {
|
|
77
77
|
type?: "call-completed";
|
|
78
78
|
conversationId: string;
|
|
79
|
+
callSid?: string;
|
|
80
|
+
from?: string;
|
|
81
|
+
to?: string;
|
|
79
82
|
startTime?: string;
|
|
80
83
|
endTime?: string;
|
|
84
|
+
messages?: CogitoMessage[];
|
|
81
85
|
}
|
|
82
86
|
|
|
83
87
|
export declare interface CogitoChartSurface {
|
|
@@ -164,7 +168,25 @@ export declare interface CogitoCodeSurface {
|
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
export declare interface CogitoConfig {
|
|
167
|
-
|
|
171
|
+
stt?: {
|
|
172
|
+
model?: string;
|
|
173
|
+
language?: string;
|
|
174
|
+
[k: string]: unknown;
|
|
175
|
+
};
|
|
176
|
+
tts?: {
|
|
177
|
+
model?: string;
|
|
178
|
+
voice?: string;
|
|
179
|
+
language?: string;
|
|
180
|
+
[k: string]: unknown;
|
|
181
|
+
};
|
|
182
|
+
llm?: {
|
|
183
|
+
model?: string;
|
|
184
|
+
extra_kwargs?: {
|
|
185
|
+
[k: string]: unknown;
|
|
186
|
+
};
|
|
187
|
+
[k: string]: unknown;
|
|
188
|
+
};
|
|
189
|
+
agents: CogitoAgent[];
|
|
168
190
|
webhooks?: {
|
|
169
191
|
events: ("message" | "call-completed")[];
|
|
170
192
|
uri: string;
|
|
@@ -175,9 +197,11 @@ export declare interface CogitoConfig {
|
|
|
175
197
|
|
|
176
198
|
export declare interface CogitoConversation {
|
|
177
199
|
id: string;
|
|
200
|
+
mode?: string;
|
|
178
201
|
configuration: CogitoConfig;
|
|
179
202
|
from?: string;
|
|
180
203
|
to?: string;
|
|
204
|
+
twilioCallSid?: string;
|
|
181
205
|
/**
|
|
182
206
|
* The URL to use to blind transfer calls
|
|
183
207
|
*/
|