Built motion from commit efa66e19.|2.6.22
[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 _0xdb4e=['post','isAuthenticated','sendUserNotification','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./userNotification.controller'];(function(_0x5c7855,_0x48a890){var _0x4d5086=function(_0x404eb8){while(--_0x404eb8){_0x5c7855['push'](_0x5c7855['shift']());}};_0x4d5086(++_0x48a890);}(_0xdb4e,0xc7));var _0xedb4=function(_0x56c406,_0x55b370){_0x56c406=_0x56c406-0x0;var _0xf2d2b0=_0xdb4e[_0x56c406];return _0xf2d2b0;};'use strict';var multer=require(_0xedb4('0x0'));var util=require('util');var path=require(_0xedb4('0x1'));var timeout=require(_0xedb4('0x2'));var express=require(_0xedb4('0x3'));var router=express[_0xedb4('0x4')]();var fs_extra=require(_0xedb4('0x5'));var auth=require(_0xedb4('0x6'));var interaction=require(_0xedb4('0x7'));var config=require('../../config/environment');var controller=require(_0xedb4('0x8'));router[_0xedb4('0x9')]('/',auth[_0xedb4('0xa')](),controller[_0xedb4('0xb')]);module[_0xedb4('0xc')]=router;