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 _0x954a=['/:id','show','create','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','./voiceChanSpy.controller','get','isAuthenticated','index'];(function(_0x3e21b8,_0x399323){var _0xf0aa0b=function(_0x166de0){while(--_0x166de0){_0x3e21b8['push'](_0x3e21b8['shift']());}};_0xf0aa0b(++_0x399323);}(_0x954a,0x66));var _0xa954=function(_0x23734c,_0x422b2b){_0x23734c=_0x23734c-0x0;var _0x16f2c9=_0x954a[_0x23734c];return _0x16f2c9;};'use strict';var multer=require(_0xa954('0x0'));var util=require('util');var path=require(_0xa954('0x1'));var timeout=require(_0xa954('0x2'));var express=require(_0xa954('0x3'));var router=express[_0xa954('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xa954('0x5'));var config=require('../../config/environment');var controller=require(_0xa954('0x6'));router[_0xa954('0x7')]('/',auth[_0xa954('0x8')](),controller[_0xa954('0x9')]);router['get'](_0xa954('0xa'),auth['isAuthenticated'](),controller[_0xa954('0xb')]);router['post']('/',auth[_0xa954('0x8')](),controller[_0xa954('0xc')]);router['put']('/:id',auth[_0xa954('0x8')](),controller['update']);router[_0xa954('0xd')]('/:id',auth[_0xa954('0x8')](),controller[_0xa954('0xe')]);module[_0xa954('0xf')]=router;