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 _0xb7d8=['show','post','update','delete','destroy','multer','util','connect-timeout','../../components/auth/service','../../components/interaction/service','./chatProactiveAction.controller','get','/:id','isAuthenticated'];(function(_0x42a9fa,_0x3cf3be){var _0x119059=function(_0x1c833d){while(--_0x1c833d){_0x42a9fa['push'](_0x42a9fa['shift']());}};_0x119059(++_0x3cf3be);}(_0xb7d8,0x163));var _0x8b7d=function(_0x4939dd,_0x34ec98){_0x4939dd=_0x4939dd-0x0;var _0x37dfc9=_0xb7d8[_0x4939dd];return _0x37dfc9;};'use strict';var multer=require(_0x8b7d('0x0'));var util=require(_0x8b7d('0x1'));var path=require('path');var timeout=require(_0x8b7d('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x8b7d('0x3'));var interaction=require(_0x8b7d('0x4'));var config=require('../../config/environment');var controller=require(_0x8b7d('0x5'));router[_0x8b7d('0x6')](_0x8b7d('0x7'),auth[_0x8b7d('0x8')](),controller[_0x8b7d('0x9')]);router[_0x8b7d('0xa')]('/',auth[_0x8b7d('0x8')](),controller['create']);router['put'](_0x8b7d('0x7'),auth[_0x8b7d('0x8')](),controller[_0x8b7d('0xb')]);router[_0x8b7d('0xc')](_0x8b7d('0x7'),auth[_0x8b7d('0x8')](),controller[_0x8b7d('0xd')]);module['exports']=router;