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 _0x2d86=['exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./userNotification.controller','isAuthenticated'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x2d86,0x177));var _0x62d8=function(_0x1acc2d,_0x597696){_0x1acc2d=_0x1acc2d-0x0;var _0xabfa6d=_0x2d86[_0x1acc2d];return _0xabfa6d;};'use strict';var multer=require(_0x62d8('0x0'));var util=require(_0x62d8('0x1'));var path=require(_0x62d8('0x2'));var timeout=require(_0x62d8('0x3'));var express=require('express');var router=express[_0x62d8('0x4')]();var fs_extra=require(_0x62d8('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x62d8('0x6'));var config=require(_0x62d8('0x7'));var controller=require(_0x62d8('0x8'));router['post']('/',auth[_0x62d8('0x9')](),controller['sendUserNotification']);module[_0x62d8('0xa')]=router;