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