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