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