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 _0x98ed=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','index','isAuthenticated','describe','show','post','create','put','update','/:id','destroy','exports','multer','util','path','express'];(function(_0x13b326,_0x14220e){var _0x161386=function(_0x42a4cb){while(--_0x42a4cb){_0x13b326['push'](_0x13b326['shift']());}};_0x161386(++_0x14220e);}(_0x98ed,0xb9));var _0xd98e=function(_0x317257,_0x1677dc){_0x317257=_0x317257-0x0;var _0x1f235d=_0x98ed[_0x317257];return _0x1f235d;};'use strict';var multer=require(_0xd98e('0x0'));var util=require(_0xd98e('0x1'));var path=require(_0xd98e('0x2'));var timeout=require('connect-timeout');var express=require(_0xd98e('0x3'));var router=express[_0xd98e('0x4')]();var auth=require(_0xd98e('0x5'));var interaction=require(_0xd98e('0x6'));var config=require(_0xd98e('0x7'));var controller=require(_0xd98e('0x8'));router[_0xd98e('0x9')]('/',auth['isAuthenticated'](),controller[_0xd98e('0xa')]);router[_0xd98e('0x9')]('/describe',auth[_0xd98e('0xb')](),controller[_0xd98e('0xc')]);router[_0xd98e('0x9')]('/:id',auth[_0xd98e('0xb')](),controller[_0xd98e('0xd')]);router[_0xd98e('0xe')]('/',auth[_0xd98e('0xb')](),controller[_0xd98e('0xf')]);router[_0xd98e('0x10')]('/:id',auth[_0xd98e('0xb')](),controller[_0xd98e('0x11')]);router['delete'](_0xd98e('0x12'),auth[_0xd98e('0xb')](),controller[_0xd98e('0x13')]);module[_0xd98e('0x14')]=router;