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 _0x8a8f=['../../config/environment','./whatsappTransferReport.attributes','exports','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','moment','bluebird','request-promise','path'];(function(_0x102e37,_0x14a181){var _0x35a07c=function(_0x16577f){while(--_0x16577f){_0x102e37['push'](_0x102e37['shift']());}};_0x35a07c(++_0x14a181);}(_0x8a8f,0x7e));var _0xf8a8=function(_0x1a72f3,_0x217011){_0x1a72f3=_0x1a72f3-0x0;var _0x57ef47=_0x8a8f[_0x1a72f3];return _0x57ef47;};'use strict';var _=require(_0xf8a8('0x0'));var util=require(_0xf8a8('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xf8a8('0x2'));var BPromise=require(_0xf8a8('0x3'));var rp=require(_0xf8a8('0x4'));var fs=require('fs');var path=require(_0xf8a8('0x5'));var rimraf=require('rimraf');var config=require(_0xf8a8('0x6'));var attributes=require(_0xf8a8('0x7'));module[_0xf8a8('0x8')]=function(_0x11b8fb,_0x284784){return _0x11b8fb['define'](_0xf8a8('0x9'),attributes,{'tableName':_0xf8a8('0xa'),'paranoid':![],'indexes':[{'name':_0xf8a8('0xb'),'fields':[_0xf8a8('0xb')]}],'timestamps':!![]});};