@veltdev/types-dev 4.0.20 → 4.1.0

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.
@@ -26,210 +26,214 @@ import { DocumentMetadata } from "../models/data/document-metadata.model";
26
26
  import { ReactionElement } from "../models/element/reaction-element.model";
27
27
  import { VeltEventMetadata } from "../models/data/event-metadata.data.model";
28
28
  import { CoreEventTypesMap } from "../models/data/core-events.data.model";
29
- import { Document, SetDocumentsRequestOptions } from "../models/data/document.data.model";
29
+ import { Document, SetDocumentsRequestOptions, FetchDocumentsRequest, FetchFoldersRequest } from "../models/data/document.data.model";
30
+ import { FetchDocumentsResponse, FetchFoldersResponse } from "../models/data/document-events.data.model";
31
+ import { UserDataProvider } from "../models/data/user-resolver.data.model";
32
+
30
33
  export declare class Snippyly {
31
- constructor();
32
- initConfig: (apiKey: string, config?: Config) => void;
33
- identify: (user: User, userOptions?: UserOptions) => Promise<unknown>;
34
- /**
35
- * Tell us who the currently logged in user is.
36
- *
37
- * Call whenever the user is updated: signs in, signs out, signs up etc.
38
- * @deprecated This method is deprecated and will be removed in next release.
39
- */
40
- updateUser: (user: User) => void;
41
- /**
42
- * Tell us the unique ID of the current document/resource on which you want to enable collaboration.
43
- * @param id unique document ID
44
- * @param documentMetadata Document Metadata
45
- */
46
- setDocument: (id: string, documentMetadata?: DocumentMetadata) => void;
47
- /**
48
- * Tell us the unique ID of the current document/resource on which you want to enable collaboration.
49
- * @param id unique document ID
50
- */
51
- setDocumentId: (id: string) => void;
52
- /**
53
- * To set multiple documents
54
- */
55
- setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
56
- /**
57
- * To unset the document id
58
- */
59
- unsetDocumentId: () => void;
60
- /**
61
- * Get Document ID
62
- */
63
- getDocumentId: () => string;
64
- /**
65
- * Tell us the custom params of the current document/resource to identify sub document inside a document.
66
- * @param params Document Params
67
- * @deprecated This method is depercated and will be removed in next release. Use `setLocation` method instead.
68
- */
69
- setDocumentParams: (params: Location) => void;
70
- /**
71
- * Tell us the custom params of the current document/resource to identify sub document inside a document.
72
- * @param params Location
73
- * @param appendLocation Append location to existing location
74
- */
75
- setLocation: (params: Location, appendLocation?: boolean) => void;
76
- /**
77
- * To remove document params from a User
78
- * @deprecated This method is depercated and will be removed in next release. Use `removeLocation` method instead.
79
- */
80
- removeDocumentParams: () => void;
81
- /**
82
- * To remove location from a User
83
- * @param location Location
84
- */
85
- removeLocation: (location?: Location) => void;
86
- /**
87
- * To exclude data of specific location ids
88
- * @param ids Location Ids
89
- */
90
- excludeLocationIds: (ids: string[]) => void;
91
- /**
92
- * Tell us the about the scrollable document ids to keep track on its scroll changes
93
- * @param ids scrollable elements ids
94
- */
95
- setScrollableElementsIds: (ids: string[]) => void;
96
- /**
97
- * To remove document params from a User
98
- */
99
- removeScrollableElementsIds: () => void;
100
- /**
101
- * Get the Presence Element Object to access the raw presence data.
102
- *
103
- * This is for Pros who don’t want to use Snippyly Presence web component and want to design their own UI.
104
- */
105
- getPresenceElement: () => PresenceElement;
106
- /**
107
- * Get the Cursor Element Object to access the raw cursor data.
108
- *
109
- * This is for Pros who don’t want to use Snippyly Presence web component and want to design their own UI.
110
- */
111
- getCursorElement: () => CursorElement;
112
- /**
113
- * Get the Comment Element Object to access the raw comment data.
114
- *
115
- * This is for Pros who don’t want to use Snippyly Comment web component and want to design their own UI.
116
- */
117
- getCommentElement: () => CommentElement;
118
- /**
119
- * Get the Tag Pin Annotation Object to access the raw tag data.
120
- *
121
- * This is for Pros who don’t want to use Snippyly Tag web component and want to design their own UI.
122
- */
123
- getTagElement: () => TagElement;
124
- /**
125
- * Get the Selection Object to enable/disable the feature.
126
- */
127
- getSelectionElement: () => SelectionElement;
128
- /**
129
- * Get the Recorder Object.
130
- */
131
- getRecorderElement: () => RecorderElement;
132
- /**
133
- * Get the Contact Object.
134
- */
135
- getContactElement: () => ContactElement;
136
- /**
137
- * Get the Rewriter Object.
138
- */
139
- getRewriterElement: () => RewriterElement;
140
- /**
141
- * Get the Huddle element.
142
- */
143
- getHuddleElement: () => HuddleElement;
144
- /**
145
- * Get the LiveStateSync Object.
146
- */
147
- getLiveStateSyncElement: () => LiveStateSyncElement;
148
- /**
149
- * Get the Arrow Object.
150
- */
151
- getArrowElement: () => ArrowElement;
152
- /**
153
- * Get the Views Object.
154
- */
155
- getViewsElement: () => ViewsElement;
156
- /**
157
- * Get the Notification Object.
158
- */
159
- getNotificationElement: () => NotificationElement;
160
- /**
161
- * Get the Autocomplete Object.
162
- */
163
- getAutocompleteElement: () => AutocompleteElement;
164
- /**
165
- * Get the Area Object.
166
- */
167
- getAreaElement: () => AreaElement;
168
- /**
169
- * Get the Area Object.
170
- */
171
- getReactionElement: () => ReactionElement;
172
- /**
173
- * Get the metadata of the current resource.
174
- */
175
- getMetadata: () => Promise<VeltEventMetadata | null>;
176
- /**
177
- * To signout a user
178
- */
179
- signOutUser: () => any;
180
- /**
181
- * Provide a list of features to disable.
182
- * Provide an empty array to enable all the features.
183
- * @param features List of features
184
- */
185
- disableFeatures: (features: Array<FeatureType>) => void;
186
- /**
34
+ constructor();
35
+ initConfig: (apiKey: string, config?: Config) => void;
36
+ identify: (user: User, userOptions?: UserOptions) => Promise<unknown>;
37
+ /**
38
+ * Tell us who the currently logged in user is.
39
+ *
40
+ * Call whenever the user is updated: signs in, signs out, signs up etc.
41
+ * @deprecated This method is deprecated.
42
+ */
43
+ updateUser: (user: User) => void;
44
+ /**
45
+ * Tell us the unique ID of the current document/resource on which you want to enable collaboration.
46
+ * @param id unique document ID
47
+ * @param documentMetadata Document Metadata
48
+ */
49
+ setDocument: (id: string, documentMetadata?: DocumentMetadata) => void;
50
+ /**
51
+ * Tell us the unique ID of the current document/resource on which you want to enable collaboration.
52
+ * @param id unique document ID
53
+ * @deprecated This method is deprecated. Use `setDocuments` method instead.
54
+ */
55
+ setDocumentId: (id: string) => void;
56
+ /**
57
+ * To set multiple documents
58
+ */
59
+ setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
60
+ /**
61
+ * To unset the document id
62
+ * @deprecated This method is deprecated. Use `unsetDocuments` method instead.
63
+ */
64
+ unsetDocumentId: () => void;
65
+ /**
66
+ * To unset the documents
67
+ */
68
+ unsetDocuments: () => void;
69
+ /**
70
+ * To fetch documents
71
+ */
72
+ fetchDocuments: (options?: FetchDocumentsRequest) => Promise<FetchDocumentsResponse>;
73
+ /**
74
+ * To fetch folders
75
+ */
76
+ fetchFolders: (options?: FetchFoldersRequest) => Promise<FetchFoldersResponse>;
77
+ /**
78
+ * To set the user data provider.
79
+ */
80
+ setUserDataProvider: (userDataProvider: UserDataProvider) => void;
81
+ /**
82
+ * Get Document ID
83
+ */
84
+ getDocumentId: () => string;
85
+ /**
86
+ * Tell us the custom params of the current document/resource to identify sub document inside a document.
87
+ * @param params Location
88
+ * @param appendLocation Append location to existing location
89
+ */
90
+ setLocation: (params: Location, appendLocation?: boolean) => void;
91
+ /**
92
+ * To remove location from a User
93
+ * @param location Location
94
+ */
95
+ removeLocation: (location?: Location) => void;
96
+ /**
97
+ * To exclude data of specific location ids
98
+ * @param ids Location Ids
99
+ */
100
+ excludeLocationIds: (ids: string[]) => void;
101
+ /**
102
+ * Tell us the about the scrollable document ids to keep track on its scroll changes
103
+ * @param ids scrollable elements ids
104
+ */
105
+ setScrollableElementsIds: (ids: string[]) => void;
106
+ /**
107
+ * To remove document params from a User
108
+ */
109
+ removeScrollableElementsIds: () => void;
110
+ /**
111
+ * Get the Presence Element Object to access the raw presence data.
112
+ *
113
+ * This is for Pros who don't want to use Snippyly Presence web component and want to design their own UI.
114
+ */
115
+ getPresenceElement: () => PresenceElement;
116
+ /**
117
+ * Get the Cursor Element Object to access the raw cursor data.
118
+ *
119
+ * This is for Pros who don't want to use Snippyly Presence web component and want to design their own UI.
120
+ */
121
+ getCursorElement: () => CursorElement;
122
+ /**
123
+ * Get the Comment Element Object to access the raw comment data.
124
+ *
125
+ * This is for Pros who don't want to use Snippyly Comment web component and want to design their own UI.
126
+ */
127
+ getCommentElement: () => CommentElement;
128
+ /**
129
+ * Get the Tag Pin Annotation Object to access the raw tag data.
130
+ *
131
+ * This is for Pros who don't want to use Snippyly Tag web component and want to design their own UI.
132
+ */
133
+ getTagElement: () => TagElement;
134
+ /**
135
+ * Get the Selection Object to enable/disable the feature.
136
+ */
137
+ getSelectionElement: () => SelectionElement;
138
+ /**
139
+ * Get the Recorder Object.
140
+ */
141
+ getRecorderElement: () => RecorderElement;
142
+ /**
143
+ * Get the Contact Object.
144
+ */
145
+ getContactElement: () => ContactElement;
146
+ /**
147
+ * Get the Rewriter Object.
148
+ */
149
+ getRewriterElement: () => RewriterElement;
150
+ /**
151
+ * Get the Huddle element.
152
+ */
153
+ getHuddleElement: () => HuddleElement;
154
+ /**
155
+ * Get the LiveStateSync Object.
156
+ */
157
+ getLiveStateSyncElement: () => LiveStateSyncElement;
158
+ /**
159
+ * Get the Arrow Object.
160
+ */
161
+ getArrowElement: () => ArrowElement;
162
+ /**
163
+ * Get the Views Object.
164
+ */
165
+ getViewsElement: () => ViewsElement;
166
+ /**
167
+ * Get the Notification Object.
168
+ */
169
+ getNotificationElement: () => NotificationElement;
170
+ /**
171
+ * Get the Autocomplete Object.
172
+ */
173
+ getAutocompleteElement: () => AutocompleteElement;
174
+ /**
175
+ * Get the Area Object.
176
+ */
177
+ getAreaElement: () => AreaElement;
178
+ /**
179
+ * Get the Area Object.
180
+ */
181
+ getReactionElement: () => ReactionElement;
182
+ /**
183
+ * Get the metadata of the current resource.
184
+ */
185
+ getMetadata: () => Promise<VeltEventMetadata | null>;
186
+ /**
187
+ * To signout a user
188
+ */
189
+ signOutUser: () => any;
190
+ /**
191
+ * Provide a list of features to disable.
192
+ * Provide an empty array to enable all the features.
193
+ * @param features List of features
194
+ */
195
+ disableFeatures: (features: Array<FeatureType>) => void;
196
+ /**
187
197
  * Add location to show comments, tags, recorders etc. for provided location also.
188
198
  * @param location Location object
189
199
  * @deprecated This method is deprecated and will be removed in next release. Use `setLocation` method with `appendLocation: true` instead.
190
200
  */
191
- addLocation: (location: any) => any;
192
- /**
193
- * To set the dark mode of Velt components.
194
- * @param value {boolean} true/false
195
- */
196
- setDarkMode: (darkMode: boolean) => void;
197
-
198
- /**
199
- * To check if user allowed in provided document or not.
200
- */
201
- isUserAllowed$: () => Observable<boolean>;
201
+ addLocation: (location: any) => any;
202
+ /**
203
+ * To set the dark mode of Velt components.
204
+ * @param value {boolean} true/false
205
+ */
206
+ setDarkMode: (darkMode: boolean) => void;
202
207
 
203
- /**
204
- * To get user role in provided document.
205
- */
206
- getUserRole$: () => Observable<string | null>;
208
+ /**
209
+ * To check if user allowed in provided document or not.
210
+ */
211
+ isUserAllowed$: () => Observable<boolean>;
207
212
 
208
- /**
209
- * To check if plan is expired or not.
210
- */
211
- isPlanExpired$: () => Observable<boolean>;
213
+ /**
214
+ * To get user.
215
+ */
216
+ getUser: () => User | null;
212
217
 
213
- /**
214
- * To get if the Velt is initialized or not.
215
- * @returns Observable<boolean | undefined>
216
- */
217
- getVeltInitState: () => Observable<boolean | undefined>;
218
+ /**
219
+ * To get user role in provided document.
220
+ */
221
+ getUserRole$: () => Observable<string | null>;
218
222
 
219
- /**
220
- * To invite list of users to the document.
221
- * @param documentUsers List of document users
222
- */
223
- inviteUsers: (documentUsers: Array<DocumentUser>) => void;
223
+ /**
224
+ * To check if plan is expired or not.
225
+ */
226
+ isPlanExpired$: () => Observable<boolean>;
224
227
 
225
- /**
226
- * To remove snippyly specific content from provided html content.
227
- */
228
- removeSnippylyContent: (htmlContent: string) => string;
228
+ /**
229
+ * To get if the Velt is initialized or not.
230
+ * @returns Observable<boolean | undefined>
231
+ */
232
+ getVeltInitState: () => Observable<boolean | undefined>;
229
233
 
230
- /**
231
- * To remove velt specific content from provided html content.
232
- */
234
+ /**
235
+ * To remove velt specific content from provided html content.
236
+ */
233
237
  removeVeltContent: (htmlContent: string) => string;
234
238
 
235
239
  /**
@@ -244,11 +248,10 @@ export declare class Snippyly {
244
248
  setLanguage: (language: string) => void;
245
249
 
246
250
  /**
247
- * To set the translations for the language.
248
- * @param language Language code
249
- * @param translations Translations object
251
+ * To set translations for multiple languages
252
+ * @param translations Object containing translations for multiple languages
250
253
  */
251
- setTranslations: (language: string, translations: { [key: string]: string }) => void;
254
+ setTranslations: (translations: { [language: string]: { [key: string]: string } }) => void;
252
255
 
253
256
  /**
254
257
  * To enable auto translation.
@@ -263,10 +266,11 @@ export declare class Snippyly {
263
266
  /**
264
267
  * To update user contact list.
265
268
  */
266
- updateContactList: (userContacts: UserContact[], config?: {merge: boolean}) => void;
269
+ updateContactList: (userContacts: UserContact[], config?: { merge: boolean }) => void;
267
270
 
268
271
  /**
269
272
  * To get document metadata.
273
+ * @deprecated This method is deprecated. Use `fetchDocuments` method instead.
270
274
  */
271
275
  getDocumentMetadata: () => Observable<DocumentMetadata | null>;
272
276
 
@@ -274,4 +278,24 @@ export declare class Snippyly {
274
278
  * To subscribe to core actions
275
279
  */
276
280
  on: <T extends keyof CoreEventTypesMap>(action: T) => Observable<CoreEventTypesMap[T]>;
277
- }
281
+
282
+ /**
283
+ * To set the ui state.
284
+ */
285
+ setUiState: <T extends object>(uiState: T) => void;
286
+
287
+ /**
288
+ * To get the ui state.
289
+ */
290
+ getUiState: <T extends object>() => Observable<T>;
291
+
292
+ /**
293
+ * To enable logs.
294
+ */
295
+ enableLogs: () => void;
296
+
297
+ /**
298
+ * To disable logs.
299
+ */
300
+ disableLogs: () => void;
301
+ }
@@ -0,0 +1,51 @@
1
+ import { AnnotationProperty } from "./annotation-property.data.model";
2
+ import { CursorPosition } from "./cursor-position.data.model";
3
+ import { Location } from "./location.model";
4
+ import { PageInfo } from "./page-info.model";
5
+ import { TargetElement } from "./target-element.data.model";
6
+ import { User } from "./user.data.model";
7
+ export declare class ArrowAnnotation {
8
+ /**
9
+ * Unique identifier for the arrow pin annotation.
10
+ *
11
+ * Auto generated.
12
+ */
13
+ annotationId: string;
14
+ /**
15
+ * The user who created this arrow pin annotation.
16
+ *
17
+ */
18
+ from: User;
19
+ /**
20
+ * Color used for the arrow pin annotation.
21
+ *
22
+ */
23
+ color?: string;
24
+ /**
25
+ * Timestamp when the arrow annotation was last updated.
26
+ *
27
+ * Auto generated.
28
+ */
29
+ lastUpdated?: any;
30
+ /**
31
+ * Target element of attached annotation.
32
+ */
33
+ targetElement?: TargetElement | null;
34
+ position?: CursorPosition | null;
35
+ /**
36
+ * Unique location id generated from provided location
37
+ */
38
+ locationId?: number | null;
39
+ /**
40
+ * Set location to identify user on sub document
41
+ */
42
+ location?: Location | null;
43
+ type?: string;
44
+ props: AnnotationProperty;
45
+ /**
46
+ * To maintain index of current annotation in available list of annotations
47
+ * It will start from 1, so no need to add 1 in that.
48
+ */
49
+ annotationIndex?: number;
50
+ pageInfo?: PageInfo;
51
+ }
@@ -4,4 +4,6 @@ export declare class BaseMetadata {
4
4
  clientDocumentId?: string;
5
5
  organizationId?: string;
6
6
  clientOrganizationId?: string;
7
+ folderId?: string;
8
+ veltFolderId?: string;
7
9
  }
@@ -9,8 +9,10 @@ import { User } from "./user.data.model";
9
9
  export interface RequestOptions {
10
10
  organizationId?: string;
11
11
  documentId?: string;
12
+ folderId?: string;
12
13
  filters?: any;
13
14
  documentIds?: string[];
15
+ allDocuments?: boolean;
14
16
  }
15
17
  export interface UpdatePriorityRequest {
16
18
  annotationId: string;
@@ -59,17 +61,13 @@ export interface DeleteCommentAnnotationRequest {
59
61
  annotationId: string;
60
62
  options?: RequestOptions;
61
63
  }
62
- export interface GetCommentAnnotationsRequest {
64
+ export interface CommentRequestQuery {
63
65
  documentIds?: string[];
64
66
  locationIds?: string[];
65
67
  statusIds?: string[];
66
- options?: RequestOptions;
67
- }
68
- export interface GetCommentAnnotationsCountRequest {
69
- documentIds?: string[];
70
- locationIds?: string[];
71
- statusIds?: string[];
72
- options?: RequestOptions;
68
+ folderId?: string;
69
+ allDocuments?: boolean;
70
+ locationId?: string;
73
71
  }
74
72
  export interface SubscribeCommentAnnotationRequest {
75
73
  annotationId: string;
@@ -168,3 +166,18 @@ export interface ToggleReactionRequest {
168
166
  };
169
167
  options?: RequestOptions;
170
168
  }
169
+ export interface FetchCommentAnnotationsRequest {
170
+ createdAfter?: number;
171
+ createdBefore?: number;
172
+ updatedAfter?: number;
173
+ updatedBefore?: number;
174
+ statusIds?: string[];
175
+ order?: 'asc' | 'desc';
176
+ pageToken?: string;
177
+ allDocuments?: boolean;
178
+ pageSize?: number;
179
+ organizationId?: string;
180
+ locationId?: string;
181
+ documentIds?: string[];
182
+ folderId?: string;
183
+ }
@@ -77,6 +77,8 @@ export type CommentEventTypesMap = {
77
77
  [CommentEventTypes.TOGGLE_REACTION]: ToggleReactionEvent;
78
78
  [CommentEventTypes.COMMENT_SIDEBAR_DATA_INIT]: CommentSidebarDataInitEvent;
79
79
  [CommentEventTypes.COMMENT_SIDEBAR_DATA_UPDATE]: CommentSidebarDataUpdateEvent;
80
+ [CommentEventTypes.AUTOCOMPLETE_SEARCH]: AutocompleteSearchEvent;
81
+ [CommentEventTypes.COMPOSER_CLICKED]: ComposerClickedEvent;
80
82
  };
81
83
  export interface AddAttachmentEvent {
82
84
  annotationId: string;
@@ -126,15 +128,14 @@ export interface DeleteCommentAnnotationEvent {
126
128
  commentAnnotation: CommentAnnotation;
127
129
  metadata: VeltEventMetadata;
128
130
  }
129
- export interface GetCommentAnnotationsEvent {
130
- commentAnnotations: CommentAnnotation[];
131
- metadata: VeltEventMetadata;
132
- }
133
131
  export interface GetCommentAnnotationsResponse {
134
- data: Record<string, CommentAnnotation[]>;
132
+ data: Record<string, CommentAnnotation[]> | null;
133
+ }
134
+ export interface FetchCommentAnnotationsResponse extends GetCommentAnnotationsResponse {
135
+ nextPageToken: string;
135
136
  }
136
137
  export interface GetCommentAnnotationsCountResponse {
137
- data: Record<string, CommentAnnotationsCount>;
138
+ data: Record<string, CommentAnnotationsCount> | null;
138
139
  }
139
140
  export interface CommentAnnotationsCount {
140
141
  unread: number;
@@ -239,3 +240,13 @@ export interface CommentSidebarDataInitEvent extends VeltButtonClickEvent {
239
240
  }
240
241
  export interface CommentSidebarDataUpdateEvent extends VeltButtonClickEvent {
241
242
  }
243
+ export interface AutocompleteSearchEvent {
244
+ event: KeyboardEvent | InputEvent | Event;
245
+ searchText: string;
246
+ type?: 'contact' | 'custom' | 'group';
247
+ metadata?: VeltEventMetadata;
248
+ }
249
+ export interface ComposerClickedEvent {
250
+ commentAnnotation?: CommentAnnotation;
251
+ metadata?: VeltEventMetadata;
252
+ }
@@ -6,3 +6,11 @@ export interface IUnreadCommentsCount {
6
6
  count: number;
7
7
  }
8
8
  export type UnreadCommentsCount = IUnreadCommentsCount | null;
9
+ export interface TransformContext {
10
+ containerSelector: string;
11
+ transforms: {
12
+ scale: number;
13
+ transformOrigin: string;
14
+ inverseScale?: number;
15
+ };
16
+ }
@@ -52,6 +52,7 @@ export declare class Config {
52
52
  }
53
53
  export interface ExtendedFirebaseOptions extends FirebaseOptions {
54
54
  storeDbId: string;
55
+ region?: string;
55
56
  }
56
57
  export interface AdvancedQueries {
57
58
  advancedQueriesEnabled: boolean;
@@ -7,4 +7,19 @@ export declare class CursorPosition {
7
7
  * Position left of cursor on viewer user's screen
8
8
  */
9
9
  left: number;
10
+ /**
11
+ * Scale factor of the parent element in X direction
12
+ * Used for transform handling
13
+ */
14
+ parentScaleX?: number;
15
+ /**
16
+ * Scale factor of the parent element in Y direction
17
+ * Used for transform handling
18
+ */
19
+ parentScaleY?: number;
20
+ /**
21
+ * Transform context information
22
+ * Used to handle transforms properly
23
+ */
24
+ transformContext?: any;
10
25
  }
@@ -0,0 +1,8 @@
1
+ import { DocumentMetadata } from "./document-metadata.model";
2
+ import { FolderMetadata } from "./folder-metadata.model";
3
+ export interface FetchDocumentsResponse {
4
+ data: Record<string, DocumentMetadata> | null;
5
+ }
6
+ export interface FetchFoldersResponse {
7
+ data: Record<string, FolderMetadata> | null;
8
+ }
@@ -6,6 +6,14 @@ export declare class DocumentMetadata {
6
6
  * Unique document id generated from client document id
7
7
  */
8
8
  documentId?: string;
9
+ /**
10
+ * Folders
11
+ */
12
+ folderId?: string;
13
+ /**
14
+ * Velt folder id
15
+ */
16
+ veltFolderId?: string;
9
17
  /**
10
18
  * API key
11
19
  */
@@ -5,4 +5,27 @@ export interface Document {
5
5
  }
6
6
  export interface SetDocumentsRequestOptions {
7
7
  organizationId?: string;
8
+ folderId?: string;
9
+ allDocuments?: boolean;
10
+ locationId?: string;
11
+ }
12
+ export interface FetchDocumentsRequest {
13
+ organizationId?: string;
14
+ documentIds?: string[];
15
+ folderId?: string;
16
+ allDocuments?: boolean;
17
+ }
18
+ export interface FetchFoldersRequest {
19
+ organizationId?: string;
20
+ folderId?: string;
21
+ }
22
+ export interface FolderConfig {
23
+ folderId?: string;
24
+ allDocuments?: boolean;
25
+ locationId?: string;
26
+ veltFolderId?: string;
27
+ }
28
+ export interface OrganizationConfig {
29
+ organizationId: string;
30
+ clientOrganizationId: string;
8
31
  }
@@ -2,7 +2,7 @@ import { DocumentMetadata } from "./document-metadata.model";
2
2
  import { Location } from "./location.model";
3
3
  import { OrganizationMetadata } from "./organization-metadata.model";
4
4
  export interface VeltEventMetadata {
5
- organizationMetadata?: OrganizationMetadata | null;
6
- documentMetadata?: DocumentMetadata | null;
7
- location?: Location | null;
5
+ organization?: OrganizationMetadata | null;
6
+ documents?: DocumentMetadata[];
7
+ locations?: Location[];
8
8
  }
@@ -0,0 +1,40 @@
1
+ export declare class FolderMetadata {
2
+ folderId?: string;
3
+ /**
4
+ * Velt folder id
5
+ */
6
+ veltFolderId?: string;
7
+ /**
8
+ * Parent folder id
9
+ */
10
+ parentFolderId?: string;
11
+ /**
12
+ * Velt parent folder id
13
+ */
14
+ veltParentFolderId?: string;
15
+ /**
16
+ * Created at
17
+ */
18
+ createdAt?: number;
19
+ /**
20
+ * Last updated
21
+ */
22
+ lastUpdated?: number;
23
+ /**
24
+ * API key
25
+ */
26
+ apiKey?: string;
27
+ /**
28
+ * Organization id
29
+ */
30
+ organizationId?: string;
31
+ /**
32
+ * Client organization id
33
+ */
34
+ clientOrganizationId?: string;
35
+ /**
36
+ * Folder name
37
+ */
38
+ folderName?: string;
39
+ [key: string]: any;
40
+ }
@@ -0,0 +1,61 @@
1
+ import { BaseMetadata } from "./base-metadata.data.model";
2
+ import { CommentAnnotation, GhostComment, InlineCommentSectionConfig } from "./comment-annotation.data.model";
3
+ import { CursorPosition } from "./cursor-position.data.model";
4
+ import { Location } from "./location.model";
5
+ import { TargetElement } from "./target-element.data.model";
6
+ import { TargetTextRange } from "./target-text-range.data.model";
7
+ import { User } from "./user.data.model";
8
+ export declare class MultiThreadCommentAnnotation {
9
+ /**
10
+ * The id of the annotation.
11
+ */
12
+ annotationId: string;
13
+ /**
14
+ * The id of the area annotation.
15
+ */
16
+ areaAnnotationId?: string;
17
+ /**
18
+ * The target element of the annotation.
19
+ */
20
+ targetElement?: TargetElement | null;
21
+ /**
22
+ * The id of the target element.
23
+ */
24
+ targetElementId?: string | null;
25
+ /**
26
+ * Selected text range of comment annotation
27
+ */
28
+ targetTextRange?: TargetTextRange | null;
29
+ /**
30
+ * The id of the target inline comment element.
31
+ */
32
+ targetInlineCommentElementId?: string;
33
+ /**
34
+ * The inline comment section config.
35
+ */
36
+ inlineCommentSectionConfig?: InlineCommentSectionConfig;
37
+ commentAnnotations?: {
38
+ [commentAnnotationId: string]: boolean;
39
+ };
40
+ commentAnnotationsMap?: {
41
+ [commentAnnotationId: string]: CommentAnnotation;
42
+ };
43
+ /**
44
+ * Unique location id generated from provided location
45
+ */
46
+ locationId?: number | null;
47
+ /**
48
+ * Set location to identify user on sub document
49
+ */
50
+ location?: Location | null;
51
+ position?: CursorPosition | null;
52
+ ghostComment?: GhostComment | null;
53
+ from: User;
54
+ type: string;
55
+ isDraft?: boolean;
56
+ sourceId?: string;
57
+ metadata?: MultiThreadMetadata;
58
+ }
59
+ export declare class MultiThreadMetadata extends BaseMetadata {
60
+ [key: string]: any;
61
+ }
@@ -88,6 +88,11 @@ export declare class NotificationRawData {
88
88
  [key: string]: any;
89
89
  };
90
90
  displayBodyMessage?: string;
91
+ displayBodyMessageTemplate?: string;
92
+ displayBodyMessageTemplateData?: {
93
+ users?: User[];
94
+ [key: string]: any;
95
+ };
91
96
  customData?: any;
92
97
  notifyUsers?: {
93
98
  [email: string]: boolean;
@@ -127,6 +132,17 @@ export declare class Notification {
127
132
  * Notification body message
128
133
  */
129
134
  displayBodyMessage?: string;
135
+ /**
136
+ * Display body message template
137
+ */
138
+ displayBodyMessageTemplate?: string;
139
+ /**
140
+ * Display body message template data
141
+ */
142
+ displayBodyMessageTemplateData?: {
143
+ users?: User[];
144
+ [key: string]: any;
145
+ };
130
146
  /**
131
147
  * Display message template
132
148
  */
@@ -164,4 +164,10 @@ export declare class RecorderData {
164
164
  assets: RecorderDataAsset[];
165
165
  transcription: RecorderDataTranscription;
166
166
  }
167
+ export interface RecorderRequestQuery {
168
+ recorderIds: string[];
169
+ }
170
+ export interface GetRecordingDataResponse {
171
+ data: Record<string, RecorderData> | null;
172
+ }
167
173
  export {};
@@ -0,0 +1,8 @@
1
+ import { RecorderEventTypes } from "../../utils/enums";
2
+ import { RecorderData } from "./recorder-annotation.data.model";
3
+ export interface TranscriptionDoneEvent {
4
+ data: Record<string, RecorderData> | null;
5
+ }
6
+ export type RecorderEventTypesMap = {
7
+ [RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
8
+ };
@@ -0,0 +1,5 @@
1
+ import { User } from "./user.data.model";
2
+ export interface UserDataProvider {
3
+ getUsers(userIds: string[]): Promise<Record<string, User>>;
4
+ resolveTimeout?: number;
5
+ }
@@ -7,8 +7,8 @@ import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.
7
7
  import { AutocompleteData } from "../data/autocomplete.data.model";
8
8
  import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
9
9
  export { ReactionMap } from '../data/reaction-annotation.data.model';
10
- import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, GetCommentAnnotationsRequest, GetCommentAnnotationsCountRequest, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, GetAttachmentRequest, GetCommentRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationRequest, ToggleReactionRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
11
- import { UnreadCommentsCount } from "../data/comment-utils.data.model";
10
+ import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, CommentRequestQuery, CommentRequestQuery, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, GetAttachmentRequest, GetCommentRequest, GetLinkRequest, GetRecordingRequest, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationRequest, ToggleReactionRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
11
+ import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
12
12
  export declare class CommentElement {
13
13
  /**
14
14
  * Subscribe to comments on the current document.
@@ -921,142 +921,142 @@ export declare class CommentElement {
921
921
  /**
922
922
  * To add comment annotation
923
923
  */
924
- public addCommentAnnotation: (config: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
924
+ public addCommentAnnotation: (request: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
925
925
 
926
926
  /**
927
927
  * To approve comment annotation
928
928
  */
929
- public approveCommentAnnotation: (config: ApproveCommentAnnotationRequest) => Promise<ApproveCommentAnnotationEvent | null>;
929
+ public approveCommentAnnotation: (request: ApproveCommentAnnotationRequest) => Promise<ApproveCommentAnnotationEvent | null>;
930
930
 
931
931
  /**
932
932
  * To accept comment annotation
933
933
  */
934
- public acceptCommentAnnotation: (config: AcceptCommentAnnotationRequest) => Promise<AcceptCommentAnnotationEvent | null>;
934
+ public acceptCommentAnnotation: (request: AcceptCommentAnnotationRequest) => Promise<AcceptCommentAnnotationEvent | null>;
935
935
 
936
936
  /**
937
937
  * To reject comment annotation
938
938
  */
939
- public rejectCommentAnnotation: (config: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
939
+ public rejectCommentAnnotation: (request: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
940
940
 
941
941
  /**
942
942
  * To subscribe comment annotation
943
943
  */
944
- public subscribeCommentAnnotation: (config: SubscribeCommentAnnotationRequest) => Promise<SubscribeCommentAnnotationEvent | null>;
944
+ public subscribeCommentAnnotation: (request: SubscribeCommentAnnotationRequest) => Promise<SubscribeCommentAnnotationEvent | null>;
945
945
 
946
946
  /**
947
947
  * To unsubscribe comment annotation
948
948
  */
949
- public unsubscribeCommentAnnotation: (config: UnsubscribeCommentAnnotationRequest) => Promise<UnsubscribeCommentAnnotationEvent | null>;
949
+ public unsubscribeCommentAnnotation: (request: UnsubscribeCommentAnnotationRequest) => Promise<UnsubscribeCommentAnnotationEvent | null>;
950
950
 
951
951
  /**
952
952
  * To delete comment annotation
953
953
  */
954
- public deleteCommentAnnotation: (config: DeleteCommentAnnotationRequest) => Promise<DeleteCommentAnnotationEvent | null>;
954
+ public deleteCommentAnnotation: (request: DeleteCommentAnnotationRequest) => Promise<DeleteCommentAnnotationEvent | null>;
955
955
 
956
956
  /**
957
957
  * To get comment annotations
958
958
  */
959
- public getCommentAnnotations: (config: GetCommentAnnotationsRequest) => Observable<GetCommentAnnotationsEvent | null>;
959
+ public getCommentAnnotations: (query?: CommentRequestQuery) => Observable<GetCommentAnnotationsResponse>;
960
960
 
961
961
  /**
962
962
  * To get comment annotations count
963
963
  */
964
- public getCommentAnnotationsCount: (config: GetCommentAnnotationsCountRequest) => Observable<GetCommentAnnotationsCountEvent | null>;
964
+ public getCommentAnnotationsCount: (query?: CommentRequestQuery) => Observable<GetCommentAnnotationsCountResponse>;
965
965
 
966
966
  /**
967
967
  * To assign user to comment annotation
968
968
  */
969
- public assignUser: (config: AssignUserRequest) => Promise<AssignUserEvent | null>;
969
+ public assignUser: (request: AssignUserRequest) => Promise<AssignUserEvent | null>;
970
970
 
971
971
  /**
972
972
  * To update priority
973
973
  */
974
- public updatePriority: (config: UpdatePriorityRequest) => Promise<UpdatePriorityEvent | null>;
974
+ public updatePriority: (request: UpdatePriorityRequest) => Promise<UpdatePriorityEvent | null>;
975
975
 
976
976
  /**
977
977
  * To update status
978
978
  */
979
- public updateStatus: (config: UpdateStatusRequest) => Promise<UpdateStatusEvent | null>;
979
+ public updateStatus: (request: UpdateStatusRequest) => Promise<UpdateStatusEvent | null>;
980
980
 
981
981
  /**
982
982
  * To update access
983
983
  */
984
- public updateAccess: (config: UpdateAccessRequest) => Promise<UpdateAccessEvent | null>;
984
+ public updateAccess: (request: UpdateAccessRequest) => Promise<UpdateAccessEvent | null>;
985
985
 
986
986
  /**
987
987
  * To resolve comment annotation
988
988
  */
989
- public resolveCommentAnnotation: (config: ResolveCommentAnnotationRequest) => Promise<any>;
989
+ public resolveCommentAnnotation: (request: ResolveCommentAnnotationRequest) => Promise<any>;
990
990
 
991
991
  /**
992
992
  * To get link
993
993
  */
994
- public getLink: (config: GetLinkRequest) => Promise<GetLinkEvent | null>;
994
+ public getLink: (request: GetLinkRequest) => Promise<GetLinkEvent | null>;
995
995
 
996
996
  /**
997
997
  * To copy link
998
998
  */
999
- public copyLink: (config: CopyLinkRequest) => Promise<CopyLinkEvent | null>;
999
+ public copyLink: (request: CopyLinkRequest) => Promise<CopyLinkEvent | null>;
1000
1000
 
1001
1001
  /**
1002
1002
  * To add comment
1003
1003
  */
1004
- public addComment: (config: AddCommentRequest) => Promise<AddCommentEvent | null>;
1004
+ public addComment: (request: AddCommentRequest) => Promise<AddCommentEvent | null>;
1005
1005
 
1006
1006
  /**
1007
1007
  * To update comment
1008
1008
  */
1009
- public updateComment: (config: UpdateCommentRequest) => Promise<UpdateCommentEvent | null>;
1009
+ public updateComment: (request: UpdateCommentRequest) => Promise<UpdateCommentEvent | null>;
1010
1010
 
1011
1011
  /**
1012
1012
  * To delete comment
1013
1013
  */
1014
- public deleteComment: (config: DeleteCommentRequest) => Promise<DeleteCommentEvent | null>;
1014
+ public deleteComment: (request: DeleteCommentRequest) => Promise<DeleteCommentEvent | null>;
1015
1015
 
1016
1016
  /**
1017
1017
  * To get comment
1018
1018
  */
1019
- public getComment: (config: GetCommentRequest) => Promise<Comment[]>;
1019
+ public getComment: (request: GetCommentRequest) => Promise<Comment[]>;
1020
1020
 
1021
1021
  /**
1022
1022
  * To add attachment
1023
1023
  */
1024
- public addAttachment: (config: AddAttachmentRequest) => Promise<AddAttachmentResponse[]>;
1024
+ public addAttachment: (request: AddAttachmentRequest) => Promise<AddAttachmentResponse[]>;
1025
1025
 
1026
1026
  /**
1027
1027
  * To get attachment
1028
1028
  */
1029
- public getAttachment: (config: GetAttachmentRequest) => Promise<Attachment[]>;
1029
+ public getAttachment: (request: GetAttachmentRequest) => Promise<Attachment[]>;
1030
1030
 
1031
1031
  /**
1032
1032
  * To delete attachment
1033
1033
  */
1034
- public deleteAttachment: (config: DeleteAttachmentRequest) => Promise<DeleteAttachmentEvent | null>;
1034
+ public deleteAttachment: (request: DeleteAttachmentRequest) => Promise<DeleteAttachmentEvent | null>;
1035
1035
 
1036
1036
  /**
1037
1037
  * To get recording
1038
1038
  */
1039
- public getRecording: (config: GetRecordingRequest) => Promise<RecordedData[]>;
1039
+ public getRecording: (request: GetRecordingRequest) => Promise<RecordedData[]>;
1040
1040
 
1041
1041
  /**
1042
1042
  * To delete recording
1043
1043
  */
1044
- public deleteRecording: (config: DeleteRecordingRequest) => Promise<DeleteRecordingEvent | null>;
1044
+ public deleteRecording: (request: DeleteRecordingRequest) => Promise<DeleteRecordingEvent | null>;
1045
1045
 
1046
1046
  /**
1047
1047
  * To add reaction
1048
1048
  */
1049
- public addReaction: (config: AddReactionRequest) => Promise<AddReactionEvent | null>;
1049
+ public addReaction: (request: AddReactionRequest) => Promise<AddReactionEvent | null>;
1050
1050
 
1051
1051
  /**
1052
1052
  * To delete reaction
1053
1053
  */
1054
- public deleteReaction: (config: DeleteReactionRequest) => Promise<DeleteReactionEvent | null>;
1054
+ public deleteReaction: (request: DeleteReactionRequest) => Promise<DeleteReactionEvent | null>;
1055
1055
 
1056
1056
  /**
1057
1057
  * To toggle reaction
1058
1058
  */
1059
- public toggleReaction: (config: ToggleReactionRequest) => Promise<ToggleReactionEvent | null>;
1059
+ public toggleReaction: (request: ToggleReactionRequest) => Promise<ToggleReactionEvent | null>;
1060
1060
 
1061
1061
  /**
1062
1062
  * Subscribe to comment actions
@@ -1073,6 +1073,21 @@ export declare class CommentElement {
1073
1073
  */
1074
1074
  public disableReadOnly: () => void;
1075
1075
 
1076
+ /**
1077
+ * To enable custom autocomplete search
1078
+ */
1079
+ public enableCustomAutocompleteSearch: () => void;
1080
+
1081
+ /**
1082
+ * To disable custom autocomplete search
1083
+ */
1084
+ public disableCustomAutocompleteSearch: () => void;
1085
+
1086
+ /**
1087
+ * To set transform context
1088
+ */
1089
+ public setTransformContext: (transformContext: TransformContext) => void;
1090
+
1076
1091
  constructor();
1077
1092
  /**
1078
1093
  * Subscribe to comments on the current document.
@@ -2127,4 +2142,19 @@ export declare class CommentElement {
2127
2142
  * To disable read only
2128
2143
  */
2129
2144
  private _disableReadOnly;
2145
+
2146
+ /**
2147
+ * To enable custom autocomplete search
2148
+ */
2149
+ private _enableCustomAutocompleteSearch;
2150
+
2151
+ /**
2152
+ * To disable custom autocomplete search
2153
+ */
2154
+ private _disableCustomAutocompleteSearch;
2155
+
2156
+ /**
2157
+ * To set transform context
2158
+ */
2159
+ private _setTransformContext;
2130
2160
  }
@@ -1,6 +1,7 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { RecorderData } from "../data/recorder-annotation.data.model";
3
+ import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse } from "../data/recorder-annotation.data.model";
4
+ import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
4
5
 
5
6
  export declare class RecorderElement {
6
7
 
@@ -20,6 +21,7 @@ export declare class RecorderElement {
20
21
 
21
22
  /**
22
23
  * To get recording data by recorder id
24
+ * @deprecated Use getRecordingData() method instead
23
25
  */
24
26
  getRecordingDataByRecorderId: (recorderId: string) => Observable<RecorderData | null>;
25
27
 
@@ -33,6 +35,16 @@ export declare class RecorderElement {
33
35
  */
34
36
  disableRecordingTranscription: () => void;
35
37
 
38
+ /**
39
+ * Subscribe to recorder actions
40
+ */
41
+ public on: <T extends keyof RecorderEventTypesMap>(action: T) => Observable<RecorderEventTypesMap[T]>;
42
+
43
+ /**
44
+ * To get recording data by recorder ids
45
+ */
46
+ getRecordingData: (query: RecorderRequestQuery) => Promise<GetRecordingDataResponse>;
47
+
36
48
  constructor();
37
49
 
38
50
  private _initRecording;
@@ -51,6 +63,7 @@ export declare class RecorderElement {
51
63
 
52
64
  /**
53
65
  * To get recording data by recorder id
66
+ * @deprecated Use getRecordingData() method instead
54
67
  */
55
68
  private _getRecordingDataByRecorderId;
56
69
 
@@ -63,4 +76,14 @@ export declare class RecorderElement {
63
76
  * To disable recording transcription
64
77
  */
65
78
  private _disableRecordingTranscription;
79
+
80
+ /**
81
+ * Subscribe to recorder actions
82
+ */
83
+ private _on;
84
+
85
+ /**
86
+ * To get recording data by recorder ids
87
+ */
88
+ private _getRecordingData;
66
89
  }
@@ -8,10 +8,13 @@ export declare class Constants {
8
8
  static LOCALSTORAGE_DATA_ID: string;
9
9
  static NO_ORGANIZATION_ID: string;
10
10
  static DEFAULT_QUERY_HASH: string;
11
+ static LISTENER_BATCH_SIZE: number;
11
12
  static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
13
+ static FIREBASE_PARTIAL_PATH_FOLDERS: string;
12
14
  static FIREBASE_PARTIAL_PATH_DOCS: string;
13
15
  static FIREBASE_PARTIAL_PATH_PRESENCE: string;
14
16
  static FIREBASE_PARTIAL_PATH_ORGANIZATION_USERS: string;
17
+ static FIREBASE_PARTIAL_PATH_FOLDER_USERS: string;
15
18
  static FIREBASE_PARTIAL_PATH_DOCUMENT_USERS: string;
16
19
  static FIREBASE_PARTIAL_PATH_CURSOR: string;
17
20
  static FIREBASE_PARTIAL_PATH_ARROW: string;
@@ -242,8 +245,8 @@ export declare class Constants {
242
245
  VELT_COMMENT_DIALOG_BODY_THREAD_CARD: string;
243
246
  VELT_COMMENT_DIALOG_PRIVATE_BANNER: string;
244
247
  VELT_COMMENT_COMPOSER: string;
248
+ VELT_SKELETON_LOADER: string;
245
249
  VELT_SHADOW_DOM_INTERNAL: string;
246
- VELT_OVERLAY: string;
247
250
  };
248
251
  static ATTRIBUTES: {
249
252
  VELT_TARGET_COMMENT_ELEMENT_ID: string;
@@ -253,6 +256,7 @@ export declare class Constants {
253
256
  TARGET_ELEMENT_ID: string;
254
257
  VELT_ID: string;
255
258
  VELT_ELEMENT: string;
259
+ VELT_SCREEN_RECORDER_PANEL: string;
256
260
  VELT_SOURCE_ID: string;
257
261
  VELT_ANNOTATION_ID: string;
258
262
  VELT_ANNOTATION_IDS: string;
@@ -41,11 +41,17 @@ export declare const CommentEventTypes: {
41
41
  readonly TOGGLE_REACTION: "toggleReaction";
42
42
  readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
43
43
  readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
44
+ readonly AUTOCOMPLETE_SEARCH: "autocompleteSearch";
45
+ readonly COMPOSER_CLICKED: "composerClicked";
46
+ };
47
+ export declare const RecorderEventTypes: {
48
+ readonly TRANSCRIPTION_DONE: "transcriptionDone";
44
49
  };
45
50
  export declare const CoreEventTypes: {
46
51
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
47
52
  };
48
53
  export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
54
+ export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
49
55
  export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
50
56
  export declare enum TagStatus {
51
57
  ADDED = "added",
package/models.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './app/utils/enums';
2
2
  export * from './app/models/data/attachment.model';
3
3
  export * from './app/models/data/area-annotation.data.model';
4
+ export * from './app/models/data/arrow-annotation.data.model';
4
5
  export * from './app/models/data/base-metadata.data.model';
5
6
  export * from './app/models/data/button.data.model';
6
7
  export * from './app/models/data/chatgpt.data.model';
@@ -17,6 +18,7 @@ export * from './app/models/data/custom-css.data.model';
17
18
  export * from './app/models/data/custom-chip-dropdown.data.model';
18
19
  export * from './app/models/data/device-info.model';
19
20
  export * from './app/models/data/document.data.model';
21
+ export * from './app/models/data/document-events.data.model';
20
22
  export * from './app/models/data/document-iam.data.model';
21
23
  export * from './app/models/data/document-metadata.model';
22
24
  export * from './app/models/data/document-paths.data.model';
@@ -28,12 +30,14 @@ export * from './app/models/data/localstorage.data.model';
28
30
  export * from './app/models/data/location-metadata.model';
29
31
  export * from './app/models/data/location.model';
30
32
  export * from './app/models/data/media-preview-config.data.model';
33
+ export * from './app/models/data/multi-thread.data.model';
31
34
  export * from './app/models/data/notification.model';
32
35
  export * from './app/models/data/page-info.model';
33
36
  export * from './app/models/data/permission.data.model';
34
37
  export * from './app/models/data/presence-user.data.model';
35
38
  export * from './app/models/data/recorder.model';
36
39
  export * from './app/models/data/recorder-annotation.data.model';
40
+ export * from './app/models/data/recorder-events.data.model';
37
41
  export * from './app/models/data/rewriter-annotation.data.model';
38
42
  export * from './app/models/data/screen-size.data.model';
39
43
  export * from './app/models/data/selection.model';
@@ -62,3 +66,4 @@ export * from './app/models/data/organization-groups.data.model';
62
66
  export * from './app/models/data/organization-metadata.model';
63
67
  export * from './app/models/data/user-organization.data.model';
64
68
  export * from './app/models/data/event-metadata.data.model';
69
+ export * from './app/models/data/user-resolver.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.0.20",
3
+ "version": "4.1.0",
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": [