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 _0xa7e6=['delete','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','/describe','describe','/:id','show','create','put'];(function(_0x11343c,_0x12857d){var _0x5603b2=function(_0x3e06bd){while(--_0x3e06bd){_0x11343c['push'](_0x11343c['shift']());}};_0x5603b2(++_0x12857d);}(_0xa7e6,0x74));var _0x6a7e=function(_0x4dabb7,_0x3a58f0){_0x4dabb7=_0x4dabb7-0x0;var _0x7de17d=_0xa7e6[_0x4dabb7];return _0x7de17d;};'use strict';var multer=require(_0x6a7e('0x0'));var util=require(_0x6a7e('0x1'));var path=require(_0x6a7e('0x2'));var timeout=require(_0x6a7e('0x3'));var express=require(_0x6a7e('0x4'));var router=express[_0x6a7e('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x6a7e('0x6'));var config=require(_0x6a7e('0x7'));var controller=require(_0x6a7e('0x8'));router[_0x6a7e('0x9')]('/',auth[_0x6a7e('0xa')](),controller['index']);router[_0x6a7e('0x9')](_0x6a7e('0xb'),auth[_0x6a7e('0xa')](),controller[_0x6a7e('0xc')]);router[_0x6a7e('0x9')](_0x6a7e('0xd'),auth[_0x6a7e('0xa')](),controller[_0x6a7e('0xe')]);router[_0x6a7e('0x9')]('/:id/questions',auth['isAuthenticated'](),controller['getQuestions']);router['post']('/',auth[_0x6a7e('0xa')](),controller[_0x6a7e('0xf')]);router[_0x6a7e('0x10')](_0x6a7e('0xd'),auth[_0x6a7e('0xa')](),controller['update']);router[_0x6a7e('0x11')](_0x6a7e('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x6a7e('0x12')]=router;