@koredev/kore-web-sdk 11.16.1-rc.390b324 → 11.16.1-rc.901d0f9
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/components/chatwindow/sass/brandingJSON.d.ts +4 -0
- package/dist/esm/kore-web-sdk-chat.min.js +1 -1
- package/dist/esm/kore-web-sdk-widgets.js +1 -1
- package/dist/esm/plugins/agent-desktop.js +1 -1
- package/dist/esm/plugins/kore-graph-templates-plugin.js +1 -1
- package/dist/esm/plugins/kore-i18n.js +1 -1
- package/dist/esm/plugins/multi-file-upload.js +1 -1
- package/dist/esm/plugins/v2-kore-web-sdk-widgets.js +1 -1
- package/dist/plugins/agentDesktop/agentdesktop.d.ts +1 -0
- package/dist/plugins/agentDesktop/c2c.d.ts +1 -0
- package/dist/plugins/agentDesktop/clickToCallComponent.d.ts +9 -0
- package/dist/plugins/agentDesktop/clickToCallSlider.d.ts +8 -0
- package/dist/plugins/agentDesktop/jssip.d.ts +123 -0
- package/dist/plugins/i18n.d.ts +5 -0
- package/dist/umd/kore-web-sdk-umd-chat.min.js +1 -1
- package/dist/umd/kore-web-sdk-umd-widgets.js +1 -1
- package/dist/umd/plugins/agent-desktop-umd.js +1 -1
- package/dist/umd/plugins/kore-graph-templates-plugin-umd.js +1 -1
- package/dist/umd/plugins/kore-i18n.js +1 -1
- package/dist/umd/plugins/multi-file-upload.js +1 -1
- package/dist/umd/plugins/v2-kore-web-sdk-widgets.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function c2c_call(config: any): any;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
export = setup;
|
|
2
|
+
export = setup;
|
|
3
|
+
/**
|
|
4
|
+
* This is the common logic for both the Node.js and web browser
|
|
5
|
+
* implementations of `debug()`.
|
|
6
|
+
*/
|
|
7
|
+
declare function setup(env: any): {
|
|
8
|
+
(namespace: string): Function;
|
|
9
|
+
debug: any;
|
|
10
|
+
default: any;
|
|
11
|
+
coerce: (val: Mixed) => Mixed;
|
|
12
|
+
disable: () => string;
|
|
13
|
+
enable: (namespaces: string) => void;
|
|
14
|
+
enabled: (name: string) => boolean;
|
|
15
|
+
humanize: any;
|
|
16
|
+
/**
|
|
17
|
+
* Active `debug` instances.
|
|
18
|
+
*/
|
|
19
|
+
instances: any[];
|
|
20
|
+
/**
|
|
21
|
+
* The currently active debug mode names, and names to skip.
|
|
22
|
+
*/
|
|
23
|
+
names: any[];
|
|
24
|
+
skips: any[];
|
|
25
|
+
/**
|
|
26
|
+
* Map of special "%n" handling functions, for the debug "format" argument.
|
|
27
|
+
*
|
|
28
|
+
* Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
|
|
29
|
+
*/
|
|
30
|
+
formatters: {};
|
|
31
|
+
selectColor: (namespace: string) => number | string;
|
|
32
|
+
};
|
|
33
|
+
declare namespace setup {
|
|
34
|
+
export { settings, load, parseMessage, C, isSocket, str_utf8_length, isFunction, isString, isDecimal, isEmpty, hasMethods, createRandomToken, newTag, newUUID, hostType, escapeUser, normalizeTarget, headerize, sipErrorCause, getRandomTestNetIP, calculateMD5, closeMediaStream, cloneArray, cloneObject, log, formatArgs, save, useColors, storage, colors, writer as write, unknown as parse, unknown as parseParams, parseFmtpConfig, unknown as parsePayloads, unknown as parseRemoteCandidates, unknown as parseImageAttributes, unknown as parseSimulcastStreamList };
|
|
35
|
+
}
|
|
36
|
+
declare namespace settings {
|
|
37
|
+
const authorization_user: null;
|
|
38
|
+
const password: null;
|
|
39
|
+
const realm: null;
|
|
40
|
+
const ha1: null;
|
|
41
|
+
const authorization_jwt: null;
|
|
42
|
+
const display_name: null;
|
|
43
|
+
const uri: null;
|
|
44
|
+
const contact_uri: null;
|
|
45
|
+
const instance_id: null;
|
|
46
|
+
const use_preloaded_route: boolean;
|
|
47
|
+
const session_timers: boolean;
|
|
48
|
+
const session_timers_refresh_method: any;
|
|
49
|
+
const session_timers_force_refresher: boolean;
|
|
50
|
+
const no_answer_timeout: number;
|
|
51
|
+
const register: boolean;
|
|
52
|
+
const register_expires: number;
|
|
53
|
+
const registrar_server: null;
|
|
54
|
+
const sockets: null;
|
|
55
|
+
const connection_recovery_max_interval: any;
|
|
56
|
+
const connection_recovery_min_interval: any;
|
|
57
|
+
const via_host: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Load `namespaces`.
|
|
61
|
+
*
|
|
62
|
+
* @return {String} returns the previously persisted debug modes
|
|
63
|
+
* @api private
|
|
64
|
+
*/
|
|
65
|
+
declare function load(): string;
|
|
66
|
+
declare function parseMessage(data: any, ua: any): any;
|
|
67
|
+
declare namespace C {
|
|
68
|
+
const MIN_DURATION: number;
|
|
69
|
+
const MAX_DURATION: number;
|
|
70
|
+
const DEFAULT_DURATION: number;
|
|
71
|
+
const MIN_INTER_TONE_GAP: number;
|
|
72
|
+
const DEFAULT_INTER_TONE_GAP: number;
|
|
73
|
+
}
|
|
74
|
+
declare function isSocket(socket: any): boolean;
|
|
75
|
+
declare function str_utf8_length(string: any): number;
|
|
76
|
+
declare function isFunction(fn: any): boolean;
|
|
77
|
+
declare function isString(str: any): boolean;
|
|
78
|
+
declare function isDecimal(num: any): boolean;
|
|
79
|
+
declare function isEmpty(value: any): boolean;
|
|
80
|
+
declare function hasMethods(obj: any, ...args: any[]): boolean;
|
|
81
|
+
declare function createRandomToken(size: any, ...args: any[]): string;
|
|
82
|
+
declare function newTag(): string;
|
|
83
|
+
declare function newUUID(): string;
|
|
84
|
+
declare function hostType(host: any): any;
|
|
85
|
+
declare function escapeUser(user: any): string;
|
|
86
|
+
declare function normalizeTarget(target: any, domain: any): any;
|
|
87
|
+
declare function headerize(string: any): string;
|
|
88
|
+
declare function sipErrorCause(status_code: any): any;
|
|
89
|
+
declare function getRandomTestNetIP(): string;
|
|
90
|
+
declare function calculateMD5(string: any): string;
|
|
91
|
+
declare function closeMediaStream(stream: any): void;
|
|
92
|
+
declare function cloneArray(array: any): any;
|
|
93
|
+
declare function cloneObject(obj: any, ...args: any[]): any;
|
|
94
|
+
/**
|
|
95
|
+
* Invokes `console.log()` when available.
|
|
96
|
+
* No-op when `console.log` is not a "function".
|
|
97
|
+
*
|
|
98
|
+
* @api public
|
|
99
|
+
*/
|
|
100
|
+
declare function log(...args: any[]): false | void;
|
|
101
|
+
/**
|
|
102
|
+
* Colorize log arguments if enabled.
|
|
103
|
+
*
|
|
104
|
+
* @api public
|
|
105
|
+
*/
|
|
106
|
+
declare function formatArgs(args: any): void;
|
|
107
|
+
/**
|
|
108
|
+
* Save `namespaces`.
|
|
109
|
+
*
|
|
110
|
+
* @param {String} namespaces
|
|
111
|
+
* @api private
|
|
112
|
+
*/
|
|
113
|
+
declare function save(namespaces: string): void;
|
|
114
|
+
/**
|
|
115
|
+
* Currently only WebKit-based Web Inspectors, Firefox >= v31,
|
|
116
|
+
* and the Firebug extension (any Firefox version) are known
|
|
117
|
+
* to support "%c" CSS customizations.
|
|
118
|
+
*
|
|
119
|
+
* TODO: add a `localStorage` variable to explicitly enable/disable colors
|
|
120
|
+
*/
|
|
121
|
+
declare function useColors(): any;
|
|
122
|
+
declare const storage: LocalStorage;
|
|
123
|
+
declare const colors: string[];
|
package/dist/plugins/i18n.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ declare class Korei18nPlugin {
|
|
|
38
38
|
reconnect: string;
|
|
39
39
|
today: string;
|
|
40
40
|
yesterday: string;
|
|
41
|
+
clickToCall: string;
|
|
41
42
|
};
|
|
42
43
|
ja: {
|
|
43
44
|
message: string;
|
|
@@ -73,6 +74,7 @@ declare class Korei18nPlugin {
|
|
|
73
74
|
reconnect: string;
|
|
74
75
|
today: string;
|
|
75
76
|
yesterday: string;
|
|
77
|
+
clickToCall: string;
|
|
76
78
|
};
|
|
77
79
|
ko: {
|
|
78
80
|
message: string;
|
|
@@ -108,6 +110,7 @@ declare class Korei18nPlugin {
|
|
|
108
110
|
reconnect: string;
|
|
109
111
|
today: string;
|
|
110
112
|
yesterday: string;
|
|
113
|
+
clickToCall: string;
|
|
111
114
|
};
|
|
112
115
|
zh: {
|
|
113
116
|
message: string;
|
|
@@ -143,6 +146,7 @@ declare class Korei18nPlugin {
|
|
|
143
146
|
reconnect: string;
|
|
144
147
|
today: string;
|
|
145
148
|
yesterday: string;
|
|
149
|
+
clickToCall: string;
|
|
146
150
|
};
|
|
147
151
|
de: {
|
|
148
152
|
message: string;
|
|
@@ -178,6 +182,7 @@ declare class Korei18nPlugin {
|
|
|
178
182
|
reconnect: string;
|
|
179
183
|
today: string;
|
|
180
184
|
yesterday: string;
|
|
185
|
+
clickToCall: string;
|
|
181
186
|
};
|
|
182
187
|
};
|
|
183
188
|
};
|