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 _0xd44f=['get','/describe','isAuthenticated','describe','show','post','create','put','/:id','delete','destroy','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','index'];(function(_0x25ed6b,_0x1e95e6){var _0x599783=function(_0x230ad7){while(--_0x230ad7){_0x25ed6b['push'](_0x25ed6b['shift']());}};_0x599783(++_0x1e95e6);}(_0xd44f,0x97));var _0xfd44=function(_0x3c5924,_0x4d295f){_0x3c5924=_0x3c5924-0x0;var _0x576958=_0xd44f[_0x3c5924];return _0x576958;};'use strict';var multer=require(_0xfd44('0x0'));var util=require(_0xfd44('0x1'));var path=require(_0xfd44('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfd44('0x3')]();var auth=require(_0xfd44('0x4'));var interaction=require(_0xfd44('0x5'));var config=require(_0xfd44('0x6'));var controller=require(_0xfd44('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xfd44('0x8')]);router[_0xfd44('0x9')](_0xfd44('0xa'),auth[_0xfd44('0xb')](),controller[_0xfd44('0xc')]);router[_0xfd44('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xfd44('0xd')]);router[_0xfd44('0xe')]('/',auth[_0xfd44('0xb')](),controller[_0xfd44('0xf')]);router[_0xfd44('0x10')](_0xfd44('0x11'),auth[_0xfd44('0xb')](),controller['update']);router[_0xfd44('0x12')](_0xfd44('0x11'),auth['isAuthenticated'](),controller[_0xfd44('0x13')]);module['exports']=router;