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