Built motion from commit 56b8093a.|2.6.29
[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 _0xe193=['../../components/interaction/service','get','index','/:id','isAuthenticated','show','/:id/download','post','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service'];(function(_0x5ac5a8,_0x36c9ec){var _0x32ef92=function(_0x2acd91){while(--_0x2acd91){_0x5ac5a8['push'](_0x5ac5a8['shift']());}};_0x32ef92(++_0x36c9ec);}(_0xe193,0x19d));var _0x3e19=function(_0x302772,_0xcd79ec){_0x302772=_0x302772-0x0;var _0x2450ec=_0xe193[_0x302772];return _0x2450ec;};'use strict';var multer=require(_0x3e19('0x0'));var util=require(_0x3e19('0x1'));var path=require(_0x3e19('0x2'));var timeout=require('connect-timeout');var express=require(_0x3e19('0x3'));var router=express[_0x3e19('0x4')]();var fs_extra=require(_0x3e19('0x5'));var auth=require(_0x3e19('0x6'));var interaction=require(_0x3e19('0x7'));var config=require('../../config/environment');var controller=require('./voiceMailMessage.controller');router[_0x3e19('0x8')]('/',auth['isAuthenticated'](),controller[_0x3e19('0x9')]);router[_0x3e19('0x8')](_0x3e19('0xa'),auth[_0x3e19('0xb')](),controller[_0x3e19('0xc')]);router[_0x3e19('0x8')](_0x3e19('0xd'),auth['isAuthenticated'](),controller['download']);router[_0x3e19('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x3e19('0xf')](_0x3e19('0xa'),auth[_0x3e19('0xb')](),controller[_0x3e19('0x10')]);router[_0x3e19('0x11')](_0x3e19('0xa'),auth['isAuthenticated'](),controller[_0x3e19('0x12')]);module[_0x3e19('0x13')]=router;