b2cc480ca2f87e25226097bb083075a7718be132
[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 _0x1b8b=['isAuthenticated','sendNotification','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./notification.controller','post'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1b8b,0xc6));var _0xb1b8=function(_0x1fe582,_0x2921b2){_0x1fe582=_0x1fe582-0x0;var _0x5c4e26=_0x1b8b[_0x1fe582];return _0x5c4e26;};'use strict';var multer=require(_0xb1b8('0x0'));var util=require(_0xb1b8('0x1'));var path=require(_0xb1b8('0x2'));var timeout=require('connect-timeout');var express=require(_0xb1b8('0x3'));var router=express[_0xb1b8('0x4')]();var auth=require(_0xb1b8('0x5'));var interaction=require(_0xb1b8('0x6'));var config=require(_0xb1b8('0x7'));var controller=require(_0xb1b8('0x8'));router[_0xb1b8('0x9')]('/',auth[_0xb1b8('0xa')](),controller[_0xb1b8('0xb')]);module[_0xb1b8('0xc')]=router;