Built motion from commit 19a84241.|2.5.34
[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 _0x15d8=['multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','exports'];(function(_0x2c8350,_0x5126ed){var _0x4d5530=function(_0x42b164){while(--_0x42b164){_0x2c8350['push'](_0x2c8350['shift']());}};_0x4d5530(++_0x5126ed);}(_0x15d8,0x6e));var _0x815d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x15d8[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x815d('0x0'));var util=require(_0x815d('0x1'));var path=require(_0x815d('0x2'));var timeout=require('connect-timeout');var express=require(_0x815d('0x3'));var router=express[_0x815d('0x4')]();var fs_extra=require(_0x815d('0x5'));var auth=require(_0x815d('0x6'));var interaction=require(_0x815d('0x7'));var config=require(_0x815d('0x8'));var controller=require(_0x815d('0x9'));router['post']('/',auth['isAuthenticated'](),controller['sendUserNotification']);module[_0x815d('0xa')]=router;