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