Built motion from commit 74d9782e.|2.6.30
[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 _0x8f0c=['../../components/interaction/service','../../config/environment','./userNotification.controller','post','util','path','express','Router','fs-extra'];(function(_0x2064e5,_0x4f6fa2){var _0x21a233=function(_0x1b2491){while(--_0x1b2491){_0x2064e5['push'](_0x2064e5['shift']());}};_0x21a233(++_0x4f6fa2);}(_0x8f0c,0xee));var _0xc8f0=function(_0x5311e8,_0x57c5bb){_0x5311e8=_0x5311e8-0x0;var _0x582ad8=_0x8f0c[_0x5311e8];return _0x582ad8;};'use strict';var multer=require('multer');var util=require(_0xc8f0('0x0'));var path=require(_0xc8f0('0x1'));var timeout=require('connect-timeout');var express=require(_0xc8f0('0x2'));var router=express[_0xc8f0('0x3')]();var fs_extra=require(_0xc8f0('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xc8f0('0x5'));var config=require(_0xc8f0('0x6'));var controller=require(_0xc8f0('0x7'));router[_0xc8f0('0x8')]('/',auth['isAuthenticated'](),controller['sendUserNotification']);module['exports']=router;