Built motion from commit fe909640.|2.6.8
[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 _0xa8b4=['exports','multer','path','connect-timeout','Router','fs-extra','../../config/environment','./userNotification.controller','post','isAuthenticated','sendUserNotification'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xa8b4,0x140));var _0x4a8b=function(_0x984107,_0x2a7f55){_0x984107=_0x984107-0x0;var _0x13117b=_0xa8b4[_0x984107];return _0x13117b;};'use strict';var multer=require(_0x4a8b('0x0'));var util=require('util');var path=require(_0x4a8b('0x1'));var timeout=require(_0x4a8b('0x2'));var express=require('express');var router=express[_0x4a8b('0x3')]();var fs_extra=require(_0x4a8b('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4a8b('0x5'));var controller=require(_0x4a8b('0x6'));router[_0x4a8b('0x7')]('/',auth[_0x4a8b('0x8')](),controller[_0x4a8b('0x9')]);module[_0x4a8b('0xa')]=router;