7177be9b55ad78f1e6272b4ce02bdf2230e6253b
[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 _0x1166=['post','create','put','update','delete','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller','isAuthenticated','get','/:id','show'];(function(_0x2b3100,_0x345565){var _0x59bb19=function(_0x34a393){while(--_0x34a393){_0x2b3100['push'](_0x2b3100['shift']());}};_0x59bb19(++_0x345565);}(_0x1166,0x1a8));var _0x6116=function(_0x56b5f2,_0x3aa7a1){_0x56b5f2=_0x56b5f2-0x0;var _0x191fe1=_0x1166[_0x56b5f2];return _0x191fe1;};'use strict';var multer=require(_0x6116('0x0'));var util=require('util');var path=require(_0x6116('0x1'));var timeout=require(_0x6116('0x2'));var express=require(_0x6116('0x3'));var router=express[_0x6116('0x4')]();var auth=require(_0x6116('0x5'));var interaction=require(_0x6116('0x6'));var config=require(_0x6116('0x7'));var controller=require(_0x6116('0x8'));router['get']('/',auth[_0x6116('0x9')](),controller['index']);router[_0x6116('0xa')]('/describe',auth[_0x6116('0x9')](),controller['describe']);router['get'](_0x6116('0xb'),auth[_0x6116('0x9')](),controller[_0x6116('0xc')]);router[_0x6116('0xd')]('/',auth[_0x6116('0x9')](),controller[_0x6116('0xe')]);router[_0x6116('0xf')](_0x6116('0xb'),auth[_0x6116('0x9')](),controller[_0x6116('0x10')]);router[_0x6116('0x11')](_0x6116('0xb'),auth[_0x6116('0x9')](),controller['destroy']);module[_0x6116('0x12')]=router;