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 _0xbd31=['post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../config/environment','./jscriptyAnswerReport.controller','isAuthenticated','index','get','/describe','describe','/:id'];(function(_0x2eeccd,_0x7d60fa){var _0x42e694=function(_0x1390c7){while(--_0x1390c7){_0x2eeccd['push'](_0x2eeccd['shift']());}};_0x42e694(++_0x7d60fa);}(_0xbd31,0xf7));var _0x1bd3=function(_0x3fe633,_0xdd0fbc){_0x3fe633=_0x3fe633-0x0;var _0x4c988e=_0xbd31[_0x3fe633];return _0x4c988e;};'use strict';var multer=require(_0x1bd3('0x0'));var util=require(_0x1bd3('0x1'));var path=require('path');var timeout=require(_0x1bd3('0x2'));var express=require(_0x1bd3('0x3'));var router=express[_0x1bd3('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1bd3('0x5'));var controller=require(_0x1bd3('0x6'));router['get']('/',auth[_0x1bd3('0x7')](),controller[_0x1bd3('0x8')]);router[_0x1bd3('0x9')](_0x1bd3('0xa'),auth['isAuthenticated'](),controller[_0x1bd3('0xb')]);router[_0x1bd3('0x9')](_0x1bd3('0xc'),auth[_0x1bd3('0x7')](),controller['show']);router[_0x1bd3('0xd')]('/',auth['isAuthenticated'](),controller[_0x1bd3('0xe')]);router[_0x1bd3('0xf')](_0x1bd3('0xc'),auth[_0x1bd3('0x7')](),controller[_0x1bd3('0x10')]);router[_0x1bd3('0x11')](_0x1bd3('0xc'),auth[_0x1bd3('0x7')](),controller[_0x1bd3('0x12')]);module[_0x1bd3('0x13')]=router;