@veltdev/sdk 4.0.0-beta.2 → 4.0.0-beta.21

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.
@@ -27,6 +27,7 @@ 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
29
  import { Document, SetDocumentsRequestOptions } from "../models/data/document.data.model";
30
+ import { UserDataProvider } from "../models/data/user-resolver.data.model";
30
31
  export declare class Snippyly {
31
32
  constructor();
32
33
  initConfig: (apiKey: string, config?: Config) => void;
@@ -57,6 +58,14 @@ export declare class Snippyly {
57
58
  * To unset the document id
58
59
  */
59
60
  unsetDocumentId: () => void;
61
+ /**
62
+ * To unset the documents
63
+ */
64
+ unsetDocuments: () => void;
65
+ /**
66
+ * To set the user data provider.
67
+ */
68
+ setUserDataProvider: (userDataProvider: UserDataProvider) => void;
60
69
  /**
61
70
  * Get Document ID
62
71
  */
@@ -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
+ }
@@ -5,7 +5,9 @@ import { AddAttachmentResponse } from "./comment-actions.data.model";
5
5
  import { CommentAnnotation, UpdateContextConfig } from "./comment-annotation.data.model";
6
6
  import { Comment } from "./comment.data.model";
7
7
  import { CustomPriority, CustomStatus } from "./custom-filter.data.model";
8
+ import { DocumentMetadata } from "./document-metadata.model";
8
9
  import { VeltEventMetadata } from "./event-metadata.data.model";
10
+ import { FolderMetadata } from "./folder-metadata.model";
9
11
  import { Location } from "./location.model";
10
12
  import { ReactionAnnotation } from "./reaction-annotation.data.model";
11
13
  import { RecordedData } from "./recorder.model";
@@ -126,15 +128,22 @@ 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;
136
+ }
137
+ export interface FetchDocumentsResponse {
138
+ data: Record<string, DocumentMetadata[]> | null;
139
+ nextPageToken: string;
140
+ }
141
+ export interface FetchFoldersResponse {
142
+ data: Record<string, FolderMetadata[]> | null;
143
+ nextPageToken: string;
135
144
  }
136
145
  export interface GetCommentAnnotationsCountResponse {
137
- data: Record<string, CommentAnnotationsCount>;
146
+ data: Record<string, CommentAnnotationsCount> | null;
138
147
  }
139
148
  export interface CommentAnnotationsCount {
140
149
  unread: number;
@@ -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;
@@ -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,23 @@ 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;
8
27
  }
@@ -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,16 @@
1
+ import { RecorderEventTypes } from "../../utils/enums";
2
+ export interface TranscriptionDoneEvent {
3
+ transcription: string;
4
+ id?: string;
5
+ tag?: string;
6
+ type?: string;
7
+ thumbnailUrl?: string;
8
+ thumbnailWithPlayIconUrl?: string;
9
+ videoUrl?: string;
10
+ audioUrl?: string;
11
+ videoPlayerUrl?: string;
12
+ getThumbnailTag?: (url?: string) => string;
13
+ }
14
+ export type RecorderEventTypesMap = {
15
+ [RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
16
+ };
@@ -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,7 +7,7 @@ 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";
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
11
  import { UnreadCommentsCount } from "../data/comment-utils.data.model";
12
12
  export declare class CommentElement {
13
13
  /**
@@ -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
@@ -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
 
@@ -33,6 +34,16 @@ export declare class RecorderElement {
33
34
  */
34
35
  disableRecordingTranscription: () => void;
35
36
 
37
+ /**
38
+ * Subscribe to recorder actions
39
+ */
40
+ public on: <T extends keyof RecorderEventTypesMap>(action: T) => Observable<RecorderEventTypesMap[T]>;
41
+
42
+ /**
43
+ * To get recording data by recorder ids
44
+ */
45
+ getRecordingData: (query: RecorderRequestQuery) => Promise<GetRecordingDataResponse>;
46
+
36
47
  constructor();
37
48
 
38
49
  private _initRecording;
@@ -63,4 +74,14 @@ export declare class RecorderElement {
63
74
  * To disable recording transcription
64
75
  */
65
76
  private _disableRecordingTranscription;
77
+
78
+ /**
79
+ * Subscribe to recorder actions
80
+ */
81
+ private _on;
82
+
83
+ /**
84
+ * To get recording data by recorder ids
85
+ */
86
+ private _getRecordingData;
66
87
  }
@@ -8,7 +8,9 @@ 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;
@@ -242,6 +244,7 @@ export declare class Constants {
242
244
  VELT_COMMENT_DIALOG_BODY_THREAD_CARD: string;
243
245
  VELT_COMMENT_DIALOG_PRIVATE_BANNER: string;
244
246
  VELT_COMMENT_COMPOSER: string;
247
+ VELT_SKELETON_LOADER: string;
245
248
  VELT_SHADOW_DOM_INTERNAL: string;
246
249
  };
247
250
  static ATTRIBUTES: {
@@ -252,6 +255,7 @@ export declare class Constants {
252
255
  TARGET_ELEMENT_ID: string;
253
256
  VELT_ID: string;
254
257
  VELT_ELEMENT: string;
258
+ VELT_SCREEN_RECORDER_PANEL: string;
255
259
  VELT_SOURCE_ID: string;
256
260
  VELT_ANNOTATION_ID: string;
257
261
  VELT_ANNOTATION_IDS: string;
@@ -42,10 +42,14 @@ export declare const CommentEventTypes: {
42
42
  readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
43
43
  readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
44
44
  };
45
+ export declare const RecorderEventTypes: {
46
+ readonly TRANSCRIPTION_DONE: "transcriptionDone";
47
+ };
45
48
  export declare const CoreEventTypes: {
46
49
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
47
50
  };
48
51
  export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
52
+ export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
49
53
  export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
50
54
  export declare enum TagStatus {
51
55
  ADDED = "added",