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 _0xc88b=['/describe','describe','/:id','show','post','create','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index'];(function(_0x1c7502,_0x5d2c70){var _0x2165fa=function(_0x5a64a2){while(--_0x5a64a2){_0x1c7502['push'](_0x1c7502['shift']());}};_0x2165fa(++_0x5d2c70);}(_0xc88b,0x9c));var _0xbc88=function(_0x23bade,_0x4fd17e){_0x23bade=_0x23bade-0x0;var _0x4b6128=_0xc88b[_0x23bade];return _0x4b6128;};'use strict';var multer=require(_0xbc88('0x0'));var util=require(_0xbc88('0x1'));var path=require(_0xbc88('0x2'));var timeout=require(_0xbc88('0x3'));var express=require(_0xbc88('0x4'));var router=express[_0xbc88('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xbc88('0x6'));var config=require(_0xbc88('0x7'));var controller=require(_0xbc88('0x8'));router[_0xbc88('0x9')]('/',auth[_0xbc88('0xa')](),controller[_0xbc88('0xb')]);router[_0xbc88('0x9')](_0xbc88('0xc'),auth['isAuthenticated'](),controller[_0xbc88('0xd')]);router[_0xbc88('0x9')](_0xbc88('0xe'),auth[_0xbc88('0xa')](),controller[_0xbc88('0xf')]);router[_0xbc88('0x10')]('/',auth['isAuthenticated'](),controller[_0xbc88('0x11')]);router['put'](_0xbc88('0xe'),auth[_0xbc88('0xa')](),controller[_0xbc88('0x12')]);router[_0xbc88('0x13')](_0xbc88('0xe'),auth[_0xbc88('0xa')](),controller[_0xbc88('0x14')]);module['exports']=router;