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 _0x0c21=['connect-timeout','express','Router','../../components/auth/service','../../config/environment','./notification.controller','isAuthenticated','sendNotification','exports','util','path'];(function(_0x1978fa,_0x244dee){var _0x3abef2=function(_0x2acde2){while(--_0x2acde2){_0x1978fa['push'](_0x1978fa['shift']());}};_0x3abef2(++_0x244dee);}(_0x0c21,0x1b6));var _0x10c2=function(_0x1d4852,_0x50e0a0){_0x1d4852=_0x1d4852-0x0;var _0x94417c=_0x0c21[_0x1d4852];return _0x94417c;};'use strict';var multer=require('multer');var util=require(_0x10c2('0x0'));var path=require(_0x10c2('0x1'));var timeout=require(_0x10c2('0x2'));var express=require(_0x10c2('0x3'));var router=express[_0x10c2('0x4')]();var auth=require(_0x10c2('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x10c2('0x6'));var controller=require(_0x10c2('0x7'));router['post']('/',auth[_0x10c2('0x8')](),controller[_0x10c2('0x9')]);module[_0x10c2('0xa')]=router;