e63b1868eac93d79b1fdd28082442bbd2ac6b292
[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 _0x7fa2=['isAuthenticated','sendUserNotification','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./userNotification.controller','post'];(function(_0x20b47d,_0x2b5e1f){var _0x58df38=function(_0xedef32){while(--_0xedef32){_0x20b47d['push'](_0x20b47d['shift']());}};_0x58df38(++_0x2b5e1f);}(_0x7fa2,0xdf));var _0x27fa=function(_0x60155a,_0x5e8257){_0x60155a=_0x60155a-0x0;var _0x181370=_0x7fa2[_0x60155a];return _0x181370;};'use strict';var multer=require(_0x27fa('0x0'));var util=require(_0x27fa('0x1'));var path=require(_0x27fa('0x2'));var timeout=require(_0x27fa('0x3'));var express=require(_0x27fa('0x4'));var router=express[_0x27fa('0x5')]();var fs_extra=require(_0x27fa('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x27fa('0x7'));var config=require(_0x27fa('0x8'));var controller=require(_0x27fa('0x9'));router[_0x27fa('0xa')]('/',auth[_0x27fa('0xb')](),controller[_0x27fa('0xc')]);module['exports']=router;