@veltdev/sdk 1.0.175 → 1.0.176
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.
|
@@ -27,3 +27,21 @@ export declare class UserContact {
|
|
|
27
27
|
source?: string;
|
|
28
28
|
visibility: 'group' | 'private';
|
|
29
29
|
}
|
|
30
|
+
export declare class UserContactSelectedPayload {
|
|
31
|
+
/**
|
|
32
|
+
* Selected user contact details.
|
|
33
|
+
*/
|
|
34
|
+
contact: UserContact;
|
|
35
|
+
/**
|
|
36
|
+
* Is user part of organization contact.
|
|
37
|
+
*/
|
|
38
|
+
isOrganizationContact: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Is user part of document contact.
|
|
41
|
+
*/
|
|
42
|
+
isDocumentContact: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Document access type.
|
|
45
|
+
*/
|
|
46
|
+
documentAccessType: string;
|
|
47
|
+
}
|
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
+
import { UserContactSelectedPayload } from "../data/user-contact.data.model";
|
|
3
4
|
export declare class ContactElement {
|
|
4
5
|
/**
|
|
5
6
|
* Get if user is part of global contact or not.
|
|
6
7
|
*/
|
|
7
8
|
public isUserGlobalContact: () => Observable<boolean>;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Get selected contact details.
|
|
12
|
+
*/
|
|
13
|
+
public onContactSelected: () => Observable<UserContactSelectedPayload | null>;
|
|
8
14
|
constructor();
|
|
9
15
|
/**
|
|
10
16
|
* Get if user is part of global contact or not.
|
|
11
17
|
*/
|
|
12
18
|
private _isUserGlobalContact;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Get selected contact details.
|
|
22
|
+
*/
|
|
23
|
+
private _onContactSelected;
|
|
13
24
|
}
|