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 _0x65b7=['update','delete','destroy','multer','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','describe','/:id','post','create','put'];(function(_0x5e8c2f,_0x17a7bd){var _0xf429de=function(_0x10e66c){while(--_0x10e66c){_0x5e8c2f['push'](_0x5e8c2f['shift']());}};_0xf429de(++_0x17a7bd);}(_0x65b7,0xad));var _0x765b=function(_0x3d8c19,_0x316cb0){_0x3d8c19=_0x3d8c19-0x0;var _0x27dad7=_0x65b7[_0x3d8c19];return _0x27dad7;};'use strict';var multer=require(_0x765b('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x765b('0x1'));var router=express[_0x765b('0x2')]();var auth=require(_0x765b('0x3'));var interaction=require(_0x765b('0x4'));var config=require(_0x765b('0x5'));var controller=require('./jscriptyAnswerReport.controller');router['get']('/',auth[_0x765b('0x6')](),controller[_0x765b('0x7')]);router[_0x765b('0x8')]('/describe',auth[_0x765b('0x6')](),controller[_0x765b('0x9')]);router[_0x765b('0x8')](_0x765b('0xa'),auth[_0x765b('0x6')](),controller['show']);router[_0x765b('0xb')]('/',auth[_0x765b('0x6')](),controller[_0x765b('0xc')]);router[_0x765b('0xd')](_0x765b('0xa'),auth['isAuthenticated'](),controller[_0x765b('0xe')]);router[_0x765b('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x765b('0x10')]);module['exports']=router;