@veltdev/sdk 2.0.22 → 2.0.24

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.
@@ -162,6 +162,9 @@ export declare class CommentAnnotation {
162
162
  targetInlineCommentElementId?: string;
163
163
  inlineCommentSectionConfig?: InlineCommentSectionConfig;
164
164
  customList?: CustomAnnotationDropdownItem[];
165
+ subscribedUsers?: CommentAnnotationSubscribedUsers;
166
+ unsubscribedUsers?: CommentAnnotationUnsubscribedUsers;
167
+ subscribedGroups?: CommentAnnotationSubscribedGroups;
165
168
  }
166
169
  export declare class GhostComment {
167
170
  targetElement?: TargetElement | null;
@@ -206,3 +209,20 @@ export declare class InlineCommentSectionConfig {
206
209
  export declare class ManualCommentAnnotationConfig {
207
210
  context?: any;
208
211
  }
212
+ export declare class CommentAnnotationSubscribedUsers {
213
+ [userIdHash: string]: {
214
+ user: User;
215
+ type: 'manual' | 'auto';
216
+ };
217
+ }
218
+ export declare class CommentAnnotationUnsubscribedUsers {
219
+ [userIdHash: string]: {
220
+ user: User;
221
+ type: 'manual' | 'auto';
222
+ };
223
+ }
224
+ export declare class CommentAnnotationSubscribedGroups {
225
+ [groupId: string]: {
226
+ type: 'manual' | 'auto';
227
+ };
228
+ }
@@ -119,4 +119,5 @@ export declare class CursorUser {
119
119
  */
120
120
  isAnonymous?: boolean;
121
121
  pageInfo: PageInfo;
122
+ initial?: string;
122
123
  }
@@ -127,6 +127,20 @@ export declare class Notification {
127
127
  * Notification body message
128
128
  */
129
129
  displayBodyMessage?: string;
130
+ /**
131
+ * Display message template
132
+ */
133
+ displayHeadlineMessageTemplate?: string;
134
+ /**
135
+ * Display message template data
136
+ */
137
+ displayHeadlineMessageTemplateData?: {
138
+ actionUser: User;
139
+ recipientUser: User;
140
+ actionMessage: string;
141
+ project: string;
142
+ [key: string]: any;
143
+ };
130
144
  /**
131
145
  * Is notification for you
132
146
  */
@@ -143,6 +157,18 @@ export declare class Notification {
143
157
  * Notification metadata
144
158
  */
145
159
  metadata?: NotificationMetadata;
160
+ /**
161
+ * Notification notify users map by email hash
162
+ */
163
+ notifyUsers?: {
164
+ [email: string]: boolean;
165
+ };
166
+ /**
167
+ * Notification notify users map by user id hash
168
+ */
169
+ notifyUsersByUserId?: {
170
+ [userId: string]: boolean;
171
+ };
146
172
  }
147
173
  export declare class NotificationMetadata {
148
174
  /**
@@ -80,4 +80,5 @@ export declare class PresenceUser {
80
80
  */
81
81
  isAnonymous?: boolean;
82
82
  pageInfo: PageInfo;
83
+ initial?: string;
83
84
  }
@@ -28,6 +28,7 @@ export declare class UserContact {
28
28
  visibility: 'group' | 'private';
29
29
  color?: string;
30
30
  textColor?: string;
31
+ initial?: string;
31
32
  }
32
33
  export declare class SelectedUserContact {
33
34
  /**
@@ -30,4 +30,7 @@ export declare class UserIAM {
30
30
  * Date when this user was updated
31
31
  */
32
32
  updatedDate?: any;
33
+ groups?: {
34
+ [groupId: string]: boolean;
35
+ };
33
36
  }
@@ -71,6 +71,7 @@ export declare class User {
71
71
  * Guest user
72
72
  */
73
73
  isGuest?: boolean;
74
+ initial?: string;
74
75
  }
75
76
  export declare class Options {
76
77
  /**
@@ -12,7 +12,9 @@ export declare enum CommentStatus {
12
12
  ACCEPTED = "accepted",
13
13
  REJECTED = "rejected",
14
14
  REACTION_ADDED = "reactionAdded",
15
- REACTION_DELETED = "reactionDeleted"
15
+ REACTION_DELETED = "reactionDeleted",
16
+ SUBSCRIBED = "subscribed",
17
+ UNSUBSCRIBED = "unsubscribed"
16
18
  }
17
19
  export declare enum TagStatus {
18
20
  ADDED = "added",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "2.0.22",
3
+ "version": "2.0.24",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {