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 _0x07cf=['../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','show','create','put','/:id','delete','multer','util','connect-timeout','express','Router','../../components/auth/service'];(function(_0x577767,_0xa64fd5){var _0x41d5ae=function(_0x178336){while(--_0x178336){_0x577767['push'](_0x577767['shift']());}};_0x41d5ae(++_0xa64fd5);}(_0x07cf,0xea));var _0xf07c=function(_0x4d21ff,_0x19d202){_0x4d21ff=_0x4d21ff-0x0;var _0x22b554=_0x07cf[_0x4d21ff];return _0x22b554;};'use strict';var multer=require(_0xf07c('0x0'));var util=require(_0xf07c('0x1'));var path=require('path');var timeout=require(_0xf07c('0x2'));var express=require(_0xf07c('0x3'));var router=express[_0xf07c('0x4')]();var auth=require(_0xf07c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf07c('0x6'));var controller=require(_0xf07c('0x7'));router[_0xf07c('0x8')]('/',auth[_0xf07c('0x9')](),controller[_0xf07c('0xa')]);router['get']('/:id',auth[_0xf07c('0x9')](),controller[_0xf07c('0xb')]);router['post']('/',auth[_0xf07c('0x9')](),controller[_0xf07c('0xc')]);router[_0xf07c('0xd')](_0xf07c('0xe'),auth[_0xf07c('0x9')](),controller['update']);router[_0xf07c('0xf')](_0xf07c('0xe'),auth[_0xf07c('0x9')](),controller['destroy']);module['exports']=router;