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