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 _0x5c6e=['bluebird','request-promise','rimraf','exports','define','WhatsappQueueReport','report_whatsapp_queue','uniqueid','../../config/logger','api','moment'];(function(_0x2f68a3,_0x535fe3){var _0x144be1=function(_0x184e5f){while(--_0x184e5f){_0x2f68a3['push'](_0x2f68a3['shift']());}};_0x144be1(++_0x535fe3);}(_0x5c6e,0xad));var _0xe5c6=function(_0x4409e7,_0x307f17){_0x4409e7=_0x4409e7-0x0;var _0x24c751=_0x5c6e[_0x4409e7];return _0x24c751;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe5c6('0x0'))(_0xe5c6('0x1'));var moment=require(_0xe5c6('0x2'));var BPromise=require(_0xe5c6('0x3'));var rp=require(_0xe5c6('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe5c6('0x5'));var config=require('../../config/environment');var attributes=require('./whatsappQueueReport.attributes');module[_0xe5c6('0x6')]=function(_0x30b470,_0x1d8f16){return _0x30b470[_0xe5c6('0x7')](_0xe5c6('0x8'),attributes,{'tableName':_0xe5c6('0x9'),'paranoid':![],'indexes':[{'name':_0xe5c6('0xa'),'fields':[_0xe5c6('0xa')]}],'timestamps':!![]});};