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 _0x1ed0=['./chatProactiveAction.controller','get','/:id','show','post','isAuthenticated','create','put','update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x4d8d5d,_0x2bdd52){var _0x12a488=function(_0x275a6f){while(--_0x275a6f){_0x4d8d5d['push'](_0x4d8d5d['shift']());}};_0x12a488(++_0x2bdd52);}(_0x1ed0,0x103));var _0x01ed=function(_0xc0be57,_0x2d1e96){_0xc0be57=_0xc0be57-0x0;var _0x2d786d=_0x1ed0[_0xc0be57];return _0x2d786d;};'use strict';var multer=require(_0x01ed('0x0'));var util=require(_0x01ed('0x1'));var path=require(_0x01ed('0x2'));var timeout=require('connect-timeout');var express=require(_0x01ed('0x3'));var router=express[_0x01ed('0x4')]();var auth=require(_0x01ed('0x5'));var interaction=require(_0x01ed('0x6'));var config=require('../../config/environment');var controller=require(_0x01ed('0x7'));router[_0x01ed('0x8')](_0x01ed('0x9'),auth['isAuthenticated'](),controller[_0x01ed('0xa')]);router[_0x01ed('0xb')]('/',auth[_0x01ed('0xc')](),controller[_0x01ed('0xd')]);router[_0x01ed('0xe')]('/:id',auth[_0x01ed('0xc')](),controller[_0x01ed('0xf')]);router[_0x01ed('0x10')](_0x01ed('0x9'),auth[_0x01ed('0xc')](),controller[_0x01ed('0x11')]);module[_0x01ed('0x12')]=router;