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