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 _0x8c3b=['get','isAuthenticated','index','describe','show','create','put','/:id','update','delete','destroy','exports','util','connect-timeout','express','../../components/auth/service','../../config/environment','./jscriptyQuestionReport.controller'];(function(_0x548d7d,_0x2d41fc){var _0xb1c878=function(_0x570f09){while(--_0x570f09){_0x548d7d['push'](_0x548d7d['shift']());}};_0xb1c878(++_0x2d41fc);}(_0x8c3b,0x174));var _0xb8c3=function(_0x452f34,_0x299be5){_0x452f34=_0x452f34-0x0;var _0x5394a3=_0x8c3b[_0x452f34];return _0x5394a3;};'use strict';var multer=require('multer');var util=require(_0xb8c3('0x0'));var path=require('path');var timeout=require(_0xb8c3('0x1'));var express=require(_0xb8c3('0x2'));var router=express['Router']();var auth=require(_0xb8c3('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xb8c3('0x4'));var controller=require(_0xb8c3('0x5'));router[_0xb8c3('0x6')]('/',auth[_0xb8c3('0x7')](),controller[_0xb8c3('0x8')]);router[_0xb8c3('0x6')]('/describe',auth[_0xb8c3('0x7')](),controller[_0xb8c3('0x9')]);router['get']('/:id',auth[_0xb8c3('0x7')](),controller[_0xb8c3('0xa')]);router['post']('/',auth[_0xb8c3('0x7')](),controller[_0xb8c3('0xb')]);router[_0xb8c3('0xc')](_0xb8c3('0xd'),auth[_0xb8c3('0x7')](),controller[_0xb8c3('0xe')]);router[_0xb8c3('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xb8c3('0x10')]);module[_0xb8c3('0x11')]=router;