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 _0x8e39=['define','MailTransferReport','report_mail_transfer','uniqueid','lodash','util','moment','bluebird','request-promise','./mailTransferReport.attributes','exports'];(function(_0x556702,_0x47795d){var _0x55acfd=function(_0x18617b){while(--_0x18617b){_0x556702['push'](_0x556702['shift']());}};_0x55acfd(++_0x47795d);}(_0x8e39,0x138));var _0x98e3=function(_0x3ccfea,_0x44ffb3){_0x3ccfea=_0x3ccfea-0x0;var _0x3a530f=_0x8e39[_0x3ccfea];return _0x3a530f;};'use strict';var _=require(_0x98e3('0x0'));var util=require(_0x98e3('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x98e3('0x2'));var BPromise=require(_0x98e3('0x3'));var rp=require(_0x98e3('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x98e3('0x5'));module[_0x98e3('0x6')]=function(_0x39c5b5,_0x5b7022){return _0x39c5b5[_0x98e3('0x7')](_0x98e3('0x8'),attributes,{'tableName':_0x98e3('0x9'),'paranoid':![],'indexes':[{'name':_0x98e3('0xa'),'fields':[_0x98e3('0xa')]}],'timestamps':!![]});};