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