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 _0x1ac8=['api','moment','bluebird','request-promise','path','rimraf','exports','MailAccount','mail_accounts','lodash'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x1ac8,0xd1));var _0x81ac=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x1ac8[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0x81ac('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x81ac('0x1'));var moment=require(_0x81ac('0x2'));var BPromise=require(_0x81ac('0x3'));var rp=require(_0x81ac('0x4'));var fs=require('fs');var path=require(_0x81ac('0x5'));var rimraf=require(_0x81ac('0x6'));var config=require('../../config/environment');var attributes=require('./mailAccount.attributes');module[_0x81ac('0x7')]=function(_0x58357f,_0x4057a2){return _0x58357f['define'](_0x81ac('0x8'),attributes,{'tableName':_0x81ac('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};