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 _0x04de=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','define','MailTransferReport','report_mail_transfer','uniqueid'];(function(_0xdbd4f7,_0x4e3bdd){var _0x5c3f9d=function(_0xa7a35a){while(--_0xa7a35a){_0xdbd4f7['push'](_0xdbd4f7['shift']());}};_0x5c3f9d(++_0x4e3bdd);}(_0x04de,0x12c));var _0xe04d=function(_0xa0e2fe,_0x2c5149){_0xa0e2fe=_0xa0e2fe-0x0;var _0x2acb0d=_0x04de[_0xa0e2fe];return _0x2acb0d;};'use strict';var _=require(_0xe04d('0x0'));var util=require(_0xe04d('0x1'));var logger=require(_0xe04d('0x2'))('api');var moment=require(_0xe04d('0x3'));var BPromise=require(_0xe04d('0x4'));var rp=require(_0xe04d('0x5'));var fs=require('fs');var path=require(_0xe04d('0x6'));var rimraf=require('rimraf');var config=require(_0xe04d('0x7'));var attributes=require('./mailTransferReport.attributes');module['exports']=function(_0x40449b,_0x5a0643){return _0x40449b[_0xe04d('0x8')](_0xe04d('0x9'),attributes,{'tableName':_0xe04d('0xa'),'paranoid':![],'indexes':[{'name':_0xe04d('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};