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 _0xf0c2=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','show','create','put','/:id','delete','destroy','exports','util','path','connect-timeout','express'];(function(_0x1ce978,_0xc76228){var _0x132629=function(_0x59f1ab){while(--_0x59f1ab){_0x1ce978['push'](_0x1ce978['shift']());}};_0x132629(++_0xc76228);}(_0xf0c2,0x6e));var _0x2f0c=function(_0x501c55,_0x1c81fa){_0x501c55=_0x501c55-0x0;var _0x5639d7=_0xf0c2[_0x501c55];return _0x5639d7;};'use strict';var multer=require('multer');var util=require(_0x2f0c('0x0'));var path=require(_0x2f0c('0x1'));var timeout=require(_0x2f0c('0x2'));var express=require(_0x2f0c('0x3'));var router=express[_0x2f0c('0x4')]();var auth=require(_0x2f0c('0x5'));var interaction=require(_0x2f0c('0x6'));var config=require(_0x2f0c('0x7'));var controller=require(_0x2f0c('0x8'));router[_0x2f0c('0x9')]('/',auth[_0x2f0c('0xa')](),controller[_0x2f0c('0xb')]);router[_0x2f0c('0x9')]('/:id',auth[_0x2f0c('0xa')](),controller[_0x2f0c('0xc')]);router['post']('/',auth[_0x2f0c('0xa')](),controller[_0x2f0c('0xd')]);router[_0x2f0c('0xe')](_0x2f0c('0xf'),auth[_0x2f0c('0xa')](),controller['update']);router[_0x2f0c('0x10')](_0x2f0c('0xf'),auth[_0x2f0c('0xa')](),controller[_0x2f0c('0x11')]);module[_0x2f0c('0x12')]=router;