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 _0xc387=['/:id','isAuthenticated','show','create','put','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','get'];(function(_0x5834bc,_0x3d4801){var _0x3e183a=function(_0x18b023){while(--_0x18b023){_0x5834bc['push'](_0x5834bc['shift']());}};_0x3e183a(++_0x3d4801);}(_0xc387,0x168));var _0x7c38=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xc387[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0x7c38('0x0'));var util=require(_0x7c38('0x1'));var path=require(_0x7c38('0x2'));var timeout=require('connect-timeout');var express=require(_0x7c38('0x3'));var router=express[_0x7c38('0x4')]();var auth=require(_0x7c38('0x5'));var interaction=require(_0x7c38('0x6'));var config=require('../../config/environment');var controller=require('./chatProactiveAction.controller');router[_0x7c38('0x7')](_0x7c38('0x8'),auth[_0x7c38('0x9')](),controller[_0x7c38('0xa')]);router['post']('/',auth[_0x7c38('0x9')](),controller[_0x7c38('0xb')]);router[_0x7c38('0xc')]('/:id',auth[_0x7c38('0x9')](),controller['update']);router[_0x7c38('0xd')]('/:id',auth[_0x7c38('0x9')](),controller[_0x7c38('0xe')]);module[_0x7c38('0xf')]=router;