1376073bd386e909340ae2319b4227e98088b2fb
[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 _0xb4ed=['path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','sendUserNotification','exports','multer'];(function(_0x37cf14,_0x4bca95){var _0x276b7e=function(_0x28b5b0){while(--_0x28b5b0){_0x37cf14['push'](_0x37cf14['shift']());}};_0x276b7e(++_0x4bca95);}(_0xb4ed,0x1a3));var _0xdb4e=function(_0x26462c,_0xd20a35){_0x26462c=_0x26462c-0x0;var _0x509a42=_0xb4ed[_0x26462c];return _0x509a42;};'use strict';var multer=require(_0xdb4e('0x0'));var util=require('util');var path=require(_0xdb4e('0x1'));var timeout=require(_0xdb4e('0x2'));var express=require(_0xdb4e('0x3'));var router=express['Router']();var fs_extra=require(_0xdb4e('0x4'));var auth=require(_0xdb4e('0x5'));var interaction=require(_0xdb4e('0x6'));var config=require('../../config/environment');var controller=require('./userNotification.controller');router['post']('/',auth[_0xdb4e('0x7')](),controller[_0xdb4e('0x8')]);module[_0xdb4e('0x9')]=router;