dadfd8906ce53010853ff4bdb22f88e5bbc181f8
[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 _0x4f3c=['../../config/environment','./integrationReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','post','create','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x51363e,_0x46a245){var _0x98b230=function(_0x277f2f){while(--_0x277f2f){_0x51363e['push'](_0x51363e['shift']());}};_0x98b230(++_0x46a245);}(_0x4f3c,0x15d));var _0xc4f3=function(_0x2493a8,_0x5a240d){_0x2493a8=_0x2493a8-0x0;var _0x2b06c9=_0x4f3c[_0x2493a8];return _0x2b06c9;};'use strict';var multer=require(_0xc4f3('0x0'));var util=require(_0xc4f3('0x1'));var path=require(_0xc4f3('0x2'));var timeout=require(_0xc4f3('0x3'));var express=require(_0xc4f3('0x4'));var router=express[_0xc4f3('0x5')]();var auth=require(_0xc4f3('0x6'));var interaction=require(_0xc4f3('0x7'));var config=require(_0xc4f3('0x8'));var controller=require(_0xc4f3('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xc4f3('0xa')]);router[_0xc4f3('0xb')](_0xc4f3('0xc'),auth[_0xc4f3('0xd')](),controller[_0xc4f3('0xe')]);router[_0xc4f3('0xb')](_0xc4f3('0xf'),auth[_0xc4f3('0xd')](),controller[_0xc4f3('0x10')]);router[_0xc4f3('0x11')]('/',auth['isAuthenticated'](),controller[_0xc4f3('0x12')]);router['put']('/:id',auth[_0xc4f3('0xd')](),controller['update']);router[_0xc4f3('0x13')](_0xc4f3('0xf'),auth[_0xc4f3('0xd')](),controller['destroy']);module[_0xc4f3('0x14')]=router;