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 _0xd6c2=['uniqueid','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./whatsappTransferReport.attributes','exports','define','report_whatsapp_transfer'];(function(_0x196d0a,_0x14eba8){var _0x1b63d8=function(_0x405583){while(--_0x405583){_0x196d0a['push'](_0x196d0a['shift']());}};_0x1b63d8(++_0x14eba8);}(_0xd6c2,0xe5));var _0x2d6c=function(_0x7bec8f,_0x1a4c91){_0x7bec8f=_0x7bec8f-0x0;var _0x2b36d0=_0xd6c2[_0x7bec8f];return _0x2b36d0;};'use strict';var _=require('lodash');var util=require(_0x2d6c('0x0'));var logger=require(_0x2d6c('0x1'))(_0x2d6c('0x2'));var moment=require('moment');var BPromise=require(_0x2d6c('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2d6c('0x4'));var rimraf=require(_0x2d6c('0x5'));var config=require(_0x2d6c('0x6'));var attributes=require(_0x2d6c('0x7'));module[_0x2d6c('0x8')]=function(_0x40b0d0,_0xb19558){return _0x40b0d0[_0x2d6c('0x9')]('WhatsappTransferReport',attributes,{'tableName':_0x2d6c('0xa'),'paranoid':![],'indexes':[{'name':_0x2d6c('0xb'),'fields':[_0x2d6c('0xb')]}],'timestamps':!![]});};