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 _0x87c3=['./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','show','post','create','/:id','destroy','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x5125e3,_0xa2f284){var _0x3790e4=function(_0xbd727d){while(--_0xbd727d){_0x5125e3['push'](_0x5125e3['shift']());}};_0x3790e4(++_0xa2f284);}(_0x87c3,0x1aa));var _0x387c=function(_0x3c89ea,_0x276aa0){_0x3c89ea=_0x3c89ea-0x0;var _0x44bc76=_0x87c3[_0x3c89ea];return _0x44bc76;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x387c('0x0'));var timeout=require(_0x387c('0x1'));var express=require('express');var router=express[_0x387c('0x2')]();var auth=require(_0x387c('0x3'));var interaction=require(_0x387c('0x4'));var config=require(_0x387c('0x5'));var controller=require(_0x387c('0x6'));router[_0x387c('0x7')]('/',auth[_0x387c('0x8')](),controller[_0x387c('0x9')]);router['get'](_0x387c('0xa'),auth[_0x387c('0x8')](),controller['describe']);router['get']('/:id',auth[_0x387c('0x8')](),controller[_0x387c('0xb')]);router[_0x387c('0xc')]('/',auth['isAuthenticated'](),controller[_0x387c('0xd')]);router['put'](_0x387c('0xe'),auth[_0x387c('0x8')](),controller['update']);router['delete']('/:id',auth[_0x387c('0x8')](),controller[_0x387c('0xf')]);module['exports']=router;