bc379f0964d2c3a8fa79e1b7d2082b705e94646f
[motion2.git] / server / api / userNotification / 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 _0xd2d6=['../../config/environment','./userNotification.controller','isAuthenticated','exports','path','connect-timeout','../../components/auth/service','../../components/interaction/service'];(function(_0x146be0,_0x39a85e){var _0x1bcc25=function(_0x4f871f){while(--_0x4f871f){_0x146be0['push'](_0x146be0['shift']());}};_0x1bcc25(++_0x39a85e);}(_0xd2d6,0x114));var _0x6d2d=function(_0x2336ef,_0x5c9684){_0x2336ef=_0x2336ef-0x0;var _0x1e3eb6=_0xd2d6[_0x2336ef];return _0x1e3eb6;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x6d2d('0x0'));var timeout=require(_0x6d2d('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x6d2d('0x2'));var interaction=require(_0x6d2d('0x3'));var config=require(_0x6d2d('0x4'));var controller=require(_0x6d2d('0x5'));router['post']('/',auth[_0x6d2d('0x6')](),controller['sendUserNotification']);module[_0x6d2d('0x7')]=router;