1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xc1de=['put','/:id','update','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelApplication.controller','get','isAuthenticated','index','show','post','create'];(function(_0x77773a,_0x5a7026){var _0x1091a2=function(_0x276af5){while(--_0x276af5){_0x77773a['push'](_0x77773a['shift']());}};_0x1091a2(++_0x5a7026);}(_0xc1de,0x148));var _0xec1d=function(_0x4001df,_0x1c6e2d){_0x4001df=_0x4001df-0x0;var _0x40e7b5=_0xc1de[_0x4001df];return _0x40e7b5;};'use strict';var multer=require(_0xec1d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xec1d('0x1'));var express=require(_0xec1d('0x2'));var router=express[_0xec1d('0x3')]();var auth=require(_0xec1d('0x4'));var interaction=require(_0xec1d('0x5'));var config=require(_0xec1d('0x6'));var controller=require(_0xec1d('0x7'));router[_0xec1d('0x8')]('/',auth[_0xec1d('0x9')](),controller[_0xec1d('0xa')]);router[_0xec1d('0x8')]('/:id',auth[_0xec1d('0x9')](),controller[_0xec1d('0xb')]);router[_0xec1d('0xc')]('/',auth[_0xec1d('0x9')](),controller[_0xec1d('0xd')]);router[_0xec1d('0xe')](_0xec1d('0xf'),auth['isAuthenticated'](),controller[_0xec1d('0x10')]);router['delete'](_0xec1d('0xf'),auth[_0xec1d('0x9')](),controller[_0xec1d('0x11')]);module[_0xec1d('0x12')]=router;