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 _0xa7b4=['/:id/questions','getQuestions','put','update','destroy','util','path','express','Router','./jscriptySessionReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show'];(function(_0x4efb9c,_0x5a990f){var _0x26ccca=function(_0xb8188a){while(--_0xb8188a){_0x4efb9c['push'](_0x4efb9c['shift']());}};_0x26ccca(++_0x5a990f);}(_0xa7b4,0x8d));var _0x4a7b=function(_0x562148,_0x28c75f){_0x562148=_0x562148-0x0;var _0x3fc4b3=_0xa7b4[_0x562148];return _0x3fc4b3;};'use strict';var multer=require('multer');var util=require(_0x4a7b('0x0'));var path=require(_0x4a7b('0x1'));var timeout=require('connect-timeout');var express=require(_0x4a7b('0x2'));var router=express[_0x4a7b('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4a7b('0x4'));router[_0x4a7b('0x5')]('/',auth['isAuthenticated'](),controller[_0x4a7b('0x6')]);router[_0x4a7b('0x5')](_0x4a7b('0x7'),auth[_0x4a7b('0x8')](),controller[_0x4a7b('0x9')]);router[_0x4a7b('0x5')](_0x4a7b('0xa'),auth[_0x4a7b('0x8')](),controller[_0x4a7b('0xb')]);router[_0x4a7b('0x5')](_0x4a7b('0xc'),auth[_0x4a7b('0x8')](),controller[_0x4a7b('0xd')]);router['post']('/',auth[_0x4a7b('0x8')](),controller['create']);router[_0x4a7b('0xe')](_0x4a7b('0xa'),auth[_0x4a7b('0x8')](),controller[_0x4a7b('0xf')]);router['delete']('/:id',auth[_0x4a7b('0x8')](),controller[_0x4a7b('0x10')]);module['exports']=router;