@veltdev/types-dev 1.0.569 → 1.0.571

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.
@@ -1,4 +1,4 @@
1
- import { OrganizationGroup } from "./organization-groups.data.model";
1
+ import { OrganizationUserGroup } from "./organization-groups.data.model";
2
2
  export declare class AutocompleteDataMap {
3
3
  [hotkey: string]: AutocompleteData;
4
4
  }
@@ -25,7 +25,8 @@ export declare class AutocompleteReplaceData {
25
25
  export declare class AutocompleteGroupReplaceData {
26
26
  text: string;
27
27
  groupId: string;
28
- group?: OrganizationGroup;
28
+ clientGroupId: string;
29
+ group?: OrganizationUserGroup;
29
30
  }
30
31
  export declare class AutocompleteChipData extends AutocompleteItem {
31
32
  type: 'contact' | 'custom';
@@ -65,5 +65,5 @@ export declare class Comment {
65
65
  recorders: RecordedData[];
66
66
  reactionAnnotationIds: string[];
67
67
  customList: AutocompleteReplaceData[];
68
- groupList: AutocompleteGroupReplaceData[];
68
+ toOrganizationUserGroup: AutocompleteGroupReplaceData[];
69
69
  }
@@ -1,10 +1,10 @@
1
- export declare class OrganizationGroup {
1
+ export declare class OrganizationUserGroup {
2
2
  metadata: {
3
- id: string;
4
3
  groupId: string;
5
- name: string;
4
+ clientGroupId: string;
5
+ groupName: string;
6
6
  };
7
7
  users: {
8
- [emailIdHash: string]: boolean;
8
+ [userIdHash: string]: boolean;
9
9
  };
10
10
  }
@@ -1,6 +1,7 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
3
  import { SelectedUserContact } from "../data/user-contact.data.model";
4
+ import { ContactListScopeForOrganizationUsers } from "../../utils/enums";
4
5
  export declare class ContactElement {
5
6
  /**
6
7
  * Get if user is part of global contact or not.
@@ -11,6 +12,22 @@ export declare class ContactElement {
11
12
  * Get selected contact details.
12
13
  */
13
14
  public onContactSelected: () => Observable<SelectedUserContact | null>;
15
+
16
+ /**
17
+ * Enable @here for contact list.
18
+ */
19
+ public enableAtHere: () => void;
20
+
21
+ /**
22
+ * Disable @here for contact list.
23
+ */
24
+ public disableAtHere: () => void;
25
+
26
+ /**
27
+ * Update contact list scope for organization users.
28
+ * @param scope ContactListScopeForOrganizationUsers[]
29
+ */
30
+ public updateContactListScopeForOrganizationUsers: (scope: ContactListScopeForOrganizationUsers[]) => void;
14
31
  constructor();
15
32
  /**
16
33
  * Get if user is part of global contact or not.
@@ -21,4 +38,20 @@ export declare class ContactElement {
21
38
  * Get selected contact details.
22
39
  */
23
40
  private _onContactSelected;
41
+
42
+ /**
43
+ * Enable @here for contact list.
44
+ */
45
+ private _enableAtHere;
46
+
47
+ /**
48
+ * Disable @here for contact list.
49
+ */
50
+ private _disableAtHere;
51
+
52
+ /**
53
+ * Update contact list scope for organization users.
54
+ * @param scope ContactListScopeForOrganizationUsers[]
55
+ */
56
+ private _updateContactListScopeForOrganizationUsers;
24
57
  }
@@ -116,3 +116,9 @@ export declare enum ServerConnectionState {
116
116
  PENDING_INIT = "pendingInit",
117
117
  PENDING_DATA = "pendingData"
118
118
  }
119
+ export declare enum ContactListScopeForOrganizationUsers {
120
+ ALL = "all",
121
+ ORGANIZATION = "organization",
122
+ ORGANIZATION_USER_GROUP = "organizationUserGroup",
123
+ DOCUMENT = "document"
124
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "1.0.569",
3
+ "version": "1.0.571",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",