From 65485b8718f196a9867cc6887c751c76666aa388 Mon Sep 17 00:00:00 2001 From: vam Date: Wed, 13 Nov 2019 20:59:02 +0300 Subject: [PATCH] Google Sheets Import Settings added --- src/api/settings.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/api/settings.js b/src/api/settings.js index f91abf8..3fe0417 100644 --- a/src/api/settings.js +++ b/src/api/settings.js @@ -20,6 +20,14 @@ export default class Settings { return this.client.put(`${this.resourceUrl}/email`, data); } + retrieveImportSettings() { + return this.client.get(`${this.resourceUrl}/import`); + } + + updateImportSettings(data) { + return this.client.put(`${this.resourceUrl}/import`, data); + } + retrieveEmailTemplate(name) { return this.client.get(`${this.resourceUrl}/email/templates/${name}`); }