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 _0x6f65=['/describe','isAuthenticated','/:id','post','create','update','delete','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','index','get'];(function(_0x4581bb,_0x4c2d63){var _0x3eaa10=function(_0x47fc2b){while(--_0x47fc2b){_0x4581bb['push'](_0x4581bb['shift']());}};_0x3eaa10(++_0x4c2d63);}(_0x6f65,0x7f));var _0x56f6=function(_0x1d7380,_0x201040){_0x1d7380=_0x1d7380-0x0;var _0x4cb9a2=_0x6f65[_0x1d7380];return _0x4cb9a2;};'use strict';var multer=require(_0x56f6('0x0'));var util=require(_0x56f6('0x1'));var path=require(_0x56f6('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x56f6('0x3'));var interaction=require(_0x56f6('0x4'));var config=require(_0x56f6('0x5'));var controller=require(_0x56f6('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x56f6('0x7')]);router[_0x56f6('0x8')](_0x56f6('0x9'),auth[_0x56f6('0xa')](),controller['describe']);router['get'](_0x56f6('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x56f6('0xc')]('/',auth[_0x56f6('0xa')](),controller[_0x56f6('0xd')]);router['put'](_0x56f6('0xb'),auth['isAuthenticated'](),controller[_0x56f6('0xe')]);router[_0x56f6('0xf')](_0x56f6('0xb'),auth[_0x56f6('0xa')](),controller['destroy']);module[_0x56f6('0x10')]=router;