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