Built motion from commit 775e2a94.|2.6.3
[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 _0xf998=['multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','post','isAuthenticated'];(function(_0x1e884e,_0x53e1c9){var _0x58cfa0=function(_0x396266){while(--_0x396266){_0x1e884e['push'](_0x1e884e['shift']());}};_0x58cfa0(++_0x53e1c9);}(_0xf998,0x19e));var _0x8f99=function(_0x4a705c,_0x5196c3){_0x4a705c=_0x4a705c-0x0;var _0x3e1195=_0xf998[_0x4a705c];return _0x3e1195;};'use strict';var multer=require(_0x8f99('0x0'));var util=require(_0x8f99('0x1'));var path=require(_0x8f99('0x2'));var timeout=require(_0x8f99('0x3'));var express=require(_0x8f99('0x4'));var router=express['Router']();var fs_extra=require(_0x8f99('0x5'));var auth=require(_0x8f99('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./userNotification.controller');router[_0x8f99('0x7')]('/',auth[_0x8f99('0x8')](),controller['sendUserNotification']);module['exports']=router;