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