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