15e57ab88e9c3b346d9672ea6efe06a3707aab7a
[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 _0xe58f=['./jscriptyQuestionReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','create','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2a2490,_0xbf58c0){var _0x578bf2=function(_0x4e4826){while(--_0x4e4826){_0x2a2490['push'](_0x2a2490['shift']());}};_0x578bf2(++_0xbf58c0);}(_0xe58f,0x1c5));var _0xfe58=function(_0x29b5e9,_0x179cb0){_0x29b5e9=_0x29b5e9-0x0;var _0x4be8f4=_0xe58f[_0x29b5e9];return _0x4be8f4;};'use strict';var multer=require(_0xfe58('0x0'));var util=require(_0xfe58('0x1'));var path=require(_0xfe58('0x2'));var timeout=require(_0xfe58('0x3'));var express=require(_0xfe58('0x4'));var router=express[_0xfe58('0x5')]();var auth=require(_0xfe58('0x6'));var interaction=require(_0xfe58('0x7'));var config=require(_0xfe58('0x8'));var controller=require(_0xfe58('0x9'));router['get']('/',auth[_0xfe58('0xa')](),controller[_0xfe58('0xb')]);router[_0xfe58('0xc')](_0xfe58('0xd'),auth[_0xfe58('0xa')](),controller[_0xfe58('0xe')]);router[_0xfe58('0xc')](_0xfe58('0xf'),auth[_0xfe58('0xa')](),controller[_0xfe58('0x10')]);router['post']('/',auth[_0xfe58('0xa')](),controller[_0xfe58('0x11')]);router['put'](_0xfe58('0xf'),auth[_0xfe58('0xa')](),controller[_0xfe58('0x12')]);router[_0xfe58('0x13')](_0xfe58('0xf'),auth['isAuthenticated'](),controller[_0xfe58('0x14')]);module['exports']=router;