b36929561876e590915371f71a71a1e30997b282
[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 _0x6562=['isAuthenticated','show','put','/with-retry/:id','updateWithRetry','delete','/:id','destroy','exports','Router','./voiceCallReport.controller','get','index','/describe'];(function(_0x2b2e55,_0x1c282d){var _0x3499fc=function(_0xfc193){while(--_0xfc193){_0x2b2e55['push'](_0x2b2e55['shift']());}};_0x3499fc(++_0x1c282d);}(_0x6562,0xcd));var _0x2656=function(_0x45c48f,_0x4aa891){_0x45c48f=_0x45c48f-0x0;var _0xaf5037=_0x6562[_0x45c48f];return _0xaf5037;};'use strict';var express=require('express');var router=express[_0x2656('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x2656('0x1'));router[_0x2656('0x2')]('/',auth['isAuthenticated'](),controller[_0x2656('0x3')]);router['get'](_0x2656('0x4'),auth[_0x2656('0x5')](),controller['describe']);router[_0x2656('0x2')]('/:id',auth['isAuthenticated'](),controller[_0x2656('0x6')]);router['post']('/',auth[_0x2656('0x5')](),controller['create']);router[_0x2656('0x7')]('/:id',auth['isAuthenticated'](),controller['update']);router['put'](_0x2656('0x8'),auth[_0x2656('0x5')](),controller[_0x2656('0x9')]);router[_0x2656('0xa')](_0x2656('0xb'),auth['isAuthenticated'](),controller[_0x2656('0xc')]);module[_0x2656('0xd')]=router;