Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / analyticTreeReport / 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 _0x17f8=['get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x16b9ed,_0x56517a){var _0x66b1f8=function(_0x1c883){while(--_0x1c883){_0x16b9ed['push'](_0x16b9ed['shift']());}};_0x66b1f8(++_0x56517a);}(_0x17f8,0x1cd));var _0x817f=function(_0x2d78a4,_0x362f5){_0x2d78a4=_0x2d78a4-0x0;var _0x38d29a=_0x17f8[_0x2d78a4];return _0x38d29a;};'use strict';var multer=require(_0x817f('0x0'));var util=require(_0x817f('0x1'));var path=require(_0x817f('0x2'));var timeout=require(_0x817f('0x3'));var express=require(_0x817f('0x4'));var router=express[_0x817f('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x817f('0x6'));var config=require('../../config/environment');var controller=require('./analyticTreeReport.controller');router[_0x817f('0x7')]('/',auth[_0x817f('0x8')](),controller[_0x817f('0x9')]);router[_0x817f('0x7')](_0x817f('0xa'),auth[_0x817f('0x8')](),controller[_0x817f('0xb')]);router['post']('/',auth[_0x817f('0x8')](),controller[_0x817f('0xc')]);router[_0x817f('0xd')](_0x817f('0xa'),auth[_0x817f('0x8')](),controller[_0x817f('0xe')]);router[_0x817f('0xf')](_0x817f('0xa'),auth['isAuthenticated'](),controller[_0x817f('0x10')]);module[_0x817f('0x11')]=router;