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 _0xa96c=['connect-timeout','express','Router','../../components/auth/service','get','isAuthenticated','index','/:id','post','put','update','delete','path'];(function(_0x58e261,_0x404f31){var _0x57bbd6=function(_0x11988e){while(--_0x11988e){_0x58e261['push'](_0x58e261['shift']());}};_0x57bbd6(++_0x404f31);}(_0xa96c,0x137));var _0xca96=function(_0x51df15,_0x4d9920){_0x51df15=_0x51df15-0x0;var _0x270f7c=_0xa96c[_0x51df15];return _0x270f7c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xca96('0x0'));var timeout=require(_0xca96('0x1'));var express=require(_0xca96('0x2'));var router=express[_0xca96('0x3')]();var auth=require(_0xca96('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./voiceContext.controller');router[_0xca96('0x5')]('/',auth[_0xca96('0x6')](),controller[_0xca96('0x7')]);router[_0xca96('0x5')](_0xca96('0x8'),auth[_0xca96('0x6')](),controller['show']);router[_0xca96('0x9')]('/',auth[_0xca96('0x6')](),controller['create']);router[_0xca96('0xa')](_0xca96('0x8'),auth[_0xca96('0x6')](),controller[_0xca96('0xb')]);router[_0xca96('0xc')](_0xca96('0x8'),auth[_0xca96('0x6')](),controller['destroy']);module['exports']=router;