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 _0x8bd3=['create','update','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index','/describe','describe','/index','/:id','post'];(function(_0x14a0a0,_0x45d0cf){var _0x56b651=function(_0x1fae09){while(--_0x1fae09){_0x14a0a0['push'](_0x14a0a0['shift']());}};_0x56b651(++_0x45d0cf);}(_0x8bd3,0xad));var _0x38bd=function(_0x2166a3,_0x237c50){_0x2166a3=_0x2166a3-0x0;var _0x260035=_0x8bd3[_0x2166a3];return _0x260035;};'use strict';var multer=require(_0x38bd('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x38bd('0x1'));var express=require(_0x38bd('0x2'));var router=express[_0x38bd('0x3')]();var fs_extra=require(_0x38bd('0x4'));var auth=require(_0x38bd('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x38bd('0x6'));var controller=require(_0x38bd('0x7'));router[_0x38bd('0x8')]('/',auth[_0x38bd('0x9')](),controller[_0x38bd('0xa')]);router[_0x38bd('0x8')](_0x38bd('0xb'),auth[_0x38bd('0x9')](),controller[_0x38bd('0xc')]);router[_0x38bd('0x8')](_0x38bd('0xd'),auth[_0x38bd('0x9')](),controller['getVoiceQueuesReport']);router[_0x38bd('0x8')](_0x38bd('0xe'),auth[_0x38bd('0x9')](),controller['show']);router[_0x38bd('0xf')]('/',auth[_0x38bd('0x9')](),controller[_0x38bd('0x10')]);router['put']('/:id',auth[_0x38bd('0x9')](),controller[_0x38bd('0x11')]);router[_0x38bd('0x12')](_0x38bd('0xe'),auth[_0x38bd('0x9')](),controller[_0x38bd('0x13')]);module[_0x38bd('0x14')]=router;