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 _0x8cf1=['/:id','show','create','put','update','delete','isAuthenticated','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelApplication.controller','index'];(function(_0x2070da,_0x45e586){var _0x4f9fe1=function(_0x5b6f2a){while(--_0x5b6f2a){_0x2070da['push'](_0x2070da['shift']());}};_0x4f9fe1(++_0x45e586);}(_0x8cf1,0x183));var _0x18cf=function(_0x28b378,_0x1bfd5d){_0x28b378=_0x28b378-0x0;var _0x237981=_0x8cf1[_0x28b378];return _0x237981;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x18cf('0x0'));var timeout=require(_0x18cf('0x1'));var express=require(_0x18cf('0x2'));var router=express[_0x18cf('0x3')]();var fs_extra=require(_0x18cf('0x4'));var auth=require(_0x18cf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x18cf('0x6'));var controller=require(_0x18cf('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x18cf('0x8')]);router['get'](_0x18cf('0x9'),auth['isAuthenticated'](),controller[_0x18cf('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0x18cf('0xb')]);router[_0x18cf('0xc')](_0x18cf('0x9'),auth['isAuthenticated'](),controller[_0x18cf('0xd')]);router[_0x18cf('0xe')](_0x18cf('0x9'),auth[_0x18cf('0xf')](),controller[_0x18cf('0x10')]);module[_0x18cf('0x11')]=router;