Built motion from commit 3e059bc2.|2.5.32
[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 _0x1a52=['isAuthenticated','index','/describe','/:id','show','create','update','delete','exports','multer','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get'];(function(_0x9148de,_0x2cb90c){var _0x1094c3=function(_0x59ba0a){while(--_0x59ba0a){_0x9148de['push'](_0x9148de['shift']());}};_0x1094c3(++_0x2cb90c);}(_0x1a52,0x75));var _0x21a5=function(_0x2418bd,_0x47b01b){_0x2418bd=_0x2418bd-0x0;var _0x1cc3d8=_0x1a52[_0x2418bd];return _0x1cc3d8;};'use strict';var multer=require(_0x21a5('0x0'));var util=require(_0x21a5('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x21a5('0x2')]();var fs_extra=require(_0x21a5('0x3'));var auth=require(_0x21a5('0x4'));var interaction=require(_0x21a5('0x5'));var config=require(_0x21a5('0x6'));var controller=require(_0x21a5('0x7'));router[_0x21a5('0x8')]('/',auth[_0x21a5('0x9')](),controller[_0x21a5('0xa')]);router[_0x21a5('0x8')](_0x21a5('0xb'),auth[_0x21a5('0x9')](),controller['describe']);router[_0x21a5('0x8')](_0x21a5('0xc'),auth[_0x21a5('0x9')](),controller[_0x21a5('0xd')]);router['post']('/',auth[_0x21a5('0x9')](),controller[_0x21a5('0xe')]);router['put'](_0x21a5('0xc'),auth[_0x21a5('0x9')](),controller[_0x21a5('0xf')]);router[_0x21a5('0x10')](_0x21a5('0xc'),auth[_0x21a5('0x9')](),controller['destroy']);module[_0x21a5('0x11')]=router;