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 _0x33c4=['create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','post'];(function(_0x3aabaf,_0x184c40){var _0x1cee46=function(_0x49882b){while(--_0x49882b){_0x3aabaf['push'](_0x3aabaf['shift']());}};_0x1cee46(++_0x184c40);}(_0x33c4,0x123));var _0x433c=function(_0x329cde,_0x1d23b7){_0x329cde=_0x329cde-0x0;var _0x29cb1c=_0x33c4[_0x329cde];return _0x29cb1c;};'use strict';var multer=require(_0x433c('0x0'));var util=require(_0x433c('0x1'));var path=require(_0x433c('0x2'));var timeout=require(_0x433c('0x3'));var express=require(_0x433c('0x4'));var router=express[_0x433c('0x5')]();var fs_extra=require(_0x433c('0x6'));var auth=require(_0x433c('0x7'));var interaction=require(_0x433c('0x8'));var config=require(_0x433c('0x9'));var controller=require('./jscriptyQuestionReport.controller');router[_0x433c('0xa')]('/',auth[_0x433c('0xb')](),controller[_0x433c('0xc')]);router[_0x433c('0xa')]('/describe',auth[_0x433c('0xb')](),controller[_0x433c('0xd')]);router['get'](_0x433c('0xe'),auth[_0x433c('0xb')](),controller[_0x433c('0xf')]);router[_0x433c('0x10')]('/',auth[_0x433c('0xb')](),controller[_0x433c('0x11')]);router['put'](_0x433c('0xe'),auth['isAuthenticated'](),controller[_0x433c('0x12')]);router[_0x433c('0x13')](_0x433c('0xe'),auth[_0x433c('0xb')](),controller[_0x433c('0x14')]);module[_0x433c('0x15')]=router;