@veltdev/sdk 1.0.15 → 1.0.17

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.
@@ -143,4 +143,27 @@ export declare class Snippyly {
143
143
  * To remove velt specific content from provided html content.
144
144
  */
145
145
  removeVeltContent: (htmlContent: string) => string;
146
+
147
+ /**
148
+ * To set the language.
149
+ * @param language Language code
150
+ */
151
+ setLanguage: (language: string) => void;
152
+
153
+ /**
154
+ * To set the translations for the language.
155
+ * @param language Language code
156
+ * @param translations Translations object
157
+ */
158
+ setTranslations: (language: string, translations: { [key: string]: string }) => void;
159
+
160
+ /**
161
+ * To enable auto translation.
162
+ */
163
+ enableAutoTranslation: () => void;
164
+
165
+ /**
166
+ * To disable auto translation.
167
+ */
168
+ disableAutoTranslation: () => void;
146
169
  }
@@ -29,6 +29,7 @@ export declare class Attachment {
29
29
  * Thumbnail img in base64 format
30
30
  */
31
31
  thumbnail?: string;
32
+ thumbnailWithPlayIconUrl?: string;
32
33
  /**
33
34
  * Metadata of an attachment
34
35
  */
@@ -71,4 +71,13 @@ export declare class RecordedData {
71
71
  * Type of recorded data, possible values are 'audio', 'video' and 'screen'
72
72
  */
73
73
  type: string;
74
+ thumbnailUrl?: string;
75
+ thumbnailWithPlayIconUrl?: string;
76
+ videoUrl?: string;
77
+ audioUrl?: string;
78
+ /**
79
+ * URL of the hosted website to open video in new tab
80
+ */
81
+ videoPlayerUrl?: string;
82
+ getThumbnailTag: (url?: string) => string;
74
83
  }
@@ -224,6 +224,8 @@ export declare class Constants {
224
224
  VELT_AREA_PIN_HOST: string;
225
225
  VELT_AREA_PIN_HOST_STATIC: string;
226
226
  VELT_AREA_DISABLED: string;
227
+ VELT_ONGOING_RECORDING: string;
228
+ VELT_COMMENT_RECORDING: string;
227
229
  };
228
230
  static INJECTION_STYLE_PROPS: {
229
231
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {