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 _0xd9b5=['request-promise','path','rimraf','../../config/environment','define','lodash','moment','bluebird'];(function(_0x562362,_0x5d54f4){var _0x3a18ce=function(_0x4b96ed){while(--_0x4b96ed){_0x562362['push'](_0x562362['shift']());}};_0x3a18ce(++_0x5d54f4);}(_0xd9b5,0x7d));var _0x5d9b=function(_0x4f8c5b,_0x873bd7){_0x4f8c5b=_0x4f8c5b-0x0;var _0x4a5a88=_0xd9b5[_0x4f8c5b];return _0x4a5a88;};'use strict';var _=require(_0x5d9b('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x5d9b('0x1'));var BPromise=require(_0x5d9b('0x2'));var rp=require(_0x5d9b('0x3'));var fs=require('fs');var path=require(_0x5d9b('0x4'));var rimraf=require(_0x5d9b('0x5'));var config=require(_0x5d9b('0x6'));var attributes=require('./voiceQueueReport.attributes');module['exports']=function(_0x3a4f86,_0x274749){return _0x3a4f86[_0x5d9b('0x7')]('VoiceQueueReport',attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':['uniqueid']},{'fields':['calleridnum']}],'timestamps':!![]});};