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