Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / analyticDefaultReport / 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 _0x75fb=['update','delete','/:id','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','isAuthenticated','get','show','/:id/preview','preview','/:id/run','run','query','create','put'];(function(_0x4f98c6,_0x39e6c6){var _0x37f22b=function(_0x3b8ff9){while(--_0x3b8ff9){_0x4f98c6['push'](_0x4f98c6['shift']());}};_0x37f22b(++_0x39e6c6);}(_0x75fb,0x8e));var _0xb75f=function(_0x439a86,_0x58fe51){_0x439a86=_0x439a86-0x0;var _0x3f8f96=_0x75fb[_0x439a86];return _0x3f8f96;};'use strict';var multer=require(_0xb75f('0x0'));var util=require(_0xb75f('0x1'));var path=require('path');var timeout=require(_0xb75f('0x2'));var express=require(_0xb75f('0x3'));var router=express[_0xb75f('0x4')]();var auth=require(_0xb75f('0x5'));var interaction=require(_0xb75f('0x6'));var config=require(_0xb75f('0x7'));var controller=require(_0xb75f('0x8'));router['get']('/',auth[_0xb75f('0x9')](),controller['index']);router[_0xb75f('0xa')]('/:id',auth[_0xb75f('0x9')](),controller[_0xb75f('0xb')]);router[_0xb75f('0xa')](_0xb75f('0xc'),auth[_0xb75f('0x9')](),controller[_0xb75f('0xd')]);router[_0xb75f('0xa')](_0xb75f('0xe'),auth[_0xb75f('0x9')](),controller[_0xb75f('0xf')]);router[_0xb75f('0xa')]('/:id/query',auth[_0xb75f('0x9')](),controller[_0xb75f('0x10')]);router['post']('/',auth[_0xb75f('0x9')](),controller[_0xb75f('0x11')]);router[_0xb75f('0x12')]('/:id',auth[_0xb75f('0x9')](),controller[_0xb75f('0x13')]);router[_0xb75f('0x14')](_0xb75f('0x15'),auth[_0xb75f('0x9')](),controller[_0xb75f('0x16')]);module['exports']=router;