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