Built motion from commit (unavailable).|2.5.31
[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 _0x78f4=['util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./memberReport.controller','isAuthenticated','index','/describe','get','show','post','/:id','update','delete','destroy','exports'];(function(_0x403ca4,_0x459190){var _0x4a5338=function(_0x36f393){while(--_0x36f393){_0x403ca4['push'](_0x403ca4['shift']());}};_0x4a5338(++_0x459190);}(_0x78f4,0x1c8));var _0x478f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x78f4[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0x478f('0x0'));var path=require(_0x478f('0x1'));var timeout=require(_0x478f('0x2'));var express=require(_0x478f('0x3'));var router=express['Router']();var fs_extra=require(_0x478f('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x478f('0x5'));var config=require(_0x478f('0x6'));var controller=require(_0x478f('0x7'));router['get']('/',auth[_0x478f('0x8')](),controller[_0x478f('0x9')]);router['get'](_0x478f('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x478f('0xb')]('/:id',auth[_0x478f('0x8')](),controller[_0x478f('0xc')]);router[_0x478f('0xd')]('/',auth[_0x478f('0x8')](),controller['create']);router['put'](_0x478f('0xe'),auth[_0x478f('0x8')](),controller[_0x478f('0xf')]);router[_0x478f('0x10')](_0x478f('0xe'),auth[_0x478f('0x8')](),controller[_0x478f('0x11')]);module[_0x478f('0x12')]=router;