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 _0xd67c=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','put','delete','destroy','exports','multer','util','path'];(function(_0xea7085,_0x8f947e){var _0x5538a7=function(_0x352d64){while(--_0x352d64){_0xea7085['push'](_0xea7085['shift']());}};_0x5538a7(++_0x8f947e);}(_0xd67c,0x177));var _0xcd67=function(_0x450e22,_0x3ba125){_0x450e22=_0x450e22-0x0;var _0x5e3b1d=_0xd67c[_0x450e22];return _0x5e3b1d;};'use strict';var multer=require(_0xcd67('0x0'));var util=require(_0xcd67('0x1'));var path=require(_0xcd67('0x2'));var timeout=require(_0xcd67('0x3'));var express=require(_0xcd67('0x4'));var router=express[_0xcd67('0x5')]();var fs_extra=require(_0xcd67('0x6'));var auth=require(_0xcd67('0x7'));var interaction=require(_0xcd67('0x8'));var config=require(_0xcd67('0x9'));var controller=require(_0xcd67('0xa'));router[_0xcd67('0xb')]('/',auth[_0xcd67('0xc')](),controller[_0xcd67('0xd')]);router['get'](_0xcd67('0xe'),auth[_0xcd67('0xc')](),controller[_0xcd67('0xf')]);router[_0xcd67('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0xcd67('0x11')]('/:id',auth[_0xcd67('0xc')](),controller['update']);router[_0xcd67('0x12')]('/:id',auth[_0xcd67('0xc')](),controller[_0xcd67('0x13')]);module[_0xcd67('0x14')]=router;