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 _0xdd9a=['uniqueid','lodash','util','../../config/logger','bluebird','path','../../config/environment','define','report_queue'];(function(_0x18639d,_0x139289){var _0x4df15d=function(_0x120cb8){while(--_0x120cb8){_0x18639d['push'](_0x18639d['shift']());}};_0x4df15d(++_0x139289);}(_0xdd9a,0x172));var _0xadd9=function(_0x5c865b,_0x1aacd8){_0x5c865b=_0x5c865b-0x0;var _0x2da007=_0xdd9a[_0x5c865b];return _0x2da007;};'use strict';var _=require(_0xadd9('0x0'));var util=require(_0xadd9('0x1'));var logger=require(_0xadd9('0x2'))('api');var moment=require('moment');var BPromise=require(_0xadd9('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xadd9('0x4'));var rimraf=require('rimraf');var config=require(_0xadd9('0x5'));var attributes=require('./voiceQueueReport.attributes');module['exports']=function(_0x2bffd1,_0x46b68f){return _0x2bffd1[_0xadd9('0x6')]('VoiceQueueReport',attributes,{'tableName':_0xadd9('0x7'),'paranoid':![],'indexes':[{'fields':[_0xadd9('0x8')]},{'fields':['calleridnum']}],'timestamps':!![]});};