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 _0xa70a=['./jscriptyAnswerReport.controller','index','/describe','isAuthenticated','describe','get','show','put','/:id','delete','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x52afb2,_0x108961){var _0x28f94c=function(_0x418276){while(--_0x418276){_0x52afb2['push'](_0x52afb2['shift']());}};_0x28f94c(++_0x108961);}(_0xa70a,0x88));var _0xaa70=function(_0x201ded,_0x264ed3){_0x201ded=_0x201ded-0x0;var _0x5447d9=_0xa70a[_0x201ded];return _0x5447d9;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xaa70('0x0'));var timeout=require(_0xaa70('0x1'));var express=require(_0xaa70('0x2'));var router=express[_0xaa70('0x3')]();var fs_extra=require(_0xaa70('0x4'));var auth=require(_0xaa70('0x5'));var interaction=require(_0xaa70('0x6'));var config=require(_0xaa70('0x7'));var controller=require(_0xaa70('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xaa70('0x9')]);router['get'](_0xaa70('0xa'),auth[_0xaa70('0xb')](),controller[_0xaa70('0xc')]);router[_0xaa70('0xd')]('/:id',auth[_0xaa70('0xb')](),controller[_0xaa70('0xe')]);router['post']('/',auth[_0xaa70('0xb')](),controller['create']);router[_0xaa70('0xf')](_0xaa70('0x10'),auth[_0xaa70('0xb')](),controller['update']);router[_0xaa70('0x11')](_0xaa70('0x10'),auth[_0xaa70('0xb')](),controller['destroy']);module['exports']=router;