Built motion from commit (unavailable).|2.5.9
[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 _0x744b=['/:id','post','create','put','update','delete','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./integrationReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x56916d,_0x37b935){var _0x2b7f1f=function(_0x206eb1){while(--_0x206eb1){_0x56916d['push'](_0x56916d['shift']());}};_0x2b7f1f(++_0x37b935);}(_0x744b,0x123));var _0xb744=function(_0x9c623b,_0x3008cb){_0x9c623b=_0x9c623b-0x0;var _0x176a42=_0x744b[_0x9c623b];return _0x176a42;};'use strict';var multer=require(_0xb744('0x0'));var util=require(_0xb744('0x1'));var path=require('path');var timeout=require(_0xb744('0x2'));var express=require(_0xb744('0x3'));var router=express[_0xb744('0x4')]();var auth=require(_0xb744('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb744('0x6'));var controller=require(_0xb744('0x7'));router[_0xb744('0x8')]('/',auth[_0xb744('0x9')](),controller[_0xb744('0xa')]);router[_0xb744('0x8')](_0xb744('0xb'),auth[_0xb744('0x9')](),controller[_0xb744('0xc')]);router[_0xb744('0x8')](_0xb744('0xd'),auth[_0xb744('0x9')](),controller['show']);router[_0xb744('0xe')]('/',auth[_0xb744('0x9')](),controller[_0xb744('0xf')]);router[_0xb744('0x10')](_0xb744('0xd'),auth[_0xb744('0x9')](),controller[_0xb744('0x11')]);router[_0xb744('0x12')](_0xb744('0xd'),auth[_0xb744('0x9')](),controller['destroy']);module['exports']=router;