Built motion from commit (unavailable).|2.5.1
[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 _0x1f31=['update','delete','destroy','exports','connect-timeout','../../components/interaction/service','../../config/environment','./integrationReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put'];(function(_0x56c672,_0x17fae1){var _0x5cf583=function(_0xf94f2a){while(--_0xf94f2a){_0x56c672['push'](_0x56c672['shift']());}};_0x5cf583(++_0x17fae1);}(_0x1f31,0xca));var _0x11f3=function(_0x233716,_0x346676){_0x233716=_0x233716-0x0;var _0x302298=_0x1f31[_0x233716];return _0x302298;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x11f3('0x0'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x11f3('0x1'));var config=require(_0x11f3('0x2'));var controller=require(_0x11f3('0x3'));router[_0x11f3('0x4')]('/',auth['isAuthenticated'](),controller[_0x11f3('0x5')]);router[_0x11f3('0x4')](_0x11f3('0x6'),auth[_0x11f3('0x7')](),controller[_0x11f3('0x8')]);router[_0x11f3('0x4')](_0x11f3('0x9'),auth[_0x11f3('0x7')](),controller[_0x11f3('0xa')]);router[_0x11f3('0xb')]('/',auth[_0x11f3('0x7')](),controller[_0x11f3('0xc')]);router[_0x11f3('0xd')](_0x11f3('0x9'),auth['isAuthenticated'](),controller[_0x11f3('0xe')]);router[_0x11f3('0xf')](_0x11f3('0x9'),auth['isAuthenticated'](),controller[_0x11f3('0x10')]);module[_0x11f3('0x11')]=router;