1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x64e5=['bluebird','../../config/environment','./mailAccount.attributes','exports','define','MailAccount','lodash','util','../../config/logger','api'];(function(_0x16529a,_0x59c4e5){var _0x4b8ec7=function(_0x2f62ba){while(--_0x2f62ba){_0x16529a['push'](_0x16529a['shift']());}};_0x4b8ec7(++_0x59c4e5);}(_0x64e5,0x10a));var _0x564e=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x64e5[_0x5b644e];return _0x49c6bf;};'use strict';var _=require(_0x564e('0x0'));var util=require(_0x564e('0x1'));var logger=require(_0x564e('0x2'))(_0x564e('0x3'));var moment=require('moment');var BPromise=require(_0x564e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x564e('0x5'));var attributes=require(_0x564e('0x6'));module[_0x564e('0x7')]=function(_0x3eba9b,_0x45a3ad){return _0x3eba9b[_0x564e('0x8')](_0x564e('0x9'),attributes,{'tableName':'mail_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};