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 _0xba74=['rimraf','../../config/environment','./whatsappQueueReport.attributes','exports','define','WhatsappQueueReport','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x426d45,_0xbd34cd){var _0x46ee97=function(_0x3d70ec){while(--_0x3d70ec){_0x426d45['push'](_0x426d45['shift']());}};_0x46ee97(++_0xbd34cd);}(_0xba74,0x88));var _0x4ba7=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xba74[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0x4ba7('0x0'));var util=require(_0x4ba7('0x1'));var logger=require(_0x4ba7('0x2'))(_0x4ba7('0x3'));var moment=require(_0x4ba7('0x4'));var BPromise=require(_0x4ba7('0x5'));var rp=require(_0x4ba7('0x6'));var fs=require('fs');var path=require(_0x4ba7('0x7'));var rimraf=require(_0x4ba7('0x8'));var config=require(_0x4ba7('0x9'));var attributes=require(_0x4ba7('0xa'));module[_0x4ba7('0xb')]=function(_0x1b0ff5,_0x176dbd){return _0x1b0ff5[_0x4ba7('0xc')](_0x4ba7('0xd'),attributes,{'tableName':_0x4ba7('0xe'),'paranoid':![],'indexes':[{'name':_0x4ba7('0xf'),'fields':['uniqueid']}],'timestamps':!![]});};