Built motion from commit (unavailable).|2.5.31
[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 _0xb458=['../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','update','delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x210882,_0x32d819){var _0x4e271a=function(_0x38daf1){while(--_0x38daf1){_0x210882['push'](_0x210882['shift']());}};_0x4e271a(++_0x32d819);}(_0xb458,0xca));var _0x8b45=function(_0x301c9f,_0x3da512){_0x301c9f=_0x301c9f-0x0;var _0x1184ec=_0xb458[_0x301c9f];return _0x1184ec;};'use strict';var multer=require(_0x8b45('0x0'));var util=require(_0x8b45('0x1'));var path=require(_0x8b45('0x2'));var timeout=require(_0x8b45('0x3'));var express=require('express');var router=express[_0x8b45('0x4')]();var fs_extra=require(_0x8b45('0x5'));var auth=require(_0x8b45('0x6'));var interaction=require(_0x8b45('0x7'));var config=require(_0x8b45('0x8'));var controller=require(_0x8b45('0x9'));router[_0x8b45('0xa')]('/',auth[_0x8b45('0xb')](),controller[_0x8b45('0xc')]);router[_0x8b45('0xa')](_0x8b45('0xd'),auth[_0x8b45('0xb')](),controller[_0x8b45('0xe')]);router['get'](_0x8b45('0xf'),auth['isAuthenticated'](),controller['show']);router[_0x8b45('0x10')]('/',auth[_0x8b45('0xb')](),controller[_0x8b45('0x11')]);router['put'](_0x8b45('0xf'),auth['isAuthenticated'](),controller[_0x8b45('0x12')]);router[_0x8b45('0x13')](_0x8b45('0xf'),auth[_0x8b45('0xb')](),controller[_0x8b45('0x14')]);module['exports']=router;