1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x110c=['fs-extra','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','get','/describe','isAuthenticated','describe','/:id','show','/:id/questions','getQuestions','create','put','update','delete','exports','util','express','Router'];(function(_0x5acf17,_0x2aae90){var _0x51c05a=function(_0x191931){while(--_0x191931){_0x5acf17['push'](_0x5acf17['shift']());}};_0x51c05a(++_0x2aae90);}(_0x110c,0xc5));var _0xc110=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0x110c[_0x5d6456];return _0x4d66c1;};'use strict';var multer=require('multer');var util=require(_0xc110('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc110('0x1'));var router=express[_0xc110('0x2')]();var fs_extra=require(_0xc110('0x3'));var auth=require(_0xc110('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xc110('0x5'));var controller=require(_0xc110('0x6'));router[_0xc110('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xc110('0x7')](_0xc110('0x8'),auth[_0xc110('0x9')](),controller[_0xc110('0xa')]);router['get'](_0xc110('0xb'),auth[_0xc110('0x9')](),controller[_0xc110('0xc')]);router[_0xc110('0x7')](_0xc110('0xd'),auth[_0xc110('0x9')](),controller[_0xc110('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0xc110('0xf')]);router[_0xc110('0x10')]('/:id',auth[_0xc110('0x9')](),controller[_0xc110('0x11')]);router[_0xc110('0x12')]('/:id',auth[_0xc110('0x9')](),controller['destroy']);module[_0xc110('0x13')]=router;