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 _0x64b3=['moment','bluebird','path','rimraf','../../config/environment','./mailTransferReport.attributes','exports','MailTransferReport','report_mail_transfer','uniqueid','lodash','api'];(function(_0x47faee,_0x107cf1){var _0x5cb7e1=function(_0x19e501){while(--_0x19e501){_0x47faee['push'](_0x47faee['shift']());}};_0x5cb7e1(++_0x107cf1);}(_0x64b3,0x1de));var _0x364b=function(_0x113f36,_0x107637){_0x113f36=_0x113f36-0x0;var _0x3c564a=_0x64b3[_0x113f36];return _0x3c564a;};'use strict';var _=require(_0x364b('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x364b('0x1'));var moment=require(_0x364b('0x2'));var BPromise=require(_0x364b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x364b('0x4'));var rimraf=require(_0x364b('0x5'));var config=require(_0x364b('0x6'));var attributes=require(_0x364b('0x7'));module[_0x364b('0x8')]=function(_0x42092d,_0x53ae27){return _0x42092d['define'](_0x364b('0x9'),attributes,{'tableName':_0x364b('0xa'),'paranoid':![],'indexes':[{'name':_0x364b('0xb'),'fields':[_0x364b('0xb')]}],'timestamps':!![]});};