Built motion from commit (unavailable).|2.5.26
[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 _0x1f2b=['util','path','Router','../../components/interaction/service','./memberReport.controller','get','isAuthenticated','index','describe','/:id','show','post','put','delete','destroy','exports','multer'];(function(_0x381589,_0x27a707){var _0x2a075d=function(_0x4ea19d){while(--_0x4ea19d){_0x381589['push'](_0x381589['shift']());}};_0x2a075d(++_0x27a707);}(_0x1f2b,0x76));var _0xb1f2=function(_0xa3be34,_0x2e4d1c){_0xa3be34=_0xa3be34-0x0;var _0x1a3b05=_0x1f2b[_0xa3be34];return _0x1a3b05;};'use strict';var multer=require(_0xb1f2('0x0'));var util=require(_0xb1f2('0x1'));var path=require(_0xb1f2('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb1f2('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xb1f2('0x4'));var config=require('../../config/environment');var controller=require(_0xb1f2('0x5'));router[_0xb1f2('0x6')]('/',auth[_0xb1f2('0x7')](),controller[_0xb1f2('0x8')]);router[_0xb1f2('0x6')]('/describe',auth[_0xb1f2('0x7')](),controller[_0xb1f2('0x9')]);router['get'](_0xb1f2('0xa'),auth['isAuthenticated'](),controller[_0xb1f2('0xb')]);router[_0xb1f2('0xc')]('/',auth[_0xb1f2('0x7')](),controller['create']);router[_0xb1f2('0xd')](_0xb1f2('0xa'),auth[_0xb1f2('0x7')](),controller['update']);router[_0xb1f2('0xe')]('/:id',auth[_0xb1f2('0x7')](),controller[_0xb1f2('0xf')]);module[_0xb1f2('0x10')]=router;