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 _0x429f=['post','create','put','update','delete','destroy','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','/:id'];(function(_0x85cb49,_0x50a08a){var _0x52f463=function(_0x3e816b){while(--_0x3e816b){_0x85cb49['push'](_0x85cb49['shift']());}};_0x52f463(++_0x50a08a);}(_0x429f,0x1a4));var _0xf429=function(_0x53b133,_0x176261){_0x53b133=_0x53b133-0x0;var _0x5647e0=_0x429f[_0x53b133];return _0x5647e0;};'use strict';var multer=require(_0xf429('0x0'));var util=require('util');var path=require(_0xf429('0x1'));var timeout=require(_0xf429('0x2'));var express=require('express');var router=express[_0xf429('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xf429('0x4'));var interaction=require(_0xf429('0x5'));var config=require(_0xf429('0x6'));var controller=require('./jscriptyAnswerReport.controller');router[_0xf429('0x7')]('/',auth[_0xf429('0x8')](),controller[_0xf429('0x9')]);router[_0xf429('0x7')](_0xf429('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xf429('0x7')](_0xf429('0xb'),auth[_0xf429('0x8')](),controller['show']);router[_0xf429('0xc')]('/',auth[_0xf429('0x8')](),controller[_0xf429('0xd')]);router[_0xf429('0xe')](_0xf429('0xb'),auth[_0xf429('0x8')](),controller[_0xf429('0xf')]);router[_0xf429('0x10')](_0xf429('0xb'),auth[_0xf429('0x8')](),controller[_0xf429('0x11')]);module['exports']=router;