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 _0x5e3a=['post','put','update','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show'];(function(_0x305b20,_0x5e57e9){var _0x26d64a=function(_0x2e17f0){while(--_0x2e17f0){_0x305b20['push'](_0x305b20['shift']());}};_0x26d64a(++_0x5e57e9);}(_0x5e3a,0xea));var _0xa5e3=function(_0x19767f,_0x1e038f){_0x19767f=_0x19767f-0x0;var _0x50c202=_0x5e3a[_0x19767f];return _0x50c202;};'use strict';var multer=require('multer');var util=require(_0xa5e3('0x0'));var path=require('path');var timeout=require(_0xa5e3('0x1'));var express=require(_0xa5e3('0x2'));var router=express[_0xa5e3('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xa5e3('0x4'));var interaction=require(_0xa5e3('0x5'));var config=require(_0xa5e3('0x6'));var controller=require(_0xa5e3('0x7'));router[_0xa5e3('0x8')]('/',auth[_0xa5e3('0x9')](),controller[_0xa5e3('0xa')]);router['get'](_0xa5e3('0xb'),auth[_0xa5e3('0x9')](),controller[_0xa5e3('0xc')]);router[_0xa5e3('0xd')]('/',auth[_0xa5e3('0x9')](),controller['create']);router[_0xa5e3('0xe')](_0xa5e3('0xb'),auth[_0xa5e3('0x9')](),controller[_0xa5e3('0xf')]);router[_0xa5e3('0x10')](_0xa5e3('0xb'),auth[_0xa5e3('0x9')](),controller[_0xa5e3('0x11')]);module[_0xa5e3('0x12')]=router;