22e02feaddc216711f208db9a5a871a7edc54b00
[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 _0x6078=['update','delete','destroy','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','/describe','isAuthenticated','describe','/:id','show','post','create','put'];(function(_0x5e5307,_0x300e9b){var _0x56af9c=function(_0x1314db){while(--_0x1314db){_0x5e5307['push'](_0x5e5307['shift']());}};_0x56af9c(++_0x300e9b);}(_0x6078,0x1a7));var _0x8607=function(_0x91f99d,_0x2befe1){_0x91f99d=_0x91f99d-0x0;var _0x1c2197=_0x6078[_0x91f99d];return _0x1c2197;};'use strict';var multer=require(_0x8607('0x0'));var util=require('util');var path=require(_0x8607('0x1'));var timeout=require(_0x8607('0x2'));var express=require(_0x8607('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x8607('0x4'));var interaction=require(_0x8607('0x5'));var config=require(_0x8607('0x6'));var controller=require(_0x8607('0x7'));router[_0x8607('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8607('0x8')](_0x8607('0x9'),auth[_0x8607('0xa')](),controller[_0x8607('0xb')]);router[_0x8607('0x8')](_0x8607('0xc'),auth[_0x8607('0xa')](),controller[_0x8607('0xd')]);router[_0x8607('0xe')]('/',auth[_0x8607('0xa')](),controller[_0x8607('0xf')]);router[_0x8607('0x10')](_0x8607('0xc'),auth[_0x8607('0xa')](),controller[_0x8607('0x11')]);router[_0x8607('0x12')](_0x8607('0xc'),auth['isAuthenticated'](),controller[_0x8607('0x13')]);module['exports']=router;