@veltdev/sdk-staging 4.0.0-beta.98 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/client/snippyly.model.d.ts +0 -14
- package/app/models/data/base-metadata.data.model.d.ts +0 -2
- package/app/models/data/comment-actions.data.model.d.ts +5 -24
- package/app/models/data/comment-events.data.model.d.ts +9 -19
- package/app/models/data/config.data.model.d.ts +0 -1
- package/app/models/data/document-metadata.model.d.ts +0 -8
- package/app/models/data/event-metadata.data.model.d.ts +3 -3
- package/app/models/data/notification.model.d.ts +0 -16
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -6
- package/app/models/element/comment-element.model.d.ts +28 -48
- package/app/models/element/recorder-element.model.d.ts +1 -22
- package/app/utils/constants.d.ts +0 -4
- package/app/utils/enums.d.ts +0 -4
- package/models.d.ts +0 -5
- package/package.json +1 -1
- package/velt.js +2 -2
- package/app/models/data/arrow-annotation.data.model.d.ts +0 -51
- package/app/models/data/document.data.model.d.ts +0 -27
- package/app/models/data/folder-metadata.model.d.ts +0 -40
- package/app/models/data/multi-thread.data.model.d.ts +0 -61
- package/app/models/data/recorder-events.data.model.d.ts +0 -16
- package/app/models/data/user-resolver.data.model.d.ts +0 -5
|
@@ -26,8 +26,6 @@ import { DocumentMetadata } from "../models/data/document-metadata.model";
|
|
|
26
26
|
import { ReactionElement } from "../models/element/reaction-element.model";
|
|
27
27
|
import { VeltEventMetadata } from "../models/data/event-metadata.data.model";
|
|
28
28
|
import { CoreEventTypesMap } from "../models/data/core-events.data.model";
|
|
29
|
-
import { Document, SetDocumentsRequestOptions } from "../models/data/document.data.model";
|
|
30
|
-
import { UserDataProvider } from "../models/data/user-resolver.data.model";
|
|
31
29
|
export declare class Snippyly {
|
|
32
30
|
constructor();
|
|
33
31
|
initConfig: (apiKey: string, config?: Config) => void;
|
|
@@ -50,22 +48,10 @@ export declare class Snippyly {
|
|
|
50
48
|
* @param id unique document ID
|
|
51
49
|
*/
|
|
52
50
|
setDocumentId: (id: string) => void;
|
|
53
|
-
/**
|
|
54
|
-
* To set multiple documents
|
|
55
|
-
*/
|
|
56
|
-
setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
|
|
57
51
|
/**
|
|
58
52
|
* To unset the document id
|
|
59
53
|
*/
|
|
60
54
|
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;
|
|
69
55
|
/**
|
|
70
56
|
* Get Document ID
|
|
71
57
|
*/
|
|
@@ -9,10 +9,8 @@ import { User } from "./user.data.model";
|
|
|
9
9
|
export interface RequestOptions {
|
|
10
10
|
organizationId?: string;
|
|
11
11
|
documentId?: string;
|
|
12
|
-
folderId?: string;
|
|
13
12
|
filters?: any;
|
|
14
13
|
documentIds?: string[];
|
|
15
|
-
allDocuments?: boolean;
|
|
16
14
|
}
|
|
17
15
|
export interface UpdatePriorityRequest {
|
|
18
16
|
annotationId: string;
|
|
@@ -61,13 +59,11 @@ export interface DeleteCommentAnnotationRequest {
|
|
|
61
59
|
annotationId: string;
|
|
62
60
|
options?: RequestOptions;
|
|
63
61
|
}
|
|
64
|
-
export interface
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
allDocuments?: boolean;
|
|
70
|
-
locationId?: string;
|
|
62
|
+
export interface GetCommentAnnotationRequest {
|
|
63
|
+
options?: RequestOptions;
|
|
64
|
+
}
|
|
65
|
+
export interface GetCommentAnnotationsCountRequest {
|
|
66
|
+
options?: RequestOptions;
|
|
71
67
|
}
|
|
72
68
|
export interface SubscribeCommentAnnotationRequest {
|
|
73
69
|
annotationId: string;
|
|
@@ -166,18 +162,3 @@ export interface ToggleReactionRequest {
|
|
|
166
162
|
};
|
|
167
163
|
options?: RequestOptions;
|
|
168
164
|
}
|
|
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,9 +5,7 @@ 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";
|
|
9
8
|
import { VeltEventMetadata } from "./event-metadata.data.model";
|
|
10
|
-
import { FolderMetadata } from "./folder-metadata.model";
|
|
11
9
|
import { Location } from "./location.model";
|
|
12
10
|
import { ReactionAnnotation } from "./reaction-annotation.data.model";
|
|
13
11
|
import { RecordedData } from "./recorder.model";
|
|
@@ -128,26 +126,18 @@ export interface DeleteCommentAnnotationEvent {
|
|
|
128
126
|
commentAnnotation: CommentAnnotation;
|
|
129
127
|
metadata: VeltEventMetadata;
|
|
130
128
|
}
|
|
131
|
-
export interface
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
export interface FetchCommentAnnotationsResponse extends GetCommentAnnotationsResponse {
|
|
135
|
-
nextPageToken: string;
|
|
136
|
-
}
|
|
137
|
-
export interface FetchDocumentsResponse {
|
|
138
|
-
data: Record<string, DocumentMetadata[]> | null;
|
|
139
|
-
nextPageToken: string;
|
|
129
|
+
export interface GetCommentAnnotationEvent {
|
|
130
|
+
commentAnnotations: CommentAnnotation[];
|
|
131
|
+
metadata: VeltEventMetadata;
|
|
140
132
|
}
|
|
141
|
-
export interface
|
|
142
|
-
|
|
143
|
-
nextPageToken: string;
|
|
133
|
+
export interface GetCommentAnnotationResponse {
|
|
134
|
+
[documentId: string]: CommentAnnotation[];
|
|
144
135
|
}
|
|
145
136
|
export interface GetCommentAnnotationsCountResponse {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
total: number;
|
|
137
|
+
[documentId: string]: {
|
|
138
|
+
total: number;
|
|
139
|
+
unread: number;
|
|
140
|
+
};
|
|
151
141
|
}
|
|
152
142
|
export interface SubscribeCommentAnnotationEvent {
|
|
153
143
|
annotationId: string;
|
|
@@ -6,14 +6,6 @@ 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
9
|
/**
|
|
18
10
|
* API key
|
|
19
11
|
*/
|
|
@@ -2,7 +2,7 @@ import { DocumentMetadata } from "./document-metadata.model";
|
|
|
2
2
|
import { Location } from "./location.model";
|
|
3
3
|
import { OrganizationMetadata } from "./organization-metadata.model";
|
|
4
4
|
export interface VeltEventMetadata {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
organizationMetadata?: OrganizationMetadata | null;
|
|
6
|
+
documentMetadata?: DocumentMetadata | null;
|
|
7
|
+
location?: Location | null;
|
|
8
8
|
}
|
|
@@ -88,11 +88,6 @@ 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
|
-
};
|
|
96
91
|
customData?: any;
|
|
97
92
|
notifyUsers?: {
|
|
98
93
|
[email: string]: boolean;
|
|
@@ -132,17 +127,6 @@ export declare class Notification {
|
|
|
132
127
|
* Notification body message
|
|
133
128
|
*/
|
|
134
129
|
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
|
-
};
|
|
146
130
|
/**
|
|
147
131
|
* Display message template
|
|
148
132
|
*/
|
|
@@ -164,10 +164,4 @@ 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
|
-
}
|
|
173
167
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig, UpdateContextConfig } from "../data/comment-annotation.data.model";
|
|
4
|
-
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent
|
|
4
|
+
import { AcceptCommentAnnotationEvent, AddCommentAnnotationEvent, AddCommentEvent, AddReactionEvent, ApproveCommentAnnotationEvent, CommentAddEventData, CommentEventTypesMap, CommentUpdateEventData, CopyLinkEvent, DeleteAttachmentEvent, DeleteCommentAnnotationEvent, DeleteCommentEvent, DeleteReactionEvent, DeleteRecordingEvent, GetLinkEvent, RejectCommentAnnotationEvent, ToggleReactionEvent, UpdateAccessEvent, UpdateCommentEvent, UpdatePriorityEvent, UpdateStatusEvent } from "../data/comment-events.data.model";
|
|
5
5
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
6
6
|
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
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,
|
|
10
|
+
import { AcceptCommentAnnotationRequest, AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationRequest, AddCommentRequest, AddReactionRequest, ApproveCommentAnnotationRequest, AssignUserRequest, AssignUserEvent, CopyLinkRequest, DeleteAttachmentRequest, DeleteCommentAnnotationRequest, 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,132 @@ export declare class CommentElement {
|
|
|
921
921
|
/**
|
|
922
922
|
* To add comment annotation
|
|
923
923
|
*/
|
|
924
|
-
public addCommentAnnotation: (
|
|
924
|
+
public addCommentAnnotation: (config: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
|
|
925
925
|
|
|
926
926
|
/**
|
|
927
927
|
* To approve comment annotation
|
|
928
928
|
*/
|
|
929
|
-
public approveCommentAnnotation: (
|
|
929
|
+
public approveCommentAnnotation: (config: ApproveCommentAnnotationRequest) => Promise<ApproveCommentAnnotationEvent | null>;
|
|
930
930
|
|
|
931
931
|
/**
|
|
932
932
|
* To accept comment annotation
|
|
933
933
|
*/
|
|
934
|
-
public acceptCommentAnnotation: (
|
|
934
|
+
public acceptCommentAnnotation: (config: AcceptCommentAnnotationRequest) => Promise<AcceptCommentAnnotationEvent | null>;
|
|
935
935
|
|
|
936
936
|
/**
|
|
937
937
|
* To reject comment annotation
|
|
938
938
|
*/
|
|
939
|
-
public rejectCommentAnnotation: (
|
|
939
|
+
public rejectCommentAnnotation: (config: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
|
|
940
940
|
|
|
941
941
|
/**
|
|
942
942
|
* To subscribe comment annotation
|
|
943
943
|
*/
|
|
944
|
-
public subscribeCommentAnnotation: (
|
|
944
|
+
public subscribeCommentAnnotation: (config: SubscribeCommentAnnotationRequest) => Promise<SubscribeCommentAnnotationEvent | null>;
|
|
945
945
|
|
|
946
946
|
/**
|
|
947
947
|
* To unsubscribe comment annotation
|
|
948
948
|
*/
|
|
949
|
-
public unsubscribeCommentAnnotation: (
|
|
949
|
+
public unsubscribeCommentAnnotation: (config: UnsubscribeCommentAnnotationRequest) => Promise<UnsubscribeCommentAnnotationEvent | null>;
|
|
950
950
|
|
|
951
951
|
/**
|
|
952
952
|
* To delete comment annotation
|
|
953
953
|
*/
|
|
954
|
-
public deleteCommentAnnotation: (
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* To get comment annotations
|
|
958
|
-
*/
|
|
959
|
-
public getCommentAnnotations: (query?: CommentRequestQuery) => Observable<GetCommentAnnotationsResponse>;
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
* To get comment annotations count
|
|
963
|
-
*/
|
|
964
|
-
public getCommentAnnotationsCount: (query?: CommentRequestQuery) => Observable<GetCommentAnnotationsCountResponse>;
|
|
954
|
+
public deleteCommentAnnotation: (config: DeleteCommentAnnotationRequest) => Promise<DeleteCommentAnnotationEvent | null>;
|
|
965
955
|
|
|
966
956
|
/**
|
|
967
957
|
* To assign user to comment annotation
|
|
968
958
|
*/
|
|
969
|
-
public assignUser: (
|
|
959
|
+
public assignUser: (config: AssignUserRequest) => Promise<AssignUserEvent | null>;
|
|
970
960
|
|
|
971
961
|
/**
|
|
972
962
|
* To update priority
|
|
973
963
|
*/
|
|
974
|
-
public updatePriority: (
|
|
964
|
+
public updatePriority: (config: UpdatePriorityRequest) => Promise<UpdatePriorityEvent | null>;
|
|
975
965
|
|
|
976
966
|
/**
|
|
977
967
|
* To update status
|
|
978
968
|
*/
|
|
979
|
-
public updateStatus: (
|
|
969
|
+
public updateStatus: (config: UpdateStatusRequest) => Promise<UpdateStatusEvent | null>;
|
|
980
970
|
|
|
981
971
|
/**
|
|
982
972
|
* To update access
|
|
983
973
|
*/
|
|
984
|
-
public updateAccess: (
|
|
974
|
+
public updateAccess: (config: UpdateAccessRequest) => Promise<UpdateAccessEvent | null>;
|
|
985
975
|
|
|
986
976
|
/**
|
|
987
977
|
* To resolve comment annotation
|
|
988
978
|
*/
|
|
989
|
-
public resolveCommentAnnotation: (
|
|
979
|
+
public resolveCommentAnnotation: (config: ResolveCommentAnnotationRequest) => Promise<any>;
|
|
990
980
|
|
|
991
981
|
/**
|
|
992
982
|
* To get link
|
|
993
983
|
*/
|
|
994
|
-
public getLink: (
|
|
984
|
+
public getLink: (config: GetLinkRequest) => Promise<GetLinkEvent | null>;
|
|
995
985
|
|
|
996
986
|
/**
|
|
997
987
|
* To copy link
|
|
998
988
|
*/
|
|
999
|
-
public copyLink: (
|
|
989
|
+
public copyLink: (config: CopyLinkRequest) => Promise<CopyLinkEvent | null>;
|
|
1000
990
|
|
|
1001
991
|
/**
|
|
1002
992
|
* To add comment
|
|
1003
993
|
*/
|
|
1004
|
-
public addComment: (
|
|
994
|
+
public addComment: (config: AddCommentRequest) => Promise<AddCommentEvent | null>;
|
|
1005
995
|
|
|
1006
996
|
/**
|
|
1007
997
|
* To update comment
|
|
1008
998
|
*/
|
|
1009
|
-
public updateComment: (
|
|
999
|
+
public updateComment: (config: UpdateCommentRequest) => Promise<UpdateCommentEvent | null>;
|
|
1010
1000
|
|
|
1011
1001
|
/**
|
|
1012
1002
|
* To delete comment
|
|
1013
1003
|
*/
|
|
1014
|
-
public deleteComment: (
|
|
1004
|
+
public deleteComment: (config: DeleteCommentRequest) => Promise<DeleteCommentEvent | null>;
|
|
1015
1005
|
|
|
1016
1006
|
/**
|
|
1017
1007
|
* To get comment
|
|
1018
1008
|
*/
|
|
1019
|
-
public getComment: (
|
|
1009
|
+
public getComment: (config: GetCommentRequest) => Promise<Comment[]>;
|
|
1020
1010
|
|
|
1021
1011
|
/**
|
|
1022
1012
|
* To add attachment
|
|
1023
1013
|
*/
|
|
1024
|
-
public addAttachment: (
|
|
1014
|
+
public addAttachment: (config: AddAttachmentRequest) => Promise<AddAttachmentResponse[]>;
|
|
1025
1015
|
|
|
1026
1016
|
/**
|
|
1027
1017
|
* To get attachment
|
|
1028
1018
|
*/
|
|
1029
|
-
public getAttachment: (
|
|
1019
|
+
public getAttachment: (config: GetAttachmentRequest) => Promise<Attachment[]>;
|
|
1030
1020
|
|
|
1031
1021
|
/**
|
|
1032
1022
|
* To delete attachment
|
|
1033
1023
|
*/
|
|
1034
|
-
public deleteAttachment: (
|
|
1024
|
+
public deleteAttachment: (config: DeleteAttachmentRequest) => Promise<DeleteAttachmentEvent | null>;
|
|
1035
1025
|
|
|
1036
1026
|
/**
|
|
1037
1027
|
* To get recording
|
|
1038
1028
|
*/
|
|
1039
|
-
public getRecording: (
|
|
1029
|
+
public getRecording: (config: GetRecordingRequest) => Promise<RecordedData[]>;
|
|
1040
1030
|
|
|
1041
1031
|
/**
|
|
1042
1032
|
* To delete recording
|
|
1043
1033
|
*/
|
|
1044
|
-
public deleteRecording: (
|
|
1034
|
+
public deleteRecording: (config: DeleteRecordingRequest) => Promise<DeleteRecordingEvent | null>;
|
|
1045
1035
|
|
|
1046
1036
|
/**
|
|
1047
1037
|
* To add reaction
|
|
1048
1038
|
*/
|
|
1049
|
-
public addReaction: (
|
|
1039
|
+
public addReaction: (config: AddReactionRequest) => Promise<AddReactionEvent | null>;
|
|
1050
1040
|
|
|
1051
1041
|
/**
|
|
1052
1042
|
* To delete reaction
|
|
1053
1043
|
*/
|
|
1054
|
-
public deleteReaction: (
|
|
1044
|
+
public deleteReaction: (config: DeleteReactionRequest) => Promise<DeleteReactionEvent | null>;
|
|
1055
1045
|
|
|
1056
1046
|
/**
|
|
1057
1047
|
* To toggle reaction
|
|
1058
1048
|
*/
|
|
1059
|
-
public toggleReaction: (
|
|
1049
|
+
public toggleReaction: (config: ToggleReactionRequest) => Promise<ToggleReactionEvent | null>;
|
|
1060
1050
|
|
|
1061
1051
|
/**
|
|
1062
1052
|
* Subscribe to comment actions
|
|
@@ -2008,16 +1998,6 @@ export declare class CommentElement {
|
|
|
2008
1998
|
*/
|
|
2009
1999
|
private _deleteCommentAnnotation;
|
|
2010
2000
|
|
|
2011
|
-
/**
|
|
2012
|
-
* To get comment annotations
|
|
2013
|
-
*/
|
|
2014
|
-
private _getCommentAnnotations;
|
|
2015
|
-
|
|
2016
|
-
/**
|
|
2017
|
-
* To get comment annotations count
|
|
2018
|
-
*/
|
|
2019
|
-
private _getCommentAnnotationsCount;
|
|
2020
|
-
|
|
2021
2001
|
/**
|
|
2022
2002
|
* To assign user to comment annotation
|
|
2023
2003
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import { RecorderData
|
|
4
|
-
import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
|
|
3
|
+
import { RecorderData } from "../data/recorder-annotation.data.model";
|
|
5
4
|
|
|
6
5
|
export declare class RecorderElement {
|
|
7
6
|
|
|
@@ -34,16 +33,6 @@ export declare class RecorderElement {
|
|
|
34
33
|
*/
|
|
35
34
|
disableRecordingTranscription: () => void;
|
|
36
35
|
|
|
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
|
-
|
|
47
36
|
constructor();
|
|
48
37
|
|
|
49
38
|
private _initRecording;
|
|
@@ -74,14 +63,4 @@ export declare class RecorderElement {
|
|
|
74
63
|
* To disable recording transcription
|
|
75
64
|
*/
|
|
76
65
|
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;
|
|
87
66
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -8,9 +8,7 @@ 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;
|
|
12
11
|
static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
|
|
13
|
-
static FIREBASE_PARTIAL_PATH_FOLDERS: string;
|
|
14
12
|
static FIREBASE_PARTIAL_PATH_DOCS: string;
|
|
15
13
|
static FIREBASE_PARTIAL_PATH_PRESENCE: string;
|
|
16
14
|
static FIREBASE_PARTIAL_PATH_ORGANIZATION_USERS: string;
|
|
@@ -244,7 +242,6 @@ export declare class Constants {
|
|
|
244
242
|
VELT_COMMENT_DIALOG_BODY_THREAD_CARD: string;
|
|
245
243
|
VELT_COMMENT_DIALOG_PRIVATE_BANNER: string;
|
|
246
244
|
VELT_COMMENT_COMPOSER: string;
|
|
247
|
-
VELT_SKELETON_LOADER: string;
|
|
248
245
|
VELT_SHADOW_DOM_INTERNAL: string;
|
|
249
246
|
};
|
|
250
247
|
static ATTRIBUTES: {
|
|
@@ -255,7 +252,6 @@ export declare class Constants {
|
|
|
255
252
|
TARGET_ELEMENT_ID: string;
|
|
256
253
|
VELT_ID: string;
|
|
257
254
|
VELT_ELEMENT: string;
|
|
258
|
-
VELT_SCREEN_RECORDER_PANEL: string;
|
|
259
255
|
VELT_SOURCE_ID: string;
|
|
260
256
|
VELT_ANNOTATION_ID: string;
|
|
261
257
|
VELT_ANNOTATION_IDS: string;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -42,14 +42,10 @@ 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
|
-
};
|
|
48
45
|
export declare const CoreEventTypes: {
|
|
49
46
|
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
50
47
|
};
|
|
51
48
|
export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
|
|
52
|
-
export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
|
|
53
49
|
export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
|
|
54
50
|
export declare enum TagStatus {
|
|
55
51
|
ADDED = "added",
|
package/models.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './app/utils/enums';
|
|
2
2
|
export * from './app/models/data/attachment.model';
|
|
3
3
|
export * from './app/models/data/area-annotation.data.model';
|
|
4
|
-
export * from './app/models/data/arrow-annotation.data.model';
|
|
5
4
|
export * from './app/models/data/base-metadata.data.model';
|
|
6
5
|
export * from './app/models/data/button.data.model';
|
|
7
6
|
export * from './app/models/data/chatgpt.data.model';
|
|
@@ -17,7 +16,6 @@ export * from './app/models/data/cursor-user.data.model';
|
|
|
17
16
|
export * from './app/models/data/custom-css.data.model';
|
|
18
17
|
export * from './app/models/data/custom-chip-dropdown.data.model';
|
|
19
18
|
export * from './app/models/data/device-info.model';
|
|
20
|
-
export * from './app/models/data/document.data.model';
|
|
21
19
|
export * from './app/models/data/document-iam.data.model';
|
|
22
20
|
export * from './app/models/data/document-metadata.model';
|
|
23
21
|
export * from './app/models/data/document-paths.data.model';
|
|
@@ -29,14 +27,12 @@ export * from './app/models/data/localstorage.data.model';
|
|
|
29
27
|
export * from './app/models/data/location-metadata.model';
|
|
30
28
|
export * from './app/models/data/location.model';
|
|
31
29
|
export * from './app/models/data/media-preview-config.data.model';
|
|
32
|
-
export * from './app/models/data/multi-thread.data.model';
|
|
33
30
|
export * from './app/models/data/notification.model';
|
|
34
31
|
export * from './app/models/data/page-info.model';
|
|
35
32
|
export * from './app/models/data/permission.data.model';
|
|
36
33
|
export * from './app/models/data/presence-user.data.model';
|
|
37
34
|
export * from './app/models/data/recorder.model';
|
|
38
35
|
export * from './app/models/data/recorder-annotation.data.model';
|
|
39
|
-
export * from './app/models/data/recorder-events.data.model';
|
|
40
36
|
export * from './app/models/data/rewriter-annotation.data.model';
|
|
41
37
|
export * from './app/models/data/screen-size.data.model';
|
|
42
38
|
export * from './app/models/data/selection.model';
|
|
@@ -65,4 +61,3 @@ export * from './app/models/data/organization-groups.data.model';
|
|
|
65
61
|
export * from './app/models/data/organization-metadata.model';
|
|
66
62
|
export * from './app/models/data/user-organization.data.model';
|
|
67
63
|
export * from './app/models/data/event-metadata.data.model';
|
|
68
|
-
export * from './app/models/data/user-resolver.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|