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 _0xd4c7=['/:id','show','create','update','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe'];(function(_0x2190f8,_0x162eff){var _0x51e86a=function(_0x578bf5){while(--_0x578bf5){_0x2190f8['push'](_0x2190f8['shift']());}};_0x51e86a(++_0x162eff);}(_0xd4c7,0xf2));var _0x7d4c=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0xd4c7[_0x2b4411];return _0x8e41ef;};'use strict';var multer=require(_0x7d4c('0x0'));var util=require(_0x7d4c('0x1'));var path=require('path');var timeout=require(_0x7d4c('0x2'));var express=require(_0x7d4c('0x3'));var router=express[_0x7d4c('0x4')]();var auth=require(_0x7d4c('0x5'));var interaction=require(_0x7d4c('0x6'));var config=require(_0x7d4c('0x7'));var controller=require(_0x7d4c('0x8'));router[_0x7d4c('0x9')]('/',auth[_0x7d4c('0xa')](),controller[_0x7d4c('0xb')]);router['get'](_0x7d4c('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0x7d4c('0x9')](_0x7d4c('0xd'),auth[_0x7d4c('0xa')](),controller[_0x7d4c('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x7d4c('0xf')]);router['put']('/:id',auth[_0x7d4c('0xa')](),controller[_0x7d4c('0x10')]);router['delete']('/:id',auth[_0x7d4c('0xa')](),controller['destroy']);module['exports']=router;