Built motion from commit 092f8824.|2.5.49
[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 _0xb102=['get','/describe','describe','show','create','put','delete','/:id','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','../../config/environment','./memberReport.controller','isAuthenticated','index'];(function(_0x46e5fc,_0x5db9aa){var _0x52f4e6=function(_0x51a00){while(--_0x51a00){_0x46e5fc['push'](_0x46e5fc['shift']());}};_0x52f4e6(++_0x5db9aa);}(_0xb102,0x14d));var _0x2b10=function(_0x1f11f3,_0x534841){_0x1f11f3=_0x1f11f3-0x0;var _0x531cc9=_0xb102[_0x1f11f3];return _0x531cc9;};'use strict';var multer=require(_0x2b10('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2b10('0x1'));var router=express[_0x2b10('0x2')]();var fs_extra=require(_0x2b10('0x3'));var auth=require(_0x2b10('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2b10('0x5'));var controller=require(_0x2b10('0x6'));router['get']('/',auth[_0x2b10('0x7')](),controller[_0x2b10('0x8')]);router[_0x2b10('0x9')](_0x2b10('0xa'),auth[_0x2b10('0x7')](),controller[_0x2b10('0xb')]);router[_0x2b10('0x9')]('/:id',auth[_0x2b10('0x7')](),controller[_0x2b10('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x2b10('0xd')]);router[_0x2b10('0xe')]('/:id',auth[_0x2b10('0x7')](),controller['update']);router[_0x2b10('0xf')](_0x2b10('0x10'),auth['isAuthenticated'](),controller[_0x2b10('0x11')]);module[_0x2b10('0x12')]=router;