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