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 _0x6815=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','./jscriptyAnswerReport.controller','get','isAuthenticated','index','describe','/:id','create'];(function(_0x21b26c,_0x55b664){var _0x29b451=function(_0x212e8d){while(--_0x212e8d){_0x21b26c['push'](_0x21b26c['shift']());}};_0x29b451(++_0x55b664);}(_0x6815,0x17f));var _0x5681=function(_0x273d48,_0x2b8b02){_0x273d48=_0x273d48-0x0;var _0x46be26=_0x6815[_0x273d48];return _0x46be26;};'use strict';var multer=require(_0x5681('0x0'));var util=require(_0x5681('0x1'));var path=require(_0x5681('0x2'));var timeout=require(_0x5681('0x3'));var express=require(_0x5681('0x4'));var router=express[_0x5681('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5681('0x6'));router[_0x5681('0x7')]('/',auth[_0x5681('0x8')](),controller[_0x5681('0x9')]);router[_0x5681('0x7')]('/describe',auth[_0x5681('0x8')](),controller[_0x5681('0xa')]);router[_0x5681('0x7')](_0x5681('0xb'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x5681('0x8')](),controller[_0x5681('0xc')]);router[_0x5681('0xd')]('/:id',auth[_0x5681('0x8')](),controller[_0x5681('0xe')]);router[_0x5681('0xf')](_0x5681('0xb'),auth['isAuthenticated'](),controller[_0x5681('0x10')]);module[_0x5681('0x11')]=router;