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 _0xba09=['delete','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','show','/:id/questions','getQuestions','post','create','/:id'];(function(_0x52ec44,_0xeefeea){var _0x2dffb3=function(_0x39dc86){while(--_0x39dc86){_0x52ec44['push'](_0x52ec44['shift']());}};_0x2dffb3(++_0xeefeea);}(_0xba09,0x73));var _0x9ba0=function(_0x54501d,_0x42e8a6){_0x54501d=_0x54501d-0x0;var _0x2b9b2c=_0xba09[_0x54501d];return _0x2b9b2c;};'use strict';var multer=require(_0x9ba0('0x0'));var util=require(_0x9ba0('0x1'));var path=require('path');var timeout=require(_0x9ba0('0x2'));var express=require(_0x9ba0('0x3'));var router=express[_0x9ba0('0x4')]();var fs_extra=require(_0x9ba0('0x5'));var auth=require(_0x9ba0('0x6'));var interaction=require(_0x9ba0('0x7'));var config=require('../../config/environment');var controller=require('./jscriptySessionReport.controller');router[_0x9ba0('0x8')]('/',auth[_0x9ba0('0x9')](),controller[_0x9ba0('0xa')]);router[_0x9ba0('0x8')](_0x9ba0('0xb'),auth[_0x9ba0('0x9')](),controller['describe']);router['get']('/:id',auth[_0x9ba0('0x9')](),controller[_0x9ba0('0xc')]);router[_0x9ba0('0x8')](_0x9ba0('0xd'),auth['isAuthenticated'](),controller[_0x9ba0('0xe')]);router[_0x9ba0('0xf')]('/',auth[_0x9ba0('0x9')](),controller[_0x9ba0('0x10')]);router['put'](_0x9ba0('0x11'),auth[_0x9ba0('0x9')](),controller['update']);router[_0x9ba0('0x12')](_0x9ba0('0x11'),auth[_0x9ba0('0x9')](),controller['destroy']);module['exports']=router;