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