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 _0x099f=['express','Router','../../components/auth/service','../../config/environment','./voiceCallReport.controller','isAuthenticated','get','/:id','show','post','create','put','delete','destroy','exports','multer','util','path'];(function(_0x46e363,_0x45d7e2){var _0x3fb059=function(_0x5e6274){while(--_0x5e6274){_0x46e363['push'](_0x46e363['shift']());}};_0x3fb059(++_0x45d7e2);}(_0x099f,0x12f));var _0xf099=function(_0x563772,_0xba61bc){_0x563772=_0x563772-0x0;var _0x34fd50=_0x099f[_0x563772];return _0x34fd50;};'use strict';var multer=require(_0xf099('0x0'));var util=require(_0xf099('0x1'));var path=require(_0xf099('0x2'));var timeout=require('connect-timeout');var express=require(_0xf099('0x3'));var router=express[_0xf099('0x4')]();var auth=require(_0xf099('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf099('0x6'));var controller=require(_0xf099('0x7'));router['get']('/',auth[_0xf099('0x8')](),controller['index']);router[_0xf099('0x9')]('/describe',auth[_0xf099('0x8')](),controller['describe']);router['get'](_0xf099('0xa'),auth[_0xf099('0x8')](),controller[_0xf099('0xb')]);router[_0xf099('0xc')]('/',auth[_0xf099('0x8')](),controller[_0xf099('0xd')]);router[_0xf099('0xe')](_0xf099('0xa'),auth[_0xf099('0x8')](),controller['update']);router[_0xf099('0xf')](_0xf099('0xa'),auth['isAuthenticated'](),controller[_0xf099('0x10')]);module[_0xf099('0x11')]=router;