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 _0x6c60=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','exports','report_queue','uniqueid','calleridnum'];(function(_0x46361e,_0x243aaf){var _0x14e302=function(_0x9ebecf){while(--_0x9ebecf){_0x46361e['push'](_0x46361e['shift']());}};_0x14e302(++_0x243aaf);}(_0x6c60,0x186));var _0x06c6=function(_0x11ca63,_0xea9f9c){_0x11ca63=_0x11ca63-0x0;var _0x41f1f6=_0x6c60[_0x11ca63];return _0x41f1f6;};'use strict';var _=require(_0x06c6('0x0'));var util=require(_0x06c6('0x1'));var logger=require(_0x06c6('0x2'))(_0x06c6('0x3'));var moment=require(_0x06c6('0x4'));var BPromise=require(_0x06c6('0x5'));var rp=require(_0x06c6('0x6'));var fs=require('fs');var path=require(_0x06c6('0x7'));var rimraf=require(_0x06c6('0x8'));var config=require('../../config/environment');var attributes=require('./voiceQueueReport.attributes');module[_0x06c6('0x9')]=function(_0xcf24f9,_0x3c6a4a){return _0xcf24f9['define']('VoiceQueueReport',attributes,{'tableName':_0x06c6('0xa'),'paranoid':![],'indexes':[{'fields':[_0x06c6('0xb')]},{'fields':[_0x06c6('0xc')]}],'timestamps':!![]});};