Built motion from commit bbec7235.|2.6.20
[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 _0xb6fd=['destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/questions','getQuestions','put','update','delete'];(function(_0x3b0394,_0x1a30f9){var _0x1f35e5=function(_0x2dd681){while(--_0x2dd681){_0x3b0394['push'](_0x3b0394['shift']());}};_0x1f35e5(++_0x1a30f9);}(_0xb6fd,0x12d));var _0xdb6f=function(_0xf4b2ff,_0x205716){_0xf4b2ff=_0xf4b2ff-0x0;var _0x22009d=_0xb6fd[_0xf4b2ff];return _0x22009d;};'use strict';var multer=require(_0xdb6f('0x0'));var util=require('util');var path=require(_0xdb6f('0x1'));var timeout=require(_0xdb6f('0x2'));var express=require(_0xdb6f('0x3'));var router=express[_0xdb6f('0x4')]();var fs_extra=require(_0xdb6f('0x5'));var auth=require(_0xdb6f('0x6'));var interaction=require(_0xdb6f('0x7'));var config=require(_0xdb6f('0x8'));var controller=require(_0xdb6f('0x9'));router[_0xdb6f('0xa')]('/',auth[_0xdb6f('0xb')](),controller[_0xdb6f('0xc')]);router[_0xdb6f('0xa')](_0xdb6f('0xd'),auth[_0xdb6f('0xb')](),controller[_0xdb6f('0xe')]);router[_0xdb6f('0xa')](_0xdb6f('0xf'),auth['isAuthenticated'](),controller['show']);router['get'](_0xdb6f('0x10'),auth['isAuthenticated'](),controller[_0xdb6f('0x11')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xdb6f('0x12')]('/:id',auth[_0xdb6f('0xb')](),controller[_0xdb6f('0x13')]);router[_0xdb6f('0x14')](_0xdb6f('0xf'),auth[_0xdb6f('0xb')](),controller[_0xdb6f('0x15')]);module[_0xdb6f('0x16')]=router;