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 _0x3acb=['../../config/environment','./jscriptyQuestionReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','put','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x52bf7b,_0x50ad9f){var _0x1cbdc3=function(_0x8934d3){while(--_0x8934d3){_0x52bf7b['push'](_0x52bf7b['shift']());}};_0x1cbdc3(++_0x50ad9f);}(_0x3acb,0x188));var _0xb3ac=function(_0x3506ec,_0x59ef8e){_0x3506ec=_0x3506ec-0x0;var _0x516c66=_0x3acb[_0x3506ec];return _0x516c66;};'use strict';var multer=require(_0xb3ac('0x0'));var util=require(_0xb3ac('0x1'));var path=require('path');var timeout=require(_0xb3ac('0x2'));var express=require(_0xb3ac('0x3'));var router=express[_0xb3ac('0x4')]();var auth=require(_0xb3ac('0x5'));var interaction=require(_0xb3ac('0x6'));var config=require(_0xb3ac('0x7'));var controller=require(_0xb3ac('0x8'));router['get']('/',auth[_0xb3ac('0x9')](),controller[_0xb3ac('0xa')]);router[_0xb3ac('0xb')](_0xb3ac('0xc'),auth[_0xb3ac('0x9')](),controller[_0xb3ac('0xd')]);router[_0xb3ac('0xb')](_0xb3ac('0xe'),auth[_0xb3ac('0x9')](),controller[_0xb3ac('0xf')]);router['post']('/',auth[_0xb3ac('0x9')](),controller['create']);router[_0xb3ac('0x10')](_0xb3ac('0xe'),auth['isAuthenticated'](),controller['update']);router[_0xb3ac('0x11')]('/:id',auth[_0xb3ac('0x9')](),controller['destroy']);module[_0xb3ac('0x12')]=router;