86571eb88cd1194ee32d08e2e0990585396b35dc
[motion2.git] / server / api / jscriptySessionReport / 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 _0x3e9d=['post','create','put','update','delete','multer','util','connect-timeout','express','Router','../../components/auth/service','./jscriptySessionReport.controller','get','isAuthenticated','index','describe','/:id','show','getQuestions'];(function(_0x4ae7b6,_0x176093){var _0x3834be=function(_0x3ee934){while(--_0x3ee934){_0x4ae7b6['push'](_0x4ae7b6['shift']());}};_0x3834be(++_0x176093);}(_0x3e9d,0x1ba));var _0xd3e9=function(_0x1c2310,_0x31d96b){_0x1c2310=_0x1c2310-0x0;var _0xe4cc6d=_0x3e9d[_0x1c2310];return _0xe4cc6d;};'use strict';var multer=require(_0xd3e9('0x0'));var util=require(_0xd3e9('0x1'));var path=require('path');var timeout=require(_0xd3e9('0x2'));var express=require(_0xd3e9('0x3'));var router=express[_0xd3e9('0x4')]();var auth=require(_0xd3e9('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xd3e9('0x6'));router[_0xd3e9('0x7')]('/',auth[_0xd3e9('0x8')](),controller[_0xd3e9('0x9')]);router['get']('/describe',auth[_0xd3e9('0x8')](),controller[_0xd3e9('0xa')]);router[_0xd3e9('0x7')](_0xd3e9('0xb'),auth[_0xd3e9('0x8')](),controller[_0xd3e9('0xc')]);router[_0xd3e9('0x7')]('/:id/questions',auth[_0xd3e9('0x8')](),controller[_0xd3e9('0xd')]);router[_0xd3e9('0xe')]('/',auth[_0xd3e9('0x8')](),controller[_0xd3e9('0xf')]);router[_0xd3e9('0x10')](_0xd3e9('0xb'),auth[_0xd3e9('0x8')](),controller[_0xd3e9('0x11')]);router[_0xd3e9('0x12')]('/:id',auth[_0xd3e9('0x8')](),controller['destroy']);module['exports']=router;