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 _0xb787=['isAuthenticated','index','show','post','create','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./UserChatInteraction.controller','get'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0xb787,0x160));var _0x7b78=function(_0xe9201a,_0xa01778){_0xe9201a=_0xe9201a-0x0;var _0x263daf=_0xb787[_0xe9201a];return _0x263daf;};'use strict';var multer=require(_0x7b78('0x0'));var util=require(_0x7b78('0x1'));var path=require(_0x7b78('0x2'));var timeout=require(_0x7b78('0x3'));var express=require('express');var router=express[_0x7b78('0x4')]();var auth=require(_0x7b78('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x7b78('0x6'));var controller=require(_0x7b78('0x7'));router[_0x7b78('0x8')]('/',auth[_0x7b78('0x9')](),controller[_0x7b78('0xa')]);router['get']('/:id',auth[_0x7b78('0x9')](),controller[_0x7b78('0xb')]);router[_0x7b78('0xc')]('/',auth[_0x7b78('0x9')](),controller[_0x7b78('0xd')]);router[_0x7b78('0xe')](_0x7b78('0xf'),auth[_0x7b78('0x9')](),controller[_0x7b78('0x10')]);router['delete'](_0x7b78('0xf'),auth[_0x7b78('0x9')](),controller[_0x7b78('0x11')]);module[_0x7b78('0x12')]=router;