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 _0x659c=['isAuthenticated','index','/describe','/:id','create','put','update','delete','destroy','exports','multer','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x659c,0x1aa));var _0xc659=function(_0xcbff5,_0x50eb75){_0xcbff5=_0xcbff5-0x0;var _0x13a00a=_0x659c[_0xcbff5];return _0x13a00a;};'use strict';var multer=require(_0xc659('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc659('0x1'));var express=require(_0xc659('0x2'));var router=express['Router']();var auth=require(_0xc659('0x3'));var interaction=require(_0xc659('0x4'));var config=require('../../config/environment');var controller=require('./jscriptyQuestionReport.controller');router[_0xc659('0x5')]('/',auth[_0xc659('0x6')](),controller[_0xc659('0x7')]);router[_0xc659('0x5')](_0xc659('0x8'),auth[_0xc659('0x6')](),controller['describe']);router['get'](_0xc659('0x9'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xc659('0x6')](),controller[_0xc659('0xa')]);router[_0xc659('0xb')](_0xc659('0x9'),auth[_0xc659('0x6')](),controller[_0xc659('0xc')]);router[_0xc659('0xd')](_0xc659('0x9'),auth['isAuthenticated'](),controller[_0xc659('0xe')]);module[_0xc659('0xf')]=router;