@wildix/xbees-connect 1.3.8-alpha.3 → 1.3.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/dist-cjs/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|
package/dist-es/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import ClientParams from
|
|
2
|
-
import { Contact, ContactQuery } from
|
|
3
|
-
import { Conversation } from
|
|
4
|
-
import { JSONArray, JSONObject, JSONValue } from
|
|
5
|
-
import { SupportedPlatformVariant } from
|
|
6
|
-
import { ToastSeverity } from
|
|
1
|
+
import ClientParams from '../src/helpers/ClientParams';
|
|
2
|
+
import { Contact, ContactQuery } from './Contact';
|
|
3
|
+
import { Conversation } from './Conversation';
|
|
4
|
+
import { JSONArray, JSONObject, JSONValue } from './Json';
|
|
5
|
+
import { SupportedPlatformVariant } from './Platform';
|
|
6
|
+
import { ToastSeverity } from './Toast';
|
|
7
7
|
export interface IPayloadViewPort {
|
|
8
8
|
height: number | string;
|
|
9
9
|
width: number | string;
|
|
@@ -23,7 +23,7 @@ interface ThemeOptions {
|
|
|
23
23
|
palette?: unknown;
|
|
24
24
|
}
|
|
25
25
|
export interface IPayloadThemeChange {
|
|
26
|
-
mode:
|
|
26
|
+
mode: 'light' | 'dark';
|
|
27
27
|
themeOptions?: ThemeOptions;
|
|
28
28
|
}
|
|
29
29
|
export interface IPayloadCallStartedInfo {
|
|
@@ -73,7 +73,7 @@ export interface IPayloadGetFromStorage {
|
|
|
73
73
|
key: string;
|
|
74
74
|
}
|
|
75
75
|
export interface IPayloadTechSupport {
|
|
76
|
-
|
|
76
|
+
'x-iframe-params': ClientParams;
|
|
77
77
|
message: string;
|
|
78
78
|
data?: JSONObject | JSONArray;
|
|
79
79
|
}
|
|
@@ -98,7 +98,7 @@ export interface IPayloadCancelRedirectToEntityPage {
|
|
|
98
98
|
/**
|
|
99
99
|
* Error codes for Salesforce read-only integration proxy responses.
|
|
100
100
|
*/
|
|
101
|
-
export type IntegrationProxyErrorCode =
|
|
101
|
+
export type IntegrationProxyErrorCode = 'INVALID_PATH' | 'PATH_NOT_ALLOWED' | 'MISSING_QUERY_PARAM' | 'INVALID_QUERY_PARAM' | 'NOT_AUTHORIZED' | 'EXECUTION_FAILED';
|
|
102
102
|
/**
|
|
103
103
|
* Request from x-bees to perform a read-only Salesforce REST call via the integration.
|
|
104
104
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|