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 _0xacc1=['destroy','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','create','put','update'];(function(_0xc4001c,_0x1bf8f0){var _0x49f7bc=function(_0x1059b8){while(--_0x1059b8){_0xc4001c['push'](_0xc4001c['shift']());}};_0x49f7bc(++_0x1bf8f0);}(_0xacc1,0x187));var _0x1acc=function(_0x1c5549,_0x596e9e){_0x1c5549=_0x1c5549-0x0;var _0x51ddae=_0xacc1[_0x1c5549];return _0x51ddae;};'use strict';var multer=require(_0x1acc('0x0'));var util=require(_0x1acc('0x1'));var path=require(_0x1acc('0x2'));var timeout=require(_0x1acc('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x1acc('0x4'));var interaction=require(_0x1acc('0x5'));var config=require(_0x1acc('0x6'));var controller=require('./voiceChanSpy.controller');router[_0x1acc('0x7')]('/',auth[_0x1acc('0x8')](),controller['index']);router[_0x1acc('0x7')](_0x1acc('0x9'),auth['isAuthenticated'](),controller[_0x1acc('0xa')]);router['post']('/',auth[_0x1acc('0x8')](),controller[_0x1acc('0xb')]);router[_0x1acc('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x1acc('0xd')]);router['delete'](_0x1acc('0x9'),auth['isAuthenticated'](),controller[_0x1acc('0xe')]);module['exports']=router;