e459da89669304ae67c6a143a0db590d71f5dc05
[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 _0x8dd1=['put','/:id','update','destroy','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller','isAuthenticated','index','get','/describe','describe','post','create'];(function(_0x38b5a8,_0x4c2578){var _0x252ea0=function(_0x301766){while(--_0x301766){_0x38b5a8['push'](_0x38b5a8['shift']());}};_0x252ea0(++_0x4c2578);}(_0x8dd1,0x1e5));var _0x18dd=function(_0x1fb1c1,_0x4ebe69){_0x1fb1c1=_0x1fb1c1-0x0;var _0x1622df=_0x8dd1[_0x1fb1c1];return _0x1622df;};'use strict';var multer=require(_0x18dd('0x0'));var util=require(_0x18dd('0x1'));var path=require(_0x18dd('0x2'));var timeout=require('connect-timeout');var express=require(_0x18dd('0x3'));var router=express['Router']();var auth=require(_0x18dd('0x4'));var interaction=require(_0x18dd('0x5'));var config=require(_0x18dd('0x6'));var controller=require(_0x18dd('0x7'));router['get']('/',auth[_0x18dd('0x8')](),controller[_0x18dd('0x9')]);router[_0x18dd('0xa')](_0x18dd('0xb'),auth[_0x18dd('0x8')](),controller[_0x18dd('0xc')]);router[_0x18dd('0xa')]('/:id',auth[_0x18dd('0x8')](),controller['show']);router[_0x18dd('0xd')]('/',auth[_0x18dd('0x8')](),controller[_0x18dd('0xe')]);router[_0x18dd('0xf')](_0x18dd('0x10'),auth[_0x18dd('0x8')](),controller[_0x18dd('0x11')]);router['delete'](_0x18dd('0x10'),auth[_0x18dd('0x8')](),controller[_0x18dd('0x12')]);module[_0x18dd('0x13')]=router;