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 _0xcc34=['../../config/environment','./mailTransferReport.attributes','exports','MailTransferReport','report_mail_transfer','uniqueid','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x456fb1,_0x859a1d){var _0x4083d6=function(_0xe1d0f2){while(--_0xe1d0f2){_0x456fb1['push'](_0x456fb1['shift']());}};_0x4083d6(++_0x859a1d);}(_0xcc34,0x7e));var _0x4cc3=function(_0x142a9e,_0x5c9ecb){_0x142a9e=_0x142a9e-0x0;var _0x267133=_0xcc34[_0x142a9e];return _0x267133;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x4cc3('0x0'))('api');var moment=require(_0x4cc3('0x1'));var BPromise=require(_0x4cc3('0x2'));var rp=require(_0x4cc3('0x3'));var fs=require('fs');var path=require(_0x4cc3('0x4'));var rimraf=require(_0x4cc3('0x5'));var config=require(_0x4cc3('0x6'));var attributes=require(_0x4cc3('0x7'));module[_0x4cc3('0x8')]=function(_0x24946c,_0x3c045b){return _0x24946c['define'](_0x4cc3('0x9'),attributes,{'tableName':_0x4cc3('0xa'),'paranoid':![],'indexes':[{'name':_0x4cc3('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};