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