Built motion from commit (unavailable).|2.0.81
[motion2.git] / server / api / memberReport / 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 _0xe1e2=['path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x3a4c58,_0x2affaa){var _0x4471da=function(_0x199c6c){while(--_0x199c6c){_0x3a4c58['push'](_0x3a4c58['shift']());}};_0x4471da(++_0x2affaa);}(_0xe1e2,0x163));var _0x2e1e=function(_0x14d175,_0x230bf7){_0x14d175=_0x14d175-0x0;var _0x2946e9=_0xe1e2[_0x14d175];return _0x2946e9;};'use strict';var multer=require(_0x2e1e('0x0'));var util=require(_0x2e1e('0x1'));var path=require(_0x2e1e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2e1e('0x3')]();var auth=require(_0x2e1e('0x4'));var interaction=require(_0x2e1e('0x5'));var config=require(_0x2e1e('0x6'));var controller=require('./memberReport.controller');router['get']('/',auth[_0x2e1e('0x7')](),controller[_0x2e1e('0x8')]);router[_0x2e1e('0x9')](_0x2e1e('0xa'),auth[_0x2e1e('0x7')](),controller[_0x2e1e('0xb')]);router[_0x2e1e('0x9')](_0x2e1e('0xc'),auth[_0x2e1e('0x7')](),controller[_0x2e1e('0xd')]);router[_0x2e1e('0xe')]('/',auth[_0x2e1e('0x7')](),controller[_0x2e1e('0xf')]);router[_0x2e1e('0x10')](_0x2e1e('0xc'),auth[_0x2e1e('0x7')](),controller[_0x2e1e('0x11')]);router[_0x2e1e('0x12')](_0x2e1e('0xc'),auth['isAuthenticated'](),controller[_0x2e1e('0x13')]);module[_0x2e1e('0x14')]=router;