7759ca2e8afe85ba7fa30730ec92d5f762f5cf0c
[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 _0x716c=['update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','index','/describe','/:id','show','put'];(function(_0x6c77ba,_0x46ef23){var _0x4f9106=function(_0x2e8685){while(--_0x2e8685){_0x6c77ba['push'](_0x6c77ba['shift']());}};_0x4f9106(++_0x46ef23);}(_0x716c,0x17d));var _0xc716=function(_0x2b58bd,_0x85754a){_0x2b58bd=_0x2b58bd-0x0;var _0x457a32=_0x716c[_0x2b58bd];return _0x457a32;};'use strict';var multer=require(_0xc716('0x0'));var util=require(_0xc716('0x1'));var path=require(_0xc716('0x2'));var timeout=require(_0xc716('0x3'));var express=require(_0xc716('0x4'));var router=express[_0xc716('0x5')]();var fs_extra=require(_0xc716('0x6'));var auth=require(_0xc716('0x7'));var interaction=require(_0xc716('0x8'));var config=require(_0xc716('0x9'));var controller=require(_0xc716('0xa'));router[_0xc716('0xb')]('/',auth[_0xc716('0xc')](),controller[_0xc716('0xd')]);router[_0xc716('0xb')](_0xc716('0xe'),auth['isAuthenticated'](),controller['describe']);router[_0xc716('0xb')](_0xc716('0xf'),auth[_0xc716('0xc')](),controller[_0xc716('0x10')]);router['post']('/',auth[_0xc716('0xc')](),controller['create']);router[_0xc716('0x11')](_0xc716('0xf'),auth[_0xc716('0xc')](),controller[_0xc716('0x12')]);router[_0xc716('0x13')](_0xc716('0xf'),auth[_0xc716('0xc')](),controller[_0xc716('0x14')]);module['exports']=router;