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 _0x221b=['../../components/auth/service','../../config/environment','./chatProactiveAction.controller','get','/:id','isAuthenticated','show','create','put','delete','exports','multer','connect-timeout','express','Router'];(function(_0x4e418e,_0x203714){var _0xa4d975=function(_0x1476e8){while(--_0x1476e8){_0x4e418e['push'](_0x4e418e['shift']());}};_0xa4d975(++_0x203714);}(_0x221b,0xbf));var _0xb221=function(_0x3236f5,_0x1be073){_0x3236f5=_0x3236f5-0x0;var _0x104138=_0x221b[_0x3236f5];return _0x104138;};'use strict';var multer=require(_0xb221('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xb221('0x1'));var express=require(_0xb221('0x2'));var router=express[_0xb221('0x3')]();var auth=require(_0xb221('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xb221('0x5'));var controller=require(_0xb221('0x6'));router[_0xb221('0x7')](_0xb221('0x8'),auth[_0xb221('0x9')](),controller[_0xb221('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0xb221('0xb')]);router[_0xb221('0xc')]('/:id',auth[_0xb221('0x9')](),controller['update']);router[_0xb221('0xd')](_0xb221('0x8'),auth[_0xb221('0x9')](),controller['destroy']);module[_0xb221('0xe')]=router;