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 _0xe364=['path','rimraf','../../config/environment','./mailTransferReport.attributes','exports','define','MailTransferReport','report_mail_transfer','uniqueid','util','../../config/logger','moment','request-promise'];(function(_0x578bbc,_0xc20b8b){var _0x5384d0=function(_0x137289){while(--_0x137289){_0x578bbc['push'](_0x578bbc['shift']());}};_0x5384d0(++_0xc20b8b);}(_0xe364,0x1c3));var _0x4e36=function(_0x4a04de,_0x2e342c){_0x4a04de=_0x4a04de-0x0;var _0xbbe018=_0xe364[_0x4a04de];return _0xbbe018;};'use strict';var _=require('lodash');var util=require(_0x4e36('0x0'));var logger=require(_0x4e36('0x1'))('api');var moment=require(_0x4e36('0x2'));var BPromise=require('bluebird');var rp=require(_0x4e36('0x3'));var fs=require('fs');var path=require(_0x4e36('0x4'));var rimraf=require(_0x4e36('0x5'));var config=require(_0x4e36('0x6'));var attributes=require(_0x4e36('0x7'));module[_0x4e36('0x8')]=function(_0x3c5e6b,_0x10019a){return _0x3c5e6b[_0x4e36('0x9')](_0x4e36('0xa'),attributes,{'tableName':_0x4e36('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x4e36('0xc')]}],'timestamps':!![]});};