Built motion from commit 97153652.|2.6.26
[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 _0xa1b9=['./memberReport.controller','get','isAuthenticated','index','/describe','show','post','put','delete','/:id','destroy','util','path','connect-timeout','express'];(function(_0x1e41ba,_0x455a21){var _0x201d61=function(_0x4c1ba2){while(--_0x4c1ba2){_0x1e41ba['push'](_0x1e41ba['shift']());}};_0x201d61(++_0x455a21);}(_0xa1b9,0xdd));var _0x9a1b=function(_0x2763f2,_0x416af8){_0x2763f2=_0x2763f2-0x0;var _0x3ef471=_0xa1b9[_0x2763f2];return _0x3ef471;};'use strict';var multer=require('multer');var util=require(_0x9a1b('0x0'));var path=require(_0x9a1b('0x1'));var timeout=require(_0x9a1b('0x2'));var express=require(_0x9a1b('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x9a1b('0x4'));router[_0x9a1b('0x5')]('/',auth[_0x9a1b('0x6')](),controller[_0x9a1b('0x7')]);router[_0x9a1b('0x5')](_0x9a1b('0x8'),auth[_0x9a1b('0x6')](),controller['describe']);router[_0x9a1b('0x5')]('/:id',auth[_0x9a1b('0x6')](),controller[_0x9a1b('0x9')]);router[_0x9a1b('0xa')]('/',auth['isAuthenticated'](),controller['create']);router[_0x9a1b('0xb')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x9a1b('0xc')](_0x9a1b('0xd'),auth[_0x9a1b('0x6')](),controller[_0x9a1b('0xe')]);module['exports']=router;