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 _0xfdb0=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatProactiveAction.controller','get','/:id','show','post','isAuthenticated','update','delete','destroy'];(function(_0x40a6b5,_0x2ef12f){var _0x4bab77=function(_0x303e52){while(--_0x303e52){_0x40a6b5['push'](_0x40a6b5['shift']());}};_0x4bab77(++_0x2ef12f);}(_0xfdb0,0x10b));var _0x0fdb=function(_0x3ce28a,_0x22fe54){_0x3ce28a=_0x3ce28a-0x0;var _0x1057a9=_0xfdb0[_0x3ce28a];return _0x1057a9;};'use strict';var multer=require(_0x0fdb('0x0'));var util=require(_0x0fdb('0x1'));var path=require(_0x0fdb('0x2'));var timeout=require(_0x0fdb('0x3'));var express=require(_0x0fdb('0x4'));var router=express[_0x0fdb('0x5')]();var auth=require(_0x0fdb('0x6'));var interaction=require(_0x0fdb('0x7'));var config=require(_0x0fdb('0x8'));var controller=require(_0x0fdb('0x9'));router[_0x0fdb('0xa')](_0x0fdb('0xb'),auth['isAuthenticated'](),controller[_0x0fdb('0xc')]);router[_0x0fdb('0xd')]('/',auth[_0x0fdb('0xe')](),controller['create']);router['put'](_0x0fdb('0xb'),auth[_0x0fdb('0xe')](),controller[_0x0fdb('0xf')]);router[_0x0fdb('0x10')](_0x0fdb('0xb'),auth['isAuthenticated'](),controller[_0x0fdb('0x11')]);module[_0x0fdb('0x12')]=router;