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 _0x6947=['get','/:id','isAuthenticated','show','post','create','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','./chatProactiveAction.controller'];(function(_0xaa8b63,_0x3a6a0c){var _0x5baf89=function(_0x245576){while(--_0x245576){_0xaa8b63['push'](_0xaa8b63['shift']());}};_0x5baf89(++_0x3a6a0c);}(_0x6947,0x72));var _0x7694=function(_0x3d3c1b,_0x3c8104){_0x3d3c1b=_0x3d3c1b-0x0;var _0x3df45e=_0x6947[_0x3d3c1b];return _0x3df45e;};'use strict';var multer=require('multer');var util=require(_0x7694('0x0'));var path=require('path');var timeout=require(_0x7694('0x1'));var express=require(_0x7694('0x2'));var router=express[_0x7694('0x3')]();var auth=require(_0x7694('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7694('0x5'));router[_0x7694('0x6')](_0x7694('0x7'),auth[_0x7694('0x8')](),controller[_0x7694('0x9')]);router[_0x7694('0xa')]('/',auth['isAuthenticated'](),controller[_0x7694('0xb')]);router['put'](_0x7694('0x7'),auth[_0x7694('0x8')](),controller['update']);router[_0x7694('0xc')](_0x7694('0x7'),auth[_0x7694('0x8')](),controller[_0x7694('0xd')]);module[_0x7694('0xe')]=router;