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 _0x01cf=['api','bluebird','path','../../config/environment','./voiceQueueReport.attributes','exports','define','VoiceQueueReport','uniqueid','calleridnum','lodash','util','../../config/logger'];(function(_0x341e0f,_0x4a09d0){var _0x59555a=function(_0x4343a8){while(--_0x4343a8){_0x341e0f['push'](_0x341e0f['shift']());}};_0x59555a(++_0x4a09d0);}(_0x01cf,0x190));var _0xf01c=function(_0x428af3,_0x2e4cd0){_0x428af3=_0x428af3-0x0;var _0x539dd2=_0x01cf[_0x428af3];return _0x539dd2;};'use strict';var _=require(_0xf01c('0x0'));var util=require(_0xf01c('0x1'));var logger=require(_0xf01c('0x2'))(_0xf01c('0x3'));var moment=require('moment');var BPromise=require(_0xf01c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf01c('0x5'));var rimraf=require('rimraf');var config=require(_0xf01c('0x6'));var attributes=require(_0xf01c('0x7'));module[_0xf01c('0x8')]=function(_0x5aeea1,_0x31aa61){return _0x5aeea1[_0xf01c('0x9')](_0xf01c('0xa'),attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':[_0xf01c('0xb')]},{'fields':[_0xf01c('0xc')]}],'timestamps':!![]});};