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 _0x4613=['request-promise','rimraf','./voiceQueueReport.attributes','exports','uniqueid','lodash','util','../../config/logger','api','moment'];(function(_0x12fc8d,_0x19ee33){var _0x3f9d04=function(_0x52e51c){while(--_0x52e51c){_0x12fc8d['push'](_0x12fc8d['shift']());}};_0x3f9d04(++_0x19ee33);}(_0x4613,0x181));var _0x3461=function(_0x139478,_0x1fead5){_0x139478=_0x139478-0x0;var _0x4f58f1=_0x4613[_0x139478];return _0x4f58f1;};'use strict';var _=require(_0x3461('0x0'));var util=require(_0x3461('0x1'));var logger=require(_0x3461('0x2'))(_0x3461('0x3'));var moment=require(_0x3461('0x4'));var BPromise=require('bluebird');var rp=require(_0x3461('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3461('0x6'));var config=require('../../config/environment');var attributes=require(_0x3461('0x7'));module[_0x3461('0x8')]=function(_0x4134c4,_0x1f8c01){return _0x4134c4['define']('VoiceQueueReport',attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':[_0x3461('0x9')]},{'fields':['calleridnum']}],'timestamps':!![]});};