98c6a9a9aacb25586db35cbeb5e7f2e1ee717d14
[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 _0xf553=['delete','destroy','exports','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update'];(function(_0x29c99c,_0x64a6d1){var _0x35b411=function(_0x2a4ee0){while(--_0x2a4ee0){_0x29c99c['push'](_0x29c99c['shift']());}};_0x35b411(++_0x64a6d1);}(_0xf553,0x6c));var _0x3f55=function(_0x3452a8,_0x4bfaa4){_0x3452a8=_0x3452a8-0x0;var _0x233814=_0xf553[_0x3452a8];return _0x233814;};'use strict';var multer=require('multer');var util=require(_0x3f55('0x0'));var path=require(_0x3f55('0x1'));var timeout=require('connect-timeout');var express=require(_0x3f55('0x2'));var router=express['Router']();var fs_extra=require(_0x3f55('0x3'));var auth=require(_0x3f55('0x4'));var interaction=require(_0x3f55('0x5'));var config=require(_0x3f55('0x6'));var controller=require(_0x3f55('0x7'));router[_0x3f55('0x8')]('/',auth[_0x3f55('0x9')](),controller[_0x3f55('0xa')]);router[_0x3f55('0x8')](_0x3f55('0xb'),auth[_0x3f55('0x9')](),controller[_0x3f55('0xc')]);router[_0x3f55('0x8')](_0x3f55('0xd'),auth[_0x3f55('0x9')](),controller[_0x3f55('0xe')]);router[_0x3f55('0xf')]('/',auth[_0x3f55('0x9')](),controller[_0x3f55('0x10')]);router['put'](_0x3f55('0xd'),auth[_0x3f55('0x9')](),controller[_0x3f55('0x11')]);router[_0x3f55('0x12')](_0x3f55('0xd'),auth[_0x3f55('0x9')](),controller[_0x3f55('0x13')]);module[_0x3f55('0x14')]=router;