ea3e0465219da4f5ebf4d18f8999499183896d51
[motion2.git] / server / api / jscriptyQuestionReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x141e=['/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','./jscriptyQuestionReport.controller','get','isAuthenticated','/describe','describe','post','create','put'];(function(_0x748f64,_0x1ab840){var _0x50a19c=function(_0x292646){while(--_0x292646){_0x748f64['push'](_0x748f64['shift']());}};_0x50a19c(++_0x1ab840);}(_0x141e,0x1e5));var _0xe141=function(_0x282f1c,_0x5605f0){_0x282f1c=_0x282f1c-0x0;var _0x258044=_0x141e[_0x282f1c];return _0x258044;};'use strict';var multer=require(_0xe141('0x0'));var util=require(_0xe141('0x1'));var path=require(_0xe141('0x2'));var timeout=require(_0xe141('0x3'));var express=require(_0xe141('0x4'));var router=express[_0xe141('0x5')]();var auth=require(_0xe141('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xe141('0x7'));router[_0xe141('0x8')]('/',auth[_0xe141('0x9')](),controller['index']);router[_0xe141('0x8')](_0xe141('0xa'),auth[_0xe141('0x9')](),controller[_0xe141('0xb')]);router[_0xe141('0x8')]('/:id',auth[_0xe141('0x9')](),controller['show']);router[_0xe141('0xc')]('/',auth[_0xe141('0x9')](),controller[_0xe141('0xd')]);router[_0xe141('0xe')](_0xe141('0xf'),auth['isAuthenticated'](),controller[_0xe141('0x10')]);router[_0xe141('0x11')](_0xe141('0xf'),auth[_0xe141('0x9')](),controller[_0xe141('0x12')]);module[_0xe141('0x13')]=router;