a111543e4d1aebb12d0038a8f191ac4fef3aee4b
[motion2.git] / server / api / notification / 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 _0x7b4f=['../../components/auth/service','../../components/interaction/service','./notification.controller','post','sendNotification','exports','util','express','Router'];(function(_0x4919a4,_0x40e144){var _0xe6a29=function(_0xf9f30d){while(--_0xf9f30d){_0x4919a4['push'](_0x4919a4['shift']());}};_0xe6a29(++_0x40e144);}(_0x7b4f,0x138));var _0xf7b4=function(_0x373096,_0x4d37aa){_0x373096=_0x373096-0x0;var _0x14a6d0=_0x7b4f[_0x373096];return _0x14a6d0;};'use strict';var multer=require('multer');var util=require(_0xf7b4('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf7b4('0x1'));var router=express[_0xf7b4('0x2')]();var auth=require(_0xf7b4('0x3'));var interaction=require(_0xf7b4('0x4'));var config=require('../../config/environment');var controller=require(_0xf7b4('0x5'));router[_0xf7b4('0x6')]('/',auth['isAuthenticated'](),controller[_0xf7b4('0x7')]);module[_0xf7b4('0x8')]=router;