db5bfd9f82bb35188b1801d77184447b49c264c0
[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 _0x07fd=['multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','post','isAuthenticated','exports'];(function(_0x4efeb5,_0x220e92){var _0x3cb07b=function(_0x81565e){while(--_0x81565e){_0x4efeb5['push'](_0x4efeb5['shift']());}};_0x3cb07b(++_0x220e92);}(_0x07fd,0x113));var _0xd07f=function(_0x6fbdd7,_0x17a611){_0x6fbdd7=_0x6fbdd7-0x0;var _0xc52538=_0x07fd[_0x6fbdd7];return _0xc52538;};'use strict';var multer=require(_0xd07f('0x0'));var util=require('util');var path=require(_0xd07f('0x1'));var timeout=require(_0xd07f('0x2'));var express=require('express');var router=express[_0xd07f('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xd07f('0x4'));var interaction=require(_0xd07f('0x5'));var config=require(_0xd07f('0x6'));var controller=require(_0xd07f('0x7'));router[_0xd07f('0x8')]('/',auth[_0xd07f('0x9')](),controller['sendUserNotification']);module[_0xd07f('0xa')]=router;