@veltdev/sdk 1.0.56 → 1.0.58

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.
@@ -0,0 +1,15 @@
1
+ export declare class CustomerMetadata {
2
+ customBranding?: CustomBranding;
3
+ }
4
+ export declare class CustomBranding {
5
+ logo?: {
6
+ logoMark?: {
7
+ lightUrl?: string;
8
+ darkUrl?: string;
9
+ };
10
+ wordMark?: {
11
+ lightUrl?: string;
12
+ darkUrl?: string;
13
+ };
14
+ };
15
+ }
@@ -95,4 +95,5 @@ export declare class DocumentPaths {
95
95
  liveState?: string;
96
96
  liveStateSingleEditorMode?: string;
97
97
  reaction?: string;
98
+ customerMetadata?: string;
98
99
  }
@@ -1,4 +1,4 @@
1
- import { AreaStatus, ArrowStatus, CommentStatus, TagStatus } from "../../utils/enums";
1
+ import { AreaStatus, ArrowStatus, CommentStatus, 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 { UserContactUs } from "./user-contact-us.data.model";
@@ -11,11 +11,11 @@ export declare class Notification {
11
11
  /**
12
12
  * Source of a notification
13
13
  */
14
- notificationSource?: 'area' | 'arrow' | 'comment' | 'tag' | 'huddle' | 'userInvite' | 'recorder' | 'huddleInvite' | 'userFeedback' | 'userContactUs' | 'userReportBug';
14
+ notificationSource?: 'area' | 'arrow' | 'comment' | 'tag' | 'huddle' | 'userInvite' | 'user' | 'recorder' | 'huddleInvite' | 'userFeedback' | 'userContactUs' | 'userReportBug';
15
15
  /**
16
16
  * Type of notification like 'Added', 'Updated' etc.
17
17
  */
18
- actionType?: AreaStatus | ArrowStatus | CommentStatus | TagStatus;
18
+ actionType?: AreaStatus | ArrowStatus | CommentStatus | TagStatus | UserActionTypes;
19
19
  /**
20
20
  * Annotation object
21
21
  */
@@ -35,7 +35,33 @@ export declare class Notification {
35
35
  documentUser?: DocumentUser;
36
36
  oldAccess?: string;
37
37
  newAccess?: string;
38
+ platform?: 'sf' | 'sdk';
38
39
  userFeedback?: UserFeedback;
39
40
  userReportBug?: UserReportBug;
40
41
  userContactUs?: UserContactUs;
42
+ userInvite?: {
43
+ admin?: {
44
+ emails: string[];
45
+ emailProperties: {
46
+ url?: string;
47
+ message?: string;
48
+ };
49
+ };
50
+ helper?: {
51
+ emails: string[];
52
+ emailProperties: {
53
+ url?: string;
54
+ message?: string;
55
+ };
56
+ };
57
+ commenter?: {
58
+ clientDocumentId: string;
59
+ documentId: string;
60
+ emails: string[];
61
+ emailProperties: {
62
+ url?: string;
63
+ message?: string;
64
+ };
65
+ };
66
+ };
41
67
  }
@@ -574,26 +574,6 @@ export declare class CommentElement {
574
574
  * To disable scroll to comment component.
575
575
  */
576
576
  public disableScrollToComponent: () => void;
577
-
578
- /**
579
- * To add comment at page level.
580
- */
581
- public addCommentOnPage(): void;
582
-
583
- /**
584
- * To open page level comment.
585
- */
586
- public openCommentOnPage(): void;
587
-
588
- /**
589
- * To close page level comment.
590
- */
591
- public closeCommentOnPage(): void;
592
-
593
- /**
594
- * To toggle page level comment.
595
- */
596
- public toggleCommentOnPage(): void;
597
577
  constructor();
598
578
  /**
599
579
  * Subscribe to comments on the current document.
@@ -1161,24 +1141,4 @@ export declare class CommentElement {
1161
1141
  * To disable scroll to comment component.
1162
1142
  */
1163
1143
  private _disableScrollToComponent;
1164
-
1165
- /**
1166
- * To add comment at page level.
1167
- */
1168
- private _addCommentOnPage;
1169
-
1170
- /**
1171
- * To open page level comment.
1172
- */
1173
- private _openCommentOnPage;
1174
-
1175
- /**
1176
- * To close page level comment.
1177
- */
1178
- private _closeCommentOnPage;
1179
-
1180
- /**
1181
- * To toggle page level comment.
1182
- */
1183
- private _toggleCommentOnPage;
1184
1144
  }
@@ -33,6 +33,7 @@ export declare class Constants {
33
33
  static FIREBASE_PARTIAL_PATH_FEEDBACK: string;
34
34
  static FIREBASE_PARTIAL_PATH_BUGS: string;
35
35
  static FIREBASE_PARTIAL_PATH_CONTACT_US: string;
36
+ static FIREBASE_PARTIAL_PATH_CUSTOMER_METADATA: string;
36
37
  static PRESENCE_STATUS_ONLINE: string;
37
38
  static PRESENCE_STATUS_OFFLINE: string;
38
39
  static PRESENCE_STATUS_AWAY: string;
@@ -348,6 +349,13 @@ export declare class Constants {
348
349
  description: string;
349
350
  };
350
351
  };
352
+ static DocumentAccessTypeMapSF: {
353
+ [key: string]: {
354
+ id: string;
355
+ name: string;
356
+ description: string;
357
+ };
358
+ };
351
359
  static CommentCategoryMap: {
352
360
  [categoryId: string]: {
353
361
  id: string;
@@ -35,6 +35,10 @@ export declare enum TagStatus {
35
35
  APPROVED = "approved",
36
36
  RESOLVED = "resolved"
37
37
  }
38
+ export declare enum UserActionTypes {
39
+ INVITE = "invite",
40
+ REMOVE = "remove"
41
+ }
38
42
  export declare enum RecorderStatus {
39
43
  ADDED = "added",
40
44
  UPDATED = "updated",
package/models.d.ts CHANGED
@@ -43,3 +43,4 @@ export * from './app/models/data/user-role.data.model';
43
43
  export * from './app/models/data/user.data.model';
44
44
  export * from './app/models/data/workspace-iam.data.model';
45
45
  export * from './app/models/data/flock-options.model';
46
+ export * from './app/models/data/customer-metadata.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.56",
3
+ "version": "1.0.58",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {