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 _0xd691=['fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x415efa,_0x3ea7aa){var _0x39b093=function(_0x537e03){while(--_0x537e03){_0x415efa['push'](_0x415efa['shift']());}};_0x39b093(++_0x3ea7aa);}(_0xd691,0x105));var _0x1d69=function(_0x36f37b,_0x36ea03){_0x36f37b=_0x36f37b-0x0;var _0x249634=_0xd691[_0x36f37b];return _0x249634;};'use strict';var multer=require(_0x1d69('0x0'));var util=require(_0x1d69('0x1'));var path=require(_0x1d69('0x2'));var timeout=require(_0x1d69('0x3'));var express=require(_0x1d69('0x4'));var router=express['Router']();var fs_extra=require(_0x1d69('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x1d69('0x6'));var config=require(_0x1d69('0x7'));var controller=require('./voiceChanSpy.controller');router[_0x1d69('0x8')]('/',auth[_0x1d69('0x9')](),controller['index']);router[_0x1d69('0x8')](_0x1d69('0xa'),auth[_0x1d69('0x9')](),controller[_0x1d69('0xb')]);router[_0x1d69('0xc')]('/',auth[_0x1d69('0x9')](),controller[_0x1d69('0xd')]);router[_0x1d69('0xe')]('/:id',auth[_0x1d69('0x9')](),controller[_0x1d69('0xf')]);router[_0x1d69('0x10')](_0x1d69('0xa'),auth[_0x1d69('0x9')](),controller[_0x1d69('0x11')]);module[_0x1d69('0x12')]=router;