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