36d1ed7748cb83d16402ce3d4a1d482ef8f97559
[motion2.git] / server / api / voiceMailMessage / 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 _0xa25c=['isAuthenticated','get','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller'];(function(_0x2e8436,_0x60d207){var _0x41a31a=function(_0x5aa6cf){while(--_0x5aa6cf){_0x2e8436['push'](_0x2e8436['shift']());}};_0x41a31a(++_0x60d207);}(_0xa25c,0xd3));var _0xca25=function(_0x18307e,_0x1898e8){_0x18307e=_0x18307e-0x0;var _0x24186b=_0xa25c[_0x18307e];return _0x24186b;};'use strict';var multer=require(_0xca25('0x0'));var util=require(_0xca25('0x1'));var path=require('path');var timeout=require(_0xca25('0x2'));var express=require(_0xca25('0x3'));var router=express[_0xca25('0x4')]();var auth=require(_0xca25('0x5'));var interaction=require(_0xca25('0x6'));var config=require(_0xca25('0x7'));var controller=require(_0xca25('0x8'));router['get']('/',auth[_0xca25('0x9')](),controller['index']);router[_0xca25('0xa')]('/:id',auth[_0xca25('0x9')](),controller[_0xca25('0xb')]);router[_0xca25('0xa')]('/:id/download',auth[_0xca25('0x9')](),controller['download']);router[_0xca25('0xc')]('/',auth[_0xca25('0x9')](),controller[_0xca25('0xd')]);router[_0xca25('0xe')](_0xca25('0xf'),auth[_0xca25('0x9')](),controller[_0xca25('0x10')]);router[_0xca25('0x11')](_0xca25('0xf'),auth[_0xca25('0x9')](),controller[_0xca25('0x12')]);module[_0xca25('0x13')]=router;