8a1773301a449622d77c2ad10ac5f76caf515498
[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 _0x93f4=['path','connect-timeout','express','../../components/auth/service','../../config/environment','./notification.controller','post','isAuthenticated','sendNotification','util'];(function(_0x5a5c54,_0x2f00ca){var _0x694bd=function(_0x4ac52){while(--_0x4ac52){_0x5a5c54['push'](_0x5a5c54['shift']());}};_0x694bd(++_0x2f00ca);}(_0x93f4,0x81));var _0x493f=function(_0x47804c,_0x3e5804){_0x47804c=_0x47804c-0x0;var _0x3d0b01=_0x93f4[_0x47804c];return _0x3d0b01;};'use strict';var multer=require('multer');var util=require(_0x493f('0x0'));var path=require(_0x493f('0x1'));var timeout=require(_0x493f('0x2'));var express=require(_0x493f('0x3'));var router=express['Router']();var auth=require(_0x493f('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x493f('0x5'));var controller=require(_0x493f('0x6'));router[_0x493f('0x7')]('/',auth[_0x493f('0x8')](),controller[_0x493f('0x9')]);module['exports']=router;