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 _0x081e=['path','connect-timeout','express','Router','fs-extra','../../config/environment','get','index','isAuthenticated','describe','/:id','post','create','put','update','destroy','multer','util'];(function(_0x342baa,_0x4a110f){var _0x1208f3=function(_0x56a645){while(--_0x56a645){_0x342baa['push'](_0x342baa['shift']());}};_0x1208f3(++_0x4a110f);}(_0x081e,0x1e4));var _0xe081=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0x081e[_0x2f5ac5];return _0x37c9a8;};'use strict';var multer=require(_0xe081('0x0'));var util=require(_0xe081('0x1'));var path=require(_0xe081('0x2'));var timeout=require(_0xe081('0x3'));var express=require(_0xe081('0x4'));var router=express[_0xe081('0x5')]();var fs_extra=require(_0xe081('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe081('0x7'));var controller=require('./jscriptyQuestionReport.controller');router[_0xe081('0x8')]('/',auth['isAuthenticated'](),controller[_0xe081('0x9')]);router[_0xe081('0x8')]('/describe',auth[_0xe081('0xa')](),controller[_0xe081('0xb')]);router[_0xe081('0x8')](_0xe081('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xe081('0xd')]('/',auth[_0xe081('0xa')](),controller[_0xe081('0xe')]);router[_0xe081('0xf')](_0xe081('0xc'),auth[_0xe081('0xa')](),controller[_0xe081('0x10')]);router['delete'](_0xe081('0xc'),auth[_0xe081('0xa')](),controller[_0xe081('0x11')]);module['exports']=router;