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