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 _0xa35f=['exports','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete'];(function(_0x174c66,_0x119100){var _0x447e3a=function(_0xbe3feb){while(--_0xbe3feb){_0x174c66['push'](_0x174c66['shift']());}};_0x447e3a(++_0x119100);}(_0xa35f,0xa3));var _0xfa35=function(_0x562faa,_0x23adc7){_0x562faa=_0x562faa-0x0;var _0xc70f59=_0xa35f[_0x562faa];return _0xc70f59;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xfa35('0x0'));var timeout=require('connect-timeout');var express=require(_0xfa35('0x1'));var router=express[_0xfa35('0x2')]();var fs_extra=require(_0xfa35('0x3'));var auth=require(_0xfa35('0x4'));var interaction=require(_0xfa35('0x5'));var config=require(_0xfa35('0x6'));var controller=require(_0xfa35('0x7'));router[_0xfa35('0x8')]('/',auth[_0xfa35('0x9')](),controller[_0xfa35('0xa')]);router[_0xfa35('0x8')](_0xfa35('0xb'),auth[_0xfa35('0x9')](),controller['show']);router[_0xfa35('0xc')]('/',auth[_0xfa35('0x9')](),controller[_0xfa35('0xd')]);router[_0xfa35('0xe')](_0xfa35('0xb'),auth[_0xfa35('0x9')](),controller[_0xfa35('0xf')]);router[_0xfa35('0x10')](_0xfa35('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0xfa35('0x11')]=router;