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 _0xa244=['mail_accounts','lodash','moment','bluebird','request-promise','path','rimraf','./mailAccount.attributes','exports','define','MailAccount'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xa244,0xd2));var _0x4a24=function(_0x50dc38,_0x3c98d2){_0x50dc38=_0x50dc38-0x0;var _0x5140ed=_0xa244[_0x50dc38];return _0x5140ed;};'use strict';var _=require(_0x4a24('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x4a24('0x1'));var BPromise=require(_0x4a24('0x2'));var rp=require(_0x4a24('0x3'));var fs=require('fs');var path=require(_0x4a24('0x4'));var rimraf=require(_0x4a24('0x5'));var config=require('../../config/environment');var attributes=require(_0x4a24('0x6'));module[_0x4a24('0x7')]=function(_0x4fd8e5,_0x45b9c0){return _0x4fd8e5[_0x4a24('0x8')](_0x4a24('0x9'),attributes,{'tableName':_0x4a24('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};