ahs-cti 0.0.2-beta.1 → 0.0.2-beta.3

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
@@ -52,6 +52,8 @@ interface InitSDKParams {
52
52
  agentId: string;
53
53
  /** Optional SDK configuration for customizing behavior */
54
54
  sdkConfig?: SDKConfig;
55
+ /** Optional URL configuration for SDK endpoints */
56
+ urlConfig?: URLConfig;
55
57
  }
56
58
 
57
59
  /**
@@ -232,6 +234,14 @@ interface SDKConfig {
232
234
  outlined?: any;
233
235
  }
234
236
 
237
+ interface URLConfig {
238
+ baseURL: string;
239
+ iframeURL: string;
240
+ iframeAPIURL: string;
241
+ password: string;
242
+ webSocketURL: string;
243
+ }
244
+
235
245
  /**
236
246
  * 🎭 Call Control Panel Props Interface
237
247
  *
@@ -1779,4 +1789,4 @@ interface ErrorResponse {
1779
1789
  details?: any;
1780
1790
  }
1781
1791
 
1782
- export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout };
1792
+ export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type URLConfig, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout };
package/dist/index.d.ts CHANGED
@@ -52,6 +52,8 @@ interface InitSDKParams {
52
52
  agentId: string;
53
53
  /** Optional SDK configuration for customizing behavior */
54
54
  sdkConfig?: SDKConfig;
55
+ /** Optional URL configuration for SDK endpoints */
56
+ urlConfig?: URLConfig;
55
57
  }
56
58
 
57
59
  /**
@@ -232,6 +234,14 @@ interface SDKConfig {
232
234
  outlined?: any;
233
235
  }
234
236
 
237
+ interface URLConfig {
238
+ baseURL: string;
239
+ iframeURL: string;
240
+ iframeAPIURL: string;
241
+ password: string;
242
+ webSocketURL: string;
243
+ }
244
+
235
245
  /**
236
246
  * 🎭 Call Control Panel Props Interface
237
247
  *
@@ -1779,4 +1789,4 @@ interface ErrorResponse {
1779
1789
  details?: any;
1780
1790
  }
1781
1791
 
1782
- export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout };
1792
+ export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type URLConfig, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useGetAuthorizationToken, useGetCallerData, useLogout };
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": "0.0.2-beta.1",
4
+ "version": "0.0.2-beta.3",
5
5
  "author": "CTI SDK Team",
6
6
  "license": "MIT",
7
7
  "main": "./dist/index.js",