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 _0xad1d=['../../components/interaction/service','../../config/environment','get','isAuthenticated','post','create','put','/:id','destroy','exports','util','path','connect-timeout','express','fs-extra'];(function(_0x4b03c9,_0x17ce03){var _0x161ba2=function(_0xb952db){while(--_0xb952db){_0x4b03c9['push'](_0x4b03c9['shift']());}};_0x161ba2(++_0x17ce03);}(_0xad1d,0xaf));var _0xdad1=function(_0x374ada,_0x27b3a5){_0x374ada=_0x374ada-0x0;var _0x449ed8=_0xad1d[_0x374ada];return _0x449ed8;};'use strict';var multer=require('multer');var util=require(_0xdad1('0x0'));var path=require(_0xdad1('0x1'));var timeout=require(_0xdad1('0x2'));var express=require(_0xdad1('0x3'));var router=express['Router']();var fs_extra=require(_0xdad1('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xdad1('0x5'));var config=require(_0xdad1('0x6'));var controller=require('./voiceChanSpy.controller');router[_0xdad1('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth[_0xdad1('0x8')](),controller['show']);router[_0xdad1('0x9')]('/',auth[_0xdad1('0x8')](),controller[_0xdad1('0xa')]);router[_0xdad1('0xb')](_0xdad1('0xc'),auth[_0xdad1('0x8')](),controller['update']);router['delete'](_0xdad1('0xc'),auth[_0xdad1('0x8')](),controller[_0xdad1('0xd')]);module[_0xdad1('0xe')]=router;