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