Built motion from commit (unavailable).|2.5.6
[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 _0x949e=['Router','../../components/interaction/service','./notification.controller','post','isAuthenticated','sendNotification','multer','path','connect-timeout','express'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x949e,0x16e));var _0xe949=function(_0x7ae5a2,_0x5109b7){_0x7ae5a2=_0x7ae5a2-0x0;var _0x3c852c=_0x949e[_0x7ae5a2];return _0x3c852c;};'use strict';var multer=require(_0xe949('0x0'));var util=require('util');var path=require(_0xe949('0x1'));var timeout=require(_0xe949('0x2'));var express=require(_0xe949('0x3'));var router=express[_0xe949('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xe949('0x5'));var config=require('../../config/environment');var controller=require(_0xe949('0x6'));router[_0xe949('0x7')]('/',auth[_0xe949('0x8')](),controller[_0xe949('0x9')]);module['exports']=router;