Built motion from commit (unavailable).|2.5.14
[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 _0x848a=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./integrationReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','delete','destroy','exports','multer','path'];(function(_0x1cd1b7,_0x1f68f7){var _0x15ef49=function(_0x308693){while(--_0x308693){_0x1cd1b7['push'](_0x1cd1b7['shift']());}};_0x15ef49(++_0x1f68f7);}(_0x848a,0x1b6));var _0xa848=function(_0x26b80e,_0x5c9333){_0x26b80e=_0x26b80e-0x0;var _0x84a8a8=_0x848a[_0x26b80e];return _0x84a8a8;};'use strict';var multer=require(_0xa848('0x0'));var util=require('util');var path=require(_0xa848('0x1'));var timeout=require(_0xa848('0x2'));var express=require(_0xa848('0x3'));var router=express[_0xa848('0x4')]();var auth=require(_0xa848('0x5'));var interaction=require(_0xa848('0x6'));var config=require('../../config/environment');var controller=require(_0xa848('0x7'));router[_0xa848('0x8')]('/',auth[_0xa848('0x9')](),controller[_0xa848('0xa')]);router[_0xa848('0x8')](_0xa848('0xb'),auth[_0xa848('0x9')](),controller[_0xa848('0xc')]);router[_0xa848('0x8')](_0xa848('0xd'),auth[_0xa848('0x9')](),controller[_0xa848('0xe')]);router[_0xa848('0xf')]('/',auth['isAuthenticated'](),controller[_0xa848('0x10')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0xa848('0x11')](_0xa848('0xd'),auth[_0xa848('0x9')](),controller[_0xa848('0x12')]);module[_0xa848('0x13')]=router;