Built motion from commit 3c2ce842.|2.6.31
[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 _0x4d83=['update','/with-retry/:id','updateWithRetry','delete','destroy','exports','express','Router','./voiceCallReport.controller','get','isAuthenticated','index','describe','show','post','create','put','/:id'];(function(_0x4b0c8b,_0x5e4335){var _0x15fa28=function(_0x55f8a5){while(--_0x55f8a5){_0x4b0c8b['push'](_0x4b0c8b['shift']());}};_0x15fa28(++_0x5e4335);}(_0x4d83,0x102));var _0x34d8=function(_0x4faa06,_0x2cd369){_0x4faa06=_0x4faa06-0x0;var _0x5b808a=_0x4d83[_0x4faa06];return _0x5b808a;};'use strict';var express=require(_0x34d8('0x0'));var router=express[_0x34d8('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x34d8('0x2'));router[_0x34d8('0x3')]('/',auth[_0x34d8('0x4')](),controller[_0x34d8('0x5')]);router[_0x34d8('0x3')]('/describe',auth[_0x34d8('0x4')](),controller[_0x34d8('0x6')]);router[_0x34d8('0x3')]('/:id',auth[_0x34d8('0x4')](),controller[_0x34d8('0x7')]);router[_0x34d8('0x8')]('/',auth[_0x34d8('0x4')](),controller[_0x34d8('0x9')]);router[_0x34d8('0xa')](_0x34d8('0xb'),auth['isAuthenticated'](),controller[_0x34d8('0xc')]);router['put'](_0x34d8('0xd'),auth['isAuthenticated'](),controller[_0x34d8('0xe')]);router[_0x34d8('0xf')](_0x34d8('0xb'),auth[_0x34d8('0x4')](),controller[_0x34d8('0x10')]);module[_0x34d8('0x11')]=router;