Built motion from commit (unavailable).|2.5.4
[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 _0x766b=['destroy','exports','multer','util','Router','../../components/auth/service','../../components/interaction/service','./integrationReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update'];(function(_0x9aaca8,_0x222c1a){var _0x1a77bd=function(_0x1b319a){while(--_0x1b319a){_0x9aaca8['push'](_0x9aaca8['shift']());}};_0x1a77bd(++_0x222c1a);}(_0x766b,0x158));var _0xb766=function(_0x14b6cf,_0x4cbb80){_0x14b6cf=_0x14b6cf-0x0;var _0x140e80=_0x766b[_0x14b6cf];return _0x140e80;};'use strict';var multer=require(_0xb766('0x0'));var util=require(_0xb766('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb766('0x2')]();var auth=require(_0xb766('0x3'));var interaction=require(_0xb766('0x4'));var config=require('../../config/environment');var controller=require(_0xb766('0x5'));router[_0xb766('0x6')]('/',auth['isAuthenticated'](),controller[_0xb766('0x7')]);router['get'](_0xb766('0x8'),auth[_0xb766('0x9')](),controller[_0xb766('0xa')]);router[_0xb766('0x6')](_0xb766('0xb'),auth['isAuthenticated'](),controller[_0xb766('0xc')]);router[_0xb766('0xd')]('/',auth[_0xb766('0x9')](),controller[_0xb766('0xe')]);router[_0xb766('0xf')](_0xb766('0xb'),auth[_0xb766('0x9')](),controller[_0xb766('0x10')]);router['delete'](_0xb766('0xb'),auth[_0xb766('0x9')](),controller[_0xb766('0x11')]);module[_0xb766('0x12')]=router;