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 _0x2fa6=['post','put','update','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','show'];(function(_0x56229a,_0x21c621){var _0x30542c=function(_0xb71695){while(--_0xb71695){_0x56229a['push'](_0x56229a['shift']());}};_0x30542c(++_0x21c621);}(_0x2fa6,0x159));var _0x62fa=function(_0x491a7f,_0x28bb80){_0x491a7f=_0x491a7f-0x0;var _0x3d8f44=_0x2fa6[_0x491a7f];return _0x3d8f44;};'use strict';var multer=require(_0x62fa('0x0'));var util=require(_0x62fa('0x1'));var path=require(_0x62fa('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x62fa('0x3')]();var fs_extra=require(_0x62fa('0x4'));var auth=require(_0x62fa('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x62fa('0x6'));var controller=require(_0x62fa('0x7'));router[_0x62fa('0x8')]('/',auth[_0x62fa('0x9')](),controller[_0x62fa('0xa')]);router[_0x62fa('0x8')]('/:id',auth[_0x62fa('0x9')](),controller[_0x62fa('0xb')]);router[_0x62fa('0xc')]('/',auth[_0x62fa('0x9')](),controller['create']);router[_0x62fa('0xd')]('/:id',auth[_0x62fa('0x9')](),controller[_0x62fa('0xe')]);router['delete']('/:id',auth[_0x62fa('0x9')](),controller[_0x62fa('0xf')]);module[_0x62fa('0x10')]=router;