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 _0x559a=['util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','sendUserNotification','multer'];(function(_0x1636df,_0x36504a){var _0x48f7c1=function(_0x458f90){while(--_0x458f90){_0x1636df['push'](_0x1636df['shift']());}};_0x48f7c1(++_0x36504a);}(_0x559a,0xb3));var _0xa559=function(_0x531d71,_0x37e539){_0x531d71=_0x531d71-0x0;var _0x8d241a=_0x559a[_0x531d71];return _0x8d241a;};'use strict';var multer=require(_0xa559('0x0'));var util=require(_0xa559('0x1'));var path=require('path');var timeout=require(_0xa559('0x2'));var express=require(_0xa559('0x3'));var router=express[_0xa559('0x4')]();var auth=require(_0xa559('0x5'));var interaction=require(_0xa559('0x6'));var config=require(_0xa559('0x7'));var controller=require('./userNotification.controller');router['post']('/',auth[_0xa559('0x8')](),controller[_0xa559('0x9')]);module['exports']=router;