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 _0xb054=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatProactiveAction.controller','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','multer','util','path'];(function(_0x4777fd,_0x2b2369){var _0x42f061=function(_0x14d4db){while(--_0x14d4db){_0x4777fd['push'](_0x4777fd['shift']());}};_0x42f061(++_0x2b2369);}(_0xb054,0x179));var _0x4b05=function(_0x469361,_0x42f6ab){_0x469361=_0x469361-0x0;var _0x418e39=_0xb054[_0x469361];return _0x418e39;};'use strict';var multer=require(_0x4b05('0x0'));var util=require(_0x4b05('0x1'));var path=require(_0x4b05('0x2'));var timeout=require(_0x4b05('0x3'));var express=require(_0x4b05('0x4'));var router=express['Router']();var fs_extra=require(_0x4b05('0x5'));var auth=require(_0x4b05('0x6'));var interaction=require(_0x4b05('0x7'));var config=require(_0x4b05('0x8'));var controller=require(_0x4b05('0x9'));router['get'](_0x4b05('0xa'),auth[_0x4b05('0xb')](),controller[_0x4b05('0xc')]);router[_0x4b05('0xd')]('/',auth[_0x4b05('0xb')](),controller[_0x4b05('0xe')]);router[_0x4b05('0xf')]('/:id',auth[_0x4b05('0xb')](),controller[_0x4b05('0x10')]);router[_0x4b05('0x11')](_0x4b05('0xa'),auth['isAuthenticated'](),controller[_0x4b05('0x12')]);module[_0x4b05('0x13')]=router;