@veltdev/types-dev 3.0.215 → 3.0.217

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.
@@ -4,6 +4,7 @@ import { CommentAnnotation } from "./comment-annotation.data.model";
4
4
  import { Comment } from "./comment.data.model";
5
5
  import { CustomPriority, CustomStatus } from "./custom-filter.data.model";
6
6
  import { ReactionItem } from "./reaction-annotation.data.model";
7
+ import { User } from "./user.data.model";
7
8
  export declare class ActionOptions {
8
9
  organizationId?: string;
9
10
  documentId?: string;
@@ -58,6 +59,7 @@ export declare class DeleteCommentAnnotationConfig {
58
59
  export declare class AddCommentConfig {
59
60
  annotationId: string;
60
61
  comment: Comment;
62
+ assignedTo?: User;
61
63
  options?: ActionOptions;
62
64
  }
63
65
  export declare class UpdateCommentConfig {
@@ -34,10 +34,6 @@ export interface CommentSuggestionEventData {
34
34
  replaceContentText?: string;
35
35
  annotation?: any;
36
36
  }
37
- export interface AddReactionEvent {
38
- }
39
- export interface DeleteReactionEvent {
40
- }
41
37
  export interface AddAttachmentEvent {
42
38
  attachments: AddAttachmentResponse[];
43
39
  }
@@ -7,6 +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 { AcceptCommentAnnotationConfig, AddAttachmentConfig, AddAttachmentResponse, AddCommentAnnotationConfig, AddCommentConfig, AddReactionConfig, ApproveCommentAnnotationConfig, CopyLinkConfig, DeleteAttachmentConfig, DeleteCommentAnnotationConfig, DeleteCommentConfig, DeleteReactionConfig, DeleteRecordingConfig, GetAttachmentConfig, GetCommentConfig, GetLinkConfig, GetRecordingConfig, RejectCommentAnnotationConfig, ResolveCommentAnnotationConfig, ToggleReactionConfig, UpdateAccessConfig, UpdateCommentConfig, UpdatePriorityConfig, UpdateStatusConfig } from "../data/comment-actions.data.model";
10
11
  export declare class CommentElement {
11
12
  /**
12
13
  * Subscribe to comments on the current document.
@@ -912,6 +913,115 @@ export declare class CommentElement {
912
913
  */
913
914
  public disableShortUserName: () => void;
914
915
 
916
+ /**
917
+ * To add comment annotation
918
+ */
919
+ public addCommentAnnotation: (config: AddCommentAnnotationConfig) => any;
920
+
921
+ /**
922
+ * To approve comment annotation
923
+ */
924
+ public approveCommentAnnotation: (config: ApproveCommentAnnotationConfig) => any;
925
+
926
+ /**
927
+ * To accept comment annotation
928
+ */
929
+ public acceptCommentAnnotation: (config: AcceptCommentAnnotationConfig) => any;
930
+
931
+ /**
932
+ * To reject comment annotation
933
+ */
934
+ public rejectCommentAnnotation: (config: RejectCommentAnnotationConfig) => any;
935
+
936
+ /**
937
+ * To delete comment annotation
938
+ */
939
+ public deleteCommentAnnotation: (config: DeleteCommentAnnotationConfig) => any;
940
+
941
+ /**
942
+ * To update priority
943
+ */
944
+ public updatePriority: (config: UpdatePriorityConfig) => any;
945
+
946
+ /**
947
+ * To update status
948
+ */
949
+ public updateStatus: (config: UpdateStatusConfig) => any;
950
+
951
+ /**
952
+ * To update access
953
+ */
954
+ public updateAccess: (config: UpdateAccessConfig) => any;
955
+
956
+ /**
957
+ * To resolve comment annotation
958
+ */
959
+ public resolveCommentAnnotation: (config: ResolveCommentAnnotationConfig) => any;
960
+
961
+ /**
962
+ * To get link
963
+ */
964
+ public getLink: (config: GetLinkConfig) => GetLinkEvent | null;
965
+
966
+ /**
967
+ * To copy link
968
+ */
969
+ public copyLink: (config: CopyLinkConfig) => CopyLinkEvent | null;
970
+
971
+ /**
972
+ * To add comment
973
+ */
974
+ public addComment: (config: AddCommentConfig) => any;
975
+
976
+ /**
977
+ * To update comment
978
+ */
979
+ public updateComment: (config: UpdateCommentConfig) => any;
980
+
981
+ /**
982
+ * To delete comment
983
+ */
984
+ public deleteComment: (config: DeleteCommentConfig) => any;
985
+
986
+ /**
987
+ * To get attachment
988
+ */
989
+ public getAttachment: (config: GetAttachmentConfig) => Attachment[];
990
+
991
+ /**
992
+ * To delete attachment
993
+ */
994
+ public deleteAttachment: (config: DeleteAttachmentConfig) => any;
995
+
996
+ /**
997
+ * To get recording
998
+ */
999
+ public getRecording: (config: GetRecordingConfig) => RecordedData[];
1000
+
1001
+ /**
1002
+ * To delete recording
1003
+ */
1004
+ public deleteRecording: (config: DeleteRecordingConfig) => any;
1005
+
1006
+ /**
1007
+ * To add reaction
1008
+ */
1009
+ public addReaction: (config: AddReactionConfig) => Promise<any>;
1010
+
1011
+ /**
1012
+ * To delete reaction
1013
+ */
1014
+ public deleteReaction: (config: DeleteReactionConfig) => Promise<any>;
1015
+
1016
+ /**
1017
+ * To toggle reaction
1018
+ */
1019
+ public toggleReaction: (config: ToggleReactionConfig) => Promise<any>;
1020
+
1021
+ /**
1022
+ * Subscribe to comment actions
1023
+ */
1024
+ public on: (action: CommentActionTypes) => Observable<any>;
915
1025
  constructor();
916
1026
  /**
917
1027
  * Subscribe to comments on the current document.
@@ -1809,4 +1919,121 @@ export declare class CommentElement {
1809
1919
  * To disable short user name
1810
1920
  */
1811
1921
  private _disableShortUserName;
1922
+
1923
+ // actions
1924
+
1925
+ /**
1926
+ * To add comment annotation
1927
+ */
1928
+ private _addCommentAnnotation;
1929
+
1930
+ /**
1931
+ * To approve comment annotation
1932
+ */
1933
+ private _approveCommentAnnotation;
1934
+
1935
+ /**
1936
+ * To accept comment annotation
1937
+ */
1938
+ private _acceptCommentAnnotation;
1939
+
1940
+ /**
1941
+ * To reject comment annotation
1942
+ */
1943
+ private _rejectCommentAnnotation;
1944
+
1945
+ /**
1946
+ * To delete comment annotation
1947
+ */
1948
+ private _deleteCommentAnnotation;
1949
+
1950
+ /**
1951
+ * To update priority
1952
+ */
1953
+ private _updatePriority;
1954
+
1955
+ /**
1956
+ * To update status
1957
+ */
1958
+ private _updateStatus;
1959
+
1960
+ /**
1961
+ * To update access
1962
+ */
1963
+ private _updateAccess;
1964
+
1965
+ /**
1966
+ * To resolve comment annotation
1967
+ */
1968
+ private _resolveCommentAnnotation;
1969
+
1970
+ /**
1971
+ * To get link
1972
+ */
1973
+ private _getLink;
1974
+
1975
+ /**
1976
+ * To copy link
1977
+ */
1978
+ private _copyLink;
1979
+
1980
+ /**
1981
+ * To add comment
1982
+ */
1983
+ private _addComment;
1984
+
1985
+ /**
1986
+ * To update comment
1987
+ */
1988
+ private _updateComment;
1989
+
1990
+ /**
1991
+ * To delete comment
1992
+ */
1993
+ private _deleteComment;
1994
+
1995
+ /**
1996
+ * To add attachment
1997
+ */
1998
+ private _addAttachment;
1999
+
2000
+ /**
2001
+ * To delete attachment
2002
+ */
2003
+ private _deleteAttachment;
2004
+
2005
+ /**
2006
+ * To get attachment
2007
+ */
2008
+ private _getAttachment;
2009
+
2010
+ /**
2011
+ * To delete recording
2012
+ */
2013
+ private _deleteRecording;
2014
+
2015
+ /**
2016
+ * To get recording
2017
+ */
2018
+ private _getRecording;
2019
+
2020
+ /**
2021
+ * To add reaction
2022
+ */
2023
+ private _addReaction;
2024
+
2025
+ /**
2026
+ * To delete reaction
2027
+ */
2028
+ private _deleteReaction;
2029
+
2030
+ /**
2031
+ * To toggle reaction
2032
+ */
2033
+ private _toggleReaction;
2034
+
2035
+ /**
2036
+ * Subscribe to comment actions
2037
+ */
2038
+ private _on;
1812
2039
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "3.0.215",
3
+ "version": "3.0.217",
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": [