Built motion from commit (unavailable).|2.5.18
[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 _0x307f=['describe','/:id','post','create','put','destroy','multer','util','path','connect-timeout','Router','../../components/interaction/service','./integrationReport.controller','get','isAuthenticated','index','/describe'];(function(_0x39ad00,_0x4bdd01){var _0x4dbe5a=function(_0x419cbe){while(--_0x419cbe){_0x39ad00['push'](_0x39ad00['shift']());}};_0x4dbe5a(++_0x4bdd01);}(_0x307f,0x1af));var _0xf307=function(_0xacbcc6,_0x4c1c3d){_0xacbcc6=_0xacbcc6-0x0;var _0x47ad54=_0x307f[_0xacbcc6];return _0x47ad54;};'use strict';var multer=require(_0xf307('0x0'));var util=require(_0xf307('0x1'));var path=require(_0xf307('0x2'));var timeout=require(_0xf307('0x3'));var express=require('express');var router=express[_0xf307('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xf307('0x5'));var config=require('../../config/environment');var controller=require(_0xf307('0x6'));router[_0xf307('0x7')]('/',auth[_0xf307('0x8')](),controller[_0xf307('0x9')]);router['get'](_0xf307('0xa'),auth[_0xf307('0x8')](),controller[_0xf307('0xb')]);router[_0xf307('0x7')](_0xf307('0xc'),auth[_0xf307('0x8')](),controller['show']);router[_0xf307('0xd')]('/',auth[_0xf307('0x8')](),controller[_0xf307('0xe')]);router[_0xf307('0xf')](_0xf307('0xc'),auth[_0xf307('0x8')](),controller['update']);router['delete'](_0xf307('0xc'),auth['isAuthenticated'](),controller[_0xf307('0x10')]);module['exports']=router;