Built motion from commit 14588770.|2.5.38
[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 _0xc868=['../../config/environment','sendUserNotification','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x578d71,_0x4412af){var _0x4398ee=function(_0x422dd6){while(--_0x422dd6){_0x578d71['push'](_0x578d71['shift']());}};_0x4398ee(++_0x4412af);}(_0xc868,0x16e));var _0x8c86=function(_0x2ff591,_0x37ff76){_0x2ff591=_0x2ff591-0x0;var _0x10336f=_0xc868[_0x2ff591];return _0x10336f;};'use strict';var multer=require('multer');var util=require(_0x8c86('0x0'));var path=require(_0x8c86('0x1'));var timeout=require(_0x8c86('0x2'));var express=require(_0x8c86('0x3'));var router=express[_0x8c86('0x4')]();var fs_extra=require(_0x8c86('0x5'));var auth=require(_0x8c86('0x6'));var interaction=require(_0x8c86('0x7'));var config=require(_0x8c86('0x8'));var controller=require('./userNotification.controller');router['post']('/',auth['isAuthenticated'](),controller[_0x8c86('0x9')]);module[_0x8c86('0xa')]=router;