Built motion from commit (unavailable).|2.5.3
[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 _0xf774=['/describe','describe','/:id','show','create','put','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller','isAuthenticated','index','get'];(function(_0x209941,_0x5c9988){var _0x1e8729=function(_0x51a9b8){while(--_0x51a9b8){_0x209941['push'](_0x209941['shift']());}};_0x1e8729(++_0x5c9988);}(_0xf774,0x11a));var _0x4f77=function(_0x12725d,_0x146cf3){_0x12725d=_0x12725d-0x0;var _0x3fa183=_0xf774[_0x12725d];return _0x3fa183;};'use strict';var multer=require(_0x4f77('0x0'));var util=require(_0x4f77('0x1'));var path=require(_0x4f77('0x2'));var timeout=require('connect-timeout');var express=require(_0x4f77('0x3'));var router=express[_0x4f77('0x4')]();var auth=require(_0x4f77('0x5'));var interaction=require(_0x4f77('0x6'));var config=require(_0x4f77('0x7'));var controller=require(_0x4f77('0x8'));router['get']('/',auth[_0x4f77('0x9')](),controller[_0x4f77('0xa')]);router[_0x4f77('0xb')](_0x4f77('0xc'),auth[_0x4f77('0x9')](),controller[_0x4f77('0xd')]);router['get'](_0x4f77('0xe'),auth[_0x4f77('0x9')](),controller[_0x4f77('0xf')]);router['post']('/',auth[_0x4f77('0x9')](),controller[_0x4f77('0x10')]);router[_0x4f77('0x11')](_0x4f77('0xe'),auth[_0x4f77('0x9')](),controller['update']);router[_0x4f77('0x12')](_0x4f77('0xe'),auth[_0x4f77('0x9')](),controller[_0x4f77('0x13')]);module[_0x4f77('0x14')]=router;