ahs-cti 0.0.2-beta.4 → 0.0.2-beta.5
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 +1 -11
- package/dist/index.d.ts +1 -11
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -52,8 +52,6 @@ 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;
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
/**
|
|
@@ -234,14 +232,6 @@ interface SDKConfig {
|
|
|
234
232
|
outlined?: any;
|
|
235
233
|
}
|
|
236
234
|
|
|
237
|
-
interface URLConfig {
|
|
238
|
-
baseURL: string;
|
|
239
|
-
iframeURL: string;
|
|
240
|
-
iframeAPIURL: string;
|
|
241
|
-
password: string;
|
|
242
|
-
webSocketURL: string;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
235
|
/**
|
|
246
236
|
* 🎭 Call Control Panel Props Interface
|
|
247
237
|
*
|
|
@@ -1789,4 +1779,4 @@ interface ErrorResponse {
|
|
|
1789
1779
|
details?: any;
|
|
1790
1780
|
}
|
|
1791
1781
|
|
|
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
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -52,8 +52,6 @@ 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;
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
/**
|
|
@@ -234,14 +232,6 @@ interface SDKConfig {
|
|
|
234
232
|
outlined?: any;
|
|
235
233
|
}
|
|
236
234
|
|
|
237
|
-
interface URLConfig {
|
|
238
|
-
baseURL: string;
|
|
239
|
-
iframeURL: string;
|
|
240
|
-
iframeAPIURL: string;
|
|
241
|
-
password: string;
|
|
242
|
-
webSocketURL: string;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
235
|
/**
|
|
246
236
|
* 🎭 Call Control Panel Props Interface
|
|
247
237
|
*
|
|
@@ -1789,4 +1779,4 @@ interface ErrorResponse {
|
|
|
1789
1779
|
details?: any;
|
|
1790
1780
|
}
|
|
1791
1781
|
|
|
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
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -4530,7 +4530,7 @@ async function initSDK({
|
|
|
4530
4530
|
apiKey.trim(),
|
|
4531
4531
|
tenantId.trim(),
|
|
4532
4532
|
agentId.trim(),
|
|
4533
|
-
__spreadValues(__spreadValues({}, initResult == null ? void 0 : initResult.call_controls), sdkConfig),
|
|
4533
|
+
__spreadValues(__spreadValues(__spreadValues({}, initResult == null ? void 0 : initResult.call_controls), sdkConfig), urlConfig),
|
|
4534
4534
|
res
|
|
4535
4535
|
);
|
|
4536
4536
|
} else {
|