871c5403a0f8a16736613868da28e68cbf36e60e
[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 _0x7a77=['show','/:id/questions','getQuestions','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x5c6c08,_0x123e57){var _0x279b5e=function(_0x10f6b5){while(--_0x10f6b5){_0x5c6c08['push'](_0x5c6c08['shift']());}};_0x279b5e(++_0x123e57);}(_0x7a77,0x129));var _0x77a7=function(_0x247ca5,_0x3ff121){_0x247ca5=_0x247ca5-0x0;var _0x14e906=_0x7a77[_0x247ca5];return _0x14e906;};'use strict';var multer=require(_0x77a7('0x0'));var util=require(_0x77a7('0x1'));var path=require(_0x77a7('0x2'));var timeout=require(_0x77a7('0x3'));var express=require(_0x77a7('0x4'));var router=express[_0x77a7('0x5')]();var fs_extra=require(_0x77a7('0x6'));var auth=require(_0x77a7('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x77a7('0x8'));router[_0x77a7('0x9')]('/',auth[_0x77a7('0xa')](),controller[_0x77a7('0xb')]);router[_0x77a7('0x9')](_0x77a7('0xc'),auth[_0x77a7('0xa')](),controller[_0x77a7('0xd')]);router[_0x77a7('0x9')](_0x77a7('0xe'),auth[_0x77a7('0xa')](),controller[_0x77a7('0xf')]);router[_0x77a7('0x9')](_0x77a7('0x10'),auth['isAuthenticated'](),controller[_0x77a7('0x11')]);router[_0x77a7('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0x77a7('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x77a7('0x14')]);router[_0x77a7('0x15')](_0x77a7('0xe'),auth[_0x77a7('0xa')](),controller[_0x77a7('0x16')]);module[_0x77a7('0x17')]=router;