Built motion from commit 9efc8423.|2.6.31
[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 _0xd29e=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./userNotification.controller','isAuthenticated','sendUserNotification','exports','multer','util'];(function(_0x117bee,_0x53dd69){var _0x2e4511=function(_0x5afffc){while(--_0x5afffc){_0x117bee['push'](_0x117bee['shift']());}};_0x2e4511(++_0x53dd69);}(_0xd29e,0x76));var _0xed29=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd29e[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xed29('0x0'));var util=require(_0xed29('0x1'));var path=require(_0xed29('0x2'));var timeout=require(_0xed29('0x3'));var express=require(_0xed29('0x4'));var router=express[_0xed29('0x5')]();var fs_extra=require(_0xed29('0x6'));var auth=require(_0xed29('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xed29('0x8'));router['post']('/',auth[_0xed29('0x9')](),controller[_0xed29('0xa')]);module[_0xed29('0xb')]=router;