Built motion from commit f0a64034.|2.6.11
[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 _0x2a88=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','isAuthenticated','exports','path'];(function(_0x5d0cd2,_0x1e0854){var _0x3ed61f=function(_0x51ace9){while(--_0x51ace9){_0x5d0cd2['push'](_0x5d0cd2['shift']());}};_0x3ed61f(++_0x1e0854);}(_0x2a88,0x1c1));var _0x82a8=function(_0x54145c,_0x52cd90){_0x54145c=_0x54145c-0x0;var _0x52bf42=_0x2a88[_0x54145c];return _0x52bf42;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x82a8('0x0'));var timeout=require('connect-timeout');var express=require(_0x82a8('0x1'));var router=express['Router']();var fs_extra=require(_0x82a8('0x2'));var auth=require(_0x82a8('0x3'));var interaction=require(_0x82a8('0x4'));var config=require(_0x82a8('0x5'));var controller=require(_0x82a8('0x6'));router['post']('/',auth[_0x82a8('0x7')](),controller['sendUserNotification']);module[_0x82a8('0x8')]=router;