Built motion from commit 14588770.|2.5.38
[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 _0xf6db=['index','/describe','describe','show','post','create','put','/:id','delete','destroy','exports','multer','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated'];(function(_0x18811d,_0x3e3763){var _0x2c627c=function(_0x2ac018){while(--_0x2ac018){_0x18811d['push'](_0x18811d['shift']());}};_0x2c627c(++_0x3e3763);}(_0xf6db,0x74));var _0xbf6d=function(_0x2bc400,_0x27208f){_0x2bc400=_0x2bc400-0x0;var _0x36ab53=_0xf6db[_0x2bc400];return _0x36ab53;};'use strict';var multer=require(_0xbf6d('0x0'));var util=require('util');var path=require(_0xbf6d('0x1'));var timeout=require('connect-timeout');var express=require(_0xbf6d('0x2'));var router=express['Router']();var fs_extra=require(_0xbf6d('0x3'));var auth=require(_0xbf6d('0x4'));var interaction=require(_0xbf6d('0x5'));var config=require(_0xbf6d('0x6'));var controller=require(_0xbf6d('0x7'));router[_0xbf6d('0x8')]('/',auth[_0xbf6d('0x9')](),controller[_0xbf6d('0xa')]);router['get'](_0xbf6d('0xb'),auth[_0xbf6d('0x9')](),controller[_0xbf6d('0xc')]);router['get']('/:id',auth[_0xbf6d('0x9')](),controller[_0xbf6d('0xd')]);router[_0xbf6d('0xe')]('/',auth['isAuthenticated'](),controller[_0xbf6d('0xf')]);router[_0xbf6d('0x10')](_0xbf6d('0x11'),auth[_0xbf6d('0x9')](),controller['update']);router[_0xbf6d('0x12')](_0xbf6d('0x11'),auth[_0xbf6d('0x9')](),controller[_0xbf6d('0x13')]);module[_0xbf6d('0x14')]=router;