fd82d4f0dd80fa14da91952d50acaac170170c1b
[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 _0x0b41=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./integrationReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','destroy','multer','path'];(function(_0x4663ac,_0x2e190b){var _0x101ee6=function(_0x1dfd01){while(--_0x1dfd01){_0x4663ac['push'](_0x4663ac['shift']());}};_0x101ee6(++_0x2e190b);}(_0x0b41,0x6a));var _0x10b4=function(_0x4cf2ee,_0x574c84){_0x4cf2ee=_0x4cf2ee-0x0;var _0x23957e=_0x0b41[_0x4cf2ee];return _0x23957e;};'use strict';var multer=require(_0x10b4('0x0'));var util=require('util');var path=require(_0x10b4('0x1'));var timeout=require(_0x10b4('0x2'));var express=require('express');var router=express[_0x10b4('0x3')]();var auth=require(_0x10b4('0x4'));var interaction=require(_0x10b4('0x5'));var config=require('../../config/environment');var controller=require(_0x10b4('0x6'));router[_0x10b4('0x7')]('/',auth[_0x10b4('0x8')](),controller[_0x10b4('0x9')]);router[_0x10b4('0x7')](_0x10b4('0xa'),auth[_0x10b4('0x8')](),controller[_0x10b4('0xb')]);router[_0x10b4('0x7')](_0x10b4('0xc'),auth[_0x10b4('0x8')](),controller[_0x10b4('0xd')]);router[_0x10b4('0xe')]('/',auth[_0x10b4('0x8')](),controller[_0x10b4('0xf')]);router[_0x10b4('0x10')](_0x10b4('0xc'),auth[_0x10b4('0x8')](),controller['update']);router['delete'](_0x10b4('0xc'),auth['isAuthenticated'](),controller[_0x10b4('0x11')]);module['exports']=router;