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 _0xcd96=['WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','../../config/logger','moment','bluebird','request-promise','rimraf','./whatsappTransferReport.attributes','exports'];(function(_0x52e161,_0x99a43d){var _0x4a990f=function(_0x5f2678){while(--_0x5f2678){_0x52e161['push'](_0x52e161['shift']());}};_0x4a990f(++_0x99a43d);}(_0xcd96,0xc9));var _0x6cd9=function(_0x4fe19c,_0x45d0fe){_0x4fe19c=_0x4fe19c-0x0;var _0x952ac7=_0xcd96[_0x4fe19c];return _0x952ac7;};'use strict';var _=require(_0x6cd9('0x0'));var util=require('util');var logger=require(_0x6cd9('0x1'))('api');var moment=require(_0x6cd9('0x2'));var BPromise=require(_0x6cd9('0x3'));var rp=require(_0x6cd9('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6cd9('0x5'));var config=require('../../config/environment');var attributes=require(_0x6cd9('0x6'));module[_0x6cd9('0x7')]=function(_0x5eb16f,_0x45985c){return _0x5eb16f['define'](_0x6cd9('0x8'),attributes,{'tableName':_0x6cd9('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x6cd9('0xa')]}],'timestamps':!![]});};