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