@veltdev/types-dev 1.0.379 → 1.0.381

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.
@@ -97,4 +97,5 @@ export declare class DocumentPaths {
97
97
  reaction?: string;
98
98
  customerMetadata?: string;
99
99
  views?: string;
100
+ notifications?: string;
100
101
  }
@@ -1,17 +1,25 @@
1
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
+ import { Location } from "./location.model";
4
5
  import { UserContactUs } from "./user-contact-us.data.model";
5
6
  import { UserContact } from "./user-contact.data.model";
6
7
  import { UserFeedback } from "./user-feedback.data.model";
7
8
  import { UserReportBug } from "./user-report-bug.data.model";
8
9
  import { User } from "./user.data.model";
9
10
  export declare class Notification {
11
+ /**
12
+ * Notification ID
13
+ */
14
+ id?: string;
10
15
  actionUser?: User;
16
+ location?: Location;
17
+ locationId?: number;
18
+ timestamp?: number;
11
19
  /**
12
20
  * Source of a notification
13
21
  */
14
- notificationSource?: 'area' | 'arrow' | 'comment' | 'tag' | 'huddle' | 'userInvite' | 'user' | 'recorder' | 'huddleInvite' | 'userFeedback' | 'userContactUs' | 'userReportBug' | 'documentViews';
22
+ notificationSource?: 'area' | 'arrow' | 'comment' | 'tag' | 'huddle' | 'userInvite' | 'user' | 'recorder' | 'huddleInvite' | 'userFeedback' | 'userContactUs' | 'userReportBug' | 'documentViews' | 'custom';
15
23
  /**
16
24
  * Type of notification like 'Added', 'Updated' etc.
17
25
  */
@@ -35,7 +43,7 @@ export declare class Notification {
35
43
  documentUser?: DocumentUser;
36
44
  oldAccess?: string;
37
45
  newAccess?: string;
38
- platform?: 'sf' | 'sdk';
46
+ platform?: 'sf' | 'sdk' | 'custom';
39
47
  userFeedback?: UserFeedback;
40
48
  userReportBug?: UserReportBug;
41
49
  userContactUs?: UserContactUs;
@@ -67,4 +75,28 @@ export declare class Notification {
67
75
  documentViews?: {
68
76
  emails: string[];
69
77
  };
78
+ displayHeadlineMessageTemplate?: string;
79
+ displayHeadlineMessageTemplateData?: {
80
+ actionUser: User;
81
+ recipientUser: User;
82
+ actionMessage: string;
83
+ project: string;
84
+ [key: string]: any;
85
+ };
86
+ displayBodyMessage?: string;
87
+ customData?: any;
88
+ notifyUsers?: {
89
+ [email: string]: boolean;
90
+ };
91
+ }
92
+ export declare class NotificationData {
93
+ id: string;
94
+ raw?: Notification;
95
+ processed?: Notification;
96
+ isUnread?: boolean;
97
+ actionUser?: User;
98
+ timestamp?: number;
99
+ displayHeadlineMessage?: string;
100
+ displayBodyMessage?: string;
101
+ forYou?: boolean;
70
102
  }
@@ -14,6 +14,13 @@ export declare class Views {
14
14
  };
15
15
  };
16
16
  };
17
+ notification?: {
18
+ [notificationId: string]: {
19
+ views: {
20
+ [userSnippylyId: string]: View;
21
+ };
22
+ };
23
+ };
17
24
  documentViews?: {
18
25
  [documentId: string]: {
19
26
  users: ViewsByUser;
@@ -29,6 +29,7 @@ export declare class Constants {
29
29
  static FIREBASE_PARTIAL_PATH_IAM: string;
30
30
  static FIREBASE_PARTIAL_PATH_REACTION: string;
31
31
  static FIREBASE_PARTIAL_PATH_VIEWS: string;
32
+ static FIREBASE_PARTIAL_PATH_NOTIFICATIONS: string;
32
33
  static FIREBASE_PARTIAL_PATH_USERS: string;
33
34
  static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
34
35
  static FIREBASE_PARTIAL_PATH_FEEDBACK: string;
@@ -199,6 +200,9 @@ export declare class Constants {
199
200
  VELT_VIDEO_COMMENTS_TIMELINE: string;
200
201
  VELT_REACTION_TOOL: string;
201
202
  VELT_VIEW_ANALYTICS: string;
203
+ VELT_NOTIFICATIONS_TOOL: string;
204
+ VELT_NOTIFICATIONS_PANEL: string;
205
+ VELT_NOTIFICATIONS_HISTORY: string;
202
206
  };
203
207
  static ATTRIBUTES: {
204
208
  VELT_ID: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "1.0.379",
3
+ "version": "1.0.381",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",