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