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 _0xd964=['uniqueid','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./whatsappQueueReport.attributes','exports','define','WhatsappQueueReport','report_whatsapp_queue'];(function(_0x358049,_0x56e00a){var _0x2426d1=function(_0x161aa2){while(--_0x161aa2){_0x358049['push'](_0x358049['shift']());}};_0x2426d1(++_0x56e00a);}(_0xd964,0x90));var _0x4d96=function(_0x2bcd55,_0x2dd6d2){_0x2bcd55=_0x2bcd55-0x0;var _0x33927b=_0xd964[_0x2bcd55];return _0x33927b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x4d96('0x0'))(_0x4d96('0x1'));var moment=require(_0x4d96('0x2'));var BPromise=require(_0x4d96('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4d96('0x4'));var rimraf=require(_0x4d96('0x5'));var config=require(_0x4d96('0x6'));var attributes=require(_0x4d96('0x7'));module[_0x4d96('0x8')]=function(_0x506fae,_0x19c0d4){return _0x506fae[_0x4d96('0x9')](_0x4d96('0xa'),attributes,{'tableName':_0x4d96('0xb'),'paranoid':![],'indexes':[{'name':_0x4d96('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};