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 _0xf548=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','get','index','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','multer'];(function(_0x23d591,_0x4abbb8){var _0x3363f7=function(_0xaf3110){while(--_0xaf3110){_0x23d591['push'](_0x23d591['shift']());}};_0x3363f7(++_0x4abbb8);}(_0xf548,0x1f3));var _0x8f54=function(_0x6e1239,_0x3562ac){_0x6e1239=_0x6e1239-0x0;var _0x418150=_0xf548[_0x6e1239];return _0x418150;};'use strict';var multer=require(_0x8f54('0x0'));var util=require(_0x8f54('0x1'));var path=require(_0x8f54('0x2'));var timeout=require(_0x8f54('0x3'));var express=require(_0x8f54('0x4'));var router=express[_0x8f54('0x5')]();var fs_extra=require(_0x8f54('0x6'));var auth=require(_0x8f54('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./openchannelApplication.controller');router[_0x8f54('0x8')]('/',auth['isAuthenticated'](),controller[_0x8f54('0x9')]);router[_0x8f54('0x8')]('/:id',auth[_0x8f54('0xa')](),controller[_0x8f54('0xb')]);router[_0x8f54('0xc')]('/',auth[_0x8f54('0xa')](),controller[_0x8f54('0xd')]);router[_0x8f54('0xe')](_0x8f54('0xf'),auth['isAuthenticated'](),controller[_0x8f54('0x10')]);router[_0x8f54('0x11')](_0x8f54('0xf'),auth[_0x8f54('0xa')](),controller[_0x8f54('0x12')]);module[_0x8f54('0x13')]=router;