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