Built motion from commit (unavailable).|2.5.13
[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 _0x79a5=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller','get','isAuthenticated','index','describe','show','post','create','update','delete','/:id','multer','util'];(function(_0x4a0f16,_0x21ba18){var _0x45d653=function(_0x137e2c){while(--_0x137e2c){_0x4a0f16['push'](_0x4a0f16['shift']());}};_0x45d653(++_0x21ba18);}(_0x79a5,0x17a));var _0x579a=function(_0x342700,_0x569f75){_0x342700=_0x342700-0x0;var _0x53406f=_0x79a5[_0x342700];return _0x53406f;};'use strict';var multer=require(_0x579a('0x0'));var util=require(_0x579a('0x1'));var path=require(_0x579a('0x2'));var timeout=require(_0x579a('0x3'));var express=require('express');var router=express[_0x579a('0x4')]();var auth=require(_0x579a('0x5'));var interaction=require(_0x579a('0x6'));var config=require(_0x579a('0x7'));var controller=require(_0x579a('0x8'));router[_0x579a('0x9')]('/',auth[_0x579a('0xa')](),controller[_0x579a('0xb')]);router['get']('/describe',auth[_0x579a('0xa')](),controller[_0x579a('0xc')]);router[_0x579a('0x9')]('/:id',auth[_0x579a('0xa')](),controller[_0x579a('0xd')]);router[_0x579a('0xe')]('/',auth[_0x579a('0xa')](),controller[_0x579a('0xf')]);router['put']('/:id',auth[_0x579a('0xa')](),controller[_0x579a('0x10')]);router[_0x579a('0x11')](_0x579a('0x12'),auth[_0x579a('0xa')](),controller['destroy']);module['exports']=router;