@upscopeio/sdk 2024.11.13 → 2024.12.9
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/index.d.ts +0 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ type CobrowsingSdkConfiguration = {
|
|
|
24
24
|
phoneEndpoint: string;
|
|
25
25
|
javascriptEndpoint: string;
|
|
26
26
|
storageImplementation: null | Storage;
|
|
27
|
-
proxyRedirectEndpoint: string;
|
|
28
27
|
requireAuthorizationForSession: boolean;
|
|
29
28
|
integrateWithLivechat: boolean;
|
|
30
29
|
liveChatRewrite: boolean;
|
|
@@ -100,10 +99,8 @@ type CobrowsingSdkConfiguration = {
|
|
|
100
99
|
callAudioAuthorizationFailedMessage: string;
|
|
101
100
|
unavailableAgentRequestRedirectImmediately: boolean;
|
|
102
101
|
unavailableAgentRequestRedirectTo: null | string;
|
|
103
|
-
fromProxy: boolean;
|
|
104
102
|
sfdcFieldLabel: string;
|
|
105
103
|
sfdcFieldId: string;
|
|
106
|
-
needsProxy: (url: string) => boolean;
|
|
107
104
|
onSessionRequest: (cb: (accepted: boolean) => void, requestingAgent: string | null) => void | (() => void);
|
|
108
105
|
onSessionStart: () => void;
|
|
109
106
|
onSessionEnd: () => void;
|
|
@@ -157,7 +154,6 @@ type Instruction =
|
|
|
157
154
|
| ["on", ...(keyof SDKEvents)[], (event: any) => void]
|
|
158
155
|
| ["requestAgent"]
|
|
159
156
|
| ["reset", boolean]
|
|
160
|
-
| ["redirect", string]
|
|
161
157
|
| ["saveHistory"]
|
|
162
158
|
| ["stopSession"]
|
|
163
159
|
| ["prefetchAssets"]
|
package/package.json
CHANGED