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