Built motion from commit 1fa89557.|2.6.10
[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 _0x6f0b=['destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','/describe','describe','/:id','isAuthenticated','show','post','create','put','update','delete'];(function(_0x2e237f,_0x4501d0){var _0xadba9a=function(_0x4f2ce4){while(--_0x4f2ce4){_0x2e237f['push'](_0x2e237f['shift']());}};_0xadba9a(++_0x4501d0);}(_0x6f0b,0x1e6));var _0xb6f0=function(_0x187995,_0x17334b){_0x187995=_0x187995-0x0;var _0x28c997=_0x6f0b[_0x187995];return _0x28c997;};'use strict';var multer=require(_0xb6f0('0x0'));var util=require(_0xb6f0('0x1'));var path=require(_0xb6f0('0x2'));var timeout=require(_0xb6f0('0x3'));var express=require('express');var router=express[_0xb6f0('0x4')]();var fs_extra=require(_0xb6f0('0x5'));var auth=require(_0xb6f0('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xb6f0('0x7'));var controller=require('./memberReport.controller');router[_0xb6f0('0x8')]('/',auth['isAuthenticated'](),controller[_0xb6f0('0x9')]);router[_0xb6f0('0x8')](_0xb6f0('0xa'),auth['isAuthenticated'](),controller[_0xb6f0('0xb')]);router['get'](_0xb6f0('0xc'),auth[_0xb6f0('0xd')](),controller[_0xb6f0('0xe')]);router[_0xb6f0('0xf')]('/',auth[_0xb6f0('0xd')](),controller[_0xb6f0('0x10')]);router[_0xb6f0('0x11')](_0xb6f0('0xc'),auth[_0xb6f0('0xd')](),controller[_0xb6f0('0x12')]);router[_0xb6f0('0x13')]('/:id',auth[_0xb6f0('0xd')](),controller[_0xb6f0('0x14')]);module[_0xb6f0('0x15')]=router;