Built motion from commit (unavailable).|2.5.1
[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 _0xaa92=['util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','exports','multer'];(function(_0x254b18,_0xdaf185){var _0x596438=function(_0x1ba07a){while(--_0x1ba07a){_0x254b18['push'](_0x254b18['shift']());}};_0x596438(++_0xdaf185);}(_0xaa92,0xef));var _0x2aa9=function(_0x1c470d,_0x81d66b){_0x1c470d=_0x1c470d-0x0;var _0x12141b=_0xaa92[_0x1c470d];return _0x12141b;};'use strict';var multer=require(_0x2aa9('0x0'));var util=require(_0x2aa9('0x1'));var path=require(_0x2aa9('0x2'));var timeout=require(_0x2aa9('0x3'));var express=require('express');var router=express[_0x2aa9('0x4')]();var auth=require(_0x2aa9('0x5'));var interaction=require(_0x2aa9('0x6'));var config=require('../../config/environment');var controller=require('./memberReport.controller');router[_0x2aa9('0x7')]('/',auth[_0x2aa9('0x8')](),controller[_0x2aa9('0x9')]);router[_0x2aa9('0x7')](_0x2aa9('0xa'),auth[_0x2aa9('0x8')](),controller[_0x2aa9('0xb')]);router[_0x2aa9('0x7')](_0x2aa9('0xc'),auth[_0x2aa9('0x8')](),controller[_0x2aa9('0xd')]);router[_0x2aa9('0xe')]('/',auth[_0x2aa9('0x8')](),controller[_0x2aa9('0xf')]);router[_0x2aa9('0x10')](_0x2aa9('0xc'),auth[_0x2aa9('0x8')](),controller[_0x2aa9('0x11')]);router[_0x2aa9('0x12')](_0x2aa9('0xc'),auth[_0x2aa9('0x8')](),controller['destroy']);module[_0x2aa9('0x13')]=router;