Built motion from commit d301b742.|2.6.29
[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 _0x0e97=['index','get','/describe','describe','/:id','/:id/questions','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated'];(function(_0x386a98,_0x2d72c1){var _0x443371=function(_0x478f75){while(--_0x478f75){_0x386a98['push'](_0x386a98['shift']());}};_0x443371(++_0x2d72c1);}(_0x0e97,0x64));var _0x70e9=function(_0x30aee3,_0x426c8d){_0x30aee3=_0x30aee3-0x0;var _0x1676a7=_0x0e97[_0x30aee3];return _0x1676a7;};'use strict';var multer=require(_0x70e9('0x0'));var util=require(_0x70e9('0x1'));var path=require(_0x70e9('0x2'));var timeout=require(_0x70e9('0x3'));var express=require(_0x70e9('0x4'));var router=express[_0x70e9('0x5')]();var fs_extra=require(_0x70e9('0x6'));var auth=require(_0x70e9('0x7'));var interaction=require(_0x70e9('0x8'));var config=require('../../config/environment');var controller=require('./jscriptySessionReport.controller');router['get']('/',auth[_0x70e9('0x9')](),controller[_0x70e9('0xa')]);router[_0x70e9('0xb')](_0x70e9('0xc'),auth['isAuthenticated'](),controller[_0x70e9('0xd')]);router[_0x70e9('0xb')](_0x70e9('0xe'),auth[_0x70e9('0x9')](),controller['show']);router[_0x70e9('0xb')](_0x70e9('0xf'),auth[_0x70e9('0x9')](),controller['getQuestions']);router[_0x70e9('0x10')]('/',auth[_0x70e9('0x9')](),controller[_0x70e9('0x11')]);router[_0x70e9('0x12')](_0x70e9('0xe'),auth[_0x70e9('0x9')](),controller[_0x70e9('0x13')]);router[_0x70e9('0x14')](_0x70e9('0xe'),auth[_0x70e9('0x9')](),controller[_0x70e9('0x15')]);module['exports']=router;