Built motion from commit (unavailable).|2.2.0
[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 _0xf5b6=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','delete','exports','multer','path'];(function(_0x49d78e,_0x29b4c3){var _0x1a08c9=function(_0x535849){while(--_0x535849){_0x49d78e['push'](_0x49d78e['shift']());}};_0x1a08c9(++_0x29b4c3);}(_0xf5b6,0x1f2));var _0x6f5b=function(_0x2ffd5e,_0x23a18f){_0x2ffd5e=_0x2ffd5e-0x0;var _0x23f9a2=_0xf5b6[_0x2ffd5e];return _0x23f9a2;};'use strict';var multer=require(_0x6f5b('0x0'));var util=require('util');var path=require(_0x6f5b('0x1'));var timeout=require(_0x6f5b('0x2'));var express=require(_0x6f5b('0x3'));var router=express[_0x6f5b('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x6f5b('0x5'));var config=require(_0x6f5b('0x6'));var controller=require('./memberReport.controller');router['get']('/',auth[_0x6f5b('0x7')](),controller[_0x6f5b('0x8')]);router[_0x6f5b('0x9')](_0x6f5b('0xa'),auth['isAuthenticated'](),controller[_0x6f5b('0xb')]);router[_0x6f5b('0x9')](_0x6f5b('0xc'),auth[_0x6f5b('0x7')](),controller[_0x6f5b('0xd')]);router[_0x6f5b('0xe')]('/',auth[_0x6f5b('0x7')](),controller[_0x6f5b('0xf')]);router[_0x6f5b('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x6f5b('0x11')]);router[_0x6f5b('0x12')](_0x6f5b('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x6f5b('0x13')]=router;