de5e2accf74d365a4d058d1a154f968aed0dad71
[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 _0x05f4=['../../config/environment','./notification.controller','sendNotification','exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service'];(function(_0x42b8cf,_0x1e7560){var _0x1638dd=function(_0x1cbd4e){while(--_0x1cbd4e){_0x42b8cf['push'](_0x42b8cf['shift']());}};_0x1638dd(++_0x1e7560);}(_0x05f4,0x9d));var _0x405f=function(_0xf2b140,_0x2335c3){_0xf2b140=_0xf2b140-0x0;var _0x496d40=_0x05f4[_0xf2b140];return _0x496d40;};'use strict';var multer=require(_0x405f('0x0'));var util=require('util');var path=require(_0x405f('0x1'));var timeout=require(_0x405f('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x405f('0x3'));var interaction=require(_0x405f('0x4'));var config=require(_0x405f('0x5'));var controller=require(_0x405f('0x6'));router['post']('/',auth['isAuthenticated'](),controller[_0x405f('0x7')]);module[_0x405f('0x8')]=router;