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 _0xf745=['post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','index','/:id','isAuthenticated','show'];(function(_0x51e8c4,_0xb80d6){var _0xbc9969=function(_0x47e58a){while(--_0x47e58a){_0x51e8c4['push'](_0x51e8c4['shift']());}};_0xbc9969(++_0xb80d6);}(_0xf745,0x138));var _0x5f74=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xf745[_0x502c7d];return _0x30b7ed;};'use strict';var multer=require(_0x5f74('0x0'));var util=require(_0x5f74('0x1'));var path=require(_0x5f74('0x2'));var timeout=require(_0x5f74('0x3'));var express=require(_0x5f74('0x4'));var router=express[_0x5f74('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x5f74('0x6'));var config=require(_0x5f74('0x7'));var controller=require('./UserChatInteraction.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x5f74('0x8')]);router['get'](_0x5f74('0x9'),auth[_0x5f74('0xa')](),controller[_0x5f74('0xb')]);router[_0x5f74('0xc')]('/',auth['isAuthenticated'](),controller[_0x5f74('0xd')]);router['put'](_0x5f74('0x9'),auth[_0x5f74('0xa')](),controller[_0x5f74('0xe')]);router[_0x5f74('0xf')](_0x5f74('0x9'),auth[_0x5f74('0xa')](),controller[_0x5f74('0x10')]);module[_0x5f74('0x11')]=router;