38ab639a41ead85c32a5731a87bb19de931cb948
[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 _0xe72f=['./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','create','put','update','delete','destroy','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x182a8f,_0x36edb5){var _0x4f9ee7=function(_0x1168c1){while(--_0x1168c1){_0x182a8f['push'](_0x182a8f['shift']());}};_0x4f9ee7(++_0x36edb5);}(_0xe72f,0x115));var _0xfe72=function(_0x205f75,_0x5cf068){_0x205f75=_0x205f75-0x0;var _0x1fd0c3=_0xe72f[_0x205f75];return _0x1fd0c3;};'use strict';var multer=require('multer');var util=require(_0xfe72('0x0'));var path=require(_0xfe72('0x1'));var timeout=require(_0xfe72('0x2'));var express=require('express');var router=express[_0xfe72('0x3')]();var fs_extra=require(_0xfe72('0x4'));var auth=require(_0xfe72('0x5'));var interaction=require(_0xfe72('0x6'));var config=require(_0xfe72('0x7'));var controller=require(_0xfe72('0x8'));router[_0xfe72('0x9')]('/',auth[_0xfe72('0xa')](),controller[_0xfe72('0xb')]);router[_0xfe72('0x9')](_0xfe72('0xc'),auth[_0xfe72('0xa')](),controller[_0xfe72('0xd')]);router[_0xfe72('0x9')]('/:id',auth[_0xfe72('0xa')](),controller['show']);router['post']('/',auth[_0xfe72('0xa')](),controller[_0xfe72('0xe')]);router[_0xfe72('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xfe72('0x10')]);router[_0xfe72('0x11')]('/:id',auth[_0xfe72('0xa')](),controller[_0xfe72('0x12')]);module['exports']=router;