Built motion from commit 14588770.|2.5.38
[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 _0xc13c=['delete','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','isAuthenticated','get','/describe','/:id','show','create'];(function(_0x68f77e,_0x43442e){var _0x59f8d4=function(_0x39d4e0){while(--_0x39d4e0){_0x68f77e['push'](_0x68f77e['shift']());}};_0x59f8d4(++_0x43442e);}(_0xc13c,0x19a));var _0xcc13=function(_0x3c3930,_0x56f942){_0x3c3930=_0x3c3930-0x0;var _0x2fc3d1=_0xc13c[_0x3c3930];return _0x2fc3d1;};'use strict';var multer=require(_0xcc13('0x0'));var util=require('util');var path=require(_0xcc13('0x1'));var timeout=require(_0xcc13('0x2'));var express=require('express');var router=express[_0xcc13('0x3')]();var fs_extra=require(_0xcc13('0x4'));var auth=require(_0xcc13('0x5'));var interaction=require(_0xcc13('0x6'));var config=require(_0xcc13('0x7'));var controller=require(_0xcc13('0x8'));router['get']('/',auth[_0xcc13('0x9')](),controller['index']);router[_0xcc13('0xa')](_0xcc13('0xb'),auth[_0xcc13('0x9')](),controller['describe']);router['get'](_0xcc13('0xc'),auth[_0xcc13('0x9')](),controller[_0xcc13('0xd')]);router['post']('/',auth[_0xcc13('0x9')](),controller[_0xcc13('0xe')]);router['put'](_0xcc13('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xcc13('0xf')](_0xcc13('0xc'),auth[_0xcc13('0x9')](),controller['destroy']);module[_0xcc13('0x10')]=router;