ahs-cti 1.0.0-beta.46 → 1.0.0-beta.48

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
@@ -2233,6 +2233,7 @@ declare function logout(): Promise<void>;
2233
2233
  declare function startMonitoring(payload: StartMonitoringPayload): Promise<any>;
2234
2234
  declare function stopMonitoring(payload: StopMonitoringPayload): Promise<any>;
2235
2235
  declare function changeMonitorMode(payload: ChangeModePayload): Promise<any>;
2236
+ declare function registerTransferLeadData(provider: () => any): void;
2236
2237
 
2237
2238
  // =============================================================================
2238
2239
  // ⚛️ REACT HOOKS
@@ -2405,4 +2406,4 @@ interface SDKAccessDeniedProps {
2405
2406
 
2406
2407
  declare const SDKAccessDenied: React.FC<SDKAccessDeniedProps>;
2407
2408
 
2408
- export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type ChangeModePayload, type CleanupOperation, type ConferenceCallPayload, type ConferenceLine, type ControlsFromPermissions, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, SDKAccessDenied, type SDKAccessDeniedProps, type SDKBit, type SDKConfig, type SDKEntitlement, type SDKEntitlements, SDKPages, type SDKPermissionContextValue, SDKPermissionGuard, type SDKPermissionGuardProps, type SDKPermissionState, type SDKPermissionsHook, type SDKState, SDKStateManager, SDK_MENU_CODES, SDK_PERMISSIONS, SDK_WILDCARD, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StartMonitoringPayload, type StopMonitoringPayload, type StorageType, type SupervisorMonitorMode, type URLConfig, type UseCallMonitoringReturn, type UseClickToCallReturn, type UseClickToConferenceReturn, type UseEndCallReturn, type UseLogoutReturn, changeMonitorMode, clickToCall, clickToConference, endCall, getSDKVersion, initSDK, isSDKInitialized, logout, sdkStateManager, startMonitoring, stopMonitoring, useCallMonitoring, useClickToCall, useClickToConference, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout, useSDKPermissions, useSDKState };
2409
+ export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type ChangeModePayload, type CleanupOperation, type ConferenceCallPayload, type ConferenceLine, type ControlsFromPermissions, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, SDKAccessDenied, type SDKAccessDeniedProps, type SDKBit, type SDKConfig, type SDKEntitlement, type SDKEntitlements, SDKPages, type SDKPermissionContextValue, SDKPermissionGuard, type SDKPermissionGuardProps, type SDKPermissionState, type SDKPermissionsHook, type SDKState, SDKStateManager, SDK_MENU_CODES, SDK_PERMISSIONS, SDK_WILDCARD, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StartMonitoringPayload, type StopMonitoringPayload, type StorageType, type SupervisorMonitorMode, type URLConfig, type UseCallMonitoringReturn, type UseClickToCallReturn, type UseClickToConferenceReturn, type UseEndCallReturn, type UseLogoutReturn, changeMonitorMode, clickToCall, clickToConference, endCall, getSDKVersion, initSDK, isSDKInitialized, logout, registerTransferLeadData, sdkStateManager, startMonitoring, stopMonitoring, useCallMonitoring, useClickToCall, useClickToConference, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout, useSDKPermissions, useSDKState };
package/dist/index.d.ts CHANGED
@@ -2233,6 +2233,7 @@ declare function logout(): Promise<void>;
2233
2233
  declare function startMonitoring(payload: StartMonitoringPayload): Promise<any>;
2234
2234
  declare function stopMonitoring(payload: StopMonitoringPayload): Promise<any>;
2235
2235
  declare function changeMonitorMode(payload: ChangeModePayload): Promise<any>;
2236
+ declare function registerTransferLeadData(provider: () => any): void;
2236
2237
 
2237
2238
  // =============================================================================
2238
2239
  // ⚛️ REACT HOOKS
@@ -2406,4 +2407,4 @@ interface SDKAccessDeniedProps {
2406
2407
  declare const SDKAccessDenied: React.FC<SDKAccessDeniedProps>;
2407
2408
 
2408
2409
  export type { APIResponse, AgentStatus, CallControlPanelProps, CallData, CallInitiationFunction, CallTerminationFunction, ChangeModePayload, CleanupOperation, ConferenceCallPayload, ConferenceLine, ControlsFromPermissions, DispositionType, EndCallData, EndCallPayLoadData, EndCallPayload, ErrorResponse, FollowUpType, HookStateTypes, InitSDKParams, LogoutFunction, LogoutHookStateTypes, LogoutPayload, ProcessData, SDKAccessDeniedProps, SDKBit, SDKConfig, SDKEntitlement, SDKEntitlements, SDKPermissionContextValue, SDKPermissionGuardProps, SDKPermissionState, SDKPermissionsHook, SDKState, StartCallPayload, StartCalltData, StartCalltHookStateTypes, StartMonitoringPayload, StopMonitoringPayload, StorageType, SupervisorMonitorMode, URLConfig, UseCallMonitoringReturn, UseClickToCallReturn, UseClickToConferenceReturn, UseEndCallReturn, UseLogoutReturn }
2409
- export { CallControlPanel, SDKAccessDenied, SDKPages, SDKPermissionGuard, SDKStateManager, SDK_MENU_CODES, SDK_PERMISSIONS, SDK_WILDCARD, changeMonitorMode, clickToCall, clickToConference, endCall, getSDKVersion, initSDK, isSDKInitialized, logout, sdkStateManager, startMonitoring, stopMonitoring, useCallMonitoring, useClickToCall, useClickToConference, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout, useSDKPermissions, useSDKState };
2410
+ export { CallControlPanel, SDKAccessDenied, SDKPages, SDKPermissionGuard, SDKStateManager, SDK_MENU_CODES, SDK_PERMISSIONS, SDK_WILDCARD, changeMonitorMode, clickToCall, clickToConference, endCall, getSDKVersion, initSDK, isSDKInitialized, logout, registerTransferLeadData, sdkStateManager, startMonitoring, stopMonitoring, useCallMonitoring, useClickToCall, useClickToConference, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout, useSDKPermissions, useSDKState };
package/dist/index.js CHANGED
@@ -7775,6 +7775,7 @@ __export(index_exports, {
7775
7775
  initSDK: () => initSDK,
7776
7776
  isSDKInitialized: () => isSDKInitialized,
7777
7777
  logout: () => logout,
7778
+ registerTransferLeadData: () => registerTransferLeadData,
7778
7779
  sdkStateManager: () => sdkStateManager,
7779
7780
  startMonitoring: () => startMonitoring,
7780
7781
  stopMonitoring: () => stopMonitoring,
@@ -12264,6 +12265,9 @@ async function changeMonitorMode(payload) {
12264
12265
  const res = await axios_default.post(END_POINT.SUPERVISOR_CALL_CHANGE_MODE, payload);
12265
12266
  return res.data;
12266
12267
  }
12268
+ function registerTransferLeadData(provider) {
12269
+ sdkStateManager.registerTransferLeadDataProvider(provider);
12270
+ }
12267
12271
 
12268
12272
  // call-control-sdk/index.ts
12269
12273
  async function initSDK({
@@ -12348,6 +12352,7 @@ function isSDKInitialized() {
12348
12352
  initSDK,
12349
12353
  isSDKInitialized,
12350
12354
  logout,
12355
+ registerTransferLeadData,
12351
12356
  sdkStateManager,
12352
12357
  startMonitoring,
12353
12358
  stopMonitoring,