7fa7b6346897c526778ce817e660594089181f45
[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 _0xc20c=['post','put','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','./memberReport.controller','get','isAuthenticated','index','describe','/:id','show'];(function(_0x5aa15a,_0x36fd2e){var _0x35e4c8=function(_0x31e939){while(--_0x31e939){_0x5aa15a['push'](_0x5aa15a['shift']());}};_0x35e4c8(++_0x36fd2e);}(_0xc20c,0x83));var _0xcc20=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0xc20c[_0x1cc8fe];return _0x230054;};'use strict';var multer=require(_0xcc20('0x0'));var util=require(_0xcc20('0x1'));var path=require(_0xcc20('0x2'));var timeout=require(_0xcc20('0x3'));var express=require(_0xcc20('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xcc20('0x5'));var config=require('../../config/environment');var controller=require(_0xcc20('0x6'));router[_0xcc20('0x7')]('/',auth[_0xcc20('0x8')](),controller[_0xcc20('0x9')]);router[_0xcc20('0x7')]('/describe',auth[_0xcc20('0x8')](),controller[_0xcc20('0xa')]);router[_0xcc20('0x7')](_0xcc20('0xb'),auth[_0xcc20('0x8')](),controller[_0xcc20('0xc')]);router[_0xcc20('0xd')]('/',auth[_0xcc20('0x8')](),controller['create']);router[_0xcc20('0xe')](_0xcc20('0xb'),auth[_0xcc20('0x8')](),controller['update']);router[_0xcc20('0xf')](_0xcc20('0xb'),auth[_0xcc20('0x8')](),controller[_0xcc20('0x10')]);module[_0xcc20('0x11')]=router;