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 _0xc997=['/:id','show','post','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x1f1ef5,_0x271f2a){var _0x3971e6=function(_0x97c483){while(--_0x97c483){_0x1f1ef5['push'](_0x1f1ef5['shift']());}};_0x3971e6(++_0x271f2a);}(_0xc997,0x1ac));var _0x7c99=function(_0x2f0bf1,_0x183ef1){_0x2f0bf1=_0x2f0bf1-0x0;var _0xf1df38=_0xc997[_0x2f0bf1];return _0xf1df38;};'use strict';var multer=require('multer');var util=require(_0x7c99('0x0'));var path=require(_0x7c99('0x1'));var timeout=require(_0x7c99('0x2'));var express=require(_0x7c99('0x3'));var router=express[_0x7c99('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x7c99('0x5'));var config=require(_0x7c99('0x6'));var controller=require(_0x7c99('0x7'));router[_0x7c99('0x8')]('/',auth[_0x7c99('0x9')](),controller[_0x7c99('0xa')]);router[_0x7c99('0x8')](_0x7c99('0xb'),auth['isAuthenticated'](),controller[_0x7c99('0xc')]);router[_0x7c99('0x8')](_0x7c99('0xd'),auth['isAuthenticated'](),controller[_0x7c99('0xe')]);router[_0x7c99('0x8')]('/:id/questions',auth[_0x7c99('0x9')](),controller['getQuestions']);router[_0x7c99('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0x7c99('0x10')](_0x7c99('0xd'),auth[_0x7c99('0x9')](),controller[_0x7c99('0x11')]);router[_0x7c99('0x12')](_0x7c99('0xd'),auth[_0x7c99('0x9')](),controller[_0x7c99('0x13')]);module[_0x7c99('0x14')]=router;