Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / notification / 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 _0x8e1c=['connect-timeout','express','Router','../../components/interaction/service','./notification.controller','post','sendNotification','exports','multer','util','path'];(function(_0x3443bc,_0x58e1d4){var _0x1c3bf7=function(_0x65f50f){while(--_0x65f50f){_0x3443bc['push'](_0x3443bc['shift']());}};_0x1c3bf7(++_0x58e1d4);}(_0x8e1c,0x15d));var _0xc8e1=function(_0x42b90f,_0x127e5e){_0x42b90f=_0x42b90f-0x0;var _0x5e3edc=_0x8e1c[_0x42b90f];return _0x5e3edc;};'use strict';var multer=require(_0xc8e1('0x0'));var util=require(_0xc8e1('0x1'));var path=require(_0xc8e1('0x2'));var timeout=require(_0xc8e1('0x3'));var express=require(_0xc8e1('0x4'));var router=express[_0xc8e1('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xc8e1('0x6'));var config=require('../../config/environment');var controller=require(_0xc8e1('0x7'));router[_0xc8e1('0x8')]('/',auth['isAuthenticated'](),controller[_0xc8e1('0x9')]);module[_0xc8e1('0xa')]=router;