Built motion from commit (unavailable).|2.4.12
[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 _0xfe55=['../../config/environment','./memberReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','create','put','destroy','exports','util','path','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x4a2995,_0x3644c9){var _0x5141dd=function(_0x30dcfc){while(--_0x30dcfc){_0x4a2995['push'](_0x4a2995['shift']());}};_0x5141dd(++_0x3644c9);}(_0xfe55,0x9d));var _0x5fe5=function(_0x36bff5,_0x3156cb){_0x36bff5=_0x36bff5-0x0;var _0x80ade5=_0xfe55[_0x36bff5];return _0x80ade5;};'use strict';var multer=require('multer');var util=require(_0x5fe5('0x0'));var path=require(_0x5fe5('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x5fe5('0x2')]();var auth=require(_0x5fe5('0x3'));var interaction=require(_0x5fe5('0x4'));var config=require(_0x5fe5('0x5'));var controller=require(_0x5fe5('0x6'));router[_0x5fe5('0x7')]('/',auth['isAuthenticated'](),controller[_0x5fe5('0x8')]);router[_0x5fe5('0x7')](_0x5fe5('0x9'),auth[_0x5fe5('0xa')](),controller[_0x5fe5('0xb')]);router[_0x5fe5('0x7')](_0x5fe5('0xc'),auth[_0x5fe5('0xa')](),controller[_0x5fe5('0xd')]);router['post']('/',auth[_0x5fe5('0xa')](),controller[_0x5fe5('0xe')]);router[_0x5fe5('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);router['delete'](_0x5fe5('0xc'),auth[_0x5fe5('0xa')](),controller[_0x5fe5('0x10')]);module[_0x5fe5('0x11')]=router;