Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / openchannelApplication / 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 _0x350f=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','post','create'];(function(_0x11b417,_0x4ac108){var _0x5f015b=function(_0x2ff388){while(--_0x2ff388){_0x11b417['push'](_0x11b417['shift']());}};_0x5f015b(++_0x4ac108);}(_0x350f,0x131));var _0xf350=function(_0x2e9187,_0x3763f6){_0x2e9187=_0x2e9187-0x0;var _0x1fc3a8=_0x350f[_0x2e9187];return _0x1fc3a8;};'use strict';var multer=require(_0xf350('0x0'));var util=require(_0xf350('0x1'));var path=require(_0xf350('0x2'));var timeout=require(_0xf350('0x3'));var express=require(_0xf350('0x4'));var router=express[_0xf350('0x5')]();var auth=require(_0xf350('0x6'));var interaction=require(_0xf350('0x7'));var config=require(_0xf350('0x8'));var controller=require('./openchannelApplication.controller');router[_0xf350('0x9')]('/',auth[_0xf350('0xa')](),controller['index']);router[_0xf350('0x9')](_0xf350('0xb'),auth[_0xf350('0xa')](),controller[_0xf350('0xc')]);router[_0xf350('0xd')]('/',auth[_0xf350('0xa')](),controller[_0xf350('0xe')]);router[_0xf350('0xf')](_0xf350('0xb'),auth[_0xf350('0xa')](),controller[_0xf350('0x10')]);router[_0xf350('0x11')](_0xf350('0xb'),auth[_0xf350('0xa')](),controller[_0xf350('0x12')]);module[_0xf350('0x13')]=router;