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 _0x6c96=['lodash','../../config/logger','moment','path','rimraf','../../config/environment','./mailTransferReport.attributes','exports','define','MailTransferReport','uniqueid'];(function(_0x437726,_0x545847){var _0x45f658=function(_0x335054){while(--_0x335054){_0x437726['push'](_0x437726['shift']());}};_0x45f658(++_0x545847);}(_0x6c96,0xb0));var _0x66c9=function(_0x585a95,_0x577a06){_0x585a95=_0x585a95-0x0;var _0x3e0ba0=_0x6c96[_0x585a95];return _0x3e0ba0;};'use strict';var _=require(_0x66c9('0x0'));var util=require('util');var logger=require(_0x66c9('0x1'))('api');var moment=require(_0x66c9('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x66c9('0x3'));var rimraf=require(_0x66c9('0x4'));var config=require(_0x66c9('0x5'));var attributes=require(_0x66c9('0x6'));module[_0x66c9('0x7')]=function(_0x549098,_0x1ecf15){return _0x549098[_0x66c9('0x8')](_0x66c9('0x9'),attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':_0x66c9('0xa'),'fields':[_0x66c9('0xa')]}],'timestamps':!![]});};