dd978379033e596de92ed500b8a281734e7bfa11
[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 _0x57bf=['connect-timeout','../../config/environment','post','sendNotification','exports','multer','path'];(function(_0x33ee08,_0x44ceac){var _0x34c394=function(_0xd1a80){while(--_0xd1a80){_0x33ee08['push'](_0x33ee08['shift']());}};_0x34c394(++_0x44ceac);}(_0x57bf,0xbb));var _0xf57b=function(_0x105172,_0x484800){_0x105172=_0x105172-0x0;var _0x453676=_0x57bf[_0x105172];return _0x453676;};'use strict';var multer=require(_0xf57b('0x0'));var util=require('util');var path=require(_0xf57b('0x1'));var timeout=require(_0xf57b('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf57b('0x3'));var controller=require('./notification.controller');router[_0xf57b('0x4')]('/',auth['isAuthenticated'](),controller[_0xf57b('0x5')]);module[_0xf57b('0x6')]=router;