Built motion from commit (unavailable).|2.5.22
[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 _0xfba1=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','destroy','exports','multer','path','connect-timeout','express'];(function(_0x3c3185,_0x3c0e7b){var _0xd18df5=function(_0x277f46){while(--_0x277f46){_0x3c3185['push'](_0x3c3185['shift']());}};_0xd18df5(++_0x3c0e7b);}(_0xfba1,0x1ca));var _0x1fba=function(_0x318596,_0x3be2da){_0x318596=_0x318596-0x0;var _0x14bf65=_0xfba1[_0x318596];return _0x14bf65;};'use strict';var multer=require(_0x1fba('0x0'));var util=require('util');var path=require(_0x1fba('0x1'));var timeout=require(_0x1fba('0x2'));var express=require(_0x1fba('0x3'));var router=express[_0x1fba('0x4')]();var auth=require(_0x1fba('0x5'));var interaction=require(_0x1fba('0x6'));var config=require(_0x1fba('0x7'));var controller=require('./integrationReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x1fba('0x8')]);router[_0x1fba('0x9')](_0x1fba('0xa'),auth[_0x1fba('0xb')](),controller[_0x1fba('0xc')]);router['get'](_0x1fba('0xd'),auth['isAuthenticated'](),controller[_0x1fba('0xe')]);router[_0x1fba('0xf')]('/',auth[_0x1fba('0xb')](),controller[_0x1fba('0x10')]);router[_0x1fba('0x11')](_0x1fba('0xd'),auth['isAuthenticated'](),controller[_0x1fba('0x12')]);router['delete'](_0x1fba('0xd'),auth['isAuthenticated'](),controller[_0x1fba('0x13')]);module[_0x1fba('0x14')]=router;