Built motion from commit (unavailable).|2.3.0
[motion2.git] / server / api / network / 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 _0x7fd4=['../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service'];(function(_0x275caa,_0x166d5e){var _0x28d670=function(_0x2a20e1){while(--_0x2a20e1){_0x275caa['push'](_0x275caa['shift']());}};_0x28d670(++_0x166d5e);}(_0x7fd4,0x117));var _0x47fd=function(_0x4e7d25,_0x58285f){_0x4e7d25=_0x4e7d25-0x0;var _0x526fe6=_0x7fd4[_0x4e7d25];return _0x526fe6;};'use strict';var multer=require(_0x47fd('0x0'));var util=require(_0x47fd('0x1'));var path=require('path');var timeout=require(_0x47fd('0x2'));var express=require(_0x47fd('0x3'));var router=express[_0x47fd('0x4')]();var auth=require(_0x47fd('0x5'));var interaction=require(_0x47fd('0x6'));var config=require(_0x47fd('0x7'));var controller=require('./network.controller');router[_0x47fd('0x8')]('/',auth[_0x47fd('0x9')](),controller[_0x47fd('0xa')]);router[_0x47fd('0x8')](_0x47fd('0xb'),auth[_0x47fd('0x9')](),controller[_0x47fd('0xc')]);router[_0x47fd('0xd')]('/',auth[_0x47fd('0x9')](),controller['create']);router[_0x47fd('0xe')](_0x47fd('0xb'),auth[_0x47fd('0x9')](),controller[_0x47fd('0xf')]);router[_0x47fd('0x10')](_0x47fd('0xb'),auth[_0x47fd('0x9')](),controller[_0x47fd('0x11')]);module[_0x47fd('0x12')]=router;