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