cf5c485e42a999518b8cca8f3ba3f4829853d983
[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 _0x6ce7=['get','isAuthenticated','/describe','describe','/:id','show','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./integrationReport.controller'];(function(_0xcf098d,_0x1b9e69){var _0x99daff=function(_0x3aedcc){while(--_0x3aedcc){_0xcf098d['push'](_0xcf098d['shift']());}};_0x99daff(++_0x1b9e69);}(_0x6ce7,0x110));var _0x76ce=function(_0x2b85f4,_0x2140c7){_0x2b85f4=_0x2b85f4-0x0;var _0x14873a=_0x6ce7[_0x2b85f4];return _0x14873a;};'use strict';var multer=require(_0x76ce('0x0'));var util=require(_0x76ce('0x1'));var path=require(_0x76ce('0x2'));var timeout=require(_0x76ce('0x3'));var express=require('express');var router=express[_0x76ce('0x4')]();var auth=require(_0x76ce('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x76ce('0x6'));var controller=require(_0x76ce('0x7'));router[_0x76ce('0x8')]('/',auth[_0x76ce('0x9')](),controller['index']);router[_0x76ce('0x8')](_0x76ce('0xa'),auth[_0x76ce('0x9')](),controller[_0x76ce('0xb')]);router['get'](_0x76ce('0xc'),auth[_0x76ce('0x9')](),controller[_0x76ce('0xd')]);router[_0x76ce('0xe')]('/',auth[_0x76ce('0x9')](),controller[_0x76ce('0xf')]);router[_0x76ce('0x10')]('/:id',auth[_0x76ce('0x9')](),controller[_0x76ce('0x11')]);router[_0x76ce('0x12')](_0x76ce('0xc'),auth[_0x76ce('0x9')](),controller[_0x76ce('0x13')]);module['exports']=router;