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 _0x5296=['isAuthenticated','index','/describe','show','create','put','/:id','update','delete','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get'];(function(_0x4bbde6,_0x5cc57a){var _0x3d8423=function(_0x278080){while(--_0x278080){_0x4bbde6['push'](_0x4bbde6['shift']());}};_0x3d8423(++_0x5cc57a);}(_0x5296,0x137));var _0x6529=function(_0x5e43ba,_0x168d05){_0x5e43ba=_0x5e43ba-0x0;var _0x2bb4f4=_0x5296[_0x5e43ba];return _0x2bb4f4;};'use strict';var multer=require(_0x6529('0x0'));var util=require(_0x6529('0x1'));var path=require(_0x6529('0x2'));var timeout=require('connect-timeout');var express=require(_0x6529('0x3'));var router=express[_0x6529('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x6529('0x5'));var config=require(_0x6529('0x6'));var controller=require(_0x6529('0x7'));router[_0x6529('0x8')]('/',auth[_0x6529('0x9')](),controller[_0x6529('0xa')]);router[_0x6529('0x8')](_0x6529('0xb'),auth[_0x6529('0x9')](),controller['describe']);router['get']('/:id',auth[_0x6529('0x9')](),controller[_0x6529('0xc')]);router['post']('/',auth[_0x6529('0x9')](),controller[_0x6529('0xd')]);router[_0x6529('0xe')](_0x6529('0xf'),auth[_0x6529('0x9')](),controller[_0x6529('0x10')]);router[_0x6529('0x11')]('/:id',auth[_0x6529('0x9')](),controller[_0x6529('0x12')]);module[_0x6529('0x13')]=router;