cogito-client 1.0.60 → 1.0.62

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 +7 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -202,7 +202,6 @@ export declare interface CogitoConfig {
202
202
  voiceOverrides?: {
203
203
  voice?: string;
204
204
  language?: string;
205
- [k: string]: unknown;
206
205
  }[];
207
206
  pronunciation?: {
208
207
  [k: string]: string;
@@ -228,7 +227,7 @@ export declare interface CogitoConfig {
228
227
  export declare interface CogitoConversation {
229
228
  id: string;
230
229
  mode?: string;
231
- configuration: CogitoConfig;
230
+ configuration?: CogitoConfig;
232
231
  from?: string;
233
232
  to?: string;
234
233
  twilioCallSid?: string;
@@ -245,6 +244,12 @@ export declare interface CogitoConversation {
245
244
  */
246
245
  phoneOutboundSipTrunkId?: string;
247
246
  messages: CogitoMessage[];
247
+ callControl?: {
248
+ terminate?: boolean;
249
+ reason?: string;
250
+ message?: string;
251
+ [k: string]: unknown;
252
+ };
248
253
  [k: string]: unknown;
249
254
  }
250
255
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogito-client",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"