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 _0xf181=['update','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','isAuthenticated','index','/:id','post'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0xf181,0x6c));var _0x1f18=function(_0x23629f,_0x4b37fa){_0x23629f=_0x23629f-0x0;var _0x4d810a=_0xf181[_0x23629f];return _0x4d810a;};'use strict';var multer=require(_0x1f18('0x0'));var util=require(_0x1f18('0x1'));var path=require(_0x1f18('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x1f18('0x3')]();var auth=require(_0x1f18('0x4'));var interaction=require(_0x1f18('0x5'));var config=require(_0x1f18('0x6'));var controller=require(_0x1f18('0x7'));router['get']('/',auth[_0x1f18('0x8')](),controller[_0x1f18('0x9')]);router['get'](_0x1f18('0xa'),auth[_0x1f18('0x8')](),controller['show']);router[_0x1f18('0xb')]('/',auth[_0x1f18('0x8')](),controller['create']);router['put'](_0x1f18('0xa'),auth[_0x1f18('0x8')](),controller[_0x1f18('0xc')]);router['delete'](_0x1f18('0xa'),auth[_0x1f18('0x8')](),controller[_0x1f18('0xd')]);module[_0x1f18('0xe')]=router;