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 _0x5ed2=['../../config/environment','get','isAuthenticated','/describe','describe','/:id','post','create','put','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x42ecb5,_0x20b4d2){var _0x487442=function(_0x555189){while(--_0x555189){_0x42ecb5['push'](_0x42ecb5['shift']());}};_0x487442(++_0x20b4d2);}(_0x5ed2,0x187));var _0x25ed=function(_0x1e3c02,_0x5c07a2){_0x1e3c02=_0x1e3c02-0x0;var _0x4d26d7=_0x5ed2[_0x1e3c02];return _0x4d26d7;};'use strict';var multer=require(_0x25ed('0x0'));var util=require(_0x25ed('0x1'));var path=require(_0x25ed('0x2'));var timeout=require(_0x25ed('0x3'));var express=require(_0x25ed('0x4'));var router=express[_0x25ed('0x5')]();var fs_extra=require(_0x25ed('0x6'));var auth=require(_0x25ed('0x7'));var interaction=require(_0x25ed('0x8'));var config=require(_0x25ed('0x9'));var controller=require('./jscriptyQuestionReport.controller');router[_0x25ed('0xa')]('/',auth[_0x25ed('0xb')](),controller['index']);router[_0x25ed('0xa')](_0x25ed('0xc'),auth[_0x25ed('0xb')](),controller[_0x25ed('0xd')]);router['get'](_0x25ed('0xe'),auth['isAuthenticated'](),controller['show']);router[_0x25ed('0xf')]('/',auth[_0x25ed('0xb')](),controller[_0x25ed('0x10')]);router[_0x25ed('0x11')](_0x25ed('0xe'),auth['isAuthenticated'](),controller['update']);router[_0x25ed('0x12')](_0x25ed('0xe'),auth[_0x25ed('0xb')](),controller['destroy']);module[_0x25ed('0x13')]=router;