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 _0x836f=['connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelApplication.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','destroy','exports','multer','path'];(function(_0x56f5a0,_0x367560){var _0x2be119=function(_0x39c785){while(--_0x39c785){_0x56f5a0['push'](_0x56f5a0['shift']());}};_0x2be119(++_0x367560);}(_0x836f,0x141));var _0xf836=function(_0x5874d2,_0x4138d5){_0x5874d2=_0x5874d2-0x0;var _0x505916=_0x836f[_0x5874d2];return _0x505916;};'use strict';var multer=require(_0xf836('0x0'));var util=require('util');var path=require(_0xf836('0x1'));var timeout=require(_0xf836('0x2'));var express=require('express');var router=express[_0xf836('0x3')]();var fs_extra=require(_0xf836('0x4'));var auth=require(_0xf836('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf836('0x6'));var controller=require(_0xf836('0x7'));router[_0xf836('0x8')]('/',auth[_0xf836('0x9')](),controller[_0xf836('0xa')]);router[_0xf836('0x8')](_0xf836('0xb'),auth[_0xf836('0x9')](),controller[_0xf836('0xc')]);router[_0xf836('0xd')]('/',auth['isAuthenticated'](),controller[_0xf836('0xe')]);router[_0xf836('0xf')](_0xf836('0xb'),auth[_0xf836('0x9')](),controller[_0xf836('0x10')]);router['delete'](_0xf836('0xb'),auth['isAuthenticated'](),controller[_0xf836('0x11')]);module[_0xf836('0x12')]=router;