Built motion from commit 9d0783e6.|2.6.13
[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 _0x3254=['create','put','update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x2e9f00,_0x5bb3f8){var _0x1c9f52=function(_0x19f523){while(--_0x19f523){_0x2e9f00['push'](_0x2e9f00['shift']());}};_0x1c9f52(++_0x5bb3f8);}(_0x3254,0x79));var _0x4325=function(_0x20f7d9,_0x4d424e){_0x20f7d9=_0x20f7d9-0x0;var _0x3ad64b=_0x3254[_0x20f7d9];return _0x3ad64b;};'use strict';var multer=require(_0x4325('0x0'));var util=require(_0x4325('0x1'));var path=require(_0x4325('0x2'));var timeout=require('connect-timeout');var express=require(_0x4325('0x3'));var router=express[_0x4325('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x4325('0x5'));var interaction=require(_0x4325('0x6'));var config=require(_0x4325('0x7'));var controller=require(_0x4325('0x8'));router[_0x4325('0x9')]('/',auth[_0x4325('0xa')](),controller[_0x4325('0xb')]);router[_0x4325('0x9')](_0x4325('0xc'),auth[_0x4325('0xa')](),controller[_0x4325('0xd')]);router[_0x4325('0x9')](_0x4325('0xe'),auth[_0x4325('0xa')](),controller[_0x4325('0xf')]);router[_0x4325('0x10')]('/',auth[_0x4325('0xa')](),controller[_0x4325('0x11')]);router[_0x4325('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x4325('0x13')]);router[_0x4325('0x14')](_0x4325('0xe'),auth[_0x4325('0xa')](),controller[_0x4325('0x15')]);module[_0x4325('0x16')]=router;