Built motion from commit e6806ed6.|2.6.0
[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 _0x107e=['../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','/describe','describe','show','/:id/questions','getQuestions','post','create','update','delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x1161d5,_0x1364ec){var _0x5885ac=function(_0x5e2df0){while(--_0x5e2df0){_0x1161d5['push'](_0x1161d5['shift']());}};_0x5885ac(++_0x1364ec);}(_0x107e,0x67));var _0xe107=function(_0x540346,_0x2b2f3a){_0x540346=_0x540346-0x0;var _0x325487=_0x107e[_0x540346];return _0x325487;};'use strict';var multer=require('multer');var util=require(_0xe107('0x0'));var path=require(_0xe107('0x1'));var timeout=require('connect-timeout');var express=require(_0xe107('0x2'));var router=express[_0xe107('0x3')]();var fs_extra=require(_0xe107('0x4'));var auth=require(_0xe107('0x5'));var interaction=require(_0xe107('0x6'));var config=require(_0xe107('0x7'));var controller=require(_0xe107('0x8'));router[_0xe107('0x9')]('/',auth[_0xe107('0xa')](),controller['index']);router[_0xe107('0x9')](_0xe107('0xb'),auth[_0xe107('0xa')](),controller[_0xe107('0xc')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xe107('0xd')]);router[_0xe107('0x9')](_0xe107('0xe'),auth[_0xe107('0xa')](),controller[_0xe107('0xf')]);router[_0xe107('0x10')]('/',auth[_0xe107('0xa')](),controller[_0xe107('0x11')]);router['put']('/:id',auth[_0xe107('0xa')](),controller[_0xe107('0x12')]);router[_0xe107('0x13')]('/:id',auth[_0xe107('0xa')](),controller[_0xe107('0x14')]);module[_0xe107('0x15')]=router;