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 _0x23b5=['describe','put','/:id','update','updateWithRetry','delete','destroy','express','Router','../../components/auth/service','./voiceCallReport.controller','isAuthenticated','get','/describe'];(function(_0x543f04,_0x2ae1b9){var _0x407cc7=function(_0x2f9c9d){while(--_0x2f9c9d){_0x543f04['push'](_0x543f04['shift']());}};_0x407cc7(++_0x2ae1b9);}(_0x23b5,0xf5));var _0x523b=function(_0x1dfa63,_0x362bd4){_0x1dfa63=_0x1dfa63-0x0;var _0x26f2a9=_0x23b5[_0x1dfa63];return _0x26f2a9;};'use strict';var express=require(_0x523b('0x0'));var router=express[_0x523b('0x1')]();var auth=require(_0x523b('0x2'));var controller=require(_0x523b('0x3'));router['get']('/',auth[_0x523b('0x4')](),controller['index']);router[_0x523b('0x5')](_0x523b('0x6'),auth['isAuthenticated'](),controller[_0x523b('0x7')]);router[_0x523b('0x5')]('/:id',auth[_0x523b('0x4')](),controller['show']);router['post']('/',auth[_0x523b('0x4')](),controller['create']);router[_0x523b('0x8')](_0x523b('0x9'),auth[_0x523b('0x4')](),controller[_0x523b('0xa')]);router[_0x523b('0x8')]('/with-retry/:id',auth[_0x523b('0x4')](),controller[_0x523b('0xb')]);router[_0x523b('0xc')]('/:id',auth[_0x523b('0x4')](),controller[_0x523b('0xd')]);module['exports']=router;