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 _0x27fa=['exports','WhatsappQueueReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./whatsappQueueReport.attributes'];(function(_0x4513fb,_0x400f2b){var _0x18a8c9=function(_0xce95ac){while(--_0xce95ac){_0x4513fb['push'](_0x4513fb['shift']());}};_0x18a8c9(++_0x400f2b);}(_0x27fa,0x114));var _0xa27f=function(_0x303221,_0x58a6b7){_0x303221=_0x303221-0x0;var _0x5b2f6d=_0x27fa[_0x303221];return _0x5b2f6d;};'use strict';var _=require(_0xa27f('0x0'));var util=require(_0xa27f('0x1'));var logger=require(_0xa27f('0x2'))(_0xa27f('0x3'));var moment=require(_0xa27f('0x4'));var BPromise=require(_0xa27f('0x5'));var rp=require(_0xa27f('0x6'));var fs=require('fs');var path=require(_0xa27f('0x7'));var rimraf=require(_0xa27f('0x8'));var config=require('../../config/environment');var attributes=require(_0xa27f('0x9'));module[_0xa27f('0xa')]=function(_0x24d376,_0x1b00ea){return _0x24d376['define'](_0xa27f('0xb'),attributes,{'tableName':'report_whatsapp_queue','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xa27f('0xc')]}],'timestamps':!![]});};