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