98c4219b9d6287df80190bdda538b162f5e21b49
[motion2.git] / server / api / integrationReport / 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 _0x1dd5=['isAuthenticated','index','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service','get'];(function(_0x21bb06,_0x2ffccf){var _0x171a68=function(_0x2720fc){while(--_0x2720fc){_0x21bb06['push'](_0x21bb06['shift']());}};_0x171a68(++_0x2ffccf);}(_0x1dd5,0x1bc));var _0x51dd=function(_0x4c58f6,_0x1985e9){_0x4c58f6=_0x4c58f6-0x0;var _0x170875=_0x1dd5[_0x4c58f6];return _0x170875;};'use strict';var multer=require(_0x51dd('0x0'));var util=require(_0x51dd('0x1'));var path=require(_0x51dd('0x2'));var timeout=require('connect-timeout');var express=require(_0x51dd('0x3'));var router=express['Router']();var auth=require(_0x51dd('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./integrationReport.controller');router[_0x51dd('0x5')]('/',auth[_0x51dd('0x6')](),controller[_0x51dd('0x7')]);router[_0x51dd('0x5')]('/describe',auth[_0x51dd('0x6')](),controller[_0x51dd('0x8')]);router[_0x51dd('0x5')](_0x51dd('0x9'),auth[_0x51dd('0x6')](),controller[_0x51dd('0xa')]);router[_0x51dd('0xb')]('/',auth['isAuthenticated'](),controller[_0x51dd('0xc')]);router[_0x51dd('0xd')](_0x51dd('0x9'),auth[_0x51dd('0x6')](),controller[_0x51dd('0xe')]);router[_0x51dd('0xf')](_0x51dd('0x9'),auth[_0x51dd('0x6')](),controller[_0x51dd('0x10')]);module[_0x51dd('0x11')]=router;