@veltdev/sdk 1.0.55 → 1.0.57

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.
@@ -155,6 +155,7 @@ export declare class CommentAnnotation {
155
155
  */
156
156
  context?: any;
157
157
  iam: CommentIAMConfig;
158
+ isPageAnnotation?: boolean;
158
159
  }
159
160
  export declare class GhostComment {
160
161
  targetElement?: TargetElement | null;
@@ -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
  }
@@ -33,6 +33,10 @@ export declare class User {
33
33
  * It could be a domain name or any identifier you use to cluster a group of users who work together.
34
34
  */
35
35
  groupId?: string;
36
+ /**
37
+ * Original groupId provided by the user.
38
+ */
39
+ clientGroupId?: string;
36
40
  /**
37
41
  * Auto generated unique user id that is linked with your app's user ID.
38
42
  * This is needed by us for internal processing.
@@ -348,6 +348,13 @@ export declare class Constants {
348
348
  description: string;
349
349
  };
350
350
  };
351
+ static DocumentAccessTypeMapSF: {
352
+ [key: string]: {
353
+ id: string;
354
+ name: string;
355
+ description: string;
356
+ };
357
+ };
351
358
  static CommentCategoryMap: {
352
359
  [categoryId: string]: {
353
360
  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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {