906297b343d236988627e416cc5848e6fec676d5
[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 _0x6c74=['isAuthenticated','index','get','/describe','describe','/:id','show','post','update','delete','destroy','exports','multer','util','path','../../components/interaction/service','../../config/environment','./memberReport.controller'];(function(_0x3c6402,_0x7d2a68){var _0x48ee69=function(_0x574dda){while(--_0x574dda){_0x3c6402['push'](_0x3c6402['shift']());}};_0x48ee69(++_0x7d2a68);}(_0x6c74,0x9c));var _0x46c7=function(_0x5b7a89,_0x2d7bd6){_0x5b7a89=_0x5b7a89-0x0;var _0x3cd70a=_0x6c74[_0x5b7a89];return _0x3cd70a;};'use strict';var multer=require(_0x46c7('0x0'));var util=require(_0x46c7('0x1'));var path=require(_0x46c7('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x46c7('0x3'));var config=require(_0x46c7('0x4'));var controller=require(_0x46c7('0x5'));router['get']('/',auth[_0x46c7('0x6')](),controller[_0x46c7('0x7')]);router[_0x46c7('0x8')](_0x46c7('0x9'),auth['isAuthenticated'](),controller[_0x46c7('0xa')]);router[_0x46c7('0x8')](_0x46c7('0xb'),auth[_0x46c7('0x6')](),controller[_0x46c7('0xc')]);router[_0x46c7('0xd')]('/',auth[_0x46c7('0x6')](),controller['create']);router['put'](_0x46c7('0xb'),auth[_0x46c7('0x6')](),controller[_0x46c7('0xe')]);router[_0x46c7('0xf')](_0x46c7('0xb'),auth[_0x46c7('0x6')](),controller[_0x46c7('0x10')]);module[_0x46c7('0x11')]=router;