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 _0xe8c6=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','destroy','multer','util','path','connect-timeout'];(function(_0x4f89fd,_0x4b81ae){var _0x5045b8=function(_0x48595d){while(--_0x48595d){_0x4f89fd['push'](_0x4f89fd['shift']());}};_0x5045b8(++_0x4b81ae);}(_0xe8c6,0x137));var _0x6e8c=function(_0x283007,_0x21433f){_0x283007=_0x283007-0x0;var _0x1e0468=_0xe8c6[_0x283007];return _0x1e0468;};'use strict';var multer=require(_0x6e8c('0x0'));var util=require(_0x6e8c('0x1'));var path=require(_0x6e8c('0x2'));var timeout=require(_0x6e8c('0x3'));var express=require(_0x6e8c('0x4'));var router=express[_0x6e8c('0x5')]();var fs_extra=require(_0x6e8c('0x6'));var auth=require(_0x6e8c('0x7'));var interaction=require(_0x6e8c('0x8'));var config=require(_0x6e8c('0x9'));var controller=require(_0x6e8c('0xa'));router[_0x6e8c('0xb')]('/',auth[_0x6e8c('0xc')](),controller[_0x6e8c('0xd')]);router[_0x6e8c('0xb')](_0x6e8c('0xe'),auth[_0x6e8c('0xc')](),controller[_0x6e8c('0xf')]);router[_0x6e8c('0x10')]('/',auth[_0x6e8c('0xc')](),controller[_0x6e8c('0x11')]);router[_0x6e8c('0x12')](_0x6e8c('0xe'),auth[_0x6e8c('0xc')](),controller[_0x6e8c('0x13')]);router['delete'](_0x6e8c('0xe'),auth[_0x6e8c('0xc')](),controller[_0x6e8c('0x14')]);module['exports']=router;