Built motion from commit d5e4af8c.|2.6.23
[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 _0x6b1a=['run','/:id/query','query','post','create','put','update','delete','destroy','exports','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','index','/:id','show','/:id/preview','isAuthenticated','preview','/:id/run'];(function(_0x4fa67d,_0x5aa5c3){var _0x194f8f=function(_0x3353f4){while(--_0x3353f4){_0x4fa67d['push'](_0x4fa67d['shift']());}};_0x194f8f(++_0x5aa5c3);}(_0x6b1a,0xd2));var _0xa6b1=function(_0x619cb4,_0x47efe9){_0x619cb4=_0x619cb4-0x0;var _0xff0ed4=_0x6b1a[_0x619cb4];return _0xff0ed4;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa6b1('0x0'));var timeout=require(_0xa6b1('0x1'));var express=require('express');var router=express[_0xa6b1('0x2')]();var fs_extra=require(_0xa6b1('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xa6b1('0x4'));var config=require(_0xa6b1('0x5'));var controller=require(_0xa6b1('0x6'));router[_0xa6b1('0x7')]('/',auth['isAuthenticated'](),controller[_0xa6b1('0x8')]);router[_0xa6b1('0x7')](_0xa6b1('0x9'),auth['isAuthenticated'](),controller[_0xa6b1('0xa')]);router[_0xa6b1('0x7')](_0xa6b1('0xb'),auth[_0xa6b1('0xc')](),controller[_0xa6b1('0xd')]);router[_0xa6b1('0x7')](_0xa6b1('0xe'),auth['isAuthenticated'](),controller[_0xa6b1('0xf')]);router[_0xa6b1('0x7')](_0xa6b1('0x10'),auth[_0xa6b1('0xc')](),controller[_0xa6b1('0x11')]);router[_0xa6b1('0x12')]('/',auth[_0xa6b1('0xc')](),controller[_0xa6b1('0x13')]);router[_0xa6b1('0x14')](_0xa6b1('0x9'),auth[_0xa6b1('0xc')](),controller[_0xa6b1('0x15')]);router[_0xa6b1('0x16')]('/:id',auth[_0xa6b1('0xc')](),controller[_0xa6b1('0x17')]);module[_0xa6b1('0x18')]=router;