b1c189cd6d17864940038f51fb7daf61bd5eb843
[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 _0xe701=['create','put','update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show'];(function(_0x67104e,_0x31dab9){var _0x38beb8=function(_0x1fb1df){while(--_0x1fb1df){_0x67104e['push'](_0x67104e['shift']());}};_0x38beb8(++_0x31dab9);}(_0xe701,0x12c));var _0x1e70=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0xe701[_0xfae23b];return _0x200640;};'use strict';var multer=require(_0x1e70('0x0'));var util=require(_0x1e70('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x1e70('0x2'));var router=express[_0x1e70('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x1e70('0x4'));var interaction=require(_0x1e70('0x5'));var config=require(_0x1e70('0x6'));var controller=require(_0x1e70('0x7'));router[_0x1e70('0x8')]('/',auth['isAuthenticated'](),controller[_0x1e70('0x9')]);router[_0x1e70('0x8')](_0x1e70('0xa'),auth[_0x1e70('0xb')](),controller[_0x1e70('0xc')]);router[_0x1e70('0x8')](_0x1e70('0xd'),auth[_0x1e70('0xb')](),controller[_0x1e70('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x1e70('0xf')]);router[_0x1e70('0x10')]('/:id',auth[_0x1e70('0xb')](),controller[_0x1e70('0x11')]);router[_0x1e70('0x12')](_0x1e70('0xd'),auth[_0x1e70('0xb')](),controller[_0x1e70('0x13')]);module[_0x1e70('0x14')]=router;