cogito-client 1.0.61 → 1.0.63

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +12 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -190,6 +190,11 @@ export declare interface CogitoCodeSurface {
190
190
  }
191
191
 
192
192
  export declare interface CogitoConfig {
193
+ error?: {
194
+ reason?: string;
195
+ message?: string;
196
+ [k: string]: unknown;
197
+ };
193
198
  stt?: {
194
199
  model?: string;
195
200
  language?: string;
@@ -227,7 +232,7 @@ export declare interface CogitoConfig {
227
232
  export declare interface CogitoConversation {
228
233
  id: string;
229
234
  mode?: string;
230
- configuration: CogitoConfig;
235
+ configuration?: CogitoConfig;
231
236
  from?: string;
232
237
  to?: string;
233
238
  twilioCallSid?: string;
@@ -244,6 +249,12 @@ export declare interface CogitoConversation {
244
249
  */
245
250
  phoneOutboundSipTrunkId?: string;
246
251
  messages: CogitoMessage[];
252
+ callControl?: {
253
+ terminate?: boolean;
254
+ reason?: string;
255
+ message?: string;
256
+ [k: string]: unknown;
257
+ };
247
258
  [k: string]: unknown;
248
259
  }
249
260
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogito-client",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"