@veltdev/types 6.0.0-beta.1 → 6.0.0-beta.10

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.
Files changed (30) hide show
  1. package/app/client/snippyly.model.d.ts +12 -3
  2. package/app/models/data/comment-events.data.model.d.ts +39 -0
  3. package/app/models/data/config.data.model.d.ts +154 -0
  4. package/app/models/data/reaction-resolver.data.model.d.ts +1 -0
  5. package/app/models/data/selection.model.d.ts +10 -8
  6. package/app/models/data/user-resolver.data.model.d.ts +11 -9
  7. package/app/models/data/user.data.model.d.ts +21 -18
  8. package/app/models/element/activity-element.model.d.ts +0 -1
  9. package/app/models/element/area-element.model.d.ts +0 -1
  10. package/app/models/element/arrow-element.model.d.ts +1 -2
  11. package/app/models/element/autocomplete-element.model.d.ts +0 -1
  12. package/app/models/element/comment-element.model.d.ts +103 -77
  13. package/app/models/element/contact-element.model.d.ts +1 -2
  14. package/app/models/element/crdt-element.model.d.ts +1 -1
  15. package/app/models/element/cursor-element.model.d.ts +1 -2
  16. package/app/models/element/huddle-element.model.d.ts +1 -2
  17. package/app/models/element/live-state-sync-element.model.d.ts +1 -1
  18. package/app/models/element/notification-element.model.d.ts +33 -2
  19. package/app/models/element/presence-element.model.d.ts +32 -11
  20. package/app/models/element/reaction-element.model.d.ts +1 -1
  21. package/app/models/element/recorder-element.model.d.ts +21 -2
  22. package/app/models/element/rewriter-element.model.d.ts +43 -1
  23. package/app/models/element/selection-element.model.d.ts +1 -1
  24. package/app/models/element/suggestion-element.model.d.ts +0 -1
  25. package/app/models/element/tag-element.model.d.ts +7 -8
  26. package/app/models/element/views-element.model.d.ts +1 -1
  27. package/app/utils/enums.d.ts +97 -83
  28. package/package.json +8 -2
  29. package/types.d.ts +22 -22
  30. package/velt.d.ts +1 -2
@@ -1,13 +1,14 @@
1
- // @ts-nocheck
1
+ import { ReactionMap } from "../data/reaction-annotation.data.model";
2
+ import { RecordedData } from "../data/recorder.model";
2
3
  import { Observable } from "rxjs";
3
- import { AssignToType, CommentSidebarSystemFiltersOperator, SidebarButtonCountType } from "../../utils/enums";
4
- import { UploadFileData } from "../data/attachment.model";
4
+ import { AssignToType, CommentSidebarSystemFiltersOperator, DetectionStrategy, SidebarButtonCountType } from "../../utils/enums";
5
+ import { UploadFileData, Attachment } from "../data/attachment.model";
5
6
  import { AutocompleteData } from "../data/autocomplete.data.model";
6
- import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserEvent, AssignUserRequest, CommentRequestQuery, CommentVisibilityConfig, ClearComposerRequest, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, FetchCommentAnnotationsRequest, GetAttachmentRequest, GetCommentRequest, GetComposerDataRequest, GetLinkRequest, GetRecordingRequest, PrivateModeConfig, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubmitCommentRequest, SubscribeCommentAnnotationRequest, ToggleReactionRequest, UnsubscribeCommentAnnotationRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
7
+ import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, CommentRequestQuery, CommentVisibilityConfig, ClearComposerRequest, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, DeleteCommentRequest, DeleteReactionRequest, DeleteRecordingRequest, FetchCommentAnnotationsRequest, FormatConfig, GetAttachmentRequest, GetCommentRequest, GetComposerDataRequest, GetLinkRequest, GetRecordingRequest, PrivateModeConfig, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubmitCommentRequest, SubscribeCommentAnnotationRequest, ToggleReactionRequest, UnsubscribeCommentAnnotationRequest, UpdateAccessRequest, UpdateCommentRequest, UpdatePriorityRequest, UpdateStatusRequest } from "../data/comment-actions.data.model";
7
8
  import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
8
- import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkEvent, PageModeComposerConfig, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } from "../data/comment-events.data.model";
9
- import { CommentSidebarCustomActionEventData, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
10
- import { CommentContextProvider, FormatConfig, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
9
+ import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, AssignToConfig, AssignUserEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, ComposerTextChangeEvent, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, FetchCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetLinkResponse, PageModeComposerConfig, RejectCommentAnnotationEvent, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } from "../data/comment-events.data.model";
10
+ import { CommentSidebarCustomActionEventData, CommentSidebarCustomActionsState, CommentSidebarData, CommentSidebarDataOptions } from "../data/comment-sidebar-config.model";
11
+ import { CommentContextProvider, TransformContext, UnreadCommentsCount } from "../data/comment-utils.data.model";
11
12
  import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
12
13
  import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
13
14
  export { ReactionMap } from '../data/reaction-annotation.data.model';
@@ -28,62 +29,62 @@ export declare class CommentElement {
28
29
  /**
29
30
  * To enable text comment selection
30
31
  */
31
- enableTextComments: () => any;
32
+ enableTextComments: () => void;
32
33
 
33
34
  /**
34
35
  * To disable text comment selection
35
36
  */
36
- disableTextComments: () => any;
37
+ disableTextComments: () => void;
37
38
 
38
39
  /**
39
40
  * To allow text selection in specific elements only
40
41
  * @param elementIds Element ids to be allowed for text selection
41
42
  */
42
- allowedElementIds: (elementIds: string[]) => any;
43
+ allowedElementIds: (elementIds: string[]) => void;
43
44
 
44
45
  /**
45
46
  * To allow adding comments in specific elements only
46
47
  * @param classNames Element class names to be allowed for adding comments
47
48
  */
48
- allowedElementClassNames: (classNames: string[]) => any;
49
+ allowedElementClassNames: (classNames: string[]) => void;
49
50
 
50
51
  /**
51
52
  * To allow adding comments in specific elements only
52
53
  * @param querySelectors Element query selectors to be allowed for adding comments
53
54
  */
54
- allowedElementQuerySelectors: (querySelectors: string[]) => any;
55
+ allowedElementQuerySelectors: (querySelectors: string[]) => void;
55
56
 
56
57
  /**
57
58
  * To enable floating comment dialog
58
59
  */
59
- enableFloatingCommentDialog: () => any;
60
+ enableFloatingCommentDialog: () => void;
60
61
 
61
62
  /**
62
63
  * To disable floating comment dialog
63
64
  */
64
- disableFloatingCommentDialog: () => any;
65
+ disableFloatingCommentDialog: () => void;
65
66
 
66
67
  /**
67
68
  * To add comments on specific elements
68
69
  *
69
70
  * @param elementId ID of html element
70
71
  */
71
- attachComment: (elementId: string) => any;
72
+ attachComment: (elementId: string) => void;
72
73
 
73
74
  /**
74
75
  * To open comment sidebar
75
76
  */
76
- openCommentSidebar: () => any;
77
+ openCommentSidebar: () => void;
77
78
 
78
79
  /**
79
80
  * To close comment sidebar
80
81
  */
81
- closeCommentSidebar: () => any;
82
+ closeCommentSidebar: () => void;
82
83
 
83
84
  /**
84
85
  * To toggle comment sidebar
85
86
  */
86
- toggleCommentSidebar: () => any;
87
+ toggleCommentSidebar: () => void;
87
88
 
88
89
  /**
89
90
  * To enable context in page mode composer feature
@@ -121,42 +122,42 @@ export declare class CommentElement {
121
122
  /**
122
123
  * To enable moderator mode
123
124
  */
124
- enableModeratorMode: () => any;
125
+ enableModeratorMode: () => void;
125
126
 
126
127
  /**
127
128
  * To disable moderator mode
128
129
  */
129
- disableModeratorMode: () => any;
130
+ disableModeratorMode: () => void;
130
131
 
131
132
  /**
132
133
  * To enable stream mode
133
134
  */
134
- enableStreamMode: () => any;
135
+ enableStreamMode: () => void;
135
136
 
136
137
  /**
137
138
  * To disable stream mode
138
139
  */
139
- disableStreamMode: () => any;
140
+ disableStreamMode: () => void;
140
141
 
141
142
  /**
142
143
  * To show sign in button in comments if user is signed out
143
144
  */
144
- enableSignInButton: () => any;
145
+ enableSignInButton: () => void;
145
146
 
146
147
  /**
147
148
  * To hide sign in button in comments if user is signed out
148
149
  */
149
- disableSignInButton: () => any;
150
+ disableSignInButton: () => void;
150
151
 
151
152
  /**
152
153
  * To enable upgrade button in comments when plan is expired
153
154
  */
154
- enableUpgradeButton: () => any;
155
+ enableUpgradeButton: () => void;
155
156
 
156
157
  /**
157
158
  * To disable upgrade button in comments when plan is expired
158
159
  */
159
- disableUpgradeButton: () => any;
160
+ disableUpgradeButton: () => void;
160
161
 
161
162
  /**
162
163
  * Subscribe to comment mode change.
@@ -168,22 +169,22 @@ export declare class CommentElement {
168
169
  /**
169
170
  * Enable attachments feature in comments
170
171
  */
171
- enableAttachments: () => any;
172
+ enableAttachments: () => void;
172
173
 
173
174
  /**
174
175
  * Disable attachments feature in comments
175
176
  */
176
- disableAttachments: () => any;
177
+ disableAttachments: () => void;
177
178
 
178
179
  /**
179
180
  * Enable automatic file download when attachment download button is clicked
180
181
  */
181
- enableAttachmentDownload: () => any;
182
+ enableAttachmentDownload: () => void;
182
183
 
183
184
  /**
184
185
  * Disable automatic file download when attachment download button is clicked. The attachmentDownloadClicked event will still be triggered.
185
186
  */
186
- disableAttachmentDownload: () => any;
187
+ disableAttachmentDownload: () => void;
187
188
 
188
189
  /**
189
190
  * Get if user is part of global contact or not.
@@ -193,142 +194,142 @@ export declare class CommentElement {
193
194
  /**
194
195
  * Enable device info in comments
195
196
  */
196
- enableDeviceInfo: () => any;
197
+ enableDeviceInfo: () => void;
197
198
 
198
199
  /**
199
200
  * Disable device info in comments
200
201
  */
201
- disableDeviceInfo: () => any;
202
+ disableDeviceInfo: () => void;
202
203
 
203
204
  /**
204
205
  * Enable comment mode to add comments.
205
206
  */
206
- public enableCommentMode: () => any;
207
+ public enableCommentMode: () => void;
207
208
 
208
209
  /**
209
210
  * Disable comment mode.
210
211
  */
211
- public disableCommentMode: () => any;
212
+ public disableCommentMode: () => void;
212
213
 
213
214
  /**
214
215
  * Enable persistent comment mode.
215
216
  */
216
- public enablePersistentCommentMode: () => any;
217
+ public enablePersistentCommentMode: () => void;
217
218
 
218
219
  /**
219
220
  * Disable persistent comment mode.
220
221
  */
221
- public disablePersistentCommentMode: () => any;
222
+ public disablePersistentCommentMode: () => void;
222
223
 
223
224
  /**
224
225
  * To show comment number
225
226
  */
226
- public enableCommentIndex: () => any;
227
+ public enableCommentIndex: () => void;
227
228
 
228
229
  /**
229
230
  * To hide comment number
230
231
  */
231
- public disableCommentIndex: () => any;
232
+ public disableCommentIndex: () => void;
232
233
 
233
234
  /**
234
235
  * To enable popover mode
235
236
  */
236
- public enablePopoverMode: () => any;
237
+ public enablePopoverMode: () => void;
237
238
 
238
239
  /**
239
240
  * To disable popover mode
240
241
  */
241
- public disablePopoverMode: () => any;
242
+ public disablePopoverMode: () => void;
242
243
 
243
244
  /**
244
245
  * To show triangle in popover mode
245
246
  */
246
- public enablePopoverTriangleComponent: () => any;
247
+ public enablePopoverTriangleComponent: () => void;
247
248
 
248
249
  /**
249
250
  * To hide triangle in popover mode
250
251
  */
251
- public disablePopoverTriangleComponent: () => any;
252
+ public disablePopoverTriangleComponent: () => void;
252
253
 
253
254
  /**
254
255
  * To enable dialog on hover
255
256
  */
256
- public enableDialogOnHover: () => any;
257
+ public enableDialogOnHover: () => void;
257
258
 
258
259
  /**
259
260
  * To disable dialog on hover
260
261
  */
261
- public disableDialogOnHover: () => any;
262
+ public disableDialogOnHover: () => void;
262
263
 
263
264
  /**
264
265
  * To enable feature to show dialog on target element click
265
266
  */
266
- public enableDialogOnTargetElementClick: () => any;
267
+ public enableDialogOnTargetElementClick: () => void;
267
268
 
268
269
  /**
269
270
  * To disable feature to show dialog on target element click
270
271
  */
271
- public disableDialogOnTargetElementClick: () => any;
272
+ public disableDialogOnTargetElementClick: () => void;
272
273
 
273
274
  /**
274
275
  * To enable feature to set priority on comments
275
276
  */
276
- public enablePriority: () => any;
277
+ public enablePriority: () => void;
277
278
 
278
279
  /**
279
280
  * To disable feature to set priority on comments
280
281
  */
281
- public disablePriority: () => any;
282
+ public disablePriority: () => void;
282
283
 
283
284
  /**
284
285
  * To enable feature to set status on comments
285
286
  */
286
- public enableStatus: () => any;
287
+ public enableStatus: () => void;
287
288
 
288
289
  /**
289
290
  * To disable feature to set status on comments
290
291
  */
291
- public disableStatus: () => any;
292
+ public disableStatus: () => void;
292
293
 
293
294
  /**
294
295
  * To enable visibility options on comments
295
296
  */
296
- public enableVisibilityOptions: () => any;
297
+ public enableVisibilityOptions: () => void;
297
298
 
298
299
  /**
299
300
  * To disable visibility options on comments
300
301
  */
301
- public disableVisibilityOptions: () => any;
302
+ public disableVisibilityOptions: () => void;
302
303
 
303
304
  /**
304
305
  * To enable feature to show resolve button
305
306
  */
306
- public enableResolveButton: () => any;
307
+ public enableResolveButton: () => void;
307
308
 
308
309
  /**
309
310
  * To disable feature to show resolve button
310
311
  */
311
- public disableResolveButton: () => any;
312
+ public disableResolveButton: () => void;
312
313
 
313
314
  /**
314
315
  * To enable feature to show ghost comments
315
316
  */
316
- public enableGhostComments: () => any;
317
+ public enableGhostComments: () => void;
317
318
 
318
319
  /**
319
320
  * To disable feature to show ghost comments
320
321
  */
321
- public disableGhostComments: () => any;
322
+ public disableGhostComments: () => void;
322
323
 
323
324
  /**
324
325
  * To enable feature to show ghost comments message in comment dialog and comment sidebar
325
326
  */
326
- public enableGhostCommentsIndicator: () => any;
327
+ public enableGhostCommentsIndicator: () => void;
327
328
 
328
329
  /**
329
330
  * To disable feature to show ghost comments message in comment dialog and comment sidebar
330
331
  */
331
- public disableGhostCommentsIndicator: () => any;
332
+ public disableGhostCommentsIndicator: () => void;
332
333
 
333
334
  /**
334
335
  * @description Sets custom status filters
@@ -351,32 +352,32 @@ export declare class CommentElement {
351
352
  /**
352
353
  * To enable inbox mode
353
354
  */
354
- public enableInboxMode: () => any;
355
+ public enableInboxMode: () => void;
355
356
 
356
357
  /**
357
358
  * To disable inbox mode
358
359
  */
359
- public disableInboxMode: () => any;
360
+ public disableInboxMode: () => void;
360
361
 
361
362
  /**
362
363
  * To enable auto categorize feature
363
364
  */
364
- public enableAutoCategorize: () => any;
365
+ public enableAutoCategorize: () => void;
365
366
 
366
367
  /**
367
368
  * To disable auto categorize feature
368
369
  */
369
- public disableAutoCategorize: () => any;
370
+ public disableAutoCategorize: () => void;
370
371
 
371
372
  /**
372
373
  * To enable dark mode in comments
373
374
  */
374
- public enableDarkMode: () => any;
375
+ public enableDarkMode: () => void;
375
376
 
376
377
  /**
377
378
  * To disable dark mode in comments
378
379
  */
379
- public disableDarkMode: () => any;
380
+ public disableDarkMode: () => void;
380
381
 
381
382
  /**
382
383
  * @description Sets the comment context provider
@@ -387,62 +388,62 @@ export declare class CommentElement {
387
388
  /**
388
389
  * To enable suggestion mode
389
390
  */
390
- public enableSuggestionMode: () => any;
391
+ public enableSuggestionMode: () => void;
391
392
 
392
393
  /**
393
394
  * To disable suggestion mode
394
395
  */
395
- public disableSuggestionMode: () => any;
396
+ public disableSuggestionMode: () => void;
396
397
 
397
398
  /**
398
399
  * To enable mobile mode
399
400
  */
400
- public enableMobileMode: () => any;
401
+ public enableMobileMode: () => void;
401
402
 
402
403
  /**
403
404
  * To disable mobile mode
404
405
  */
405
- public disableMobileMode: () => any;
406
+ public disableMobileMode: () => void;
406
407
 
407
408
  /**
408
409
  * To enable inline comment mode
409
410
  */
410
- public enableInlineCommentMode: () => any;
411
+ public enableInlineCommentMode: () => void;
411
412
 
412
413
  /**
413
414
  * To disable inline comment mode
414
415
  */
415
- public disableInlineCommentMode: () => any;
416
+ public disableInlineCommentMode: () => void;
416
417
 
417
418
  /**
418
419
  * To enable minimap
419
420
  */
420
- public enableMinimap: () => any;
421
+ public enableMinimap: () => void;
421
422
 
422
423
  /**
423
424
  * To disable minimap
424
425
  */
425
- public disableMinimap: () => any;
426
+ public disableMinimap: () => void;
426
427
 
427
428
  /**
428
429
  * To show comments on DOM
429
430
  */
430
- public showCommentsOnDom: () => any;
431
+ public showCommentsOnDom: () => void;
431
432
 
432
433
  /**
433
434
  * To hide comments on DOM
434
435
  */
435
- public hideCommentsOnDom: () => any;
436
+ public hideCommentsOnDom: () => void;
436
437
 
437
438
  /**
438
439
  * To enable comment tool
439
440
  */
440
- public enableCommentTool: () => any;
441
+ public enableCommentTool: () => void;
441
442
 
442
443
  /**
443
444
  * To disable comment tool
444
445
  */
445
- public disableCommentTool: () => any;
446
+ public disableCommentTool: () => void;
446
447
 
447
448
  /**
448
449
  * To set total media length.
@@ -478,6 +479,11 @@ export declare class CommentElement {
478
479
  */
479
480
  public disableSidebarUrlNavigation: () => void;
480
481
 
482
+ /**
483
+ * To set the comment detection strategy.
484
+ */
485
+ public setDStrategy: (strategy: DetectionStrategy) => void;
486
+
481
487
  /**
482
488
  * To enable sidebar button on comment dialog.
483
489
  */
@@ -893,6 +899,16 @@ export declare class CommentElement {
893
899
  */
894
900
  public disableGroupMatchedComments: () => void;
895
901
 
902
+ /**
903
+ * To enable restricting text search to anchor.
904
+ */
905
+ public enableRestrictTextSearchToAnchor: () => void;
906
+
907
+ /**
908
+ * To disable restricting text search to anchor.
909
+ */
910
+ public disableRestrictTextSearchToAnchor: () => void;
911
+
896
912
  /**
897
913
  * To update context of comment annotation
898
914
  * @param annotationId Comment annotation id
@@ -949,6 +965,16 @@ export declare class CommentElement {
949
965
  */
950
966
  public disableCollapsedComments: () => void;
951
967
 
968
+ /**
969
+ * To enable collapsed replies preview.
970
+ */
971
+ public enableCollapsedRepliesPreview: () => void;
972
+
973
+ /**
974
+ * To disable collapsed replies preview.
975
+ */
976
+ public disableCollapsedRepliesPreview: () => void;
977
+
952
978
  /**
953
979
  * To enable query params comments
954
980
  */
@@ -1109,7 +1135,7 @@ export declare class CommentElement {
1109
1135
  /**
1110
1136
  * To get link
1111
1137
  */
1112
- public getLink: (request: GetLinkRequest) => Promise<GetLinkEvent | null>;
1138
+ public getLink: (request: GetLinkRequest) => Promise<GetLinkResponse | null>;
1113
1139
 
1114
1140
  /**
1115
1141
  * To copy link
@@ -1,8 +1,7 @@
1
- // @ts-nocheck
2
1
  import { Observable } from "rxjs";
3
2
  import { ContactListScopeForOrganizationUsers } from "../../utils/enums";
4
3
  import { GetContactListResponse } from "../data/contact-utils.data.model";
5
- import { SelectedUserContact } from "../data/user-contact.data.model";
4
+ import { SelectedUserContact, UserContact } from "../data/user-contact.data.model";
6
5
 
7
6
  export declare class ContactElement {
8
7
  /**
@@ -1,4 +1,4 @@
1
- // @ts-nocheck
1
+ import { Observable } from "rxjs";
2
2
  import { CrdtGetDataQuery, CrdtGetMessagesQuery, CrdtGetSnapshotQuery, CrdtGetVersionQuery, CrdtGetVersionsQuery, CrdtMessageData, CrdtOnDataChangeQuery, CrdtOnMessageQuery, CrdtOnPresenceChangeQuery, CrdtOnRegisteredUserChangeQuery, CrdtOnStateChangeQuery, CrdtPruneMessagesQuery, CrdtPushMessageQuery, CrdtRegisterSyncUserQuery, CrdtSaveSnapshotQuery, CrdtSetPresenceQuery, CrdtSaveVersionQuery, CrdtSnapshotData, CrdtUpdateDataQuery, CrdtUpdateStateQuery } from "../data/crdt.data.model";
3
3
  import { CrdtEventTypesMap } from "../data/crdt-events.data.model";
4
4
 
@@ -1,4 +1,3 @@
1
- // @ts-nocheck
2
1
  import { Observable } from "rxjs";
3
2
  import { CursorUser } from "../data/cursor-user.data.model";
4
3
  export declare class CursorElement {
@@ -28,7 +27,7 @@ export declare class CursorElement {
28
27
  * To allow cursors in specific elements only
29
28
  * @param elementIds Element ids to be allowed to show cursor on it
30
29
  */
31
- allowedElementIds: (elementIds: string[]) => any;
30
+ allowedElementIds: (elementIds: string[]) => void;
32
31
  constructor();
33
32
  /**
34
33
  * Subscribe to cursors of all online users who are either active or inactive on the current document.
@@ -1,4 +1,3 @@
1
- // @ts-nocheck
2
1
  export declare class HuddleElement {
3
2
  /**
4
3
  * To enable huddle bubble on cursor feature
@@ -39,7 +38,7 @@ export declare class HuddleElement {
39
38
  /**
40
39
  * To disable huddle on cursor feature
41
40
  */
42
- public _disableCursorMode;
41
+ public _disableCursorMode: () => void;
43
42
 
44
43
  /**
45
44
  * To enable chat
@@ -1,4 +1,4 @@
1
- // @ts-nocheck
1
+ import { Observable } from "rxjs";
2
2
  import { ServerConnectionState } from '../../utils/enums';
3
3
  import { EditorAccessTimer, FetchLiveStateDataRequest, LiveStateDataConfig, LiveStateSingleEditorExternalUserPresence, SetLiveStateDataConfig, SetUserAsEditorResponse, SingleEditorConfig, UserEditorAccess } from '../data/live-state-data.data.model';
4
4
  import { LiveStateEventTypesMap } from '../data/live-state-events.data.model';
@@ -1,6 +1,7 @@
1
- // @ts-nocheck
1
+ import { Observable } from "rxjs";
2
2
 
3
- import { GetNotificationsDataQuery, Notification, NotificationInitialSettingsConfig, NotificationSettingsConfig, NotificationTabConfig } from "../data/notification.model";
3
+ import { CrossOrganizationConfig, GetNotificationsDataQuery, Notification, NotificationInitialSettingsConfig, NotificationSettingsConfig, NotificationTabConfig } from "../data/notification.model";
4
+ import { NotificationEventTypesMap } from "../data/notifications-events.data.model";
4
5
 
5
6
  export declare class NotificationElement {
6
7
  /**
@@ -128,6 +129,21 @@ export declare class NotificationElement {
128
129
  */
129
130
  disableCurrentDocumentOnly: () => void;
130
131
 
132
+ /**
133
+ * To enable cross organization notifications
134
+ */
135
+ enableCrossOrganization: (config?: CrossOrganizationConfig | null) => void;
136
+
137
+ /**
138
+ * To disable cross organization notifications
139
+ */
140
+ disableCrossOrganization: () => void;
141
+
142
+ /**
143
+ * Subscribe to notification events
144
+ */
145
+ on: <T extends keyof NotificationEventTypesMap>(action: T) => Observable<NotificationEventTypesMap[T]>;
146
+
131
147
  constructor();
132
148
 
133
149
  /**
@@ -254,4 +270,19 @@ export declare class NotificationElement {
254
270
  * To disable current document only
255
271
  */
256
272
  private _disableCurrentDocumentOnly;
273
+
274
+ /**
275
+ * To enable cross organization notifications
276
+ */
277
+ private _enableCrossOrganization;
278
+
279
+ /**
280
+ * To disable cross organization notifications
281
+ */
282
+ private _disableCrossOrganization;
283
+
284
+ /**
285
+ * Subscribe to notification events
286
+ */
287
+ private _on;
257
288
  }