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 _0xaf17=['isAuthenticated','/:id','post','create','put','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get'];(function(_0x571dbe,_0x920519){var _0x51f171=function(_0x1ddfb6){while(--_0x1ddfb6){_0x571dbe['push'](_0x571dbe['shift']());}};_0x51f171(++_0x920519);}(_0xaf17,0x18b));var _0x7af1=function(_0x2916fa,_0x38d265){_0x2916fa=_0x2916fa-0x0;var _0x18c6cb=_0xaf17[_0x2916fa];return _0x18c6cb;};'use strict';var multer=require(_0x7af1('0x0'));var util=require(_0x7af1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7af1('0x2'));var router=express[_0x7af1('0x3')]();var fs_extra=require(_0x7af1('0x4'));var auth=require(_0x7af1('0x5'));var interaction=require(_0x7af1('0x6'));var config=require(_0x7af1('0x7'));var controller=require(_0x7af1('0x8'));router[_0x7af1('0x9')]('/',auth[_0x7af1('0xa')](),controller['index']);router[_0x7af1('0x9')](_0x7af1('0xb'),auth[_0x7af1('0xa')](),controller['show']);router[_0x7af1('0xc')]('/',auth[_0x7af1('0xa')](),controller[_0x7af1('0xd')]);router[_0x7af1('0xe')](_0x7af1('0xb'),auth[_0x7af1('0xa')](),controller['update']);router['delete'](_0x7af1('0xb'),auth[_0x7af1('0xa')](),controller['destroy']);module['exports']=router;