@veltdev/types 4.7.1-patch.1 → 4.7.2
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/models/data/area-annotation.data.model.d.ts +1 -7
- package/app/models/data/attachment.model.d.ts +1 -21
- package/app/models/data/comment-annotation.data.model.d.ts +4 -80
- package/app/models/data/comment.data.model.d.ts +1 -26
- package/app/models/data/config.data.model.d.ts +0 -23
- package/app/models/data/cursor-position.data.model.d.ts +0 -15
- package/app/models/data/cursor-user.data.model.d.ts +0 -5
- package/app/models/data/custom-filter.data.model.d.ts +0 -8
- package/app/models/data/document-iam.data.model.d.ts +0 -8
- package/app/models/data/document-metadata.model.d.ts +0 -28
- package/app/models/data/document-paths.data.model.d.ts +1 -51
- package/app/models/data/huddle.model.d.ts +1 -2
- package/app/models/data/live-state-data-map.data.model.d.ts +6 -7
- package/app/models/data/live-state-data.data.model.d.ts +2 -37
- package/app/models/data/location-metadata.model.d.ts +0 -14
- package/app/models/data/location.model.d.ts +2 -0
- package/app/models/data/media-preview-config.data.model.d.ts +0 -3
- package/app/models/data/notification.model.d.ts +3 -129
- package/app/models/data/page-info.model.d.ts +0 -4
- package/app/models/data/presence-user.data.model.d.ts +0 -7
- package/app/models/data/recorder-annotation.data.model.d.ts +9 -101
- package/app/models/data/recorder.model.d.ts +2 -31
- package/app/models/data/selection.model.d.ts +0 -12
- package/app/models/data/target-element.data.model.d.ts +0 -5
- package/app/models/data/target-text-range.data.model.d.ts +0 -13
- package/app/models/data/user-contact.data.model.d.ts +0 -21
- package/app/models/data/user-iam.data.model.d.ts +0 -15
- package/app/models/data/user.data.model.d.ts +0 -82
- package/app/utils/constants.d.ts +6 -133
- package/app/utils/enums.d.ts +4 -208
- package/models.d.ts +0 -36
- package/package.json +2 -2
- package/app/models/data/anchor-record.data.model.d.ts +0 -109
- package/app/models/data/arrow-annotation.data.model.d.ts +0 -51
- package/app/models/data/attachment-resolver.data.model.d.ts +0 -52
- package/app/models/data/autocomplete.data.model.d.ts +0 -51
- package/app/models/data/base-metadata.data.model.d.ts +0 -9
- package/app/models/data/button.data.model.d.ts +0 -37
- package/app/models/data/comment-actions.data.model.d.ts +0 -190
- package/app/models/data/comment-events.data.model.d.ts +0 -272
- package/app/models/data/comment-resolver.data.model.d.ts +0 -72
- package/app/models/data/comment-sidebar-config.model.d.ts +0 -95
- package/app/models/data/comment-utils.data.model.d.ts +0 -16
- package/app/models/data/contact-utils.data.model.d.ts +0 -9
- package/app/models/data/core-events.data.model.d.ts +0 -180
- package/app/models/data/crdt-events.data.model.d.ts +0 -25
- package/app/models/data/crdt.data.model.d.ts +0 -60
- package/app/models/data/custom-chip-dropdown.data.model.d.ts +0 -10
- package/app/models/data/custom-css.data.model.d.ts +0 -10
- package/app/models/data/customer-metadata.data.model.d.ts +0 -15
- package/app/models/data/document-events.data.model.d.ts +0 -8
- package/app/models/data/document.data.model.d.ts +0 -63
- package/app/models/data/encryption-provider.data.model.d.ts +0 -12
- package/app/models/data/event-metadata.data.model.d.ts +0 -32
- package/app/models/data/folder-metadata.model.d.ts +0 -40
- package/app/models/data/heartbeat.data.model.d.ts +0 -16
- package/app/models/data/live-state-events.data.model.d.ts +0 -23
- package/app/models/data/multi-thread.data.model.d.ts +0 -63
- package/app/models/data/notifications-events.data.model.d.ts +0 -9
- package/app/models/data/organization-groups.data.model.d.ts +0 -16
- package/app/models/data/organization-metadata.model.d.ts +0 -31
- package/app/models/data/presence-actions.data.model.d.ts +0 -5
- package/app/models/data/presence-events.data.model.d.ts +0 -16
- package/app/models/data/provider.data.model.d.ts +0 -10
- package/app/models/data/reaction-annotation.data.model.d.ts +0 -68
- package/app/models/data/reaction-resolver.data.model.d.ts +0 -42
- package/app/models/data/reaction.data.model.d.ts +0 -18
- package/app/models/data/recorder-events.data.model.d.ts +0 -45
- package/app/models/data/resolver.data.model.d.ts +0 -36
- package/app/models/data/screenshot.data.model.d.ts +0 -10
- package/app/models/data/sync-video-player.data.model.d.ts +0 -47
- package/app/models/data/user-organization.data.model.d.ts +0 -12
- package/app/models/data/user-resolver.data.model.d.ts +0 -56
- package/app/models/data/views.data.model.d.ts +0 -64
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { AnnotationProperty } from "./annotation-property.data.model";
|
|
2
|
-
import { BaseMetadata } from "./base-metadata.data.model";
|
|
3
2
|
import { CursorPosition } from "./cursor-position.data.model";
|
|
4
3
|
import { Location } from "./location.model";
|
|
5
4
|
import { PageInfo } from "./page-info.model";
|
|
6
5
|
import { TargetElement } from "./target-element.data.model";
|
|
7
|
-
import {
|
|
6
|
+
import { User } from "./user.data.model";
|
|
8
7
|
export declare class AreaAnnotation {
|
|
9
8
|
/**
|
|
10
9
|
* Unique identifier for the area pin annotation.
|
|
@@ -12,7 +11,6 @@ export declare class AreaAnnotation {
|
|
|
12
11
|
* Auto generated.
|
|
13
12
|
*/
|
|
14
13
|
annotationId: string;
|
|
15
|
-
context?: Context;
|
|
16
14
|
/**
|
|
17
15
|
* The user who created this area pin annotation.
|
|
18
16
|
*
|
|
@@ -53,7 +51,6 @@ export declare class AreaAnnotation {
|
|
|
53
51
|
pageInfo?: PageInfo;
|
|
54
52
|
areaProperties?: AreaProperty;
|
|
55
53
|
targetAnnotations: AreaTargetAnnotation[];
|
|
56
|
-
metadata?: AreaMetadata;
|
|
57
54
|
}
|
|
58
55
|
export declare class AreaTargetAnnotation {
|
|
59
56
|
/**
|
|
@@ -75,6 +72,3 @@ export declare class AreaProperty {
|
|
|
75
72
|
handle2?: any;
|
|
76
73
|
coordinates?: any;
|
|
77
74
|
}
|
|
78
|
-
export declare class AreaMetadata extends BaseMetadata {
|
|
79
|
-
[key: string]: any;
|
|
80
|
-
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RecorderFileFormat } from "../../utils/enums";
|
|
2
1
|
export declare class Attachment {
|
|
3
2
|
/**
|
|
4
3
|
* Unique identifier for the comment pin annotation.
|
|
@@ -6,10 +5,6 @@ export declare class Attachment {
|
|
|
6
5
|
* Auto generated.
|
|
7
6
|
*/
|
|
8
7
|
attachmentId: number;
|
|
9
|
-
/**
|
|
10
|
-
* To check if attachment resolver is used
|
|
11
|
-
*/
|
|
12
|
-
isAttachmentResolverUsed?: boolean;
|
|
13
8
|
/**
|
|
14
9
|
* File name
|
|
15
10
|
*/
|
|
@@ -25,7 +20,7 @@ export declare class Attachment {
|
|
|
25
20
|
/**
|
|
26
21
|
* File type
|
|
27
22
|
*/
|
|
28
|
-
type?:
|
|
23
|
+
type?: string;
|
|
29
24
|
/**
|
|
30
25
|
* Download url of a file
|
|
31
26
|
*/
|
|
@@ -43,19 +38,4 @@ export declare class Attachment {
|
|
|
43
38
|
* Mime type of an attachment
|
|
44
39
|
*/
|
|
45
40
|
mimeType?: any;
|
|
46
|
-
/**
|
|
47
|
-
* Preview images of an attachment
|
|
48
|
-
*/
|
|
49
|
-
previewImages?: string[];
|
|
50
|
-
}
|
|
51
|
-
export interface UploadFileOptions {
|
|
52
|
-
path: string;
|
|
53
|
-
file: File;
|
|
54
|
-
useAttachmentResolver?: boolean;
|
|
55
|
-
metadata?: any;
|
|
56
|
-
}
|
|
57
|
-
export interface UploadFileData {
|
|
58
|
-
files: File[];
|
|
59
|
-
annotationId?: string;
|
|
60
|
-
targetElementId?: string;
|
|
61
41
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { CommentAccessMode } from "../../utils/enums";
|
|
2
|
-
import { BaseMetadata } from "./base-metadata.data.model";
|
|
3
2
|
import { Comment } from "./comment.data.model";
|
|
4
3
|
import { CursorPosition } from "./cursor-position.data.model";
|
|
5
|
-
import { CustomAnnotationDropdownItem } from "./custom-chip-dropdown.data.model";
|
|
6
4
|
import { CustomCategory, CustomPriority, CustomStatus } from "./custom-filter.data.model";
|
|
7
5
|
import { Location } from "./location.model";
|
|
8
6
|
import { PageInfo } from "./page-info.model";
|
|
9
7
|
import { TargetElement } from "./target-element.data.model";
|
|
10
8
|
import { TargetTextRange } from "./target-text-range.data.model";
|
|
11
9
|
import { User } from "./user.data.model";
|
|
12
|
-
import { CommentAnnotationViews } from "./views.data.model";
|
|
13
10
|
export declare class CommentAnnotation {
|
|
14
11
|
/**
|
|
15
12
|
* Unique identifier for the comment pin annotation.
|
|
@@ -17,12 +14,6 @@ export declare class CommentAnnotation {
|
|
|
17
14
|
* Auto generated.
|
|
18
15
|
*/
|
|
19
16
|
annotationId: string;
|
|
20
|
-
/**
|
|
21
|
-
* Annotation number for the comment pin annotation.
|
|
22
|
-
*
|
|
23
|
-
* Auto generated.
|
|
24
|
-
*/
|
|
25
|
-
annotationNumber?: number;
|
|
26
17
|
/**
|
|
27
18
|
* This is the list of all comments part of this annotation.
|
|
28
19
|
*
|
|
@@ -60,12 +51,6 @@ export declare class CommentAnnotation {
|
|
|
60
51
|
* Auto generated.
|
|
61
52
|
*/
|
|
62
53
|
lastUpdated?: any;
|
|
63
|
-
/**
|
|
64
|
-
* Timestamp when the comment annotation was created.
|
|
65
|
-
*
|
|
66
|
-
* Auto generated.
|
|
67
|
-
*/
|
|
68
|
-
createdAt?: any;
|
|
69
54
|
/**
|
|
70
55
|
* Comment annotation's position on the X axis.
|
|
71
56
|
*
|
|
@@ -142,8 +127,6 @@ export declare class CommentAnnotation {
|
|
|
142
127
|
*/
|
|
143
128
|
location?: Location | null;
|
|
144
129
|
type?: string;
|
|
145
|
-
commentType?: string;
|
|
146
|
-
metadata?: CommentMetadata;
|
|
147
130
|
/**
|
|
148
131
|
* Selected text range of comment annotation
|
|
149
132
|
*/
|
|
@@ -171,26 +154,8 @@ export declare class CommentAnnotation {
|
|
|
171
154
|
* Custom context data provided by the user
|
|
172
155
|
*/
|
|
173
156
|
context?: any;
|
|
174
|
-
/**
|
|
175
|
-
* Context id generated from context data
|
|
176
|
-
*/
|
|
177
|
-
contextId?: string;
|
|
178
157
|
iam: CommentIAMConfig;
|
|
179
158
|
isPageAnnotation?: boolean;
|
|
180
|
-
targetInlineCommentElementId?: string;
|
|
181
|
-
inlineCommentSectionConfig?: InlineCommentSectionConfig;
|
|
182
|
-
customList?: CustomAnnotationDropdownItem[];
|
|
183
|
-
subscribedUsers?: CommentAnnotationSubscribedUsers;
|
|
184
|
-
unsubscribedUsers?: CommentAnnotationUnsubscribedUsers;
|
|
185
|
-
subscribedGroups?: CommentAnnotationSubscribedGroups;
|
|
186
|
-
resolvedByUserId?: string | null;
|
|
187
|
-
multiThreadAnnotationId?: string;
|
|
188
|
-
isDraft?: boolean;
|
|
189
|
-
sourceId?: string;
|
|
190
|
-
views?: CommentAnnotationViews;
|
|
191
|
-
viewedByUserIds?: string[];
|
|
192
|
-
viewedBy?: User[];
|
|
193
|
-
unread?: boolean;
|
|
194
159
|
}
|
|
195
160
|
export declare class GhostComment {
|
|
196
161
|
targetElement?: TargetElement | null;
|
|
@@ -203,10 +168,10 @@ export declare class GhostComment {
|
|
|
203
168
|
}
|
|
204
169
|
export declare class CommentOnElementConfig {
|
|
205
170
|
targetElement?: {
|
|
206
|
-
targetText
|
|
207
|
-
occurrence
|
|
208
|
-
elementId
|
|
209
|
-
selectAllContent
|
|
171
|
+
targetText: string;
|
|
172
|
+
occurrence: number;
|
|
173
|
+
elementId: string;
|
|
174
|
+
selectAllContent: boolean;
|
|
210
175
|
};
|
|
211
176
|
commentData?: {
|
|
212
177
|
commentText: string;
|
|
@@ -217,48 +182,7 @@ export declare class CommentOnElementConfig {
|
|
|
217
182
|
replaceContentText?: string;
|
|
218
183
|
}[];
|
|
219
184
|
status?: string;
|
|
220
|
-
context?: any;
|
|
221
|
-
openComment?: boolean;
|
|
222
|
-
sourceId?: string;
|
|
223
185
|
}
|
|
224
186
|
export declare class CommentIAMConfig {
|
|
225
187
|
accessMode?: CommentAccessMode;
|
|
226
188
|
}
|
|
227
|
-
export declare class CommentMetadata extends BaseMetadata {
|
|
228
|
-
[key: string]: any;
|
|
229
|
-
}
|
|
230
|
-
export declare class CommentSelectionChangeData {
|
|
231
|
-
selected: boolean;
|
|
232
|
-
annotation: CommentAnnotation;
|
|
233
|
-
}
|
|
234
|
-
export declare class InlineCommentSectionConfig {
|
|
235
|
-
id: string;
|
|
236
|
-
name?: string;
|
|
237
|
-
}
|
|
238
|
-
export declare class ManualCommentAnnotationConfig {
|
|
239
|
-
context?: any;
|
|
240
|
-
location?: Location;
|
|
241
|
-
}
|
|
242
|
-
export declare class CommentAnnotationSubscribedUsers {
|
|
243
|
-
[userIdHash: string]: {
|
|
244
|
-
user: User;
|
|
245
|
-
type: 'manual' | 'auto';
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
export declare class CommentAnnotationUnsubscribedUsers {
|
|
249
|
-
[userIdHash: string]: {
|
|
250
|
-
user: User;
|
|
251
|
-
type: 'manual' | 'auto';
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
export declare class CommentAnnotationSubscribedGroups {
|
|
255
|
-
[groupId: string]: {
|
|
256
|
-
type: 'manual' | 'auto';
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
export declare class UpdateContextConfig {
|
|
260
|
-
merge?: boolean;
|
|
261
|
-
}
|
|
262
|
-
export interface ContextOptions {
|
|
263
|
-
partialMatch?: boolean;
|
|
264
|
-
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Attachment } from "./attachment.model";
|
|
2
|
-
import { AutocompleteGroupReplaceData, AutocompleteReplaceData, AutocompleteUserContactReplaceData } from "./autocomplete.data.model";
|
|
3
|
-
import { ReactionAnnotation } from "./reaction-annotation.data.model";
|
|
4
2
|
import { RecordedData } from "./recorder.model";
|
|
5
3
|
import { User } from "./user.data.model";
|
|
6
4
|
export declare class Comment {
|
|
@@ -10,7 +8,6 @@ export declare class Comment {
|
|
|
10
8
|
* Auto generated.
|
|
11
9
|
*/
|
|
12
10
|
commentId: number;
|
|
13
|
-
context?: any;
|
|
14
11
|
/**
|
|
15
12
|
* This determines the comment content type.
|
|
16
13
|
*
|
|
@@ -21,12 +18,7 @@ export declare class Comment {
|
|
|
21
18
|
* Comment Text.
|
|
22
19
|
*
|
|
23
20
|
*/
|
|
24
|
-
commentText
|
|
25
|
-
/**
|
|
26
|
-
* To check if comment text is available.
|
|
27
|
-
*/
|
|
28
|
-
isCommentTextAvailable?: boolean;
|
|
29
|
-
isCommentResolverUsed?: boolean;
|
|
21
|
+
commentText: string;
|
|
30
22
|
/**
|
|
31
23
|
* Same comment text in HTML.
|
|
32
24
|
*
|
|
@@ -61,7 +53,6 @@ export declare class Comment {
|
|
|
61
53
|
* Auto generated.
|
|
62
54
|
*/
|
|
63
55
|
lastUpdated?: Date;
|
|
64
|
-
createdAt?: any;
|
|
65
56
|
status: 'added' | 'updated';
|
|
66
57
|
/**
|
|
67
58
|
* List of attachments.
|
|
@@ -72,20 +63,4 @@ export declare class Comment {
|
|
|
72
63
|
*/
|
|
73
64
|
recorders: RecordedData[];
|
|
74
65
|
reactionAnnotationIds: string[];
|
|
75
|
-
taggedUserContacts: AutocompleteUserContactReplaceData[];
|
|
76
|
-
customList: AutocompleteReplaceData[];
|
|
77
|
-
toOrganizationUserGroup: AutocompleteGroupReplaceData[];
|
|
78
|
-
isDraft?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Timestamp when the comment annotation was edited.
|
|
81
|
-
*
|
|
82
|
-
* Auto generated.
|
|
83
|
-
*/
|
|
84
|
-
editedAt?: any;
|
|
85
|
-
/**
|
|
86
|
-
* To check if comment annotation is edited.
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
isEdited?: boolean;
|
|
90
|
-
reactionAnnotations?: ReactionAnnotation[];
|
|
91
66
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { FirebaseOptions } from "@angular/fire/app";
|
|
2
1
|
import { FeatureType } from "../../utils/enums";
|
|
3
2
|
export declare class Config {
|
|
4
3
|
/**
|
|
@@ -43,26 +42,4 @@ export declare class Config {
|
|
|
43
42
|
* prefers-color-scheme media query to set the global theme of our components.
|
|
44
43
|
*/
|
|
45
44
|
usePrefersColorScheme?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* To enable/disable advanced queries.
|
|
48
|
-
*
|
|
49
|
-
* Default: false
|
|
50
|
-
*/
|
|
51
|
-
advancedQueriesDisabled?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* The domain of the API proxy.
|
|
54
|
-
*/
|
|
55
|
-
apiProxyDomain?: string;
|
|
56
|
-
}
|
|
57
|
-
export interface ExtendedFirebaseOptions extends FirebaseOptions {
|
|
58
|
-
storeDbId: string;
|
|
59
|
-
region?: string;
|
|
60
|
-
}
|
|
61
|
-
export interface AdvancedQueries {
|
|
62
|
-
advancedQueriesEnabled: boolean;
|
|
63
|
-
advancedQueriesEnabledTime: number;
|
|
64
|
-
}
|
|
65
|
-
export interface DisableLogsConfig {
|
|
66
|
-
warnings?: boolean;
|
|
67
|
-
suppressAll?: boolean;
|
|
68
45
|
}
|
|
@@ -7,19 +7,4 @@ 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;
|
|
25
10
|
}
|
|
@@ -75,10 +75,6 @@ export declare class CursorUser {
|
|
|
75
75
|
* This is the color on the avatar border and live cursor, if these features are enabled.
|
|
76
76
|
*/
|
|
77
77
|
color?: string;
|
|
78
|
-
/**
|
|
79
|
-
* This is the color on the avatar text.
|
|
80
|
-
*/
|
|
81
|
-
textColor?: string;
|
|
82
78
|
/**
|
|
83
79
|
* Server Timestamp.
|
|
84
80
|
*
|
|
@@ -119,5 +115,4 @@ export declare class CursorUser {
|
|
|
119
115
|
*/
|
|
120
116
|
isAnonymous?: boolean;
|
|
121
117
|
pageInfo: PageInfo;
|
|
122
|
-
initial?: string;
|
|
123
118
|
}
|
|
@@ -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 {
|
|
@@ -11,14 +11,6 @@ export declare class DocumentIAM {
|
|
|
11
11
|
* The document access type
|
|
12
12
|
*/
|
|
13
13
|
documentAccessType: DocumentAccessType;
|
|
14
|
-
/**
|
|
15
|
-
* The access type of the document when document is inside organization
|
|
16
|
-
*/
|
|
17
|
-
accessType: DocumentAccessType;
|
|
18
|
-
/**
|
|
19
|
-
* Flag to indicate if the document is disabled
|
|
20
|
-
*/
|
|
21
|
-
disabled: boolean;
|
|
22
14
|
/**
|
|
23
15
|
* Features
|
|
24
16
|
*/
|
|
@@ -6,34 +6,10 @@ 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;
|
|
17
|
-
/**
|
|
18
|
-
* API key
|
|
19
|
-
*/
|
|
20
|
-
apiKey?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Organization id
|
|
23
|
-
*/
|
|
24
|
-
organizationId?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Client organization id
|
|
27
|
-
*/
|
|
28
|
-
clientOrganizationId?: string;
|
|
29
9
|
/**
|
|
30
10
|
* Document id provided by client
|
|
31
11
|
*/
|
|
32
12
|
clientDocumentId?: string | number;
|
|
33
|
-
/**
|
|
34
|
-
* Document name
|
|
35
|
-
*/
|
|
36
|
-
documentName?: string;
|
|
37
13
|
/**
|
|
38
14
|
* Page metadata
|
|
39
15
|
*/
|
|
@@ -48,8 +24,4 @@ export declare class DocumentMetadata {
|
|
|
48
24
|
* Document creator
|
|
49
25
|
*/
|
|
50
26
|
creator?: User;
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}
|
|
53
|
-
export interface DocumentMetadatas {
|
|
54
|
-
[documentId: string]: DocumentMetadata;
|
|
55
27
|
}
|
|
@@ -3,20 +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
|
-
folder?: string;
|
|
11
6
|
/**
|
|
12
7
|
* Presence path.
|
|
13
8
|
*/
|
|
14
9
|
presence?: string;
|
|
15
|
-
/**
|
|
16
|
-
* User config path.
|
|
17
|
-
*/
|
|
18
|
-
userConfig?: string;
|
|
19
|
-
docs?: string;
|
|
20
10
|
/**
|
|
21
11
|
* Cursor path.
|
|
22
12
|
*/
|
|
@@ -33,42 +23,14 @@ export declare class DocumentPaths {
|
|
|
33
23
|
* Comment path.
|
|
34
24
|
*/
|
|
35
25
|
comment?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Multi thread path.
|
|
38
|
-
*/
|
|
39
|
-
multiThread?: string;
|
|
40
26
|
/**
|
|
41
27
|
* Huddle path.
|
|
42
28
|
*/
|
|
43
29
|
audioHuddle?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Heartbeat path.
|
|
46
|
-
*/
|
|
47
|
-
heartbeat?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Heartbeat by document path.
|
|
50
|
-
*/
|
|
51
|
-
heartbeatByDocument?: string;
|
|
52
30
|
/**
|
|
53
31
|
* Document Id provided by the user.
|
|
54
32
|
*/
|
|
55
33
|
clientDocumentId?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Organization Id.
|
|
58
|
-
*/
|
|
59
|
-
organizationId?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Client organization Id.
|
|
62
|
-
*/
|
|
63
|
-
clientOrganizationId?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Organization metadata path.
|
|
66
|
-
*/
|
|
67
|
-
organizationMetadata?: string;
|
|
68
|
-
/**
|
|
69
|
-
* Organization groups path.
|
|
70
|
-
*/
|
|
71
|
-
organizationGroups?: string;
|
|
72
34
|
/**
|
|
73
35
|
* Group contacts path.
|
|
74
36
|
*/
|
|
@@ -81,10 +43,6 @@ export declare class DocumentPaths {
|
|
|
81
43
|
* User login path.
|
|
82
44
|
*/
|
|
83
45
|
logins?: string;
|
|
84
|
-
/**
|
|
85
|
-
* CRDT path.
|
|
86
|
-
*/
|
|
87
|
-
crdt?: string;
|
|
88
46
|
/**
|
|
89
47
|
* Selection path.
|
|
90
48
|
*/
|
|
@@ -108,11 +66,7 @@ export declare class DocumentPaths {
|
|
|
108
66
|
/**
|
|
109
67
|
* IAM (Identity and Access Management) path.
|
|
110
68
|
*/
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Organization IAM (Identity and Access Management) path.
|
|
114
|
-
*/
|
|
115
|
-
organizationIam?: string;
|
|
69
|
+
iam?: string;
|
|
116
70
|
/**
|
|
117
71
|
* Document IAM (Identity and Access Management) path.
|
|
118
72
|
*/
|
|
@@ -144,8 +98,4 @@ export declare class DocumentPaths {
|
|
|
144
98
|
customerMetadata?: string;
|
|
145
99
|
views?: string;
|
|
146
100
|
notifications?: string;
|
|
147
|
-
organizationNotifications?: string;
|
|
148
|
-
organizationNotificationsWithDocumentId?: string;
|
|
149
|
-
organizationNotificationsUsers?: string;
|
|
150
|
-
organizationNotificationsLastNotificationTimestamp?: string;
|
|
151
101
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HuddleType } from "../../utils/enums";
|
|
2
1
|
import { User } from "./user.data.model";
|
|
3
2
|
export declare class Attendee extends User {
|
|
4
3
|
state?: {
|
|
@@ -13,7 +12,7 @@ export declare class Attendee extends User {
|
|
|
13
12
|
screenSharing?: boolean;
|
|
14
13
|
};
|
|
15
14
|
streamMetadata?: any;
|
|
16
|
-
initialHuddleType?:
|
|
15
|
+
initialHuddleType?: 'audio' | 'video' | 'presentation';
|
|
17
16
|
huddleOnCursorMode?: boolean;
|
|
18
17
|
}
|
|
19
18
|
export declare class Message {
|
|
@@ -11,12 +11,11 @@ export declare class LiveStateDataMap {
|
|
|
11
11
|
*/
|
|
12
12
|
default?: {
|
|
13
13
|
singleEditor?: SingleEditorLiveStateData;
|
|
14
|
-
autoSyncState?:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
[liveStateDataId: string]: LiveStateData;
|
|
14
|
+
autoSyncState?: {
|
|
15
|
+
current?: LiveStateData;
|
|
16
|
+
history?: {
|
|
17
|
+
[liveStateDataId: string]: LiveStateData;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
21
20
|
};
|
|
22
21
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { SingleEditorState, SingleEditorStatus } from "../../utils/enums";
|
|
2
|
-
import { ErrorEvent } from "./core-events.data.model";
|
|
3
1
|
import { User } from "./user.data.model";
|
|
4
2
|
export declare class LiveStateData {
|
|
5
3
|
/**
|
|
@@ -19,20 +17,13 @@ export declare class LiveStateData {
|
|
|
19
17
|
lastUpdated: any;
|
|
20
18
|
updatedBy: User;
|
|
21
19
|
tabId?: string | null;
|
|
22
|
-
isDataStringified?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare class SetLiveStateDataConfig {
|
|
25
|
-
/**
|
|
26
|
-
* To merge data with existing data.
|
|
27
|
-
*/
|
|
28
|
-
merge?: boolean;
|
|
29
20
|
}
|
|
30
21
|
export declare class SingleEditorLiveStateData {
|
|
31
22
|
editor?: User | null;
|
|
32
23
|
requestEditorAccess?: {
|
|
33
24
|
user: User;
|
|
34
25
|
requestedAt: any;
|
|
35
|
-
status:
|
|
26
|
+
status: 'pending' | 'accepted' | 'rejected' | 'cancelled';
|
|
36
27
|
editorAccessTimeout: number;
|
|
37
28
|
tabId?: string | null;
|
|
38
29
|
} | null;
|
|
@@ -64,35 +55,9 @@ export declare class EditorAccessTimer {
|
|
|
64
55
|
/**
|
|
65
56
|
* The time when the editor access was requested.
|
|
66
57
|
*/
|
|
67
|
-
state:
|
|
58
|
+
state: 'idle' | 'inProgress' | 'completed';
|
|
68
59
|
/**
|
|
69
60
|
* Duration left for the editor access timer to be completed.
|
|
70
61
|
*/
|
|
71
62
|
durationLeft?: number;
|
|
72
63
|
}
|
|
73
|
-
export declare class LiveStateDataConfig {
|
|
74
|
-
listenToNewChangesOnly?: boolean;
|
|
75
|
-
}
|
|
76
|
-
export interface SetUserAsEditorResponse {
|
|
77
|
-
error?: ErrorEvent;
|
|
78
|
-
}
|
|
79
|
-
export interface LiveStateSingleEditorExternalUserPresence {
|
|
80
|
-
/**
|
|
81
|
-
* True if the same user is present on different tab.
|
|
82
|
-
*/
|
|
83
|
-
sameUserPresentOnTab?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* True if the different user is present on different tab.
|
|
86
|
-
*/
|
|
87
|
-
differentUserPresentOnTab?: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* User ids of the users present on different tab.
|
|
90
|
-
*/
|
|
91
|
-
userIds?: string[];
|
|
92
|
-
}
|
|
93
|
-
export interface FetchLiveStateDataRequest {
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier to identify the state data you are syncing.
|
|
96
|
-
*/
|
|
97
|
-
liveStateDataId?: string;
|
|
98
|
-
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BaseMetadata } from "./base-metadata.data.model";
|
|
2
1
|
import { Location } from "./location.model";
|
|
3
2
|
import { PageInfo } from "./page-info.model";
|
|
4
3
|
export declare class LocationMetadata {
|
|
@@ -6,10 +5,6 @@ export declare class LocationMetadata {
|
|
|
6
5
|
* Unique location id generated from client location information
|
|
7
6
|
*/
|
|
8
7
|
locationId?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Location id generated from velt location information
|
|
11
|
-
*/
|
|
12
|
-
veltLocationId?: string;
|
|
13
8
|
/**
|
|
14
9
|
* Location object provided by a client
|
|
15
10
|
*/
|
|
@@ -18,13 +13,4 @@ export declare class LocationMetadata {
|
|
|
18
13
|
* Page metadata
|
|
19
14
|
*/
|
|
20
15
|
pageInfo?: PageInfo;
|
|
21
|
-
/**
|
|
22
|
-
* Location metadata
|
|
23
|
-
*/
|
|
24
|
-
metadata?: BaseMetadata;
|
|
25
|
-
}
|
|
26
|
-
export interface LocationMetadatas {
|
|
27
|
-
[documentId: string]: {
|
|
28
|
-
[locationId: string]: LocationMetadata;
|
|
29
|
-
};
|
|
30
16
|
}
|
|
@@ -2,13 +2,10 @@ export declare class MediaPreviewConfig {
|
|
|
2
2
|
audio?: {
|
|
3
3
|
enabled?: boolean;
|
|
4
4
|
deviceId?: string;
|
|
5
|
-
stream?: MediaStream;
|
|
6
5
|
};
|
|
7
6
|
video?: {
|
|
8
7
|
enabled?: boolean;
|
|
9
8
|
deviceId?: string;
|
|
10
|
-
track?: MediaStreamTrack;
|
|
11
|
-
stream?: MediaStream;
|
|
12
9
|
};
|
|
13
10
|
screen?: {
|
|
14
11
|
enabled?: boolean;
|