ahs-cti 1.0.0-beta.41 → 1.0.0-beta.42

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.mts CHANGED
@@ -70,6 +70,8 @@ type CallData$1 = {
70
70
  call_id?: string;
71
71
  process_id?: string;
72
72
  process_name?: string;
73
+ /** Auto wrapup time in seconds, sourced from backend call controls config */
74
+ auto_wrapup_time?: number;
73
75
  mute?: number;
74
76
  hold?: number;
75
77
  };
@@ -111,6 +113,8 @@ type SDKState$1 = {
111
113
  userPermissions: string[] | null;
112
114
  menuEntitlements: Array<{ code: string; name: string; enabled: boolean }> | null;
113
115
  consultInfo: any | null;
116
+ /** Raw callControls from the backend init response, before merging with permissions or consumer config */
117
+ backendCallControls: any | null;
114
118
  };
115
119
 
116
120
  /**
@@ -621,6 +625,8 @@ interface CallData {
621
625
  phone_number?: string;
622
626
  process_id?: string;
623
627
  process_name?: string;
628
+ /** Auto wrapup time in seconds, sourced from backend call controls config */
629
+ auto_wrapup_time?: number;
624
630
  }
625
631
 
626
632
  /**
package/dist/index.d.ts CHANGED
@@ -70,6 +70,8 @@ type CallData$1 = {
70
70
  call_id?: string;
71
71
  process_id?: string;
72
72
  process_name?: string;
73
+ /** Auto wrapup time in seconds, sourced from backend call controls config */
74
+ auto_wrapup_time?: number;
73
75
  mute?: number;
74
76
  hold?: number;
75
77
  };
@@ -111,6 +113,8 @@ type SDKState$1 = {
111
113
  userPermissions: string[] | null;
112
114
  menuEntitlements: Array<{ code: string; name: string; enabled: boolean }> | null;
113
115
  consultInfo: any | null;
116
+ /** Raw callControls from the backend init response, before merging with permissions or consumer config */
117
+ backendCallControls: any | null;
114
118
  };
115
119
 
116
120
  /**
@@ -621,6 +625,8 @@ interface CallData {
621
625
  phone_number?: string;
622
626
  process_id?: string;
623
627
  process_name?: string;
628
+ /** Auto wrapup time in seconds, sourced from backend call controls config */
629
+ auto_wrapup_time?: number;
624
630
  }
625
631
 
626
632
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ahs-cti",
3
3
  "description": "Call Control SDK for Web RTC",
4
- "version": "1.0.0-beta.41",
4
+ "version": "1.0.0-beta.42",
5
5
  "author": "CTI SDK Team",
6
6
  "license": "MIT",
7
7
  "main": "./dist/index.js",