8ebf39c60e4a150e22be1609d44ba4a26c18e622
[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 _0x37ed=['exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','isAuthenticated','get','/:id','show','post','create','put','delete','destroy'];(function(_0x312b19,_0xe6aa09){var _0x3c7236=function(_0x3b6ebe){while(--_0x3b6ebe){_0x312b19['push'](_0x312b19['shift']());}};_0x3c7236(++_0xe6aa09);}(_0x37ed,0x121));var _0xd37e=function(_0x5103d4,_0x5a217b){_0x5103d4=_0x5103d4-0x0;var _0x3def1a=_0x37ed[_0x5103d4];return _0x3def1a;};'use strict';var multer=require(_0xd37e('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xd37e('0x1'));var express=require('express');var router=express[_0xd37e('0x2')]();var fs_extra=require(_0xd37e('0x3'));var auth=require(_0xd37e('0x4'));var interaction=require(_0xd37e('0x5'));var config=require(_0xd37e('0x6'));var controller=require(_0xd37e('0x7'));router['get']('/',auth[_0xd37e('0x8')](),controller['index']);router[_0xd37e('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xd37e('0x9')](_0xd37e('0xa'),auth[_0xd37e('0x8')](),controller[_0xd37e('0xb')]);router[_0xd37e('0xc')]('/',auth[_0xd37e('0x8')](),controller[_0xd37e('0xd')]);router[_0xd37e('0xe')](_0xd37e('0xa'),auth[_0xd37e('0x8')](),controller['update']);router[_0xd37e('0xf')]('/:id',auth[_0xd37e('0x8')](),controller[_0xd37e('0x10')]);module[_0xd37e('0x11')]=router;