8722db5877ad8124b4383073d6309d315404f708
[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 _0x6658=['../../components/auth/service','../../components/interaction/service','./jscriptySessionReport.controller','get','/describe','isAuthenticated','describe','/:id','show','/:id/questions','getQuestions','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router'];(function(_0x13e741,_0x5d3c24){var _0x3f8bb3=function(_0x4440a0){while(--_0x4440a0){_0x13e741['push'](_0x13e741['shift']());}};_0x3f8bb3(++_0x5d3c24);}(_0x6658,0x198));var _0x8665=function(_0x4452ff,_0x16f7b1){_0x4452ff=_0x4452ff-0x0;var _0x392314=_0x6658[_0x4452ff];return _0x392314;};'use strict';var multer=require(_0x8665('0x0'));var util=require(_0x8665('0x1'));var path=require(_0x8665('0x2'));var timeout=require(_0x8665('0x3'));var express=require(_0x8665('0x4'));var router=express[_0x8665('0x5')]();var auth=require(_0x8665('0x6'));var interaction=require(_0x8665('0x7'));var config=require('../../config/environment');var controller=require(_0x8665('0x8'));router[_0x8665('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8665('0x9')](_0x8665('0xa'),auth[_0x8665('0xb')](),controller[_0x8665('0xc')]);router[_0x8665('0x9')](_0x8665('0xd'),auth[_0x8665('0xb')](),controller[_0x8665('0xe')]);router['get'](_0x8665('0xf'),auth[_0x8665('0xb')](),controller[_0x8665('0x10')]);router[_0x8665('0x11')]('/',auth[_0x8665('0xb')](),controller[_0x8665('0x12')]);router[_0x8665('0x13')](_0x8665('0xd'),auth[_0x8665('0xb')](),controller[_0x8665('0x14')]);router[_0x8665('0x15')](_0x8665('0xd'),auth[_0x8665('0xb')](),controller[_0x8665('0x16')]);module['exports']=router;