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 _0xccf9=['update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','describe','/:id','isAuthenticated','show','post','create','put'];(function(_0x557a26,_0x4d669e){var _0x91d712=function(_0x1cb1a0){while(--_0x1cb1a0){_0x557a26['push'](_0x557a26['shift']());}};_0x91d712(++_0x4d669e);}(_0xccf9,0xd6));var _0x9ccf=function(_0x40ccdc,_0x88ce91){_0x40ccdc=_0x40ccdc-0x0;var _0x35a96a=_0xccf9[_0x40ccdc];return _0x35a96a;};'use strict';var multer=require('multer');var util=require(_0x9ccf('0x0'));var path=require(_0x9ccf('0x1'));var timeout=require(_0x9ccf('0x2'));var express=require(_0x9ccf('0x3'));var router=express[_0x9ccf('0x4')]();var fs_extra=require(_0x9ccf('0x5'));var auth=require(_0x9ccf('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x9ccf('0x7'));var controller=require('./jscriptyQuestionReport.controller');router[_0x9ccf('0x8')]('/',auth['isAuthenticated'](),controller[_0x9ccf('0x9')]);router[_0x9ccf('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x9ccf('0xa')]);router[_0x9ccf('0x8')](_0x9ccf('0xb'),auth[_0x9ccf('0xc')](),controller[_0x9ccf('0xd')]);router[_0x9ccf('0xe')]('/',auth[_0x9ccf('0xc')](),controller[_0x9ccf('0xf')]);router[_0x9ccf('0x10')](_0x9ccf('0xb'),auth[_0x9ccf('0xc')](),controller[_0x9ccf('0x11')]);router[_0x9ccf('0x12')]('/:id',auth[_0x9ccf('0xc')](),controller[_0x9ccf('0x13')]);module[_0x9ccf('0x14')]=router;