Built motion from commit 9e1399f3.|2.5.37
[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 _0x7c71=['delete','destroy','exports','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','/describe','isAuthenticated','describe','show','/:id/questions','getQuestions','post','put','/:id','update'];(function(_0x4dccf2,_0x5cfcd7){var _0x12640e=function(_0x1fb2c7){while(--_0x1fb2c7){_0x4dccf2['push'](_0x4dccf2['shift']());}};_0x12640e(++_0x5cfcd7);}(_0x7c71,0x10b));var _0x17c7=function(_0x117f4c,_0x36a9b1){_0x117f4c=_0x117f4c-0x0;var _0x2b24e9=_0x7c71[_0x117f4c];return _0x2b24e9;};'use strict';var multer=require(_0x17c7('0x0'));var util=require('util');var path=require(_0x17c7('0x1'));var timeout=require(_0x17c7('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x17c7('0x3'));var auth=require(_0x17c7('0x4'));var interaction=require(_0x17c7('0x5'));var config=require(_0x17c7('0x6'));var controller=require(_0x17c7('0x7'));router[_0x17c7('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x17c7('0x8')](_0x17c7('0x9'),auth[_0x17c7('0xa')](),controller[_0x17c7('0xb')]);router[_0x17c7('0x8')]('/:id',auth[_0x17c7('0xa')](),controller[_0x17c7('0xc')]);router['get'](_0x17c7('0xd'),auth[_0x17c7('0xa')](),controller[_0x17c7('0xe')]);router[_0x17c7('0xf')]('/',auth[_0x17c7('0xa')](),controller['create']);router[_0x17c7('0x10')](_0x17c7('0x11'),auth['isAuthenticated'](),controller[_0x17c7('0x12')]);router[_0x17c7('0x13')](_0x17c7('0x11'),auth[_0x17c7('0xa')](),controller[_0x17c7('0x14')]);module[_0x17c7('0x15')]=router;