ad5de417b411f50cebf376e00f6562e78961cca0
[motion2.git] / server / api / userNotification / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe421=['exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','isAuthenticated','sendUserNotification'];(function(_0x503e71,_0x41208b){var _0x2d40f4=function(_0xd35240){while(--_0xd35240){_0x503e71['push'](_0x503e71['shift']());}};_0x2d40f4(++_0x41208b);}(_0xe421,0xb5));var _0x1e42=function(_0x522fb0,_0x38b2ff){_0x522fb0=_0x522fb0-0x0;var _0xa92879=_0xe421[_0x522fb0];return _0xa92879;};'use strict';var multer=require('multer');var util=require(_0x1e42('0x0'));var path=require(_0x1e42('0x1'));var timeout=require(_0x1e42('0x2'));var express=require(_0x1e42('0x3'));var router=express['Router']();var auth=require(_0x1e42('0x4'));var interaction=require(_0x1e42('0x5'));var config=require('../../config/environment');var controller=require('./userNotification.controller');router['post']('/',auth[_0x1e42('0x6')](),controller[_0x1e42('0x7')]);module[_0x1e42('0x8')]=router;