Built motion from commit (unavailable).|2.5.13
[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 _0x7a59=['/:id/questions','getQuestions','post','put','delete','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptySessionReport.controller','get','isAuthenticated','/describe','describe','/:id'];(function(_0x20679c,_0x57b5ff){var _0x53d3bb=function(_0x15ea2c){while(--_0x15ea2c){_0x20679c['push'](_0x20679c['shift']());}};_0x53d3bb(++_0x57b5ff);}(_0x7a59,0x16e));var _0x97a5=function(_0x29d915,_0x54a040){_0x29d915=_0x29d915-0x0;var _0x160f86=_0x7a59[_0x29d915];return _0x160f86;};'use strict';var multer=require(_0x97a5('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x97a5('0x1'));var express=require(_0x97a5('0x2'));var router=express[_0x97a5('0x3')]();var auth=require(_0x97a5('0x4'));var interaction=require(_0x97a5('0x5'));var config=require('../../config/environment');var controller=require(_0x97a5('0x6'));router[_0x97a5('0x7')]('/',auth[_0x97a5('0x8')](),controller['index']);router[_0x97a5('0x7')](_0x97a5('0x9'),auth[_0x97a5('0x8')](),controller[_0x97a5('0xa')]);router[_0x97a5('0x7')](_0x97a5('0xb'),auth[_0x97a5('0x8')](),controller['show']);router[_0x97a5('0x7')](_0x97a5('0xc'),auth[_0x97a5('0x8')](),controller[_0x97a5('0xd')]);router[_0x97a5('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x97a5('0xf')](_0x97a5('0xb'),auth[_0x97a5('0x8')](),controller['update']);router[_0x97a5('0x10')](_0x97a5('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x97a5('0x11')]=router;