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 _0x4f57=['get','/describe','update','delete','destroy','multer','util','path','express','../../components/auth/service','../../config/environment','isAuthenticated','index'];(function(_0x45ce9e,_0x52dc10){var _0x59620c=function(_0x54a974){while(--_0x54a974){_0x45ce9e['push'](_0x45ce9e['shift']());}};_0x59620c(++_0x52dc10);}(_0x4f57,0x14a));var _0x74f5=function(_0x72b763,_0x4984e2){_0x72b763=_0x72b763-0x0;var _0x4f86c3=_0x4f57[_0x72b763];return _0x4f86c3;};'use strict';var multer=require(_0x74f5('0x0'));var util=require(_0x74f5('0x1'));var path=require(_0x74f5('0x2'));var express=require(_0x74f5('0x3'));var router=express['Router']();var auth=require(_0x74f5('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x74f5('0x5'));var controller=require('./jscriptyAnswerReport.controller');router['get']('/',auth[_0x74f5('0x6')](),controller[_0x74f5('0x7')]);router[_0x74f5('0x8')](_0x74f5('0x9'),auth[_0x74f5('0x6')](),controller['describe']);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x74f5('0x6')](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x74f5('0xa')]);router[_0x74f5('0xb')]('/:id',auth[_0x74f5('0x6')](),controller[_0x74f5('0xc')]);module['exports']=router;