Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / analyticCustomReport / 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 _0x143b=['multer','util','connect-timeout','express','Router','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','preview','/:id/run','run','/:id/query','query','post','create','put','update','delete','destroy','exports'];(function(_0x8c43de,_0x90ff31){var _0xa6591b=function(_0x469716){while(--_0x469716){_0x8c43de['push'](_0x8c43de['shift']());}};_0xa6591b(++_0x90ff31);}(_0x143b,0x78));var _0xb143=function(_0x33cdb4,_0x26eb1a){_0x33cdb4=_0x33cdb4-0x0;var _0x5c33e1=_0x143b[_0x33cdb4];return _0x5c33e1;};'use strict';var multer=require(_0xb143('0x0'));var util=require(_0xb143('0x1'));var path=require('path');var timeout=require(_0xb143('0x2'));var express=require(_0xb143('0x3'));var router=express[_0xb143('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb143('0x5'));var controller=require(_0xb143('0x6'));router[_0xb143('0x7')]('/',auth[_0xb143('0x8')](),controller[_0xb143('0x9')]);router[_0xb143('0x7')](_0xb143('0xa'),auth[_0xb143('0x8')](),controller[_0xb143('0xb')]);router[_0xb143('0x7')]('/:id/preview',auth['isAuthenticated'](),controller[_0xb143('0xc')]);router[_0xb143('0x7')](_0xb143('0xd'),auth['isAuthenticated'](),controller[_0xb143('0xe')]);router[_0xb143('0x7')](_0xb143('0xf'),auth[_0xb143('0x8')](),controller[_0xb143('0x10')]);router[_0xb143('0x11')]('/',auth[_0xb143('0x8')](),controller[_0xb143('0x12')]);router[_0xb143('0x13')]('/:id',auth[_0xb143('0x8')](),controller[_0xb143('0x14')]);router[_0xb143('0x15')](_0xb143('0xa'),auth['isAuthenticated'](),controller[_0xb143('0x16')]);module[_0xb143('0x17')]=router;