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 _0xc5df=['isAuthenticated','show','post','create','put','update','/:id','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatProactiveAction.controller','get'];(function(_0x2b30fe,_0xe92c0a){var _0x2d1e4e=function(_0x43366d){while(--_0x43366d){_0x2b30fe['push'](_0x2b30fe['shift']());}};_0x2d1e4e(++_0xe92c0a);}(_0xc5df,0x80));var _0xfc5d=function(_0x41c80b,_0x5f3a08){_0x41c80b=_0x41c80b-0x0;var _0x57b4e9=_0xc5df[_0x41c80b];return _0x57b4e9;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xfc5d('0x0'));var timeout=require(_0xfc5d('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0xfc5d('0x2'));var interaction=require(_0xfc5d('0x3'));var config=require(_0xfc5d('0x4'));var controller=require(_0xfc5d('0x5'));router[_0xfc5d('0x6')]('/:id',auth[_0xfc5d('0x7')](),controller[_0xfc5d('0x8')]);router[_0xfc5d('0x9')]('/',auth[_0xfc5d('0x7')](),controller[_0xfc5d('0xa')]);router[_0xfc5d('0xb')]('/:id',auth[_0xfc5d('0x7')](),controller[_0xfc5d('0xc')]);router['delete'](_0xfc5d('0xd'),auth[_0xfc5d('0x7')](),controller['destroy']);module[_0xfc5d('0xe')]=router;