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