016767330afc35027a1f4c50560a059b6bba4afa
[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 _0x7f95=['express','Router','../../components/auth/service','../../config/environment','./userNotification.controller','post','isAuthenticated','sendUserNotification','multer','util'];(function(_0x47daa1,_0x456720){var _0xf6c149=function(_0x2b929f){while(--_0x2b929f){_0x47daa1['push'](_0x47daa1['shift']());}};_0xf6c149(++_0x456720);}(_0x7f95,0x13e));var _0x57f9=function(_0x1762b4,_0x33d836){_0x1762b4=_0x1762b4-0x0;var _0x29beda=_0x7f95[_0x1762b4];return _0x29beda;};'use strict';var multer=require(_0x57f9('0x0'));var util=require(_0x57f9('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x57f9('0x2'));var router=express[_0x57f9('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x57f9('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x57f9('0x5'));var controller=require(_0x57f9('0x6'));router[_0x57f9('0x7')]('/',auth[_0x57f9('0x8')](),controller[_0x57f9('0x9')]);module['exports']=router;