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 _0x830e=['show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceContext.controller','index','get','/:id','isAuthenticated'];(function(_0x146cbd,_0x352523){var _0x539de5=function(_0x458172){while(--_0x458172){_0x146cbd['push'](_0x146cbd['shift']());}};_0x539de5(++_0x352523);}(_0x830e,0x16c));var _0xe830=function(_0x68a049,_0x8b80ef){_0x68a049=_0x68a049-0x0;var _0x5ba8fc=_0x830e[_0x68a049];return _0x5ba8fc;};'use strict';var multer=require(_0xe830('0x0'));var util=require(_0xe830('0x1'));var path=require(_0xe830('0x2'));var timeout=require(_0xe830('0x3'));var express=require(_0xe830('0x4'));var router=express[_0xe830('0x5')]();var auth=require(_0xe830('0x6'));var interaction=require(_0xe830('0x7'));var config=require(_0xe830('0x8'));var controller=require(_0xe830('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xe830('0xa')]);router[_0xe830('0xb')](_0xe830('0xc'),auth[_0xe830('0xd')](),controller[_0xe830('0xe')]);router[_0xe830('0xf')]('/',auth[_0xe830('0xd')](),controller[_0xe830('0x10')]);router[_0xe830('0x11')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xe830('0x12')](_0xe830('0xc'),auth[_0xe830('0xd')](),controller[_0xe830('0x13')]);module[_0xe830('0x14')]=router;