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 _0x24ca=['Router','../../components/auth/service','../../components/interaction/service','./notification.controller','sendNotification','exports','multer','path','connect-timeout','express'];(function(_0xcd4d8e,_0x1fc2fd){var _0x1c3c61=function(_0x293f3c){while(--_0x293f3c){_0xcd4d8e['push'](_0xcd4d8e['shift']());}};_0x1c3c61(++_0x1fc2fd);}(_0x24ca,0x1aa));var _0xa24c=function(_0x26b8b5,_0xf5c2c1){_0x26b8b5=_0x26b8b5-0x0;var _0x2150a9=_0x24ca[_0x26b8b5];return _0x2150a9;};'use strict';var multer=require(_0xa24c('0x0'));var util=require('util');var path=require(_0xa24c('0x1'));var timeout=require(_0xa24c('0x2'));var express=require(_0xa24c('0x3'));var router=express[_0xa24c('0x4')]();var auth=require(_0xa24c('0x5'));var interaction=require(_0xa24c('0x6'));var config=require('../../config/environment');var controller=require(_0xa24c('0x7'));router['post']('/',auth['isAuthenticated'](),controller[_0xa24c('0x8')]);module[_0xa24c('0x9')]=router;