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 _0x8fc0=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','uniqueid','lodash','util'];(function(_0x2dc952,_0x5595cd){var _0x5cba2d=function(_0x281097){while(--_0x281097){_0x2dc952['push'](_0x2dc952['shift']());}};_0x5cba2d(++_0x5595cd);}(_0x8fc0,0x196));var _0x08fc=function(_0x62c958,_0x2bfdbc){_0x62c958=_0x62c958-0x0;var _0x57ec61=_0x8fc0[_0x62c958];return _0x57ec61;};'use strict';var _=require(_0x08fc('0x0'));var util=require(_0x08fc('0x1'));var logger=require(_0x08fc('0x2'))('api');var moment=require(_0x08fc('0x3'));var BPromise=require(_0x08fc('0x4'));var rp=require(_0x08fc('0x5'));var fs=require('fs');var path=require(_0x08fc('0x6'));var rimraf=require(_0x08fc('0x7'));var config=require(_0x08fc('0x8'));var attributes=require('./whatsappTransferReport.attributes');module[_0x08fc('0x9')]=function(_0x3ae056,_0x3df217){return _0x3ae056[_0x08fc('0xa')]('WhatsappTransferReport',attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0x08fc('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};