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 _0xffd3=['describe','get','/:id','show','/:id/questions','getQuestions','create','delete','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','isAuthenticated','/describe'];(function(_0x39e84d,_0x11931d){var _0x1991bc=function(_0xc81e32){while(--_0xc81e32){_0x39e84d['push'](_0x39e84d['shift']());}};_0x1991bc(++_0x11931d);}(_0xffd3,0x14d));var _0x3ffd=function(_0x265516,_0x632178){_0x265516=_0x265516-0x0;var _0x249e48=_0xffd3[_0x265516];return _0x249e48;};'use strict';var multer=require('multer');var util=require(_0x3ffd('0x0'));var path=require(_0x3ffd('0x1'));var timeout=require(_0x3ffd('0x2'));var express=require('express');var router=express[_0x3ffd('0x3')]();var auth=require(_0x3ffd('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x3ffd('0x5'));var controller=require(_0x3ffd('0x6'));router['get']('/',auth[_0x3ffd('0x7')](),controller['index']);router['get'](_0x3ffd('0x8'),auth[_0x3ffd('0x7')](),controller[_0x3ffd('0x9')]);router[_0x3ffd('0xa')](_0x3ffd('0xb'),auth[_0x3ffd('0x7')](),controller[_0x3ffd('0xc')]);router[_0x3ffd('0xa')](_0x3ffd('0xd'),auth[_0x3ffd('0x7')](),controller[_0x3ffd('0xe')]);router['post']('/',auth[_0x3ffd('0x7')](),controller[_0x3ffd('0xf')]);router['put'](_0x3ffd('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x3ffd('0x10')](_0x3ffd('0xb'),auth[_0x3ffd('0x7')](),controller[_0x3ffd('0x11')]);module[_0x3ffd('0x12')]=router;