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 _0x8ef7=['put','isAuthenticated','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','show'];(function(_0x5bb018,_0xba9622){var _0x3ff29a=function(_0x57ad1e){while(--_0x57ad1e){_0x5bb018['push'](_0x5bb018['shift']());}};_0x3ff29a(++_0xba9622);}(_0x8ef7,0x1a3));var _0x78ef=function(_0x3666e6,_0x48a90b){_0x3666e6=_0x3666e6-0x0;var _0xf99c95=_0x8ef7[_0x3666e6];return _0xf99c95;};'use strict';var multer=require(_0x78ef('0x0'));var util=require(_0x78ef('0x1'));var path=require(_0x78ef('0x2'));var timeout=require(_0x78ef('0x3'));var express=require(_0x78ef('0x4'));var router=express[_0x78ef('0x5')]();var fs_extra=require(_0x78ef('0x6'));var auth=require(_0x78ef('0x7'));var interaction=require(_0x78ef('0x8'));var config=require(_0x78ef('0x9'));var controller=require('./chatApplication.controller');router[_0x78ef('0xa')](_0x78ef('0xb'),auth['isAuthenticated'](),controller[_0x78ef('0xc')]);router[_0x78ef('0xd')](_0x78ef('0xb'),auth[_0x78ef('0xe')](),controller[_0x78ef('0xf')]);router[_0x78ef('0x10')](_0x78ef('0xb'),auth['isAuthenticated'](),controller[_0x78ef('0x11')]);module['exports']=router;