Built motion from commit (unavailable).|2.5.1
[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 _0xfa2b=['post','create','update','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','show','/:id/questions','getQuestions'];(function(_0x567cf4,_0x58483e){var _0x2f632f=function(_0x39f487){while(--_0x39f487){_0x567cf4['push'](_0x567cf4['shift']());}};_0x2f632f(++_0x58483e);}(_0xfa2b,0x1b7));var _0xbfa2=function(_0x57d457,_0x26deaf){_0x57d457=_0x57d457-0x0;var _0xba22c=_0xfa2b[_0x57d457];return _0xba22c;};'use strict';var multer=require(_0xbfa2('0x0'));var util=require(_0xbfa2('0x1'));var path=require(_0xbfa2('0x2'));var timeout=require(_0xbfa2('0x3'));var express=require(_0xbfa2('0x4'));var router=express[_0xbfa2('0x5')]();var auth=require(_0xbfa2('0x6'));var interaction=require(_0xbfa2('0x7'));var config=require(_0xbfa2('0x8'));var controller=require(_0xbfa2('0x9'));router[_0xbfa2('0xa')]('/',auth[_0xbfa2('0xb')](),controller[_0xbfa2('0xc')]);router[_0xbfa2('0xa')](_0xbfa2('0xd'),auth[_0xbfa2('0xb')](),controller['describe']);router[_0xbfa2('0xa')]('/:id',auth[_0xbfa2('0xb')](),controller[_0xbfa2('0xe')]);router[_0xbfa2('0xa')](_0xbfa2('0xf'),auth[_0xbfa2('0xb')](),controller[_0xbfa2('0x10')]);router[_0xbfa2('0x11')]('/',auth[_0xbfa2('0xb')](),controller[_0xbfa2('0x12')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xbfa2('0x13')]);router[_0xbfa2('0x14')](_0xbfa2('0x15'),auth[_0xbfa2('0xb')](),controller[_0xbfa2('0x16')]);module[_0xbfa2('0x17')]=router;