74756364cde8d1002b97109681c52fc4fd1795e0
[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 _0x3157=['get','isAuthenticated','index','/describe','/:id','post','put','update','delete','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller'];(function(_0x45f111,_0x3a1a4a){var _0x483508=function(_0x3131ab){while(--_0x3131ab){_0x45f111['push'](_0x45f111['shift']());}};_0x483508(++_0x3a1a4a);}(_0x3157,0x196));var _0x7315=function(_0x3a3731,_0x2d573a){_0x3a3731=_0x3a3731-0x0;var _0x23ee93=_0x3157[_0x3a3731];return _0x23ee93;};'use strict';var multer=require(_0x7315('0x0'));var util=require('util');var path=require(_0x7315('0x1'));var timeout=require(_0x7315('0x2'));var express=require(_0x7315('0x3'));var router=express[_0x7315('0x4')]();var auth=require(_0x7315('0x5'));var interaction=require(_0x7315('0x6'));var config=require('../../config/environment');var controller=require(_0x7315('0x7'));router[_0x7315('0x8')]('/',auth[_0x7315('0x9')](),controller[_0x7315('0xa')]);router['get'](_0x7315('0xb'),auth[_0x7315('0x9')](),controller['describe']);router[_0x7315('0x8')](_0x7315('0xc'),auth[_0x7315('0x9')](),controller['show']);router[_0x7315('0xd')]('/',auth[_0x7315('0x9')](),controller['create']);router[_0x7315('0xe')](_0x7315('0xc'),auth[_0x7315('0x9')](),controller[_0x7315('0xf')]);router[_0x7315('0x10')](_0x7315('0xc'),auth[_0x7315('0x9')](),controller[_0x7315('0x11')]);module['exports']=router;