Built motion from commit 43538d75.|2.5.35
[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 _0x58b3=['post','sendUserNotification','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./userNotification.controller'];(function(_0x126fb9,_0x122c59){var _0xc8a3b1=function(_0x355744){while(--_0x355744){_0x126fb9['push'](_0x126fb9['shift']());}};_0xc8a3b1(++_0x122c59);}(_0x58b3,0xff));var _0x358b=function(_0x4e32b1,_0x15b450){_0x4e32b1=_0x4e32b1-0x0;var _0x463c82=_0x58b3[_0x4e32b1];return _0x463c82;};'use strict';var multer=require(_0x358b('0x0'));var util=require(_0x358b('0x1'));var path=require(_0x358b('0x2'));var timeout=require('connect-timeout');var express=require(_0x358b('0x3'));var router=express[_0x358b('0x4')]();var fs_extra=require(_0x358b('0x5'));var auth=require(_0x358b('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x358b('0x7'));var controller=require(_0x358b('0x8'));router[_0x358b('0x9')]('/',auth['isAuthenticated'](),controller[_0x358b('0xa')]);module[_0x358b('0xb')]=router;