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 _0xf0ba=['get','/:id','show','/:id/questions','getQuestions','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./jscriptySessionReport.controller','isAuthenticated','/describe','describe'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf0ba,0x1ed));var _0xaf0b=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf0ba[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xaf0b('0x0'));var util=require(_0xaf0b('0x1'));var path=require(_0xaf0b('0x2'));var timeout=require(_0xaf0b('0x3'));var express=require(_0xaf0b('0x4'));var router=express['Router']();var auth=require(_0xaf0b('0x5'));var interaction=require(_0xaf0b('0x6'));var config=require('../../config/environment');var controller=require(_0xaf0b('0x7'));router['get']('/',auth[_0xaf0b('0x8')](),controller['index']);router['get'](_0xaf0b('0x9'),auth[_0xaf0b('0x8')](),controller[_0xaf0b('0xa')]);router[_0xaf0b('0xb')](_0xaf0b('0xc'),auth['isAuthenticated'](),controller[_0xaf0b('0xd')]);router[_0xaf0b('0xb')](_0xaf0b('0xe'),auth['isAuthenticated'](),controller[_0xaf0b('0xf')]);router['post']('/',auth[_0xaf0b('0x8')](),controller[_0xaf0b('0x10')]);router[_0xaf0b('0x11')]('/:id',auth[_0xaf0b('0x8')](),controller[_0xaf0b('0x12')]);router[_0xaf0b('0x13')](_0xaf0b('0xc'),auth[_0xaf0b('0x8')](),controller[_0xaf0b('0x14')]);module['exports']=router;