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 _0x2b26=['put','update','updateWithRetry','delete','destroy','exports','Router','../../components/auth/service','./voiceCallReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','post'];(function(_0x1a4ca1,_0x30ce5d){var _0x36be94=function(_0x9f6131){while(--_0x9f6131){_0x1a4ca1['push'](_0x1a4ca1['shift']());}};_0x36be94(++_0x30ce5d);}(_0x2b26,0xd2));var _0x62b2=function(_0x199572,_0x33e667){_0x199572=_0x199572-0x0;var _0x13cfa3=_0x2b26[_0x199572];return _0x13cfa3;};'use strict';var express=require('express');var router=express[_0x62b2('0x0')]();var auth=require(_0x62b2('0x1'));var controller=require(_0x62b2('0x2'));router['get']('/',auth['isAuthenticated'](),controller[_0x62b2('0x3')]);router[_0x62b2('0x4')](_0x62b2('0x5'),auth[_0x62b2('0x6')](),controller[_0x62b2('0x7')]);router[_0x62b2('0x4')](_0x62b2('0x8'),auth[_0x62b2('0x6')](),controller[_0x62b2('0x9')]);router[_0x62b2('0xa')]('/',auth[_0x62b2('0x6')](),controller['create']);router[_0x62b2('0xb')](_0x62b2('0x8'),auth[_0x62b2('0x6')](),controller[_0x62b2('0xc')]);router['put']('/with-retry/:id',auth[_0x62b2('0x6')](),controller[_0x62b2('0xd')]);router[_0x62b2('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x62b2('0xf')]);module[_0x62b2('0x10')]=router;