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 _0xb692=['path','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','create','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x520605,_0x2fd7bd){var _0x28f932=function(_0x2ff7e3){while(--_0x2ff7e3){_0x520605['push'](_0x520605['shift']());}};_0x28f932(++_0x2fd7bd);}(_0xb692,0x163));var _0x2b69=function(_0x282f9a,_0x63dff){_0x282f9a=_0x282f9a-0x0;var _0x52528c=_0xb692[_0x282f9a];return _0x52528c;};'use strict';var multer=require(_0x2b69('0x0'));var util=require(_0x2b69('0x1'));var path=require(_0x2b69('0x2'));var timeout=require('connect-timeout');var express=require(_0x2b69('0x3'));var router=express[_0x2b69('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x2b69('0x5'));var config=require(_0x2b69('0x6'));var controller=require('./chatProactiveAction.controller');router[_0x2b69('0x7')]('/:id',auth[_0x2b69('0x8')](),controller[_0x2b69('0x9')]);router['post']('/',auth['isAuthenticated'](),controller[_0x2b69('0xa')]);router[_0x2b69('0xb')](_0x2b69('0xc'),auth[_0x2b69('0x8')](),controller[_0x2b69('0xd')]);router[_0x2b69('0xe')](_0x2b69('0xc'),auth[_0x2b69('0x8')](),controller[_0x2b69('0xf')]);module[_0x2b69('0x10')]=router;