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 _0xea6f=['rimraf','../../config/environment','./whatsappTransferReport.attributes','report_whatsapp_transfer','uniqueid','util','moment','request-promise'];(function(_0x2f4731,_0x3d5938){var _0x50a21a=function(_0x1e98f2){while(--_0x1e98f2){_0x2f4731['push'](_0x2f4731['shift']());}};_0x50a21a(++_0x3d5938);}(_0xea6f,0x6d));var _0xfea6=function(_0x23cb66,_0x57bc4d){_0x23cb66=_0x23cb66-0x0;var _0x514fd6=_0xea6f[_0x23cb66];return _0x514fd6;};'use strict';var _=require('lodash');var util=require(_0xfea6('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xfea6('0x1'));var BPromise=require('bluebird');var rp=require(_0xfea6('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfea6('0x3'));var config=require(_0xfea6('0x4'));var attributes=require(_0xfea6('0x5'));module['exports']=function(_0x359b65,_0x581ce9){return _0x359b65['define']('WhatsappTransferReport',attributes,{'tableName':_0xfea6('0x6'),'paranoid':![],'indexes':[{'name':_0xfea6('0x7'),'fields':['uniqueid']}],'timestamps':!![]});};