Built motion from commit 67e5df37.|2.0.66
[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 _0x67c2=['isAuthenticated','get','/describe','/:id','show','post','create','put','delete','exports','express','Router','../../components/interaction/service','./integrationReport.controller'];(function(_0x2e2407,_0x37f62a){var _0x38e7cf=function(_0x55455d){while(--_0x55455d){_0x2e2407['push'](_0x2e2407['shift']());}};_0x38e7cf(++_0x37f62a);}(_0x67c2,0x14c));var _0x267c=function(_0x1e6a1b,_0x56d8d6){_0x1e6a1b=_0x1e6a1b-0x0;var _0x59e545=_0x67c2[_0x1e6a1b];return _0x59e545;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var express=require(_0x267c('0x0'));var router=express[_0x267c('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0x267c('0x2'));var config=require('../../config/environment');var controller=require(_0x267c('0x3'));router['get']('/',auth[_0x267c('0x4')](),controller['index']);router[_0x267c('0x5')](_0x267c('0x6'),auth[_0x267c('0x4')](),controller['describe']);router[_0x267c('0x5')](_0x267c('0x7'),auth[_0x267c('0x4')](),controller[_0x267c('0x8')]);router[_0x267c('0x9')]('/',auth[_0x267c('0x4')](),controller[_0x267c('0xa')]);router[_0x267c('0xb')](_0x267c('0x7'),auth[_0x267c('0x4')](),controller['update']);router[_0x267c('0xc')](_0x267c('0x7'),auth[_0x267c('0x4')](),controller['destroy']);module[_0x267c('0xd')]=router;