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 _0x68cd=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','/:id','show','post','create','update','delete','destroy','exports','util'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x68cd,0xed));var _0xd68c=function(_0x257e65,_0x3f4a68){_0x257e65=_0x257e65-0x0;var _0x3eef2f=_0x68cd[_0x257e65];return _0x3eef2f;};'use strict';var multer=require('multer');var util=require(_0xd68c('0x0'));var path=require('path');var timeout=require(_0xd68c('0x1'));var express=require(_0xd68c('0x2'));var router=express[_0xd68c('0x3')]();var fs_extra=require(_0xd68c('0x4'));var auth=require(_0xd68c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xd68c('0x6'));var controller=require('./voiceChanSpy.controller');router[_0xd68c('0x7')]('/',auth[_0xd68c('0x8')](),controller['index']);router[_0xd68c('0x7')](_0xd68c('0x9'),auth[_0xd68c('0x8')](),controller[_0xd68c('0xa')]);router[_0xd68c('0xb')]('/',auth[_0xd68c('0x8')](),controller[_0xd68c('0xc')]);router['put'](_0xd68c('0x9'),auth[_0xd68c('0x8')](),controller[_0xd68c('0xd')]);router[_0xd68c('0xe')]('/:id',auth[_0xd68c('0x8')](),controller[_0xd68c('0xf')]);module[_0xd68c('0x10')]=router;