Built motion from commit (unavailable).|2.5.26
[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 _0xbc36=['exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','isAuthenticated','index','/:id','show','/:id/preview','preview','get','run','/:id/query','query','post','create','update'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xbc36,0x169));var _0x6bc3=function(_0xa153b1,_0x3fe7ed){_0xa153b1=_0xa153b1-0x0;var _0x60cfb=_0xbc36[_0xa153b1];return _0x60cfb;};'use strict';var multer=require(_0x6bc3('0x0'));var util=require('util');var path=require(_0x6bc3('0x1'));var timeout=require(_0x6bc3('0x2'));var express=require(_0x6bc3('0x3'));var router=express[_0x6bc3('0x4')]();var fs_extra=require(_0x6bc3('0x5'));var auth=require(_0x6bc3('0x6'));var interaction=require(_0x6bc3('0x7'));var config=require(_0x6bc3('0x8'));var controller=require(_0x6bc3('0x9'));router['get']('/',auth[_0x6bc3('0xa')](),controller[_0x6bc3('0xb')]);router['get'](_0x6bc3('0xc'),auth[_0x6bc3('0xa')](),controller[_0x6bc3('0xd')]);router['get'](_0x6bc3('0xe'),auth[_0x6bc3('0xa')](),controller[_0x6bc3('0xf')]);router[_0x6bc3('0x10')]('/:id/run',auth[_0x6bc3('0xa')](),controller[_0x6bc3('0x11')]);router[_0x6bc3('0x10')](_0x6bc3('0x12'),auth[_0x6bc3('0xa')](),controller[_0x6bc3('0x13')]);router[_0x6bc3('0x14')]('/',auth[_0x6bc3('0xa')](),controller[_0x6bc3('0x15')]);router['put'](_0x6bc3('0xc'),auth['isAuthenticated'](),controller[_0x6bc3('0x16')]);router['delete'](_0x6bc3('0xc'),auth[_0x6bc3('0xa')](),controller['destroy']);module[_0x6bc3('0x17')]=router;