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 _0x66a5=['fs-extra','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','/describe','/:id','show','post','create','update','delete','destroy','exports','multer','path','connect-timeout','express'];(function(_0x1c7882,_0x373078){var _0x1c761e=function(_0x42b144){while(--_0x42b144){_0x1c7882['push'](_0x1c7882['shift']());}};_0x1c761e(++_0x373078);}(_0x66a5,0x1be));var _0x566a=function(_0x1ec479,_0x54d127){_0x1ec479=_0x1ec479-0x0;var _0x43ca09=_0x66a5[_0x1ec479];return _0x43ca09;};'use strict';var multer=require(_0x566a('0x0'));var util=require('util');var path=require(_0x566a('0x1'));var timeout=require(_0x566a('0x2'));var express=require(_0x566a('0x3'));var router=express['Router']();var fs_extra=require(_0x566a('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x566a('0x5'));var controller=require(_0x566a('0x6'));router[_0x566a('0x7')]('/',auth[_0x566a('0x8')](),controller['index']);router[_0x566a('0x7')](_0x566a('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0x566a('0x7')](_0x566a('0xa'),auth['isAuthenticated'](),controller[_0x566a('0xb')]);router[_0x566a('0xc')]('/',auth[_0x566a('0x8')](),controller[_0x566a('0xd')]);router['put'](_0x566a('0xa'),auth[_0x566a('0x8')](),controller[_0x566a('0xe')]);router[_0x566a('0xf')](_0x566a('0xa'),auth['isAuthenticated'](),controller[_0x566a('0x10')]);module[_0x566a('0x11')]=router;