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 _0xf32b=['VoiceQueueReport','uniqueid','calleridnum','lodash','util','api','bluebird','request-promise','../../config/environment','exports','define'];(function(_0x2ade97,_0x27cf01){var _0x5b3bac=function(_0x33ea52){while(--_0x33ea52){_0x2ade97['push'](_0x2ade97['shift']());}};_0x5b3bac(++_0x27cf01);}(_0xf32b,0x7c));var _0xbf32=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0xf32b[_0x5ddb1c];return _0x354adc;};'use strict';var _=require(_0xbf32('0x0'));var util=require(_0xbf32('0x1'));var logger=require('../../config/logger')(_0xbf32('0x2'));var moment=require('moment');var BPromise=require(_0xbf32('0x3'));var rp=require(_0xbf32('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xbf32('0x5'));var attributes=require('./voiceQueueReport.attributes');module[_0xbf32('0x6')]=function(_0x229471,_0x4190b3){return _0x229471[_0xbf32('0x7')](_0xbf32('0x8'),attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':[_0xbf32('0x9')]},{'fields':[_0xbf32('0xa')]}],'timestamps':!![]});};