@veltdev/sdk 2.0.13 → 2.0.14

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.
@@ -21,6 +21,7 @@ import { NotificationElement } from "../models/element/notification-element.mode
21
21
  import { AutocompleteElement } from "../models/element/autocomplete-element.model";
22
22
  import { TagElement } from "../models/element/tag-element.model";
23
23
  import { FeatureType } from "../utils/enums";
24
+ import { UserContact } from "../models/data/user-contact.data.model";
24
25
  export declare class Snippyly {
25
26
  constructor();
26
27
  initConfig: (apiKey: string, config?: Config) => void;
@@ -235,4 +236,9 @@ export declare class Snippyly {
235
236
  * To disable auto translation.
236
237
  */
237
238
  disableAutoTranslation: () => void;
239
+
240
+ /**
241
+ * To update user contact list.
242
+ */
243
+ updateContactList: (userContacts: UserContact[], config?: {merge: boolean}) => void;
238
244
  }
@@ -26,6 +26,8 @@ export declare class UserContact {
26
26
  groupId?: string;
27
27
  source?: string;
28
28
  visibility: 'group' | 'private';
29
+ color?: string;
30
+ textColor?: string;
29
31
  }
30
32
  export declare class SelectedUserContact {
31
33
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {