Built motion from commit (unavailable).|2.5.31
[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 _0xc993=['destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./integrationReport.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete'];(function(_0x4177e3,_0x2cfcdb){var _0x2b9c1c=function(_0xc811d7){while(--_0xc811d7){_0x4177e3['push'](_0x4177e3['shift']());}};_0x2b9c1c(++_0x2cfcdb);}(_0xc993,0x17c));var _0x3c99=function(_0x2f58c9,_0x19bfd1){_0x2f58c9=_0x2f58c9-0x0;var _0x254ee4=_0xc993[_0x2f58c9];return _0x254ee4;};'use strict';var multer=require(_0x3c99('0x0'));var util=require(_0x3c99('0x1'));var path=require('path');var timeout=require(_0x3c99('0x2'));var express=require(_0x3c99('0x3'));var router=express[_0x3c99('0x4')]();var fs_extra=require(_0x3c99('0x5'));var auth=require(_0x3c99('0x6'));var interaction=require(_0x3c99('0x7'));var config=require('../../config/environment');var controller=require(_0x3c99('0x8'));router[_0x3c99('0x9')]('/',auth[_0x3c99('0xa')](),controller[_0x3c99('0xb')]);router[_0x3c99('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x3c99('0x9')]('/:id',auth[_0x3c99('0xa')](),controller[_0x3c99('0xc')]);router[_0x3c99('0xd')]('/',auth[_0x3c99('0xa')](),controller[_0x3c99('0xe')]);router[_0x3c99('0xf')](_0x3c99('0x10'),auth['isAuthenticated'](),controller[_0x3c99('0x11')]);router[_0x3c99('0x12')](_0x3c99('0x10'),auth[_0x3c99('0xa')](),controller[_0x3c99('0x13')]);module[_0x3c99('0x14')]=router;