Built motion from commit ffdca78c.|2.6.24
[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 _0x4bef=['put','update','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','/:id/query','query','post'];(function(_0x10fc4a,_0x58442d){var _0x45d274=function(_0x2d62fc){while(--_0x2d62fc){_0x10fc4a['push'](_0x10fc4a['shift']());}};_0x45d274(++_0x58442d);}(_0x4bef,0x179));var _0xf4be=function(_0x2ec461,_0x5f588a){_0x2ec461=_0x2ec461-0x0;var _0x28603d=_0x4bef[_0x2ec461];return _0x28603d;};'use strict';var multer=require(_0xf4be('0x0'));var util=require(_0xf4be('0x1'));var path=require('path');var timeout=require(_0xf4be('0x2'));var express=require(_0xf4be('0x3'));var router=express[_0xf4be('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf4be('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf4be('0x6'));var controller=require(_0xf4be('0x7'));router[_0xf4be('0x8')]('/',auth[_0xf4be('0x9')](),controller[_0xf4be('0xa')]);router['get'](_0xf4be('0xb'),auth['isAuthenticated'](),controller[_0xf4be('0xc')]);router[_0xf4be('0x8')](_0xf4be('0xd'),auth[_0xf4be('0x9')](),controller[_0xf4be('0xe')]);router['get'](_0xf4be('0xf'),auth[_0xf4be('0x9')](),controller['run']);router[_0xf4be('0x8')](_0xf4be('0x10'),auth[_0xf4be('0x9')](),controller[_0xf4be('0x11')]);router[_0xf4be('0x12')]('/',auth[_0xf4be('0x9')](),controller['create']);router[_0xf4be('0x13')]('/:id',auth[_0xf4be('0x9')](),controller[_0xf4be('0x14')]);router['delete'](_0xf4be('0xb'),auth[_0xf4be('0x9')](),controller['destroy']);module[_0xf4be('0x15')]=router;