Built motion from commit 9d0783e6.|2.6.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 _0xbdb5=['put','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','index','/describe','/:id','isAuthenticated','show','/:id/questions','post','create'];(function(_0x6ff0d6,_0x5baf89){var _0x82d6ac=function(_0x55ac24){while(--_0x55ac24){_0x6ff0d6['push'](_0x6ff0d6['shift']());}};_0x82d6ac(++_0x5baf89);}(_0xbdb5,0x1a8));var _0x5bdb=function(_0x276260,_0x5ef6af){_0x276260=_0x276260-0x0;var _0x5e1f2b=_0xbdb5[_0x276260];return _0x5e1f2b;};'use strict';var multer=require('multer');var util=require(_0x5bdb('0x0'));var path=require('path');var timeout=require(_0x5bdb('0x1'));var express=require(_0x5bdb('0x2'));var router=express[_0x5bdb('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x5bdb('0x4'));var interaction=require(_0x5bdb('0x5'));var config=require(_0x5bdb('0x6'));var controller=require(_0x5bdb('0x7'));router[_0x5bdb('0x8')]('/',auth['isAuthenticated'](),controller[_0x5bdb('0x9')]);router[_0x5bdb('0x8')](_0x5bdb('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x5bdb('0x8')](_0x5bdb('0xb'),auth[_0x5bdb('0xc')](),controller[_0x5bdb('0xd')]);router['get'](_0x5bdb('0xe'),auth['isAuthenticated'](),controller['getQuestions']);router[_0x5bdb('0xf')]('/',auth[_0x5bdb('0xc')](),controller[_0x5bdb('0x10')]);router[_0x5bdb('0x11')](_0x5bdb('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x5bdb('0x12')](_0x5bdb('0xb'),auth[_0x5bdb('0xc')](),controller[_0x5bdb('0x13')]);module[_0x5bdb('0x14')]=router;