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