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