@wildix/xbees-connect 1.2.34-alpha.0 → 1.2.34
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 +1 -1
- package/dist-cjs/src/Client.js +2 -2
- package/dist-cjs/src/enums/index.js +1 -1
- package/dist-es/package.json +1 -1
- package/dist-es/src/Client.js +2 -2
- package/dist-es/src/enums/index.js +1 -1
- package/dist-types/src/Client.d.ts +1 -1
- package/dist-types/src/enums/index.d.ts +1 -1
- package/dist-types/types/Client.d.ts +2 -2
- package/package.json +2 -2
package/dist-cjs/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.34
|
|
3
|
+
"version": "1.2.34",
|
|
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-cjs/src/Client.js
CHANGED
|
@@ -376,9 +376,9 @@ class Client {
|
|
|
376
376
|
type: enums_1.ClientEventType.CREATE_CONTACT_IS_SUPPORTED,
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
|
-
|
|
379
|
+
createContactHasNoPermission() {
|
|
380
380
|
return this.sendAsync({
|
|
381
|
-
type: enums_1.ClientEventType.
|
|
381
|
+
type: enums_1.ClientEventType.CREATE_CONTACT_HAS_NO_PERMISSION,
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
onThemeChange(callback) {
|
|
@@ -50,7 +50,7 @@ var ClientEventType;
|
|
|
50
50
|
ClientEventType["AVAILABLE_CONTACT_DATA"] = "xBeesAvailableContactData";
|
|
51
51
|
ClientEventType["CUSTOM_EVENT"] = "xBeesCustomEvent";
|
|
52
52
|
ClientEventType["CREATE_CONTACT_IS_SUPPORTED"] = "xBeesCreateContactIsSupported";
|
|
53
|
-
ClientEventType["
|
|
53
|
+
ClientEventType["CREATE_CONTACT_HAS_NO_PERMISSION"] = "xBeesCreateContactHasNoPermission";
|
|
54
54
|
})(ClientEventType || (exports.ClientEventType = ClientEventType = {}));
|
|
55
55
|
var UrlParams;
|
|
56
56
|
(function (UrlParams) {
|
package/dist-es/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.34
|
|
3
|
+
"version": "1.2.34",
|
|
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/src/Client.js
CHANGED
|
@@ -370,9 +370,9 @@ export class Client {
|
|
|
370
370
|
type: ClientEventType.CREATE_CONTACT_IS_SUPPORTED,
|
|
371
371
|
});
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
createContactHasNoPermission() {
|
|
374
374
|
return this.sendAsync({
|
|
375
|
-
type: ClientEventType.
|
|
375
|
+
type: ClientEventType.CREATE_CONTACT_HAS_NO_PERMISSION,
|
|
376
376
|
});
|
|
377
377
|
}
|
|
378
378
|
onThemeChange(callback) {
|
|
@@ -47,7 +47,7 @@ export var ClientEventType;
|
|
|
47
47
|
ClientEventType["AVAILABLE_CONTACT_DATA"] = "xBeesAvailableContactData";
|
|
48
48
|
ClientEventType["CUSTOM_EVENT"] = "xBeesCustomEvent";
|
|
49
49
|
ClientEventType["CREATE_CONTACT_IS_SUPPORTED"] = "xBeesCreateContactIsSupported";
|
|
50
|
-
ClientEventType["
|
|
50
|
+
ClientEventType["CREATE_CONTACT_HAS_NO_PERMISSION"] = "xBeesCreateContactHasNoPermission";
|
|
51
51
|
})(ClientEventType || (ClientEventType = {}));
|
|
52
52
|
export var UrlParams;
|
|
53
53
|
(function (UrlParams) {
|
|
@@ -80,7 +80,7 @@ export declare class Client implements ConnectClient {
|
|
|
80
80
|
onLookupAndMatchContact(callback: (query: ContactQuery, resolve: LookupAndMatchContactsResolver, reject: Reject) => void): RemoveEventListener;
|
|
81
81
|
onLookupAndMatchBatchContacts(callback: (query: ContactQuery[], returnResults: LookupAndMatchBatchContactsResolver) => void): RemoveEventListener;
|
|
82
82
|
createContactIsSupported(): Promise<ResponseMessage>;
|
|
83
|
-
|
|
83
|
+
createContactHasNoPermission(): Promise<ResponseMessage>;
|
|
84
84
|
onThemeChange(callback: Callback<EventType.USE_THEME>): RemoveEventListener;
|
|
85
85
|
getFromStorage<Type>(key: string): Type | null;
|
|
86
86
|
saveToStorage<SavingType>(key: string, value: SavingType): void;
|
|
@@ -45,7 +45,7 @@ export declare enum ClientEventType {
|
|
|
45
45
|
AVAILABLE_CONTACT_DATA = "xBeesAvailableContactData",
|
|
46
46
|
CUSTOM_EVENT = "xBeesCustomEvent",
|
|
47
47
|
CREATE_CONTACT_IS_SUPPORTED = "xBeesCreateContactIsSupported",
|
|
48
|
-
|
|
48
|
+
CREATE_CONTACT_HAS_NO_PERMISSION = "xBeesCreateContactHasNoPermission"
|
|
49
49
|
}
|
|
50
50
|
export declare enum UrlParams {
|
|
51
51
|
TOKEN = "t",
|
|
@@ -143,8 +143,8 @@ export interface ConnectClient {
|
|
|
143
143
|
* Send event for indicate if create contact functionality is supported */
|
|
144
144
|
createContactIsSupported: () => Promise<ResponseMessage>;
|
|
145
145
|
/**
|
|
146
|
-
* Send event for indicate if user has permission to create contact */
|
|
147
|
-
|
|
146
|
+
* Send event for indicate if user has no permission to create contact */
|
|
147
|
+
createContactHasNoPermission: () => Promise<ResponseMessage>;
|
|
148
148
|
/**
|
|
149
149
|
* Starts listen for the events of starting the call and handle with the provided callback */
|
|
150
150
|
onCallStarted: (callback: Callback<EventType.ADD_CALL>) => RemoveEventListener;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.34
|
|
3
|
+
"version": "1.2.34",
|
|
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": "",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=16"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "a377b8006cc371164b6295fff1e61c046086a5ef"
|
|
49
49
|
}
|