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 _0x688a=['../../config/environment','exports','WhatsappQueueReport','report_whatsapp_queue','uniqueid','lodash','moment','bluebird','path','rimraf'];(function(_0x137261,_0x22e847){var _0x3edf14=function(_0x438844){while(--_0x438844){_0x137261['push'](_0x137261['shift']());}};_0x3edf14(++_0x22e847);}(_0x688a,0x16d));var _0xa688=function(_0x476edb,_0x2d84ce){_0x476edb=_0x476edb-0x0;var _0x446066=_0x688a[_0x476edb];return _0x446066;};'use strict';var _=require(_0xa688('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xa688('0x1'));var BPromise=require(_0xa688('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa688('0x3'));var rimraf=require(_0xa688('0x4'));var config=require(_0xa688('0x5'));var attributes=require('./whatsappQueueReport.attributes');module[_0xa688('0x6')]=function(_0x53ea09,_0x2ef77a){return _0x53ea09['define'](_0xa688('0x7'),attributes,{'tableName':_0xa688('0x8'),'paranoid':![],'indexes':[{'name':_0xa688('0x9'),'fields':[_0xa688('0x9')]}],'timestamps':!![]});};