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 _0x3748=['../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','index','post','create','/:id','update','delete','destroy','multer','util','path','express','Router'];(function(_0x3025ba,_0x3f0826){var _0x4c2380=function(_0x1b0c9c){while(--_0x1b0c9c){_0x3025ba['push'](_0x3025ba['shift']());}};_0x4c2380(++_0x3f0826);}(_0x3748,0x12d));var _0x8374=function(_0xfaeb48,_0x35e639){_0xfaeb48=_0xfaeb48-0x0;var _0x2a6290=_0x3748[_0xfaeb48];return _0x2a6290;};'use strict';var multer=require(_0x8374('0x0'));var util=require(_0x8374('0x1'));var path=require(_0x8374('0x2'));var timeout=require('connect-timeout');var express=require(_0x8374('0x3'));var router=express[_0x8374('0x4')]();var auth=require(_0x8374('0x5'));var interaction=require(_0x8374('0x6'));var config=require(_0x8374('0x7'));var controller=require(_0x8374('0x8'));router[_0x8374('0x9')]('/',auth[_0x8374('0xa')](),controller[_0x8374('0xb')]);router[_0x8374('0x9')]('/describe',auth[_0x8374('0xa')](),controller['describe']);router[_0x8374('0x9')]('/:id',auth[_0x8374('0xa')](),controller['show']);router[_0x8374('0xc')]('/',auth[_0x8374('0xa')](),controller[_0x8374('0xd')]);router['put'](_0x8374('0xe'),auth[_0x8374('0xa')](),controller[_0x8374('0xf')]);router[_0x8374('0x10')](_0x8374('0xe'),auth[_0x8374('0xa')](),controller[_0x8374('0x11')]);module['exports']=router;