Built motion from commit 9d1906d1.|2.5.40
[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 _0x0524=['sendUserNotification','exports','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','post'];(function(_0x22419f,_0x1ea160){var _0x1e1b68=function(_0x3bb649){while(--_0x3bb649){_0x22419f['push'](_0x22419f['shift']());}};_0x1e1b68(++_0x1ea160);}(_0x0524,0x66));var _0x4052=function(_0x3b76f7,_0x566c53){_0x3b76f7=_0x3b76f7-0x0;var _0x43984e=_0x0524[_0x3b76f7];return _0x43984e;};'use strict';var multer=require('multer');var util=require(_0x4052('0x0'));var path=require(_0x4052('0x1'));var timeout=require('connect-timeout');var express=require(_0x4052('0x2'));var router=express[_0x4052('0x3')]();var fs_extra=require(_0x4052('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x4052('0x5'));var config=require(_0x4052('0x6'));var controller=require('./userNotification.controller');router[_0x4052('0x7')]('/',auth['isAuthenticated'](),controller[_0x4052('0x8')]);module[_0x4052('0x9')]=router;