@veltdev/sdk 1.0.174 → 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.
@@ -11,6 +11,14 @@ export declare class DocumentIAM {
11
11
  * The document access type
12
12
  */
13
13
  documentAccessType: DocumentAccessType;
14
+ /**
15
+ * The access type of the document when document is inside organization
16
+ */
17
+ accessType: DocumentAccessType;
18
+ /**
19
+ * Flag to indicate if the document is disabled
20
+ */
21
+ disabled: boolean;
14
22
  /**
15
23
  * Features
16
24
  */
@@ -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
  }
@@ -88,7 +88,7 @@ export declare enum Roles {
88
88
  export declare enum DocumentAccessType {
89
89
  PUBLIC = "public",
90
90
  RESTRICTED = "restricted",
91
- PRIVATE = "private"
91
+ ORGANIZATION_PRIVATE = "organizationPrivate"
92
92
  }
93
93
  export declare enum DetectionStrategy {
94
94
  DEFAULT = "default",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.174",
3
+ "version": "1.0.176",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {