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