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 _0x2209=['delete','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/questions','getQuestions','create','put','update'];(function(_0x1aa0e7,_0x498fbd){var _0x55f771=function(_0x595895){while(--_0x595895){_0x1aa0e7['push'](_0x1aa0e7['shift']());}};_0x55f771(++_0x498fbd);}(_0x2209,0x95));var _0x9220=function(_0x371f44,_0x130adb){_0x371f44=_0x371f44-0x0;var _0x482164=_0x2209[_0x371f44];return _0x482164;};'use strict';var multer=require(_0x9220('0x0'));var util=require(_0x9220('0x1'));var path=require(_0x9220('0x2'));var timeout=require(_0x9220('0x3'));var express=require(_0x9220('0x4'));var router=express['Router']();var auth=require(_0x9220('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x9220('0x6'));var controller=require(_0x9220('0x7'));router[_0x9220('0x8')]('/',auth[_0x9220('0x9')](),controller[_0x9220('0xa')]);router[_0x9220('0x8')](_0x9220('0xb'),auth[_0x9220('0x9')](),controller[_0x9220('0xc')]);router['get'](_0x9220('0xd'),auth[_0x9220('0x9')](),controller['show']);router[_0x9220('0x8')](_0x9220('0xe'),auth[_0x9220('0x9')](),controller[_0x9220('0xf')]);router['post']('/',auth[_0x9220('0x9')](),controller[_0x9220('0x10')]);router[_0x9220('0x11')](_0x9220('0xd'),auth[_0x9220('0x9')](),controller[_0x9220('0x12')]);router[_0x9220('0x13')](_0x9220('0xd'),auth['isAuthenticated'](),controller[_0x9220('0x14')]);module['exports']=router;