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 _0x79e0=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','/:id','show','create','put','delete','destroy','exports','multer','util','path','Router'];(function(_0x335c4b,_0x2b2136){var _0x5945e2=function(_0x575f3f){while(--_0x575f3f){_0x335c4b['push'](_0x335c4b['shift']());}};_0x5945e2(++_0x2b2136);}(_0x79e0,0x1f4));var _0x079e=function(_0x53f0db,_0x35c67c){_0x53f0db=_0x53f0db-0x0;var _0xae0a5c=_0x79e0[_0x53f0db];return _0xae0a5c;};'use strict';var multer=require(_0x079e('0x0'));var util=require(_0x079e('0x1'));var path=require(_0x079e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x079e('0x3')]();var fs_extra=require(_0x079e('0x4'));var auth=require(_0x079e('0x5'));var interaction=require(_0x079e('0x6'));var config=require(_0x079e('0x7'));var controller=require(_0x079e('0x8'));router[_0x079e('0x9')]('/',auth[_0x079e('0xa')](),controller['index']);router['get'](_0x079e('0xb'),auth['isAuthenticated'](),controller[_0x079e('0xc')]);router['post']('/',auth[_0x079e('0xa')](),controller[_0x079e('0xd')]);router[_0x079e('0xe')](_0x079e('0xb'),auth[_0x079e('0xa')](),controller['update']);router[_0x079e('0xf')](_0x079e('0xb'),auth[_0x079e('0xa')](),controller[_0x079e('0x10')]);module[_0x079e('0x11')]=router;