@veltdev/sdk-staging 4.5.0-beta.18 → 4.5.0-beta.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.
@@ -164,10 +164,6 @@ export declare class CommentAnnotation {
164
164
  * Custom context data provided by the user
165
165
  */
166
166
  context?: any;
167
- /**
168
- * Context id generated from context data
169
- */
170
- contextId?: string;
171
167
  iam: CommentIAMConfig;
172
168
  isPageAnnotation?: boolean;
173
169
  targetInlineCommentElementId?: string;
@@ -248,6 +244,3 @@ export declare class CommentAnnotationSubscribedGroups {
248
244
  export declare class UpdateContextConfig {
249
245
  merge?: boolean;
250
246
  }
251
- export interface ContextOptions {
252
- partialMatch?: boolean;
253
- }
@@ -10,7 +10,6 @@ declare class FilterTypeConfig {
10
10
  }
11
11
  export declare class CommentSidebarFilterConfig {
12
12
  location?: FilterTypeConfig;
13
- document?: FilterTypeConfig;
14
13
  people?: FilterTypeConfig;
15
14
  assigned?: FilterTypeConfig;
16
15
  tagged?: FilterTypeConfig;
@@ -26,10 +25,6 @@ export declare class CommentSidebarGroupConfig {
26
25
  }
27
26
  export declare class CommentSidebarFilters {
28
27
  location?: Location[];
29
- document?: {
30
- id?: string;
31
- documentName?: string;
32
- }[];
33
28
  people?: {
34
29
  userId?: string;
35
30
  email?: string;
@@ -49,10 +49,6 @@ export declare class Config {
49
49
  * Default: false
50
50
  */
51
51
  advancedQueriesDisabled?: boolean;
52
- /**
53
- * The domain of the API proxy.
54
- */
55
- apiProxyDomain?: string;
56
52
  }
57
53
  export interface ExtendedFirebaseOptions extends FirebaseOptions {
58
54
  storeDbId: string;
@@ -7,10 +7,6 @@ export declare class DocumentPaths {
7
7
  * Presence path.
8
8
  */
9
9
  presence?: string;
10
- /**
11
- * User config path.
12
- */
13
- userConfig?: string;
14
10
  docs?: string;
15
11
  /**
16
12
  * Cursor path.
@@ -1,4 +1,4 @@
1
- import { AreaStatus, ArrowStatus, CommentStatus, HuddleActionTypes, NotificationSettingsItemType, NotificationSource, TagStatus, UserActionTypes } from "../../utils/enums";
1
+ import { AreaStatus, ArrowStatus, CommentStatus, HuddleActionTypes, NotificationSource, TagStatus, UserActionTypes } from "../../utils/enums";
2
2
  import { DocumentMetadata } from "./document-metadata.model";
3
3
  import { DocumentUser } from "./document-user.data.model";
4
4
  import { Location } from "./location.model";
@@ -230,22 +230,3 @@ export declare class NotificationTabConfig {
230
230
  all?: NotificationTabConfigItem;
231
231
  people?: NotificationTabConfigItem;
232
232
  }
233
- export declare class NotificationInitialSettingsConfig {
234
- name?: string;
235
- id: string;
236
- default?: string;
237
- enable?: boolean;
238
- values?: NotificationConfigValue[];
239
- }
240
- export declare class NotificationConfigValue {
241
- name?: string;
242
- id: NotificationSettingsItemType;
243
- }
244
- export declare class NotificationSettingsConfig {
245
- [key: string]: NotificationSettingsItemType;
246
- }
247
- export interface NotificationsDocConfig {
248
- inbox: 'ALL' | 'NONE' | 'MINE';
249
- email: 'ALL' | 'NONE' | 'MINE';
250
- [key: string]: string;
251
- }
@@ -3,14 +3,6 @@ import { PresenceUser } from "./presence-user.data.model";
3
3
  export interface PresenceMultipleUsersOnlineEvent {
4
4
  users: PresenceUser[];
5
5
  }
6
- export interface PresenceUserStateChangeEvent {
7
- user: PresenceUser;
8
- state: string;
9
- }
10
6
  export type PresenceEventTypesMap = {
11
7
  [PresenceEventTypes.MULTIPLE_USERS_ONLINE]: PresenceMultipleUsersOnlineEvent;
12
- [PresenceEventTypes.USER_STATE_CHANGE]: PresenceUserStateChangeEvent;
13
8
  };
14
- export interface GetPresenceDataResponse {
15
- data: PresenceUser[] | null;
16
- }
@@ -180,8 +180,6 @@ export interface RecorderBoundedScaleRange {
180
180
  centerY?: number;
181
181
  topLeftX?: number;
182
182
  topLeftY?: number;
183
- topLeftXPixels?: number;
184
- topLeftYPixels?: number;
185
183
  }
186
184
  export interface RecorderEditRange {
187
185
  trimRanges: RecorderBoundedTrimRange[];
@@ -215,7 +213,6 @@ declare class RecorderDataAsset {
215
213
  */
216
214
  fileFormat?: RecorderFileFormat;
217
215
  thumbnailUrl?: string;
218
- transcription: RecorderDataTranscription;
219
216
  }
220
217
  export declare class RecorderData {
221
218
  recorderId: string;
@@ -233,6 +230,4 @@ export interface GetRecordingDataResponse {
233
230
  }
234
231
  export interface GetRecordingsResponse extends RecorderData {
235
232
  }
236
- export interface DeleteRecordingsResponse extends RecorderData {
237
- }
238
233
  export {};
@@ -8,16 +8,6 @@ export interface RecordingDeleteEvent extends RecorderData {
8
8
  }
9
9
  export interface RecordingEditDoneEvent extends RecorderData {
10
10
  }
11
- export interface RecordingErrorEvent {
12
- type: string;
13
- message: string;
14
- recorderId?: string;
15
- }
16
- export interface RecordingSaveInitiatedEvent {
17
- annotationId?: string;
18
- message: string;
19
- type: 'edit' | 'record';
20
- }
21
11
  export type RecorderEventTypesMap = {
22
12
  [RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
23
13
  [RecorderEventTypes.RECORDING_DONE]: RecordingDoneEvent;
@@ -93,15 +93,3 @@ export declare class RecordedData {
93
93
  };
94
94
  getThumbnailTag: (url?: string) => string;
95
95
  }
96
- export declare class RecorderQualityConstraintsOptions {
97
- video?: MediaTrackConstraints;
98
- audio?: MediaTrackConstraints;
99
- }
100
- export declare class RecorderQualityConstraints {
101
- safari?: RecorderQualityConstraintsOptions;
102
- other?: RecorderQualityConstraintsOptions;
103
- }
104
- export declare class RecorderEncodingOptions {
105
- safari?: MediaRecorderOptions;
106
- other?: MediaRecorderOptions;
107
- }
@@ -1140,17 +1140,6 @@ export declare class CommentElement {
1140
1140
  * To disable draft mode
1141
1141
  */
1142
1142
  public disableDraftMode: () => void;
1143
-
1144
- /**
1145
- * To enable filter comments on dom
1146
- */
1147
- public enableFilterCommentsOnDom: () => void;
1148
-
1149
- /**
1150
- * To disable filter comments on dom
1151
- */
1152
- public disableFilterCommentsOnDom: () => void;
1153
-
1154
1143
  constructor();
1155
1144
  /**
1156
1145
  * Subscribe to comments on the current document.
@@ -2271,14 +2260,4 @@ export declare class CommentElement {
2271
2260
  * To disable draft mode
2272
2261
  */
2273
2262
  private _disableDraftMode;
2274
-
2275
- /**
2276
- * To enable filter comments on dom
2277
- */
2278
- private _enableFilterCommentsOnDom;
2279
-
2280
- /**
2281
- * To disable filter comments on dom
2282
- */
2283
- private _disableFilterCommentsOnDom;
2284
2263
  }
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
2
 
3
- import { Notification, NotificationTabConfig, NotificationSettingsConfig, NotificationInitialSettingsConfig } from "../data/notification.model";
3
+ import { Notification, NotificationTabConfig } from "../data/notification.model";
4
4
 
5
5
  export declare class NotificationElement {
6
6
  /**
@@ -58,36 +58,6 @@ export declare class NotificationElement {
58
58
  */
59
59
  markNotificationAsReadById: (notificationId: string) => void;
60
60
 
61
- /**
62
- * To set settings
63
- */
64
- setSettings: (config: NotificationSettingsConfig) => void;
65
-
66
- /**
67
- * To get settings
68
- */
69
- getSettings: () => NotificationSettingsConfig;
70
-
71
- /**
72
- * To mute all notifications
73
- */
74
- muteAllNotifications: () => void;
75
-
76
- /**
77
- * To enable settings
78
- */
79
- enableSettings: () => void;
80
-
81
- /**
82
- * To disable settings
83
- */
84
- disableSettings: () => void;
85
-
86
- /**
87
- * To set settings initial config
88
- */
89
- setSettingsInitialConfig: (settings: NotificationInitialSettingsConfig[]) => void;
90
-
91
61
  constructor();
92
62
 
93
63
  /**
@@ -144,34 +114,4 @@ export declare class NotificationElement {
144
114
  * To mark notification as read by id
145
115
  */
146
116
  private _markNotificationAsReadById;
147
-
148
- /**
149
- * To set settings
150
- */
151
- private _setSettings;
152
-
153
- /**
154
- * To get settings
155
- */
156
- private _getSettings;
157
-
158
- /**
159
- * To mute all notifications
160
- */
161
- private _muteAllNotifications;
162
-
163
- /**
164
- * To enable settings
165
- */
166
- private _enableSettings;
167
-
168
- /**
169
- * To disable settings
170
- */
171
- private _disableSettings;
172
-
173
- /**
174
- * To set settings initial config
175
- */
176
- private _setSettingsInitialConfig;
177
117
  }
@@ -1,16 +1,13 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
3
  import { PresenceUser } from "../data/presence-user.data.model";
4
- import { GetPresenceDataResponse, PresenceEventTypesMap } from "../data/presence-events.data.model";
5
- import { PresenceRequestQuery } from "../data/presence-actions.data.model";
6
-
4
+ import { PresenceEventTypesMap } from "../data/presence-events.data.model";
7
5
  export declare class PresenceElement {
8
6
 
9
7
  /**
10
8
  * Subscribe to a list of all online users who are either active or inactive on the current document.
11
9
  *
12
10
  * Returns Observable<PresenceUser[] | null>.
13
- * @deprecated This method is deprecated. Use `getData` method instead.
14
11
  */
15
12
  getOnlineUsersOnCurrentDocument: () => Observable<PresenceUser[] | null>;
16
13
 
@@ -41,11 +38,6 @@ export declare class PresenceElement {
41
38
  */
42
39
  disableSelf: () => void;
43
40
 
44
- /**
45
- * To get the presence data
46
- */
47
- getData: (query?: PresenceRequestQuery) => Observable<GetPresenceDataResponse>;
48
-
49
41
  /**
50
42
  * Subscribe to presence events
51
43
  */
@@ -55,7 +47,6 @@ export declare class PresenceElement {
55
47
  * Subscribe to a list of all online users who are either active or inactive on the current document.
56
48
  *
57
49
  * Returns Observable<PresenceUser[] | null>.
58
- * @deprecated This method is deprecated. Use `getData` method instead.
59
50
  */
60
51
  private _getOnlineUsersOnCurrentDocument;
61
52
 
@@ -86,11 +77,6 @@ export declare class PresenceElement {
86
77
  */
87
78
  private _disableSelf;
88
79
 
89
- /**
90
- * To get the presence data
91
- */
92
- private _getData;
93
-
94
80
  /**
95
81
  * Subscribe to presence events
96
82
  */
@@ -1,8 +1,8 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse, DeleteRecordingsResponse } from "../data/recorder-annotation.data.model";
3
+ import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse } from "../data/recorder-annotation.data.model";
4
4
  import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
5
- import { RecordedData, RecorderQualityConstraints, RecorderEncodingOptions } from "../data/recorder.model";
5
+ import { RecordedData } from "../data/recorder.model";
6
6
 
7
7
  export declare class RecorderElement {
8
8
 
@@ -69,26 +69,6 @@ export declare class RecorderElement {
69
69
  */
70
70
  fetchRecordings: (query?: RecorderRequestQuery) => Promise<GetRecordingsResponse[]>;
71
71
 
72
- /**
73
- * To delete recordings
74
- */
75
- deleteRecordings: (query?: RecorderRequestQuery) => Promise<DeleteRecordingsResponse[]>;
76
-
77
- /**
78
- * To set recording quality constraints
79
- */
80
- setRecordingQualityConstraints: (constraints: RecorderQualityConstraints) => void;
81
-
82
- /**
83
- * To set recording encoding options
84
- */
85
- setRecordingEncodingOptions: (options: RecorderEncodingOptions) => void;
86
-
87
- /**
88
- * To download latest video
89
- */
90
- downloadLatestVideo: (recorderId: string) => Promise<boolean>;
91
-
92
72
  constructor();
93
73
 
94
74
  private _initRecording;
@@ -153,24 +133,4 @@ export declare class RecorderElement {
153
133
  * To fetch recordings
154
134
  */
155
135
  private _fetchRecordings;
156
-
157
- /**
158
- * To delete recordings
159
- */
160
- private _deleteRecordings;
161
-
162
- /**
163
- * To set recording quality constraints
164
- */
165
- private _setRecordingQualityConstraints;
166
-
167
- /**
168
- * To set recording encoding options
169
- */
170
- private _setRecordingEncodingOptions;
171
-
172
- /**
173
- * To download latest video
174
- */
175
- private _downloadLatestVideo;
176
136
  }
@@ -12,7 +12,6 @@ export declare class Constants {
12
12
  static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
13
13
  static FIREBASE_PARTIAL_PATH_FOLDERS: string;
14
14
  static FIREBASE_PARTIAL_PATH_DOCS: string;
15
- static FIREBASE_PARTIAL_PATH_DOCUMENT_CONFIGURATIONS: string;
16
15
  static FIREBASE_PARTIAL_PATH_PRESENCE: string;
17
16
  static FIREBASE_PARTIAL_PATH_ORGANIZATION_USERS: string;
18
17
  static FIREBASE_PARTIAL_PATH_FOLDER_USERS: string;
@@ -60,8 +60,6 @@ export declare const RecorderEventTypes: {
60
60
  readonly RECORDING_DONE: "recordingDone";
61
61
  readonly RECORDING_EDIT_DONE: "recordingEditDone";
62
62
  readonly DELETE_RECORDING: "deleteRecording";
63
- readonly ERROR: "error";
64
- readonly RECORDING_SAVE_INITIATED: "recordingSaveInitiated";
65
63
  };
66
64
  export declare const CoreEventTypes: {
67
65
  readonly VELT_BUTTON_CLICK: "veltButtonClick";
@@ -80,17 +78,12 @@ export declare const LiveStateSyncEventTypes: {
80
78
  };
81
79
  export declare const PresenceEventTypes: {
82
80
  readonly MULTIPLE_USERS_ONLINE: "multipleUsersOnline";
83
- readonly USER_STATE_CHANGE: "userStateChange";
84
- };
85
- export declare const NotificationEventTypes: {
86
- readonly SETTINGS_UPDATED: "settingsUpdated";
87
81
  };
88
82
  export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
89
83
  export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
90
84
  export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
91
85
  export type LiveStateSyncEventType = typeof LiveStateSyncEventTypes[keyof typeof LiveStateSyncEventTypes];
92
86
  export type PresenceEventType = typeof PresenceEventTypes[keyof typeof PresenceEventTypes];
93
- export type NotificationEventType = typeof NotificationEventTypes[keyof typeof NotificationEventTypes];
94
87
  export declare enum TagStatus {
95
88
  ADDED = "added",
96
89
  UPDATED = "updated",
@@ -260,7 +253,7 @@ export type ReactionPinType = 'timeline' | 'comment';
260
253
  export type SidebarPosition = 'left' | 'right';
261
254
  export type SidebarSortingCriteria = 'date' | 'unread' | null;
262
255
  export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved';
263
- export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions';
256
+ export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages' | 'statuses' | 'priorities' | 'categories' | 'versions';
264
257
  export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
265
258
  export type NotificationPanelMode = 'popover' | 'sidebar';
266
259
  export type SidebarActionButtonType = 'default' | 'toggle';
@@ -268,11 +261,3 @@ export declare enum CommentSidebarSystemFiltersOperator {
268
261
  AND = "and",
269
262
  OR = "or"
270
263
  }
271
- /**
272
- * Type for notification settings accordion types
273
- */
274
- export type NotificationSettingsAccordionType = 'inbox' | 'email' | string;
275
- /**
276
- * Type for notification settings item options
277
- */
278
- export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
package/models.d.ts CHANGED
@@ -35,11 +35,9 @@ export * from './app/models/data/location.model';
35
35
  export * from './app/models/data/media-preview-config.data.model';
36
36
  export * from './app/models/data/multi-thread.data.model';
37
37
  export * from './app/models/data/notification.model';
38
- export * from './app/models/data/notifications-events.data.model';
39
38
  export * from './app/models/data/page-info.model';
40
39
  export * from './app/models/data/permission.data.model';
41
40
  export * from './app/models/data/presence-user.data.model';
42
- export * from './app/models/data/presence-actions.data.model';
43
41
  export * from './app/models/data/presence-events.data.model';
44
42
  export * from './app/models/data/recorder.model';
45
43
  export * from './app/models/data/recorder-annotation.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "4.5.0-beta.18",
3
+ "version": "4.5.0-beta.2",
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": [