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 _0xf403=['request-promise','path','rimraf','../../config/environment','./whatsappQueueReport.attributes','exports','WhatsappQueueReport','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x1b7d9c,_0x2a534e){var _0x2ccc1a=function(_0x2e34b6){while(--_0x2e34b6){_0x1b7d9c['push'](_0x1b7d9c['shift']());}};_0x2ccc1a(++_0x2a534e);}(_0xf403,0xae));var _0x3f40=function(_0x5e76bf,_0x4f0dbf){_0x5e76bf=_0x5e76bf-0x0;var _0x783ad5=_0xf403[_0x5e76bf];return _0x783ad5;};'use strict';var _=require(_0x3f40('0x0'));var util=require(_0x3f40('0x1'));var logger=require(_0x3f40('0x2'))(_0x3f40('0x3'));var moment=require(_0x3f40('0x4'));var BPromise=require(_0x3f40('0x5'));var rp=require(_0x3f40('0x6'));var fs=require('fs');var path=require(_0x3f40('0x7'));var rimraf=require(_0x3f40('0x8'));var config=require(_0x3f40('0x9'));var attributes=require(_0x3f40('0xa'));module[_0x3f40('0xb')]=function(_0x1692de,_0x20d5ed){return _0x1692de['define'](_0x3f40('0xc'),attributes,{'tableName':_0x3f40('0xd'),'paranoid':![],'indexes':[{'name':_0x3f40('0xe'),'fields':[_0x3f40('0xe')]}],'timestamps':!![]});};