Built motion from commit (unavailable).|2.5.6
[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 _0x9baa=['../../config/environment','./integrationReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','util','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x22abd7,_0x44789d){var _0x579b21=function(_0x5a8af8){while(--_0x5a8af8){_0x22abd7['push'](_0x22abd7['shift']());}};_0x579b21(++_0x44789d);}(_0x9baa,0x187));var _0xa9ba=function(_0x5db1ae,_0x4dc6cd){_0x5db1ae=_0x5db1ae-0x0;var _0x11ad60=_0x9baa[_0x5db1ae];return _0x11ad60;};'use strict';var multer=require('multer');var util=require(_0xa9ba('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa9ba('0x1'));var router=express[_0xa9ba('0x2')]();var auth=require(_0xa9ba('0x3'));var interaction=require(_0xa9ba('0x4'));var config=require(_0xa9ba('0x5'));var controller=require(_0xa9ba('0x6'));router[_0xa9ba('0x7')]('/',auth[_0xa9ba('0x8')](),controller[_0xa9ba('0x9')]);router[_0xa9ba('0x7')](_0xa9ba('0xa'),auth['isAuthenticated'](),controller[_0xa9ba('0xb')]);router[_0xa9ba('0x7')](_0xa9ba('0xc'),auth[_0xa9ba('0x8')](),controller['show']);router[_0xa9ba('0xd')]('/',auth['isAuthenticated'](),controller[_0xa9ba('0xe')]);router[_0xa9ba('0xf')]('/:id',auth[_0xa9ba('0x8')](),controller[_0xa9ba('0x10')]);router[_0xa9ba('0x11')](_0xa9ba('0xc'),auth[_0xa9ba('0x8')](),controller['destroy']);module['exports']=router;