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 _0x706c=['multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','index','get','/:id','isAuthenticated','show','delete','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x706c,0xee));var _0xc706=function(_0x16f77c,_0x5256b1){_0x16f77c=_0x16f77c-0x0;var _0x78986e=_0x706c[_0x16f77c];return _0x78986e;};'use strict';var multer=require(_0xc706('0x0'));var util=require('util');var path=require(_0xc706('0x1'));var timeout=require('connect-timeout');var express=require(_0xc706('0x2'));var router=express[_0xc706('0x3')]();var fs_extra=require(_0xc706('0x4'));var auth=require(_0xc706('0x5'));var interaction=require(_0xc706('0x6'));var config=require('../../config/environment');var controller=require('./voiceChanSpy.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xc706('0x7')]);router[_0xc706('0x8')](_0xc706('0x9'),auth[_0xc706('0xa')](),controller[_0xc706('0xb')]);router['post']('/',auth[_0xc706('0xa')](),controller['create']);router['put'](_0xc706('0x9'),auth[_0xc706('0xa')](),controller['update']);router[_0xc706('0xc')](_0xc706('0x9'),auth['isAuthenticated'](),controller['destroy']);module[_0xc706('0xd')]=router;