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 _0x29aa=['/describe','describe','/:id','/:id/questions','getQuestions','post','create','put','update','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','isAuthenticated','get'];(function(_0x2c6017,_0x58c62e){var _0x830c8c=function(_0x697a93){while(--_0x697a93){_0x2c6017['push'](_0x2c6017['shift']());}};_0x830c8c(++_0x58c62e);}(_0x29aa,0x170));var _0xa29a=function(_0x90651f,_0x49a9d3){_0x90651f=_0x90651f-0x0;var _0x3a1aaf=_0x29aa[_0x90651f];return _0x3a1aaf;};'use strict';var multer=require(_0xa29a('0x0'));var util=require('util');var path=require(_0xa29a('0x1'));var timeout=require(_0xa29a('0x2'));var express=require(_0xa29a('0x3'));var router=express['Router']();var fs_extra=require(_0xa29a('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xa29a('0x5'));var config=require(_0xa29a('0x6'));var controller=require(_0xa29a('0x7'));router['get']('/',auth[_0xa29a('0x8')](),controller['index']);router[_0xa29a('0x9')](_0xa29a('0xa'),auth['isAuthenticated'](),controller[_0xa29a('0xb')]);router['get'](_0xa29a('0xc'),auth[_0xa29a('0x8')](),controller['show']);router[_0xa29a('0x9')](_0xa29a('0xd'),auth[_0xa29a('0x8')](),controller[_0xa29a('0xe')]);router[_0xa29a('0xf')]('/',auth[_0xa29a('0x8')](),controller[_0xa29a('0x10')]);router[_0xa29a('0x11')](_0xa29a('0xc'),auth[_0xa29a('0x8')](),controller[_0xa29a('0x12')]);router['delete'](_0xa29a('0xc'),auth[_0xa29a('0x8')](),controller[_0xa29a('0x13')]);module[_0xa29a('0x14')]=router;