Built motion from commit 52c8a02d.|2.6.29
[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 _0x8a67=['Router','fs-extra','../../components/interaction/service','../../config/environment','./memberReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','update','destroy','multer','path','connect-timeout','express'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x8a67,0x9e));var _0x78a6=function(_0x1183e0,_0x280610){_0x1183e0=_0x1183e0-0x0;var _0x38a525=_0x8a67[_0x1183e0];return _0x38a525;};'use strict';var multer=require(_0x78a6('0x0'));var util=require('util');var path=require(_0x78a6('0x1'));var timeout=require(_0x78a6('0x2'));var express=require(_0x78a6('0x3'));var router=express[_0x78a6('0x4')]();var fs_extra=require(_0x78a6('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x78a6('0x6'));var config=require(_0x78a6('0x7'));var controller=require(_0x78a6('0x8'));router[_0x78a6('0x9')]('/',auth['isAuthenticated'](),controller[_0x78a6('0xa')]);router[_0x78a6('0x9')](_0x78a6('0xb'),auth[_0x78a6('0xc')](),controller[_0x78a6('0xd')]);router[_0x78a6('0x9')](_0x78a6('0xe'),auth[_0x78a6('0xc')](),controller[_0x78a6('0xf')]);router['post']('/',auth[_0x78a6('0xc')](),controller['create']);router['put'](_0x78a6('0xe'),auth[_0x78a6('0xc')](),controller[_0x78a6('0x10')]);router['delete'](_0x78a6('0xe'),auth[_0x78a6('0xc')](),controller[_0x78a6('0x11')]);module['exports']=router;