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 _0xda6f=['../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','isAuthenticated','get','/describe','describe','/:id','show','getQuestions','post','put','update','delete','multer'];(function(_0x108b92,_0x162328){var _0x5d4531=function(_0x5c818d){while(--_0x5c818d){_0x108b92['push'](_0x108b92['shift']());}};_0x5d4531(++_0x162328);}(_0xda6f,0x19f));var _0xfda6=function(_0x7625d9,_0x2fea5a){_0x7625d9=_0x7625d9-0x0;var _0x5c6d75=_0xda6f[_0x7625d9];return _0x5c6d75;};'use strict';var multer=require(_0xfda6('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xfda6('0x1'));var interaction=require(_0xfda6('0x2'));var config=require(_0xfda6('0x3'));var controller=require(_0xfda6('0x4'));router['get']('/',auth[_0xfda6('0x5')](),controller['index']);router[_0xfda6('0x6')](_0xfda6('0x7'),auth[_0xfda6('0x5')](),controller[_0xfda6('0x8')]);router[_0xfda6('0x6')](_0xfda6('0x9'),auth[_0xfda6('0x5')](),controller[_0xfda6('0xa')]);router[_0xfda6('0x6')]('/:id/questions',auth[_0xfda6('0x5')](),controller[_0xfda6('0xb')]);router[_0xfda6('0xc')]('/',auth[_0xfda6('0x5')](),controller['create']);router[_0xfda6('0xd')](_0xfda6('0x9'),auth['isAuthenticated'](),controller[_0xfda6('0xe')]);router[_0xfda6('0xf')](_0xfda6('0x9'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;