Built motion from commit (unavailable).|2.5.4
[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 _0xf987=['../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/questions','getQuestions','create','put','delete','destroy','exports','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2a0bc2,_0x33f79b){var _0x840555=function(_0x1171d3){while(--_0x1171d3){_0x2a0bc2['push'](_0x2a0bc2['shift']());}};_0x840555(++_0x33f79b);}(_0xf987,0x18a));var _0x7f98=function(_0x5c87c2,_0x409a60){_0x5c87c2=_0x5c87c2-0x0;var _0x3efe07=_0xf987[_0x5c87c2];return _0x3efe07;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7f98('0x0'));var timeout=require(_0x7f98('0x1'));var express=require('express');var router=express[_0x7f98('0x2')]();var auth=require(_0x7f98('0x3'));var interaction=require(_0x7f98('0x4'));var config=require(_0x7f98('0x5'));var controller=require(_0x7f98('0x6'));router[_0x7f98('0x7')]('/',auth[_0x7f98('0x8')](),controller[_0x7f98('0x9')]);router[_0x7f98('0x7')](_0x7f98('0xa'),auth[_0x7f98('0x8')](),controller[_0x7f98('0xb')]);router['get'](_0x7f98('0xc'),auth[_0x7f98('0x8')](),controller[_0x7f98('0xd')]);router[_0x7f98('0x7')](_0x7f98('0xe'),auth['isAuthenticated'](),controller[_0x7f98('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x7f98('0x10')]);router[_0x7f98('0x11')](_0x7f98('0xc'),auth[_0x7f98('0x8')](),controller['update']);router[_0x7f98('0x12')]('/:id',auth[_0x7f98('0x8')](),controller[_0x7f98('0x13')]);module[_0x7f98('0x14')]=router;