Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / voiceCallReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x7f58=['exports','express','../../components/auth/service','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','destroy'];(function(_0xc1e16,_0x7bda9e){var _0x135367=function(_0xb41470){while(--_0xb41470){_0xc1e16['push'](_0xc1e16['shift']());}};_0x135367(++_0x7bda9e);}(_0x7f58,0x1cf));var _0x87f5=function(_0x136492,_0x701cf4){_0x136492=_0x136492-0x0;var _0x1f0083=_0x7f58[_0x136492];return _0x1f0083;};'use strict';var express=require(_0x87f5('0x0'));var router=express['Router']();var auth=require(_0x87f5('0x1'));var controller=require('./voiceCallReport.controller');router['get']('/',auth[_0x87f5('0x2')](),controller[_0x87f5('0x3')]);router[_0x87f5('0x4')](_0x87f5('0x5'),auth[_0x87f5('0x2')](),controller[_0x87f5('0x6')]);router[_0x87f5('0x4')](_0x87f5('0x7'),auth[_0x87f5('0x2')](),controller[_0x87f5('0x8')]);router[_0x87f5('0x9')]('/',auth[_0x87f5('0x2')](),controller[_0x87f5('0xa')]);router[_0x87f5('0xb')](_0x87f5('0x7'),auth[_0x87f5('0x2')](),controller['update']);router[_0x87f5('0xb')]('/with-retry/:id',auth['isAuthenticated'](),controller['updateWithRetry']);router['delete'](_0x87f5('0x7'),auth[_0x87f5('0x2')](),controller[_0x87f5('0xc')]);module[_0x87f5('0xd')]=router;