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 _0x120e=['./voiceAgentReport.controller','isAuthenticated','get','/describe','describe','show','/:id','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x120e,0xee));var _0xe120=function(_0x37c3ff,_0x4af472){_0x37c3ff=_0x37c3ff-0x0;var _0x3a500d=_0x120e[_0x37c3ff];return _0x3a500d;};'use strict';var multer=require(_0xe120('0x0'));var util=require(_0xe120('0x1'));var path=require(_0xe120('0x2'));var timeout=require(_0xe120('0x3'));var express=require('express');var router=express[_0xe120('0x4')]();var fs_extra=require(_0xe120('0x5'));var auth=require(_0xe120('0x6'));var interaction=require(_0xe120('0x7'));var config=require(_0xe120('0x8'));var controller=require(_0xe120('0x9'));router['get']('/',auth[_0xe120('0xa')](),controller['index']);router[_0xe120('0xb')](_0xe120('0xc'),auth[_0xe120('0xa')](),controller[_0xe120('0xd')]);router[_0xe120('0xb')]('/:id',auth[_0xe120('0xa')](),controller[_0xe120('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0xe120('0xf'),auth[_0xe120('0xa')](),controller[_0xe120('0x10')]);router['delete'](_0xe120('0xf'),auth[_0xe120('0xa')](),controller[_0xe120('0x11')]);module[_0xe120('0x12')]=router;