b045b15fe4c9469771d3f18a8ec7e1683f9ceb07
[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 _0x9e43=['../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','put','update','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x5679b8,_0x129b77){var _0x3f4434=function(_0x2831ff){while(--_0x2831ff){_0x5679b8['push'](_0x5679b8['shift']());}};_0x3f4434(++_0x129b77);}(_0x9e43,0x8a));var _0x39e4=function(_0x138676,_0x27a8d5){_0x138676=_0x138676-0x0;var _0xf72f74=_0x9e43[_0x138676];return _0xf72f74;};'use strict';var multer=require(_0x39e4('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x39e4('0x1'));var express=require(_0x39e4('0x2'));var router=express[_0x39e4('0x3')]();var fs_extra=require(_0x39e4('0x4'));var auth=require(_0x39e4('0x5'));var interaction=require(_0x39e4('0x6'));var config=require(_0x39e4('0x7'));var controller=require('./memberReport.controller');router[_0x39e4('0x8')]('/',auth[_0x39e4('0x9')](),controller[_0x39e4('0xa')]);router[_0x39e4('0x8')]('/describe',auth[_0x39e4('0x9')](),controller['describe']);router[_0x39e4('0x8')](_0x39e4('0xb'),auth['isAuthenticated'](),controller[_0x39e4('0xc')]);router[_0x39e4('0xd')]('/',auth[_0x39e4('0x9')](),controller[_0x39e4('0xe')]);router[_0x39e4('0xf')](_0x39e4('0xb'),auth[_0x39e4('0x9')](),controller[_0x39e4('0x10')]);router['delete'](_0x39e4('0xb'),auth[_0x39e4('0x9')](),controller['destroy']);module[_0x39e4('0x11')]=router;