Built motion from commit 896e83a8.|2.6.30
[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 _0x5806=['path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','/describe','isAuthenticated','describe','/:id/questions','post','create','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5806,0xfb));var _0x6580=function(_0x45fc6a,_0x166adb){_0x45fc6a=_0x45fc6a-0x0;var _0x14bcfd=_0x5806[_0x45fc6a];return _0x14bcfd;};'use strict';var multer=require(_0x6580('0x0'));var util=require(_0x6580('0x1'));var path=require(_0x6580('0x2'));var timeout=require('connect-timeout');var express=require(_0x6580('0x3'));var router=express[_0x6580('0x4')]();var fs_extra=require(_0x6580('0x5'));var auth=require(_0x6580('0x6'));var interaction=require(_0x6580('0x7'));var config=require(_0x6580('0x8'));var controller=require(_0x6580('0x9'));router[_0x6580('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0x6580('0xa')](_0x6580('0xb'),auth[_0x6580('0xc')](),controller[_0x6580('0xd')]);router[_0x6580('0xa')]('/:id',auth[_0x6580('0xc')](),controller['show']);router['get'](_0x6580('0xe'),auth[_0x6580('0xc')](),controller['getQuestions']);router[_0x6580('0xf')]('/',auth[_0x6580('0xc')](),controller[_0x6580('0x10')]);router[_0x6580('0x11')](_0x6580('0x12'),auth[_0x6580('0xc')](),controller[_0x6580('0x13')]);router[_0x6580('0x14')](_0x6580('0x12'),auth['isAuthenticated'](),controller[_0x6580('0x15')]);module[_0x6580('0x16')]=router;