9d4581fdb6133aa7152a7aeed6b194ce3036b51e
[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 _0x82b6=['exports','util','path','express','../../components/auth/service','../../components/interaction/service','./notification.controller','post','isAuthenticated','sendNotification'];(function(_0x1ffd67,_0x1c18ba){var _0xce170f=function(_0x16cdb2){while(--_0x16cdb2){_0x1ffd67['push'](_0x1ffd67['shift']());}};_0xce170f(++_0x1c18ba);}(_0x82b6,0x17d));var _0x682b=function(_0x4b4d43,_0x1590f7){_0x4b4d43=_0x4b4d43-0x0;var _0x5706ba=_0x82b6[_0x4b4d43];return _0x5706ba;};'use strict';var multer=require('multer');var util=require(_0x682b('0x0'));var path=require(_0x682b('0x1'));var timeout=require('connect-timeout');var express=require(_0x682b('0x2'));var router=express['Router']();var auth=require(_0x682b('0x3'));var interaction=require(_0x682b('0x4'));var config=require('../../config/environment');var controller=require(_0x682b('0x5'));router[_0x682b('0x6')]('/',auth[_0x682b('0x7')](),controller[_0x682b('0x8')]);module[_0x682b('0x9')]=router;