Built motion from commit 0900f080.|2.5.45
[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 _0xa8ba=['/describe','describe','show','post','put','/:id','update','delete','exports','multer','path','connect-timeout','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','index'];(function(_0x3ddf1e,_0x2c8459){var _0x3396a3=function(_0x441283){while(--_0x441283){_0x3ddf1e['push'](_0x3ddf1e['shift']());}};_0x3396a3(++_0x2c8459);}(_0xa8ba,0xab));var _0xaa8b=function(_0x44e9fe,_0x3b1b15){_0x44e9fe=_0x44e9fe-0x0;var _0x10b28c=_0xa8ba[_0x44e9fe];return _0x10b28c;};'use strict';var multer=require(_0xaa8b('0x0'));var util=require('util');var path=require(_0xaa8b('0x1'));var timeout=require(_0xaa8b('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xaa8b('0x3'));var config=require(_0xaa8b('0x4'));var controller=require(_0xaa8b('0x5'));router[_0xaa8b('0x6')]('/',auth[_0xaa8b('0x7')](),controller[_0xaa8b('0x8')]);router[_0xaa8b('0x6')](_0xaa8b('0x9'),auth[_0xaa8b('0x7')](),controller[_0xaa8b('0xa')]);router[_0xaa8b('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xaa8b('0xb')]);router[_0xaa8b('0xc')]('/',auth[_0xaa8b('0x7')](),controller['create']);router[_0xaa8b('0xd')](_0xaa8b('0xe'),auth[_0xaa8b('0x7')](),controller[_0xaa8b('0xf')]);router[_0xaa8b('0x10')](_0xaa8b('0xe'),auth[_0xaa8b('0x7')](),controller['destroy']);module[_0xaa8b('0x11')]=router;