Built motion from commit (unavailable).|2.5.23
[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 _0x8a0f=['index','get','/describe','/:id','show','post','create','put','update','delete','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8a0f,0x1e6));var _0xf8a0=function(_0x44c5b6,_0x579a75){_0x44c5b6=_0x44c5b6-0x0;var _0x285bae=_0x8a0f[_0x44c5b6];return _0x285bae;};'use strict';var multer=require(_0xf8a0('0x0'));var util=require(_0xf8a0('0x1'));var path=require('path');var timeout=require(_0xf8a0('0x2'));var express=require(_0xf8a0('0x3'));var router=express['Router']();var auth=require(_0xf8a0('0x4'));var interaction=require(_0xf8a0('0x5'));var config=require(_0xf8a0('0x6'));var controller=require('./integrationReport.controller');router['get']('/',auth[_0xf8a0('0x7')](),controller[_0xf8a0('0x8')]);router[_0xf8a0('0x9')](_0xf8a0('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xf8a0('0x9')](_0xf8a0('0xb'),auth[_0xf8a0('0x7')](),controller[_0xf8a0('0xc')]);router[_0xf8a0('0xd')]('/',auth[_0xf8a0('0x7')](),controller[_0xf8a0('0xe')]);router[_0xf8a0('0xf')](_0xf8a0('0xb'),auth[_0xf8a0('0x7')](),controller[_0xf8a0('0x10')]);router[_0xf8a0('0x11')](_0xf8a0('0xb'),auth[_0xf8a0('0x7')](),controller[_0xf8a0('0x12')]);module['exports']=router;