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 _0x7336=['exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','destroy'];(function(_0x14dcc5,_0x163ab7){var _0x35d6cc=function(_0x2de1ae){while(--_0x2de1ae){_0x14dcc5['push'](_0x14dcc5['shift']());}};_0x35d6cc(++_0x163ab7);}(_0x7336,0x141));var _0x6733=function(_0x40a286,_0x547497){_0x40a286=_0x40a286-0x0;var _0x3f4c8a=_0x7336[_0x40a286];return _0x3f4c8a;};'use strict';var multer=require(_0x6733('0x0'));var util=require(_0x6733('0x1'));var path=require(_0x6733('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x6733('0x3')]();var auth=require(_0x6733('0x4'));var interaction=require(_0x6733('0x5'));var config=require('../../config/environment');var controller=require(_0x6733('0x6'));router[_0x6733('0x7')]('/',auth[_0x6733('0x8')](),controller[_0x6733('0x9')]);router[_0x6733('0x7')](_0x6733('0xa'),auth[_0x6733('0x8')](),controller[_0x6733('0xb')]);router[_0x6733('0x7')]('/:id',auth[_0x6733('0x8')](),controller[_0x6733('0xc')]);router[_0x6733('0xd')]('/',auth['isAuthenticated'](),controller[_0x6733('0xe')]);router[_0x6733('0xf')](_0x6733('0x10'),auth[_0x6733('0x8')](),controller[_0x6733('0x11')]);router['delete'](_0x6733('0x10'),auth[_0x6733('0x8')](),controller[_0x6733('0x12')]);module[_0x6733('0x13')]=router;