@veltdev/types-dev 4.3.0-beta.1 → 4.3.0-beta.11

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.
@@ -180,4 +180,7 @@ export interface FetchCommentAnnotationsRequest {
180
180
  locationId?: string;
181
181
  documentIds?: string[];
182
182
  folderId?: string;
183
+ resolvedBy?: string;
184
+ userIds?: string[];
185
+ mentionedUserIds?: string[];
183
186
  }
@@ -11,6 +11,8 @@ declare class FilterTypeConfig {
11
11
  export declare class CommentSidebarFilterConfig {
12
12
  location?: FilterTypeConfig;
13
13
  people?: FilterTypeConfig;
14
+ assigned?: FilterTypeConfig;
15
+ tagged?: FilterTypeConfig;
14
16
  priority?: FilterTypeConfig;
15
17
  status?: FilterTypeConfig;
16
18
  category?: FilterTypeConfig;
@@ -0,0 +1,9 @@
1
+ import { ClientOrganizationUserGroup } from "./organization-groups.data.model";
2
+ import { User } from "./user.data.model";
3
+ export interface GetContactListResponse {
4
+ organizationUsers?: User[];
5
+ folderUsers?: User[];
6
+ documentUsers?: User[];
7
+ userGroups?: ClientOrganizationUserGroup[];
8
+ updatedContactList?: User[];
9
+ }
@@ -1,3 +1,4 @@
1
+ import { User } from "./user.data.model";
1
2
  export declare class OrganizationUserGroup {
2
3
  metadata: {
3
4
  groupId: string;
@@ -8,3 +9,8 @@ export declare class OrganizationUserGroup {
8
9
  [userIdHash: string]: boolean;
9
10
  };
10
11
  }
12
+ export declare class ClientOrganizationUserGroup {
13
+ groupId: string;
14
+ groupName: string;
15
+ users?: User[];
16
+ }
@@ -142,10 +142,6 @@ export declare class RecorderAnnotation {
142
142
  recordingEditVersions?: {
143
143
  [key: number]: RecorderAnnotationEditVersion;
144
144
  };
145
- /**
146
- * Folder ID where chunks are stored in storage
147
- */
148
- recordingFolderId?: string;
149
145
  /**
150
146
  * URLs for individual uploaded chunks
151
147
  */
@@ -62,10 +62,6 @@ export declare class RecordedRawData {
62
62
  chunkUrls?: {
63
63
  [key: number]: string;
64
64
  };
65
- /**
66
- * Folder ID where chunks are stored in storage
67
- */
68
- recordingFolderId?: string;
69
65
  }
70
66
  export declare class RecordedData {
71
67
  /**
@@ -88,10 +84,6 @@ export declare class RecordedData {
88
84
  * URL of the hosted website to open video in new tab
89
85
  */
90
86
  videoPlayerUrl?: string;
91
- /**
92
- * Folder ID where chunks are stored in storage
93
- */
94
- recordingFolderId?: string;
95
87
  /**
96
88
  * URLs for individual uploaded chunks
97
89
  */
@@ -1,7 +1,9 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { SelectedUserContact } from "../data/user-contact.data.model";
4
3
  import { ContactListScopeForOrganizationUsers } from "../../utils/enums";
4
+ import { GetContactListResponse } from "../data/contact-utils.data.model";
5
+ import { SelectedUserContact } from "../data/user-contact.data.model";
6
+
5
7
  export declare class ContactElement {
6
8
  /**
7
9
  * Get if user is part of global contact or not.
@@ -45,6 +47,11 @@ export declare class ContactElement {
45
47
  * @param config {merge: boolean}
46
48
  */
47
49
  public updateContactList: (userContacts: UserContact[], config?: { merge: boolean }) => void;
50
+
51
+ /**
52
+ * Get contact list.
53
+ */
54
+ public getContactList: () => Observable<GetContactListResponse | null>;
48
55
  constructor();
49
56
  /**
50
57
  * Get if user is part of global contact or not.
@@ -88,4 +95,9 @@ export declare class ContactElement {
88
95
  * @param config {merge: boolean}
89
96
  */
90
97
  private _updateContactList;
98
+
99
+ /**
100
+ * Get contact list.
101
+ */
102
+ private _getContactList;
91
103
  }
@@ -174,5 +174,6 @@ export declare enum ContactListScopeForOrganizationUsers {
174
174
  ALL = "all",
175
175
  ORGANIZATION = "organization",
176
176
  ORGANIZATION_USER_GROUP = "organizationUserGroup",
177
- DOCUMENT = "document"
177
+ DOCUMENT = "document",
178
+ FOLDER = "folder"
178
179
  }
package/models.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from './app/models/data/comment-events.data.model';
10
10
  export * from './app/models/data/comment.data.model';
11
11
  export * from './app/models/data/comment-actions.data.model';
12
12
  export * from './app/models/data/comment-utils.data.model';
13
+ export * from './app/models/data/contact-utils.data.model';
13
14
  export * from './app/models/data/config.data.model';
14
15
  export * from './app/models/data/core-events.data.model';
15
16
  export * from './app/models/data/cursor-position.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.3.0-beta.1",
3
+ "version": "4.3.0-beta.11",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [