Built motion from commit fe909640.|2.6.8
[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 _0xb7aa=['isAuthenticated','describe','/:id','show','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','./memberReport.controller','get','index','/describe'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xb7aa,0x16a));var _0xab7a=function(_0x5e2b71,_0x32882f){_0x5e2b71=_0x5e2b71-0x0;var _0x4ba620=_0xb7aa[_0x5e2b71];return _0x4ba620;};'use strict';var multer=require(_0xab7a('0x0'));var util=require(_0xab7a('0x1'));var path=require(_0xab7a('0x2'));var timeout=require(_0xab7a('0x3'));var express=require(_0xab7a('0x4'));var router=express[_0xab7a('0x5')]();var fs_extra=require(_0xab7a('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xab7a('0x7'));var controller=require(_0xab7a('0x8'));router[_0xab7a('0x9')]('/',auth['isAuthenticated'](),controller[_0xab7a('0xa')]);router[_0xab7a('0x9')](_0xab7a('0xb'),auth[_0xab7a('0xc')](),controller[_0xab7a('0xd')]);router[_0xab7a('0x9')](_0xab7a('0xe'),auth[_0xab7a('0xc')](),controller[_0xab7a('0xf')]);router[_0xab7a('0x10')]('/',auth[_0xab7a('0xc')](),controller[_0xab7a('0x11')]);router[_0xab7a('0x12')](_0xab7a('0xe'),auth['isAuthenticated'](),controller[_0xab7a('0x13')]);router[_0xab7a('0x14')](_0xab7a('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0xab7a('0x15')]=router;