@veltdev/sdk-staging 4.0.0-beta.113 → 4.0.0-beta.13

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.
@@ -8,7 +8,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
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
- import { UnreadCommentsCount, TransformContext } from "../data/comment-utils.data.model";
11
+ import { UnreadCommentsCount } from "../data/comment-utils.data.model";
12
12
  export declare class CommentElement {
13
13
  /**
14
14
  * Subscribe to comments on the current document.
@@ -1073,21 +1073,6 @@ export declare class CommentElement {
1073
1073
  */
1074
1074
  public disableReadOnly: () => void;
1075
1075
 
1076
- /**
1077
- * To enable custom autocomplete search
1078
- */
1079
- public enableCustomAutocompleteSearch: () => void;
1080
-
1081
- /**
1082
- * To disable custom autocomplete search
1083
- */
1084
- public disableCustomAutocompleteSearch: () => void;
1085
-
1086
- /**
1087
- * To set transform context
1088
- */
1089
- public setTransformContext: (transformContext: TransformContext) => void;
1090
-
1091
1076
  constructor();
1092
1077
  /**
1093
1078
  * Subscribe to comments on the current document.
@@ -2142,19 +2127,4 @@ export declare class CommentElement {
2142
2127
  * To disable read only
2143
2128
  */
2144
2129
  private _disableReadOnly;
2145
-
2146
- /**
2147
- * To enable custom autocomplete search
2148
- */
2149
- private _enableCustomAutocompleteSearch;
2150
-
2151
- /**
2152
- * To disable custom autocomplete search
2153
- */
2154
- private _disableCustomAutocompleteSearch;
2155
-
2156
- /**
2157
- * To set transform context
2158
- */
2159
- private _setTransformContext;
2160
2130
  }
@@ -1,7 +1,6 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse } from "../data/recorder-annotation.data.model";
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
 
@@ -21,7 +20,6 @@ export declare class RecorderElement {
21
20
 
22
21
  /**
23
22
  * To get recording data by recorder id
24
- * @deprecated Use getRecordingData() method instead
25
23
  */
26
24
  getRecordingDataByRecorderId: (recorderId: string) => Observable<RecorderData | null>;
27
25
 
@@ -35,16 +33,6 @@ export declare class RecorderElement {
35
33
  */
36
34
  disableRecordingTranscription: () => void;
37
35
 
38
- /**
39
- * Subscribe to recorder actions
40
- */
41
- public on: <T extends keyof RecorderEventTypesMap>(action: T) => Observable<RecorderEventTypesMap[T]>;
42
-
43
- /**
44
- * To get recording data by recorder ids
45
- */
46
- getRecordingData: (query: RecorderRequestQuery) => Promise<GetRecordingDataResponse>;
47
-
48
36
  constructor();
49
37
 
50
38
  private _initRecording;
@@ -63,7 +51,6 @@ export declare class RecorderElement {
63
51
 
64
52
  /**
65
53
  * To get recording data by recorder id
66
- * @deprecated Use getRecordingData() method instead
67
54
  */
68
55
  private _getRecordingDataByRecorderId;
69
56
 
@@ -76,14 +63,4 @@ export declare class RecorderElement {
76
63
  * To disable recording transcription
77
64
  */
78
65
  private _disableRecordingTranscription;
79
-
80
- /**
81
- * Subscribe to recorder actions
82
- */
83
- private _on;
84
-
85
- /**
86
- * To get recording data by recorder ids
87
- */
88
- private _getRecordingData;
89
66
  }
@@ -8,13 +8,10 @@ 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;
17
- static FIREBASE_PARTIAL_PATH_FOLDER_USERS: string;
18
15
  static FIREBASE_PARTIAL_PATH_DOCUMENT_USERS: string;
19
16
  static FIREBASE_PARTIAL_PATH_CURSOR: string;
20
17
  static FIREBASE_PARTIAL_PATH_ARROW: string;
@@ -245,7 +242,6 @@ export declare class Constants {
245
242
  VELT_COMMENT_DIALOG_BODY_THREAD_CARD: string;
246
243
  VELT_COMMENT_DIALOG_PRIVATE_BANNER: string;
247
244
  VELT_COMMENT_COMPOSER: string;
248
- VELT_SKELETON_LOADER: string;
249
245
  VELT_SHADOW_DOM_INTERNAL: string;
250
246
  };
251
247
  static ATTRIBUTES: {
@@ -256,7 +252,6 @@ export declare class Constants {
256
252
  TARGET_ELEMENT_ID: string;
257
253
  VELT_ID: string;
258
254
  VELT_ELEMENT: string;
259
- VELT_SCREEN_RECORDER_PANEL: string;
260
255
  VELT_SOURCE_ID: string;
261
256
  VELT_ANNOTATION_ID: string;
262
257
  VELT_ANNOTATION_IDS: string;
@@ -41,17 +41,11 @@ export declare const CommentEventTypes: {
41
41
  readonly TOGGLE_REACTION: "toggleReaction";
42
42
  readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
43
43
  readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
44
- readonly AUTOCOMPLETE_SEARCH: "autocompleteSearch";
45
- readonly COMPOSER_CLICKED: "composerClicked";
46
- };
47
- export declare const RecorderEventTypes: {
48
- readonly TRANSCRIPTION_DONE: "transcriptionDone";
49
44
  };
50
45
  export declare const CoreEventTypes: {
51
46
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
52
47
  };
53
48
  export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
54
- export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
55
49
  export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
56
50
  export declare enum TagStatus {
57
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';
@@ -18,7 +17,6 @@ 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
19
  export * from './app/models/data/document.data.model';
21
- export * from './app/models/data/document-events.data.model';
22
20
  export * from './app/models/data/document-iam.data.model';
23
21
  export * from './app/models/data/document-metadata.model';
24
22
  export * from './app/models/data/document-paths.data.model';
@@ -30,14 +28,12 @@ export * from './app/models/data/localstorage.data.model';
30
28
  export * from './app/models/data/location-metadata.model';
31
29
  export * from './app/models/data/location.model';
32
30
  export * from './app/models/data/media-preview-config.data.model';
33
- export * from './app/models/data/multi-thread.data.model';
34
31
  export * from './app/models/data/notification.model';
35
32
  export * from './app/models/data/page-info.model';
36
33
  export * from './app/models/data/permission.data.model';
37
34
  export * from './app/models/data/presence-user.data.model';
38
35
  export * from './app/models/data/recorder.model';
39
36
  export * from './app/models/data/recorder-annotation.data.model';
40
- export * from './app/models/data/recorder-events.data.model';
41
37
  export * from './app/models/data/rewriter-annotation.data.model';
42
38
  export * from './app/models/data/screen-size.data.model';
43
39
  export * from './app/models/data/selection.model';
@@ -66,4 +62,3 @@ export * from './app/models/data/organization-groups.data.model';
66
62
  export * from './app/models/data/organization-metadata.model';
67
63
  export * from './app/models/data/user-organization.data.model';
68
64
  export * from './app/models/data/event-metadata.data.model';
69
- 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-beta.113",
3
+ "version": "4.0.0-beta.13",
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": [