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 _0x1efd=['moment','bluebird','request-promise','./mailApplication.attributes','exports','define','MailApplication','mail_applications','lodash','../../config/logger'];(function(_0x234e93,_0x5a5f21){var _0x7d6e93=function(_0x19400b){while(--_0x19400b){_0x234e93['push'](_0x234e93['shift']());}};_0x7d6e93(++_0x5a5f21);}(_0x1efd,0x1de));var _0xd1ef=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x1efd[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xd1ef('0x0'));var util=require('util');var logger=require(_0xd1ef('0x1'))('api');var moment=require(_0xd1ef('0x2'));var BPromise=require(_0xd1ef('0x3'));var rp=require(_0xd1ef('0x4'));var attributes=require(_0xd1ef('0x5'));module[_0xd1ef('0x6')]=function(_0x42940f,_0x425d36){return _0x42940f[_0xd1ef('0x7')](_0xd1ef('0x8'),attributes,{'tableName':_0xd1ef('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};