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 _0xc0e6=['path','express','Router','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','isAuthenticated','get','/describe','describe','show','/:id/questions','getQuestions','post','create','/:id','delete','destroy','exports','multer','util'];(function(_0x4422cc,_0x42d6d9){var _0x51bb9e=function(_0x26ece4){while(--_0x26ece4){_0x4422cc['push'](_0x4422cc['shift']());}};_0x51bb9e(++_0x42d6d9);}(_0xc0e6,0xd0));var _0x6c0e=function(_0x36ed48,_0x1ee0d4){_0x36ed48=_0x36ed48-0x0;var _0x51c63a=_0xc0e6[_0x36ed48];return _0x51c63a;};'use strict';var multer=require(_0x6c0e('0x0'));var util=require(_0x6c0e('0x1'));var path=require(_0x6c0e('0x2'));var timeout=require('connect-timeout');var express=require(_0x6c0e('0x3'));var router=express[_0x6c0e('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x6c0e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6c0e('0x6'));var controller=require(_0x6c0e('0x7'));router['get']('/',auth[_0x6c0e('0x8')](),controller['index']);router[_0x6c0e('0x9')](_0x6c0e('0xa'),auth[_0x6c0e('0x8')](),controller[_0x6c0e('0xb')]);router[_0x6c0e('0x9')]('/:id',auth[_0x6c0e('0x8')](),controller[_0x6c0e('0xc')]);router[_0x6c0e('0x9')](_0x6c0e('0xd'),auth[_0x6c0e('0x8')](),controller[_0x6c0e('0xe')]);router[_0x6c0e('0xf')]('/',auth[_0x6c0e('0x8')](),controller[_0x6c0e('0x10')]);router['put'](_0x6c0e('0x11'),auth[_0x6c0e('0x8')](),controller['update']);router[_0x6c0e('0x12')](_0x6c0e('0x11'),auth[_0x6c0e('0x8')](),controller[_0x6c0e('0x13')]);module[_0x6c0e('0x14')]=router;