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 _0x12ce=['../../config/environment','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service'];(function(_0x523fff,_0x24649c){var _0x3c7a34=function(_0x3c5621){while(--_0x3c5621){_0x523fff['push'](_0x523fff['shift']());}};_0x3c7a34(++_0x24649c);}(_0x12ce,0x12b));var _0xe12c=function(_0x2b10c6,_0x185590){_0x2b10c6=_0x2b10c6-0x0;var _0x3789d2=_0x12ce[_0x2b10c6];return _0x3789d2;};'use strict';var multer=require(_0xe12c('0x0'));var util=require(_0xe12c('0x1'));var path=require(_0xe12c('0x2'));var timeout=require('connect-timeout');var express=require(_0xe12c('0x3'));var router=express[_0xe12c('0x4')]();var fs_extra=require(_0xe12c('0x5'));var auth=require(_0xe12c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xe12c('0x7'));var controller=require('./voiceChanSpy.controller');router[_0xe12c('0x8')]('/',auth[_0xe12c('0x9')](),controller['index']);router[_0xe12c('0x8')](_0xe12c('0xa'),auth['isAuthenticated'](),controller[_0xe12c('0xb')]);router[_0xe12c('0xc')]('/',auth['isAuthenticated'](),controller[_0xe12c('0xd')]);router[_0xe12c('0xe')](_0xe12c('0xa'),auth['isAuthenticated'](),controller[_0xe12c('0xf')]);router[_0xe12c('0x10')](_0xe12c('0xa'),auth[_0xe12c('0x9')](),controller[_0xe12c('0x11')]);module['exports']=router;