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 _0xeb89=['put','update','updateWithRetry','destroy','express','Router','../../components/auth/service','./voiceCallReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create'];(function(_0x79324e,_0x4af67e){var _0x555666=function(_0x15d9c2){while(--_0x15d9c2){_0x79324e['push'](_0x79324e['shift']());}};_0x555666(++_0x4af67e);}(_0xeb89,0x174));var _0x9eb8=function(_0x42f928,_0x24c405){_0x42f928=_0x42f928-0x0;var _0x28855e=_0xeb89[_0x42f928];return _0x28855e;};'use strict';var express=require(_0x9eb8('0x0'));var router=express[_0x9eb8('0x1')]();var auth=require(_0x9eb8('0x2'));var controller=require(_0x9eb8('0x3'));router[_0x9eb8('0x4')]('/',auth[_0x9eb8('0x5')](),controller[_0x9eb8('0x6')]);router['get'](_0x9eb8('0x7'),auth[_0x9eb8('0x5')](),controller['describe']);router['get'](_0x9eb8('0x8'),auth[_0x9eb8('0x5')](),controller[_0x9eb8('0x9')]);router[_0x9eb8('0xa')]('/',auth[_0x9eb8('0x5')](),controller[_0x9eb8('0xb')]);router[_0x9eb8('0xc')]('/:id',auth[_0x9eb8('0x5')](),controller[_0x9eb8('0xd')]);router[_0x9eb8('0xc')]('/with-retry/:id',auth['isAuthenticated'](),controller[_0x9eb8('0xe')]);router['delete'](_0x9eb8('0x8'),auth[_0x9eb8('0x5')](),controller[_0x9eb8('0xf')]);module['exports']=router;