Built motion from commit (unavailable).|2.4.20
[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 _0xfc5a=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','create','destroy','exports','multer','util','connect-timeout'];(function(_0x8afeba,_0x5bf2e5){var _0x596028=function(_0x2ad3d5){while(--_0x2ad3d5){_0x8afeba['push'](_0x8afeba['shift']());}};_0x596028(++_0x5bf2e5);}(_0xfc5a,0x153));var _0xafc5=function(_0x32e264,_0x41cee8){_0x32e264=_0x32e264-0x0;var _0x1d7175=_0xfc5a[_0x32e264];return _0x1d7175;};'use strict';var multer=require(_0xafc5('0x0'));var util=require(_0xafc5('0x1'));var path=require('path');var timeout=require(_0xafc5('0x2'));var express=require('express');var router=express[_0xafc5('0x3')]();var auth=require(_0xafc5('0x4'));var interaction=require(_0xafc5('0x5'));var config=require(_0xafc5('0x6'));var controller=require(_0xafc5('0x7'));router[_0xafc5('0x8')]('/',auth['isAuthenticated'](),controller[_0xafc5('0x9')]);router[_0xafc5('0x8')](_0xafc5('0xa'),auth[_0xafc5('0xb')](),controller[_0xafc5('0xc')]);router[_0xafc5('0x8')](_0xafc5('0xd'),auth[_0xafc5('0xb')](),controller[_0xafc5('0xe')]);router['post']('/',auth[_0xafc5('0xb')](),controller[_0xafc5('0xf')]);router['put'](_0xafc5('0xd'),auth[_0xafc5('0xb')](),controller['update']);router['delete'](_0xafc5('0xd'),auth[_0xafc5('0xb')](),controller[_0xafc5('0x10')]);module[_0xafc5('0x11')]=router;