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