totalum-api-sdk 2.0.2 → 2.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "totalum-api-sdk",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Totalum sdk wraper of totalum api",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,8 +23,7 @@ export class GoogleService {
23
23
  return axios.get(url, { params: params, headers: this.headers });
24
24
  }
25
25
 
26
- public async googleAccountSendEmail(accountEmail: string, body: {to: string, subject: string, message: string}) {
27
-
26
+ public async googleAccountSendEmail(accountEmail: string, body: {to: string, subject: string, message?: string, html?:string}) {
28
27
  const url = UtilsService.getUrl(this.baseUrl, endpoints.googleIntegration.sendEmail, {});
29
28
  const params = { userEmail: accountEmail };
30
29
  return axios.post(url, body, { params: params, headers: this.headers });