Built motion from commit d6d69adf.|2.6.33
[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 _0x1a65=['../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','post','sendUserNotification','exports','multer','path','express','Router','fs-extra'];(function(_0x328b99,_0x530d72){var _0x48510c=function(_0x15d7f8){while(--_0x15d7f8){_0x328b99['push'](_0x328b99['shift']());}};_0x48510c(++_0x530d72);}(_0x1a65,0x1c3));var _0x51a6=function(_0x3290ea,_0x22dfba){_0x3290ea=_0x3290ea-0x0;var _0x3234d9=_0x1a65[_0x3290ea];return _0x3234d9;};'use strict';var multer=require(_0x51a6('0x0'));var util=require('util');var path=require(_0x51a6('0x1'));var timeout=require('connect-timeout');var express=require(_0x51a6('0x2'));var router=express[_0x51a6('0x3')]();var fs_extra=require(_0x51a6('0x4'));var auth=require(_0x51a6('0x5'));var interaction=require(_0x51a6('0x6'));var config=require(_0x51a6('0x7'));var controller=require(_0x51a6('0x8'));router[_0x51a6('0x9')]('/',auth['isAuthenticated'](),controller[_0x51a6('0xa')]);module[_0x51a6('0xb')]=router;