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 _0x09d1=['./voiceChanSpy.controller','/:id','isAuthenticated','show','post','put','update','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x3b949e,_0x2e6f3e){var _0x3f725f=function(_0x953554){while(--_0x953554){_0x3b949e['push'](_0x3b949e['shift']());}};_0x3f725f(++_0x2e6f3e);}(_0x09d1,0x99));var _0x109d=function(_0x5df6c2,_0x35ee27){_0x5df6c2=_0x5df6c2-0x0;var _0x25f862=_0x09d1[_0x5df6c2];return _0x25f862;};'use strict';var multer=require(_0x109d('0x0'));var util=require('util');var path=require(_0x109d('0x1'));var timeout=require(_0x109d('0x2'));var express=require('express');var router=express[_0x109d('0x3')]();var auth=require(_0x109d('0x4'));var interaction=require(_0x109d('0x5'));var config=require(_0x109d('0x6'));var controller=require(_0x109d('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x109d('0x8'),auth[_0x109d('0x9')](),controller[_0x109d('0xa')]);router[_0x109d('0xb')]('/',auth[_0x109d('0x9')](),controller['create']);router[_0x109d('0xc')](_0x109d('0x8'),auth[_0x109d('0x9')](),controller[_0x109d('0xd')]);router['delete'](_0x109d('0x8'),auth[_0x109d('0x9')](),controller[_0x109d('0xe')]);module[_0x109d('0xf')]=router;