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 _0xfc26=['describe','show','post','create','put','/:id','update','delete','multer','util','connect-timeout','express','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe'];(function(_0x14fdf0,_0x5abd4e){var _0x15f45e=function(_0x19c9a8){while(--_0x19c9a8){_0x14fdf0['push'](_0x14fdf0['shift']());}};_0x15f45e(++_0x5abd4e);}(_0xfc26,0x118));var _0x6fc2=function(_0x48999d,_0x1e02cb){_0x48999d=_0x48999d-0x0;var _0x1ad0d1=_0xfc26[_0x48999d];return _0x1ad0d1;};'use strict';var multer=require(_0x6fc2('0x0'));var util=require(_0x6fc2('0x1'));var path=require('path');var timeout=require(_0x6fc2('0x2'));var express=require(_0x6fc2('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x6fc2('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6fc2('0x5'));var controller=require('./jscriptyQuestionReport.controller');router[_0x6fc2('0x6')]('/',auth[_0x6fc2('0x7')](),controller['index']);router['get'](_0x6fc2('0x8'),auth[_0x6fc2('0x7')](),controller[_0x6fc2('0x9')]);router[_0x6fc2('0x6')]('/:id',auth[_0x6fc2('0x7')](),controller[_0x6fc2('0xa')]);router[_0x6fc2('0xb')]('/',auth[_0x6fc2('0x7')](),controller[_0x6fc2('0xc')]);router[_0x6fc2('0xd')](_0x6fc2('0xe'),auth[_0x6fc2('0x7')](),controller[_0x6fc2('0xf')]);router[_0x6fc2('0x10')](_0x6fc2('0xe'),auth[_0x6fc2('0x7')](),controller['destroy']);module['exports']=router;