Built motion from commit b5413ace.|2.6.9
[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 _0xc0d4=['/:id/questions','getQuestions','post','create','put','delete','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','/:id','show'];(function(_0x107d38,_0x12fc9e){var _0x51397c=function(_0x29b0dc){while(--_0x29b0dc){_0x107d38['push'](_0x107d38['shift']());}};_0x51397c(++_0x12fc9e);}(_0xc0d4,0x1a5));var _0x4c0d=function(_0x11e03f,_0x20b967){_0x11e03f=_0x11e03f-0x0;var _0x5666fe=_0xc0d4[_0x11e03f];return _0x5666fe;};'use strict';var multer=require(_0x4c0d('0x0'));var util=require(_0x4c0d('0x1'));var path=require(_0x4c0d('0x2'));var timeout=require(_0x4c0d('0x3'));var express=require(_0x4c0d('0x4'));var router=express['Router']();var fs_extra=require(_0x4c0d('0x5'));var auth=require(_0x4c0d('0x6'));var interaction=require(_0x4c0d('0x7'));var config=require(_0x4c0d('0x8'));var controller=require(_0x4c0d('0x9'));router[_0x4c0d('0xa')]('/',auth[_0x4c0d('0xb')](),controller[_0x4c0d('0xc')]);router['get'](_0x4c0d('0xd'),auth['isAuthenticated'](),controller['describe']);router[_0x4c0d('0xa')](_0x4c0d('0xe'),auth[_0x4c0d('0xb')](),controller[_0x4c0d('0xf')]);router['get'](_0x4c0d('0x10'),auth[_0x4c0d('0xb')](),controller[_0x4c0d('0x11')]);router[_0x4c0d('0x12')]('/',auth['isAuthenticated'](),controller[_0x4c0d('0x13')]);router[_0x4c0d('0x14')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x4c0d('0x15')](_0x4c0d('0xe'),auth[_0x4c0d('0xb')](),controller[_0x4c0d('0x16')]);module['exports']=router;