439ad2637c01fe5af5781556759d408b09d2e828
[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 _0x0c1a=['isAuthenticated','index','/describe','describe','get','/:id','show','create','put','/with-retry/:id','updateWithRetry','delete','destroy','exports','Router','../../components/auth/service','./voiceCallReport.controller'];(function(_0x54447d,_0x22b5de){var _0x2b65a0=function(_0x37dc38){while(--_0x37dc38){_0x54447d['push'](_0x54447d['shift']());}};_0x2b65a0(++_0x22b5de);}(_0x0c1a,0x74));var _0xa0c1=function(_0x4b276c,_0x55d49c){_0x4b276c=_0x4b276c-0x0;var _0x591632=_0x0c1a[_0x4b276c];return _0x591632;};'use strict';var express=require('express');var router=express[_0xa0c1('0x0')]();var auth=require(_0xa0c1('0x1'));var controller=require(_0xa0c1('0x2'));router['get']('/',auth[_0xa0c1('0x3')](),controller[_0xa0c1('0x4')]);router['get'](_0xa0c1('0x5'),auth[_0xa0c1('0x3')](),controller[_0xa0c1('0x6')]);router[_0xa0c1('0x7')](_0xa0c1('0x8'),auth[_0xa0c1('0x3')](),controller[_0xa0c1('0x9')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa0c1('0xa')]);router[_0xa0c1('0xb')](_0xa0c1('0x8'),auth[_0xa0c1('0x3')](),controller['update']);router['put'](_0xa0c1('0xc'),auth[_0xa0c1('0x3')](),controller[_0xa0c1('0xd')]);router[_0xa0c1('0xe')](_0xa0c1('0x8'),auth['isAuthenticated'](),controller[_0xa0c1('0xf')]);module[_0xa0c1('0x10')]=router;