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 _0xf0c7=['MailApplication','mail_applications','../../config/logger','moment','bluebird','request-promise','./mailApplication.attributes','exports','define'];(function(_0x2820ad,_0x3db242){var _0x1c3275=function(_0x4e55fd){while(--_0x4e55fd){_0x2820ad['push'](_0x2820ad['shift']());}};_0x1c3275(++_0x3db242);}(_0xf0c7,0xad));var _0x7f0c=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xf0c7[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x7f0c('0x0'))('api');var moment=require(_0x7f0c('0x1'));var BPromise=require(_0x7f0c('0x2'));var rp=require(_0x7f0c('0x3'));var attributes=require(_0x7f0c('0x4'));module[_0x7f0c('0x5')]=function(_0x344675,_0x116c91){return _0x344675[_0x7f0c('0x6')](_0x7f0c('0x7'),attributes,{'tableName':_0x7f0c('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};