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