8bd7779e1b770766aa7843195c10e58949d772ad
[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 _0xf2ee=['./notification.controller','post','isAuthenticated','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment'];(function(_0x4968ab,_0x484549){var _0x34a589=function(_0xa21184){while(--_0xa21184){_0x4968ab['push'](_0x4968ab['shift']());}};_0x34a589(++_0x484549);}(_0xf2ee,0x1a6));var _0xef2e=function(_0x2798a9,_0x5649ca){_0x2798a9=_0x2798a9-0x0;var _0x5e4a3c=_0xf2ee[_0x2798a9];return _0x5e4a3c;};'use strict';var multer=require(_0xef2e('0x0'));var util=require(_0xef2e('0x1'));var path=require(_0xef2e('0x2'));var timeout=require(_0xef2e('0x3'));var express=require(_0xef2e('0x4'));var router=express['Router']();var auth=require(_0xef2e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xef2e('0x6'));var controller=require(_0xef2e('0x7'));router[_0xef2e('0x8')]('/',auth[_0xef2e('0x9')](),controller['sendNotification']);module[_0xef2e('0xa')]=router;