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