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 _0x0a2c=['get','/describe','describe','/:id','show','post','isAuthenticated','create','put','destroy','exports','multer','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./integrationReport.controller'];(function(_0x36c5b0,_0x5001da){var _0xf19333=function(_0x1e880a){while(--_0x1e880a){_0x36c5b0['push'](_0x36c5b0['shift']());}};_0xf19333(++_0x5001da);}(_0x0a2c,0x1df));var _0xc0a2=function(_0x7acf4f,_0x3e7f15){_0x7acf4f=_0x7acf4f-0x0;var _0x2c911c=_0x0a2c[_0x7acf4f];return _0x2c911c;};'use strict';var multer=require(_0xc0a2('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc0a2('0x1'));var express=require(_0xc0a2('0x2'));var router=express[_0xc0a2('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xc0a2('0x4'));var config=require(_0xc0a2('0x5'));var controller=require(_0xc0a2('0x6'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xc0a2('0x7')](_0xc0a2('0x8'),auth['isAuthenticated'](),controller[_0xc0a2('0x9')]);router[_0xc0a2('0x7')](_0xc0a2('0xa'),auth['isAuthenticated'](),controller[_0xc0a2('0xb')]);router[_0xc0a2('0xc')]('/',auth[_0xc0a2('0xd')](),controller[_0xc0a2('0xe')]);router[_0xc0a2('0xf')](_0xc0a2('0xa'),auth[_0xc0a2('0xd')](),controller['update']);router['delete'](_0xc0a2('0xa'),auth[_0xc0a2('0xd')](),controller[_0xc0a2('0x10')]);module[_0xc0a2('0x11')]=router;