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 _0x97ed=['bluebird','path','rimraf','../../config/environment','./mailTransferReport.attributes','MailTransferReport','uniqueid','lodash','util','moment'];(function(_0x5194a1,_0x5c8886){var _0x3121ae=function(_0x43da9c){while(--_0x43da9c){_0x5194a1['push'](_0x5194a1['shift']());}};_0x3121ae(++_0x5c8886);}(_0x97ed,0x1e7));var _0xd97e=function(_0x565c49,_0x54acd0){_0x565c49=_0x565c49-0x0;var _0x20ca34=_0x97ed[_0x565c49];return _0x20ca34;};'use strict';var _=require(_0xd97e('0x0'));var util=require(_0xd97e('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xd97e('0x2'));var BPromise=require(_0xd97e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd97e('0x4'));var rimraf=require(_0xd97e('0x5'));var config=require(_0xd97e('0x6'));var attributes=require(_0xd97e('0x7'));module['exports']=function(_0x2468bc,_0x538bdd){return _0x2468bc['define'](_0xd97e('0x8'),attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xd97e('0x9')]}],'timestamps':!![]});};