2656d7a89d27bdf45d750eeefdb6cb618b861dbb
[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 _0xb96f=['fs-extra','../../components/interaction/service','../../config/environment','./userNotification.controller','post','isAuthenticated','exports','util','connect-timeout','express'];(function(_0x20f700,_0x17f520){var _0x58e517=function(_0x2150da){while(--_0x2150da){_0x20f700['push'](_0x20f700['shift']());}};_0x58e517(++_0x17f520);}(_0xb96f,0x93));var _0xfb96=function(_0x3c971b,_0x5a8028){_0x3c971b=_0x3c971b-0x0;var _0x4883d1=_0xb96f[_0x3c971b];return _0x4883d1;};'use strict';var multer=require('multer');var util=require(_0xfb96('0x0'));var path=require('path');var timeout=require(_0xfb96('0x1'));var express=require(_0xfb96('0x2'));var router=express['Router']();var fs_extra=require(_0xfb96('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xfb96('0x4'));var config=require(_0xfb96('0x5'));var controller=require(_0xfb96('0x6'));router[_0xfb96('0x7')]('/',auth[_0xfb96('0x8')](),controller['sendUserNotification']);module[_0xfb96('0x9')]=router;