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 _0xa8c4=['report_mail_transfer','uniqueid','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./mailTransferReport.attributes','exports','define','MailTransferReport'];(function(_0x5b645d,_0x58665f){var _0xce07d7=function(_0x398a5d){while(--_0x398a5d){_0x5b645d['push'](_0x5b645d['shift']());}};_0xce07d7(++_0x58665f);}(_0xa8c4,0x12d));var _0x4a8c=function(_0x5012b6,_0x510fe6){_0x5012b6=_0x5012b6-0x0;var _0x3514d2=_0xa8c4[_0x5012b6];return _0x3514d2;};'use strict';var _=require('lodash');var util=require(_0x4a8c('0x0'));var logger=require(_0x4a8c('0x1'))('api');var moment=require(_0x4a8c('0x2'));var BPromise=require(_0x4a8c('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4a8c('0x4'));var rimraf=require(_0x4a8c('0x5'));var config=require(_0x4a8c('0x6'));var attributes=require(_0x4a8c('0x7'));module[_0x4a8c('0x8')]=function(_0x392c01,_0x1e8a2d){return _0x392c01[_0x4a8c('0x9')](_0x4a8c('0xa'),attributes,{'tableName':_0x4a8c('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x4a8c('0xc')]}],'timestamps':!![]});};