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 _0x7a7f=['define','mail_accounts','lodash','../../config/logger','moment','bluebird','path','rimraf','./mailAccount.attributes','exports'];(function(_0x25fa5c,_0x421141){var _0x1bade2=function(_0x3faf20){while(--_0x3faf20){_0x25fa5c['push'](_0x25fa5c['shift']());}};_0x1bade2(++_0x421141);}(_0x7a7f,0x192));var _0xf7a7=function(_0x7a40c9,_0x29a39c){_0x7a40c9=_0x7a40c9-0x0;var _0x4a0c00=_0x7a7f[_0x7a40c9];return _0x4a0c00;};'use strict';var _=require(_0xf7a7('0x0'));var util=require('util');var logger=require(_0xf7a7('0x1'))('api');var moment=require(_0xf7a7('0x2'));var BPromise=require(_0xf7a7('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf7a7('0x4'));var rimraf=require(_0xf7a7('0x5'));var config=require('../../config/environment');var attributes=require(_0xf7a7('0x6'));module[_0xf7a7('0x7')]=function(_0x196937,_0x3af61b){return _0x196937[_0xf7a7('0x8')]('MailAccount',attributes,{'tableName':_0xf7a7('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};