536e3fd7b551b6be0d7261f4acad27a221ea7c13
[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 _0x1aa7=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','isAuthenticated','index','get','/describe','/:id','show','post','put','update','delete','exports','multer','path'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x1aa7,0x1c6));var _0x71aa=function(_0xdb4dd4,_0x22ee01){_0xdb4dd4=_0xdb4dd4-0x0;var _0x420a86=_0x1aa7[_0xdb4dd4];return _0x420a86;};'use strict';var multer=require(_0x71aa('0x0'));var util=require('util');var path=require(_0x71aa('0x1'));var timeout=require('connect-timeout');var express=require(_0x71aa('0x2'));var router=express[_0x71aa('0x3')]();var auth=require(_0x71aa('0x4'));var interaction=require(_0x71aa('0x5'));var config=require(_0x71aa('0x6'));var controller=require(_0x71aa('0x7'));router['get']('/',auth[_0x71aa('0x8')](),controller[_0x71aa('0x9')]);router[_0x71aa('0xa')](_0x71aa('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x71aa('0xa')](_0x71aa('0xc'),auth[_0x71aa('0x8')](),controller[_0x71aa('0xd')]);router[_0x71aa('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x71aa('0xf')](_0x71aa('0xc'),auth[_0x71aa('0x8')](),controller[_0x71aa('0x10')]);router[_0x71aa('0x11')](_0x71aa('0xc'),auth[_0x71aa('0x8')](),controller['destroy']);module[_0x71aa('0x12')]=router;