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 _0x0c89=['./voiceAgentReport.controller','index','get','/describe','isAuthenticated','describe','show','post','create','/:id','update','delete','destroy','multer','express','Router','../../components/auth/service','../../config/environment'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0x0c89,0xaf));var _0x90c8=function(_0x5694a2,_0x3a943a){_0x5694a2=_0x5694a2-0x0;var _0x4f462d=_0x0c89[_0x5694a2];return _0x4f462d;};'use strict';var multer=require(_0x90c8('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x90c8('0x1'));var router=express[_0x90c8('0x2')]();var auth=require(_0x90c8('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x90c8('0x4'));var controller=require(_0x90c8('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0x90c8('0x6')]);router[_0x90c8('0x7')](_0x90c8('0x8'),auth[_0x90c8('0x9')](),controller[_0x90c8('0xa')]);router[_0x90c8('0x7')]('/:id',auth[_0x90c8('0x9')](),controller[_0x90c8('0xb')]);router[_0x90c8('0xc')]('/',auth['isAuthenticated'](),controller[_0x90c8('0xd')]);router['put'](_0x90c8('0xe'),auth[_0x90c8('0x9')](),controller[_0x90c8('0xf')]);router[_0x90c8('0x10')](_0x90c8('0xe'),auth[_0x90c8('0x9')](),controller[_0x90c8('0x11')]);module['exports']=router;