Built motion from commit (unavailable).|2.5.7
[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 _0x326f=['./voiceMailMessage.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','destroy','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2f5fac,_0x5a7bc4){var _0x3bdf34=function(_0x19c862){while(--_0x19c862){_0x2f5fac['push'](_0x2f5fac['shift']());}};_0x3bdf34(++_0x5a7bc4);}(_0x326f,0xd1));var _0xf326=function(_0x47e616,_0x20069d){_0x47e616=_0x47e616-0x0;var _0x1df8bf=_0x326f[_0x47e616];return _0x1df8bf;};'use strict';var multer=require(_0xf326('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf326('0x1'));var express=require(_0xf326('0x2'));var router=express[_0xf326('0x3')]();var auth=require(_0xf326('0x4'));var interaction=require(_0xf326('0x5'));var config=require(_0xf326('0x6'));var controller=require(_0xf326('0x7'));router[_0xf326('0x8')]('/',auth[_0xf326('0x9')](),controller[_0xf326('0xa')]);router['get'](_0xf326('0xb'),auth[_0xf326('0x9')](),controller[_0xf326('0xc')]);router[_0xf326('0x8')]('/:id/download',auth['isAuthenticated'](),controller['download']);router[_0xf326('0xd')]('/',auth[_0xf326('0x9')](),controller[_0xf326('0xe')]);router[_0xf326('0xf')](_0xf326('0xb'),auth['isAuthenticated'](),controller[_0xf326('0x10')]);router['delete'](_0xf326('0xb'),auth['isAuthenticated'](),controller[_0xf326('0x11')]);module['exports']=router;