Built motion from commit (unavailable).|2.5.25
[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 _0xc28e=['get','isAuthenticated','index','/describe','describe','show','put','/:id','update','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./memberReport.controller'];(function(_0x42bc91,_0x41f40a){var _0x3f5507=function(_0x20cfaf){while(--_0x20cfaf){_0x42bc91['push'](_0x42bc91['shift']());}};_0x3f5507(++_0x41f40a);}(_0xc28e,0xa3));var _0xec28=function(_0x4dbaad,_0x730318){_0x4dbaad=_0x4dbaad-0x0;var _0x226c72=_0xc28e[_0x4dbaad];return _0x226c72;};'use strict';var multer=require('multer');var util=require(_0xec28('0x0'));var path=require(_0xec28('0x1'));var timeout=require(_0xec28('0x2'));var express=require(_0xec28('0x3'));var router=express[_0xec28('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xec28('0x5'));var config=require(_0xec28('0x6'));var controller=require(_0xec28('0x7'));router[_0xec28('0x8')]('/',auth[_0xec28('0x9')](),controller[_0xec28('0xa')]);router[_0xec28('0x8')](_0xec28('0xb'),auth[_0xec28('0x9')](),controller[_0xec28('0xc')]);router['get']('/:id',auth[_0xec28('0x9')](),controller[_0xec28('0xd')]);router['post']('/',auth[_0xec28('0x9')](),controller['create']);router[_0xec28('0xe')](_0xec28('0xf'),auth[_0xec28('0x9')](),controller[_0xec28('0x10')]);router['delete']('/:id',auth[_0xec28('0x9')](),controller[_0xec28('0x11')]);module[_0xec28('0x12')]=router;