4c9fd53f9dc5fd00679ab82baa1f20e9950dc155
[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 _0x5ce1=['isAuthenticated','sendUserNotification','exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','post'];(function(_0x4b2436,_0x452299){var _0x4f5ab2=function(_0x5c6679){while(--_0x5c6679){_0x4b2436['push'](_0x4b2436['shift']());}};_0x4f5ab2(++_0x452299);}(_0x5ce1,0x139));var _0x15ce=function(_0x56808f,_0x41c9c0){_0x56808f=_0x56808f-0x0;var _0x29b2d7=_0x5ce1[_0x56808f];return _0x29b2d7;};'use strict';var multer=require(_0x15ce('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x15ce('0x1'));var express=require('express');var router=express[_0x15ce('0x2')]();var fs_extra=require(_0x15ce('0x3'));var auth=require(_0x15ce('0x4'));var interaction=require(_0x15ce('0x5'));var config=require('../../config/environment');var controller=require('./userNotification.controller');router[_0x15ce('0x6')]('/',auth[_0x15ce('0x7')](),controller[_0x15ce('0x8')]);module[_0x15ce('0x9')]=router;