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 _0x5e40=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','index','/describe','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path'];(function(_0x3cb69b,_0x4b81d4){var _0x40a180=function(_0x3498cb){while(--_0x3498cb){_0x3cb69b['push'](_0x3cb69b['shift']());}};_0x40a180(++_0x4b81d4);}(_0x5e40,0x156));var _0x05e4=function(_0x16311f,_0x40f002){_0x16311f=_0x16311f-0x0;var _0x42f147=_0x5e40[_0x16311f];return _0x42f147;};'use strict';var multer=require(_0x05e4('0x0'));var util=require(_0x05e4('0x1'));var path=require(_0x05e4('0x2'));var timeout=require(_0x05e4('0x3'));var express=require(_0x05e4('0x4'));var router=express[_0x05e4('0x5')]();var auth=require(_0x05e4('0x6'));var interaction=require(_0x05e4('0x7'));var config=require(_0x05e4('0x8'));var controller=require(_0x05e4('0x9'));router[_0x05e4('0xa')]('/',auth['isAuthenticated'](),controller[_0x05e4('0xb')]);router[_0x05e4('0xa')](_0x05e4('0xc'),auth[_0x05e4('0xd')](),controller['describe']);router[_0x05e4('0xa')](_0x05e4('0xe'),auth['isAuthenticated'](),controller[_0x05e4('0xf')]);router[_0x05e4('0x10')]('/',auth[_0x05e4('0xd')](),controller[_0x05e4('0x11')]);router[_0x05e4('0x12')](_0x05e4('0xe'),auth['isAuthenticated'](),controller[_0x05e4('0x13')]);router[_0x05e4('0x14')](_0x05e4('0xe'),auth[_0x05e4('0xd')](),controller[_0x05e4('0x15')]);module[_0x05e4('0x16')]=router;