19ef993559b993f2b1792f63b4c23f43f2fa9678
[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 _0xe495=['post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./integrationReport.controller','get','isAuthenticated','index','/describe','/:id'];(function(_0x561771,_0x554760){var _0x54d16e=function(_0x381c1f){while(--_0x381c1f){_0x561771['push'](_0x561771['shift']());}};_0x54d16e(++_0x554760);}(_0xe495,0xfe));var _0x5e49=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0xe495[_0x4792c8];return _0x35edb1;};'use strict';var multer=require(_0x5e49('0x0'));var util=require('util');var path=require(_0x5e49('0x1'));var timeout=require(_0x5e49('0x2'));var express=require('express');var router=express[_0x5e49('0x3')]();var auth=require(_0x5e49('0x4'));var interaction=require(_0x5e49('0x5'));var config=require('../../config/environment');var controller=require(_0x5e49('0x6'));router[_0x5e49('0x7')]('/',auth[_0x5e49('0x8')](),controller[_0x5e49('0x9')]);router[_0x5e49('0x7')](_0x5e49('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x5e49('0x7')](_0x5e49('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x5e49('0xc')]('/',auth['isAuthenticated'](),controller[_0x5e49('0xd')]);router[_0x5e49('0xe')](_0x5e49('0xb'),auth['isAuthenticated'](),controller[_0x5e49('0xf')]);router[_0x5e49('0x10')](_0x5e49('0xb'),auth[_0x5e49('0x8')](),controller[_0x5e49('0x11')]);module[_0x5e49('0x12')]=router;