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 _0xd759=['/:id','show','post','create','put','delete','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xd759,0xe7));var _0x9d75=function(_0x53538f,_0x3b129d){_0x53538f=_0x53538f-0x0;var _0x4a5ffc=_0xd759[_0x53538f];return _0x4a5ffc;};'use strict';var multer=require('multer');var util=require(_0x9d75('0x0'));var path=require(_0x9d75('0x1'));var timeout=require(_0x9d75('0x2'));var express=require(_0x9d75('0x3'));var router=express['Router']();var fs_extra=require(_0x9d75('0x4'));var auth=require(_0x9d75('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x9d75('0x6'));var controller=require('./openchannelApplication.controller');router[_0x9d75('0x7')]('/',auth[_0x9d75('0x8')](),controller['index']);router[_0x9d75('0x7')](_0x9d75('0x9'),auth[_0x9d75('0x8')](),controller[_0x9d75('0xa')]);router[_0x9d75('0xb')]('/',auth[_0x9d75('0x8')](),controller[_0x9d75('0xc')]);router[_0x9d75('0xd')]('/:id',auth[_0x9d75('0x8')](),controller['update']);router[_0x9d75('0xe')](_0x9d75('0x9'),auth[_0x9d75('0x8')](),controller['destroy']);module[_0x9d75('0xf')]=router;