@veltdev/sdk-staging 4.5.0-beta.68 → 4.5.0-beta.7
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.
- package/app/client/snippyly.model.d.ts +6 -44
- package/app/models/data/button.data.model.d.ts +0 -2
- package/app/models/data/comment-annotation.data.model.d.ts +0 -7
- package/app/models/data/comment-sidebar-config.model.d.ts +0 -20
- package/app/models/data/core-events.data.model.d.ts +0 -9
- package/app/models/data/custom-filter.data.model.d.ts +0 -8
- package/app/models/data/document-paths.data.model.d.ts +0 -12
- package/app/models/data/document.data.model.d.ts +0 -2
- package/app/models/data/location.model.d.ts +0 -10
- package/app/models/data/multi-thread.data.model.d.ts +0 -2
- package/app/models/data/notification.model.d.ts +1 -23
- package/app/models/data/presence-events.data.model.d.ts +0 -8
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -3
- package/app/models/data/recorder-events.data.model.d.ts +0 -10
- package/app/models/data/recorder.model.d.ts +8 -6
- package/app/models/data/resolver.data.model.d.ts +0 -6
- package/app/models/data/user-iam.data.model.d.ts +0 -6
- package/app/models/data/user-resolver.data.model.d.ts +0 -2
- package/app/models/element/comment-element.model.d.ts +10 -105
- package/app/models/element/notification-element.model.d.ts +3 -103
- package/app/models/element/presence-element.model.d.ts +1 -15
- package/app/models/element/recorder-element.model.d.ts +157 -228
- package/app/utils/constants.d.ts +0 -43
- package/app/utils/enums.d.ts +1 -17
- package/models.d.ts +0 -2
- package/package.json +1 -1
- package/types.d.ts +0 -1
- package/velt.js +106 -117
- package/app/models/data/notifications-events.data.model.d.ts +0 -9
- package/app/models/data/presence-actions.data.model.d.ts +0 -5
- package/app/models/element/crdt-element.model.d.ts +0 -116
|
@@ -24,7 +24,6 @@ import { FeatureType } from "../utils/enums";
|
|
|
24
24
|
import { UserContact } from "../models/data/user-contact.data.model";
|
|
25
25
|
import { DocumentMetadata } from "../models/data/document-metadata.model";
|
|
26
26
|
import { ReactionElement } from "../models/element/reaction-element.model";
|
|
27
|
-
import { CrdtElement } from "../models/element/crdt-element.model";
|
|
28
27
|
import { VeltEventMetadata } from "../models/data/event-metadata.data.model";
|
|
29
28
|
import { CoreEventTypesMap } from "../models/data/core-events.data.model";
|
|
30
29
|
import { Document, SetDocumentsRequestOptions, FetchDocumentsRequest, FetchFoldersRequest, UpdateDocumentsRequest, UpdateLocationsRequest } from "../models/data/document.data.model";
|
|
@@ -32,7 +31,6 @@ import { FetchDocumentsResponse, FetchFoldersResponse } from "../models/data/doc
|
|
|
32
31
|
import { UserDataProvider } from "../models/data/user-resolver.data.model";
|
|
33
32
|
import { VeltDataProvider } from "../models/data/provider.data.model";
|
|
34
33
|
import { VeltResetButtonStateConfig } from "../models/data/button.data.model";
|
|
35
|
-
import { SetLocationsRequestOptions } from "../models/data/location.model";
|
|
36
34
|
|
|
37
35
|
export declare class Snippyly {
|
|
38
36
|
constructor();
|
|
@@ -50,22 +48,17 @@ export declare class Snippyly {
|
|
|
50
48
|
* @param id unique document ID
|
|
51
49
|
* @param documentMetadata Document Metadata
|
|
52
50
|
*/
|
|
53
|
-
setDocument: (id: string, documentMetadata?: DocumentMetadata) =>
|
|
51
|
+
setDocument: (id: string, documentMetadata?: DocumentMetadata) => void;
|
|
54
52
|
/**
|
|
55
53
|
* Tell us the unique ID of the current document/resource on which you want to enable collaboration.
|
|
56
54
|
* @param id unique document ID
|
|
57
55
|
* @deprecated This method is deprecated. Use `setDocuments` method instead.
|
|
58
56
|
*/
|
|
59
|
-
setDocumentId: (id: string) =>
|
|
57
|
+
setDocumentId: (id: string) => void;
|
|
60
58
|
/**
|
|
61
59
|
* To set multiple documents
|
|
62
60
|
*/
|
|
63
|
-
setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) =>
|
|
64
|
-
/**
|
|
65
|
-
* To set the root document
|
|
66
|
-
* @param document Document object
|
|
67
|
-
*/
|
|
68
|
-
setRootDocument: (document: Document) => Promise<void>;
|
|
61
|
+
setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
|
|
69
62
|
/**
|
|
70
63
|
* To unset the document id
|
|
71
64
|
* @deprecated This method is deprecated. Use `unsetDocuments` method instead.
|
|
@@ -107,39 +100,12 @@ export declare class Snippyly {
|
|
|
107
100
|
* @param params Location
|
|
108
101
|
* @param appendLocation Append location to existing location
|
|
109
102
|
*/
|
|
110
|
-
setLocation: (params: Location, appendLocation?: boolean) =>
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* To set the root location
|
|
114
|
-
* @param location Location object
|
|
115
|
-
*/
|
|
116
|
-
setRootLocation: (location: Location) => Promise<void>;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* To set multiple locations
|
|
120
|
-
* @param locations Location objects
|
|
121
|
-
* @param options Set locations options
|
|
122
|
-
*/
|
|
123
|
-
setLocations: (locations: Location[], options?: SetLocationsRequestOptions) => Promise<void>;
|
|
124
|
-
|
|
103
|
+
setLocation: (params: Location, appendLocation?: boolean) => void;
|
|
125
104
|
/**
|
|
126
105
|
* To remove location from a User
|
|
127
106
|
* @param location Location
|
|
128
107
|
*/
|
|
129
108
|
removeLocation: (location?: Location) => void;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* To remove multiple locations
|
|
133
|
-
* @param locations Location objects
|
|
134
|
-
*/
|
|
135
|
-
removeLocations: (locations?: Location[]) => void;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* To remove location ids
|
|
139
|
-
* @param locationIds Location ids
|
|
140
|
-
*/
|
|
141
|
-
unsetLocationIds: (locationIds?: string[]) => void;
|
|
142
|
-
|
|
143
109
|
/**
|
|
144
110
|
* To exclude data of specific location ids
|
|
145
111
|
* @param ids Location Ids
|
|
@@ -226,10 +192,6 @@ export declare class Snippyly {
|
|
|
226
192
|
* Get the Area Object.
|
|
227
193
|
*/
|
|
228
194
|
getReactionElement: () => ReactionElement;
|
|
229
|
-
/**
|
|
230
|
-
* Get the CRDT Element Object.
|
|
231
|
-
*/
|
|
232
|
-
getCrdtElement: () => CrdtElement;
|
|
233
195
|
/**
|
|
234
196
|
* Get the metadata of the current resource.
|
|
235
197
|
*/
|
|
@@ -249,7 +211,7 @@ export declare class Snippyly {
|
|
|
249
211
|
* @param location Location object
|
|
250
212
|
* @deprecated This method is deprecated and will be removed in next release. Use `setLocation` method with `appendLocation: true` instead.
|
|
251
213
|
*/
|
|
252
|
-
addLocation: (location: any) =>
|
|
214
|
+
addLocation: (location: any) => any;
|
|
253
215
|
/**
|
|
254
216
|
* To set the dark mode of Velt components.
|
|
255
217
|
* @param value {boolean} true/false
|
|
@@ -353,5 +315,5 @@ export declare class Snippyly {
|
|
|
353
315
|
/**
|
|
354
316
|
* To reset the button toggle map.
|
|
355
317
|
*/
|
|
356
|
-
|
|
318
|
+
resetVeltButtonState: (config?: VeltResetButtonStateConfig) => void;
|
|
357
319
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { CommentAnnotation } from "./comment-annotation.data.model";
|
|
2
2
|
import { UnreadCommentsMap } from "./comment-utils.data.model";
|
|
3
3
|
import { Comment } from "./comment.data.model";
|
|
4
|
-
import { CustomFilters } from "./custom-filter.data.model";
|
|
5
4
|
import { VeltEventMetadata } from "./event-metadata.data.model";
|
|
6
5
|
import { Notification } from "./notification.model";
|
|
7
6
|
export interface VeltButtonClickEvent extends VeltButtonData {
|
|
8
7
|
buttonContext?: VeltButtonContext;
|
|
9
8
|
metadata?: VeltEventMetadata;
|
|
10
|
-
customFilters?: CustomFilters;
|
|
11
9
|
}
|
|
12
10
|
export interface VeltButtonContext {
|
|
13
11
|
type?: string;
|
|
@@ -164,10 +164,6 @@ export declare class CommentAnnotation {
|
|
|
164
164
|
* Custom context data provided by the user
|
|
165
165
|
*/
|
|
166
166
|
context?: any;
|
|
167
|
-
/**
|
|
168
|
-
* Context id generated from context data
|
|
169
|
-
*/
|
|
170
|
-
contextId?: string;
|
|
171
167
|
iam: CommentIAMConfig;
|
|
172
168
|
isPageAnnotation?: boolean;
|
|
173
169
|
targetInlineCommentElementId?: string;
|
|
@@ -248,6 +244,3 @@ export declare class CommentAnnotationSubscribedGroups {
|
|
|
248
244
|
export declare class UpdateContextConfig {
|
|
249
245
|
merge?: boolean;
|
|
250
246
|
}
|
|
251
|
-
export interface ContextOptions {
|
|
252
|
-
partialMatch?: boolean;
|
|
253
|
-
}
|
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
import { CommentAnnotation } from "./comment-annotation.data.model";
|
|
2
2
|
import { UnreadCommentsMap } from "./comment-utils.data.model";
|
|
3
|
-
import { CustomFilters } from "./custom-filter.data.model";
|
|
4
3
|
import { Location } from "./location.model";
|
|
5
|
-
declare class FilterOption {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
}
|
|
9
4
|
declare class FilterTypeConfig {
|
|
10
5
|
name?: string;
|
|
11
6
|
enable?: boolean;
|
|
12
7
|
multiSelection?: boolean;
|
|
13
8
|
enableGrouping?: boolean;
|
|
14
9
|
order?: string[];
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
id?: string;
|
|
17
|
-
type?: 'custom' | 'system';
|
|
18
|
-
options?: FilterOption[];
|
|
19
10
|
}
|
|
20
11
|
export declare class CommentSidebarFilterConfig {
|
|
21
12
|
location?: FilterTypeConfig;
|
|
22
|
-
document?: FilterTypeConfig;
|
|
23
13
|
people?: FilterTypeConfig;
|
|
24
14
|
assigned?: FilterTypeConfig;
|
|
25
15
|
tagged?: FilterTypeConfig;
|
|
@@ -28,7 +18,6 @@ export declare class CommentSidebarFilterConfig {
|
|
|
28
18
|
category?: FilterTypeConfig;
|
|
29
19
|
commentType?: FilterTypeConfig;
|
|
30
20
|
version?: FilterTypeConfig;
|
|
31
|
-
[key: string]: FilterTypeConfig | undefined;
|
|
32
21
|
}
|
|
33
22
|
export declare class CommentSidebarGroupConfig {
|
|
34
23
|
enable?: boolean;
|
|
@@ -36,10 +25,6 @@ export declare class CommentSidebarGroupConfig {
|
|
|
36
25
|
}
|
|
37
26
|
export declare class CommentSidebarFilters {
|
|
38
27
|
location?: Location[];
|
|
39
|
-
document?: {
|
|
40
|
-
id?: string;
|
|
41
|
-
documentName?: string;
|
|
42
|
-
}[];
|
|
43
28
|
people?: {
|
|
44
29
|
userId?: string;
|
|
45
30
|
email?: string;
|
|
@@ -62,10 +47,6 @@ export declare class CommentSidebarFilters {
|
|
|
62
47
|
id: string;
|
|
63
48
|
name?: string;
|
|
64
49
|
}[];
|
|
65
|
-
[key: string]: {
|
|
66
|
-
id?: string;
|
|
67
|
-
name?: string;
|
|
68
|
-
}[] | string[] | undefined;
|
|
69
50
|
}
|
|
70
51
|
export interface CommentSidebarCustomActionsState {
|
|
71
52
|
[key: string]: boolean;
|
|
@@ -75,7 +56,6 @@ export interface CommentSidebarCustomActionEventData {
|
|
|
75
56
|
data: CommentAnnotation[];
|
|
76
57
|
unreadDataMap: UnreadCommentsMap;
|
|
77
58
|
systemFilteredData: CommentAnnotation[];
|
|
78
|
-
customFilters: CustomFilters;
|
|
79
59
|
}
|
|
80
60
|
export declare class CommentSidebarData {
|
|
81
61
|
groupId?: string;
|
|
@@ -6,19 +6,10 @@ export type CoreEventTypesMap = {
|
|
|
6
6
|
[CoreEventTypes.USER_UPDATE]: UserUpdateEvent;
|
|
7
7
|
[CoreEventTypes.DOCUMENT_INIT]: DocumentInitEvent;
|
|
8
8
|
[CoreEventTypes.ERROR]: ErrorEvent;
|
|
9
|
-
[CoreEventTypes.INIT_UPDATE]: InitUpdateEvent;
|
|
10
9
|
};
|
|
11
10
|
export type UserUpdateEvent = User | null;
|
|
12
11
|
export type DocumentInitEvent = boolean | undefined;
|
|
13
12
|
export type ErrorEvent = {
|
|
14
|
-
error?: string;
|
|
15
13
|
code: string;
|
|
16
14
|
message?: string;
|
|
17
|
-
source?: string;
|
|
18
|
-
};
|
|
19
|
-
export type InitUpdateEvent = {
|
|
20
|
-
event: string;
|
|
21
|
-
methodName?: string;
|
|
22
|
-
source?: string;
|
|
23
|
-
payload?: any;
|
|
24
15
|
};
|
|
@@ -13,14 +13,6 @@ export interface CustomStatus extends CustomFilter {
|
|
|
13
13
|
svg?: string;
|
|
14
14
|
iconUrl?: string;
|
|
15
15
|
}
|
|
16
|
-
export interface CustomFilterOption {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
selected: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface CustomFilters {
|
|
22
|
-
[key: string]: CustomFilterOption[];
|
|
23
|
-
}
|
|
24
16
|
export interface CustomCategory extends CustomFilter {
|
|
25
17
|
}
|
|
26
18
|
export interface CustomCategoryMap {
|
|
@@ -3,18 +3,10 @@ export declare class DocumentPaths {
|
|
|
3
3
|
* The document's unique identifier.
|
|
4
4
|
*/
|
|
5
5
|
documentId?: string;
|
|
6
|
-
folderId?: string;
|
|
7
|
-
locationId?: string;
|
|
8
|
-
allDocuments?: boolean;
|
|
9
|
-
veltFolderId?: string;
|
|
10
6
|
/**
|
|
11
7
|
* Presence path.
|
|
12
8
|
*/
|
|
13
9
|
presence?: string;
|
|
14
|
-
/**
|
|
15
|
-
* User config path.
|
|
16
|
-
*/
|
|
17
|
-
userConfig?: string;
|
|
18
10
|
docs?: string;
|
|
19
11
|
/**
|
|
20
12
|
* Cursor path.
|
|
@@ -72,10 +64,6 @@ export declare class DocumentPaths {
|
|
|
72
64
|
* User login path.
|
|
73
65
|
*/
|
|
74
66
|
logins?: string;
|
|
75
|
-
/**
|
|
76
|
-
* CRDT path.
|
|
77
|
-
*/
|
|
78
|
-
crdt?: string;
|
|
79
67
|
/**
|
|
80
68
|
* Selection path.
|
|
81
69
|
*/
|
|
@@ -8,11 +8,9 @@ export interface SetDocumentsRequestOptions {
|
|
|
8
8
|
folderId?: string;
|
|
9
9
|
allDocuments?: boolean;
|
|
10
10
|
locationId?: string;
|
|
11
|
-
rootDocumentId?: string;
|
|
12
11
|
}
|
|
13
12
|
export interface UpdateDocumentsRequest<T = unknown> {
|
|
14
13
|
organizationId?: string;
|
|
15
|
-
folderId?: string;
|
|
16
14
|
documents?: UpdateDocumentMetadata<T>[];
|
|
17
15
|
}
|
|
18
16
|
export interface UpdateDocumentMetadata<T = unknown> {
|
|
@@ -55,8 +55,6 @@ export declare class MultiThreadCommentAnnotation {
|
|
|
55
55
|
isDraft?: boolean;
|
|
56
56
|
sourceId?: string;
|
|
57
57
|
metadata?: MultiThreadMetadata;
|
|
58
|
-
isTemporary?: boolean;
|
|
59
|
-
context?: any;
|
|
60
58
|
}
|
|
61
59
|
export declare class MultiThreadMetadata extends BaseMetadata {
|
|
62
60
|
[key: string]: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AreaStatus, ArrowStatus, CommentStatus, HuddleActionTypes,
|
|
1
|
+
import { AreaStatus, ArrowStatus, CommentStatus, HuddleActionTypes, NotificationSource, TagStatus, UserActionTypes } from "../../utils/enums";
|
|
2
2
|
import { DocumentMetadata } from "./document-metadata.model";
|
|
3
3
|
import { DocumentUser } from "./document-user.data.model";
|
|
4
4
|
import { Location } from "./location.model";
|
|
@@ -230,25 +230,3 @@ export declare class NotificationTabConfig {
|
|
|
230
230
|
all?: NotificationTabConfigItem;
|
|
231
231
|
people?: NotificationTabConfigItem;
|
|
232
232
|
}
|
|
233
|
-
export declare class NotificationInitialSettingsConfig {
|
|
234
|
-
name?: string;
|
|
235
|
-
id: string;
|
|
236
|
-
default?: string;
|
|
237
|
-
enable?: boolean;
|
|
238
|
-
values?: NotificationConfigValue[];
|
|
239
|
-
}
|
|
240
|
-
export declare class NotificationConfigValue {
|
|
241
|
-
name?: string;
|
|
242
|
-
id: NotificationSettingsItemType;
|
|
243
|
-
}
|
|
244
|
-
export declare class NotificationSettingsConfig {
|
|
245
|
-
[key: string]: NotificationSettingsItemType;
|
|
246
|
-
}
|
|
247
|
-
export interface NotificationsDocConfig {
|
|
248
|
-
inbox: 'ALL' | 'NONE' | 'MINE';
|
|
249
|
-
email: 'ALL' | 'NONE' | 'MINE';
|
|
250
|
-
[key: string]: string;
|
|
251
|
-
}
|
|
252
|
-
export interface GetNotificationsDataQuery {
|
|
253
|
-
type?: 'all' | 'forYou' | 'documents';
|
|
254
|
-
}
|
|
@@ -3,14 +3,6 @@ import { PresenceUser } from "./presence-user.data.model";
|
|
|
3
3
|
export interface PresenceMultipleUsersOnlineEvent {
|
|
4
4
|
users: PresenceUser[];
|
|
5
5
|
}
|
|
6
|
-
export interface PresenceUserStateChangeEvent {
|
|
7
|
-
user: PresenceUser;
|
|
8
|
-
state: string;
|
|
9
|
-
}
|
|
10
6
|
export type PresenceEventTypesMap = {
|
|
11
7
|
[PresenceEventTypes.MULTIPLE_USERS_ONLINE]: PresenceMultipleUsersOnlineEvent;
|
|
12
|
-
[PresenceEventTypes.USER_STATE_CHANGE]: PresenceUserStateChangeEvent;
|
|
13
8
|
};
|
|
14
|
-
export interface GetPresenceDataResponse {
|
|
15
|
-
data: PresenceUser[] | null;
|
|
16
|
-
}
|
|
@@ -180,8 +180,6 @@ export interface RecorderBoundedScaleRange {
|
|
|
180
180
|
centerY?: number;
|
|
181
181
|
topLeftX?: number;
|
|
182
182
|
topLeftY?: number;
|
|
183
|
-
topLeftXPixels?: number;
|
|
184
|
-
topLeftYPixels?: number;
|
|
185
183
|
}
|
|
186
184
|
export interface RecorderEditRange {
|
|
187
185
|
trimRanges: RecorderBoundedTrimRange[];
|
|
@@ -215,7 +213,6 @@ declare class RecorderDataAsset {
|
|
|
215
213
|
*/
|
|
216
214
|
fileFormat?: RecorderFileFormat;
|
|
217
215
|
thumbnailUrl?: string;
|
|
218
|
-
transcription: RecorderDataTranscription;
|
|
219
216
|
}
|
|
220
217
|
export declare class RecorderData {
|
|
221
218
|
recorderId: string;
|
|
@@ -8,16 +8,6 @@ export interface RecordingDeleteEvent extends RecorderData {
|
|
|
8
8
|
}
|
|
9
9
|
export interface RecordingEditDoneEvent extends RecorderData {
|
|
10
10
|
}
|
|
11
|
-
export interface RecordingErrorEvent {
|
|
12
|
-
type: string;
|
|
13
|
-
message: string;
|
|
14
|
-
recorderId?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface RecordingSaveInitiatedEvent {
|
|
17
|
-
annotationId?: string;
|
|
18
|
-
message: string;
|
|
19
|
-
type: 'edit' | 'record';
|
|
20
|
-
}
|
|
21
11
|
export type RecorderEventTypesMap = {
|
|
22
12
|
[RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
|
|
23
13
|
[RecorderEventTypes.RECORDING_DONE]: RecordingDoneEvent;
|
|
@@ -93,13 +93,15 @@ export declare class RecordedData {
|
|
|
93
93
|
};
|
|
94
94
|
getThumbnailTag: (url?: string) => string;
|
|
95
95
|
}
|
|
96
|
-
export declare class RecorderQualityConstraintsOptions {
|
|
97
|
-
video?: MediaTrackConstraints;
|
|
98
|
-
audio?: MediaTrackConstraints;
|
|
99
|
-
}
|
|
100
96
|
export declare class RecorderQualityConstraints {
|
|
101
|
-
safari?:
|
|
102
|
-
|
|
97
|
+
safari?: {
|
|
98
|
+
video?: MediaTrackConstraints;
|
|
99
|
+
audio?: MediaTrackConstraints;
|
|
100
|
+
};
|
|
101
|
+
other?: {
|
|
102
|
+
video?: MediaTrackConstraints;
|
|
103
|
+
audio?: MediaTrackConstraints;
|
|
104
|
+
};
|
|
103
105
|
}
|
|
104
106
|
export declare class RecorderEncodingOptions {
|
|
105
107
|
safari?: MediaRecorderOptions;
|
|
@@ -3,12 +3,6 @@ export interface ResolverConfig {
|
|
|
3
3
|
saveRetryConfig?: RetryConfig;
|
|
4
4
|
deleteRetryConfig?: RetryConfig;
|
|
5
5
|
getRetryConfig?: RetryConfig;
|
|
6
|
-
resolveUsersConfig?: ResolveUsersConfig;
|
|
7
|
-
}
|
|
8
|
-
export interface ResolveUsersConfig {
|
|
9
|
-
organization?: boolean;
|
|
10
|
-
folder?: boolean;
|
|
11
|
-
document?: boolean;
|
|
12
6
|
}
|
|
13
7
|
export interface ResolverResponse<T> {
|
|
14
8
|
data?: T;
|
|
@@ -11,12 +11,6 @@ export declare class UserIAM {
|
|
|
11
11
|
* The user's contact details
|
|
12
12
|
*/
|
|
13
13
|
user: UserContact;
|
|
14
|
-
documentIds?: string[];
|
|
15
|
-
folderIds?: string[];
|
|
16
|
-
organizationIds?: string[];
|
|
17
|
-
documentIdsCount?: number;
|
|
18
|
-
folderIdsCount?: number;
|
|
19
|
-
organizationIdsCount?: number;
|
|
20
14
|
/**
|
|
21
15
|
* The user's role in the document
|
|
22
16
|
*/
|
|
@@ -126,7 +126,7 @@ export declare class CommentElement {
|
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* Subscribe to comment mode change.
|
|
129
|
-
*
|
|
129
|
+
*
|
|
130
130
|
* Returns Observable<boolean>.
|
|
131
131
|
*/
|
|
132
132
|
onCommentModeChange: () => Observable<boolean>;
|
|
@@ -278,7 +278,7 @@ export declare class CommentElement {
|
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* @description Sets custom status filters
|
|
281
|
-
* @param statuses
|
|
281
|
+
* @param statuses
|
|
282
282
|
*/
|
|
283
283
|
setCustomStatus: (statuses: CustomStatus[]) => void;
|
|
284
284
|
|
|
@@ -326,7 +326,7 @@ export declare class CommentElement {
|
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* @description Sets the comment context provider
|
|
329
|
-
* @param provider
|
|
329
|
+
* @param provider
|
|
330
330
|
*/
|
|
331
331
|
public setContextProvider: (provider: (documentId: string, location?: any) => any) => void;
|
|
332
332
|
|
|
@@ -397,14 +397,14 @@ export declare class CommentElement {
|
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* To get documentId, location and set context data when comment is added.
|
|
400
|
-
*
|
|
400
|
+
*
|
|
401
401
|
* @legacy Use `AddCommentAnnotationEvent` instead
|
|
402
402
|
*/
|
|
403
403
|
public onCommentAdd: () => Observable<CommentAddEventData>;
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* To get data when comment is updated.
|
|
407
|
-
*
|
|
407
|
+
*
|
|
408
408
|
* @legacy Use action specific events instead
|
|
409
409
|
*/
|
|
410
410
|
public onCommentUpdate: () => Observable<CommentUpdateEventData>;
|
|
@@ -791,28 +791,6 @@ export declare class CommentElement {
|
|
|
791
791
|
*/
|
|
792
792
|
public disableMultiThread: () => void;
|
|
793
793
|
|
|
794
|
-
/**
|
|
795
|
-
* To enable group multiple match
|
|
796
|
-
* @deprecated Use enableGroupMatchedComments instead
|
|
797
|
-
*/
|
|
798
|
-
public enableGroupMultipleMatch: () => void;
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* To disable group multiple match
|
|
802
|
-
* @deprecated Use disableGroupMatchedComments instead
|
|
803
|
-
*/
|
|
804
|
-
public disableGroupMultipleMatch: () => void;
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* To enable group matched comments
|
|
808
|
-
*/
|
|
809
|
-
public enableGroupMatchedComments: () => void;
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* To disable group matched comments
|
|
813
|
-
*/
|
|
814
|
-
public disableGroupMatchedComments: () => void;
|
|
815
|
-
|
|
816
794
|
/**
|
|
817
795
|
* To update context of comment annotation
|
|
818
796
|
* @param annotationId Comment annotation id
|
|
@@ -1162,32 +1140,6 @@ export declare class CommentElement {
|
|
|
1162
1140
|
* To disable draft mode
|
|
1163
1141
|
*/
|
|
1164
1142
|
public disableDraftMode: () => void;
|
|
1165
|
-
|
|
1166
|
-
/**
|
|
1167
|
-
* To enable filter comments on dom
|
|
1168
|
-
*/
|
|
1169
|
-
public enableFilterCommentsOnDom: () => void;
|
|
1170
|
-
|
|
1171
|
-
/**
|
|
1172
|
-
* To disable filter comments on dom
|
|
1173
|
-
*/
|
|
1174
|
-
public disableFilterCommentsOnDom: () => void;
|
|
1175
|
-
|
|
1176
|
-
/**
|
|
1177
|
-
* To enable reply avatars
|
|
1178
|
-
*/
|
|
1179
|
-
public enableReplyAvatars: () => void;
|
|
1180
|
-
|
|
1181
|
-
/**
|
|
1182
|
-
* To disable reply avatars
|
|
1183
|
-
*/
|
|
1184
|
-
public disableReplyAvatars: () => void;
|
|
1185
|
-
|
|
1186
|
-
/**
|
|
1187
|
-
* To set max reply avatars
|
|
1188
|
-
*/
|
|
1189
|
-
public setMaxReplyAvatars: (maxReplyAvatars: number) => void;
|
|
1190
|
-
|
|
1191
1143
|
constructor();
|
|
1192
1144
|
/**
|
|
1193
1145
|
* Subscribe to comments on the current document.
|
|
@@ -1303,7 +1255,7 @@ export declare class CommentElement {
|
|
|
1303
1255
|
|
|
1304
1256
|
/**
|
|
1305
1257
|
* Subscribe to comment mode change.
|
|
1306
|
-
*
|
|
1258
|
+
*
|
|
1307
1259
|
* Returns Observable<boolean>.
|
|
1308
1260
|
*/
|
|
1309
1261
|
private _onCommentModeChange;
|
|
@@ -1450,7 +1402,7 @@ export declare class CommentElement {
|
|
|
1450
1402
|
|
|
1451
1403
|
/**
|
|
1452
1404
|
* @description Sets custom status filters
|
|
1453
|
-
* @param statuses
|
|
1405
|
+
* @param statuses
|
|
1454
1406
|
*/
|
|
1455
1407
|
private _setCustomStatus;
|
|
1456
1408
|
|
|
@@ -1498,7 +1450,7 @@ export declare class CommentElement {
|
|
|
1498
1450
|
|
|
1499
1451
|
/**
|
|
1500
1452
|
* @description Sets the comment context provider
|
|
1501
|
-
* @param provider
|
|
1453
|
+
* @param provider
|
|
1502
1454
|
*/
|
|
1503
1455
|
private _setContextProvider;
|
|
1504
1456
|
|
|
@@ -1743,7 +1695,7 @@ export declare class CommentElement {
|
|
|
1743
1695
|
*/
|
|
1744
1696
|
private _disableRecordingSummary;
|
|
1745
1697
|
|
|
1746
|
-
/**
|
|
1698
|
+
/**
|
|
1747
1699
|
* To enable recording transcription
|
|
1748
1700
|
*/
|
|
1749
1701
|
private _enableRecordingTranscription;
|
|
@@ -1958,28 +1910,6 @@ export declare class CommentElement {
|
|
|
1958
1910
|
*/
|
|
1959
1911
|
private _disableMultiThread;
|
|
1960
1912
|
|
|
1961
|
-
/**
|
|
1962
|
-
* To enable group multiple match
|
|
1963
|
-
* @deprecated Use enableGroupMatchedComments instead
|
|
1964
|
-
*/
|
|
1965
|
-
private _enableGroupMultipleMatch;
|
|
1966
|
-
|
|
1967
|
-
/**
|
|
1968
|
-
* To disable group multiple match
|
|
1969
|
-
* @deprecated Use disableGroupMatchedComments instead
|
|
1970
|
-
*/
|
|
1971
|
-
private _disableGroupMultipleMatch;
|
|
1972
|
-
|
|
1973
|
-
/**
|
|
1974
|
-
* To enable group matched comments
|
|
1975
|
-
*/
|
|
1976
|
-
private _enableGroupMatchedComments;
|
|
1977
|
-
|
|
1978
|
-
/**
|
|
1979
|
-
* To disable group matched comments
|
|
1980
|
-
*/
|
|
1981
|
-
private _disableGroupMatchedComments;
|
|
1982
|
-
|
|
1983
1913
|
/**
|
|
1984
1914
|
* To update context of comment annotation
|
|
1985
1915
|
* @param annotationId Comment annotation id
|
|
@@ -2038,7 +1968,7 @@ export declare class CommentElement {
|
|
|
2038
1968
|
*/
|
|
2039
1969
|
private _disableQueryParamsComments;
|
|
2040
1970
|
|
|
2041
|
-
/**
|
|
1971
|
+
/**
|
|
2042
1972
|
* To enable comment sidebar action button click
|
|
2043
1973
|
*/
|
|
2044
1974
|
private _onCommentSidebarActionButtonClick;
|
|
@@ -2330,29 +2260,4 @@ export declare class CommentElement {
|
|
|
2330
2260
|
* To disable draft mode
|
|
2331
2261
|
*/
|
|
2332
2262
|
private _disableDraftMode;
|
|
2333
|
-
|
|
2334
|
-
/**
|
|
2335
|
-
* To enable filter comments on dom
|
|
2336
|
-
*/
|
|
2337
|
-
private _enableFilterCommentsOnDom;
|
|
2338
|
-
|
|
2339
|
-
/**
|
|
2340
|
-
* To disable filter comments on dom
|
|
2341
|
-
*/
|
|
2342
|
-
private _disableFilterCommentsOnDom;
|
|
2343
|
-
|
|
2344
|
-
/**
|
|
2345
|
-
* To enable reply avatars
|
|
2346
|
-
*/
|
|
2347
|
-
private _enableReplyAvatars;
|
|
2348
|
-
|
|
2349
|
-
/**
|
|
2350
|
-
* To disable reply avatars
|
|
2351
|
-
*/
|
|
2352
|
-
private _disableReplyAvatars;
|
|
2353
|
-
|
|
2354
|
-
/**
|
|
2355
|
-
* To set max reply avatars
|
|
2356
|
-
*/
|
|
2357
|
-
private _setMaxReplyAvatars;
|
|
2358
2263
|
}
|