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 _0xf27c=['exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceContext.controller','get','isAuthenticated','/:id','show','post','create','put','delete','destroy'];(function(_0x4b2863,_0x494899){var _0x567d67=function(_0x751f03){while(--_0x751f03){_0x4b2863['push'](_0x4b2863['shift']());}};_0x567d67(++_0x494899);}(_0xf27c,0xb5));var _0xcf27=function(_0x30553a,_0x1284d6){_0x30553a=_0x30553a-0x0;var _0x2b2dd6=_0xf27c[_0x30553a];return _0x2b2dd6;};'use strict';var multer=require('multer');var util=require(_0xcf27('0x0'));var path=require(_0xcf27('0x1'));var timeout=require(_0xcf27('0x2'));var express=require(_0xcf27('0x3'));var router=express[_0xcf27('0x4')]();var fs_extra=require(_0xcf27('0x5'));var auth=require(_0xcf27('0x6'));var interaction=require(_0xcf27('0x7'));var config=require(_0xcf27('0x8'));var controller=require(_0xcf27('0x9'));router[_0xcf27('0xa')]('/',auth[_0xcf27('0xb')](),controller['index']);router[_0xcf27('0xa')](_0xcf27('0xc'),auth['isAuthenticated'](),controller[_0xcf27('0xd')]);router[_0xcf27('0xe')]('/',auth[_0xcf27('0xb')](),controller[_0xcf27('0xf')]);router[_0xcf27('0x10')]('/:id',auth[_0xcf27('0xb')](),controller['update']);router[_0xcf27('0x11')](_0xcf27('0xc'),auth[_0xcf27('0xb')](),controller[_0xcf27('0x12')]);module[_0xcf27('0x13')]=router;