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 _0xe7b1=['/:id','isAuthenticated','show','post','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','./voiceChanSpy.controller','index'];(function(_0x3cda5a,_0x12a608){var _0x1a8fcb=function(_0x876290){while(--_0x876290){_0x3cda5a['push'](_0x3cda5a['shift']());}};_0x1a8fcb(++_0x12a608);}(_0xe7b1,0x138));var _0x1e7b=function(_0x197fb1,_0x5a697b){_0x197fb1=_0x197fb1-0x0;var _0x50a34e=_0xe7b1[_0x197fb1];return _0x50a34e;};'use strict';var multer=require(_0x1e7b('0x0'));var util=require(_0x1e7b('0x1'));var path=require(_0x1e7b('0x2'));var timeout=require(_0x1e7b('0x3'));var express=require(_0x1e7b('0x4'));var router=express[_0x1e7b('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1e7b('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x1e7b('0x7')]);router['get'](_0x1e7b('0x8'),auth[_0x1e7b('0x9')](),controller[_0x1e7b('0xa')]);router[_0x1e7b('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0x1e7b('0xc')](_0x1e7b('0x8'),auth[_0x1e7b('0x9')](),controller[_0x1e7b('0xd')]);router[_0x1e7b('0xe')](_0x1e7b('0x8'),auth['isAuthenticated'](),controller['destroy']);module[_0x1e7b('0xf')]=router;