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