Built motion from commit 43538d75.|2.5.35
[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 _0x1df2=['isAuthenticated','describe','/:id','show','create','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','get'];(function(_0x52b16e,_0x3e38f2){var _0x32bba6=function(_0x141380){while(--_0x141380){_0x52b16e['push'](_0x52b16e['shift']());}};_0x32bba6(++_0x3e38f2);}(_0x1df2,0x126));var _0x21df=function(_0x57fd08,_0x408629){_0x57fd08=_0x57fd08-0x0;var _0x51e35e=_0x1df2[_0x57fd08];return _0x51e35e;};'use strict';var multer=require(_0x21df('0x0'));var util=require(_0x21df('0x1'));var path=require(_0x21df('0x2'));var timeout=require('connect-timeout');var express=require(_0x21df('0x3'));var router=express[_0x21df('0x4')]();var fs_extra=require(_0x21df('0x5'));var auth=require(_0x21df('0x6'));var interaction=require(_0x21df('0x7'));var config=require('../../config/environment');var controller=require(_0x21df('0x8'));router[_0x21df('0x9')]('/',auth[_0x21df('0xa')](),controller['index']);router[_0x21df('0x9')]('/describe',auth[_0x21df('0xa')](),controller[_0x21df('0xb')]);router[_0x21df('0x9')](_0x21df('0xc'),auth[_0x21df('0xa')](),controller[_0x21df('0xd')]);router['post']('/',auth[_0x21df('0xa')](),controller[_0x21df('0xe')]);router[_0x21df('0xf')](_0x21df('0xc'),auth['isAuthenticated'](),controller[_0x21df('0x10')]);router[_0x21df('0x11')](_0x21df('0xc'),auth[_0x21df('0xa')](),controller[_0x21df('0x12')]);module['exports']=router;