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 _0xa94f=['isAuthenticated','index','/:id','show','post','delete','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./voiceChanSpy.controller','get'];(function(_0x47b3d9,_0x34b1df){var _0x1e96eb=function(_0xa5fbef){while(--_0xa5fbef){_0x47b3d9['push'](_0x47b3d9['shift']());}};_0x1e96eb(++_0x34b1df);}(_0xa94f,0x92));var _0xfa94=function(_0x3e3a70,_0x229c87){_0x3e3a70=_0x3e3a70-0x0;var _0x246a16=_0xa94f[_0x3e3a70];return _0x246a16;};'use strict';var multer=require('multer');var util=require(_0xfa94('0x0'));var path=require(_0xfa94('0x1'));var express=require(_0xfa94('0x2'));var router=express[_0xfa94('0x3')]();var auth=require(_0xfa94('0x4'));var interaction=require(_0xfa94('0x5'));var config=require('../../config/environment');var controller=require(_0xfa94('0x6'));router[_0xfa94('0x7')]('/',auth[_0xfa94('0x8')](),controller[_0xfa94('0x9')]);router['get'](_0xfa94('0xa'),auth[_0xfa94('0x8')](),controller[_0xfa94('0xb')]);router[_0xfa94('0xc')]('/',auth[_0xfa94('0x8')](),controller['create']);router['put'](_0xfa94('0xa'),auth[_0xfa94('0x8')](),controller['update']);router[_0xfa94('0xd')](_0xfa94('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;