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